@tradecafe/offer-service-sdk 0.0.55 → 0.0.57

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (136) hide show
  1. package/.openapi-generator/FILES +68 -67
  2. package/api/matchedOffersApi.ts +69 -0
  3. package/dist/api/apis.d.ts +20 -20
  4. package/dist/api/apis.js +56 -56
  5. package/dist/api/automatedOffersApi.d.ts +156 -156
  6. package/dist/api/automatedOffersApi.js +1218 -1218
  7. package/dist/api/futureBidsApi.d.ts +65 -65
  8. package/dist/api/futureBidsApi.js +456 -456
  9. package/dist/api/healthApi.d.ts +32 -32
  10. package/dist/api/healthApi.js +174 -174
  11. package/dist/api/matchedOffersApi.d.ts +258 -249
  12. package/dist/api/matchedOffersApi.js +2008 -1942
  13. package/dist/api/matchedOffersApi.js.map +1 -1
  14. package/dist/api/offersApi.d.ts +200 -200
  15. package/dist/api/offersApi.js +1605 -1605
  16. package/dist/api.d.ts +2 -2
  17. package/dist/api.js +18 -18
  18. package/dist/model/addFutureBidDto.d.ts +17 -17
  19. package/dist/model/addFutureBidDto.js +35 -35
  20. package/dist/model/addMatchedDeliveryDateDto.d.ts +14 -14
  21. package/dist/model/addMatchedDeliveryDateDto.js +20 -20
  22. package/dist/model/associatedCostDto.d.ts +16 -16
  23. package/dist/model/associatedCostDto.js +30 -30
  24. package/dist/model/bulkAddRelistingDto.d.ts +16 -16
  25. package/dist/model/bulkAddRelistingDto.js +25 -25
  26. package/dist/model/bulkAddTertiaryCostsDto.d.ts +16 -16
  27. package/dist/model/bulkAddTertiaryCostsDto.js +25 -25
  28. package/dist/model/bulkChangeFreightRatesDto.d.ts +19 -19
  29. package/dist/model/bulkChangeFreightRatesDto.js +40 -40
  30. package/dist/model/bulkChangeIncotermDto.d.ts +16 -0
  31. package/dist/model/bulkChangeIncotermDto.js +31 -0
  32. package/dist/model/bulkChangeIncotermDto.js.map +1 -0
  33. package/dist/model/bulkChangeSellPriceItemDto.d.ts +20 -20
  34. package/dist/model/bulkChangeSellPriceItemDto.js +45 -45
  35. package/dist/model/bulkChangeSellPricesDto.d.ts +23 -18
  36. package/dist/model/bulkChangeSellPricesDto.js +55 -35
  37. package/dist/model/bulkChangeSellPricesDto.js.map +1 -1
  38. package/dist/model/bulkChangeSellingTraderDto.d.ts +16 -16
  39. package/dist/model/bulkChangeSellingTraderDto.js +30 -30
  40. package/dist/model/bulkDeleteBuyerSpecialInstructionsDto.d.ts +15 -15
  41. package/dist/model/bulkDeleteBuyerSpecialInstructionsDto.js +25 -25
  42. package/dist/model/bulkUpdateBuyerSpecialInstructionsDto.d.ts +19 -19
  43. package/dist/model/bulkUpdateBuyerSpecialInstructionsDto.js +45 -45
  44. package/dist/model/bulkUpdateDeliveryDatesDto.d.ts +16 -16
  45. package/dist/model/bulkUpdateDeliveryDatesDto.js +30 -30
  46. package/dist/model/bulkUpdateDocsCountryDto.d.ts +16 -16
  47. package/dist/model/bulkUpdateDocsCountryDto.js +30 -30
  48. package/dist/model/bulkUpdateMatchedDeliveryDatesDto.d.ts +15 -15
  49. package/dist/model/bulkUpdateMatchedDeliveryDatesDto.js +25 -25
  50. package/dist/model/costAmountDto.d.ts +17 -17
  51. package/dist/model/costAmountDto.js +35 -35
  52. package/dist/model/costAttributesDto.d.ts +32 -32
  53. package/dist/model/costAttributesDto.js +100 -100
  54. package/dist/model/costAttributesDtoAssociated.d.ts +16 -16
  55. package/dist/model/costAttributesDtoAssociated.js +30 -30
  56. package/dist/model/costAttributesDtoDefaultCost.d.ts +18 -18
  57. package/dist/model/costAttributesDtoDefaultCost.js +40 -40
  58. package/dist/model/costDto.d.ts +35 -35
  59. package/dist/model/costDto.js +110 -110
  60. package/dist/model/costDtoAmount.d.ts +17 -17
  61. package/dist/model/costDtoAmount.js +35 -35
  62. package/dist/model/costDtoAttributes.d.ts +32 -32
  63. package/dist/model/costDtoAttributes.js +100 -100
  64. package/dist/model/costDtoSource.d.ts +15 -15
  65. package/dist/model/costDtoSource.js +25 -25
  66. package/dist/model/costSourceDto.d.ts +15 -15
  67. package/dist/model/costSourceDto.js +25 -25
  68. package/dist/model/createAutomatedOfferDto.d.ts +124 -124
  69. package/dist/model/createAutomatedOfferDto.js +419 -419
  70. package/dist/model/createMatchedOfferDto.d.ts +85 -85
  71. package/dist/model/createMatchedOfferDto.js +315 -315
  72. package/dist/model/createMatchedOfferDtoAttributes.d.ts +34 -34
  73. package/dist/model/createMatchedOfferDtoAttributes.js +94 -94
  74. package/dist/model/createOfferDto.d.ts +111 -111
  75. package/dist/model/createOfferDto.js +397 -397
  76. package/dist/model/createOfferDtoAttributes.d.ts +52 -52
  77. package/dist/model/createOfferDtoAttributes.js +174 -174
  78. package/dist/model/createOfferDtoFormula.d.ts +19 -19
  79. package/dist/model/createOfferDtoFormula.js +40 -40
  80. package/dist/model/createOfferDtoPacking.d.ts +17 -17
  81. package/dist/model/createOfferDtoPacking.js +35 -35
  82. package/dist/model/createOfferDtoWeight.d.ts +15 -15
  83. package/dist/model/createOfferDtoWeight.js +25 -25
  84. package/dist/model/defaultCostDto.d.ts +18 -18
  85. package/dist/model/defaultCostDto.js +40 -40
  86. package/dist/model/formulaDto.d.ts +19 -19
  87. package/dist/model/formulaDto.js +40 -40
  88. package/dist/model/formulaLineDto.d.ts +17 -17
  89. package/dist/model/formulaLineDto.js +35 -35
  90. package/dist/model/generalAddressDto.d.ts +43 -43
  91. package/dist/model/generalAddressDto.js +165 -165
  92. package/dist/model/healthControllerPing200Response.d.ts +24 -24
  93. package/dist/model/healthControllerPing200Response.js +35 -35
  94. package/dist/model/healthControllerPing200ResponseInfoValue.d.ts +10 -10
  95. package/dist/model/healthControllerPing200ResponseInfoValue.js +36 -36
  96. package/dist/model/healthControllerPing503Response.d.ts +24 -24
  97. package/dist/model/healthControllerPing503Response.js +35 -35
  98. package/dist/model/matchedOfferAttributesDto.d.ts +34 -34
  99. package/dist/model/matchedOfferAttributesDto.js +94 -94
  100. package/dist/model/models.d.ts +101 -100
  101. package/dist/model/models.js +399 -396
  102. package/dist/model/models.js.map +1 -1
  103. package/dist/model/offerAttributesDto.d.ts +52 -52
  104. package/dist/model/offerAttributesDto.js +174 -174
  105. package/dist/model/offerAttributesDtoEstablishment.d.ts +43 -43
  106. package/dist/model/offerAttributesDtoEstablishment.js +165 -165
  107. package/dist/model/overwriteItemDto.d.ts +22 -22
  108. package/dist/model/overwriteItemDto.js +55 -55
  109. package/dist/model/overwriteItemDtoWeight.d.ts +14 -14
  110. package/dist/model/overwriteItemDtoWeight.js +20 -20
  111. package/dist/model/packing.d.ts +17 -17
  112. package/dist/model/packing.js +35 -35
  113. package/dist/model/pinActionDto.d.ts +14 -14
  114. package/dist/model/pinActionDto.js +20 -20
  115. package/dist/model/relistingConfigDto.d.ts +17 -17
  116. package/dist/model/relistingConfigDto.js +35 -35
  117. package/dist/model/relistingDetailDto.d.ts +31 -31
  118. package/dist/model/relistingDetailDto.js +62 -62
  119. package/dist/model/relistingDetailDtoRandomConfig.d.ts +19 -19
  120. package/dist/model/relistingDetailDtoRandomConfig.js +45 -45
  121. package/dist/model/relistingRandomConfigDto.d.ts +19 -19
  122. package/dist/model/relistingRandomConfigDto.js +45 -45
  123. package/dist/model/updateFutureBidDto.d.ts +17 -17
  124. package/dist/model/updateFutureBidDto.js +35 -35
  125. package/dist/model/updateMatchedDeliveryDateDto.d.ts +15 -15
  126. package/dist/model/updateMatchedDeliveryDateDto.js +25 -25
  127. package/dist/model/userPin.d.ts +15 -15
  128. package/dist/model/userPin.js +25 -25
  129. package/dist/model/weight.d.ts +15 -15
  130. package/dist/model/weight.js +25 -25
  131. package/dist/model/weightDto.d.ts +14 -14
  132. package/dist/model/weightDto.js +20 -20
  133. package/model/bulkChangeIncotermDto.ts +43 -0
  134. package/model/bulkChangeSellPricesDto.ts +25 -0
  135. package/model/models.ts +3 -0
  136. package/package.json +1 -1
@@ -1,101 +1,101 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CostDtoAttributes = void 0;
4
- var CostDtoAttributes = (function () {
5
- function CostDtoAttributes() {
6
- }
7
- CostDtoAttributes.getAttributeTypeMap = function () {
8
- return CostDtoAttributes.attributeTypeMap;
9
- };
10
- CostDtoAttributes.discriminator = undefined;
11
- CostDtoAttributes.attributeTypeMap = [
12
- {
13
- "name": "default_cost",
14
- "baseName": "default_cost",
15
- "type": "CostAttributesDtoDefaultCost"
16
- },
17
- {
18
- "name": "actual_amount",
19
- "baseName": "actual_amount",
20
- "type": "number"
21
- },
22
- {
23
- "name": "actual_currency",
24
- "baseName": "actual_currency",
25
- "type": "string"
26
- },
27
- {
28
- "name": "total_actual_cad",
29
- "baseName": "total_actual_cad",
30
- "type": "number"
31
- },
32
- {
33
- "name": "actual_buy_price",
34
- "baseName": "actual_buy_price",
35
- "type": "number"
36
- },
37
- {
38
- "name": "actual_buy_weight",
39
- "baseName": "actual_buy_weight",
40
- "type": "number"
41
- },
42
- {
43
- "name": "actual_sell_price",
44
- "baseName": "actual_sell_price",
45
- "type": "number"
46
- },
47
- {
48
- "name": "actual_sell_weight",
49
- "baseName": "actual_sell_weight",
50
- "type": "number"
51
- },
52
- {
53
- "name": "associated",
54
- "baseName": "associated",
55
- "type": "CostAttributesDtoAssociated"
56
- },
57
- {
58
- "name": "product_index",
59
- "baseName": "product_index",
60
- "type": "number"
61
- },
62
- {
63
- "name": "buy_weight",
64
- "baseName": "buy_weight",
65
- "type": "number"
66
- },
67
- {
68
- "name": "freight_type",
69
- "baseName": "freight_type",
70
- "type": "string"
71
- },
72
- {
73
- "name": "rate_created",
74
- "baseName": "rate_created",
75
- "type": "number"
76
- },
77
- {
78
- "name": "rate_id",
79
- "baseName": "rate_id",
80
- "type": "string"
81
- },
82
- {
83
- "name": "rate_until",
84
- "baseName": "rate_until",
85
- "type": "number"
86
- },
87
- {
88
- "name": "finance_term",
89
- "baseName": "finance_term",
90
- "type": "number"
91
- },
92
- {
93
- "name": "est_finance_term",
94
- "baseName": "est_finance_term",
95
- "type": "number"
96
- }
97
- ];
98
- return CostDtoAttributes;
99
- }());
100
- exports.CostDtoAttributes = CostDtoAttributes;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CostDtoAttributes = void 0;
4
+ var CostDtoAttributes = (function () {
5
+ function CostDtoAttributes() {
6
+ }
7
+ CostDtoAttributes.getAttributeTypeMap = function () {
8
+ return CostDtoAttributes.attributeTypeMap;
9
+ };
10
+ CostDtoAttributes.discriminator = undefined;
11
+ CostDtoAttributes.attributeTypeMap = [
12
+ {
13
+ "name": "default_cost",
14
+ "baseName": "default_cost",
15
+ "type": "CostAttributesDtoDefaultCost"
16
+ },
17
+ {
18
+ "name": "actual_amount",
19
+ "baseName": "actual_amount",
20
+ "type": "number"
21
+ },
22
+ {
23
+ "name": "actual_currency",
24
+ "baseName": "actual_currency",
25
+ "type": "string"
26
+ },
27
+ {
28
+ "name": "total_actual_cad",
29
+ "baseName": "total_actual_cad",
30
+ "type": "number"
31
+ },
32
+ {
33
+ "name": "actual_buy_price",
34
+ "baseName": "actual_buy_price",
35
+ "type": "number"
36
+ },
37
+ {
38
+ "name": "actual_buy_weight",
39
+ "baseName": "actual_buy_weight",
40
+ "type": "number"
41
+ },
42
+ {
43
+ "name": "actual_sell_price",
44
+ "baseName": "actual_sell_price",
45
+ "type": "number"
46
+ },
47
+ {
48
+ "name": "actual_sell_weight",
49
+ "baseName": "actual_sell_weight",
50
+ "type": "number"
51
+ },
52
+ {
53
+ "name": "associated",
54
+ "baseName": "associated",
55
+ "type": "CostAttributesDtoAssociated"
56
+ },
57
+ {
58
+ "name": "product_index",
59
+ "baseName": "product_index",
60
+ "type": "number"
61
+ },
62
+ {
63
+ "name": "buy_weight",
64
+ "baseName": "buy_weight",
65
+ "type": "number"
66
+ },
67
+ {
68
+ "name": "freight_type",
69
+ "baseName": "freight_type",
70
+ "type": "string"
71
+ },
72
+ {
73
+ "name": "rate_created",
74
+ "baseName": "rate_created",
75
+ "type": "number"
76
+ },
77
+ {
78
+ "name": "rate_id",
79
+ "baseName": "rate_id",
80
+ "type": "string"
81
+ },
82
+ {
83
+ "name": "rate_until",
84
+ "baseName": "rate_until",
85
+ "type": "number"
86
+ },
87
+ {
88
+ "name": "finance_term",
89
+ "baseName": "finance_term",
90
+ "type": "number"
91
+ },
92
+ {
93
+ "name": "est_finance_term",
94
+ "baseName": "est_finance_term",
95
+ "type": "number"
96
+ }
97
+ ];
98
+ return CostDtoAttributes;
99
+ }());
100
+ exports.CostDtoAttributes = CostDtoAttributes;
101
101
  //# sourceMappingURL=costDtoAttributes.js.map
@@ -1,15 +1,15 @@
1
- export declare class CostDtoSource {
2
- 'type'?: string;
3
- 'source_id'?: string;
4
- static discriminator: string | undefined;
5
- static attributeTypeMap: Array<{
6
- name: string;
7
- baseName: string;
8
- type: string;
9
- }>;
10
- static getAttributeTypeMap(): {
11
- name: string;
12
- baseName: string;
13
- type: string;
14
- }[];
15
- }
1
+ export declare class CostDtoSource {
2
+ 'type'?: string;
3
+ 'source_id'?: string;
4
+ static discriminator: string | undefined;
5
+ static attributeTypeMap: Array<{
6
+ name: string;
7
+ baseName: string;
8
+ type: string;
9
+ }>;
10
+ static getAttributeTypeMap(): {
11
+ name: string;
12
+ baseName: string;
13
+ type: string;
14
+ }[];
15
+ }
@@ -1,26 +1,26 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CostDtoSource = void 0;
4
- var CostDtoSource = (function () {
5
- function CostDtoSource() {
6
- }
7
- CostDtoSource.getAttributeTypeMap = function () {
8
- return CostDtoSource.attributeTypeMap;
9
- };
10
- CostDtoSource.discriminator = undefined;
11
- CostDtoSource.attributeTypeMap = [
12
- {
13
- "name": "type",
14
- "baseName": "type",
15
- "type": "string"
16
- },
17
- {
18
- "name": "source_id",
19
- "baseName": "source_id",
20
- "type": "string"
21
- }
22
- ];
23
- return CostDtoSource;
24
- }());
25
- exports.CostDtoSource = CostDtoSource;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CostDtoSource = void 0;
4
+ var CostDtoSource = (function () {
5
+ function CostDtoSource() {
6
+ }
7
+ CostDtoSource.getAttributeTypeMap = function () {
8
+ return CostDtoSource.attributeTypeMap;
9
+ };
10
+ CostDtoSource.discriminator = undefined;
11
+ CostDtoSource.attributeTypeMap = [
12
+ {
13
+ "name": "type",
14
+ "baseName": "type",
15
+ "type": "string"
16
+ },
17
+ {
18
+ "name": "source_id",
19
+ "baseName": "source_id",
20
+ "type": "string"
21
+ }
22
+ ];
23
+ return CostDtoSource;
24
+ }());
25
+ exports.CostDtoSource = CostDtoSource;
26
26
  //# sourceMappingURL=costDtoSource.js.map
@@ -1,15 +1,15 @@
1
- export declare class CostSourceDto {
2
- 'type'?: string;
3
- 'source_id'?: string;
4
- static discriminator: string | undefined;
5
- static attributeTypeMap: Array<{
6
- name: string;
7
- baseName: string;
8
- type: string;
9
- }>;
10
- static getAttributeTypeMap(): {
11
- name: string;
12
- baseName: string;
13
- type: string;
14
- }[];
15
- }
1
+ export declare class CostSourceDto {
2
+ 'type'?: string;
3
+ 'source_id'?: string;
4
+ static discriminator: string | undefined;
5
+ static attributeTypeMap: Array<{
6
+ name: string;
7
+ baseName: string;
8
+ type: string;
9
+ }>;
10
+ static getAttributeTypeMap(): {
11
+ name: string;
12
+ baseName: string;
13
+ type: string;
14
+ }[];
15
+ }
@@ -1,26 +1,26 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CostSourceDto = void 0;
4
- var CostSourceDto = (function () {
5
- function CostSourceDto() {
6
- }
7
- CostSourceDto.getAttributeTypeMap = function () {
8
- return CostSourceDto.attributeTypeMap;
9
- };
10
- CostSourceDto.discriminator = undefined;
11
- CostSourceDto.attributeTypeMap = [
12
- {
13
- "name": "type",
14
- "baseName": "type",
15
- "type": "string"
16
- },
17
- {
18
- "name": "source_id",
19
- "baseName": "source_id",
20
- "type": "string"
21
- }
22
- ];
23
- return CostSourceDto;
24
- }());
25
- exports.CostSourceDto = CostSourceDto;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CostSourceDto = void 0;
4
+ var CostSourceDto = (function () {
5
+ function CostSourceDto() {
6
+ }
7
+ CostSourceDto.getAttributeTypeMap = function () {
8
+ return CostSourceDto.attributeTypeMap;
9
+ };
10
+ CostSourceDto.discriminator = undefined;
11
+ CostSourceDto.attributeTypeMap = [
12
+ {
13
+ "name": "type",
14
+ "baseName": "type",
15
+ "type": "string"
16
+ },
17
+ {
18
+ "name": "source_id",
19
+ "baseName": "source_id",
20
+ "type": "string"
21
+ }
22
+ ];
23
+ return CostSourceDto;
24
+ }());
25
+ exports.CostSourceDto = CostSourceDto;
26
26
  //# sourceMappingURL=costSourceDto.js.map
@@ -1,124 +1,124 @@
1
- import { CreateOfferDtoAttributes } from './createOfferDtoAttributes';
2
- import { CreateOfferDtoFormula } from './createOfferDtoFormula';
3
- import { CreateOfferDtoPacking } from './createOfferDtoPacking';
4
- import { CreateOfferDtoWeight } from './createOfferDtoWeight';
5
- import { OverwriteItemDto } from './overwriteItemDto';
6
- import { RelistingDetailDto } from './relistingDetailDto';
7
- export declare class CreateAutomatedOfferDto {
8
- 'deal_id'?: string;
9
- 'user_id'?: string;
10
- 'origin_deal_id'?: string;
11
- 'account': string;
12
- 'country': string;
13
- 'product': string;
14
- 'price': number;
15
- 'currency': string;
16
- 'quantity'?: number;
17
- 'containers'?: number;
18
- 'ship_start': number;
19
- 'ship_end': number;
20
- 'pickup_date'?: number;
21
- 'type': CreateAutomatedOfferDto.TypeEnum;
22
- 'note'?: Array<string>;
23
- 'pickup': string;
24
- 'pickup_port'?: string;
25
- 'pickup_is_port'?: boolean;
26
- 'expire_seconds'?: number;
27
- 'expire'?: number;
28
- 'establishment'?: string;
29
- 'changes'?: Array<object>;
30
- 'status'?: CreateAutomatedOfferDto.StatusEnum;
31
- 'wrapping'?: string;
32
- 'description'?: string;
33
- 'weight': CreateOfferDtoWeight;
34
- 'incoterm': string;
35
- 'packing': CreateOfferDtoPacking;
36
- 'lot'?: string;
37
- 'isPrivate'?: boolean;
38
- 'gross_margin'?: number;
39
- 'attributes'?: CreateOfferDtoAttributes;
40
- 'bwi_inventory'?: boolean;
41
- 'costs'?: Array<object>;
42
- 'notes'?: Array<object>;
43
- 'buyer_instructions'?: Array<object>;
44
- 'prioritize_mo'?: boolean;
45
- 'clone_from'?: string;
46
- 'clones'?: Array<string>;
47
- 'buyers'?: Array<string>;
48
- 'blocked_buyers'?: Array<string>;
49
- 'matched_offers'?: Array<string>;
50
- 'loads'?: number;
51
- 'loads_sold'?: number;
52
- 'load_parent'?: string;
53
- 'load_offer_ids'?: Array<string>;
54
- 'load_deal_ids'?: Array<string>;
55
- 'biddable'?: boolean;
56
- 'highest_bid_ratio'?: number;
57
- 'highest_bid_matched_offer_id'?: string;
58
- 'reloads_count'?: number;
59
- 'wo_export_docs'?: boolean;
60
- 'automated_offer_id'?: string;
61
- 'relisting_id'?: string;
62
- 'relisting_price'?: number;
63
- 'formula'?: CreateOfferDtoFormula;
64
- 'product_specs_file_id'?: string;
65
- 'attachment_file_ids'?: Array<string>;
66
- 'product_pic_file_id'?: string;
67
- 'skip_cost_matching'?: boolean;
68
- 'skip_logistics_cost_matching'?: boolean;
69
- 'skip_freight_cost_matching'?: boolean;
70
- 'confirmed_by'?: string;
71
- 'copy_all_si'?: boolean;
72
- 'buyers_copy_si'?: Array<number>;
73
- 'skip_delivery_dates_calculation'?: boolean;
74
- 'mo_costs'?: Array<string>;
75
- 'overwrites'?: Array<OverwriteItemDto>;
76
- 'createFormulaMO'?: boolean;
77
- 'matched_buyers'?: Array<string>;
78
- 'automated_offer_status'?: CreateAutomatedOfferDto.AutomatedOfferStatusEnum;
79
- 'relistings': Array<RelistingDetailDto>;
80
- static discriminator: string | undefined;
81
- static attributeTypeMap: Array<{
82
- name: string;
83
- baseName: string;
84
- type: string;
85
- }>;
86
- static getAttributeTypeMap(): {
87
- name: string;
88
- baseName: string;
89
- type: string;
90
- }[];
91
- }
92
- export declare namespace CreateAutomatedOfferDto {
93
- enum TypeEnum {
94
- MarketOrder,
95
- LimitOrder,
96
- OfferOrder,
97
- StopLoss,
98
- StopLimit
99
- }
100
- enum StatusEnum {
101
- NUMBER_0,
102
- NUMBER_1,
103
- NUMBER_2,
104
- NUMBER_3,
105
- NUMBER_4,
106
- NUMBER_5,
107
- NUMBER_6,
108
- NUMBER_7,
109
- NUMBER_8,
110
- NUMBER_9,
111
- NUMBER_10,
112
- NUMBER_MINUS_1
113
- }
114
- enum AutomatedOfferStatusEnum {
115
- NUMBER_0,
116
- NUMBER_1,
117
- NUMBER_2,
118
- NUMBER_3,
119
- NUMBER_4,
120
- NUMBER_5,
121
- NUMBER_6,
122
- NUMBER_7
123
- }
124
- }
1
+ import { CreateOfferDtoAttributes } from './createOfferDtoAttributes';
2
+ import { CreateOfferDtoFormula } from './createOfferDtoFormula';
3
+ import { CreateOfferDtoPacking } from './createOfferDtoPacking';
4
+ import { CreateOfferDtoWeight } from './createOfferDtoWeight';
5
+ import { OverwriteItemDto } from './overwriteItemDto';
6
+ import { RelistingDetailDto } from './relistingDetailDto';
7
+ export declare class CreateAutomatedOfferDto {
8
+ 'deal_id'?: string;
9
+ 'user_id'?: string;
10
+ 'origin_deal_id'?: string;
11
+ 'account': string;
12
+ 'country': string;
13
+ 'product': string;
14
+ 'price': number;
15
+ 'currency': string;
16
+ 'quantity'?: number;
17
+ 'containers'?: number;
18
+ 'ship_start': number;
19
+ 'ship_end': number;
20
+ 'pickup_date'?: number;
21
+ 'type': CreateAutomatedOfferDto.TypeEnum;
22
+ 'note'?: Array<string>;
23
+ 'pickup': string;
24
+ 'pickup_port'?: string;
25
+ 'pickup_is_port'?: boolean;
26
+ 'expire_seconds'?: number;
27
+ 'expire'?: number;
28
+ 'establishment'?: string;
29
+ 'changes'?: Array<object>;
30
+ 'status'?: CreateAutomatedOfferDto.StatusEnum;
31
+ 'wrapping'?: string;
32
+ 'description'?: string;
33
+ 'weight': CreateOfferDtoWeight;
34
+ 'incoterm': string;
35
+ 'packing': CreateOfferDtoPacking;
36
+ 'lot'?: string;
37
+ 'isPrivate'?: boolean;
38
+ 'gross_margin'?: number;
39
+ 'attributes'?: CreateOfferDtoAttributes;
40
+ 'bwi_inventory'?: boolean;
41
+ 'costs'?: Array<object>;
42
+ 'notes'?: Array<object>;
43
+ 'buyer_instructions'?: Array<object>;
44
+ 'prioritize_mo'?: boolean;
45
+ 'clone_from'?: string;
46
+ 'clones'?: Array<string>;
47
+ 'buyers'?: Array<string>;
48
+ 'blocked_buyers'?: Array<string>;
49
+ 'matched_offers'?: Array<string>;
50
+ 'loads'?: number;
51
+ 'loads_sold'?: number;
52
+ 'load_parent'?: string;
53
+ 'load_offer_ids'?: Array<string>;
54
+ 'load_deal_ids'?: Array<string>;
55
+ 'biddable'?: boolean;
56
+ 'highest_bid_ratio'?: number;
57
+ 'highest_bid_matched_offer_id'?: string;
58
+ 'reloads_count'?: number;
59
+ 'wo_export_docs'?: boolean;
60
+ 'automated_offer_id'?: string;
61
+ 'relisting_id'?: string;
62
+ 'relisting_price'?: number;
63
+ 'formula'?: CreateOfferDtoFormula;
64
+ 'product_specs_file_id'?: string;
65
+ 'attachment_file_ids'?: Array<string>;
66
+ 'product_pic_file_id'?: string;
67
+ 'skip_cost_matching'?: boolean;
68
+ 'skip_logistics_cost_matching'?: boolean;
69
+ 'skip_freight_cost_matching'?: boolean;
70
+ 'confirmed_by'?: string;
71
+ 'copy_all_si'?: boolean;
72
+ 'buyers_copy_si'?: Array<number>;
73
+ 'skip_delivery_dates_calculation'?: boolean;
74
+ 'mo_costs'?: Array<string>;
75
+ 'overwrites'?: Array<OverwriteItemDto>;
76
+ 'createFormulaMO'?: boolean;
77
+ 'matched_buyers'?: Array<string>;
78
+ 'automated_offer_status'?: CreateAutomatedOfferDto.AutomatedOfferStatusEnum;
79
+ 'relistings': Array<RelistingDetailDto>;
80
+ static discriminator: string | undefined;
81
+ static attributeTypeMap: Array<{
82
+ name: string;
83
+ baseName: string;
84
+ type: string;
85
+ }>;
86
+ static getAttributeTypeMap(): {
87
+ name: string;
88
+ baseName: string;
89
+ type: string;
90
+ }[];
91
+ }
92
+ export declare namespace CreateAutomatedOfferDto {
93
+ enum TypeEnum {
94
+ MarketOrder,
95
+ LimitOrder,
96
+ OfferOrder,
97
+ StopLoss,
98
+ StopLimit
99
+ }
100
+ enum StatusEnum {
101
+ NUMBER_0,
102
+ NUMBER_1,
103
+ NUMBER_2,
104
+ NUMBER_3,
105
+ NUMBER_4,
106
+ NUMBER_5,
107
+ NUMBER_6,
108
+ NUMBER_7,
109
+ NUMBER_8,
110
+ NUMBER_9,
111
+ NUMBER_10,
112
+ NUMBER_MINUS_1
113
+ }
114
+ enum AutomatedOfferStatusEnum {
115
+ NUMBER_0,
116
+ NUMBER_1,
117
+ NUMBER_2,
118
+ NUMBER_3,
119
+ NUMBER_4,
120
+ NUMBER_5,
121
+ NUMBER_6,
122
+ NUMBER_7
123
+ }
124
+ }