@tradecafe/offer-service-sdk 0.0.36 → 0.0.37

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 (86) hide show
  1. package/.openapi-generator/FILES +41 -38
  2. package/dist/api/apis.d.ts +20 -20
  3. package/dist/api/apis.js +56 -56
  4. package/dist/api/automatedOffersApi.d.ts +112 -112
  5. package/dist/api/automatedOffersApi.js +876 -876
  6. package/dist/api/futureBidsApi.d.ts +65 -65
  7. package/dist/api/futureBidsApi.js +456 -456
  8. package/dist/api/healthApi.d.ts +32 -32
  9. package/dist/api/healthApi.js +174 -174
  10. package/dist/api/matchedOffersApi.d.ts +177 -177
  11. package/dist/api/matchedOffersApi.js +1410 -1410
  12. package/dist/api/offersApi.d.ts +184 -184
  13. package/dist/api/offersApi.js +1469 -1469
  14. package/dist/api.d.ts +2 -2
  15. package/dist/api.js +18 -18
  16. package/dist/model/addFutureBidDto.d.ts +17 -17
  17. package/dist/model/addFutureBidDto.js +35 -35
  18. package/dist/model/createAutomatedOfferDto.d.ts +117 -115
  19. package/dist/model/createAutomatedOfferDto.js +396 -391
  20. package/dist/model/createAutomatedOfferDto.js.map +1 -1
  21. package/dist/model/createMatchedOfferDto.d.ts +83 -83
  22. package/dist/model/createMatchedOfferDto.js +310 -310
  23. package/dist/model/createOfferDto.d.ts +107 -105
  24. package/dist/model/createOfferDto.js +377 -372
  25. package/dist/model/createOfferDto.js.map +1 -1
  26. package/dist/model/createOfferDtoAttributes.d.ts +49 -49
  27. package/dist/model/createOfferDtoAttributes.js +159 -159
  28. package/dist/model/createOfferDtoFormula.d.ts +19 -19
  29. package/dist/model/createOfferDtoFormula.js +40 -40
  30. package/dist/model/createOfferDtoPacking.d.ts +17 -17
  31. package/dist/model/createOfferDtoPacking.js +35 -35
  32. package/dist/model/createOfferDtoWeight.d.ts +15 -15
  33. package/dist/model/createOfferDtoWeight.js +25 -25
  34. package/dist/model/formulaDto.d.ts +19 -19
  35. package/dist/model/formulaDto.js +40 -40
  36. package/dist/model/formulaLineDto.d.ts +17 -17
  37. package/dist/model/formulaLineDto.js +35 -35
  38. package/dist/model/generalAddressDto.d.ts +43 -43
  39. package/dist/model/generalAddressDto.js +165 -165
  40. package/dist/model/healthControllerPing200Response.d.ts +24 -24
  41. package/dist/model/healthControllerPing200Response.js +35 -35
  42. package/dist/model/healthControllerPing200ResponseInfoValue.d.ts +10 -10
  43. package/dist/model/healthControllerPing200ResponseInfoValue.js +36 -36
  44. package/dist/model/healthControllerPing503Response.d.ts +24 -24
  45. package/dist/model/healthControllerPing503Response.js +35 -35
  46. package/dist/model/models.d.ts +74 -71
  47. package/dist/model/models.js +316 -307
  48. package/dist/model/models.js.map +1 -1
  49. package/dist/model/offerAttributesDto.d.ts +49 -49
  50. package/dist/model/offerAttributesDto.js +159 -159
  51. package/dist/model/offerAttributesDtoEstablishment.d.ts +43 -43
  52. package/dist/model/offerAttributesDtoEstablishment.js +165 -165
  53. package/dist/model/overwriteItemDto.d.ts +21 -0
  54. package/dist/model/overwriteItemDto.js +51 -0
  55. package/dist/model/overwriteItemDto.js.map +1 -0
  56. package/dist/model/overwriteItemDtoWeight.d.ts +14 -0
  57. package/dist/model/overwriteItemDtoWeight.js +21 -0
  58. package/dist/model/overwriteItemDtoWeight.js.map +1 -0
  59. package/dist/model/packing.d.ts +17 -17
  60. package/dist/model/packing.js +35 -35
  61. package/dist/model/pinActionDto.d.ts +14 -14
  62. package/dist/model/pinActionDto.js +20 -20
  63. package/dist/model/relistingConfigDto.d.ts +17 -17
  64. package/dist/model/relistingConfigDto.js +35 -35
  65. package/dist/model/relistingDetailDto.d.ts +31 -31
  66. package/dist/model/relistingDetailDto.js +62 -62
  67. package/dist/model/relistingDetailDtoRandomConfig.d.ts +19 -19
  68. package/dist/model/relistingDetailDtoRandomConfig.js +45 -45
  69. package/dist/model/relistingRandomConfigDto.d.ts +19 -19
  70. package/dist/model/relistingRandomConfigDto.js +45 -45
  71. package/dist/model/updateFutureBidDto.d.ts +17 -17
  72. package/dist/model/updateFutureBidDto.js +35 -35
  73. package/dist/model/userPin.d.ts +15 -15
  74. package/dist/model/userPin.js +25 -25
  75. package/dist/model/weight.d.ts +15 -15
  76. package/dist/model/weight.js +25 -25
  77. package/dist/model/weightDto.d.ts +14 -0
  78. package/dist/model/weightDto.js +21 -0
  79. package/dist/model/weightDto.js.map +1 -0
  80. package/model/createAutomatedOfferDto.ts +10 -0
  81. package/model/createOfferDto.ts +10 -0
  82. package/model/models.ts +9 -0
  83. package/model/overwriteItemDto.ts +86 -0
  84. package/model/overwriteItemDtoWeight.ts +38 -0
  85. package/model/weightDto.ts +34 -0
  86. package/package.json +1 -1
@@ -1,105 +1,107 @@
1
- import { CreateOfferDtoAttributes } from './createOfferDtoAttributes';
2
- import { CreateOfferDtoFormula } from './createOfferDtoFormula';
3
- import { CreateOfferDtoPacking } from './createOfferDtoPacking';
4
- import { CreateOfferDtoWeight } from './createOfferDtoWeight';
5
- export declare class CreateOfferDto {
6
- 'deal_id'?: string;
7
- 'user_id'?: string;
8
- 'origin_deal_id'?: string;
9
- 'account': string;
10
- 'country': string;
11
- 'product': string;
12
- 'price': number;
13
- 'currency': string;
14
- 'quantity'?: number;
15
- 'containers'?: number;
16
- 'ship_start': number;
17
- 'ship_end': number;
18
- 'pickup_date'?: number;
19
- 'type': CreateOfferDto.TypeEnum;
20
- 'note'?: Array<string>;
21
- 'pickup': string;
22
- 'pickup_port'?: string;
23
- 'pickup_is_port'?: boolean;
24
- 'expire_seconds'?: number;
25
- 'expire'?: number;
26
- 'establishment'?: string;
27
- 'changes'?: Array<object>;
28
- 'status'?: CreateOfferDto.StatusEnum;
29
- 'wrapping'?: string;
30
- 'description'?: string;
31
- 'weight': CreateOfferDtoWeight;
32
- 'incoterm': string;
33
- 'packing': CreateOfferDtoPacking;
34
- 'lot'?: string;
35
- 'isPrivate'?: boolean;
36
- 'gross_margin'?: number;
37
- 'attributes'?: CreateOfferDtoAttributes;
38
- 'bwi_inventory'?: boolean;
39
- 'costs'?: Array<object>;
40
- 'notes'?: Array<object>;
41
- 'buyer_instructions'?: Array<object>;
42
- 'prioritize_mo'?: boolean;
43
- 'clone_from'?: string;
44
- 'clones'?: Array<string>;
45
- 'buyers'?: Array<string>;
46
- 'blocked_buyers'?: Array<string>;
47
- 'matched_offers'?: Array<string>;
48
- 'loads'?: number;
49
- 'loads_sold'?: number;
50
- 'load_parent'?: string;
51
- 'load_offer_ids'?: Array<string>;
52
- 'load_deal_ids'?: Array<string>;
53
- 'biddable'?: boolean;
54
- 'highest_bid_ratio'?: number;
55
- 'highest_bid_matched_offer_id'?: string;
56
- 'reloads_count'?: number;
57
- 'wo_export_docs'?: boolean;
58
- 'automated_offer_id'?: string;
59
- 'relisting_id'?: string;
60
- 'formula'?: CreateOfferDtoFormula;
61
- 'product_specs_file_id'?: string;
62
- 'attachment_file_ids'?: Array<string>;
63
- 'skip_cost_matching'?: boolean;
64
- 'skip_logistics_cost_matching'?: boolean;
65
- 'skip_freight_cost_matching'?: boolean;
66
- 'confirmed_by'?: string;
67
- 'copy_all_si'?: boolean;
68
- 'buyers_copy_si'?: Array<number>;
69
- 'skip_delivery_dates_calculation'?: boolean;
70
- 'mo_costs'?: Array<string>;
71
- static discriminator: string | undefined;
72
- static attributeTypeMap: Array<{
73
- name: string;
74
- baseName: string;
75
- type: string;
76
- }>;
77
- static getAttributeTypeMap(): {
78
- name: string;
79
- baseName: string;
80
- type: string;
81
- }[];
82
- }
83
- export declare namespace CreateOfferDto {
84
- enum TypeEnum {
85
- MarketOrder,
86
- LimitOrder,
87
- OfferOrder,
88
- StopLoss,
89
- StopLimit
90
- }
91
- enum StatusEnum {
92
- NUMBER_0,
93
- NUMBER_1,
94
- NUMBER_2,
95
- NUMBER_3,
96
- NUMBER_4,
97
- NUMBER_5,
98
- NUMBER_6,
99
- NUMBER_7,
100
- NUMBER_8,
101
- NUMBER_9,
102
- NUMBER_10,
103
- NUMBER_MINUS_1
104
- }
105
- }
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
+ export declare class CreateOfferDto {
7
+ 'deal_id'?: string;
8
+ 'user_id'?: string;
9
+ 'origin_deal_id'?: string;
10
+ 'account': string;
11
+ 'country': string;
12
+ 'product': string;
13
+ 'price': number;
14
+ 'currency': string;
15
+ 'quantity'?: number;
16
+ 'containers'?: number;
17
+ 'ship_start': number;
18
+ 'ship_end': number;
19
+ 'pickup_date'?: number;
20
+ 'type': CreateOfferDto.TypeEnum;
21
+ 'note'?: Array<string>;
22
+ 'pickup': string;
23
+ 'pickup_port'?: string;
24
+ 'pickup_is_port'?: boolean;
25
+ 'expire_seconds'?: number;
26
+ 'expire'?: number;
27
+ 'establishment'?: string;
28
+ 'changes'?: Array<object>;
29
+ 'status'?: CreateOfferDto.StatusEnum;
30
+ 'wrapping'?: string;
31
+ 'description'?: string;
32
+ 'weight': CreateOfferDtoWeight;
33
+ 'incoterm': string;
34
+ 'packing': CreateOfferDtoPacking;
35
+ 'lot'?: string;
36
+ 'isPrivate'?: boolean;
37
+ 'gross_margin'?: number;
38
+ 'attributes'?: CreateOfferDtoAttributes;
39
+ 'bwi_inventory'?: boolean;
40
+ 'costs'?: Array<object>;
41
+ 'notes'?: Array<object>;
42
+ 'buyer_instructions'?: Array<object>;
43
+ 'prioritize_mo'?: boolean;
44
+ 'clone_from'?: string;
45
+ 'clones'?: Array<string>;
46
+ 'buyers'?: Array<string>;
47
+ 'blocked_buyers'?: Array<string>;
48
+ 'matched_offers'?: Array<string>;
49
+ 'loads'?: number;
50
+ 'loads_sold'?: number;
51
+ 'load_parent'?: string;
52
+ 'load_offer_ids'?: Array<string>;
53
+ 'load_deal_ids'?: Array<string>;
54
+ 'biddable'?: boolean;
55
+ 'highest_bid_ratio'?: number;
56
+ 'highest_bid_matched_offer_id'?: string;
57
+ 'reloads_count'?: number;
58
+ 'wo_export_docs'?: boolean;
59
+ 'automated_offer_id'?: string;
60
+ 'relisting_id'?: string;
61
+ 'formula'?: CreateOfferDtoFormula;
62
+ 'product_specs_file_id'?: string;
63
+ 'attachment_file_ids'?: Array<string>;
64
+ 'skip_cost_matching'?: boolean;
65
+ 'skip_logistics_cost_matching'?: boolean;
66
+ 'skip_freight_cost_matching'?: boolean;
67
+ 'confirmed_by'?: string;
68
+ 'copy_all_si'?: boolean;
69
+ 'buyers_copy_si'?: Array<number>;
70
+ 'skip_delivery_dates_calculation'?: boolean;
71
+ 'mo_costs'?: Array<string>;
72
+ 'overwrites'?: Array<OverwriteItemDto>;
73
+ static discriminator: string | undefined;
74
+ static attributeTypeMap: Array<{
75
+ name: string;
76
+ baseName: string;
77
+ type: string;
78
+ }>;
79
+ static getAttributeTypeMap(): {
80
+ name: string;
81
+ baseName: string;
82
+ type: string;
83
+ }[];
84
+ }
85
+ export declare namespace CreateOfferDto {
86
+ enum TypeEnum {
87
+ MarketOrder,
88
+ LimitOrder,
89
+ OfferOrder,
90
+ StopLoss,
91
+ StopLimit
92
+ }
93
+ enum StatusEnum {
94
+ NUMBER_0,
95
+ NUMBER_1,
96
+ NUMBER_2,
97
+ NUMBER_3,
98
+ NUMBER_4,
99
+ NUMBER_5,
100
+ NUMBER_6,
101
+ NUMBER_7,
102
+ NUMBER_8,
103
+ NUMBER_9,
104
+ NUMBER_10,
105
+ NUMBER_MINUS_1
106
+ }
107
+ }