ebay-mcp 1.4.3

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 (205) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +586 -0
  3. package/build/api/account-management/account.d.ts +216 -0
  4. package/build/api/account-management/account.js +305 -0
  5. package/build/api/analytics-and-report/analytics.d.ts +33 -0
  6. package/build/api/analytics-and-report/analytics.js +102 -0
  7. package/build/api/client.d.ts +89 -0
  8. package/build/api/client.js +343 -0
  9. package/build/api/communication/feedback.d.ts +45 -0
  10. package/build/api/communication/feedback.js +119 -0
  11. package/build/api/communication/message.d.ts +55 -0
  12. package/build/api/communication/message.js +131 -0
  13. package/build/api/communication/negotiation.d.ts +39 -0
  14. package/build/api/communication/negotiation.js +97 -0
  15. package/build/api/communication/notification.d.ts +128 -0
  16. package/build/api/communication/notification.js +373 -0
  17. package/build/api/index.d.ts +96 -0
  18. package/build/api/index.js +121 -0
  19. package/build/api/listing-management/inventory.d.ts +216 -0
  20. package/build/api/listing-management/inventory.js +633 -0
  21. package/build/api/listing-metadata/metadata.d.ts +154 -0
  22. package/build/api/listing-metadata/metadata.js +485 -0
  23. package/build/api/listing-metadata/taxonomy.d.ts +38 -0
  24. package/build/api/listing-metadata/taxonomy.js +58 -0
  25. package/build/api/marketing-and-promotions/marketing.d.ts +395 -0
  26. package/build/api/marketing-and-promotions/marketing.js +565 -0
  27. package/build/api/marketing-and-promotions/recommendation.d.ts +20 -0
  28. package/build/api/marketing-and-promotions/recommendation.js +32 -0
  29. package/build/api/order-management/dispute.d.ts +65 -0
  30. package/build/api/order-management/dispute.js +69 -0
  31. package/build/api/order-management/fulfillment.d.ts +80 -0
  32. package/build/api/order-management/fulfillment.js +89 -0
  33. package/build/api/other/compliance.d.ts +26 -0
  34. package/build/api/other/compliance.js +47 -0
  35. package/build/api/other/edelivery.d.ts +153 -0
  36. package/build/api/other/edelivery.js +219 -0
  37. package/build/api/other/identity.d.ts +17 -0
  38. package/build/api/other/identity.js +24 -0
  39. package/build/api/other/translation.d.ts +14 -0
  40. package/build/api/other/translation.js +22 -0
  41. package/build/api/other/vero.d.ts +30 -0
  42. package/build/api/other/vero.js +48 -0
  43. package/build/auth/oauth-metadata.d.ts +46 -0
  44. package/build/auth/oauth-metadata.js +59 -0
  45. package/build/auth/oauth-middleware.d.ts +35 -0
  46. package/build/auth/oauth-middleware.js +99 -0
  47. package/build/auth/oauth-types.d.ts +66 -0
  48. package/build/auth/oauth-types.js +4 -0
  49. package/build/auth/oauth.d.ts +93 -0
  50. package/build/auth/oauth.js +383 -0
  51. package/build/auth/scope-utils.d.ts +70 -0
  52. package/build/auth/scope-utils.js +304 -0
  53. package/build/auth/token-verifier.d.ts +57 -0
  54. package/build/auth/token-verifier.js +172 -0
  55. package/build/config/environment.d.ts +61 -0
  56. package/build/config/environment.js +260 -0
  57. package/build/index.d.ts +1 -0
  58. package/build/index.js +98 -0
  59. package/build/schemas/account-management/account.d.ts +5324 -0
  60. package/build/schemas/account-management/account.js +366 -0
  61. package/build/schemas/analytics/analytics.d.ts +167 -0
  62. package/build/schemas/analytics/analytics.js +191 -0
  63. package/build/schemas/communication/messages.d.ts +1872 -0
  64. package/build/schemas/communication/messages.js +348 -0
  65. package/build/schemas/fulfillment/orders.d.ts +4655 -0
  66. package/build/schemas/fulfillment/orders.js +317 -0
  67. package/build/schemas/index.d.ts +2100 -0
  68. package/build/schemas/index.js +68 -0
  69. package/build/schemas/inventory-management/inventory.d.ts +6419 -0
  70. package/build/schemas/inventory-management/inventory.js +450 -0
  71. package/build/schemas/marketing/marketing.d.ts +14181 -0
  72. package/build/schemas/marketing/marketing.js +1088 -0
  73. package/build/schemas/metadata/metadata.d.ts +5259 -0
  74. package/build/schemas/metadata/metadata.js +614 -0
  75. package/build/schemas/other/other-apis.d.ts +257 -0
  76. package/build/schemas/other/other-apis.js +372 -0
  77. package/build/schemas/taxonomy/taxonomy.d.ts +215 -0
  78. package/build/schemas/taxonomy/taxonomy.js +571 -0
  79. package/build/scripts/auto-setup.d.ts +12 -0
  80. package/build/scripts/auto-setup.js +277 -0
  81. package/build/scripts/diagnostics.d.ts +8 -0
  82. package/build/scripts/diagnostics.js +299 -0
  83. package/build/scripts/download-specs.d.ts +1 -0
  84. package/build/scripts/download-specs.js +116 -0
  85. package/build/scripts/interactive-setup.d.ts +21 -0
  86. package/build/scripts/interactive-setup.js +723 -0
  87. package/build/server-http.d.ts +11 -0
  88. package/build/server-http.js +361 -0
  89. package/build/tools/definitions/account-with-schemas.d.ts +39 -0
  90. package/build/tools/definitions/account-with-schemas.js +170 -0
  91. package/build/tools/definitions/account.d.ts +12 -0
  92. package/build/tools/definitions/account.js +428 -0
  93. package/build/tools/definitions/analytics.d.ts +25 -0
  94. package/build/tools/definitions/analytics.js +66 -0
  95. package/build/tools/definitions/communication.d.ts +12 -0
  96. package/build/tools/definitions/communication.js +151 -0
  97. package/build/tools/definitions/fulfillment.d.ts +12 -0
  98. package/build/tools/definitions/fulfillment.js +326 -0
  99. package/build/tools/definitions/index.d.ts +25 -0
  100. package/build/tools/definitions/index.js +37 -0
  101. package/build/tools/definitions/inventory.d.ts +12 -0
  102. package/build/tools/definitions/inventory.js +429 -0
  103. package/build/tools/definitions/marketing.d.ts +12 -0
  104. package/build/tools/definitions/marketing.js +1095 -0
  105. package/build/tools/definitions/metadata.d.ts +12 -0
  106. package/build/tools/definitions/metadata.js +188 -0
  107. package/build/tools/definitions/other.d.ts +13 -0
  108. package/build/tools/definitions/other.js +309 -0
  109. package/build/tools/definitions/taxonomy.d.ts +25 -0
  110. package/build/tools/definitions/taxonomy.js +64 -0
  111. package/build/tools/definitions/token-management.d.ts +35 -0
  112. package/build/tools/definitions/token-management.js +103 -0
  113. package/build/tools/index.d.ts +11 -0
  114. package/build/tools/index.js +1003 -0
  115. package/build/tools/schemas.d.ts +14764 -0
  116. package/build/tools/schemas.js +667 -0
  117. package/build/tools/tool-definitions.d.ts +35 -0
  118. package/build/tools/tool-definitions.js +3534 -0
  119. package/build/types/application-settings/developerAnalyticsV1BetaOas3.d.ts +197 -0
  120. package/build/types/application-settings/developerAnalyticsV1BetaOas3.js +5 -0
  121. package/build/types/application-settings/developerClientRegistrationV1Oas3.d.ts +155 -0
  122. package/build/types/application-settings/developerClientRegistrationV1Oas3.js +5 -0
  123. package/build/types/application-settings/developerKeyManagementV1Oas3.d.ts +246 -0
  124. package/build/types/application-settings/developerKeyManagementV1Oas3.js +5 -0
  125. package/build/types/ebay-enums.d.ts +1204 -0
  126. package/build/types/ebay-enums.js +1330 -0
  127. package/build/types/ebay.d.ts +143 -0
  128. package/build/types/ebay.js +123 -0
  129. package/build/types/index.d.ts +6 -0
  130. package/build/types/index.js +10 -0
  131. package/build/types/sell-apps/account-management/sellAccountV1Oas3.d.ts +2579 -0
  132. package/build/types/sell-apps/account-management/sellAccountV1Oas3.js +5 -0
  133. package/build/types/sell-apps/analytics-and-report/sellAnalyticsV1Oas3.d.ts +446 -0
  134. package/build/types/sell-apps/analytics-and-report/sellAnalyticsV1Oas3.js +5 -0
  135. package/build/types/sell-apps/communication/commerceFeedbackV1BetaOas3.d.ts +705 -0
  136. package/build/types/sell-apps/communication/commerceFeedbackV1BetaOas3.js +5 -0
  137. package/build/types/sell-apps/communication/commerceMessageV1Oas3.d.ts +590 -0
  138. package/build/types/sell-apps/communication/commerceMessageV1Oas3.js +5 -0
  139. package/build/types/sell-apps/communication/commerceNotificationV1Oas3.d.ts +1276 -0
  140. package/build/types/sell-apps/communication/commerceNotificationV1Oas3.js +5 -0
  141. package/build/types/sell-apps/communication/sellNegotiationV1Oas3.d.ts +277 -0
  142. package/build/types/sell-apps/communication/sellNegotiationV1Oas3.js +5 -0
  143. package/build/types/sell-apps/listing-management/sellInventoryV1Oas3.d.ts +3133 -0
  144. package/build/types/sell-apps/listing-management/sellInventoryV1Oas3.js +5 -0
  145. package/build/types/sell-apps/listing-metadata/sellMetadataV1Oas3.d.ts +2289 -0
  146. package/build/types/sell-apps/listing-metadata/sellMetadataV1Oas3.js +5 -0
  147. package/build/types/sell-apps/markeitng-and-promotions/sellMarketingV1Oas3.d.ts +6650 -0
  148. package/build/types/sell-apps/markeitng-and-promotions/sellMarketingV1Oas3.js +5 -0
  149. package/build/types/sell-apps/markeitng-and-promotions/sellRecommendationV1Oas3.d.ts +172 -0
  150. package/build/types/sell-apps/markeitng-and-promotions/sellRecommendationV1Oas3.js +5 -0
  151. package/build/types/sell-apps/order-management/sellFulfillmentV1Oas3.d.ts +1869 -0
  152. package/build/types/sell-apps/order-management/sellFulfillmentV1Oas3.js +5 -0
  153. package/build/types/sell-apps/other-apis/commerceIdentityV1Oas3.d.ts +178 -0
  154. package/build/types/sell-apps/other-apis/commerceIdentityV1Oas3.js +5 -0
  155. package/build/types/sell-apps/other-apis/commerceTranslationV1BetaOas3.d.ts +128 -0
  156. package/build/types/sell-apps/other-apis/commerceTranslationV1BetaOas3.js +5 -0
  157. package/build/types/sell-apps/other-apis/commerceVeroV1Oas3.d.ts +417 -0
  158. package/build/types/sell-apps/other-apis/commerceVeroV1Oas3.js +5 -0
  159. package/build/types/sell-apps/other-apis/sellComplianceV1Oas3.d.ts +273 -0
  160. package/build/types/sell-apps/other-apis/sellComplianceV1Oas3.js +5 -0
  161. package/build/types/sell-apps/other-apis/sellEdeliveryInternationalShippingOas3.d.ts +2537 -0
  162. package/build/types/sell-apps/other-apis/sellEdeliveryInternationalShippingOas3.js +5 -0
  163. package/build/types/sell-apps/other-apis/sellMarketingV1Oas3.d.ts +6650 -0
  164. package/build/types/sell-apps/other-apis/sellMarketingV1Oas3.js +5 -0
  165. package/build/types/sell-apps/other-apis/sellRecommendationV1Oas3.d.ts +172 -0
  166. package/build/types/sell-apps/other-apis/sellRecommendationV1Oas3.js +5 -0
  167. package/build/utils/account-management/account.d.ts +1094 -0
  168. package/build/utils/account-management/account.js +831 -0
  169. package/build/utils/communication/feedback.d.ts +152 -0
  170. package/build/utils/communication/feedback.js +216 -0
  171. package/build/utils/communication/message.d.ts +174 -0
  172. package/build/utils/communication/message.js +242 -0
  173. package/build/utils/communication/negotiation.d.ts +123 -0
  174. package/build/utils/communication/negotiation.js +150 -0
  175. package/build/utils/communication/notification.d.ts +370 -0
  176. package/build/utils/communication/notification.js +369 -0
  177. package/build/utils/date-converter.d.ts +59 -0
  178. package/build/utils/date-converter.js +160 -0
  179. package/build/utils/llm-client-detector.d.ts +54 -0
  180. package/build/utils/llm-client-detector.js +318 -0
  181. package/build/utils/oauth-helper.d.ts +37 -0
  182. package/build/utils/oauth-helper.js +315 -0
  183. package/build/utils/order-management/dispute.d.ts +346 -0
  184. package/build/utils/order-management/dispute.js +369 -0
  185. package/build/utils/order-management/fulfillment.d.ts +200 -0
  186. package/build/utils/order-management/fulfillment.js +205 -0
  187. package/build/utils/other/compliance.d.ts +49 -0
  188. package/build/utils/other/compliance.js +76 -0
  189. package/build/utils/other/edelivery.d.ts +310 -0
  190. package/build/utils/other/edelivery.js +241 -0
  191. package/build/utils/other/identity.d.ts +13 -0
  192. package/build/utils/other/identity.js +13 -0
  193. package/build/utils/other/translation.d.ts +28 -0
  194. package/build/utils/other/translation.js +41 -0
  195. package/build/utils/other/vero.d.ts +61 -0
  196. package/build/utils/other/vero.js +90 -0
  197. package/build/utils/scope-helper.d.ts +49 -0
  198. package/build/utils/scope-helper.js +207 -0
  199. package/build/utils/security-checker.d.ts +46 -0
  200. package/build/utils/security-checker.js +248 -0
  201. package/build/utils/setup-validator.d.ts +25 -0
  202. package/build/utils/setup-validator.js +305 -0
  203. package/build/utils/token-utils.d.ts +40 -0
  204. package/build/utils/token-utils.js +40 -0
  205. package/package.json +115 -0
@@ -0,0 +1,4655 @@
1
+ import { z } from 'zod';
2
+ import { ReasonForRefund } from '../../types/ebay-enums.js';
3
+ export declare const getOrdersInputSchema: z.ZodObject<{
4
+ filter: z.ZodOptional<z.ZodString>;
5
+ limit: z.ZodOptional<z.ZodNumber>;
6
+ offset: z.ZodOptional<z.ZodNumber>;
7
+ orderIds: z.ZodOptional<z.ZodString>;
8
+ }, "strip", z.ZodTypeAny, {
9
+ filter?: string | undefined;
10
+ limit?: number | undefined;
11
+ offset?: number | undefined;
12
+ orderIds?: string | undefined;
13
+ }, {
14
+ filter?: string | undefined;
15
+ limit?: number | undefined;
16
+ offset?: number | undefined;
17
+ orderIds?: string | undefined;
18
+ }>;
19
+ export declare const getOrdersOutputSchema: z.ZodObject<{
20
+ orders: z.ZodOptional<z.ZodArray<z.ZodObject<{
21
+ orderId: z.ZodOptional<z.ZodString>;
22
+ legacyOrderId: z.ZodOptional<z.ZodString>;
23
+ creationDate: z.ZodOptional<z.ZodString>;
24
+ lastModifiedDate: z.ZodOptional<z.ZodString>;
25
+ orderFulfillmentStatus: z.ZodOptional<z.ZodString>;
26
+ orderPaymentStatus: z.ZodOptional<z.ZodString>;
27
+ sellerId: z.ZodOptional<z.ZodString>;
28
+ buyer: z.ZodOptional<z.ZodObject<{
29
+ username: z.ZodOptional<z.ZodString>;
30
+ taxAddress: z.ZodOptional<z.ZodObject<{
31
+ addressLine1: z.ZodOptional<z.ZodString>;
32
+ addressLine2: z.ZodOptional<z.ZodString>;
33
+ city: z.ZodOptional<z.ZodString>;
34
+ stateOrProvince: z.ZodOptional<z.ZodString>;
35
+ postalCode: z.ZodOptional<z.ZodString>;
36
+ countryCode: z.ZodOptional<z.ZodString>;
37
+ }, "strip", z.ZodTypeAny, {
38
+ addressLine1?: string | undefined;
39
+ addressLine2?: string | undefined;
40
+ city?: string | undefined;
41
+ stateOrProvince?: string | undefined;
42
+ postalCode?: string | undefined;
43
+ countryCode?: string | undefined;
44
+ }, {
45
+ addressLine1?: string | undefined;
46
+ addressLine2?: string | undefined;
47
+ city?: string | undefined;
48
+ stateOrProvince?: string | undefined;
49
+ postalCode?: string | undefined;
50
+ countryCode?: string | undefined;
51
+ }>>;
52
+ taxIdentifier: z.ZodOptional<z.ZodObject<{
53
+ taxpayerId: z.ZodOptional<z.ZodString>;
54
+ taxIdentifierType: z.ZodOptional<z.ZodString>;
55
+ issuingCountry: z.ZodOptional<z.ZodString>;
56
+ }, "strip", z.ZodTypeAny, {
57
+ taxpayerId?: string | undefined;
58
+ taxIdentifierType?: string | undefined;
59
+ issuingCountry?: string | undefined;
60
+ }, {
61
+ taxpayerId?: string | undefined;
62
+ taxIdentifierType?: string | undefined;
63
+ issuingCountry?: string | undefined;
64
+ }>>;
65
+ }, "strip", z.ZodTypeAny, {
66
+ username?: string | undefined;
67
+ taxAddress?: {
68
+ addressLine1?: string | undefined;
69
+ addressLine2?: string | undefined;
70
+ city?: string | undefined;
71
+ stateOrProvince?: string | undefined;
72
+ postalCode?: string | undefined;
73
+ countryCode?: string | undefined;
74
+ } | undefined;
75
+ taxIdentifier?: {
76
+ taxpayerId?: string | undefined;
77
+ taxIdentifierType?: string | undefined;
78
+ issuingCountry?: string | undefined;
79
+ } | undefined;
80
+ }, {
81
+ username?: string | undefined;
82
+ taxAddress?: {
83
+ addressLine1?: string | undefined;
84
+ addressLine2?: string | undefined;
85
+ city?: string | undefined;
86
+ stateOrProvince?: string | undefined;
87
+ postalCode?: string | undefined;
88
+ countryCode?: string | undefined;
89
+ } | undefined;
90
+ taxIdentifier?: {
91
+ taxpayerId?: string | undefined;
92
+ taxIdentifierType?: string | undefined;
93
+ issuingCountry?: string | undefined;
94
+ } | undefined;
95
+ }>>;
96
+ pricingSummary: z.ZodOptional<z.ZodObject<{
97
+ priceSubtotal: z.ZodOptional<z.ZodObject<{
98
+ currency: z.ZodString;
99
+ value: z.ZodString;
100
+ convertedFromCurrency: z.ZodOptional<z.ZodString>;
101
+ convertedFromValue: z.ZodOptional<z.ZodString>;
102
+ exchangeRate: z.ZodOptional<z.ZodString>;
103
+ }, "strip", z.ZodTypeAny, {
104
+ value: string;
105
+ currency: string;
106
+ convertedFromCurrency?: string | undefined;
107
+ convertedFromValue?: string | undefined;
108
+ exchangeRate?: string | undefined;
109
+ }, {
110
+ value: string;
111
+ currency: string;
112
+ convertedFromCurrency?: string | undefined;
113
+ convertedFromValue?: string | undefined;
114
+ exchangeRate?: string | undefined;
115
+ }>>;
116
+ deliveryCost: z.ZodOptional<z.ZodObject<{
117
+ currency: z.ZodString;
118
+ value: z.ZodString;
119
+ convertedFromCurrency: z.ZodOptional<z.ZodString>;
120
+ convertedFromValue: z.ZodOptional<z.ZodString>;
121
+ exchangeRate: z.ZodOptional<z.ZodString>;
122
+ }, "strip", z.ZodTypeAny, {
123
+ value: string;
124
+ currency: string;
125
+ convertedFromCurrency?: string | undefined;
126
+ convertedFromValue?: string | undefined;
127
+ exchangeRate?: string | undefined;
128
+ }, {
129
+ value: string;
130
+ currency: string;
131
+ convertedFromCurrency?: string | undefined;
132
+ convertedFromValue?: string | undefined;
133
+ exchangeRate?: string | undefined;
134
+ }>>;
135
+ deliveryDiscount: z.ZodOptional<z.ZodObject<{
136
+ currency: z.ZodString;
137
+ value: z.ZodString;
138
+ convertedFromCurrency: z.ZodOptional<z.ZodString>;
139
+ convertedFromValue: z.ZodOptional<z.ZodString>;
140
+ exchangeRate: z.ZodOptional<z.ZodString>;
141
+ }, "strip", z.ZodTypeAny, {
142
+ value: string;
143
+ currency: string;
144
+ convertedFromCurrency?: string | undefined;
145
+ convertedFromValue?: string | undefined;
146
+ exchangeRate?: string | undefined;
147
+ }, {
148
+ value: string;
149
+ currency: string;
150
+ convertedFromCurrency?: string | undefined;
151
+ convertedFromValue?: string | undefined;
152
+ exchangeRate?: string | undefined;
153
+ }>>;
154
+ tax: z.ZodOptional<z.ZodObject<{
155
+ currency: z.ZodString;
156
+ value: z.ZodString;
157
+ convertedFromCurrency: z.ZodOptional<z.ZodString>;
158
+ convertedFromValue: z.ZodOptional<z.ZodString>;
159
+ exchangeRate: z.ZodOptional<z.ZodString>;
160
+ }, "strip", z.ZodTypeAny, {
161
+ value: string;
162
+ currency: string;
163
+ convertedFromCurrency?: string | undefined;
164
+ convertedFromValue?: string | undefined;
165
+ exchangeRate?: string | undefined;
166
+ }, {
167
+ value: string;
168
+ currency: string;
169
+ convertedFromCurrency?: string | undefined;
170
+ convertedFromValue?: string | undefined;
171
+ exchangeRate?: string | undefined;
172
+ }>>;
173
+ total: z.ZodOptional<z.ZodObject<{
174
+ currency: z.ZodString;
175
+ value: z.ZodString;
176
+ convertedFromCurrency: z.ZodOptional<z.ZodString>;
177
+ convertedFromValue: z.ZodOptional<z.ZodString>;
178
+ exchangeRate: z.ZodOptional<z.ZodString>;
179
+ }, "strip", z.ZodTypeAny, {
180
+ value: string;
181
+ currency: string;
182
+ convertedFromCurrency?: string | undefined;
183
+ convertedFromValue?: string | undefined;
184
+ exchangeRate?: string | undefined;
185
+ }, {
186
+ value: string;
187
+ currency: string;
188
+ convertedFromCurrency?: string | undefined;
189
+ convertedFromValue?: string | undefined;
190
+ exchangeRate?: string | undefined;
191
+ }>>;
192
+ }, "strip", z.ZodTypeAny, {
193
+ tax?: {
194
+ value: string;
195
+ currency: string;
196
+ convertedFromCurrency?: string | undefined;
197
+ convertedFromValue?: string | undefined;
198
+ exchangeRate?: string | undefined;
199
+ } | undefined;
200
+ total?: {
201
+ value: string;
202
+ currency: string;
203
+ convertedFromCurrency?: string | undefined;
204
+ convertedFromValue?: string | undefined;
205
+ exchangeRate?: string | undefined;
206
+ } | undefined;
207
+ deliveryCost?: {
208
+ value: string;
209
+ currency: string;
210
+ convertedFromCurrency?: string | undefined;
211
+ convertedFromValue?: string | undefined;
212
+ exchangeRate?: string | undefined;
213
+ } | undefined;
214
+ priceSubtotal?: {
215
+ value: string;
216
+ currency: string;
217
+ convertedFromCurrency?: string | undefined;
218
+ convertedFromValue?: string | undefined;
219
+ exchangeRate?: string | undefined;
220
+ } | undefined;
221
+ deliveryDiscount?: {
222
+ value: string;
223
+ currency: string;
224
+ convertedFromCurrency?: string | undefined;
225
+ convertedFromValue?: string | undefined;
226
+ exchangeRate?: string | undefined;
227
+ } | undefined;
228
+ }, {
229
+ tax?: {
230
+ value: string;
231
+ currency: string;
232
+ convertedFromCurrency?: string | undefined;
233
+ convertedFromValue?: string | undefined;
234
+ exchangeRate?: string | undefined;
235
+ } | undefined;
236
+ total?: {
237
+ value: string;
238
+ currency: string;
239
+ convertedFromCurrency?: string | undefined;
240
+ convertedFromValue?: string | undefined;
241
+ exchangeRate?: string | undefined;
242
+ } | undefined;
243
+ deliveryCost?: {
244
+ value: string;
245
+ currency: string;
246
+ convertedFromCurrency?: string | undefined;
247
+ convertedFromValue?: string | undefined;
248
+ exchangeRate?: string | undefined;
249
+ } | undefined;
250
+ priceSubtotal?: {
251
+ value: string;
252
+ currency: string;
253
+ convertedFromCurrency?: string | undefined;
254
+ convertedFromValue?: string | undefined;
255
+ exchangeRate?: string | undefined;
256
+ } | undefined;
257
+ deliveryDiscount?: {
258
+ value: string;
259
+ currency: string;
260
+ convertedFromCurrency?: string | undefined;
261
+ convertedFromValue?: string | undefined;
262
+ exchangeRate?: string | undefined;
263
+ } | undefined;
264
+ }>>;
265
+ cancelStatus: z.ZodOptional<z.ZodObject<{
266
+ cancelState: z.ZodOptional<z.ZodString>;
267
+ cancelRequests: z.ZodOptional<z.ZodArray<z.ZodObject<{
268
+ cancelCompletedDate: z.ZodOptional<z.ZodString>;
269
+ cancelInitiator: z.ZodOptional<z.ZodString>;
270
+ cancelReason: z.ZodOptional<z.ZodString>;
271
+ cancelRequestedDate: z.ZodOptional<z.ZodString>;
272
+ cancelRequestId: z.ZodOptional<z.ZodString>;
273
+ cancelRequestState: z.ZodOptional<z.ZodString>;
274
+ }, "strip", z.ZodTypeAny, {
275
+ cancelCompletedDate?: string | undefined;
276
+ cancelInitiator?: string | undefined;
277
+ cancelReason?: string | undefined;
278
+ cancelRequestedDate?: string | undefined;
279
+ cancelRequestId?: string | undefined;
280
+ cancelRequestState?: string | undefined;
281
+ }, {
282
+ cancelCompletedDate?: string | undefined;
283
+ cancelInitiator?: string | undefined;
284
+ cancelReason?: string | undefined;
285
+ cancelRequestedDate?: string | undefined;
286
+ cancelRequestId?: string | undefined;
287
+ cancelRequestState?: string | undefined;
288
+ }>, "many">>;
289
+ }, "strip", z.ZodTypeAny, {
290
+ cancelState?: string | undefined;
291
+ cancelRequests?: {
292
+ cancelCompletedDate?: string | undefined;
293
+ cancelInitiator?: string | undefined;
294
+ cancelReason?: string | undefined;
295
+ cancelRequestedDate?: string | undefined;
296
+ cancelRequestId?: string | undefined;
297
+ cancelRequestState?: string | undefined;
298
+ }[] | undefined;
299
+ }, {
300
+ cancelState?: string | undefined;
301
+ cancelRequests?: {
302
+ cancelCompletedDate?: string | undefined;
303
+ cancelInitiator?: string | undefined;
304
+ cancelReason?: string | undefined;
305
+ cancelRequestedDate?: string | undefined;
306
+ cancelRequestId?: string | undefined;
307
+ cancelRequestState?: string | undefined;
308
+ }[] | undefined;
309
+ }>>;
310
+ lineItems: z.ZodOptional<z.ZodArray<z.ZodObject<{
311
+ lineItemId: z.ZodOptional<z.ZodString>;
312
+ legacyItemId: z.ZodOptional<z.ZodString>;
313
+ legacyVariationId: z.ZodOptional<z.ZodString>;
314
+ sku: z.ZodOptional<z.ZodString>;
315
+ title: z.ZodOptional<z.ZodString>;
316
+ quantity: z.ZodOptional<z.ZodNumber>;
317
+ lineItemCost: z.ZodOptional<z.ZodObject<{
318
+ currency: z.ZodString;
319
+ value: z.ZodString;
320
+ convertedFromCurrency: z.ZodOptional<z.ZodString>;
321
+ convertedFromValue: z.ZodOptional<z.ZodString>;
322
+ exchangeRate: z.ZodOptional<z.ZodString>;
323
+ }, "strip", z.ZodTypeAny, {
324
+ value: string;
325
+ currency: string;
326
+ convertedFromCurrency?: string | undefined;
327
+ convertedFromValue?: string | undefined;
328
+ exchangeRate?: string | undefined;
329
+ }, {
330
+ value: string;
331
+ currency: string;
332
+ convertedFromCurrency?: string | undefined;
333
+ convertedFromValue?: string | undefined;
334
+ exchangeRate?: string | undefined;
335
+ }>>;
336
+ lineItemFulfillmentStatus: z.ZodOptional<z.ZodString>;
337
+ lineItemFulfillmentInstructions: z.ZodOptional<z.ZodObject<{
338
+ guaranteedDelivery: z.ZodOptional<z.ZodBoolean>;
339
+ minEstimatedDeliveryDate: z.ZodOptional<z.ZodString>;
340
+ maxEstimatedDeliveryDate: z.ZodOptional<z.ZodString>;
341
+ shipByDate: z.ZodOptional<z.ZodString>;
342
+ }, "strip", z.ZodTypeAny, {
343
+ guaranteedDelivery?: boolean | undefined;
344
+ minEstimatedDeliveryDate?: string | undefined;
345
+ maxEstimatedDeliveryDate?: string | undefined;
346
+ shipByDate?: string | undefined;
347
+ }, {
348
+ guaranteedDelivery?: boolean | undefined;
349
+ minEstimatedDeliveryDate?: string | undefined;
350
+ maxEstimatedDeliveryDate?: string | undefined;
351
+ shipByDate?: string | undefined;
352
+ }>>;
353
+ total: z.ZodOptional<z.ZodObject<{
354
+ currency: z.ZodString;
355
+ value: z.ZodString;
356
+ convertedFromCurrency: z.ZodOptional<z.ZodString>;
357
+ convertedFromValue: z.ZodOptional<z.ZodString>;
358
+ exchangeRate: z.ZodOptional<z.ZodString>;
359
+ }, "strip", z.ZodTypeAny, {
360
+ value: string;
361
+ currency: string;
362
+ convertedFromCurrency?: string | undefined;
363
+ convertedFromValue?: string | undefined;
364
+ exchangeRate?: string | undefined;
365
+ }, {
366
+ value: string;
367
+ currency: string;
368
+ convertedFromCurrency?: string | undefined;
369
+ convertedFromValue?: string | undefined;
370
+ exchangeRate?: string | undefined;
371
+ }>>;
372
+ deliveryCost: z.ZodOptional<z.ZodObject<{
373
+ currency: z.ZodString;
374
+ value: z.ZodString;
375
+ convertedFromCurrency: z.ZodOptional<z.ZodString>;
376
+ convertedFromValue: z.ZodOptional<z.ZodString>;
377
+ exchangeRate: z.ZodOptional<z.ZodString>;
378
+ }, "strip", z.ZodTypeAny, {
379
+ value: string;
380
+ currency: string;
381
+ convertedFromCurrency?: string | undefined;
382
+ convertedFromValue?: string | undefined;
383
+ exchangeRate?: string | undefined;
384
+ }, {
385
+ value: string;
386
+ currency: string;
387
+ convertedFromCurrency?: string | undefined;
388
+ convertedFromValue?: string | undefined;
389
+ exchangeRate?: string | undefined;
390
+ }>>;
391
+ taxes: z.ZodOptional<z.ZodArray<z.ZodObject<{
392
+ taxType: z.ZodOptional<z.ZodString>;
393
+ amount: z.ZodOptional<z.ZodObject<{
394
+ currency: z.ZodString;
395
+ value: z.ZodString;
396
+ convertedFromCurrency: z.ZodOptional<z.ZodString>;
397
+ convertedFromValue: z.ZodOptional<z.ZodString>;
398
+ exchangeRate: z.ZodOptional<z.ZodString>;
399
+ }, "strip", z.ZodTypeAny, {
400
+ value: string;
401
+ currency: string;
402
+ convertedFromCurrency?: string | undefined;
403
+ convertedFromValue?: string | undefined;
404
+ exchangeRate?: string | undefined;
405
+ }, {
406
+ value: string;
407
+ currency: string;
408
+ convertedFromCurrency?: string | undefined;
409
+ convertedFromValue?: string | undefined;
410
+ exchangeRate?: string | undefined;
411
+ }>>;
412
+ }, "strip", z.ZodTypeAny, {
413
+ amount?: {
414
+ value: string;
415
+ currency: string;
416
+ convertedFromCurrency?: string | undefined;
417
+ convertedFromValue?: string | undefined;
418
+ exchangeRate?: string | undefined;
419
+ } | undefined;
420
+ taxType?: string | undefined;
421
+ }, {
422
+ amount?: {
423
+ value: string;
424
+ currency: string;
425
+ convertedFromCurrency?: string | undefined;
426
+ convertedFromValue?: string | undefined;
427
+ exchangeRate?: string | undefined;
428
+ } | undefined;
429
+ taxType?: string | undefined;
430
+ }>, "many">>;
431
+ itemLocation: z.ZodOptional<z.ZodObject<{
432
+ addressLine1: z.ZodOptional<z.ZodString>;
433
+ addressLine2: z.ZodOptional<z.ZodString>;
434
+ city: z.ZodOptional<z.ZodString>;
435
+ stateOrProvince: z.ZodOptional<z.ZodString>;
436
+ postalCode: z.ZodOptional<z.ZodString>;
437
+ countryCode: z.ZodOptional<z.ZodString>;
438
+ }, "strip", z.ZodTypeAny, {
439
+ addressLine1?: string | undefined;
440
+ addressLine2?: string | undefined;
441
+ city?: string | undefined;
442
+ stateOrProvince?: string | undefined;
443
+ postalCode?: string | undefined;
444
+ countryCode?: string | undefined;
445
+ }, {
446
+ addressLine1?: string | undefined;
447
+ addressLine2?: string | undefined;
448
+ city?: string | undefined;
449
+ stateOrProvince?: string | undefined;
450
+ postalCode?: string | undefined;
451
+ countryCode?: string | undefined;
452
+ }>>;
453
+ properties: z.ZodOptional<z.ZodObject<{
454
+ soldViaAdCampaign: z.ZodOptional<z.ZodBoolean>;
455
+ buyerProtection: z.ZodOptional<z.ZodBoolean>;
456
+ }, "strip", z.ZodTypeAny, {
457
+ soldViaAdCampaign?: boolean | undefined;
458
+ buyerProtection?: boolean | undefined;
459
+ }, {
460
+ soldViaAdCampaign?: boolean | undefined;
461
+ buyerProtection?: boolean | undefined;
462
+ }>>;
463
+ purchaseMarketplaceId: z.ZodOptional<z.ZodString>;
464
+ }, "strip", z.ZodTypeAny, {
465
+ title?: string | undefined;
466
+ sku?: string | undefined;
467
+ properties?: {
468
+ soldViaAdCampaign?: boolean | undefined;
469
+ buyerProtection?: boolean | undefined;
470
+ } | undefined;
471
+ quantity?: number | undefined;
472
+ lineItemId?: string | undefined;
473
+ legacyItemId?: string | undefined;
474
+ total?: {
475
+ value: string;
476
+ currency: string;
477
+ convertedFromCurrency?: string | undefined;
478
+ convertedFromValue?: string | undefined;
479
+ exchangeRate?: string | undefined;
480
+ } | undefined;
481
+ legacyVariationId?: string | undefined;
482
+ lineItemCost?: {
483
+ value: string;
484
+ currency: string;
485
+ convertedFromCurrency?: string | undefined;
486
+ convertedFromValue?: string | undefined;
487
+ exchangeRate?: string | undefined;
488
+ } | undefined;
489
+ lineItemFulfillmentStatus?: string | undefined;
490
+ lineItemFulfillmentInstructions?: {
491
+ guaranteedDelivery?: boolean | undefined;
492
+ minEstimatedDeliveryDate?: string | undefined;
493
+ maxEstimatedDeliveryDate?: string | undefined;
494
+ shipByDate?: string | undefined;
495
+ } | undefined;
496
+ deliveryCost?: {
497
+ value: string;
498
+ currency: string;
499
+ convertedFromCurrency?: string | undefined;
500
+ convertedFromValue?: string | undefined;
501
+ exchangeRate?: string | undefined;
502
+ } | undefined;
503
+ taxes?: {
504
+ amount?: {
505
+ value: string;
506
+ currency: string;
507
+ convertedFromCurrency?: string | undefined;
508
+ convertedFromValue?: string | undefined;
509
+ exchangeRate?: string | undefined;
510
+ } | undefined;
511
+ taxType?: string | undefined;
512
+ }[] | undefined;
513
+ itemLocation?: {
514
+ addressLine1?: string | undefined;
515
+ addressLine2?: string | undefined;
516
+ city?: string | undefined;
517
+ stateOrProvince?: string | undefined;
518
+ postalCode?: string | undefined;
519
+ countryCode?: string | undefined;
520
+ } | undefined;
521
+ purchaseMarketplaceId?: string | undefined;
522
+ }, {
523
+ title?: string | undefined;
524
+ sku?: string | undefined;
525
+ properties?: {
526
+ soldViaAdCampaign?: boolean | undefined;
527
+ buyerProtection?: boolean | undefined;
528
+ } | undefined;
529
+ quantity?: number | undefined;
530
+ lineItemId?: string | undefined;
531
+ legacyItemId?: string | undefined;
532
+ total?: {
533
+ value: string;
534
+ currency: string;
535
+ convertedFromCurrency?: string | undefined;
536
+ convertedFromValue?: string | undefined;
537
+ exchangeRate?: string | undefined;
538
+ } | undefined;
539
+ legacyVariationId?: string | undefined;
540
+ lineItemCost?: {
541
+ value: string;
542
+ currency: string;
543
+ convertedFromCurrency?: string | undefined;
544
+ convertedFromValue?: string | undefined;
545
+ exchangeRate?: string | undefined;
546
+ } | undefined;
547
+ lineItemFulfillmentStatus?: string | undefined;
548
+ lineItemFulfillmentInstructions?: {
549
+ guaranteedDelivery?: boolean | undefined;
550
+ minEstimatedDeliveryDate?: string | undefined;
551
+ maxEstimatedDeliveryDate?: string | undefined;
552
+ shipByDate?: string | undefined;
553
+ } | undefined;
554
+ deliveryCost?: {
555
+ value: string;
556
+ currency: string;
557
+ convertedFromCurrency?: string | undefined;
558
+ convertedFromValue?: string | undefined;
559
+ exchangeRate?: string | undefined;
560
+ } | undefined;
561
+ taxes?: {
562
+ amount?: {
563
+ value: string;
564
+ currency: string;
565
+ convertedFromCurrency?: string | undefined;
566
+ convertedFromValue?: string | undefined;
567
+ exchangeRate?: string | undefined;
568
+ } | undefined;
569
+ taxType?: string | undefined;
570
+ }[] | undefined;
571
+ itemLocation?: {
572
+ addressLine1?: string | undefined;
573
+ addressLine2?: string | undefined;
574
+ city?: string | undefined;
575
+ stateOrProvince?: string | undefined;
576
+ postalCode?: string | undefined;
577
+ countryCode?: string | undefined;
578
+ } | undefined;
579
+ purchaseMarketplaceId?: string | undefined;
580
+ }>, "many">>;
581
+ fulfillmentStartInstructions: z.ZodOptional<z.ZodArray<z.ZodObject<{
582
+ fulfillmentInstructionsType: z.ZodOptional<z.ZodString>;
583
+ minEstimatedDeliveryDate: z.ZodOptional<z.ZodString>;
584
+ maxEstimatedDeliveryDate: z.ZodOptional<z.ZodString>;
585
+ shipByDate: z.ZodOptional<z.ZodString>;
586
+ shippingStep: z.ZodOptional<z.ZodObject<{
587
+ shipTo: z.ZodOptional<z.ZodObject<{
588
+ addressLine1: z.ZodOptional<z.ZodString>;
589
+ addressLine2: z.ZodOptional<z.ZodString>;
590
+ city: z.ZodOptional<z.ZodString>;
591
+ stateOrProvince: z.ZodOptional<z.ZodString>;
592
+ postalCode: z.ZodOptional<z.ZodString>;
593
+ countryCode: z.ZodOptional<z.ZodString>;
594
+ }, "strip", z.ZodTypeAny, {
595
+ addressLine1?: string | undefined;
596
+ addressLine2?: string | undefined;
597
+ city?: string | undefined;
598
+ stateOrProvince?: string | undefined;
599
+ postalCode?: string | undefined;
600
+ countryCode?: string | undefined;
601
+ }, {
602
+ addressLine1?: string | undefined;
603
+ addressLine2?: string | undefined;
604
+ city?: string | undefined;
605
+ stateOrProvince?: string | undefined;
606
+ postalCode?: string | undefined;
607
+ countryCode?: string | undefined;
608
+ }>>;
609
+ shipToReferenceId: z.ZodOptional<z.ZodString>;
610
+ shippingCarrierCode: z.ZodOptional<z.ZodString>;
611
+ shippingServiceCode: z.ZodOptional<z.ZodString>;
612
+ }, "strip", z.ZodTypeAny, {
613
+ shippingCarrierCode?: string | undefined;
614
+ shippingServiceCode?: string | undefined;
615
+ shipTo?: {
616
+ addressLine1?: string | undefined;
617
+ addressLine2?: string | undefined;
618
+ city?: string | undefined;
619
+ stateOrProvince?: string | undefined;
620
+ postalCode?: string | undefined;
621
+ countryCode?: string | undefined;
622
+ } | undefined;
623
+ shipToReferenceId?: string | undefined;
624
+ }, {
625
+ shippingCarrierCode?: string | undefined;
626
+ shippingServiceCode?: string | undefined;
627
+ shipTo?: {
628
+ addressLine1?: string | undefined;
629
+ addressLine2?: string | undefined;
630
+ city?: string | undefined;
631
+ stateOrProvince?: string | undefined;
632
+ postalCode?: string | undefined;
633
+ countryCode?: string | undefined;
634
+ } | undefined;
635
+ shipToReferenceId?: string | undefined;
636
+ }>>;
637
+ }, "strip", z.ZodTypeAny, {
638
+ minEstimatedDeliveryDate?: string | undefined;
639
+ maxEstimatedDeliveryDate?: string | undefined;
640
+ shipByDate?: string | undefined;
641
+ fulfillmentInstructionsType?: string | undefined;
642
+ shippingStep?: {
643
+ shippingCarrierCode?: string | undefined;
644
+ shippingServiceCode?: string | undefined;
645
+ shipTo?: {
646
+ addressLine1?: string | undefined;
647
+ addressLine2?: string | undefined;
648
+ city?: string | undefined;
649
+ stateOrProvince?: string | undefined;
650
+ postalCode?: string | undefined;
651
+ countryCode?: string | undefined;
652
+ } | undefined;
653
+ shipToReferenceId?: string | undefined;
654
+ } | undefined;
655
+ }, {
656
+ minEstimatedDeliveryDate?: string | undefined;
657
+ maxEstimatedDeliveryDate?: string | undefined;
658
+ shipByDate?: string | undefined;
659
+ fulfillmentInstructionsType?: string | undefined;
660
+ shippingStep?: {
661
+ shippingCarrierCode?: string | undefined;
662
+ shippingServiceCode?: string | undefined;
663
+ shipTo?: {
664
+ addressLine1?: string | undefined;
665
+ addressLine2?: string | undefined;
666
+ city?: string | undefined;
667
+ stateOrProvince?: string | undefined;
668
+ postalCode?: string | undefined;
669
+ countryCode?: string | undefined;
670
+ } | undefined;
671
+ shipToReferenceId?: string | undefined;
672
+ } | undefined;
673
+ }>, "many">>;
674
+ fulfillmentHrefs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
675
+ paymentSummary: z.ZodOptional<z.ZodObject<{
676
+ payments: z.ZodOptional<z.ZodArray<z.ZodObject<{
677
+ paymentDate: z.ZodOptional<z.ZodString>;
678
+ paymentMethod: z.ZodOptional<z.ZodString>;
679
+ paymentReferenceId: z.ZodOptional<z.ZodString>;
680
+ paymentStatus: z.ZodOptional<z.ZodString>;
681
+ amount: z.ZodOptional<z.ZodObject<{
682
+ currency: z.ZodString;
683
+ value: z.ZodString;
684
+ convertedFromCurrency: z.ZodOptional<z.ZodString>;
685
+ convertedFromValue: z.ZodOptional<z.ZodString>;
686
+ exchangeRate: z.ZodOptional<z.ZodString>;
687
+ }, "strip", z.ZodTypeAny, {
688
+ value: string;
689
+ currency: string;
690
+ convertedFromCurrency?: string | undefined;
691
+ convertedFromValue?: string | undefined;
692
+ exchangeRate?: string | undefined;
693
+ }, {
694
+ value: string;
695
+ currency: string;
696
+ convertedFromCurrency?: string | undefined;
697
+ convertedFromValue?: string | undefined;
698
+ exchangeRate?: string | undefined;
699
+ }>>;
700
+ }, "strip", z.ZodTypeAny, {
701
+ amount?: {
702
+ value: string;
703
+ currency: string;
704
+ convertedFromCurrency?: string | undefined;
705
+ convertedFromValue?: string | undefined;
706
+ exchangeRate?: string | undefined;
707
+ } | undefined;
708
+ paymentDate?: string | undefined;
709
+ paymentMethod?: string | undefined;
710
+ paymentReferenceId?: string | undefined;
711
+ paymentStatus?: string | undefined;
712
+ }, {
713
+ amount?: {
714
+ value: string;
715
+ currency: string;
716
+ convertedFromCurrency?: string | undefined;
717
+ convertedFromValue?: string | undefined;
718
+ exchangeRate?: string | undefined;
719
+ } | undefined;
720
+ paymentDate?: string | undefined;
721
+ paymentMethod?: string | undefined;
722
+ paymentReferenceId?: string | undefined;
723
+ paymentStatus?: string | undefined;
724
+ }>, "many">>;
725
+ refunds: z.ZodOptional<z.ZodArray<z.ZodObject<{
726
+ refundDate: z.ZodOptional<z.ZodString>;
727
+ refundId: z.ZodOptional<z.ZodString>;
728
+ refundReferenceId: z.ZodOptional<z.ZodString>;
729
+ refundStatus: z.ZodOptional<z.ZodString>;
730
+ amount: z.ZodOptional<z.ZodObject<{
731
+ currency: z.ZodString;
732
+ value: z.ZodString;
733
+ convertedFromCurrency: z.ZodOptional<z.ZodString>;
734
+ convertedFromValue: z.ZodOptional<z.ZodString>;
735
+ exchangeRate: z.ZodOptional<z.ZodString>;
736
+ }, "strip", z.ZodTypeAny, {
737
+ value: string;
738
+ currency: string;
739
+ convertedFromCurrency?: string | undefined;
740
+ convertedFromValue?: string | undefined;
741
+ exchangeRate?: string | undefined;
742
+ }, {
743
+ value: string;
744
+ currency: string;
745
+ convertedFromCurrency?: string | undefined;
746
+ convertedFromValue?: string | undefined;
747
+ exchangeRate?: string | undefined;
748
+ }>>;
749
+ }, "strip", z.ZodTypeAny, {
750
+ amount?: {
751
+ value: string;
752
+ currency: string;
753
+ convertedFromCurrency?: string | undefined;
754
+ convertedFromValue?: string | undefined;
755
+ exchangeRate?: string | undefined;
756
+ } | undefined;
757
+ refundDate?: string | undefined;
758
+ refundId?: string | undefined;
759
+ refundReferenceId?: string | undefined;
760
+ refundStatus?: string | undefined;
761
+ }, {
762
+ amount?: {
763
+ value: string;
764
+ currency: string;
765
+ convertedFromCurrency?: string | undefined;
766
+ convertedFromValue?: string | undefined;
767
+ exchangeRate?: string | undefined;
768
+ } | undefined;
769
+ refundDate?: string | undefined;
770
+ refundId?: string | undefined;
771
+ refundReferenceId?: string | undefined;
772
+ refundStatus?: string | undefined;
773
+ }>, "many">>;
774
+ totalDueSeller: z.ZodOptional<z.ZodObject<{
775
+ currency: z.ZodString;
776
+ value: z.ZodString;
777
+ convertedFromCurrency: z.ZodOptional<z.ZodString>;
778
+ convertedFromValue: z.ZodOptional<z.ZodString>;
779
+ exchangeRate: z.ZodOptional<z.ZodString>;
780
+ }, "strip", z.ZodTypeAny, {
781
+ value: string;
782
+ currency: string;
783
+ convertedFromCurrency?: string | undefined;
784
+ convertedFromValue?: string | undefined;
785
+ exchangeRate?: string | undefined;
786
+ }, {
787
+ value: string;
788
+ currency: string;
789
+ convertedFromCurrency?: string | undefined;
790
+ convertedFromValue?: string | undefined;
791
+ exchangeRate?: string | undefined;
792
+ }>>;
793
+ }, "strip", z.ZodTypeAny, {
794
+ payments?: {
795
+ amount?: {
796
+ value: string;
797
+ currency: string;
798
+ convertedFromCurrency?: string | undefined;
799
+ convertedFromValue?: string | undefined;
800
+ exchangeRate?: string | undefined;
801
+ } | undefined;
802
+ paymentDate?: string | undefined;
803
+ paymentMethod?: string | undefined;
804
+ paymentReferenceId?: string | undefined;
805
+ paymentStatus?: string | undefined;
806
+ }[] | undefined;
807
+ refunds?: {
808
+ amount?: {
809
+ value: string;
810
+ currency: string;
811
+ convertedFromCurrency?: string | undefined;
812
+ convertedFromValue?: string | undefined;
813
+ exchangeRate?: string | undefined;
814
+ } | undefined;
815
+ refundDate?: string | undefined;
816
+ refundId?: string | undefined;
817
+ refundReferenceId?: string | undefined;
818
+ refundStatus?: string | undefined;
819
+ }[] | undefined;
820
+ totalDueSeller?: {
821
+ value: string;
822
+ currency: string;
823
+ convertedFromCurrency?: string | undefined;
824
+ convertedFromValue?: string | undefined;
825
+ exchangeRate?: string | undefined;
826
+ } | undefined;
827
+ }, {
828
+ payments?: {
829
+ amount?: {
830
+ value: string;
831
+ currency: string;
832
+ convertedFromCurrency?: string | undefined;
833
+ convertedFromValue?: string | undefined;
834
+ exchangeRate?: string | undefined;
835
+ } | undefined;
836
+ paymentDate?: string | undefined;
837
+ paymentMethod?: string | undefined;
838
+ paymentReferenceId?: string | undefined;
839
+ paymentStatus?: string | undefined;
840
+ }[] | undefined;
841
+ refunds?: {
842
+ amount?: {
843
+ value: string;
844
+ currency: string;
845
+ convertedFromCurrency?: string | undefined;
846
+ convertedFromValue?: string | undefined;
847
+ exchangeRate?: string | undefined;
848
+ } | undefined;
849
+ refundDate?: string | undefined;
850
+ refundId?: string | undefined;
851
+ refundReferenceId?: string | undefined;
852
+ refundStatus?: string | undefined;
853
+ }[] | undefined;
854
+ totalDueSeller?: {
855
+ value: string;
856
+ currency: string;
857
+ convertedFromCurrency?: string | undefined;
858
+ convertedFromValue?: string | undefined;
859
+ exchangeRate?: string | undefined;
860
+ } | undefined;
861
+ }>>;
862
+ salesRecordReference: z.ZodOptional<z.ZodString>;
863
+ totalFeeBasisAmount: z.ZodOptional<z.ZodObject<{
864
+ currency: z.ZodString;
865
+ value: z.ZodString;
866
+ convertedFromCurrency: z.ZodOptional<z.ZodString>;
867
+ convertedFromValue: z.ZodOptional<z.ZodString>;
868
+ exchangeRate: z.ZodOptional<z.ZodString>;
869
+ }, "strip", z.ZodTypeAny, {
870
+ value: string;
871
+ currency: string;
872
+ convertedFromCurrency?: string | undefined;
873
+ convertedFromValue?: string | undefined;
874
+ exchangeRate?: string | undefined;
875
+ }, {
876
+ value: string;
877
+ currency: string;
878
+ convertedFromCurrency?: string | undefined;
879
+ convertedFromValue?: string | undefined;
880
+ exchangeRate?: string | undefined;
881
+ }>>;
882
+ totalMarketplaceFee: z.ZodOptional<z.ZodObject<{
883
+ currency: z.ZodString;
884
+ value: z.ZodString;
885
+ convertedFromCurrency: z.ZodOptional<z.ZodString>;
886
+ convertedFromValue: z.ZodOptional<z.ZodString>;
887
+ exchangeRate: z.ZodOptional<z.ZodString>;
888
+ }, "strip", z.ZodTypeAny, {
889
+ value: string;
890
+ currency: string;
891
+ convertedFromCurrency?: string | undefined;
892
+ convertedFromValue?: string | undefined;
893
+ exchangeRate?: string | undefined;
894
+ }, {
895
+ value: string;
896
+ currency: string;
897
+ convertedFromCurrency?: string | undefined;
898
+ convertedFromValue?: string | undefined;
899
+ exchangeRate?: string | undefined;
900
+ }>>;
901
+ }, "strip", z.ZodTypeAny, {
902
+ pricingSummary?: {
903
+ tax?: {
904
+ value: string;
905
+ currency: string;
906
+ convertedFromCurrency?: string | undefined;
907
+ convertedFromValue?: string | undefined;
908
+ exchangeRate?: string | undefined;
909
+ } | undefined;
910
+ total?: {
911
+ value: string;
912
+ currency: string;
913
+ convertedFromCurrency?: string | undefined;
914
+ convertedFromValue?: string | undefined;
915
+ exchangeRate?: string | undefined;
916
+ } | undefined;
917
+ deliveryCost?: {
918
+ value: string;
919
+ currency: string;
920
+ convertedFromCurrency?: string | undefined;
921
+ convertedFromValue?: string | undefined;
922
+ exchangeRate?: string | undefined;
923
+ } | undefined;
924
+ priceSubtotal?: {
925
+ value: string;
926
+ currency: string;
927
+ convertedFromCurrency?: string | undefined;
928
+ convertedFromValue?: string | undefined;
929
+ exchangeRate?: string | undefined;
930
+ } | undefined;
931
+ deliveryDiscount?: {
932
+ value: string;
933
+ currency: string;
934
+ convertedFromCurrency?: string | undefined;
935
+ convertedFromValue?: string | undefined;
936
+ exchangeRate?: string | undefined;
937
+ } | undefined;
938
+ } | undefined;
939
+ lineItems?: {
940
+ title?: string | undefined;
941
+ sku?: string | undefined;
942
+ properties?: {
943
+ soldViaAdCampaign?: boolean | undefined;
944
+ buyerProtection?: boolean | undefined;
945
+ } | undefined;
946
+ quantity?: number | undefined;
947
+ lineItemId?: string | undefined;
948
+ legacyItemId?: string | undefined;
949
+ total?: {
950
+ value: string;
951
+ currency: string;
952
+ convertedFromCurrency?: string | undefined;
953
+ convertedFromValue?: string | undefined;
954
+ exchangeRate?: string | undefined;
955
+ } | undefined;
956
+ legacyVariationId?: string | undefined;
957
+ lineItemCost?: {
958
+ value: string;
959
+ currency: string;
960
+ convertedFromCurrency?: string | undefined;
961
+ convertedFromValue?: string | undefined;
962
+ exchangeRate?: string | undefined;
963
+ } | undefined;
964
+ lineItemFulfillmentStatus?: string | undefined;
965
+ lineItemFulfillmentInstructions?: {
966
+ guaranteedDelivery?: boolean | undefined;
967
+ minEstimatedDeliveryDate?: string | undefined;
968
+ maxEstimatedDeliveryDate?: string | undefined;
969
+ shipByDate?: string | undefined;
970
+ } | undefined;
971
+ deliveryCost?: {
972
+ value: string;
973
+ currency: string;
974
+ convertedFromCurrency?: string | undefined;
975
+ convertedFromValue?: string | undefined;
976
+ exchangeRate?: string | undefined;
977
+ } | undefined;
978
+ taxes?: {
979
+ amount?: {
980
+ value: string;
981
+ currency: string;
982
+ convertedFromCurrency?: string | undefined;
983
+ convertedFromValue?: string | undefined;
984
+ exchangeRate?: string | undefined;
985
+ } | undefined;
986
+ taxType?: string | undefined;
987
+ }[] | undefined;
988
+ itemLocation?: {
989
+ addressLine1?: string | undefined;
990
+ addressLine2?: string | undefined;
991
+ city?: string | undefined;
992
+ stateOrProvince?: string | undefined;
993
+ postalCode?: string | undefined;
994
+ countryCode?: string | undefined;
995
+ } | undefined;
996
+ purchaseMarketplaceId?: string | undefined;
997
+ }[] | undefined;
998
+ orderId?: string | undefined;
999
+ legacyOrderId?: string | undefined;
1000
+ creationDate?: string | undefined;
1001
+ lastModifiedDate?: string | undefined;
1002
+ orderFulfillmentStatus?: string | undefined;
1003
+ orderPaymentStatus?: string | undefined;
1004
+ sellerId?: string | undefined;
1005
+ buyer?: {
1006
+ username?: string | undefined;
1007
+ taxAddress?: {
1008
+ addressLine1?: string | undefined;
1009
+ addressLine2?: string | undefined;
1010
+ city?: string | undefined;
1011
+ stateOrProvince?: string | undefined;
1012
+ postalCode?: string | undefined;
1013
+ countryCode?: string | undefined;
1014
+ } | undefined;
1015
+ taxIdentifier?: {
1016
+ taxpayerId?: string | undefined;
1017
+ taxIdentifierType?: string | undefined;
1018
+ issuingCountry?: string | undefined;
1019
+ } | undefined;
1020
+ } | undefined;
1021
+ cancelStatus?: {
1022
+ cancelState?: string | undefined;
1023
+ cancelRequests?: {
1024
+ cancelCompletedDate?: string | undefined;
1025
+ cancelInitiator?: string | undefined;
1026
+ cancelReason?: string | undefined;
1027
+ cancelRequestedDate?: string | undefined;
1028
+ cancelRequestId?: string | undefined;
1029
+ cancelRequestState?: string | undefined;
1030
+ }[] | undefined;
1031
+ } | undefined;
1032
+ fulfillmentStartInstructions?: {
1033
+ minEstimatedDeliveryDate?: string | undefined;
1034
+ maxEstimatedDeliveryDate?: string | undefined;
1035
+ shipByDate?: string | undefined;
1036
+ fulfillmentInstructionsType?: string | undefined;
1037
+ shippingStep?: {
1038
+ shippingCarrierCode?: string | undefined;
1039
+ shippingServiceCode?: string | undefined;
1040
+ shipTo?: {
1041
+ addressLine1?: string | undefined;
1042
+ addressLine2?: string | undefined;
1043
+ city?: string | undefined;
1044
+ stateOrProvince?: string | undefined;
1045
+ postalCode?: string | undefined;
1046
+ countryCode?: string | undefined;
1047
+ } | undefined;
1048
+ shipToReferenceId?: string | undefined;
1049
+ } | undefined;
1050
+ }[] | undefined;
1051
+ fulfillmentHrefs?: string[] | undefined;
1052
+ paymentSummary?: {
1053
+ payments?: {
1054
+ amount?: {
1055
+ value: string;
1056
+ currency: string;
1057
+ convertedFromCurrency?: string | undefined;
1058
+ convertedFromValue?: string | undefined;
1059
+ exchangeRate?: string | undefined;
1060
+ } | undefined;
1061
+ paymentDate?: string | undefined;
1062
+ paymentMethod?: string | undefined;
1063
+ paymentReferenceId?: string | undefined;
1064
+ paymentStatus?: string | undefined;
1065
+ }[] | undefined;
1066
+ refunds?: {
1067
+ amount?: {
1068
+ value: string;
1069
+ currency: string;
1070
+ convertedFromCurrency?: string | undefined;
1071
+ convertedFromValue?: string | undefined;
1072
+ exchangeRate?: string | undefined;
1073
+ } | undefined;
1074
+ refundDate?: string | undefined;
1075
+ refundId?: string | undefined;
1076
+ refundReferenceId?: string | undefined;
1077
+ refundStatus?: string | undefined;
1078
+ }[] | undefined;
1079
+ totalDueSeller?: {
1080
+ value: string;
1081
+ currency: string;
1082
+ convertedFromCurrency?: string | undefined;
1083
+ convertedFromValue?: string | undefined;
1084
+ exchangeRate?: string | undefined;
1085
+ } | undefined;
1086
+ } | undefined;
1087
+ salesRecordReference?: string | undefined;
1088
+ totalFeeBasisAmount?: {
1089
+ value: string;
1090
+ currency: string;
1091
+ convertedFromCurrency?: string | undefined;
1092
+ convertedFromValue?: string | undefined;
1093
+ exchangeRate?: string | undefined;
1094
+ } | undefined;
1095
+ totalMarketplaceFee?: {
1096
+ value: string;
1097
+ currency: string;
1098
+ convertedFromCurrency?: string | undefined;
1099
+ convertedFromValue?: string | undefined;
1100
+ exchangeRate?: string | undefined;
1101
+ } | undefined;
1102
+ }, {
1103
+ pricingSummary?: {
1104
+ tax?: {
1105
+ value: string;
1106
+ currency: string;
1107
+ convertedFromCurrency?: string | undefined;
1108
+ convertedFromValue?: string | undefined;
1109
+ exchangeRate?: string | undefined;
1110
+ } | undefined;
1111
+ total?: {
1112
+ value: string;
1113
+ currency: string;
1114
+ convertedFromCurrency?: string | undefined;
1115
+ convertedFromValue?: string | undefined;
1116
+ exchangeRate?: string | undefined;
1117
+ } | undefined;
1118
+ deliveryCost?: {
1119
+ value: string;
1120
+ currency: string;
1121
+ convertedFromCurrency?: string | undefined;
1122
+ convertedFromValue?: string | undefined;
1123
+ exchangeRate?: string | undefined;
1124
+ } | undefined;
1125
+ priceSubtotal?: {
1126
+ value: string;
1127
+ currency: string;
1128
+ convertedFromCurrency?: string | undefined;
1129
+ convertedFromValue?: string | undefined;
1130
+ exchangeRate?: string | undefined;
1131
+ } | undefined;
1132
+ deliveryDiscount?: {
1133
+ value: string;
1134
+ currency: string;
1135
+ convertedFromCurrency?: string | undefined;
1136
+ convertedFromValue?: string | undefined;
1137
+ exchangeRate?: string | undefined;
1138
+ } | undefined;
1139
+ } | undefined;
1140
+ lineItems?: {
1141
+ title?: string | undefined;
1142
+ sku?: string | undefined;
1143
+ properties?: {
1144
+ soldViaAdCampaign?: boolean | undefined;
1145
+ buyerProtection?: boolean | undefined;
1146
+ } | undefined;
1147
+ quantity?: number | undefined;
1148
+ lineItemId?: string | undefined;
1149
+ legacyItemId?: string | undefined;
1150
+ total?: {
1151
+ value: string;
1152
+ currency: string;
1153
+ convertedFromCurrency?: string | undefined;
1154
+ convertedFromValue?: string | undefined;
1155
+ exchangeRate?: string | undefined;
1156
+ } | undefined;
1157
+ legacyVariationId?: string | undefined;
1158
+ lineItemCost?: {
1159
+ value: string;
1160
+ currency: string;
1161
+ convertedFromCurrency?: string | undefined;
1162
+ convertedFromValue?: string | undefined;
1163
+ exchangeRate?: string | undefined;
1164
+ } | undefined;
1165
+ lineItemFulfillmentStatus?: string | undefined;
1166
+ lineItemFulfillmentInstructions?: {
1167
+ guaranteedDelivery?: boolean | undefined;
1168
+ minEstimatedDeliveryDate?: string | undefined;
1169
+ maxEstimatedDeliveryDate?: string | undefined;
1170
+ shipByDate?: string | undefined;
1171
+ } | undefined;
1172
+ deliveryCost?: {
1173
+ value: string;
1174
+ currency: string;
1175
+ convertedFromCurrency?: string | undefined;
1176
+ convertedFromValue?: string | undefined;
1177
+ exchangeRate?: string | undefined;
1178
+ } | undefined;
1179
+ taxes?: {
1180
+ amount?: {
1181
+ value: string;
1182
+ currency: string;
1183
+ convertedFromCurrency?: string | undefined;
1184
+ convertedFromValue?: string | undefined;
1185
+ exchangeRate?: string | undefined;
1186
+ } | undefined;
1187
+ taxType?: string | undefined;
1188
+ }[] | undefined;
1189
+ itemLocation?: {
1190
+ addressLine1?: string | undefined;
1191
+ addressLine2?: string | undefined;
1192
+ city?: string | undefined;
1193
+ stateOrProvince?: string | undefined;
1194
+ postalCode?: string | undefined;
1195
+ countryCode?: string | undefined;
1196
+ } | undefined;
1197
+ purchaseMarketplaceId?: string | undefined;
1198
+ }[] | undefined;
1199
+ orderId?: string | undefined;
1200
+ legacyOrderId?: string | undefined;
1201
+ creationDate?: string | undefined;
1202
+ lastModifiedDate?: string | undefined;
1203
+ orderFulfillmentStatus?: string | undefined;
1204
+ orderPaymentStatus?: string | undefined;
1205
+ sellerId?: string | undefined;
1206
+ buyer?: {
1207
+ username?: string | undefined;
1208
+ taxAddress?: {
1209
+ addressLine1?: string | undefined;
1210
+ addressLine2?: string | undefined;
1211
+ city?: string | undefined;
1212
+ stateOrProvince?: string | undefined;
1213
+ postalCode?: string | undefined;
1214
+ countryCode?: string | undefined;
1215
+ } | undefined;
1216
+ taxIdentifier?: {
1217
+ taxpayerId?: string | undefined;
1218
+ taxIdentifierType?: string | undefined;
1219
+ issuingCountry?: string | undefined;
1220
+ } | undefined;
1221
+ } | undefined;
1222
+ cancelStatus?: {
1223
+ cancelState?: string | undefined;
1224
+ cancelRequests?: {
1225
+ cancelCompletedDate?: string | undefined;
1226
+ cancelInitiator?: string | undefined;
1227
+ cancelReason?: string | undefined;
1228
+ cancelRequestedDate?: string | undefined;
1229
+ cancelRequestId?: string | undefined;
1230
+ cancelRequestState?: string | undefined;
1231
+ }[] | undefined;
1232
+ } | undefined;
1233
+ fulfillmentStartInstructions?: {
1234
+ minEstimatedDeliveryDate?: string | undefined;
1235
+ maxEstimatedDeliveryDate?: string | undefined;
1236
+ shipByDate?: string | undefined;
1237
+ fulfillmentInstructionsType?: string | undefined;
1238
+ shippingStep?: {
1239
+ shippingCarrierCode?: string | undefined;
1240
+ shippingServiceCode?: string | undefined;
1241
+ shipTo?: {
1242
+ addressLine1?: string | undefined;
1243
+ addressLine2?: string | undefined;
1244
+ city?: string | undefined;
1245
+ stateOrProvince?: string | undefined;
1246
+ postalCode?: string | undefined;
1247
+ countryCode?: string | undefined;
1248
+ } | undefined;
1249
+ shipToReferenceId?: string | undefined;
1250
+ } | undefined;
1251
+ }[] | undefined;
1252
+ fulfillmentHrefs?: string[] | undefined;
1253
+ paymentSummary?: {
1254
+ payments?: {
1255
+ amount?: {
1256
+ value: string;
1257
+ currency: string;
1258
+ convertedFromCurrency?: string | undefined;
1259
+ convertedFromValue?: string | undefined;
1260
+ exchangeRate?: string | undefined;
1261
+ } | undefined;
1262
+ paymentDate?: string | undefined;
1263
+ paymentMethod?: string | undefined;
1264
+ paymentReferenceId?: string | undefined;
1265
+ paymentStatus?: string | undefined;
1266
+ }[] | undefined;
1267
+ refunds?: {
1268
+ amount?: {
1269
+ value: string;
1270
+ currency: string;
1271
+ convertedFromCurrency?: string | undefined;
1272
+ convertedFromValue?: string | undefined;
1273
+ exchangeRate?: string | undefined;
1274
+ } | undefined;
1275
+ refundDate?: string | undefined;
1276
+ refundId?: string | undefined;
1277
+ refundReferenceId?: string | undefined;
1278
+ refundStatus?: string | undefined;
1279
+ }[] | undefined;
1280
+ totalDueSeller?: {
1281
+ value: string;
1282
+ currency: string;
1283
+ convertedFromCurrency?: string | undefined;
1284
+ convertedFromValue?: string | undefined;
1285
+ exchangeRate?: string | undefined;
1286
+ } | undefined;
1287
+ } | undefined;
1288
+ salesRecordReference?: string | undefined;
1289
+ totalFeeBasisAmount?: {
1290
+ value: string;
1291
+ currency: string;
1292
+ convertedFromCurrency?: string | undefined;
1293
+ convertedFromValue?: string | undefined;
1294
+ exchangeRate?: string | undefined;
1295
+ } | undefined;
1296
+ totalMarketplaceFee?: {
1297
+ value: string;
1298
+ currency: string;
1299
+ convertedFromCurrency?: string | undefined;
1300
+ convertedFromValue?: string | undefined;
1301
+ exchangeRate?: string | undefined;
1302
+ } | undefined;
1303
+ }>, "many">>;
1304
+ href: z.ZodOptional<z.ZodString>;
1305
+ limit: z.ZodOptional<z.ZodNumber>;
1306
+ next: z.ZodOptional<z.ZodString>;
1307
+ offset: z.ZodOptional<z.ZodNumber>;
1308
+ prev: z.ZodOptional<z.ZodString>;
1309
+ total: z.ZodOptional<z.ZodNumber>;
1310
+ warnings: z.ZodOptional<z.ZodArray<z.ZodObject<{
1311
+ errorId: z.ZodOptional<z.ZodNumber>;
1312
+ domain: z.ZodOptional<z.ZodString>;
1313
+ category: z.ZodOptional<z.ZodString>;
1314
+ message: z.ZodOptional<z.ZodString>;
1315
+ longMessage: z.ZodOptional<z.ZodString>;
1316
+ parameters: z.ZodOptional<z.ZodArray<z.ZodObject<{
1317
+ name: z.ZodOptional<z.ZodString>;
1318
+ value: z.ZodOptional<z.ZodString>;
1319
+ }, "strip", z.ZodTypeAny, {
1320
+ name?: string | undefined;
1321
+ value?: string | undefined;
1322
+ }, {
1323
+ name?: string | undefined;
1324
+ value?: string | undefined;
1325
+ }>, "many">>;
1326
+ }, "strip", z.ZodTypeAny, {
1327
+ message?: string | undefined;
1328
+ errorId?: number | undefined;
1329
+ domain?: string | undefined;
1330
+ category?: string | undefined;
1331
+ longMessage?: string | undefined;
1332
+ parameters?: {
1333
+ name?: string | undefined;
1334
+ value?: string | undefined;
1335
+ }[] | undefined;
1336
+ }, {
1337
+ message?: string | undefined;
1338
+ errorId?: number | undefined;
1339
+ domain?: string | undefined;
1340
+ category?: string | undefined;
1341
+ longMessage?: string | undefined;
1342
+ parameters?: {
1343
+ name?: string | undefined;
1344
+ value?: string | undefined;
1345
+ }[] | undefined;
1346
+ }>, "many">>;
1347
+ }, "strip", z.ZodTypeAny, {
1348
+ limit?: number | undefined;
1349
+ offset?: number | undefined;
1350
+ href?: string | undefined;
1351
+ next?: string | undefined;
1352
+ prev?: string | undefined;
1353
+ total?: number | undefined;
1354
+ warnings?: {
1355
+ message?: string | undefined;
1356
+ errorId?: number | undefined;
1357
+ domain?: string | undefined;
1358
+ category?: string | undefined;
1359
+ longMessage?: string | undefined;
1360
+ parameters?: {
1361
+ name?: string | undefined;
1362
+ value?: string | undefined;
1363
+ }[] | undefined;
1364
+ }[] | undefined;
1365
+ orders?: {
1366
+ pricingSummary?: {
1367
+ tax?: {
1368
+ value: string;
1369
+ currency: string;
1370
+ convertedFromCurrency?: string | undefined;
1371
+ convertedFromValue?: string | undefined;
1372
+ exchangeRate?: string | undefined;
1373
+ } | undefined;
1374
+ total?: {
1375
+ value: string;
1376
+ currency: string;
1377
+ convertedFromCurrency?: string | undefined;
1378
+ convertedFromValue?: string | undefined;
1379
+ exchangeRate?: string | undefined;
1380
+ } | undefined;
1381
+ deliveryCost?: {
1382
+ value: string;
1383
+ currency: string;
1384
+ convertedFromCurrency?: string | undefined;
1385
+ convertedFromValue?: string | undefined;
1386
+ exchangeRate?: string | undefined;
1387
+ } | undefined;
1388
+ priceSubtotal?: {
1389
+ value: string;
1390
+ currency: string;
1391
+ convertedFromCurrency?: string | undefined;
1392
+ convertedFromValue?: string | undefined;
1393
+ exchangeRate?: string | undefined;
1394
+ } | undefined;
1395
+ deliveryDiscount?: {
1396
+ value: string;
1397
+ currency: string;
1398
+ convertedFromCurrency?: string | undefined;
1399
+ convertedFromValue?: string | undefined;
1400
+ exchangeRate?: string | undefined;
1401
+ } | undefined;
1402
+ } | undefined;
1403
+ lineItems?: {
1404
+ title?: string | undefined;
1405
+ sku?: string | undefined;
1406
+ properties?: {
1407
+ soldViaAdCampaign?: boolean | undefined;
1408
+ buyerProtection?: boolean | undefined;
1409
+ } | undefined;
1410
+ quantity?: number | undefined;
1411
+ lineItemId?: string | undefined;
1412
+ legacyItemId?: string | undefined;
1413
+ total?: {
1414
+ value: string;
1415
+ currency: string;
1416
+ convertedFromCurrency?: string | undefined;
1417
+ convertedFromValue?: string | undefined;
1418
+ exchangeRate?: string | undefined;
1419
+ } | undefined;
1420
+ legacyVariationId?: string | undefined;
1421
+ lineItemCost?: {
1422
+ value: string;
1423
+ currency: string;
1424
+ convertedFromCurrency?: string | undefined;
1425
+ convertedFromValue?: string | undefined;
1426
+ exchangeRate?: string | undefined;
1427
+ } | undefined;
1428
+ lineItemFulfillmentStatus?: string | undefined;
1429
+ lineItemFulfillmentInstructions?: {
1430
+ guaranteedDelivery?: boolean | undefined;
1431
+ minEstimatedDeliveryDate?: string | undefined;
1432
+ maxEstimatedDeliveryDate?: string | undefined;
1433
+ shipByDate?: string | undefined;
1434
+ } | undefined;
1435
+ deliveryCost?: {
1436
+ value: string;
1437
+ currency: string;
1438
+ convertedFromCurrency?: string | undefined;
1439
+ convertedFromValue?: string | undefined;
1440
+ exchangeRate?: string | undefined;
1441
+ } | undefined;
1442
+ taxes?: {
1443
+ amount?: {
1444
+ value: string;
1445
+ currency: string;
1446
+ convertedFromCurrency?: string | undefined;
1447
+ convertedFromValue?: string | undefined;
1448
+ exchangeRate?: string | undefined;
1449
+ } | undefined;
1450
+ taxType?: string | undefined;
1451
+ }[] | undefined;
1452
+ itemLocation?: {
1453
+ addressLine1?: string | undefined;
1454
+ addressLine2?: string | undefined;
1455
+ city?: string | undefined;
1456
+ stateOrProvince?: string | undefined;
1457
+ postalCode?: string | undefined;
1458
+ countryCode?: string | undefined;
1459
+ } | undefined;
1460
+ purchaseMarketplaceId?: string | undefined;
1461
+ }[] | undefined;
1462
+ orderId?: string | undefined;
1463
+ legacyOrderId?: string | undefined;
1464
+ creationDate?: string | undefined;
1465
+ lastModifiedDate?: string | undefined;
1466
+ orderFulfillmentStatus?: string | undefined;
1467
+ orderPaymentStatus?: string | undefined;
1468
+ sellerId?: string | undefined;
1469
+ buyer?: {
1470
+ username?: string | undefined;
1471
+ taxAddress?: {
1472
+ addressLine1?: string | undefined;
1473
+ addressLine2?: string | undefined;
1474
+ city?: string | undefined;
1475
+ stateOrProvince?: string | undefined;
1476
+ postalCode?: string | undefined;
1477
+ countryCode?: string | undefined;
1478
+ } | undefined;
1479
+ taxIdentifier?: {
1480
+ taxpayerId?: string | undefined;
1481
+ taxIdentifierType?: string | undefined;
1482
+ issuingCountry?: string | undefined;
1483
+ } | undefined;
1484
+ } | undefined;
1485
+ cancelStatus?: {
1486
+ cancelState?: string | undefined;
1487
+ cancelRequests?: {
1488
+ cancelCompletedDate?: string | undefined;
1489
+ cancelInitiator?: string | undefined;
1490
+ cancelReason?: string | undefined;
1491
+ cancelRequestedDate?: string | undefined;
1492
+ cancelRequestId?: string | undefined;
1493
+ cancelRequestState?: string | undefined;
1494
+ }[] | undefined;
1495
+ } | undefined;
1496
+ fulfillmentStartInstructions?: {
1497
+ minEstimatedDeliveryDate?: string | undefined;
1498
+ maxEstimatedDeliveryDate?: string | undefined;
1499
+ shipByDate?: string | undefined;
1500
+ fulfillmentInstructionsType?: string | undefined;
1501
+ shippingStep?: {
1502
+ shippingCarrierCode?: string | undefined;
1503
+ shippingServiceCode?: string | undefined;
1504
+ shipTo?: {
1505
+ addressLine1?: string | undefined;
1506
+ addressLine2?: string | undefined;
1507
+ city?: string | undefined;
1508
+ stateOrProvince?: string | undefined;
1509
+ postalCode?: string | undefined;
1510
+ countryCode?: string | undefined;
1511
+ } | undefined;
1512
+ shipToReferenceId?: string | undefined;
1513
+ } | undefined;
1514
+ }[] | undefined;
1515
+ fulfillmentHrefs?: string[] | undefined;
1516
+ paymentSummary?: {
1517
+ payments?: {
1518
+ amount?: {
1519
+ value: string;
1520
+ currency: string;
1521
+ convertedFromCurrency?: string | undefined;
1522
+ convertedFromValue?: string | undefined;
1523
+ exchangeRate?: string | undefined;
1524
+ } | undefined;
1525
+ paymentDate?: string | undefined;
1526
+ paymentMethod?: string | undefined;
1527
+ paymentReferenceId?: string | undefined;
1528
+ paymentStatus?: string | undefined;
1529
+ }[] | undefined;
1530
+ refunds?: {
1531
+ amount?: {
1532
+ value: string;
1533
+ currency: string;
1534
+ convertedFromCurrency?: string | undefined;
1535
+ convertedFromValue?: string | undefined;
1536
+ exchangeRate?: string | undefined;
1537
+ } | undefined;
1538
+ refundDate?: string | undefined;
1539
+ refundId?: string | undefined;
1540
+ refundReferenceId?: string | undefined;
1541
+ refundStatus?: string | undefined;
1542
+ }[] | undefined;
1543
+ totalDueSeller?: {
1544
+ value: string;
1545
+ currency: string;
1546
+ convertedFromCurrency?: string | undefined;
1547
+ convertedFromValue?: string | undefined;
1548
+ exchangeRate?: string | undefined;
1549
+ } | undefined;
1550
+ } | undefined;
1551
+ salesRecordReference?: string | undefined;
1552
+ totalFeeBasisAmount?: {
1553
+ value: string;
1554
+ currency: string;
1555
+ convertedFromCurrency?: string | undefined;
1556
+ convertedFromValue?: string | undefined;
1557
+ exchangeRate?: string | undefined;
1558
+ } | undefined;
1559
+ totalMarketplaceFee?: {
1560
+ value: string;
1561
+ currency: string;
1562
+ convertedFromCurrency?: string | undefined;
1563
+ convertedFromValue?: string | undefined;
1564
+ exchangeRate?: string | undefined;
1565
+ } | undefined;
1566
+ }[] | undefined;
1567
+ }, {
1568
+ limit?: number | undefined;
1569
+ offset?: number | undefined;
1570
+ href?: string | undefined;
1571
+ next?: string | undefined;
1572
+ prev?: string | undefined;
1573
+ total?: number | undefined;
1574
+ warnings?: {
1575
+ message?: string | undefined;
1576
+ errorId?: number | undefined;
1577
+ domain?: string | undefined;
1578
+ category?: string | undefined;
1579
+ longMessage?: string | undefined;
1580
+ parameters?: {
1581
+ name?: string | undefined;
1582
+ value?: string | undefined;
1583
+ }[] | undefined;
1584
+ }[] | undefined;
1585
+ orders?: {
1586
+ pricingSummary?: {
1587
+ tax?: {
1588
+ value: string;
1589
+ currency: string;
1590
+ convertedFromCurrency?: string | undefined;
1591
+ convertedFromValue?: string | undefined;
1592
+ exchangeRate?: string | undefined;
1593
+ } | undefined;
1594
+ total?: {
1595
+ value: string;
1596
+ currency: string;
1597
+ convertedFromCurrency?: string | undefined;
1598
+ convertedFromValue?: string | undefined;
1599
+ exchangeRate?: string | undefined;
1600
+ } | undefined;
1601
+ deliveryCost?: {
1602
+ value: string;
1603
+ currency: string;
1604
+ convertedFromCurrency?: string | undefined;
1605
+ convertedFromValue?: string | undefined;
1606
+ exchangeRate?: string | undefined;
1607
+ } | undefined;
1608
+ priceSubtotal?: {
1609
+ value: string;
1610
+ currency: string;
1611
+ convertedFromCurrency?: string | undefined;
1612
+ convertedFromValue?: string | undefined;
1613
+ exchangeRate?: string | undefined;
1614
+ } | undefined;
1615
+ deliveryDiscount?: {
1616
+ value: string;
1617
+ currency: string;
1618
+ convertedFromCurrency?: string | undefined;
1619
+ convertedFromValue?: string | undefined;
1620
+ exchangeRate?: string | undefined;
1621
+ } | undefined;
1622
+ } | undefined;
1623
+ lineItems?: {
1624
+ title?: string | undefined;
1625
+ sku?: string | undefined;
1626
+ properties?: {
1627
+ soldViaAdCampaign?: boolean | undefined;
1628
+ buyerProtection?: boolean | undefined;
1629
+ } | undefined;
1630
+ quantity?: number | undefined;
1631
+ lineItemId?: string | undefined;
1632
+ legacyItemId?: string | undefined;
1633
+ total?: {
1634
+ value: string;
1635
+ currency: string;
1636
+ convertedFromCurrency?: string | undefined;
1637
+ convertedFromValue?: string | undefined;
1638
+ exchangeRate?: string | undefined;
1639
+ } | undefined;
1640
+ legacyVariationId?: string | undefined;
1641
+ lineItemCost?: {
1642
+ value: string;
1643
+ currency: string;
1644
+ convertedFromCurrency?: string | undefined;
1645
+ convertedFromValue?: string | undefined;
1646
+ exchangeRate?: string | undefined;
1647
+ } | undefined;
1648
+ lineItemFulfillmentStatus?: string | undefined;
1649
+ lineItemFulfillmentInstructions?: {
1650
+ guaranteedDelivery?: boolean | undefined;
1651
+ minEstimatedDeliveryDate?: string | undefined;
1652
+ maxEstimatedDeliveryDate?: string | undefined;
1653
+ shipByDate?: string | undefined;
1654
+ } | undefined;
1655
+ deliveryCost?: {
1656
+ value: string;
1657
+ currency: string;
1658
+ convertedFromCurrency?: string | undefined;
1659
+ convertedFromValue?: string | undefined;
1660
+ exchangeRate?: string | undefined;
1661
+ } | undefined;
1662
+ taxes?: {
1663
+ amount?: {
1664
+ value: string;
1665
+ currency: string;
1666
+ convertedFromCurrency?: string | undefined;
1667
+ convertedFromValue?: string | undefined;
1668
+ exchangeRate?: string | undefined;
1669
+ } | undefined;
1670
+ taxType?: string | undefined;
1671
+ }[] | undefined;
1672
+ itemLocation?: {
1673
+ addressLine1?: string | undefined;
1674
+ addressLine2?: string | undefined;
1675
+ city?: string | undefined;
1676
+ stateOrProvince?: string | undefined;
1677
+ postalCode?: string | undefined;
1678
+ countryCode?: string | undefined;
1679
+ } | undefined;
1680
+ purchaseMarketplaceId?: string | undefined;
1681
+ }[] | undefined;
1682
+ orderId?: string | undefined;
1683
+ legacyOrderId?: string | undefined;
1684
+ creationDate?: string | undefined;
1685
+ lastModifiedDate?: string | undefined;
1686
+ orderFulfillmentStatus?: string | undefined;
1687
+ orderPaymentStatus?: string | undefined;
1688
+ sellerId?: string | undefined;
1689
+ buyer?: {
1690
+ username?: string | undefined;
1691
+ taxAddress?: {
1692
+ addressLine1?: string | undefined;
1693
+ addressLine2?: string | undefined;
1694
+ city?: string | undefined;
1695
+ stateOrProvince?: string | undefined;
1696
+ postalCode?: string | undefined;
1697
+ countryCode?: string | undefined;
1698
+ } | undefined;
1699
+ taxIdentifier?: {
1700
+ taxpayerId?: string | undefined;
1701
+ taxIdentifierType?: string | undefined;
1702
+ issuingCountry?: string | undefined;
1703
+ } | undefined;
1704
+ } | undefined;
1705
+ cancelStatus?: {
1706
+ cancelState?: string | undefined;
1707
+ cancelRequests?: {
1708
+ cancelCompletedDate?: string | undefined;
1709
+ cancelInitiator?: string | undefined;
1710
+ cancelReason?: string | undefined;
1711
+ cancelRequestedDate?: string | undefined;
1712
+ cancelRequestId?: string | undefined;
1713
+ cancelRequestState?: string | undefined;
1714
+ }[] | undefined;
1715
+ } | undefined;
1716
+ fulfillmentStartInstructions?: {
1717
+ minEstimatedDeliveryDate?: string | undefined;
1718
+ maxEstimatedDeliveryDate?: string | undefined;
1719
+ shipByDate?: string | undefined;
1720
+ fulfillmentInstructionsType?: string | undefined;
1721
+ shippingStep?: {
1722
+ shippingCarrierCode?: string | undefined;
1723
+ shippingServiceCode?: string | undefined;
1724
+ shipTo?: {
1725
+ addressLine1?: string | undefined;
1726
+ addressLine2?: string | undefined;
1727
+ city?: string | undefined;
1728
+ stateOrProvince?: string | undefined;
1729
+ postalCode?: string | undefined;
1730
+ countryCode?: string | undefined;
1731
+ } | undefined;
1732
+ shipToReferenceId?: string | undefined;
1733
+ } | undefined;
1734
+ }[] | undefined;
1735
+ fulfillmentHrefs?: string[] | undefined;
1736
+ paymentSummary?: {
1737
+ payments?: {
1738
+ amount?: {
1739
+ value: string;
1740
+ currency: string;
1741
+ convertedFromCurrency?: string | undefined;
1742
+ convertedFromValue?: string | undefined;
1743
+ exchangeRate?: string | undefined;
1744
+ } | undefined;
1745
+ paymentDate?: string | undefined;
1746
+ paymentMethod?: string | undefined;
1747
+ paymentReferenceId?: string | undefined;
1748
+ paymentStatus?: string | undefined;
1749
+ }[] | undefined;
1750
+ refunds?: {
1751
+ amount?: {
1752
+ value: string;
1753
+ currency: string;
1754
+ convertedFromCurrency?: string | undefined;
1755
+ convertedFromValue?: string | undefined;
1756
+ exchangeRate?: string | undefined;
1757
+ } | undefined;
1758
+ refundDate?: string | undefined;
1759
+ refundId?: string | undefined;
1760
+ refundReferenceId?: string | undefined;
1761
+ refundStatus?: string | undefined;
1762
+ }[] | undefined;
1763
+ totalDueSeller?: {
1764
+ value: string;
1765
+ currency: string;
1766
+ convertedFromCurrency?: string | undefined;
1767
+ convertedFromValue?: string | undefined;
1768
+ exchangeRate?: string | undefined;
1769
+ } | undefined;
1770
+ } | undefined;
1771
+ salesRecordReference?: string | undefined;
1772
+ totalFeeBasisAmount?: {
1773
+ value: string;
1774
+ currency: string;
1775
+ convertedFromCurrency?: string | undefined;
1776
+ convertedFromValue?: string | undefined;
1777
+ exchangeRate?: string | undefined;
1778
+ } | undefined;
1779
+ totalMarketplaceFee?: {
1780
+ value: string;
1781
+ currency: string;
1782
+ convertedFromCurrency?: string | undefined;
1783
+ convertedFromValue?: string | undefined;
1784
+ exchangeRate?: string | undefined;
1785
+ } | undefined;
1786
+ }[] | undefined;
1787
+ }>;
1788
+ export declare const getOrderInputSchema: z.ZodObject<{
1789
+ orderId: z.ZodString;
1790
+ }, "strip", z.ZodTypeAny, {
1791
+ orderId: string;
1792
+ }, {
1793
+ orderId: string;
1794
+ }>;
1795
+ export declare const getOrderOutputSchema: z.ZodObject<{
1796
+ orderId: z.ZodOptional<z.ZodString>;
1797
+ legacyOrderId: z.ZodOptional<z.ZodString>;
1798
+ creationDate: z.ZodOptional<z.ZodString>;
1799
+ lastModifiedDate: z.ZodOptional<z.ZodString>;
1800
+ orderFulfillmentStatus: z.ZodOptional<z.ZodString>;
1801
+ orderPaymentStatus: z.ZodOptional<z.ZodString>;
1802
+ sellerId: z.ZodOptional<z.ZodString>;
1803
+ buyer: z.ZodOptional<z.ZodObject<{
1804
+ username: z.ZodOptional<z.ZodString>;
1805
+ taxAddress: z.ZodOptional<z.ZodObject<{
1806
+ addressLine1: z.ZodOptional<z.ZodString>;
1807
+ addressLine2: z.ZodOptional<z.ZodString>;
1808
+ city: z.ZodOptional<z.ZodString>;
1809
+ stateOrProvince: z.ZodOptional<z.ZodString>;
1810
+ postalCode: z.ZodOptional<z.ZodString>;
1811
+ countryCode: z.ZodOptional<z.ZodString>;
1812
+ }, "strip", z.ZodTypeAny, {
1813
+ addressLine1?: string | undefined;
1814
+ addressLine2?: string | undefined;
1815
+ city?: string | undefined;
1816
+ stateOrProvince?: string | undefined;
1817
+ postalCode?: string | undefined;
1818
+ countryCode?: string | undefined;
1819
+ }, {
1820
+ addressLine1?: string | undefined;
1821
+ addressLine2?: string | undefined;
1822
+ city?: string | undefined;
1823
+ stateOrProvince?: string | undefined;
1824
+ postalCode?: string | undefined;
1825
+ countryCode?: string | undefined;
1826
+ }>>;
1827
+ taxIdentifier: z.ZodOptional<z.ZodObject<{
1828
+ taxpayerId: z.ZodOptional<z.ZodString>;
1829
+ taxIdentifierType: z.ZodOptional<z.ZodString>;
1830
+ issuingCountry: z.ZodOptional<z.ZodString>;
1831
+ }, "strip", z.ZodTypeAny, {
1832
+ taxpayerId?: string | undefined;
1833
+ taxIdentifierType?: string | undefined;
1834
+ issuingCountry?: string | undefined;
1835
+ }, {
1836
+ taxpayerId?: string | undefined;
1837
+ taxIdentifierType?: string | undefined;
1838
+ issuingCountry?: string | undefined;
1839
+ }>>;
1840
+ }, "strip", z.ZodTypeAny, {
1841
+ username?: string | undefined;
1842
+ taxAddress?: {
1843
+ addressLine1?: string | undefined;
1844
+ addressLine2?: string | undefined;
1845
+ city?: string | undefined;
1846
+ stateOrProvince?: string | undefined;
1847
+ postalCode?: string | undefined;
1848
+ countryCode?: string | undefined;
1849
+ } | undefined;
1850
+ taxIdentifier?: {
1851
+ taxpayerId?: string | undefined;
1852
+ taxIdentifierType?: string | undefined;
1853
+ issuingCountry?: string | undefined;
1854
+ } | undefined;
1855
+ }, {
1856
+ username?: string | undefined;
1857
+ taxAddress?: {
1858
+ addressLine1?: string | undefined;
1859
+ addressLine2?: string | undefined;
1860
+ city?: string | undefined;
1861
+ stateOrProvince?: string | undefined;
1862
+ postalCode?: string | undefined;
1863
+ countryCode?: string | undefined;
1864
+ } | undefined;
1865
+ taxIdentifier?: {
1866
+ taxpayerId?: string | undefined;
1867
+ taxIdentifierType?: string | undefined;
1868
+ issuingCountry?: string | undefined;
1869
+ } | undefined;
1870
+ }>>;
1871
+ pricingSummary: z.ZodOptional<z.ZodObject<{
1872
+ priceSubtotal: z.ZodOptional<z.ZodObject<{
1873
+ currency: z.ZodString;
1874
+ value: z.ZodString;
1875
+ convertedFromCurrency: z.ZodOptional<z.ZodString>;
1876
+ convertedFromValue: z.ZodOptional<z.ZodString>;
1877
+ exchangeRate: z.ZodOptional<z.ZodString>;
1878
+ }, "strip", z.ZodTypeAny, {
1879
+ value: string;
1880
+ currency: string;
1881
+ convertedFromCurrency?: string | undefined;
1882
+ convertedFromValue?: string | undefined;
1883
+ exchangeRate?: string | undefined;
1884
+ }, {
1885
+ value: string;
1886
+ currency: string;
1887
+ convertedFromCurrency?: string | undefined;
1888
+ convertedFromValue?: string | undefined;
1889
+ exchangeRate?: string | undefined;
1890
+ }>>;
1891
+ deliveryCost: z.ZodOptional<z.ZodObject<{
1892
+ currency: z.ZodString;
1893
+ value: z.ZodString;
1894
+ convertedFromCurrency: z.ZodOptional<z.ZodString>;
1895
+ convertedFromValue: z.ZodOptional<z.ZodString>;
1896
+ exchangeRate: z.ZodOptional<z.ZodString>;
1897
+ }, "strip", z.ZodTypeAny, {
1898
+ value: string;
1899
+ currency: string;
1900
+ convertedFromCurrency?: string | undefined;
1901
+ convertedFromValue?: string | undefined;
1902
+ exchangeRate?: string | undefined;
1903
+ }, {
1904
+ value: string;
1905
+ currency: string;
1906
+ convertedFromCurrency?: string | undefined;
1907
+ convertedFromValue?: string | undefined;
1908
+ exchangeRate?: string | undefined;
1909
+ }>>;
1910
+ deliveryDiscount: z.ZodOptional<z.ZodObject<{
1911
+ currency: z.ZodString;
1912
+ value: z.ZodString;
1913
+ convertedFromCurrency: z.ZodOptional<z.ZodString>;
1914
+ convertedFromValue: z.ZodOptional<z.ZodString>;
1915
+ exchangeRate: z.ZodOptional<z.ZodString>;
1916
+ }, "strip", z.ZodTypeAny, {
1917
+ value: string;
1918
+ currency: string;
1919
+ convertedFromCurrency?: string | undefined;
1920
+ convertedFromValue?: string | undefined;
1921
+ exchangeRate?: string | undefined;
1922
+ }, {
1923
+ value: string;
1924
+ currency: string;
1925
+ convertedFromCurrency?: string | undefined;
1926
+ convertedFromValue?: string | undefined;
1927
+ exchangeRate?: string | undefined;
1928
+ }>>;
1929
+ tax: z.ZodOptional<z.ZodObject<{
1930
+ currency: z.ZodString;
1931
+ value: z.ZodString;
1932
+ convertedFromCurrency: z.ZodOptional<z.ZodString>;
1933
+ convertedFromValue: z.ZodOptional<z.ZodString>;
1934
+ exchangeRate: z.ZodOptional<z.ZodString>;
1935
+ }, "strip", z.ZodTypeAny, {
1936
+ value: string;
1937
+ currency: string;
1938
+ convertedFromCurrency?: string | undefined;
1939
+ convertedFromValue?: string | undefined;
1940
+ exchangeRate?: string | undefined;
1941
+ }, {
1942
+ value: string;
1943
+ currency: string;
1944
+ convertedFromCurrency?: string | undefined;
1945
+ convertedFromValue?: string | undefined;
1946
+ exchangeRate?: string | undefined;
1947
+ }>>;
1948
+ total: z.ZodOptional<z.ZodObject<{
1949
+ currency: z.ZodString;
1950
+ value: z.ZodString;
1951
+ convertedFromCurrency: z.ZodOptional<z.ZodString>;
1952
+ convertedFromValue: z.ZodOptional<z.ZodString>;
1953
+ exchangeRate: z.ZodOptional<z.ZodString>;
1954
+ }, "strip", z.ZodTypeAny, {
1955
+ value: string;
1956
+ currency: string;
1957
+ convertedFromCurrency?: string | undefined;
1958
+ convertedFromValue?: string | undefined;
1959
+ exchangeRate?: string | undefined;
1960
+ }, {
1961
+ value: string;
1962
+ currency: string;
1963
+ convertedFromCurrency?: string | undefined;
1964
+ convertedFromValue?: string | undefined;
1965
+ exchangeRate?: string | undefined;
1966
+ }>>;
1967
+ }, "strip", z.ZodTypeAny, {
1968
+ tax?: {
1969
+ value: string;
1970
+ currency: string;
1971
+ convertedFromCurrency?: string | undefined;
1972
+ convertedFromValue?: string | undefined;
1973
+ exchangeRate?: string | undefined;
1974
+ } | undefined;
1975
+ total?: {
1976
+ value: string;
1977
+ currency: string;
1978
+ convertedFromCurrency?: string | undefined;
1979
+ convertedFromValue?: string | undefined;
1980
+ exchangeRate?: string | undefined;
1981
+ } | undefined;
1982
+ deliveryCost?: {
1983
+ value: string;
1984
+ currency: string;
1985
+ convertedFromCurrency?: string | undefined;
1986
+ convertedFromValue?: string | undefined;
1987
+ exchangeRate?: string | undefined;
1988
+ } | undefined;
1989
+ priceSubtotal?: {
1990
+ value: string;
1991
+ currency: string;
1992
+ convertedFromCurrency?: string | undefined;
1993
+ convertedFromValue?: string | undefined;
1994
+ exchangeRate?: string | undefined;
1995
+ } | undefined;
1996
+ deliveryDiscount?: {
1997
+ value: string;
1998
+ currency: string;
1999
+ convertedFromCurrency?: string | undefined;
2000
+ convertedFromValue?: string | undefined;
2001
+ exchangeRate?: string | undefined;
2002
+ } | undefined;
2003
+ }, {
2004
+ tax?: {
2005
+ value: string;
2006
+ currency: string;
2007
+ convertedFromCurrency?: string | undefined;
2008
+ convertedFromValue?: string | undefined;
2009
+ exchangeRate?: string | undefined;
2010
+ } | undefined;
2011
+ total?: {
2012
+ value: string;
2013
+ currency: string;
2014
+ convertedFromCurrency?: string | undefined;
2015
+ convertedFromValue?: string | undefined;
2016
+ exchangeRate?: string | undefined;
2017
+ } | undefined;
2018
+ deliveryCost?: {
2019
+ value: string;
2020
+ currency: string;
2021
+ convertedFromCurrency?: string | undefined;
2022
+ convertedFromValue?: string | undefined;
2023
+ exchangeRate?: string | undefined;
2024
+ } | undefined;
2025
+ priceSubtotal?: {
2026
+ value: string;
2027
+ currency: string;
2028
+ convertedFromCurrency?: string | undefined;
2029
+ convertedFromValue?: string | undefined;
2030
+ exchangeRate?: string | undefined;
2031
+ } | undefined;
2032
+ deliveryDiscount?: {
2033
+ value: string;
2034
+ currency: string;
2035
+ convertedFromCurrency?: string | undefined;
2036
+ convertedFromValue?: string | undefined;
2037
+ exchangeRate?: string | undefined;
2038
+ } | undefined;
2039
+ }>>;
2040
+ cancelStatus: z.ZodOptional<z.ZodObject<{
2041
+ cancelState: z.ZodOptional<z.ZodString>;
2042
+ cancelRequests: z.ZodOptional<z.ZodArray<z.ZodObject<{
2043
+ cancelCompletedDate: z.ZodOptional<z.ZodString>;
2044
+ cancelInitiator: z.ZodOptional<z.ZodString>;
2045
+ cancelReason: z.ZodOptional<z.ZodString>;
2046
+ cancelRequestedDate: z.ZodOptional<z.ZodString>;
2047
+ cancelRequestId: z.ZodOptional<z.ZodString>;
2048
+ cancelRequestState: z.ZodOptional<z.ZodString>;
2049
+ }, "strip", z.ZodTypeAny, {
2050
+ cancelCompletedDate?: string | undefined;
2051
+ cancelInitiator?: string | undefined;
2052
+ cancelReason?: string | undefined;
2053
+ cancelRequestedDate?: string | undefined;
2054
+ cancelRequestId?: string | undefined;
2055
+ cancelRequestState?: string | undefined;
2056
+ }, {
2057
+ cancelCompletedDate?: string | undefined;
2058
+ cancelInitiator?: string | undefined;
2059
+ cancelReason?: string | undefined;
2060
+ cancelRequestedDate?: string | undefined;
2061
+ cancelRequestId?: string | undefined;
2062
+ cancelRequestState?: string | undefined;
2063
+ }>, "many">>;
2064
+ }, "strip", z.ZodTypeAny, {
2065
+ cancelState?: string | undefined;
2066
+ cancelRequests?: {
2067
+ cancelCompletedDate?: string | undefined;
2068
+ cancelInitiator?: string | undefined;
2069
+ cancelReason?: string | undefined;
2070
+ cancelRequestedDate?: string | undefined;
2071
+ cancelRequestId?: string | undefined;
2072
+ cancelRequestState?: string | undefined;
2073
+ }[] | undefined;
2074
+ }, {
2075
+ cancelState?: string | undefined;
2076
+ cancelRequests?: {
2077
+ cancelCompletedDate?: string | undefined;
2078
+ cancelInitiator?: string | undefined;
2079
+ cancelReason?: string | undefined;
2080
+ cancelRequestedDate?: string | undefined;
2081
+ cancelRequestId?: string | undefined;
2082
+ cancelRequestState?: string | undefined;
2083
+ }[] | undefined;
2084
+ }>>;
2085
+ lineItems: z.ZodOptional<z.ZodArray<z.ZodObject<{
2086
+ lineItemId: z.ZodOptional<z.ZodString>;
2087
+ legacyItemId: z.ZodOptional<z.ZodString>;
2088
+ legacyVariationId: z.ZodOptional<z.ZodString>;
2089
+ sku: z.ZodOptional<z.ZodString>;
2090
+ title: z.ZodOptional<z.ZodString>;
2091
+ quantity: z.ZodOptional<z.ZodNumber>;
2092
+ lineItemCost: z.ZodOptional<z.ZodObject<{
2093
+ currency: z.ZodString;
2094
+ value: z.ZodString;
2095
+ convertedFromCurrency: z.ZodOptional<z.ZodString>;
2096
+ convertedFromValue: z.ZodOptional<z.ZodString>;
2097
+ exchangeRate: z.ZodOptional<z.ZodString>;
2098
+ }, "strip", z.ZodTypeAny, {
2099
+ value: string;
2100
+ currency: string;
2101
+ convertedFromCurrency?: string | undefined;
2102
+ convertedFromValue?: string | undefined;
2103
+ exchangeRate?: string | undefined;
2104
+ }, {
2105
+ value: string;
2106
+ currency: string;
2107
+ convertedFromCurrency?: string | undefined;
2108
+ convertedFromValue?: string | undefined;
2109
+ exchangeRate?: string | undefined;
2110
+ }>>;
2111
+ lineItemFulfillmentStatus: z.ZodOptional<z.ZodString>;
2112
+ lineItemFulfillmentInstructions: z.ZodOptional<z.ZodObject<{
2113
+ guaranteedDelivery: z.ZodOptional<z.ZodBoolean>;
2114
+ minEstimatedDeliveryDate: z.ZodOptional<z.ZodString>;
2115
+ maxEstimatedDeliveryDate: z.ZodOptional<z.ZodString>;
2116
+ shipByDate: z.ZodOptional<z.ZodString>;
2117
+ }, "strip", z.ZodTypeAny, {
2118
+ guaranteedDelivery?: boolean | undefined;
2119
+ minEstimatedDeliveryDate?: string | undefined;
2120
+ maxEstimatedDeliveryDate?: string | undefined;
2121
+ shipByDate?: string | undefined;
2122
+ }, {
2123
+ guaranteedDelivery?: boolean | undefined;
2124
+ minEstimatedDeliveryDate?: string | undefined;
2125
+ maxEstimatedDeliveryDate?: string | undefined;
2126
+ shipByDate?: string | undefined;
2127
+ }>>;
2128
+ total: z.ZodOptional<z.ZodObject<{
2129
+ currency: z.ZodString;
2130
+ value: z.ZodString;
2131
+ convertedFromCurrency: z.ZodOptional<z.ZodString>;
2132
+ convertedFromValue: z.ZodOptional<z.ZodString>;
2133
+ exchangeRate: z.ZodOptional<z.ZodString>;
2134
+ }, "strip", z.ZodTypeAny, {
2135
+ value: string;
2136
+ currency: string;
2137
+ convertedFromCurrency?: string | undefined;
2138
+ convertedFromValue?: string | undefined;
2139
+ exchangeRate?: string | undefined;
2140
+ }, {
2141
+ value: string;
2142
+ currency: string;
2143
+ convertedFromCurrency?: string | undefined;
2144
+ convertedFromValue?: string | undefined;
2145
+ exchangeRate?: string | undefined;
2146
+ }>>;
2147
+ deliveryCost: z.ZodOptional<z.ZodObject<{
2148
+ currency: z.ZodString;
2149
+ value: z.ZodString;
2150
+ convertedFromCurrency: z.ZodOptional<z.ZodString>;
2151
+ convertedFromValue: z.ZodOptional<z.ZodString>;
2152
+ exchangeRate: z.ZodOptional<z.ZodString>;
2153
+ }, "strip", z.ZodTypeAny, {
2154
+ value: string;
2155
+ currency: string;
2156
+ convertedFromCurrency?: string | undefined;
2157
+ convertedFromValue?: string | undefined;
2158
+ exchangeRate?: string | undefined;
2159
+ }, {
2160
+ value: string;
2161
+ currency: string;
2162
+ convertedFromCurrency?: string | undefined;
2163
+ convertedFromValue?: string | undefined;
2164
+ exchangeRate?: string | undefined;
2165
+ }>>;
2166
+ taxes: z.ZodOptional<z.ZodArray<z.ZodObject<{
2167
+ taxType: z.ZodOptional<z.ZodString>;
2168
+ amount: z.ZodOptional<z.ZodObject<{
2169
+ currency: z.ZodString;
2170
+ value: z.ZodString;
2171
+ convertedFromCurrency: z.ZodOptional<z.ZodString>;
2172
+ convertedFromValue: z.ZodOptional<z.ZodString>;
2173
+ exchangeRate: z.ZodOptional<z.ZodString>;
2174
+ }, "strip", z.ZodTypeAny, {
2175
+ value: string;
2176
+ currency: string;
2177
+ convertedFromCurrency?: string | undefined;
2178
+ convertedFromValue?: string | undefined;
2179
+ exchangeRate?: string | undefined;
2180
+ }, {
2181
+ value: string;
2182
+ currency: string;
2183
+ convertedFromCurrency?: string | undefined;
2184
+ convertedFromValue?: string | undefined;
2185
+ exchangeRate?: string | undefined;
2186
+ }>>;
2187
+ }, "strip", z.ZodTypeAny, {
2188
+ amount?: {
2189
+ value: string;
2190
+ currency: string;
2191
+ convertedFromCurrency?: string | undefined;
2192
+ convertedFromValue?: string | undefined;
2193
+ exchangeRate?: string | undefined;
2194
+ } | undefined;
2195
+ taxType?: string | undefined;
2196
+ }, {
2197
+ amount?: {
2198
+ value: string;
2199
+ currency: string;
2200
+ convertedFromCurrency?: string | undefined;
2201
+ convertedFromValue?: string | undefined;
2202
+ exchangeRate?: string | undefined;
2203
+ } | undefined;
2204
+ taxType?: string | undefined;
2205
+ }>, "many">>;
2206
+ itemLocation: z.ZodOptional<z.ZodObject<{
2207
+ addressLine1: z.ZodOptional<z.ZodString>;
2208
+ addressLine2: z.ZodOptional<z.ZodString>;
2209
+ city: z.ZodOptional<z.ZodString>;
2210
+ stateOrProvince: z.ZodOptional<z.ZodString>;
2211
+ postalCode: z.ZodOptional<z.ZodString>;
2212
+ countryCode: z.ZodOptional<z.ZodString>;
2213
+ }, "strip", z.ZodTypeAny, {
2214
+ addressLine1?: string | undefined;
2215
+ addressLine2?: string | undefined;
2216
+ city?: string | undefined;
2217
+ stateOrProvince?: string | undefined;
2218
+ postalCode?: string | undefined;
2219
+ countryCode?: string | undefined;
2220
+ }, {
2221
+ addressLine1?: string | undefined;
2222
+ addressLine2?: string | undefined;
2223
+ city?: string | undefined;
2224
+ stateOrProvince?: string | undefined;
2225
+ postalCode?: string | undefined;
2226
+ countryCode?: string | undefined;
2227
+ }>>;
2228
+ properties: z.ZodOptional<z.ZodObject<{
2229
+ soldViaAdCampaign: z.ZodOptional<z.ZodBoolean>;
2230
+ buyerProtection: z.ZodOptional<z.ZodBoolean>;
2231
+ }, "strip", z.ZodTypeAny, {
2232
+ soldViaAdCampaign?: boolean | undefined;
2233
+ buyerProtection?: boolean | undefined;
2234
+ }, {
2235
+ soldViaAdCampaign?: boolean | undefined;
2236
+ buyerProtection?: boolean | undefined;
2237
+ }>>;
2238
+ purchaseMarketplaceId: z.ZodOptional<z.ZodString>;
2239
+ }, "strip", z.ZodTypeAny, {
2240
+ title?: string | undefined;
2241
+ sku?: string | undefined;
2242
+ properties?: {
2243
+ soldViaAdCampaign?: boolean | undefined;
2244
+ buyerProtection?: boolean | undefined;
2245
+ } | undefined;
2246
+ quantity?: number | undefined;
2247
+ lineItemId?: string | undefined;
2248
+ legacyItemId?: string | undefined;
2249
+ total?: {
2250
+ value: string;
2251
+ currency: string;
2252
+ convertedFromCurrency?: string | undefined;
2253
+ convertedFromValue?: string | undefined;
2254
+ exchangeRate?: string | undefined;
2255
+ } | undefined;
2256
+ legacyVariationId?: string | undefined;
2257
+ lineItemCost?: {
2258
+ value: string;
2259
+ currency: string;
2260
+ convertedFromCurrency?: string | undefined;
2261
+ convertedFromValue?: string | undefined;
2262
+ exchangeRate?: string | undefined;
2263
+ } | undefined;
2264
+ lineItemFulfillmentStatus?: string | undefined;
2265
+ lineItemFulfillmentInstructions?: {
2266
+ guaranteedDelivery?: boolean | undefined;
2267
+ minEstimatedDeliveryDate?: string | undefined;
2268
+ maxEstimatedDeliveryDate?: string | undefined;
2269
+ shipByDate?: string | undefined;
2270
+ } | undefined;
2271
+ deliveryCost?: {
2272
+ value: string;
2273
+ currency: string;
2274
+ convertedFromCurrency?: string | undefined;
2275
+ convertedFromValue?: string | undefined;
2276
+ exchangeRate?: string | undefined;
2277
+ } | undefined;
2278
+ taxes?: {
2279
+ amount?: {
2280
+ value: string;
2281
+ currency: string;
2282
+ convertedFromCurrency?: string | undefined;
2283
+ convertedFromValue?: string | undefined;
2284
+ exchangeRate?: string | undefined;
2285
+ } | undefined;
2286
+ taxType?: string | undefined;
2287
+ }[] | undefined;
2288
+ itemLocation?: {
2289
+ addressLine1?: string | undefined;
2290
+ addressLine2?: string | undefined;
2291
+ city?: string | undefined;
2292
+ stateOrProvince?: string | undefined;
2293
+ postalCode?: string | undefined;
2294
+ countryCode?: string | undefined;
2295
+ } | undefined;
2296
+ purchaseMarketplaceId?: string | undefined;
2297
+ }, {
2298
+ title?: string | undefined;
2299
+ sku?: string | undefined;
2300
+ properties?: {
2301
+ soldViaAdCampaign?: boolean | undefined;
2302
+ buyerProtection?: boolean | undefined;
2303
+ } | undefined;
2304
+ quantity?: number | undefined;
2305
+ lineItemId?: string | undefined;
2306
+ legacyItemId?: string | undefined;
2307
+ total?: {
2308
+ value: string;
2309
+ currency: string;
2310
+ convertedFromCurrency?: string | undefined;
2311
+ convertedFromValue?: string | undefined;
2312
+ exchangeRate?: string | undefined;
2313
+ } | undefined;
2314
+ legacyVariationId?: string | undefined;
2315
+ lineItemCost?: {
2316
+ value: string;
2317
+ currency: string;
2318
+ convertedFromCurrency?: string | undefined;
2319
+ convertedFromValue?: string | undefined;
2320
+ exchangeRate?: string | undefined;
2321
+ } | undefined;
2322
+ lineItemFulfillmentStatus?: string | undefined;
2323
+ lineItemFulfillmentInstructions?: {
2324
+ guaranteedDelivery?: boolean | undefined;
2325
+ minEstimatedDeliveryDate?: string | undefined;
2326
+ maxEstimatedDeliveryDate?: string | undefined;
2327
+ shipByDate?: string | undefined;
2328
+ } | undefined;
2329
+ deliveryCost?: {
2330
+ value: string;
2331
+ currency: string;
2332
+ convertedFromCurrency?: string | undefined;
2333
+ convertedFromValue?: string | undefined;
2334
+ exchangeRate?: string | undefined;
2335
+ } | undefined;
2336
+ taxes?: {
2337
+ amount?: {
2338
+ value: string;
2339
+ currency: string;
2340
+ convertedFromCurrency?: string | undefined;
2341
+ convertedFromValue?: string | undefined;
2342
+ exchangeRate?: string | undefined;
2343
+ } | undefined;
2344
+ taxType?: string | undefined;
2345
+ }[] | undefined;
2346
+ itemLocation?: {
2347
+ addressLine1?: string | undefined;
2348
+ addressLine2?: string | undefined;
2349
+ city?: string | undefined;
2350
+ stateOrProvince?: string | undefined;
2351
+ postalCode?: string | undefined;
2352
+ countryCode?: string | undefined;
2353
+ } | undefined;
2354
+ purchaseMarketplaceId?: string | undefined;
2355
+ }>, "many">>;
2356
+ fulfillmentStartInstructions: z.ZodOptional<z.ZodArray<z.ZodObject<{
2357
+ fulfillmentInstructionsType: z.ZodOptional<z.ZodString>;
2358
+ minEstimatedDeliveryDate: z.ZodOptional<z.ZodString>;
2359
+ maxEstimatedDeliveryDate: z.ZodOptional<z.ZodString>;
2360
+ shipByDate: z.ZodOptional<z.ZodString>;
2361
+ shippingStep: z.ZodOptional<z.ZodObject<{
2362
+ shipTo: z.ZodOptional<z.ZodObject<{
2363
+ addressLine1: z.ZodOptional<z.ZodString>;
2364
+ addressLine2: z.ZodOptional<z.ZodString>;
2365
+ city: z.ZodOptional<z.ZodString>;
2366
+ stateOrProvince: z.ZodOptional<z.ZodString>;
2367
+ postalCode: z.ZodOptional<z.ZodString>;
2368
+ countryCode: z.ZodOptional<z.ZodString>;
2369
+ }, "strip", z.ZodTypeAny, {
2370
+ addressLine1?: string | undefined;
2371
+ addressLine2?: string | undefined;
2372
+ city?: string | undefined;
2373
+ stateOrProvince?: string | undefined;
2374
+ postalCode?: string | undefined;
2375
+ countryCode?: string | undefined;
2376
+ }, {
2377
+ addressLine1?: string | undefined;
2378
+ addressLine2?: string | undefined;
2379
+ city?: string | undefined;
2380
+ stateOrProvince?: string | undefined;
2381
+ postalCode?: string | undefined;
2382
+ countryCode?: string | undefined;
2383
+ }>>;
2384
+ shipToReferenceId: z.ZodOptional<z.ZodString>;
2385
+ shippingCarrierCode: z.ZodOptional<z.ZodString>;
2386
+ shippingServiceCode: z.ZodOptional<z.ZodString>;
2387
+ }, "strip", z.ZodTypeAny, {
2388
+ shippingCarrierCode?: string | undefined;
2389
+ shippingServiceCode?: string | undefined;
2390
+ shipTo?: {
2391
+ addressLine1?: string | undefined;
2392
+ addressLine2?: string | undefined;
2393
+ city?: string | undefined;
2394
+ stateOrProvince?: string | undefined;
2395
+ postalCode?: string | undefined;
2396
+ countryCode?: string | undefined;
2397
+ } | undefined;
2398
+ shipToReferenceId?: string | undefined;
2399
+ }, {
2400
+ shippingCarrierCode?: string | undefined;
2401
+ shippingServiceCode?: string | undefined;
2402
+ shipTo?: {
2403
+ addressLine1?: string | undefined;
2404
+ addressLine2?: string | undefined;
2405
+ city?: string | undefined;
2406
+ stateOrProvince?: string | undefined;
2407
+ postalCode?: string | undefined;
2408
+ countryCode?: string | undefined;
2409
+ } | undefined;
2410
+ shipToReferenceId?: string | undefined;
2411
+ }>>;
2412
+ }, "strip", z.ZodTypeAny, {
2413
+ minEstimatedDeliveryDate?: string | undefined;
2414
+ maxEstimatedDeliveryDate?: string | undefined;
2415
+ shipByDate?: string | undefined;
2416
+ fulfillmentInstructionsType?: string | undefined;
2417
+ shippingStep?: {
2418
+ shippingCarrierCode?: string | undefined;
2419
+ shippingServiceCode?: string | undefined;
2420
+ shipTo?: {
2421
+ addressLine1?: string | undefined;
2422
+ addressLine2?: string | undefined;
2423
+ city?: string | undefined;
2424
+ stateOrProvince?: string | undefined;
2425
+ postalCode?: string | undefined;
2426
+ countryCode?: string | undefined;
2427
+ } | undefined;
2428
+ shipToReferenceId?: string | undefined;
2429
+ } | undefined;
2430
+ }, {
2431
+ minEstimatedDeliveryDate?: string | undefined;
2432
+ maxEstimatedDeliveryDate?: string | undefined;
2433
+ shipByDate?: string | undefined;
2434
+ fulfillmentInstructionsType?: string | undefined;
2435
+ shippingStep?: {
2436
+ shippingCarrierCode?: string | undefined;
2437
+ shippingServiceCode?: string | undefined;
2438
+ shipTo?: {
2439
+ addressLine1?: string | undefined;
2440
+ addressLine2?: string | undefined;
2441
+ city?: string | undefined;
2442
+ stateOrProvince?: string | undefined;
2443
+ postalCode?: string | undefined;
2444
+ countryCode?: string | undefined;
2445
+ } | undefined;
2446
+ shipToReferenceId?: string | undefined;
2447
+ } | undefined;
2448
+ }>, "many">>;
2449
+ fulfillmentHrefs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2450
+ paymentSummary: z.ZodOptional<z.ZodObject<{
2451
+ payments: z.ZodOptional<z.ZodArray<z.ZodObject<{
2452
+ paymentDate: z.ZodOptional<z.ZodString>;
2453
+ paymentMethod: z.ZodOptional<z.ZodString>;
2454
+ paymentReferenceId: z.ZodOptional<z.ZodString>;
2455
+ paymentStatus: z.ZodOptional<z.ZodString>;
2456
+ amount: z.ZodOptional<z.ZodObject<{
2457
+ currency: z.ZodString;
2458
+ value: z.ZodString;
2459
+ convertedFromCurrency: z.ZodOptional<z.ZodString>;
2460
+ convertedFromValue: z.ZodOptional<z.ZodString>;
2461
+ exchangeRate: z.ZodOptional<z.ZodString>;
2462
+ }, "strip", z.ZodTypeAny, {
2463
+ value: string;
2464
+ currency: string;
2465
+ convertedFromCurrency?: string | undefined;
2466
+ convertedFromValue?: string | undefined;
2467
+ exchangeRate?: string | undefined;
2468
+ }, {
2469
+ value: string;
2470
+ currency: string;
2471
+ convertedFromCurrency?: string | undefined;
2472
+ convertedFromValue?: string | undefined;
2473
+ exchangeRate?: string | undefined;
2474
+ }>>;
2475
+ }, "strip", z.ZodTypeAny, {
2476
+ amount?: {
2477
+ value: string;
2478
+ currency: string;
2479
+ convertedFromCurrency?: string | undefined;
2480
+ convertedFromValue?: string | undefined;
2481
+ exchangeRate?: string | undefined;
2482
+ } | undefined;
2483
+ paymentDate?: string | undefined;
2484
+ paymentMethod?: string | undefined;
2485
+ paymentReferenceId?: string | undefined;
2486
+ paymentStatus?: string | undefined;
2487
+ }, {
2488
+ amount?: {
2489
+ value: string;
2490
+ currency: string;
2491
+ convertedFromCurrency?: string | undefined;
2492
+ convertedFromValue?: string | undefined;
2493
+ exchangeRate?: string | undefined;
2494
+ } | undefined;
2495
+ paymentDate?: string | undefined;
2496
+ paymentMethod?: string | undefined;
2497
+ paymentReferenceId?: string | undefined;
2498
+ paymentStatus?: string | undefined;
2499
+ }>, "many">>;
2500
+ refunds: z.ZodOptional<z.ZodArray<z.ZodObject<{
2501
+ refundDate: z.ZodOptional<z.ZodString>;
2502
+ refundId: z.ZodOptional<z.ZodString>;
2503
+ refundReferenceId: z.ZodOptional<z.ZodString>;
2504
+ refundStatus: z.ZodOptional<z.ZodString>;
2505
+ amount: z.ZodOptional<z.ZodObject<{
2506
+ currency: z.ZodString;
2507
+ value: z.ZodString;
2508
+ convertedFromCurrency: z.ZodOptional<z.ZodString>;
2509
+ convertedFromValue: z.ZodOptional<z.ZodString>;
2510
+ exchangeRate: z.ZodOptional<z.ZodString>;
2511
+ }, "strip", z.ZodTypeAny, {
2512
+ value: string;
2513
+ currency: string;
2514
+ convertedFromCurrency?: string | undefined;
2515
+ convertedFromValue?: string | undefined;
2516
+ exchangeRate?: string | undefined;
2517
+ }, {
2518
+ value: string;
2519
+ currency: string;
2520
+ convertedFromCurrency?: string | undefined;
2521
+ convertedFromValue?: string | undefined;
2522
+ exchangeRate?: string | undefined;
2523
+ }>>;
2524
+ }, "strip", z.ZodTypeAny, {
2525
+ amount?: {
2526
+ value: string;
2527
+ currency: string;
2528
+ convertedFromCurrency?: string | undefined;
2529
+ convertedFromValue?: string | undefined;
2530
+ exchangeRate?: string | undefined;
2531
+ } | undefined;
2532
+ refundDate?: string | undefined;
2533
+ refundId?: string | undefined;
2534
+ refundReferenceId?: string | undefined;
2535
+ refundStatus?: string | undefined;
2536
+ }, {
2537
+ amount?: {
2538
+ value: string;
2539
+ currency: string;
2540
+ convertedFromCurrency?: string | undefined;
2541
+ convertedFromValue?: string | undefined;
2542
+ exchangeRate?: string | undefined;
2543
+ } | undefined;
2544
+ refundDate?: string | undefined;
2545
+ refundId?: string | undefined;
2546
+ refundReferenceId?: string | undefined;
2547
+ refundStatus?: string | undefined;
2548
+ }>, "many">>;
2549
+ totalDueSeller: z.ZodOptional<z.ZodObject<{
2550
+ currency: z.ZodString;
2551
+ value: z.ZodString;
2552
+ convertedFromCurrency: z.ZodOptional<z.ZodString>;
2553
+ convertedFromValue: z.ZodOptional<z.ZodString>;
2554
+ exchangeRate: z.ZodOptional<z.ZodString>;
2555
+ }, "strip", z.ZodTypeAny, {
2556
+ value: string;
2557
+ currency: string;
2558
+ convertedFromCurrency?: string | undefined;
2559
+ convertedFromValue?: string | undefined;
2560
+ exchangeRate?: string | undefined;
2561
+ }, {
2562
+ value: string;
2563
+ currency: string;
2564
+ convertedFromCurrency?: string | undefined;
2565
+ convertedFromValue?: string | undefined;
2566
+ exchangeRate?: string | undefined;
2567
+ }>>;
2568
+ }, "strip", z.ZodTypeAny, {
2569
+ payments?: {
2570
+ amount?: {
2571
+ value: string;
2572
+ currency: string;
2573
+ convertedFromCurrency?: string | undefined;
2574
+ convertedFromValue?: string | undefined;
2575
+ exchangeRate?: string | undefined;
2576
+ } | undefined;
2577
+ paymentDate?: string | undefined;
2578
+ paymentMethod?: string | undefined;
2579
+ paymentReferenceId?: string | undefined;
2580
+ paymentStatus?: string | undefined;
2581
+ }[] | undefined;
2582
+ refunds?: {
2583
+ amount?: {
2584
+ value: string;
2585
+ currency: string;
2586
+ convertedFromCurrency?: string | undefined;
2587
+ convertedFromValue?: string | undefined;
2588
+ exchangeRate?: string | undefined;
2589
+ } | undefined;
2590
+ refundDate?: string | undefined;
2591
+ refundId?: string | undefined;
2592
+ refundReferenceId?: string | undefined;
2593
+ refundStatus?: string | undefined;
2594
+ }[] | undefined;
2595
+ totalDueSeller?: {
2596
+ value: string;
2597
+ currency: string;
2598
+ convertedFromCurrency?: string | undefined;
2599
+ convertedFromValue?: string | undefined;
2600
+ exchangeRate?: string | undefined;
2601
+ } | undefined;
2602
+ }, {
2603
+ payments?: {
2604
+ amount?: {
2605
+ value: string;
2606
+ currency: string;
2607
+ convertedFromCurrency?: string | undefined;
2608
+ convertedFromValue?: string | undefined;
2609
+ exchangeRate?: string | undefined;
2610
+ } | undefined;
2611
+ paymentDate?: string | undefined;
2612
+ paymentMethod?: string | undefined;
2613
+ paymentReferenceId?: string | undefined;
2614
+ paymentStatus?: string | undefined;
2615
+ }[] | undefined;
2616
+ refunds?: {
2617
+ amount?: {
2618
+ value: string;
2619
+ currency: string;
2620
+ convertedFromCurrency?: string | undefined;
2621
+ convertedFromValue?: string | undefined;
2622
+ exchangeRate?: string | undefined;
2623
+ } | undefined;
2624
+ refundDate?: string | undefined;
2625
+ refundId?: string | undefined;
2626
+ refundReferenceId?: string | undefined;
2627
+ refundStatus?: string | undefined;
2628
+ }[] | undefined;
2629
+ totalDueSeller?: {
2630
+ value: string;
2631
+ currency: string;
2632
+ convertedFromCurrency?: string | undefined;
2633
+ convertedFromValue?: string | undefined;
2634
+ exchangeRate?: string | undefined;
2635
+ } | undefined;
2636
+ }>>;
2637
+ salesRecordReference: z.ZodOptional<z.ZodString>;
2638
+ totalFeeBasisAmount: z.ZodOptional<z.ZodObject<{
2639
+ currency: z.ZodString;
2640
+ value: z.ZodString;
2641
+ convertedFromCurrency: z.ZodOptional<z.ZodString>;
2642
+ convertedFromValue: z.ZodOptional<z.ZodString>;
2643
+ exchangeRate: z.ZodOptional<z.ZodString>;
2644
+ }, "strip", z.ZodTypeAny, {
2645
+ value: string;
2646
+ currency: string;
2647
+ convertedFromCurrency?: string | undefined;
2648
+ convertedFromValue?: string | undefined;
2649
+ exchangeRate?: string | undefined;
2650
+ }, {
2651
+ value: string;
2652
+ currency: string;
2653
+ convertedFromCurrency?: string | undefined;
2654
+ convertedFromValue?: string | undefined;
2655
+ exchangeRate?: string | undefined;
2656
+ }>>;
2657
+ totalMarketplaceFee: z.ZodOptional<z.ZodObject<{
2658
+ currency: z.ZodString;
2659
+ value: z.ZodString;
2660
+ convertedFromCurrency: z.ZodOptional<z.ZodString>;
2661
+ convertedFromValue: z.ZodOptional<z.ZodString>;
2662
+ exchangeRate: z.ZodOptional<z.ZodString>;
2663
+ }, "strip", z.ZodTypeAny, {
2664
+ value: string;
2665
+ currency: string;
2666
+ convertedFromCurrency?: string | undefined;
2667
+ convertedFromValue?: string | undefined;
2668
+ exchangeRate?: string | undefined;
2669
+ }, {
2670
+ value: string;
2671
+ currency: string;
2672
+ convertedFromCurrency?: string | undefined;
2673
+ convertedFromValue?: string | undefined;
2674
+ exchangeRate?: string | undefined;
2675
+ }>>;
2676
+ } & {
2677
+ warnings: z.ZodOptional<z.ZodArray<z.ZodObject<{
2678
+ errorId: z.ZodOptional<z.ZodNumber>;
2679
+ domain: z.ZodOptional<z.ZodString>;
2680
+ category: z.ZodOptional<z.ZodString>;
2681
+ message: z.ZodOptional<z.ZodString>;
2682
+ longMessage: z.ZodOptional<z.ZodString>;
2683
+ parameters: z.ZodOptional<z.ZodArray<z.ZodObject<{
2684
+ name: z.ZodOptional<z.ZodString>;
2685
+ value: z.ZodOptional<z.ZodString>;
2686
+ }, "strip", z.ZodTypeAny, {
2687
+ name?: string | undefined;
2688
+ value?: string | undefined;
2689
+ }, {
2690
+ name?: string | undefined;
2691
+ value?: string | undefined;
2692
+ }>, "many">>;
2693
+ }, "strip", z.ZodTypeAny, {
2694
+ message?: string | undefined;
2695
+ errorId?: number | undefined;
2696
+ domain?: string | undefined;
2697
+ category?: string | undefined;
2698
+ longMessage?: string | undefined;
2699
+ parameters?: {
2700
+ name?: string | undefined;
2701
+ value?: string | undefined;
2702
+ }[] | undefined;
2703
+ }, {
2704
+ message?: string | undefined;
2705
+ errorId?: number | undefined;
2706
+ domain?: string | undefined;
2707
+ category?: string | undefined;
2708
+ longMessage?: string | undefined;
2709
+ parameters?: {
2710
+ name?: string | undefined;
2711
+ value?: string | undefined;
2712
+ }[] | undefined;
2713
+ }>, "many">>;
2714
+ }, "strip", z.ZodTypeAny, {
2715
+ pricingSummary?: {
2716
+ tax?: {
2717
+ value: string;
2718
+ currency: string;
2719
+ convertedFromCurrency?: string | undefined;
2720
+ convertedFromValue?: string | undefined;
2721
+ exchangeRate?: string | undefined;
2722
+ } | undefined;
2723
+ total?: {
2724
+ value: string;
2725
+ currency: string;
2726
+ convertedFromCurrency?: string | undefined;
2727
+ convertedFromValue?: string | undefined;
2728
+ exchangeRate?: string | undefined;
2729
+ } | undefined;
2730
+ deliveryCost?: {
2731
+ value: string;
2732
+ currency: string;
2733
+ convertedFromCurrency?: string | undefined;
2734
+ convertedFromValue?: string | undefined;
2735
+ exchangeRate?: string | undefined;
2736
+ } | undefined;
2737
+ priceSubtotal?: {
2738
+ value: string;
2739
+ currency: string;
2740
+ convertedFromCurrency?: string | undefined;
2741
+ convertedFromValue?: string | undefined;
2742
+ exchangeRate?: string | undefined;
2743
+ } | undefined;
2744
+ deliveryDiscount?: {
2745
+ value: string;
2746
+ currency: string;
2747
+ convertedFromCurrency?: string | undefined;
2748
+ convertedFromValue?: string | undefined;
2749
+ exchangeRate?: string | undefined;
2750
+ } | undefined;
2751
+ } | undefined;
2752
+ lineItems?: {
2753
+ title?: string | undefined;
2754
+ sku?: string | undefined;
2755
+ properties?: {
2756
+ soldViaAdCampaign?: boolean | undefined;
2757
+ buyerProtection?: boolean | undefined;
2758
+ } | undefined;
2759
+ quantity?: number | undefined;
2760
+ lineItemId?: string | undefined;
2761
+ legacyItemId?: string | undefined;
2762
+ total?: {
2763
+ value: string;
2764
+ currency: string;
2765
+ convertedFromCurrency?: string | undefined;
2766
+ convertedFromValue?: string | undefined;
2767
+ exchangeRate?: string | undefined;
2768
+ } | undefined;
2769
+ legacyVariationId?: string | undefined;
2770
+ lineItemCost?: {
2771
+ value: string;
2772
+ currency: string;
2773
+ convertedFromCurrency?: string | undefined;
2774
+ convertedFromValue?: string | undefined;
2775
+ exchangeRate?: string | undefined;
2776
+ } | undefined;
2777
+ lineItemFulfillmentStatus?: string | undefined;
2778
+ lineItemFulfillmentInstructions?: {
2779
+ guaranteedDelivery?: boolean | undefined;
2780
+ minEstimatedDeliveryDate?: string | undefined;
2781
+ maxEstimatedDeliveryDate?: string | undefined;
2782
+ shipByDate?: string | undefined;
2783
+ } | undefined;
2784
+ deliveryCost?: {
2785
+ value: string;
2786
+ currency: string;
2787
+ convertedFromCurrency?: string | undefined;
2788
+ convertedFromValue?: string | undefined;
2789
+ exchangeRate?: string | undefined;
2790
+ } | undefined;
2791
+ taxes?: {
2792
+ amount?: {
2793
+ value: string;
2794
+ currency: string;
2795
+ convertedFromCurrency?: string | undefined;
2796
+ convertedFromValue?: string | undefined;
2797
+ exchangeRate?: string | undefined;
2798
+ } | undefined;
2799
+ taxType?: string | undefined;
2800
+ }[] | undefined;
2801
+ itemLocation?: {
2802
+ addressLine1?: string | undefined;
2803
+ addressLine2?: string | undefined;
2804
+ city?: string | undefined;
2805
+ stateOrProvince?: string | undefined;
2806
+ postalCode?: string | undefined;
2807
+ countryCode?: string | undefined;
2808
+ } | undefined;
2809
+ purchaseMarketplaceId?: string | undefined;
2810
+ }[] | undefined;
2811
+ warnings?: {
2812
+ message?: string | undefined;
2813
+ errorId?: number | undefined;
2814
+ domain?: string | undefined;
2815
+ category?: string | undefined;
2816
+ longMessage?: string | undefined;
2817
+ parameters?: {
2818
+ name?: string | undefined;
2819
+ value?: string | undefined;
2820
+ }[] | undefined;
2821
+ }[] | undefined;
2822
+ orderId?: string | undefined;
2823
+ legacyOrderId?: string | undefined;
2824
+ creationDate?: string | undefined;
2825
+ lastModifiedDate?: string | undefined;
2826
+ orderFulfillmentStatus?: string | undefined;
2827
+ orderPaymentStatus?: string | undefined;
2828
+ sellerId?: string | undefined;
2829
+ buyer?: {
2830
+ username?: string | undefined;
2831
+ taxAddress?: {
2832
+ addressLine1?: string | undefined;
2833
+ addressLine2?: string | undefined;
2834
+ city?: string | undefined;
2835
+ stateOrProvince?: string | undefined;
2836
+ postalCode?: string | undefined;
2837
+ countryCode?: string | undefined;
2838
+ } | undefined;
2839
+ taxIdentifier?: {
2840
+ taxpayerId?: string | undefined;
2841
+ taxIdentifierType?: string | undefined;
2842
+ issuingCountry?: string | undefined;
2843
+ } | undefined;
2844
+ } | undefined;
2845
+ cancelStatus?: {
2846
+ cancelState?: string | undefined;
2847
+ cancelRequests?: {
2848
+ cancelCompletedDate?: string | undefined;
2849
+ cancelInitiator?: string | undefined;
2850
+ cancelReason?: string | undefined;
2851
+ cancelRequestedDate?: string | undefined;
2852
+ cancelRequestId?: string | undefined;
2853
+ cancelRequestState?: string | undefined;
2854
+ }[] | undefined;
2855
+ } | undefined;
2856
+ fulfillmentStartInstructions?: {
2857
+ minEstimatedDeliveryDate?: string | undefined;
2858
+ maxEstimatedDeliveryDate?: string | undefined;
2859
+ shipByDate?: string | undefined;
2860
+ fulfillmentInstructionsType?: string | undefined;
2861
+ shippingStep?: {
2862
+ shippingCarrierCode?: string | undefined;
2863
+ shippingServiceCode?: string | undefined;
2864
+ shipTo?: {
2865
+ addressLine1?: string | undefined;
2866
+ addressLine2?: string | undefined;
2867
+ city?: string | undefined;
2868
+ stateOrProvince?: string | undefined;
2869
+ postalCode?: string | undefined;
2870
+ countryCode?: string | undefined;
2871
+ } | undefined;
2872
+ shipToReferenceId?: string | undefined;
2873
+ } | undefined;
2874
+ }[] | undefined;
2875
+ fulfillmentHrefs?: string[] | undefined;
2876
+ paymentSummary?: {
2877
+ payments?: {
2878
+ amount?: {
2879
+ value: string;
2880
+ currency: string;
2881
+ convertedFromCurrency?: string | undefined;
2882
+ convertedFromValue?: string | undefined;
2883
+ exchangeRate?: string | undefined;
2884
+ } | undefined;
2885
+ paymentDate?: string | undefined;
2886
+ paymentMethod?: string | undefined;
2887
+ paymentReferenceId?: string | undefined;
2888
+ paymentStatus?: string | undefined;
2889
+ }[] | undefined;
2890
+ refunds?: {
2891
+ amount?: {
2892
+ value: string;
2893
+ currency: string;
2894
+ convertedFromCurrency?: string | undefined;
2895
+ convertedFromValue?: string | undefined;
2896
+ exchangeRate?: string | undefined;
2897
+ } | undefined;
2898
+ refundDate?: string | undefined;
2899
+ refundId?: string | undefined;
2900
+ refundReferenceId?: string | undefined;
2901
+ refundStatus?: string | undefined;
2902
+ }[] | undefined;
2903
+ totalDueSeller?: {
2904
+ value: string;
2905
+ currency: string;
2906
+ convertedFromCurrency?: string | undefined;
2907
+ convertedFromValue?: string | undefined;
2908
+ exchangeRate?: string | undefined;
2909
+ } | undefined;
2910
+ } | undefined;
2911
+ salesRecordReference?: string | undefined;
2912
+ totalFeeBasisAmount?: {
2913
+ value: string;
2914
+ currency: string;
2915
+ convertedFromCurrency?: string | undefined;
2916
+ convertedFromValue?: string | undefined;
2917
+ exchangeRate?: string | undefined;
2918
+ } | undefined;
2919
+ totalMarketplaceFee?: {
2920
+ value: string;
2921
+ currency: string;
2922
+ convertedFromCurrency?: string | undefined;
2923
+ convertedFromValue?: string | undefined;
2924
+ exchangeRate?: string | undefined;
2925
+ } | undefined;
2926
+ }, {
2927
+ pricingSummary?: {
2928
+ tax?: {
2929
+ value: string;
2930
+ currency: string;
2931
+ convertedFromCurrency?: string | undefined;
2932
+ convertedFromValue?: string | undefined;
2933
+ exchangeRate?: string | undefined;
2934
+ } | undefined;
2935
+ total?: {
2936
+ value: string;
2937
+ currency: string;
2938
+ convertedFromCurrency?: string | undefined;
2939
+ convertedFromValue?: string | undefined;
2940
+ exchangeRate?: string | undefined;
2941
+ } | undefined;
2942
+ deliveryCost?: {
2943
+ value: string;
2944
+ currency: string;
2945
+ convertedFromCurrency?: string | undefined;
2946
+ convertedFromValue?: string | undefined;
2947
+ exchangeRate?: string | undefined;
2948
+ } | undefined;
2949
+ priceSubtotal?: {
2950
+ value: string;
2951
+ currency: string;
2952
+ convertedFromCurrency?: string | undefined;
2953
+ convertedFromValue?: string | undefined;
2954
+ exchangeRate?: string | undefined;
2955
+ } | undefined;
2956
+ deliveryDiscount?: {
2957
+ value: string;
2958
+ currency: string;
2959
+ convertedFromCurrency?: string | undefined;
2960
+ convertedFromValue?: string | undefined;
2961
+ exchangeRate?: string | undefined;
2962
+ } | undefined;
2963
+ } | undefined;
2964
+ lineItems?: {
2965
+ title?: string | undefined;
2966
+ sku?: string | undefined;
2967
+ properties?: {
2968
+ soldViaAdCampaign?: boolean | undefined;
2969
+ buyerProtection?: boolean | undefined;
2970
+ } | undefined;
2971
+ quantity?: number | undefined;
2972
+ lineItemId?: string | undefined;
2973
+ legacyItemId?: string | undefined;
2974
+ total?: {
2975
+ value: string;
2976
+ currency: string;
2977
+ convertedFromCurrency?: string | undefined;
2978
+ convertedFromValue?: string | undefined;
2979
+ exchangeRate?: string | undefined;
2980
+ } | undefined;
2981
+ legacyVariationId?: string | undefined;
2982
+ lineItemCost?: {
2983
+ value: string;
2984
+ currency: string;
2985
+ convertedFromCurrency?: string | undefined;
2986
+ convertedFromValue?: string | undefined;
2987
+ exchangeRate?: string | undefined;
2988
+ } | undefined;
2989
+ lineItemFulfillmentStatus?: string | undefined;
2990
+ lineItemFulfillmentInstructions?: {
2991
+ guaranteedDelivery?: boolean | undefined;
2992
+ minEstimatedDeliveryDate?: string | undefined;
2993
+ maxEstimatedDeliveryDate?: string | undefined;
2994
+ shipByDate?: string | undefined;
2995
+ } | undefined;
2996
+ deliveryCost?: {
2997
+ value: string;
2998
+ currency: string;
2999
+ convertedFromCurrency?: string | undefined;
3000
+ convertedFromValue?: string | undefined;
3001
+ exchangeRate?: string | undefined;
3002
+ } | undefined;
3003
+ taxes?: {
3004
+ amount?: {
3005
+ value: string;
3006
+ currency: string;
3007
+ convertedFromCurrency?: string | undefined;
3008
+ convertedFromValue?: string | undefined;
3009
+ exchangeRate?: string | undefined;
3010
+ } | undefined;
3011
+ taxType?: string | undefined;
3012
+ }[] | undefined;
3013
+ itemLocation?: {
3014
+ addressLine1?: string | undefined;
3015
+ addressLine2?: string | undefined;
3016
+ city?: string | undefined;
3017
+ stateOrProvince?: string | undefined;
3018
+ postalCode?: string | undefined;
3019
+ countryCode?: string | undefined;
3020
+ } | undefined;
3021
+ purchaseMarketplaceId?: string | undefined;
3022
+ }[] | undefined;
3023
+ warnings?: {
3024
+ message?: string | undefined;
3025
+ errorId?: number | undefined;
3026
+ domain?: string | undefined;
3027
+ category?: string | undefined;
3028
+ longMessage?: string | undefined;
3029
+ parameters?: {
3030
+ name?: string | undefined;
3031
+ value?: string | undefined;
3032
+ }[] | undefined;
3033
+ }[] | undefined;
3034
+ orderId?: string | undefined;
3035
+ legacyOrderId?: string | undefined;
3036
+ creationDate?: string | undefined;
3037
+ lastModifiedDate?: string | undefined;
3038
+ orderFulfillmentStatus?: string | undefined;
3039
+ orderPaymentStatus?: string | undefined;
3040
+ sellerId?: string | undefined;
3041
+ buyer?: {
3042
+ username?: string | undefined;
3043
+ taxAddress?: {
3044
+ addressLine1?: string | undefined;
3045
+ addressLine2?: string | undefined;
3046
+ city?: string | undefined;
3047
+ stateOrProvince?: string | undefined;
3048
+ postalCode?: string | undefined;
3049
+ countryCode?: string | undefined;
3050
+ } | undefined;
3051
+ taxIdentifier?: {
3052
+ taxpayerId?: string | undefined;
3053
+ taxIdentifierType?: string | undefined;
3054
+ issuingCountry?: string | undefined;
3055
+ } | undefined;
3056
+ } | undefined;
3057
+ cancelStatus?: {
3058
+ cancelState?: string | undefined;
3059
+ cancelRequests?: {
3060
+ cancelCompletedDate?: string | undefined;
3061
+ cancelInitiator?: string | undefined;
3062
+ cancelReason?: string | undefined;
3063
+ cancelRequestedDate?: string | undefined;
3064
+ cancelRequestId?: string | undefined;
3065
+ cancelRequestState?: string | undefined;
3066
+ }[] | undefined;
3067
+ } | undefined;
3068
+ fulfillmentStartInstructions?: {
3069
+ minEstimatedDeliveryDate?: string | undefined;
3070
+ maxEstimatedDeliveryDate?: string | undefined;
3071
+ shipByDate?: string | undefined;
3072
+ fulfillmentInstructionsType?: string | undefined;
3073
+ shippingStep?: {
3074
+ shippingCarrierCode?: string | undefined;
3075
+ shippingServiceCode?: string | undefined;
3076
+ shipTo?: {
3077
+ addressLine1?: string | undefined;
3078
+ addressLine2?: string | undefined;
3079
+ city?: string | undefined;
3080
+ stateOrProvince?: string | undefined;
3081
+ postalCode?: string | undefined;
3082
+ countryCode?: string | undefined;
3083
+ } | undefined;
3084
+ shipToReferenceId?: string | undefined;
3085
+ } | undefined;
3086
+ }[] | undefined;
3087
+ fulfillmentHrefs?: string[] | undefined;
3088
+ paymentSummary?: {
3089
+ payments?: {
3090
+ amount?: {
3091
+ value: string;
3092
+ currency: string;
3093
+ convertedFromCurrency?: string | undefined;
3094
+ convertedFromValue?: string | undefined;
3095
+ exchangeRate?: string | undefined;
3096
+ } | undefined;
3097
+ paymentDate?: string | undefined;
3098
+ paymentMethod?: string | undefined;
3099
+ paymentReferenceId?: string | undefined;
3100
+ paymentStatus?: string | undefined;
3101
+ }[] | undefined;
3102
+ refunds?: {
3103
+ amount?: {
3104
+ value: string;
3105
+ currency: string;
3106
+ convertedFromCurrency?: string | undefined;
3107
+ convertedFromValue?: string | undefined;
3108
+ exchangeRate?: string | undefined;
3109
+ } | undefined;
3110
+ refundDate?: string | undefined;
3111
+ refundId?: string | undefined;
3112
+ refundReferenceId?: string | undefined;
3113
+ refundStatus?: string | undefined;
3114
+ }[] | undefined;
3115
+ totalDueSeller?: {
3116
+ value: string;
3117
+ currency: string;
3118
+ convertedFromCurrency?: string | undefined;
3119
+ convertedFromValue?: string | undefined;
3120
+ exchangeRate?: string | undefined;
3121
+ } | undefined;
3122
+ } | undefined;
3123
+ salesRecordReference?: string | undefined;
3124
+ totalFeeBasisAmount?: {
3125
+ value: string;
3126
+ currency: string;
3127
+ convertedFromCurrency?: string | undefined;
3128
+ convertedFromValue?: string | undefined;
3129
+ exchangeRate?: string | undefined;
3130
+ } | undefined;
3131
+ totalMarketplaceFee?: {
3132
+ value: string;
3133
+ currency: string;
3134
+ convertedFromCurrency?: string | undefined;
3135
+ convertedFromValue?: string | undefined;
3136
+ exchangeRate?: string | undefined;
3137
+ } | undefined;
3138
+ }>;
3139
+ export declare const createShippingFulfillmentInputSchema: z.ZodObject<{
3140
+ orderId: z.ZodString;
3141
+ fulfillment: z.ZodObject<{
3142
+ lineItems: z.ZodArray<z.ZodObject<{
3143
+ lineItemId: z.ZodString;
3144
+ quantity: z.ZodOptional<z.ZodNumber>;
3145
+ }, "strip", z.ZodTypeAny, {
3146
+ lineItemId: string;
3147
+ quantity?: number | undefined;
3148
+ }, {
3149
+ lineItemId: string;
3150
+ quantity?: number | undefined;
3151
+ }>, "many">;
3152
+ shippedDate: z.ZodOptional<z.ZodString>;
3153
+ shippingCarrierCode: z.ZodOptional<z.ZodString>;
3154
+ trackingNumber: z.ZodOptional<z.ZodString>;
3155
+ }, "strip", z.ZodTypeAny, {
3156
+ lineItems: {
3157
+ lineItemId: string;
3158
+ quantity?: number | undefined;
3159
+ }[];
3160
+ shippingCarrierCode?: string | undefined;
3161
+ shippedDate?: string | undefined;
3162
+ trackingNumber?: string | undefined;
3163
+ }, {
3164
+ lineItems: {
3165
+ lineItemId: string;
3166
+ quantity?: number | undefined;
3167
+ }[];
3168
+ shippingCarrierCode?: string | undefined;
3169
+ shippedDate?: string | undefined;
3170
+ trackingNumber?: string | undefined;
3171
+ }>;
3172
+ }, "strip", z.ZodTypeAny, {
3173
+ fulfillment: {
3174
+ lineItems: {
3175
+ lineItemId: string;
3176
+ quantity?: number | undefined;
3177
+ }[];
3178
+ shippingCarrierCode?: string | undefined;
3179
+ shippedDate?: string | undefined;
3180
+ trackingNumber?: string | undefined;
3181
+ };
3182
+ orderId: string;
3183
+ }, {
3184
+ fulfillment: {
3185
+ lineItems: {
3186
+ lineItemId: string;
3187
+ quantity?: number | undefined;
3188
+ }[];
3189
+ shippingCarrierCode?: string | undefined;
3190
+ shippedDate?: string | undefined;
3191
+ trackingNumber?: string | undefined;
3192
+ };
3193
+ orderId: string;
3194
+ }>;
3195
+ export declare const createShippingFulfillmentOutputSchema: z.ZodObject<{
3196
+ fulfillmentId: z.ZodOptional<z.ZodString>;
3197
+ warnings: z.ZodOptional<z.ZodArray<z.ZodObject<{
3198
+ errorId: z.ZodOptional<z.ZodNumber>;
3199
+ domain: z.ZodOptional<z.ZodString>;
3200
+ category: z.ZodOptional<z.ZodString>;
3201
+ message: z.ZodOptional<z.ZodString>;
3202
+ longMessage: z.ZodOptional<z.ZodString>;
3203
+ parameters: z.ZodOptional<z.ZodArray<z.ZodObject<{
3204
+ name: z.ZodOptional<z.ZodString>;
3205
+ value: z.ZodOptional<z.ZodString>;
3206
+ }, "strip", z.ZodTypeAny, {
3207
+ name?: string | undefined;
3208
+ value?: string | undefined;
3209
+ }, {
3210
+ name?: string | undefined;
3211
+ value?: string | undefined;
3212
+ }>, "many">>;
3213
+ }, "strip", z.ZodTypeAny, {
3214
+ message?: string | undefined;
3215
+ errorId?: number | undefined;
3216
+ domain?: string | undefined;
3217
+ category?: string | undefined;
3218
+ longMessage?: string | undefined;
3219
+ parameters?: {
3220
+ name?: string | undefined;
3221
+ value?: string | undefined;
3222
+ }[] | undefined;
3223
+ }, {
3224
+ message?: string | undefined;
3225
+ errorId?: number | undefined;
3226
+ domain?: string | undefined;
3227
+ category?: string | undefined;
3228
+ longMessage?: string | undefined;
3229
+ parameters?: {
3230
+ name?: string | undefined;
3231
+ value?: string | undefined;
3232
+ }[] | undefined;
3233
+ }>, "many">>;
3234
+ }, "strip", z.ZodTypeAny, {
3235
+ warnings?: {
3236
+ message?: string | undefined;
3237
+ errorId?: number | undefined;
3238
+ domain?: string | undefined;
3239
+ category?: string | undefined;
3240
+ longMessage?: string | undefined;
3241
+ parameters?: {
3242
+ name?: string | undefined;
3243
+ value?: string | undefined;
3244
+ }[] | undefined;
3245
+ }[] | undefined;
3246
+ fulfillmentId?: string | undefined;
3247
+ }, {
3248
+ warnings?: {
3249
+ message?: string | undefined;
3250
+ errorId?: number | undefined;
3251
+ domain?: string | undefined;
3252
+ category?: string | undefined;
3253
+ longMessage?: string | undefined;
3254
+ parameters?: {
3255
+ name?: string | undefined;
3256
+ value?: string | undefined;
3257
+ }[] | undefined;
3258
+ }[] | undefined;
3259
+ fulfillmentId?: string | undefined;
3260
+ }>;
3261
+ export declare const getShippingFulfillmentsInputSchema: z.ZodObject<{
3262
+ orderId: z.ZodString;
3263
+ }, "strip", z.ZodTypeAny, {
3264
+ orderId: string;
3265
+ }, {
3266
+ orderId: string;
3267
+ }>;
3268
+ export declare const getShippingFulfillmentsOutputSchema: z.ZodObject<{
3269
+ fulfillments: z.ZodOptional<z.ZodArray<z.ZodObject<{
3270
+ fulfillmentId: z.ZodOptional<z.ZodString>;
3271
+ lineItems: z.ZodOptional<z.ZodArray<z.ZodObject<{
3272
+ lineItemId: z.ZodOptional<z.ZodString>;
3273
+ quantity: z.ZodOptional<z.ZodNumber>;
3274
+ }, "strip", z.ZodTypeAny, {
3275
+ quantity?: number | undefined;
3276
+ lineItemId?: string | undefined;
3277
+ }, {
3278
+ quantity?: number | undefined;
3279
+ lineItemId?: string | undefined;
3280
+ }>, "many">>;
3281
+ shippedDate: z.ZodOptional<z.ZodString>;
3282
+ shippingCarrierCode: z.ZodOptional<z.ZodString>;
3283
+ trackingNumber: z.ZodOptional<z.ZodString>;
3284
+ }, "strip", z.ZodTypeAny, {
3285
+ shippingCarrierCode?: string | undefined;
3286
+ lineItems?: {
3287
+ quantity?: number | undefined;
3288
+ lineItemId?: string | undefined;
3289
+ }[] | undefined;
3290
+ shippedDate?: string | undefined;
3291
+ trackingNumber?: string | undefined;
3292
+ fulfillmentId?: string | undefined;
3293
+ }, {
3294
+ shippingCarrierCode?: string | undefined;
3295
+ lineItems?: {
3296
+ quantity?: number | undefined;
3297
+ lineItemId?: string | undefined;
3298
+ }[] | undefined;
3299
+ shippedDate?: string | undefined;
3300
+ trackingNumber?: string | undefined;
3301
+ fulfillmentId?: string | undefined;
3302
+ }>, "many">>;
3303
+ warnings: z.ZodOptional<z.ZodArray<z.ZodObject<{
3304
+ errorId: z.ZodOptional<z.ZodNumber>;
3305
+ domain: z.ZodOptional<z.ZodString>;
3306
+ category: z.ZodOptional<z.ZodString>;
3307
+ message: z.ZodOptional<z.ZodString>;
3308
+ longMessage: z.ZodOptional<z.ZodString>;
3309
+ parameters: z.ZodOptional<z.ZodArray<z.ZodObject<{
3310
+ name: z.ZodOptional<z.ZodString>;
3311
+ value: z.ZodOptional<z.ZodString>;
3312
+ }, "strip", z.ZodTypeAny, {
3313
+ name?: string | undefined;
3314
+ value?: string | undefined;
3315
+ }, {
3316
+ name?: string | undefined;
3317
+ value?: string | undefined;
3318
+ }>, "many">>;
3319
+ }, "strip", z.ZodTypeAny, {
3320
+ message?: string | undefined;
3321
+ errorId?: number | undefined;
3322
+ domain?: string | undefined;
3323
+ category?: string | undefined;
3324
+ longMessage?: string | undefined;
3325
+ parameters?: {
3326
+ name?: string | undefined;
3327
+ value?: string | undefined;
3328
+ }[] | undefined;
3329
+ }, {
3330
+ message?: string | undefined;
3331
+ errorId?: number | undefined;
3332
+ domain?: string | undefined;
3333
+ category?: string | undefined;
3334
+ longMessage?: string | undefined;
3335
+ parameters?: {
3336
+ name?: string | undefined;
3337
+ value?: string | undefined;
3338
+ }[] | undefined;
3339
+ }>, "many">>;
3340
+ }, "strip", z.ZodTypeAny, {
3341
+ warnings?: {
3342
+ message?: string | undefined;
3343
+ errorId?: number | undefined;
3344
+ domain?: string | undefined;
3345
+ category?: string | undefined;
3346
+ longMessage?: string | undefined;
3347
+ parameters?: {
3348
+ name?: string | undefined;
3349
+ value?: string | undefined;
3350
+ }[] | undefined;
3351
+ }[] | undefined;
3352
+ fulfillments?: {
3353
+ shippingCarrierCode?: string | undefined;
3354
+ lineItems?: {
3355
+ quantity?: number | undefined;
3356
+ lineItemId?: string | undefined;
3357
+ }[] | undefined;
3358
+ shippedDate?: string | undefined;
3359
+ trackingNumber?: string | undefined;
3360
+ fulfillmentId?: string | undefined;
3361
+ }[] | undefined;
3362
+ }, {
3363
+ warnings?: {
3364
+ message?: string | undefined;
3365
+ errorId?: number | undefined;
3366
+ domain?: string | undefined;
3367
+ category?: string | undefined;
3368
+ longMessage?: string | undefined;
3369
+ parameters?: {
3370
+ name?: string | undefined;
3371
+ value?: string | undefined;
3372
+ }[] | undefined;
3373
+ }[] | undefined;
3374
+ fulfillments?: {
3375
+ shippingCarrierCode?: string | undefined;
3376
+ lineItems?: {
3377
+ quantity?: number | undefined;
3378
+ lineItemId?: string | undefined;
3379
+ }[] | undefined;
3380
+ shippedDate?: string | undefined;
3381
+ trackingNumber?: string | undefined;
3382
+ fulfillmentId?: string | undefined;
3383
+ }[] | undefined;
3384
+ }>;
3385
+ export declare const issueRefundInputSchema: z.ZodObject<{
3386
+ orderId: z.ZodString;
3387
+ refundData: z.ZodObject<{
3388
+ reasonForRefund: z.ZodNativeEnum<typeof ReasonForRefund>;
3389
+ comment: z.ZodOptional<z.ZodString>;
3390
+ refundItems: z.ZodOptional<z.ZodArray<z.ZodObject<{
3391
+ lineItemId: z.ZodString;
3392
+ refundAmount: z.ZodOptional<z.ZodObject<{
3393
+ currency: z.ZodString;
3394
+ value: z.ZodString;
3395
+ convertedFromCurrency: z.ZodOptional<z.ZodString>;
3396
+ convertedFromValue: z.ZodOptional<z.ZodString>;
3397
+ exchangeRate: z.ZodOptional<z.ZodString>;
3398
+ }, "strip", z.ZodTypeAny, {
3399
+ value: string;
3400
+ currency: string;
3401
+ convertedFromCurrency?: string | undefined;
3402
+ convertedFromValue?: string | undefined;
3403
+ exchangeRate?: string | undefined;
3404
+ }, {
3405
+ value: string;
3406
+ currency: string;
3407
+ convertedFromCurrency?: string | undefined;
3408
+ convertedFromValue?: string | undefined;
3409
+ exchangeRate?: string | undefined;
3410
+ }>>;
3411
+ legacyReference: z.ZodOptional<z.ZodObject<{
3412
+ legacyItemId: z.ZodOptional<z.ZodString>;
3413
+ legacyTransactionId: z.ZodOptional<z.ZodString>;
3414
+ }, "strip", z.ZodTypeAny, {
3415
+ legacyItemId?: string | undefined;
3416
+ legacyTransactionId?: string | undefined;
3417
+ }, {
3418
+ legacyItemId?: string | undefined;
3419
+ legacyTransactionId?: string | undefined;
3420
+ }>>;
3421
+ }, "strip", z.ZodTypeAny, {
3422
+ lineItemId: string;
3423
+ refundAmount?: {
3424
+ value: string;
3425
+ currency: string;
3426
+ convertedFromCurrency?: string | undefined;
3427
+ convertedFromValue?: string | undefined;
3428
+ exchangeRate?: string | undefined;
3429
+ } | undefined;
3430
+ legacyReference?: {
3431
+ legacyItemId?: string | undefined;
3432
+ legacyTransactionId?: string | undefined;
3433
+ } | undefined;
3434
+ }, {
3435
+ lineItemId: string;
3436
+ refundAmount?: {
3437
+ value: string;
3438
+ currency: string;
3439
+ convertedFromCurrency?: string | undefined;
3440
+ convertedFromValue?: string | undefined;
3441
+ exchangeRate?: string | undefined;
3442
+ } | undefined;
3443
+ legacyReference?: {
3444
+ legacyItemId?: string | undefined;
3445
+ legacyTransactionId?: string | undefined;
3446
+ } | undefined;
3447
+ }>, "many">>;
3448
+ orderLevelRefundAmount: z.ZodOptional<z.ZodObject<{
3449
+ currency: z.ZodString;
3450
+ value: z.ZodString;
3451
+ convertedFromCurrency: z.ZodOptional<z.ZodString>;
3452
+ convertedFromValue: z.ZodOptional<z.ZodString>;
3453
+ exchangeRate: z.ZodOptional<z.ZodString>;
3454
+ }, "strip", z.ZodTypeAny, {
3455
+ value: string;
3456
+ currency: string;
3457
+ convertedFromCurrency?: string | undefined;
3458
+ convertedFromValue?: string | undefined;
3459
+ exchangeRate?: string | undefined;
3460
+ }, {
3461
+ value: string;
3462
+ currency: string;
3463
+ convertedFromCurrency?: string | undefined;
3464
+ convertedFromValue?: string | undefined;
3465
+ exchangeRate?: string | undefined;
3466
+ }>>;
3467
+ }, "strip", z.ZodTypeAny, {
3468
+ reasonForRefund: ReasonForRefund;
3469
+ comment?: string | undefined;
3470
+ refundItems?: {
3471
+ lineItemId: string;
3472
+ refundAmount?: {
3473
+ value: string;
3474
+ currency: string;
3475
+ convertedFromCurrency?: string | undefined;
3476
+ convertedFromValue?: string | undefined;
3477
+ exchangeRate?: string | undefined;
3478
+ } | undefined;
3479
+ legacyReference?: {
3480
+ legacyItemId?: string | undefined;
3481
+ legacyTransactionId?: string | undefined;
3482
+ } | undefined;
3483
+ }[] | undefined;
3484
+ orderLevelRefundAmount?: {
3485
+ value: string;
3486
+ currency: string;
3487
+ convertedFromCurrency?: string | undefined;
3488
+ convertedFromValue?: string | undefined;
3489
+ exchangeRate?: string | undefined;
3490
+ } | undefined;
3491
+ }, {
3492
+ reasonForRefund: ReasonForRefund;
3493
+ comment?: string | undefined;
3494
+ refundItems?: {
3495
+ lineItemId: string;
3496
+ refundAmount?: {
3497
+ value: string;
3498
+ currency: string;
3499
+ convertedFromCurrency?: string | undefined;
3500
+ convertedFromValue?: string | undefined;
3501
+ exchangeRate?: string | undefined;
3502
+ } | undefined;
3503
+ legacyReference?: {
3504
+ legacyItemId?: string | undefined;
3505
+ legacyTransactionId?: string | undefined;
3506
+ } | undefined;
3507
+ }[] | undefined;
3508
+ orderLevelRefundAmount?: {
3509
+ value: string;
3510
+ currency: string;
3511
+ convertedFromCurrency?: string | undefined;
3512
+ convertedFromValue?: string | undefined;
3513
+ exchangeRate?: string | undefined;
3514
+ } | undefined;
3515
+ }>;
3516
+ }, "strip", z.ZodTypeAny, {
3517
+ orderId: string;
3518
+ refundData: {
3519
+ reasonForRefund: ReasonForRefund;
3520
+ comment?: string | undefined;
3521
+ refundItems?: {
3522
+ lineItemId: string;
3523
+ refundAmount?: {
3524
+ value: string;
3525
+ currency: string;
3526
+ convertedFromCurrency?: string | undefined;
3527
+ convertedFromValue?: string | undefined;
3528
+ exchangeRate?: string | undefined;
3529
+ } | undefined;
3530
+ legacyReference?: {
3531
+ legacyItemId?: string | undefined;
3532
+ legacyTransactionId?: string | undefined;
3533
+ } | undefined;
3534
+ }[] | undefined;
3535
+ orderLevelRefundAmount?: {
3536
+ value: string;
3537
+ currency: string;
3538
+ convertedFromCurrency?: string | undefined;
3539
+ convertedFromValue?: string | undefined;
3540
+ exchangeRate?: string | undefined;
3541
+ } | undefined;
3542
+ };
3543
+ }, {
3544
+ orderId: string;
3545
+ refundData: {
3546
+ reasonForRefund: ReasonForRefund;
3547
+ comment?: string | undefined;
3548
+ refundItems?: {
3549
+ lineItemId: string;
3550
+ refundAmount?: {
3551
+ value: string;
3552
+ currency: string;
3553
+ convertedFromCurrency?: string | undefined;
3554
+ convertedFromValue?: string | undefined;
3555
+ exchangeRate?: string | undefined;
3556
+ } | undefined;
3557
+ legacyReference?: {
3558
+ legacyItemId?: string | undefined;
3559
+ legacyTransactionId?: string | undefined;
3560
+ } | undefined;
3561
+ }[] | undefined;
3562
+ orderLevelRefundAmount?: {
3563
+ value: string;
3564
+ currency: string;
3565
+ convertedFromCurrency?: string | undefined;
3566
+ convertedFromValue?: string | undefined;
3567
+ exchangeRate?: string | undefined;
3568
+ } | undefined;
3569
+ };
3570
+ }>;
3571
+ export declare const issueRefundOutputSchema: z.ZodObject<{
3572
+ refundId: z.ZodOptional<z.ZodString>;
3573
+ refundStatus: z.ZodOptional<z.ZodString>;
3574
+ warnings: z.ZodOptional<z.ZodArray<z.ZodObject<{
3575
+ errorId: z.ZodOptional<z.ZodNumber>;
3576
+ domain: z.ZodOptional<z.ZodString>;
3577
+ category: z.ZodOptional<z.ZodString>;
3578
+ message: z.ZodOptional<z.ZodString>;
3579
+ longMessage: z.ZodOptional<z.ZodString>;
3580
+ parameters: z.ZodOptional<z.ZodArray<z.ZodObject<{
3581
+ name: z.ZodOptional<z.ZodString>;
3582
+ value: z.ZodOptional<z.ZodString>;
3583
+ }, "strip", z.ZodTypeAny, {
3584
+ name?: string | undefined;
3585
+ value?: string | undefined;
3586
+ }, {
3587
+ name?: string | undefined;
3588
+ value?: string | undefined;
3589
+ }>, "many">>;
3590
+ }, "strip", z.ZodTypeAny, {
3591
+ message?: string | undefined;
3592
+ errorId?: number | undefined;
3593
+ domain?: string | undefined;
3594
+ category?: string | undefined;
3595
+ longMessage?: string | undefined;
3596
+ parameters?: {
3597
+ name?: string | undefined;
3598
+ value?: string | undefined;
3599
+ }[] | undefined;
3600
+ }, {
3601
+ message?: string | undefined;
3602
+ errorId?: number | undefined;
3603
+ domain?: string | undefined;
3604
+ category?: string | undefined;
3605
+ longMessage?: string | undefined;
3606
+ parameters?: {
3607
+ name?: string | undefined;
3608
+ value?: string | undefined;
3609
+ }[] | undefined;
3610
+ }>, "many">>;
3611
+ }, "strip", z.ZodTypeAny, {
3612
+ warnings?: {
3613
+ message?: string | undefined;
3614
+ errorId?: number | undefined;
3615
+ domain?: string | undefined;
3616
+ category?: string | undefined;
3617
+ longMessage?: string | undefined;
3618
+ parameters?: {
3619
+ name?: string | undefined;
3620
+ value?: string | undefined;
3621
+ }[] | undefined;
3622
+ }[] | undefined;
3623
+ refundId?: string | undefined;
3624
+ refundStatus?: string | undefined;
3625
+ }, {
3626
+ warnings?: {
3627
+ message?: string | undefined;
3628
+ errorId?: number | undefined;
3629
+ domain?: string | undefined;
3630
+ category?: string | undefined;
3631
+ longMessage?: string | undefined;
3632
+ parameters?: {
3633
+ name?: string | undefined;
3634
+ value?: string | undefined;
3635
+ }[] | undefined;
3636
+ }[] | undefined;
3637
+ refundId?: string | undefined;
3638
+ refundStatus?: string | undefined;
3639
+ }>;
3640
+ export declare const getPaymentDisputesInputSchema: z.ZodObject<{
3641
+ orderIds: z.ZodOptional<z.ZodString>;
3642
+ buyerUsername: z.ZodOptional<z.ZodString>;
3643
+ openDateFrom: z.ZodOptional<z.ZodString>;
3644
+ openDateTo: z.ZodOptional<z.ZodString>;
3645
+ limit: z.ZodOptional<z.ZodNumber>;
3646
+ offset: z.ZodOptional<z.ZodNumber>;
3647
+ }, "strip", z.ZodTypeAny, {
3648
+ limit?: number | undefined;
3649
+ offset?: number | undefined;
3650
+ orderIds?: string | undefined;
3651
+ buyerUsername?: string | undefined;
3652
+ openDateFrom?: string | undefined;
3653
+ openDateTo?: string | undefined;
3654
+ }, {
3655
+ limit?: number | undefined;
3656
+ offset?: number | undefined;
3657
+ orderIds?: string | undefined;
3658
+ buyerUsername?: string | undefined;
3659
+ openDateFrom?: string | undefined;
3660
+ openDateTo?: string | undefined;
3661
+ }>;
3662
+ export declare const getPaymentDisputesOutputSchema: z.ZodObject<{
3663
+ paymentDisputes: z.ZodOptional<z.ZodArray<z.ZodObject<{
3664
+ paymentDisputeId: z.ZodOptional<z.ZodString>;
3665
+ orderId: z.ZodOptional<z.ZodString>;
3666
+ openDate: z.ZodOptional<z.ZodString>;
3667
+ respondByDate: z.ZodOptional<z.ZodString>;
3668
+ status: z.ZodOptional<z.ZodString>;
3669
+ reason: z.ZodOptional<z.ZodString>;
3670
+ amount: z.ZodOptional<z.ZodObject<{
3671
+ currency: z.ZodString;
3672
+ value: z.ZodString;
3673
+ convertedFromCurrency: z.ZodOptional<z.ZodString>;
3674
+ convertedFromValue: z.ZodOptional<z.ZodString>;
3675
+ exchangeRate: z.ZodOptional<z.ZodString>;
3676
+ }, "strip", z.ZodTypeAny, {
3677
+ value: string;
3678
+ currency: string;
3679
+ convertedFromCurrency?: string | undefined;
3680
+ convertedFromValue?: string | undefined;
3681
+ exchangeRate?: string | undefined;
3682
+ }, {
3683
+ value: string;
3684
+ currency: string;
3685
+ convertedFromCurrency?: string | undefined;
3686
+ convertedFromValue?: string | undefined;
3687
+ exchangeRate?: string | undefined;
3688
+ }>>;
3689
+ buyer: z.ZodOptional<z.ZodObject<{
3690
+ username: z.ZodOptional<z.ZodString>;
3691
+ taxAddress: z.ZodOptional<z.ZodObject<{
3692
+ addressLine1: z.ZodOptional<z.ZodString>;
3693
+ addressLine2: z.ZodOptional<z.ZodString>;
3694
+ city: z.ZodOptional<z.ZodString>;
3695
+ stateOrProvince: z.ZodOptional<z.ZodString>;
3696
+ postalCode: z.ZodOptional<z.ZodString>;
3697
+ countryCode: z.ZodOptional<z.ZodString>;
3698
+ }, "strip", z.ZodTypeAny, {
3699
+ addressLine1?: string | undefined;
3700
+ addressLine2?: string | undefined;
3701
+ city?: string | undefined;
3702
+ stateOrProvince?: string | undefined;
3703
+ postalCode?: string | undefined;
3704
+ countryCode?: string | undefined;
3705
+ }, {
3706
+ addressLine1?: string | undefined;
3707
+ addressLine2?: string | undefined;
3708
+ city?: string | undefined;
3709
+ stateOrProvince?: string | undefined;
3710
+ postalCode?: string | undefined;
3711
+ countryCode?: string | undefined;
3712
+ }>>;
3713
+ taxIdentifier: z.ZodOptional<z.ZodObject<{
3714
+ taxpayerId: z.ZodOptional<z.ZodString>;
3715
+ taxIdentifierType: z.ZodOptional<z.ZodString>;
3716
+ issuingCountry: z.ZodOptional<z.ZodString>;
3717
+ }, "strip", z.ZodTypeAny, {
3718
+ taxpayerId?: string | undefined;
3719
+ taxIdentifierType?: string | undefined;
3720
+ issuingCountry?: string | undefined;
3721
+ }, {
3722
+ taxpayerId?: string | undefined;
3723
+ taxIdentifierType?: string | undefined;
3724
+ issuingCountry?: string | undefined;
3725
+ }>>;
3726
+ }, "strip", z.ZodTypeAny, {
3727
+ username?: string | undefined;
3728
+ taxAddress?: {
3729
+ addressLine1?: string | undefined;
3730
+ addressLine2?: string | undefined;
3731
+ city?: string | undefined;
3732
+ stateOrProvince?: string | undefined;
3733
+ postalCode?: string | undefined;
3734
+ countryCode?: string | undefined;
3735
+ } | undefined;
3736
+ taxIdentifier?: {
3737
+ taxpayerId?: string | undefined;
3738
+ taxIdentifierType?: string | undefined;
3739
+ issuingCountry?: string | undefined;
3740
+ } | undefined;
3741
+ }, {
3742
+ username?: string | undefined;
3743
+ taxAddress?: {
3744
+ addressLine1?: string | undefined;
3745
+ addressLine2?: string | undefined;
3746
+ city?: string | undefined;
3747
+ stateOrProvince?: string | undefined;
3748
+ postalCode?: string | undefined;
3749
+ countryCode?: string | undefined;
3750
+ } | undefined;
3751
+ taxIdentifier?: {
3752
+ taxpayerId?: string | undefined;
3753
+ taxIdentifierType?: string | undefined;
3754
+ issuingCountry?: string | undefined;
3755
+ } | undefined;
3756
+ }>>;
3757
+ lineItems: z.ZodOptional<z.ZodArray<z.ZodObject<{
3758
+ lineItemId: z.ZodOptional<z.ZodString>;
3759
+ legacyItemId: z.ZodOptional<z.ZodString>;
3760
+ legacyVariationId: z.ZodOptional<z.ZodString>;
3761
+ sku: z.ZodOptional<z.ZodString>;
3762
+ title: z.ZodOptional<z.ZodString>;
3763
+ quantity: z.ZodOptional<z.ZodNumber>;
3764
+ lineItemCost: z.ZodOptional<z.ZodObject<{
3765
+ currency: z.ZodString;
3766
+ value: z.ZodString;
3767
+ convertedFromCurrency: z.ZodOptional<z.ZodString>;
3768
+ convertedFromValue: z.ZodOptional<z.ZodString>;
3769
+ exchangeRate: z.ZodOptional<z.ZodString>;
3770
+ }, "strip", z.ZodTypeAny, {
3771
+ value: string;
3772
+ currency: string;
3773
+ convertedFromCurrency?: string | undefined;
3774
+ convertedFromValue?: string | undefined;
3775
+ exchangeRate?: string | undefined;
3776
+ }, {
3777
+ value: string;
3778
+ currency: string;
3779
+ convertedFromCurrency?: string | undefined;
3780
+ convertedFromValue?: string | undefined;
3781
+ exchangeRate?: string | undefined;
3782
+ }>>;
3783
+ lineItemFulfillmentStatus: z.ZodOptional<z.ZodString>;
3784
+ lineItemFulfillmentInstructions: z.ZodOptional<z.ZodObject<{
3785
+ guaranteedDelivery: z.ZodOptional<z.ZodBoolean>;
3786
+ minEstimatedDeliveryDate: z.ZodOptional<z.ZodString>;
3787
+ maxEstimatedDeliveryDate: z.ZodOptional<z.ZodString>;
3788
+ shipByDate: z.ZodOptional<z.ZodString>;
3789
+ }, "strip", z.ZodTypeAny, {
3790
+ guaranteedDelivery?: boolean | undefined;
3791
+ minEstimatedDeliveryDate?: string | undefined;
3792
+ maxEstimatedDeliveryDate?: string | undefined;
3793
+ shipByDate?: string | undefined;
3794
+ }, {
3795
+ guaranteedDelivery?: boolean | undefined;
3796
+ minEstimatedDeliveryDate?: string | undefined;
3797
+ maxEstimatedDeliveryDate?: string | undefined;
3798
+ shipByDate?: string | undefined;
3799
+ }>>;
3800
+ total: z.ZodOptional<z.ZodObject<{
3801
+ currency: z.ZodString;
3802
+ value: z.ZodString;
3803
+ convertedFromCurrency: z.ZodOptional<z.ZodString>;
3804
+ convertedFromValue: z.ZodOptional<z.ZodString>;
3805
+ exchangeRate: z.ZodOptional<z.ZodString>;
3806
+ }, "strip", z.ZodTypeAny, {
3807
+ value: string;
3808
+ currency: string;
3809
+ convertedFromCurrency?: string | undefined;
3810
+ convertedFromValue?: string | undefined;
3811
+ exchangeRate?: string | undefined;
3812
+ }, {
3813
+ value: string;
3814
+ currency: string;
3815
+ convertedFromCurrency?: string | undefined;
3816
+ convertedFromValue?: string | undefined;
3817
+ exchangeRate?: string | undefined;
3818
+ }>>;
3819
+ deliveryCost: z.ZodOptional<z.ZodObject<{
3820
+ currency: z.ZodString;
3821
+ value: z.ZodString;
3822
+ convertedFromCurrency: z.ZodOptional<z.ZodString>;
3823
+ convertedFromValue: z.ZodOptional<z.ZodString>;
3824
+ exchangeRate: z.ZodOptional<z.ZodString>;
3825
+ }, "strip", z.ZodTypeAny, {
3826
+ value: string;
3827
+ currency: string;
3828
+ convertedFromCurrency?: string | undefined;
3829
+ convertedFromValue?: string | undefined;
3830
+ exchangeRate?: string | undefined;
3831
+ }, {
3832
+ value: string;
3833
+ currency: string;
3834
+ convertedFromCurrency?: string | undefined;
3835
+ convertedFromValue?: string | undefined;
3836
+ exchangeRate?: string | undefined;
3837
+ }>>;
3838
+ taxes: z.ZodOptional<z.ZodArray<z.ZodObject<{
3839
+ taxType: z.ZodOptional<z.ZodString>;
3840
+ amount: z.ZodOptional<z.ZodObject<{
3841
+ currency: z.ZodString;
3842
+ value: z.ZodString;
3843
+ convertedFromCurrency: z.ZodOptional<z.ZodString>;
3844
+ convertedFromValue: z.ZodOptional<z.ZodString>;
3845
+ exchangeRate: z.ZodOptional<z.ZodString>;
3846
+ }, "strip", z.ZodTypeAny, {
3847
+ value: string;
3848
+ currency: string;
3849
+ convertedFromCurrency?: string | undefined;
3850
+ convertedFromValue?: string | undefined;
3851
+ exchangeRate?: string | undefined;
3852
+ }, {
3853
+ value: string;
3854
+ currency: string;
3855
+ convertedFromCurrency?: string | undefined;
3856
+ convertedFromValue?: string | undefined;
3857
+ exchangeRate?: string | undefined;
3858
+ }>>;
3859
+ }, "strip", z.ZodTypeAny, {
3860
+ amount?: {
3861
+ value: string;
3862
+ currency: string;
3863
+ convertedFromCurrency?: string | undefined;
3864
+ convertedFromValue?: string | undefined;
3865
+ exchangeRate?: string | undefined;
3866
+ } | undefined;
3867
+ taxType?: string | undefined;
3868
+ }, {
3869
+ amount?: {
3870
+ value: string;
3871
+ currency: string;
3872
+ convertedFromCurrency?: string | undefined;
3873
+ convertedFromValue?: string | undefined;
3874
+ exchangeRate?: string | undefined;
3875
+ } | undefined;
3876
+ taxType?: string | undefined;
3877
+ }>, "many">>;
3878
+ itemLocation: z.ZodOptional<z.ZodObject<{
3879
+ addressLine1: z.ZodOptional<z.ZodString>;
3880
+ addressLine2: z.ZodOptional<z.ZodString>;
3881
+ city: z.ZodOptional<z.ZodString>;
3882
+ stateOrProvince: z.ZodOptional<z.ZodString>;
3883
+ postalCode: z.ZodOptional<z.ZodString>;
3884
+ countryCode: z.ZodOptional<z.ZodString>;
3885
+ }, "strip", z.ZodTypeAny, {
3886
+ addressLine1?: string | undefined;
3887
+ addressLine2?: string | undefined;
3888
+ city?: string | undefined;
3889
+ stateOrProvince?: string | undefined;
3890
+ postalCode?: string | undefined;
3891
+ countryCode?: string | undefined;
3892
+ }, {
3893
+ addressLine1?: string | undefined;
3894
+ addressLine2?: string | undefined;
3895
+ city?: string | undefined;
3896
+ stateOrProvince?: string | undefined;
3897
+ postalCode?: string | undefined;
3898
+ countryCode?: string | undefined;
3899
+ }>>;
3900
+ properties: z.ZodOptional<z.ZodObject<{
3901
+ soldViaAdCampaign: z.ZodOptional<z.ZodBoolean>;
3902
+ buyerProtection: z.ZodOptional<z.ZodBoolean>;
3903
+ }, "strip", z.ZodTypeAny, {
3904
+ soldViaAdCampaign?: boolean | undefined;
3905
+ buyerProtection?: boolean | undefined;
3906
+ }, {
3907
+ soldViaAdCampaign?: boolean | undefined;
3908
+ buyerProtection?: boolean | undefined;
3909
+ }>>;
3910
+ purchaseMarketplaceId: z.ZodOptional<z.ZodString>;
3911
+ }, "strip", z.ZodTypeAny, {
3912
+ title?: string | undefined;
3913
+ sku?: string | undefined;
3914
+ properties?: {
3915
+ soldViaAdCampaign?: boolean | undefined;
3916
+ buyerProtection?: boolean | undefined;
3917
+ } | undefined;
3918
+ quantity?: number | undefined;
3919
+ lineItemId?: string | undefined;
3920
+ legacyItemId?: string | undefined;
3921
+ total?: {
3922
+ value: string;
3923
+ currency: string;
3924
+ convertedFromCurrency?: string | undefined;
3925
+ convertedFromValue?: string | undefined;
3926
+ exchangeRate?: string | undefined;
3927
+ } | undefined;
3928
+ legacyVariationId?: string | undefined;
3929
+ lineItemCost?: {
3930
+ value: string;
3931
+ currency: string;
3932
+ convertedFromCurrency?: string | undefined;
3933
+ convertedFromValue?: string | undefined;
3934
+ exchangeRate?: string | undefined;
3935
+ } | undefined;
3936
+ lineItemFulfillmentStatus?: string | undefined;
3937
+ lineItemFulfillmentInstructions?: {
3938
+ guaranteedDelivery?: boolean | undefined;
3939
+ minEstimatedDeliveryDate?: string | undefined;
3940
+ maxEstimatedDeliveryDate?: string | undefined;
3941
+ shipByDate?: string | undefined;
3942
+ } | undefined;
3943
+ deliveryCost?: {
3944
+ value: string;
3945
+ currency: string;
3946
+ convertedFromCurrency?: string | undefined;
3947
+ convertedFromValue?: string | undefined;
3948
+ exchangeRate?: string | undefined;
3949
+ } | undefined;
3950
+ taxes?: {
3951
+ amount?: {
3952
+ value: string;
3953
+ currency: string;
3954
+ convertedFromCurrency?: string | undefined;
3955
+ convertedFromValue?: string | undefined;
3956
+ exchangeRate?: string | undefined;
3957
+ } | undefined;
3958
+ taxType?: string | undefined;
3959
+ }[] | undefined;
3960
+ itemLocation?: {
3961
+ addressLine1?: string | undefined;
3962
+ addressLine2?: string | undefined;
3963
+ city?: string | undefined;
3964
+ stateOrProvince?: string | undefined;
3965
+ postalCode?: string | undefined;
3966
+ countryCode?: string | undefined;
3967
+ } | undefined;
3968
+ purchaseMarketplaceId?: string | undefined;
3969
+ }, {
3970
+ title?: string | undefined;
3971
+ sku?: string | undefined;
3972
+ properties?: {
3973
+ soldViaAdCampaign?: boolean | undefined;
3974
+ buyerProtection?: boolean | undefined;
3975
+ } | undefined;
3976
+ quantity?: number | undefined;
3977
+ lineItemId?: string | undefined;
3978
+ legacyItemId?: string | undefined;
3979
+ total?: {
3980
+ value: string;
3981
+ currency: string;
3982
+ convertedFromCurrency?: string | undefined;
3983
+ convertedFromValue?: string | undefined;
3984
+ exchangeRate?: string | undefined;
3985
+ } | undefined;
3986
+ legacyVariationId?: string | undefined;
3987
+ lineItemCost?: {
3988
+ value: string;
3989
+ currency: string;
3990
+ convertedFromCurrency?: string | undefined;
3991
+ convertedFromValue?: string | undefined;
3992
+ exchangeRate?: string | undefined;
3993
+ } | undefined;
3994
+ lineItemFulfillmentStatus?: string | undefined;
3995
+ lineItemFulfillmentInstructions?: {
3996
+ guaranteedDelivery?: boolean | undefined;
3997
+ minEstimatedDeliveryDate?: string | undefined;
3998
+ maxEstimatedDeliveryDate?: string | undefined;
3999
+ shipByDate?: string | undefined;
4000
+ } | undefined;
4001
+ deliveryCost?: {
4002
+ value: string;
4003
+ currency: string;
4004
+ convertedFromCurrency?: string | undefined;
4005
+ convertedFromValue?: string | undefined;
4006
+ exchangeRate?: string | undefined;
4007
+ } | undefined;
4008
+ taxes?: {
4009
+ amount?: {
4010
+ value: string;
4011
+ currency: string;
4012
+ convertedFromCurrency?: string | undefined;
4013
+ convertedFromValue?: string | undefined;
4014
+ exchangeRate?: string | undefined;
4015
+ } | undefined;
4016
+ taxType?: string | undefined;
4017
+ }[] | undefined;
4018
+ itemLocation?: {
4019
+ addressLine1?: string | undefined;
4020
+ addressLine2?: string | undefined;
4021
+ city?: string | undefined;
4022
+ stateOrProvince?: string | undefined;
4023
+ postalCode?: string | undefined;
4024
+ countryCode?: string | undefined;
4025
+ } | undefined;
4026
+ purchaseMarketplaceId?: string | undefined;
4027
+ }>, "many">>;
4028
+ evidence: z.ZodOptional<z.ZodArray<z.ZodObject<{
4029
+ evidenceId: z.ZodOptional<z.ZodString>;
4030
+ evidenceType: z.ZodOptional<z.ZodString>;
4031
+ files: z.ZodOptional<z.ZodArray<z.ZodObject<{
4032
+ fileId: z.ZodOptional<z.ZodString>;
4033
+ name: z.ZodOptional<z.ZodString>;
4034
+ uploadedDate: z.ZodOptional<z.ZodString>;
4035
+ }, "strip", z.ZodTypeAny, {
4036
+ name?: string | undefined;
4037
+ fileId?: string | undefined;
4038
+ uploadedDate?: string | undefined;
4039
+ }, {
4040
+ name?: string | undefined;
4041
+ fileId?: string | undefined;
4042
+ uploadedDate?: string | undefined;
4043
+ }>, "many">>;
4044
+ lineItems: z.ZodOptional<z.ZodArray<z.ZodObject<{
4045
+ lineItemId: z.ZodOptional<z.ZodString>;
4046
+ }, "strip", z.ZodTypeAny, {
4047
+ lineItemId?: string | undefined;
4048
+ }, {
4049
+ lineItemId?: string | undefined;
4050
+ }>, "many">>;
4051
+ }, "strip", z.ZodTypeAny, {
4052
+ lineItems?: {
4053
+ lineItemId?: string | undefined;
4054
+ }[] | undefined;
4055
+ evidenceId?: string | undefined;
4056
+ evidenceType?: string | undefined;
4057
+ files?: {
4058
+ name?: string | undefined;
4059
+ fileId?: string | undefined;
4060
+ uploadedDate?: string | undefined;
4061
+ }[] | undefined;
4062
+ }, {
4063
+ lineItems?: {
4064
+ lineItemId?: string | undefined;
4065
+ }[] | undefined;
4066
+ evidenceId?: string | undefined;
4067
+ evidenceType?: string | undefined;
4068
+ files?: {
4069
+ name?: string | undefined;
4070
+ fileId?: string | undefined;
4071
+ uploadedDate?: string | undefined;
4072
+ }[] | undefined;
4073
+ }>, "many">>;
4074
+ }, "strip", z.ZodTypeAny, {
4075
+ status?: string | undefined;
4076
+ lineItems?: {
4077
+ title?: string | undefined;
4078
+ sku?: string | undefined;
4079
+ properties?: {
4080
+ soldViaAdCampaign?: boolean | undefined;
4081
+ buyerProtection?: boolean | undefined;
4082
+ } | undefined;
4083
+ quantity?: number | undefined;
4084
+ lineItemId?: string | undefined;
4085
+ legacyItemId?: string | undefined;
4086
+ total?: {
4087
+ value: string;
4088
+ currency: string;
4089
+ convertedFromCurrency?: string | undefined;
4090
+ convertedFromValue?: string | undefined;
4091
+ exchangeRate?: string | undefined;
4092
+ } | undefined;
4093
+ legacyVariationId?: string | undefined;
4094
+ lineItemCost?: {
4095
+ value: string;
4096
+ currency: string;
4097
+ convertedFromCurrency?: string | undefined;
4098
+ convertedFromValue?: string | undefined;
4099
+ exchangeRate?: string | undefined;
4100
+ } | undefined;
4101
+ lineItemFulfillmentStatus?: string | undefined;
4102
+ lineItemFulfillmentInstructions?: {
4103
+ guaranteedDelivery?: boolean | undefined;
4104
+ minEstimatedDeliveryDate?: string | undefined;
4105
+ maxEstimatedDeliveryDate?: string | undefined;
4106
+ shipByDate?: string | undefined;
4107
+ } | undefined;
4108
+ deliveryCost?: {
4109
+ value: string;
4110
+ currency: string;
4111
+ convertedFromCurrency?: string | undefined;
4112
+ convertedFromValue?: string | undefined;
4113
+ exchangeRate?: string | undefined;
4114
+ } | undefined;
4115
+ taxes?: {
4116
+ amount?: {
4117
+ value: string;
4118
+ currency: string;
4119
+ convertedFromCurrency?: string | undefined;
4120
+ convertedFromValue?: string | undefined;
4121
+ exchangeRate?: string | undefined;
4122
+ } | undefined;
4123
+ taxType?: string | undefined;
4124
+ }[] | undefined;
4125
+ itemLocation?: {
4126
+ addressLine1?: string | undefined;
4127
+ addressLine2?: string | undefined;
4128
+ city?: string | undefined;
4129
+ stateOrProvince?: string | undefined;
4130
+ postalCode?: string | undefined;
4131
+ countryCode?: string | undefined;
4132
+ } | undefined;
4133
+ purchaseMarketplaceId?: string | undefined;
4134
+ }[] | undefined;
4135
+ amount?: {
4136
+ value: string;
4137
+ currency: string;
4138
+ convertedFromCurrency?: string | undefined;
4139
+ convertedFromValue?: string | undefined;
4140
+ exchangeRate?: string | undefined;
4141
+ } | undefined;
4142
+ orderId?: string | undefined;
4143
+ buyer?: {
4144
+ username?: string | undefined;
4145
+ taxAddress?: {
4146
+ addressLine1?: string | undefined;
4147
+ addressLine2?: string | undefined;
4148
+ city?: string | undefined;
4149
+ stateOrProvince?: string | undefined;
4150
+ postalCode?: string | undefined;
4151
+ countryCode?: string | undefined;
4152
+ } | undefined;
4153
+ taxIdentifier?: {
4154
+ taxpayerId?: string | undefined;
4155
+ taxIdentifierType?: string | undefined;
4156
+ issuingCountry?: string | undefined;
4157
+ } | undefined;
4158
+ } | undefined;
4159
+ paymentDisputeId?: string | undefined;
4160
+ openDate?: string | undefined;
4161
+ respondByDate?: string | undefined;
4162
+ reason?: string | undefined;
4163
+ evidence?: {
4164
+ lineItems?: {
4165
+ lineItemId?: string | undefined;
4166
+ }[] | undefined;
4167
+ evidenceId?: string | undefined;
4168
+ evidenceType?: string | undefined;
4169
+ files?: {
4170
+ name?: string | undefined;
4171
+ fileId?: string | undefined;
4172
+ uploadedDate?: string | undefined;
4173
+ }[] | undefined;
4174
+ }[] | undefined;
4175
+ }, {
4176
+ status?: string | undefined;
4177
+ lineItems?: {
4178
+ title?: string | undefined;
4179
+ sku?: string | undefined;
4180
+ properties?: {
4181
+ soldViaAdCampaign?: boolean | undefined;
4182
+ buyerProtection?: boolean | undefined;
4183
+ } | undefined;
4184
+ quantity?: number | undefined;
4185
+ lineItemId?: string | undefined;
4186
+ legacyItemId?: string | undefined;
4187
+ total?: {
4188
+ value: string;
4189
+ currency: string;
4190
+ convertedFromCurrency?: string | undefined;
4191
+ convertedFromValue?: string | undefined;
4192
+ exchangeRate?: string | undefined;
4193
+ } | undefined;
4194
+ legacyVariationId?: string | undefined;
4195
+ lineItemCost?: {
4196
+ value: string;
4197
+ currency: string;
4198
+ convertedFromCurrency?: string | undefined;
4199
+ convertedFromValue?: string | undefined;
4200
+ exchangeRate?: string | undefined;
4201
+ } | undefined;
4202
+ lineItemFulfillmentStatus?: string | undefined;
4203
+ lineItemFulfillmentInstructions?: {
4204
+ guaranteedDelivery?: boolean | undefined;
4205
+ minEstimatedDeliveryDate?: string | undefined;
4206
+ maxEstimatedDeliveryDate?: string | undefined;
4207
+ shipByDate?: string | undefined;
4208
+ } | undefined;
4209
+ deliveryCost?: {
4210
+ value: string;
4211
+ currency: string;
4212
+ convertedFromCurrency?: string | undefined;
4213
+ convertedFromValue?: string | undefined;
4214
+ exchangeRate?: string | undefined;
4215
+ } | undefined;
4216
+ taxes?: {
4217
+ amount?: {
4218
+ value: string;
4219
+ currency: string;
4220
+ convertedFromCurrency?: string | undefined;
4221
+ convertedFromValue?: string | undefined;
4222
+ exchangeRate?: string | undefined;
4223
+ } | undefined;
4224
+ taxType?: string | undefined;
4225
+ }[] | undefined;
4226
+ itemLocation?: {
4227
+ addressLine1?: string | undefined;
4228
+ addressLine2?: string | undefined;
4229
+ city?: string | undefined;
4230
+ stateOrProvince?: string | undefined;
4231
+ postalCode?: string | undefined;
4232
+ countryCode?: string | undefined;
4233
+ } | undefined;
4234
+ purchaseMarketplaceId?: string | undefined;
4235
+ }[] | undefined;
4236
+ amount?: {
4237
+ value: string;
4238
+ currency: string;
4239
+ convertedFromCurrency?: string | undefined;
4240
+ convertedFromValue?: string | undefined;
4241
+ exchangeRate?: string | undefined;
4242
+ } | undefined;
4243
+ orderId?: string | undefined;
4244
+ buyer?: {
4245
+ username?: string | undefined;
4246
+ taxAddress?: {
4247
+ addressLine1?: string | undefined;
4248
+ addressLine2?: string | undefined;
4249
+ city?: string | undefined;
4250
+ stateOrProvince?: string | undefined;
4251
+ postalCode?: string | undefined;
4252
+ countryCode?: string | undefined;
4253
+ } | undefined;
4254
+ taxIdentifier?: {
4255
+ taxpayerId?: string | undefined;
4256
+ taxIdentifierType?: string | undefined;
4257
+ issuingCountry?: string | undefined;
4258
+ } | undefined;
4259
+ } | undefined;
4260
+ paymentDisputeId?: string | undefined;
4261
+ openDate?: string | undefined;
4262
+ respondByDate?: string | undefined;
4263
+ reason?: string | undefined;
4264
+ evidence?: {
4265
+ lineItems?: {
4266
+ lineItemId?: string | undefined;
4267
+ }[] | undefined;
4268
+ evidenceId?: string | undefined;
4269
+ evidenceType?: string | undefined;
4270
+ files?: {
4271
+ name?: string | undefined;
4272
+ fileId?: string | undefined;
4273
+ uploadedDate?: string | undefined;
4274
+ }[] | undefined;
4275
+ }[] | undefined;
4276
+ }>, "many">>;
4277
+ href: z.ZodOptional<z.ZodString>;
4278
+ limit: z.ZodOptional<z.ZodNumber>;
4279
+ next: z.ZodOptional<z.ZodString>;
4280
+ offset: z.ZodOptional<z.ZodNumber>;
4281
+ prev: z.ZodOptional<z.ZodString>;
4282
+ total: z.ZodOptional<z.ZodNumber>;
4283
+ warnings: z.ZodOptional<z.ZodArray<z.ZodObject<{
4284
+ errorId: z.ZodOptional<z.ZodNumber>;
4285
+ domain: z.ZodOptional<z.ZodString>;
4286
+ category: z.ZodOptional<z.ZodString>;
4287
+ message: z.ZodOptional<z.ZodString>;
4288
+ longMessage: z.ZodOptional<z.ZodString>;
4289
+ parameters: z.ZodOptional<z.ZodArray<z.ZodObject<{
4290
+ name: z.ZodOptional<z.ZodString>;
4291
+ value: z.ZodOptional<z.ZodString>;
4292
+ }, "strip", z.ZodTypeAny, {
4293
+ name?: string | undefined;
4294
+ value?: string | undefined;
4295
+ }, {
4296
+ name?: string | undefined;
4297
+ value?: string | undefined;
4298
+ }>, "many">>;
4299
+ }, "strip", z.ZodTypeAny, {
4300
+ message?: string | undefined;
4301
+ errorId?: number | undefined;
4302
+ domain?: string | undefined;
4303
+ category?: string | undefined;
4304
+ longMessage?: string | undefined;
4305
+ parameters?: {
4306
+ name?: string | undefined;
4307
+ value?: string | undefined;
4308
+ }[] | undefined;
4309
+ }, {
4310
+ message?: string | undefined;
4311
+ errorId?: number | undefined;
4312
+ domain?: string | undefined;
4313
+ category?: string | undefined;
4314
+ longMessage?: string | undefined;
4315
+ parameters?: {
4316
+ name?: string | undefined;
4317
+ value?: string | undefined;
4318
+ }[] | undefined;
4319
+ }>, "many">>;
4320
+ }, "strip", z.ZodTypeAny, {
4321
+ limit?: number | undefined;
4322
+ offset?: number | undefined;
4323
+ href?: string | undefined;
4324
+ next?: string | undefined;
4325
+ prev?: string | undefined;
4326
+ total?: number | undefined;
4327
+ warnings?: {
4328
+ message?: string | undefined;
4329
+ errorId?: number | undefined;
4330
+ domain?: string | undefined;
4331
+ category?: string | undefined;
4332
+ longMessage?: string | undefined;
4333
+ parameters?: {
4334
+ name?: string | undefined;
4335
+ value?: string | undefined;
4336
+ }[] | undefined;
4337
+ }[] | undefined;
4338
+ paymentDisputes?: {
4339
+ status?: string | undefined;
4340
+ lineItems?: {
4341
+ title?: string | undefined;
4342
+ sku?: string | undefined;
4343
+ properties?: {
4344
+ soldViaAdCampaign?: boolean | undefined;
4345
+ buyerProtection?: boolean | undefined;
4346
+ } | undefined;
4347
+ quantity?: number | undefined;
4348
+ lineItemId?: string | undefined;
4349
+ legacyItemId?: string | undefined;
4350
+ total?: {
4351
+ value: string;
4352
+ currency: string;
4353
+ convertedFromCurrency?: string | undefined;
4354
+ convertedFromValue?: string | undefined;
4355
+ exchangeRate?: string | undefined;
4356
+ } | undefined;
4357
+ legacyVariationId?: string | undefined;
4358
+ lineItemCost?: {
4359
+ value: string;
4360
+ currency: string;
4361
+ convertedFromCurrency?: string | undefined;
4362
+ convertedFromValue?: string | undefined;
4363
+ exchangeRate?: string | undefined;
4364
+ } | undefined;
4365
+ lineItemFulfillmentStatus?: string | undefined;
4366
+ lineItemFulfillmentInstructions?: {
4367
+ guaranteedDelivery?: boolean | undefined;
4368
+ minEstimatedDeliveryDate?: string | undefined;
4369
+ maxEstimatedDeliveryDate?: string | undefined;
4370
+ shipByDate?: string | undefined;
4371
+ } | undefined;
4372
+ deliveryCost?: {
4373
+ value: string;
4374
+ currency: string;
4375
+ convertedFromCurrency?: string | undefined;
4376
+ convertedFromValue?: string | undefined;
4377
+ exchangeRate?: string | undefined;
4378
+ } | undefined;
4379
+ taxes?: {
4380
+ amount?: {
4381
+ value: string;
4382
+ currency: string;
4383
+ convertedFromCurrency?: string | undefined;
4384
+ convertedFromValue?: string | undefined;
4385
+ exchangeRate?: string | undefined;
4386
+ } | undefined;
4387
+ taxType?: string | undefined;
4388
+ }[] | undefined;
4389
+ itemLocation?: {
4390
+ addressLine1?: string | undefined;
4391
+ addressLine2?: string | undefined;
4392
+ city?: string | undefined;
4393
+ stateOrProvince?: string | undefined;
4394
+ postalCode?: string | undefined;
4395
+ countryCode?: string | undefined;
4396
+ } | undefined;
4397
+ purchaseMarketplaceId?: string | undefined;
4398
+ }[] | undefined;
4399
+ amount?: {
4400
+ value: string;
4401
+ currency: string;
4402
+ convertedFromCurrency?: string | undefined;
4403
+ convertedFromValue?: string | undefined;
4404
+ exchangeRate?: string | undefined;
4405
+ } | undefined;
4406
+ orderId?: string | undefined;
4407
+ buyer?: {
4408
+ username?: string | undefined;
4409
+ taxAddress?: {
4410
+ addressLine1?: string | undefined;
4411
+ addressLine2?: string | undefined;
4412
+ city?: string | undefined;
4413
+ stateOrProvince?: string | undefined;
4414
+ postalCode?: string | undefined;
4415
+ countryCode?: string | undefined;
4416
+ } | undefined;
4417
+ taxIdentifier?: {
4418
+ taxpayerId?: string | undefined;
4419
+ taxIdentifierType?: string | undefined;
4420
+ issuingCountry?: string | undefined;
4421
+ } | undefined;
4422
+ } | undefined;
4423
+ paymentDisputeId?: string | undefined;
4424
+ openDate?: string | undefined;
4425
+ respondByDate?: string | undefined;
4426
+ reason?: string | undefined;
4427
+ evidence?: {
4428
+ lineItems?: {
4429
+ lineItemId?: string | undefined;
4430
+ }[] | undefined;
4431
+ evidenceId?: string | undefined;
4432
+ evidenceType?: string | undefined;
4433
+ files?: {
4434
+ name?: string | undefined;
4435
+ fileId?: string | undefined;
4436
+ uploadedDate?: string | undefined;
4437
+ }[] | undefined;
4438
+ }[] | undefined;
4439
+ }[] | undefined;
4440
+ }, {
4441
+ limit?: number | undefined;
4442
+ offset?: number | undefined;
4443
+ href?: string | undefined;
4444
+ next?: string | undefined;
4445
+ prev?: string | undefined;
4446
+ total?: number | undefined;
4447
+ warnings?: {
4448
+ message?: string | undefined;
4449
+ errorId?: number | undefined;
4450
+ domain?: string | undefined;
4451
+ category?: string | undefined;
4452
+ longMessage?: string | undefined;
4453
+ parameters?: {
4454
+ name?: string | undefined;
4455
+ value?: string | undefined;
4456
+ }[] | undefined;
4457
+ }[] | undefined;
4458
+ paymentDisputes?: {
4459
+ status?: string | undefined;
4460
+ lineItems?: {
4461
+ title?: string | undefined;
4462
+ sku?: string | undefined;
4463
+ properties?: {
4464
+ soldViaAdCampaign?: boolean | undefined;
4465
+ buyerProtection?: boolean | undefined;
4466
+ } | undefined;
4467
+ quantity?: number | undefined;
4468
+ lineItemId?: string | undefined;
4469
+ legacyItemId?: string | undefined;
4470
+ total?: {
4471
+ value: string;
4472
+ currency: string;
4473
+ convertedFromCurrency?: string | undefined;
4474
+ convertedFromValue?: string | undefined;
4475
+ exchangeRate?: string | undefined;
4476
+ } | undefined;
4477
+ legacyVariationId?: string | undefined;
4478
+ lineItemCost?: {
4479
+ value: string;
4480
+ currency: string;
4481
+ convertedFromCurrency?: string | undefined;
4482
+ convertedFromValue?: string | undefined;
4483
+ exchangeRate?: string | undefined;
4484
+ } | undefined;
4485
+ lineItemFulfillmentStatus?: string | undefined;
4486
+ lineItemFulfillmentInstructions?: {
4487
+ guaranteedDelivery?: boolean | undefined;
4488
+ minEstimatedDeliveryDate?: string | undefined;
4489
+ maxEstimatedDeliveryDate?: string | undefined;
4490
+ shipByDate?: string | undefined;
4491
+ } | undefined;
4492
+ deliveryCost?: {
4493
+ value: string;
4494
+ currency: string;
4495
+ convertedFromCurrency?: string | undefined;
4496
+ convertedFromValue?: string | undefined;
4497
+ exchangeRate?: string | undefined;
4498
+ } | undefined;
4499
+ taxes?: {
4500
+ amount?: {
4501
+ value: string;
4502
+ currency: string;
4503
+ convertedFromCurrency?: string | undefined;
4504
+ convertedFromValue?: string | undefined;
4505
+ exchangeRate?: string | undefined;
4506
+ } | undefined;
4507
+ taxType?: string | undefined;
4508
+ }[] | undefined;
4509
+ itemLocation?: {
4510
+ addressLine1?: string | undefined;
4511
+ addressLine2?: string | undefined;
4512
+ city?: string | undefined;
4513
+ stateOrProvince?: string | undefined;
4514
+ postalCode?: string | undefined;
4515
+ countryCode?: string | undefined;
4516
+ } | undefined;
4517
+ purchaseMarketplaceId?: string | undefined;
4518
+ }[] | undefined;
4519
+ amount?: {
4520
+ value: string;
4521
+ currency: string;
4522
+ convertedFromCurrency?: string | undefined;
4523
+ convertedFromValue?: string | undefined;
4524
+ exchangeRate?: string | undefined;
4525
+ } | undefined;
4526
+ orderId?: string | undefined;
4527
+ buyer?: {
4528
+ username?: string | undefined;
4529
+ taxAddress?: {
4530
+ addressLine1?: string | undefined;
4531
+ addressLine2?: string | undefined;
4532
+ city?: string | undefined;
4533
+ stateOrProvince?: string | undefined;
4534
+ postalCode?: string | undefined;
4535
+ countryCode?: string | undefined;
4536
+ } | undefined;
4537
+ taxIdentifier?: {
4538
+ taxpayerId?: string | undefined;
4539
+ taxIdentifierType?: string | undefined;
4540
+ issuingCountry?: string | undefined;
4541
+ } | undefined;
4542
+ } | undefined;
4543
+ paymentDisputeId?: string | undefined;
4544
+ openDate?: string | undefined;
4545
+ respondByDate?: string | undefined;
4546
+ reason?: string | undefined;
4547
+ evidence?: {
4548
+ lineItems?: {
4549
+ lineItemId?: string | undefined;
4550
+ }[] | undefined;
4551
+ evidenceId?: string | undefined;
4552
+ evidenceType?: string | undefined;
4553
+ files?: {
4554
+ name?: string | undefined;
4555
+ fileId?: string | undefined;
4556
+ uploadedDate?: string | undefined;
4557
+ }[] | undefined;
4558
+ }[] | undefined;
4559
+ }[] | undefined;
4560
+ }>;
4561
+ /**
4562
+ * Convert Zod schemas to JSON Schema format for MCP tools
4563
+ */
4564
+ export declare function getFulfillmentJsonSchemas(): {
4565
+ getOrdersInput: import("zod-to-json-schema").JsonSchema7Type & {
4566
+ $schema?: string | undefined;
4567
+ definitions?: {
4568
+ [key: string]: import("zod-to-json-schema").JsonSchema7Type;
4569
+ } | undefined;
4570
+ };
4571
+ getOrdersOutput: import("zod-to-json-schema").JsonSchema7Type & {
4572
+ $schema?: string | undefined;
4573
+ definitions?: {
4574
+ [key: string]: import("zod-to-json-schema").JsonSchema7Type;
4575
+ } | undefined;
4576
+ };
4577
+ getOrderInput: import("zod-to-json-schema").JsonSchema7Type & {
4578
+ $schema?: string | undefined;
4579
+ definitions?: {
4580
+ [key: string]: import("zod-to-json-schema").JsonSchema7Type;
4581
+ } | undefined;
4582
+ };
4583
+ getOrderOutput: import("zod-to-json-schema").JsonSchema7Type & {
4584
+ $schema?: string | undefined;
4585
+ definitions?: {
4586
+ [key: string]: import("zod-to-json-schema").JsonSchema7Type;
4587
+ } | undefined;
4588
+ };
4589
+ orderDetails: import("zod-to-json-schema").JsonSchema7Type & {
4590
+ $schema?: string | undefined;
4591
+ definitions?: {
4592
+ [key: string]: import("zod-to-json-schema").JsonSchema7Type;
4593
+ } | undefined;
4594
+ };
4595
+ createShippingFulfillmentInput: import("zod-to-json-schema").JsonSchema7Type & {
4596
+ $schema?: string | undefined;
4597
+ definitions?: {
4598
+ [key: string]: import("zod-to-json-schema").JsonSchema7Type;
4599
+ } | undefined;
4600
+ };
4601
+ createShippingFulfillmentOutput: import("zod-to-json-schema").JsonSchema7Type & {
4602
+ $schema?: string | undefined;
4603
+ definitions?: {
4604
+ [key: string]: import("zod-to-json-schema").JsonSchema7Type;
4605
+ } | undefined;
4606
+ };
4607
+ getShippingFulfillmentsInput: import("zod-to-json-schema").JsonSchema7Type & {
4608
+ $schema?: string | undefined;
4609
+ definitions?: {
4610
+ [key: string]: import("zod-to-json-schema").JsonSchema7Type;
4611
+ } | undefined;
4612
+ };
4613
+ getShippingFulfillmentsOutput: import("zod-to-json-schema").JsonSchema7Type & {
4614
+ $schema?: string | undefined;
4615
+ definitions?: {
4616
+ [key: string]: import("zod-to-json-schema").JsonSchema7Type;
4617
+ } | undefined;
4618
+ };
4619
+ shippingFulfillmentDetails: import("zod-to-json-schema").JsonSchema7Type & {
4620
+ $schema?: string | undefined;
4621
+ definitions?: {
4622
+ [key: string]: import("zod-to-json-schema").JsonSchema7Type;
4623
+ } | undefined;
4624
+ };
4625
+ issueRefundInput: import("zod-to-json-schema").JsonSchema7Type & {
4626
+ $schema?: string | undefined;
4627
+ definitions?: {
4628
+ [key: string]: import("zod-to-json-schema").JsonSchema7Type;
4629
+ } | undefined;
4630
+ };
4631
+ issueRefundOutput: import("zod-to-json-schema").JsonSchema7Type & {
4632
+ $schema?: string | undefined;
4633
+ definitions?: {
4634
+ [key: string]: import("zod-to-json-schema").JsonSchema7Type;
4635
+ } | undefined;
4636
+ };
4637
+ getPaymentDisputesInput: import("zod-to-json-schema").JsonSchema7Type & {
4638
+ $schema?: string | undefined;
4639
+ definitions?: {
4640
+ [key: string]: import("zod-to-json-schema").JsonSchema7Type;
4641
+ } | undefined;
4642
+ };
4643
+ getPaymentDisputesOutput: import("zod-to-json-schema").JsonSchema7Type & {
4644
+ $schema?: string | undefined;
4645
+ definitions?: {
4646
+ [key: string]: import("zod-to-json-schema").JsonSchema7Type;
4647
+ } | undefined;
4648
+ };
4649
+ paymentDisputeDetails: import("zod-to-json-schema").JsonSchema7Type & {
4650
+ $schema?: string | undefined;
4651
+ definitions?: {
4652
+ [key: string]: import("zod-to-json-schema").JsonSchema7Type;
4653
+ } | undefined;
4654
+ };
4655
+ };