@tradecafe/offer-service-sdk 0.0.26 → 0.0.28

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 (166) hide show
  1. package/.openapi-generator/FILES +49 -16
  2. package/api/automatedOffersApi.ts +13 -12
  3. package/api/futureBidsApi.ts +20 -18
  4. package/api/matchedOffersApi.ts +26 -24
  5. package/api/offersApi.ts +13 -12
  6. package/dist/api/apis.d.ts +20 -20
  7. package/dist/api/apis.js +56 -56
  8. package/dist/api/automatedOffersApi.d.ts +104 -103
  9. package/dist/api/automatedOffersApi.js +798 -798
  10. package/dist/api/automatedOffersApi.js.map +1 -1
  11. package/dist/api/futureBidsApi.d.ts +65 -63
  12. package/dist/api/futureBidsApi.js +455 -455
  13. package/dist/api/futureBidsApi.js.map +1 -1
  14. package/dist/api/healthApi.d.ts +32 -32
  15. package/dist/api/healthApi.js +174 -174
  16. package/dist/api/matchedOffersApi.d.ts +177 -175
  17. package/dist/api/matchedOffersApi.js +1401 -1401
  18. package/dist/api/matchedOffersApi.js.map +1 -1
  19. package/dist/api/offersApi.d.ts +184 -183
  20. package/dist/api/offersApi.js +1460 -1460
  21. package/dist/api/offersApi.js.map +1 -1
  22. package/dist/api.d.ts +2 -2
  23. package/dist/api.js +18 -18
  24. package/dist/model/addFutureBidDto.d.ts +17 -0
  25. package/dist/model/addFutureBidDto.js +36 -0
  26. package/dist/model/addFutureBidDto.js.map +1 -0
  27. package/dist/model/bidDto.d.ts +46 -0
  28. package/dist/model/bidDto.js +156 -0
  29. package/dist/model/bidDto.js.map +1 -0
  30. package/dist/model/bidDtoPacking.d.ts +15 -0
  31. package/dist/model/bidDtoPacking.js +26 -0
  32. package/dist/model/bidDtoPacking.js.map +1 -0
  33. package/dist/model/bidDtoWeight.d.ts +15 -0
  34. package/dist/model/bidDtoWeight.js +26 -0
  35. package/dist/model/bidDtoWeight.js.map +1 -0
  36. package/dist/model/bidNoteAttributesDto.d.ts +15 -0
  37. package/dist/model/bidNoteAttributesDto.js +26 -0
  38. package/dist/model/bidNoteAttributesDto.js.map +1 -0
  39. package/dist/model/bidNoteDto.d.ts +24 -0
  40. package/dist/model/bidNoteDto.js +61 -0
  41. package/dist/model/bidNoteDto.js.map +1 -0
  42. package/dist/model/bidNoteDtoAccount.d.ts +13 -0
  43. package/dist/model/bidNoteDtoAccount.js +15 -0
  44. package/dist/model/bidNoteDtoAccount.js.map +1 -0
  45. package/dist/model/bidNoteDtoAttributes.d.ts +15 -0
  46. package/dist/model/bidNoteDtoAttributes.js +26 -0
  47. package/dist/model/bidNoteDtoAttributes.js.map +1 -0
  48. package/dist/model/bidPackingDto.d.ts +15 -0
  49. package/dist/model/bidPackingDto.js +26 -0
  50. package/dist/model/bidPackingDto.js.map +1 -0
  51. package/dist/model/bidWeightDto.d.ts +15 -0
  52. package/dist/model/bidWeightDto.js +26 -0
  53. package/dist/model/bidWeightDto.js.map +1 -0
  54. package/dist/model/createAutomatedOfferDto.d.ts +107 -0
  55. package/dist/model/createAutomatedOfferDto.js +352 -0
  56. package/dist/model/createAutomatedOfferDto.js.map +1 -0
  57. package/dist/model/createMatchedOfferDto.d.ts +84 -0
  58. package/dist/model/createMatchedOfferDto.js +311 -0
  59. package/dist/model/createMatchedOfferDto.js.map +1 -0
  60. package/dist/model/createMatchedOfferDtoBid.d.ts +46 -0
  61. package/dist/model/createMatchedOfferDtoBid.js +156 -0
  62. package/dist/model/createMatchedOfferDtoBid.js.map +1 -0
  63. package/dist/model/createOfferDto.d.ts +97 -0
  64. package/dist/model/createOfferDto.js +333 -0
  65. package/dist/model/createOfferDto.js.map +1 -0
  66. package/dist/model/createOfferDtoAttributes.d.ts +49 -0
  67. package/dist/model/createOfferDtoAttributes.js +155 -0
  68. package/dist/model/createOfferDtoAttributes.js.map +1 -0
  69. package/dist/model/createOfferDtoFormula.d.ts +19 -0
  70. package/dist/model/createOfferDtoFormula.js +41 -0
  71. package/dist/model/createOfferDtoFormula.js.map +1 -0
  72. package/dist/model/createOfferDtoPacking.d.ts +17 -0
  73. package/dist/model/createOfferDtoPacking.js +36 -0
  74. package/dist/model/createOfferDtoPacking.js.map +1 -0
  75. package/dist/model/createOfferDtoWeight.d.ts +15 -0
  76. package/dist/model/createOfferDtoWeight.js +26 -0
  77. package/dist/model/createOfferDtoWeight.js.map +1 -0
  78. package/dist/model/dealProductBatchDto.d.ts +20 -0
  79. package/dist/model/dealProductBatchDto.js +51 -0
  80. package/dist/model/dealProductBatchDto.js.map +1 -0
  81. package/dist/model/formulaDto.d.ts +19 -0
  82. package/dist/model/formulaDto.js +41 -0
  83. package/dist/model/formulaDto.js.map +1 -0
  84. package/dist/model/formulaLineDto.d.ts +17 -0
  85. package/dist/model/formulaLineDto.js +36 -0
  86. package/dist/model/formulaLineDto.js.map +1 -0
  87. package/dist/model/generalAddressDto.d.ts +19 -0
  88. package/dist/model/generalAddressDto.js +46 -0
  89. package/dist/model/generalAddressDto.js.map +1 -0
  90. package/dist/model/healthControllerPing200Response.d.ts +24 -24
  91. package/dist/model/healthControllerPing200Response.js +35 -35
  92. package/dist/model/healthControllerPing200ResponseInfoValue.d.ts +10 -10
  93. package/dist/model/healthControllerPing200ResponseInfoValue.js +36 -36
  94. package/dist/model/healthControllerPing503Response.d.ts +24 -24
  95. package/dist/model/healthControllerPing503Response.js +35 -35
  96. package/dist/model/models.d.ts +82 -49
  97. package/dist/model/models.js +340 -231
  98. package/dist/model/models.js.map +1 -1
  99. package/dist/model/offerAttributesDto.d.ts +49 -0
  100. package/dist/model/offerAttributesDto.js +155 -0
  101. package/dist/model/offerAttributesDto.js.map +1 -0
  102. package/dist/model/offerAttributesDtoEstablishment.d.ts +19 -0
  103. package/dist/model/offerAttributesDtoEstablishment.js +46 -0
  104. package/dist/model/offerAttributesDtoEstablishment.js.map +1 -0
  105. package/dist/model/packing.d.ts +17 -0
  106. package/dist/model/packing.js +36 -0
  107. package/dist/model/packing.js.map +1 -0
  108. package/dist/model/pinActionDto.d.ts +14 -0
  109. package/dist/model/pinActionDto.js +21 -0
  110. package/dist/model/pinActionDto.js.map +1 -0
  111. package/dist/model/relistingConfigDto.d.ts +17 -0
  112. package/dist/model/relistingConfigDto.js +36 -0
  113. package/dist/model/relistingConfigDto.js.map +1 -0
  114. package/dist/model/relistingDetailDto.d.ts +31 -0
  115. package/dist/model/relistingDetailDto.js +63 -0
  116. package/dist/model/relistingDetailDto.js.map +1 -0
  117. package/dist/model/relistingDetailDtoRandomConfig.d.ts +19 -0
  118. package/dist/model/relistingDetailDtoRandomConfig.js +46 -0
  119. package/dist/model/relistingDetailDtoRandomConfig.js.map +1 -0
  120. package/dist/model/relistingRandomConfigDto.d.ts +19 -0
  121. package/dist/model/relistingRandomConfigDto.js +46 -0
  122. package/dist/model/relistingRandomConfigDto.js.map +1 -0
  123. package/dist/model/updateFutureBidDto.d.ts +17 -0
  124. package/dist/model/updateFutureBidDto.js +36 -0
  125. package/dist/model/updateFutureBidDto.js.map +1 -0
  126. package/dist/model/userPin.d.ts +15 -0
  127. package/dist/model/userPin.js +26 -0
  128. package/dist/model/userPin.js.map +1 -0
  129. package/dist/model/weight.d.ts +15 -0
  130. package/dist/model/weight.js +26 -0
  131. package/dist/model/weight.js.map +1 -0
  132. package/model/addFutureBidDto.ts +61 -0
  133. package/model/bidDto.ts +270 -0
  134. package/model/bidDtoPacking.ts +47 -0
  135. package/model/bidDtoWeight.ts +47 -0
  136. package/model/bidNoteAttributesDto.ts +43 -0
  137. package/model/bidNoteDto.ts +102 -0
  138. package/model/bidNoteDtoAccount.ts +29 -0
  139. package/model/bidNoteDtoAttributes.ts +47 -0
  140. package/model/bidPackingDto.ts +43 -0
  141. package/model/bidWeightDto.ts +43 -0
  142. package/model/createAutomatedOfferDto.ts +579 -0
  143. package/model/createMatchedOfferDto.ts +541 -0
  144. package/model/createMatchedOfferDtoBid.ts +274 -0
  145. package/model/createOfferDto.ts +553 -0
  146. package/model/createOfferDtoAttributes.ts +270 -0
  147. package/model/createOfferDtoFormula.ts +75 -0
  148. package/model/createOfferDtoPacking.ts +65 -0
  149. package/model/createOfferDtoWeight.ts +47 -0
  150. package/model/dealProductBatchDto.ts +88 -0
  151. package/model/formulaDto.ts +71 -0
  152. package/model/formulaLineDto.ts +61 -0
  153. package/model/generalAddressDto.ts +79 -0
  154. package/model/models.ts +108 -0
  155. package/model/offerAttributesDto.ts +266 -0
  156. package/model/offerAttributesDtoEstablishment.ts +83 -0
  157. package/model/packing.ts +61 -0
  158. package/model/pinActionDto.ts +34 -0
  159. package/model/relistingConfigDto.ts +61 -0
  160. package/model/relistingDetailDto.ts +96 -0
  161. package/model/relistingDetailDtoRandomConfig.ts +83 -0
  162. package/model/relistingRandomConfigDto.ts +79 -0
  163. package/model/updateFutureBidDto.ts +61 -0
  164. package/model/userPin.ts +43 -0
  165. package/model/weight.ts +43 -0
  166. package/package.json +1 -1
@@ -0,0 +1,102 @@
1
+ /**
2
+ * TradeCafé Offer Service
3
+ * Offer Service allows supplies to submit product offers into the TradeCafe platform
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+
13
+ import { RequestFile } from './models';
14
+ import { BidNoteDtoAccount } from './bidNoteDtoAccount';
15
+ import { BidNoteDtoAttributes } from './bidNoteDtoAttributes';
16
+
17
+ export class BidNoteDto {
18
+ /**
19
+ * Note body/content
20
+ */
21
+ 'body': string;
22
+ /**
23
+ * Note visibility level
24
+ */
25
+ 'visibility'?: number;
26
+ 'attributes'?: BidNoteDtoAttributes;
27
+ /**
28
+ * User ID who created the note
29
+ */
30
+ 'user_id'?: string;
31
+ 'account'?: BidNoteDtoAccount;
32
+ /**
33
+ * Note creation timestamp
34
+ */
35
+ 'created'?: number;
36
+ /**
37
+ * Note ID
38
+ */
39
+ 'note_id'?: string;
40
+ /**
41
+ * Whether the note is archived
42
+ */
43
+ 'archived'?: number;
44
+ /**
45
+ * Note update timestamp
46
+ */
47
+ 'updated'?: number;
48
+
49
+ static discriminator: string | undefined = undefined;
50
+
51
+ static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
52
+ {
53
+ "name": "body",
54
+ "baseName": "body",
55
+ "type": "string"
56
+ },
57
+ {
58
+ "name": "visibility",
59
+ "baseName": "visibility",
60
+ "type": "number"
61
+ },
62
+ {
63
+ "name": "attributes",
64
+ "baseName": "attributes",
65
+ "type": "BidNoteDtoAttributes"
66
+ },
67
+ {
68
+ "name": "user_id",
69
+ "baseName": "user_id",
70
+ "type": "string"
71
+ },
72
+ {
73
+ "name": "account",
74
+ "baseName": "account",
75
+ "type": "BidNoteDtoAccount"
76
+ },
77
+ {
78
+ "name": "created",
79
+ "baseName": "created",
80
+ "type": "number"
81
+ },
82
+ {
83
+ "name": "note_id",
84
+ "baseName": "note_id",
85
+ "type": "string"
86
+ },
87
+ {
88
+ "name": "archived",
89
+ "baseName": "archived",
90
+ "type": "number"
91
+ },
92
+ {
93
+ "name": "updated",
94
+ "baseName": "updated",
95
+ "type": "number"
96
+ } ];
97
+
98
+ static getAttributeTypeMap() {
99
+ return BidNoteDto.attributeTypeMap;
100
+ }
101
+ }
102
+
@@ -0,0 +1,29 @@
1
+ /**
2
+ * TradeCafé Offer Service
3
+ * Offer Service allows supplies to submit product offers into the TradeCafe platform
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+
13
+ import { RequestFile } from './models';
14
+
15
+ /**
16
+ * Account identifier
17
+ */
18
+ export class BidNoteDtoAccount {
19
+
20
+ static discriminator: string | undefined = undefined;
21
+
22
+ static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
23
+ ];
24
+
25
+ static getAttributeTypeMap() {
26
+ return BidNoteDtoAccount.attributeTypeMap;
27
+ }
28
+ }
29
+
@@ -0,0 +1,47 @@
1
+ /**
2
+ * TradeCafé Offer Service
3
+ * Offer Service allows supplies to submit product offers into the TradeCafe platform
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+
13
+ import { RequestFile } from './models';
14
+ import { BidNoteAttributesDto } from './bidNoteAttributesDto';
15
+
16
+ /**
17
+ * Note attributes
18
+ */
19
+ export class BidNoteDtoAttributes {
20
+ /**
21
+ * Company IDs associated with the note
22
+ */
23
+ 'company'?: Array<string>;
24
+ /**
25
+ * Note category
26
+ */
27
+ 'category'?: string;
28
+
29
+ static discriminator: string | undefined = undefined;
30
+
31
+ static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
32
+ {
33
+ "name": "company",
34
+ "baseName": "company",
35
+ "type": "Array<string>"
36
+ },
37
+ {
38
+ "name": "category",
39
+ "baseName": "category",
40
+ "type": "string"
41
+ } ];
42
+
43
+ static getAttributeTypeMap() {
44
+ return BidNoteDtoAttributes.attributeTypeMap;
45
+ }
46
+ }
47
+
@@ -0,0 +1,43 @@
1
+ /**
2
+ * TradeCafé Offer Service
3
+ * Offer Service allows supplies to submit product offers into the TradeCafe platform
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+
13
+ import { RequestFile } from './models';
14
+
15
+ export class BidPackingDto {
16
+ /**
17
+ * Packing type
18
+ */
19
+ 'type'?: string;
20
+ /**
21
+ * Packing unit
22
+ */
23
+ 'unit'?: number;
24
+
25
+ static discriminator: string | undefined = undefined;
26
+
27
+ static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
28
+ {
29
+ "name": "type",
30
+ "baseName": "type",
31
+ "type": "string"
32
+ },
33
+ {
34
+ "name": "unit",
35
+ "baseName": "unit",
36
+ "type": "number"
37
+ } ];
38
+
39
+ static getAttributeTypeMap() {
40
+ return BidPackingDto.attributeTypeMap;
41
+ }
42
+ }
43
+
@@ -0,0 +1,43 @@
1
+ /**
2
+ * TradeCafé Offer Service
3
+ * Offer Service allows supplies to submit product offers into the TradeCafe platform
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+
13
+ import { RequestFile } from './models';
14
+
15
+ export class BidWeightDto {
16
+ /**
17
+ * Weight amount
18
+ */
19
+ 'amount': number;
20
+ /**
21
+ * Weight unit
22
+ */
23
+ 'unit': string;
24
+
25
+ static discriminator: string | undefined = undefined;
26
+
27
+ static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
28
+ {
29
+ "name": "amount",
30
+ "baseName": "amount",
31
+ "type": "number"
32
+ },
33
+ {
34
+ "name": "unit",
35
+ "baseName": "unit",
36
+ "type": "string"
37
+ } ];
38
+
39
+ static getAttributeTypeMap() {
40
+ return BidWeightDto.attributeTypeMap;
41
+ }
42
+ }
43
+