Update December 9, 2024 (#127)
This commit is contained in:
		@@ -305,10 +305,10 @@ type ListTransactionsResult struct {
 | 
				
			|||||||
	// Transactions infromation
 | 
						// Transactions infromation
 | 
				
			||||||
	Operations []ListTransactionsResultOperation `json:"operations"`
 | 
						Operations []ListTransactionsResultOperation `json:"operations"`
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	// Number of pages
 | 
						// Number of pages. If 0, there are no more pages
 | 
				
			||||||
	PageCount int64 `json:"page_count"`
 | 
						PageCount int64 `json:"page_count"`
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	// Number of products
 | 
						// Number of transactions on all pages. If 0, there are no more transactions
 | 
				
			||||||
	RowCount int64 `json:"row_count"`
 | 
						RowCount int64 `json:"row_count"`
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -667,9 +667,6 @@ type GetFBSQuantityReturnsPagination struct {
 | 
				
			|||||||
type GetFBSQuantityReturnsResponse struct {
 | 
					type GetFBSQuantityReturnsResponse struct {
 | 
				
			||||||
	core.CommonResponse
 | 
						core.CommonResponse
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	// Seller identifier
 | 
					 | 
				
			||||||
	CompanyId int64 `json:"company_id"`
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	DropoffPoints []GetFBSQuantityDropoffPoint `json:"drop_off_points"`
 | 
						DropoffPoints []GetFBSQuantityDropoffPoint `json:"drop_off_points"`
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	// true if there are any other points where sellers have orders waiting
 | 
						// true if there are any other points where sellers have orders waiting
 | 
				
			||||||
@@ -697,6 +694,12 @@ type GetFBSQuantityDropoffPoint struct {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
	// Seller's warehouses identifiers
 | 
						// Seller's warehouses identifiers
 | 
				
			||||||
	WarehouseIds []string `json:"warehouses_ids"`
 | 
						WarehouseIds []string `json:"warehouses_ids"`
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						// Number of boxes in drop-off point
 | 
				
			||||||
 | 
						BoxCount int32 `json:"box_count"`
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						// Time zone offset of the shipping time from UTC-0
 | 
				
			||||||
 | 
						UTCOffset string `json:"utc_offset"`
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
type GetFBSQuantityDropoffPointPassInfo struct {
 | 
					type GetFBSQuantityDropoffPointPassInfo struct {
 | 
				
			||||||
@@ -904,6 +907,9 @@ type ReturnProduct struct {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
	// Commission details
 | 
						// Commission details
 | 
				
			||||||
	Commission ReturnSum `json:"commission"`
 | 
						Commission ReturnSum `json:"commission"`
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						// Product quantity
 | 
				
			||||||
 | 
						Quantity int32 `json:"quantity"`
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
type ReturnLogistic struct {
 | 
					type ReturnLogistic struct {
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -823,10 +823,10 @@ func TestFBSQuantity(t *testing.T) {
 | 
				
			|||||||
				},
 | 
									},
 | 
				
			||||||
			},
 | 
								},
 | 
				
			||||||
			`{
 | 
								`{
 | 
				
			||||||
				"company_id": 0,
 | 
					 | 
				
			||||||
				"drop_off_points": [
 | 
									"drop_off_points": [
 | 
				
			||||||
				  {
 | 
									  {
 | 
				
			||||||
					"address": "string",
 | 
										"address": "string",
 | 
				
			||||||
 | 
										"box_count": 0,
 | 
				
			||||||
					"id": 0,
 | 
										"id": 0,
 | 
				
			||||||
					"name": "string",
 | 
										"name": "string",
 | 
				
			||||||
					"pass_info": {
 | 
										"pass_info": {
 | 
				
			||||||
@@ -835,6 +835,7 @@ func TestFBSQuantity(t *testing.T) {
 | 
				
			|||||||
					},
 | 
										},
 | 
				
			||||||
					"place_id": 0,
 | 
										"place_id": 0,
 | 
				
			||||||
					"returns_count": 0,
 | 
										"returns_count": 0,
 | 
				
			||||||
 | 
										"utc_offset": "string",
 | 
				
			||||||
					"warehouses_ids": [
 | 
										"warehouses_ids": [
 | 
				
			||||||
					  "string"
 | 
										  "string"
 | 
				
			||||||
					]
 | 
										]
 | 
				
			||||||
@@ -963,7 +964,8 @@ func TestListReturns(t *testing.T) {
 | 
				
			|||||||
					  "commission": {
 | 
										  "commission": {
 | 
				
			||||||
						"currency_code": "RUB",
 | 
											"currency_code": "RUB",
 | 
				
			||||||
						"price": 2312
 | 
											"price": 2312
 | 
				
			||||||
					  }
 | 
										  },
 | 
				
			||||||
 | 
										  "quantity": 1
 | 
				
			||||||
					},
 | 
										},
 | 
				
			||||||
					"logistic": {
 | 
										"logistic": {
 | 
				
			||||||
					  "technical_return_moment": "2024-07-29T06:15:48.998146Z",
 | 
										  "technical_return_moment": "2024-07-29T06:15:48.998146Z",
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user