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,1094 @@
1
+ import { z } from 'zod';
2
+ /**
3
+ * Schema for getCustomPolicies method
4
+ * Endpoint: GET /custom_policy/
5
+ * Query: GetCustomPoliciesParams - policy_types (optional)
6
+ */
7
+ export declare const getCustomPoliciesSchema: z.ZodObject<{
8
+ policy_types: z.ZodOptional<z.ZodString>;
9
+ }, "strip", z.ZodTypeAny, {
10
+ policy_types?: string | undefined;
11
+ }, {
12
+ policy_types?: string | undefined;
13
+ }>;
14
+ /**
15
+ * Schema for getCustomPolicy method
16
+ * Endpoint: GET /custom_policy/{custom_policy_id}
17
+ * Path: GetCustomPolicyParams - custom_policy_id (required)
18
+ */
19
+ export declare const getCustomPolicySchema: z.ZodObject<{
20
+ custom_policy_id: z.ZodString;
21
+ }, "strip", z.ZodTypeAny, {
22
+ custom_policy_id: string;
23
+ }, {
24
+ custom_policy_id: string;
25
+ }>;
26
+ /**
27
+ * Schema for createCustomPolicy method
28
+ * Endpoint: POST /custom_policy/
29
+ * Body: CreateCustomPolicyRequest - name, label, description, policyType
30
+ */
31
+ export declare const createCustomPolicySchema: z.ZodObject<{
32
+ name: z.ZodOptional<z.ZodString>;
33
+ label: z.ZodOptional<z.ZodString>;
34
+ description: z.ZodOptional<z.ZodString>;
35
+ policy_type: z.ZodOptional<z.ZodString>;
36
+ }, "strip", z.ZodTypeAny, {
37
+ name?: string | undefined;
38
+ description?: string | undefined;
39
+ label?: string | undefined;
40
+ policy_type?: string | undefined;
41
+ }, {
42
+ name?: string | undefined;
43
+ description?: string | undefined;
44
+ label?: string | undefined;
45
+ policy_type?: string | undefined;
46
+ }>;
47
+ /**
48
+ * Schema for updateCustomPolicy method
49
+ * Endpoint: PUT /custom_policy/{custom_policy_id}
50
+ * Path: custom_policy_id (required)
51
+ * Body: UpdateCustomPolicyRequest - name, label, description
52
+ */
53
+ export declare const updateCustomPolicySchema: z.ZodObject<{
54
+ custom_policy_id: z.ZodString;
55
+ name: z.ZodOptional<z.ZodString>;
56
+ label: z.ZodOptional<z.ZodString>;
57
+ description: z.ZodOptional<z.ZodString>;
58
+ }, "strip", z.ZodTypeAny, {
59
+ custom_policy_id: string;
60
+ name?: string | undefined;
61
+ description?: string | undefined;
62
+ label?: string | undefined;
63
+ }, {
64
+ custom_policy_id: string;
65
+ name?: string | undefined;
66
+ description?: string | undefined;
67
+ label?: string | undefined;
68
+ }>;
69
+ /**
70
+ * Schema for deleteCustomPolicy method
71
+ * Endpoint: DELETE /custom_policy/{custom_policy_id}
72
+ * Path: custom_policy_id (required)
73
+ */
74
+ export declare const deleteCustomPolicySchema: z.ZodObject<{
75
+ custom_policy_id: z.ZodString;
76
+ }, "strip", z.ZodTypeAny, {
77
+ custom_policy_id: string;
78
+ }, {
79
+ custom_policy_id: string;
80
+ }>;
81
+ /**
82
+ * Schema for getFulfillmentPolicies method
83
+ * Endpoint: GET /fulfillment_policy
84
+ * Query: GetFulfillmentPoliciesParams - marketplace_id (required)
85
+ */
86
+ export declare const getFulfillmentPoliciesSchema: z.ZodObject<{
87
+ marketplace_id: z.ZodString;
88
+ }, "strip", z.ZodTypeAny, {
89
+ marketplace_id: string;
90
+ }, {
91
+ marketplace_id: string;
92
+ }>;
93
+ /**
94
+ * Schema for getFulfillmentPolicy method
95
+ * Endpoint: GET /fulfillment_policy/{fulfillmentPolicyId}
96
+ * Path: GetFulfillmentPolicyParams - fulfillmentPolicyId (required)
97
+ */
98
+ export declare const getFulfillmentPolicySchema: z.ZodObject<{
99
+ fulfillment_policy_id: z.ZodString;
100
+ }, "strip", z.ZodTypeAny, {
101
+ fulfillment_policy_id: string;
102
+ }, {
103
+ fulfillment_policy_id: string;
104
+ }>;
105
+ /**
106
+ * Schema for getFulfillmentPolicyByName method
107
+ * Endpoint: GET /fulfillment_policy/get_by_policy_name
108
+ * Query: GetFulfillmentPolicyByNameParams - marketplace_id (required), name (required)
109
+ */
110
+ export declare const getFulfillmentPolicyByNameSchema: z.ZodObject<{
111
+ marketplace_id: z.ZodString;
112
+ name: z.ZodString;
113
+ }, "strip", z.ZodTypeAny, {
114
+ name: string;
115
+ marketplace_id: string;
116
+ }, {
117
+ name: string;
118
+ marketplace_id: string;
119
+ }>;
120
+ /**
121
+ * Schema for createFulfillmentPolicy method
122
+ * Endpoint: POST /fulfillment_policy/
123
+ * Body: FulfillmentPolicyRequest - complex object with many optional fields
124
+ */
125
+ export declare const createFulfillmentPolicySchema: z.ZodObject<{
126
+ category_types: z.ZodOptional<z.ZodArray<z.ZodObject<{
127
+ name: z.ZodOptional<z.ZodString>;
128
+ }, "strip", z.ZodTypeAny, {
129
+ name?: string | undefined;
130
+ }, {
131
+ name?: string | undefined;
132
+ }>, "many">>;
133
+ description: z.ZodOptional<z.ZodString>;
134
+ freight_shipping: z.ZodOptional<z.ZodBoolean>;
135
+ global_shipping: z.ZodOptional<z.ZodBoolean>;
136
+ handling_time: z.ZodOptional<z.ZodObject<{
137
+ unit: z.ZodOptional<z.ZodString>;
138
+ value: z.ZodOptional<z.ZodNumber>;
139
+ }, "strip", z.ZodTypeAny, {
140
+ value?: number | undefined;
141
+ unit?: string | undefined;
142
+ }, {
143
+ value?: number | undefined;
144
+ unit?: string | undefined;
145
+ }>>;
146
+ local_pickup: z.ZodOptional<z.ZodBoolean>;
147
+ marketplace_id: z.ZodOptional<z.ZodString>;
148
+ name: z.ZodOptional<z.ZodString>;
149
+ pickup_drop_off: z.ZodOptional<z.ZodBoolean>;
150
+ shipping_options: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
151
+ ship_to_locations: z.ZodOptional<z.ZodObject<{
152
+ region_included: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
153
+ region_excluded: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
154
+ }, "strip", z.ZodTypeAny, {
155
+ region_included?: Record<string, unknown>[] | undefined;
156
+ region_excluded?: Record<string, unknown>[] | undefined;
157
+ }, {
158
+ region_included?: Record<string, unknown>[] | undefined;
159
+ region_excluded?: Record<string, unknown>[] | undefined;
160
+ }>>;
161
+ }, "strip", z.ZodTypeAny, {
162
+ name?: string | undefined;
163
+ marketplace_id?: string | undefined;
164
+ description?: string | undefined;
165
+ category_types?: {
166
+ name?: string | undefined;
167
+ }[] | undefined;
168
+ freight_shipping?: boolean | undefined;
169
+ global_shipping?: boolean | undefined;
170
+ handling_time?: {
171
+ value?: number | undefined;
172
+ unit?: string | undefined;
173
+ } | undefined;
174
+ local_pickup?: boolean | undefined;
175
+ pickup_drop_off?: boolean | undefined;
176
+ shipping_options?: Record<string, unknown>[] | undefined;
177
+ ship_to_locations?: {
178
+ region_included?: Record<string, unknown>[] | undefined;
179
+ region_excluded?: Record<string, unknown>[] | undefined;
180
+ } | undefined;
181
+ }, {
182
+ name?: string | undefined;
183
+ marketplace_id?: string | undefined;
184
+ description?: string | undefined;
185
+ category_types?: {
186
+ name?: string | undefined;
187
+ }[] | undefined;
188
+ freight_shipping?: boolean | undefined;
189
+ global_shipping?: boolean | undefined;
190
+ handling_time?: {
191
+ value?: number | undefined;
192
+ unit?: string | undefined;
193
+ } | undefined;
194
+ local_pickup?: boolean | undefined;
195
+ pickup_drop_off?: boolean | undefined;
196
+ shipping_options?: Record<string, unknown>[] | undefined;
197
+ ship_to_locations?: {
198
+ region_included?: Record<string, unknown>[] | undefined;
199
+ region_excluded?: Record<string, unknown>[] | undefined;
200
+ } | undefined;
201
+ }>;
202
+ /**
203
+ * Schema for updateFulfillmentPolicy method
204
+ * Endpoint: PUT /fulfillment_policy/{fulfillmentPolicyId}
205
+ * Path: fulfillmentPolicyId (required)
206
+ * Body: FulfillmentPolicyRequest
207
+ */
208
+ export declare const updateFulfillmentPolicySchema: z.ZodObject<{
209
+ fulfillment_policy_id: z.ZodString;
210
+ category_types: z.ZodOptional<z.ZodArray<z.ZodObject<{
211
+ name: z.ZodOptional<z.ZodString>;
212
+ }, "strip", z.ZodTypeAny, {
213
+ name?: string | undefined;
214
+ }, {
215
+ name?: string | undefined;
216
+ }>, "many">>;
217
+ description: z.ZodOptional<z.ZodString>;
218
+ freight_shipping: z.ZodOptional<z.ZodBoolean>;
219
+ global_shipping: z.ZodOptional<z.ZodBoolean>;
220
+ handling_time: z.ZodOptional<z.ZodObject<{
221
+ unit: z.ZodOptional<z.ZodString>;
222
+ value: z.ZodOptional<z.ZodNumber>;
223
+ }, "strip", z.ZodTypeAny, {
224
+ value?: number | undefined;
225
+ unit?: string | undefined;
226
+ }, {
227
+ value?: number | undefined;
228
+ unit?: string | undefined;
229
+ }>>;
230
+ local_pickup: z.ZodOptional<z.ZodBoolean>;
231
+ marketplace_id: z.ZodOptional<z.ZodString>;
232
+ name: z.ZodOptional<z.ZodString>;
233
+ pickup_drop_off: z.ZodOptional<z.ZodBoolean>;
234
+ shipping_options: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
235
+ ship_to_locations: z.ZodOptional<z.ZodObject<{
236
+ region_included: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
237
+ region_excluded: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
238
+ }, "strip", z.ZodTypeAny, {
239
+ region_included?: Record<string, unknown>[] | undefined;
240
+ region_excluded?: Record<string, unknown>[] | undefined;
241
+ }, {
242
+ region_included?: Record<string, unknown>[] | undefined;
243
+ region_excluded?: Record<string, unknown>[] | undefined;
244
+ }>>;
245
+ }, "strip", z.ZodTypeAny, {
246
+ fulfillment_policy_id: string;
247
+ name?: string | undefined;
248
+ marketplace_id?: string | undefined;
249
+ description?: string | undefined;
250
+ category_types?: {
251
+ name?: string | undefined;
252
+ }[] | undefined;
253
+ freight_shipping?: boolean | undefined;
254
+ global_shipping?: boolean | undefined;
255
+ handling_time?: {
256
+ value?: number | undefined;
257
+ unit?: string | undefined;
258
+ } | undefined;
259
+ local_pickup?: boolean | undefined;
260
+ pickup_drop_off?: boolean | undefined;
261
+ shipping_options?: Record<string, unknown>[] | undefined;
262
+ ship_to_locations?: {
263
+ region_included?: Record<string, unknown>[] | undefined;
264
+ region_excluded?: Record<string, unknown>[] | undefined;
265
+ } | undefined;
266
+ }, {
267
+ fulfillment_policy_id: string;
268
+ name?: string | undefined;
269
+ marketplace_id?: string | undefined;
270
+ description?: string | undefined;
271
+ category_types?: {
272
+ name?: string | undefined;
273
+ }[] | undefined;
274
+ freight_shipping?: boolean | undefined;
275
+ global_shipping?: boolean | undefined;
276
+ handling_time?: {
277
+ value?: number | undefined;
278
+ unit?: string | undefined;
279
+ } | undefined;
280
+ local_pickup?: boolean | undefined;
281
+ pickup_drop_off?: boolean | undefined;
282
+ shipping_options?: Record<string, unknown>[] | undefined;
283
+ ship_to_locations?: {
284
+ region_included?: Record<string, unknown>[] | undefined;
285
+ region_excluded?: Record<string, unknown>[] | undefined;
286
+ } | undefined;
287
+ }>;
288
+ /**
289
+ * Schema for deleteFulfillmentPolicy method
290
+ * Endpoint: DELETE /fulfillment_policy/{fulfillmentPolicyId}
291
+ * Path: fulfillmentPolicyId (required)
292
+ */
293
+ export declare const deleteFulfillmentPolicySchema: z.ZodObject<{
294
+ fulfillment_policy_id: z.ZodString;
295
+ }, "strip", z.ZodTypeAny, {
296
+ fulfillment_policy_id: string;
297
+ }, {
298
+ fulfillment_policy_id: string;
299
+ }>;
300
+ /**
301
+ * Schema for getPaymentPolicies method
302
+ * Endpoint: GET /payment_policy
303
+ * Query: GetPaymentPoliciesParams - marketplace_id (required)
304
+ */
305
+ export declare const getPaymentPoliciesSchema: z.ZodObject<{
306
+ marketplace_id: z.ZodString;
307
+ }, "strip", z.ZodTypeAny, {
308
+ marketplace_id: string;
309
+ }, {
310
+ marketplace_id: string;
311
+ }>;
312
+ /**
313
+ * Schema for getPaymentPolicy method
314
+ * Endpoint: GET /payment_policy/{paymentPolicyId}
315
+ * Path: GetPaymentPolicyParams - paymentPolicyId (required)
316
+ */
317
+ export declare const getPaymentPolicySchema: z.ZodObject<{
318
+ payment_policy_id: z.ZodString;
319
+ }, "strip", z.ZodTypeAny, {
320
+ payment_policy_id: string;
321
+ }, {
322
+ payment_policy_id: string;
323
+ }>;
324
+ /**
325
+ * Schema for getPaymentPolicyByName method
326
+ * Endpoint: GET /payment_policy/get_by_policy_name
327
+ * Query: GetPaymentPolicyByNameParams - marketplace_id (required), name (required)
328
+ */
329
+ export declare const getPaymentPolicyByNameSchema: z.ZodObject<{
330
+ marketplace_id: z.ZodString;
331
+ name: z.ZodString;
332
+ }, "strip", z.ZodTypeAny, {
333
+ name: string;
334
+ marketplace_id: string;
335
+ }, {
336
+ name: string;
337
+ marketplace_id: string;
338
+ }>;
339
+ /**
340
+ * Schema for createPaymentPolicy method
341
+ * Endpoint: POST /payment_policy/
342
+ * Body: PaymentPolicyRequest - complex object with many optional fields
343
+ */
344
+ export declare const createPaymentPolicySchema: z.ZodObject<{
345
+ category_types: z.ZodOptional<z.ZodArray<z.ZodObject<{
346
+ name: z.ZodOptional<z.ZodString>;
347
+ }, "strip", z.ZodTypeAny, {
348
+ name?: string | undefined;
349
+ }, {
350
+ name?: string | undefined;
351
+ }>, "many">>;
352
+ description: z.ZodOptional<z.ZodString>;
353
+ deposit: z.ZodOptional<z.ZodObject<{
354
+ amount: z.ZodOptional<z.ZodObject<{
355
+ currency: z.ZodOptional<z.ZodString>;
356
+ value: z.ZodOptional<z.ZodString>;
357
+ }, "strip", z.ZodTypeAny, {
358
+ value?: string | undefined;
359
+ currency?: string | undefined;
360
+ }, {
361
+ value?: string | undefined;
362
+ currency?: string | undefined;
363
+ }>>;
364
+ due_in: z.ZodOptional<z.ZodObject<{
365
+ unit: z.ZodOptional<z.ZodString>;
366
+ value: z.ZodOptional<z.ZodNumber>;
367
+ }, "strip", z.ZodTypeAny, {
368
+ value?: number | undefined;
369
+ unit?: string | undefined;
370
+ }, {
371
+ value?: number | undefined;
372
+ unit?: string | undefined;
373
+ }>>;
374
+ payment_methods: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
375
+ }, "strip", z.ZodTypeAny, {
376
+ amount?: {
377
+ value?: string | undefined;
378
+ currency?: string | undefined;
379
+ } | undefined;
380
+ due_in?: {
381
+ value?: number | undefined;
382
+ unit?: string | undefined;
383
+ } | undefined;
384
+ payment_methods?: Record<string, unknown>[] | undefined;
385
+ }, {
386
+ amount?: {
387
+ value?: string | undefined;
388
+ currency?: string | undefined;
389
+ } | undefined;
390
+ due_in?: {
391
+ value?: number | undefined;
392
+ unit?: string | undefined;
393
+ } | undefined;
394
+ payment_methods?: Record<string, unknown>[] | undefined;
395
+ }>>;
396
+ full_payment_due_in: z.ZodOptional<z.ZodObject<{
397
+ unit: z.ZodOptional<z.ZodString>;
398
+ value: z.ZodOptional<z.ZodNumber>;
399
+ }, "strip", z.ZodTypeAny, {
400
+ value?: number | undefined;
401
+ unit?: string | undefined;
402
+ }, {
403
+ value?: number | undefined;
404
+ unit?: string | undefined;
405
+ }>>;
406
+ immediate_pay: z.ZodOptional<z.ZodBoolean>;
407
+ marketplace_id: z.ZodOptional<z.ZodString>;
408
+ name: z.ZodOptional<z.ZodString>;
409
+ payment_methods: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
410
+ }, "strip", z.ZodTypeAny, {
411
+ name?: string | undefined;
412
+ marketplace_id?: string | undefined;
413
+ description?: string | undefined;
414
+ deposit?: {
415
+ amount?: {
416
+ value?: string | undefined;
417
+ currency?: string | undefined;
418
+ } | undefined;
419
+ due_in?: {
420
+ value?: number | undefined;
421
+ unit?: string | undefined;
422
+ } | undefined;
423
+ payment_methods?: Record<string, unknown>[] | undefined;
424
+ } | undefined;
425
+ category_types?: {
426
+ name?: string | undefined;
427
+ }[] | undefined;
428
+ payment_methods?: Record<string, unknown>[] | undefined;
429
+ full_payment_due_in?: {
430
+ value?: number | undefined;
431
+ unit?: string | undefined;
432
+ } | undefined;
433
+ immediate_pay?: boolean | undefined;
434
+ }, {
435
+ name?: string | undefined;
436
+ marketplace_id?: string | undefined;
437
+ description?: string | undefined;
438
+ deposit?: {
439
+ amount?: {
440
+ value?: string | undefined;
441
+ currency?: string | undefined;
442
+ } | undefined;
443
+ due_in?: {
444
+ value?: number | undefined;
445
+ unit?: string | undefined;
446
+ } | undefined;
447
+ payment_methods?: Record<string, unknown>[] | undefined;
448
+ } | undefined;
449
+ category_types?: {
450
+ name?: string | undefined;
451
+ }[] | undefined;
452
+ payment_methods?: Record<string, unknown>[] | undefined;
453
+ full_payment_due_in?: {
454
+ value?: number | undefined;
455
+ unit?: string | undefined;
456
+ } | undefined;
457
+ immediate_pay?: boolean | undefined;
458
+ }>;
459
+ /**
460
+ * Schema for updatePaymentPolicy method
461
+ * Endpoint: PUT /payment_policy/{paymentPolicyId}
462
+ * Path: paymentPolicyId (required)
463
+ * Body: PaymentPolicyRequest
464
+ */
465
+ export declare const updatePaymentPolicySchema: z.ZodObject<{
466
+ payment_policy_id: z.ZodString;
467
+ category_types: z.ZodOptional<z.ZodArray<z.ZodObject<{
468
+ name: z.ZodOptional<z.ZodString>;
469
+ }, "strip", z.ZodTypeAny, {
470
+ name?: string | undefined;
471
+ }, {
472
+ name?: string | undefined;
473
+ }>, "many">>;
474
+ description: z.ZodOptional<z.ZodString>;
475
+ deposit: z.ZodOptional<z.ZodObject<{
476
+ amount: z.ZodOptional<z.ZodObject<{
477
+ currency: z.ZodOptional<z.ZodString>;
478
+ value: z.ZodOptional<z.ZodString>;
479
+ }, "strip", z.ZodTypeAny, {
480
+ value?: string | undefined;
481
+ currency?: string | undefined;
482
+ }, {
483
+ value?: string | undefined;
484
+ currency?: string | undefined;
485
+ }>>;
486
+ due_in: z.ZodOptional<z.ZodObject<{
487
+ unit: z.ZodOptional<z.ZodString>;
488
+ value: z.ZodOptional<z.ZodNumber>;
489
+ }, "strip", z.ZodTypeAny, {
490
+ value?: number | undefined;
491
+ unit?: string | undefined;
492
+ }, {
493
+ value?: number | undefined;
494
+ unit?: string | undefined;
495
+ }>>;
496
+ payment_methods: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
497
+ }, "strip", z.ZodTypeAny, {
498
+ amount?: {
499
+ value?: string | undefined;
500
+ currency?: string | undefined;
501
+ } | undefined;
502
+ due_in?: {
503
+ value?: number | undefined;
504
+ unit?: string | undefined;
505
+ } | undefined;
506
+ payment_methods?: Record<string, unknown>[] | undefined;
507
+ }, {
508
+ amount?: {
509
+ value?: string | undefined;
510
+ currency?: string | undefined;
511
+ } | undefined;
512
+ due_in?: {
513
+ value?: number | undefined;
514
+ unit?: string | undefined;
515
+ } | undefined;
516
+ payment_methods?: Record<string, unknown>[] | undefined;
517
+ }>>;
518
+ full_payment_due_in: z.ZodOptional<z.ZodObject<{
519
+ unit: z.ZodOptional<z.ZodString>;
520
+ value: z.ZodOptional<z.ZodNumber>;
521
+ }, "strip", z.ZodTypeAny, {
522
+ value?: number | undefined;
523
+ unit?: string | undefined;
524
+ }, {
525
+ value?: number | undefined;
526
+ unit?: string | undefined;
527
+ }>>;
528
+ immediate_pay: z.ZodOptional<z.ZodBoolean>;
529
+ marketplace_id: z.ZodOptional<z.ZodString>;
530
+ name: z.ZodOptional<z.ZodString>;
531
+ payment_methods: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
532
+ }, "strip", z.ZodTypeAny, {
533
+ payment_policy_id: string;
534
+ name?: string | undefined;
535
+ marketplace_id?: string | undefined;
536
+ description?: string | undefined;
537
+ deposit?: {
538
+ amount?: {
539
+ value?: string | undefined;
540
+ currency?: string | undefined;
541
+ } | undefined;
542
+ due_in?: {
543
+ value?: number | undefined;
544
+ unit?: string | undefined;
545
+ } | undefined;
546
+ payment_methods?: Record<string, unknown>[] | undefined;
547
+ } | undefined;
548
+ category_types?: {
549
+ name?: string | undefined;
550
+ }[] | undefined;
551
+ payment_methods?: Record<string, unknown>[] | undefined;
552
+ full_payment_due_in?: {
553
+ value?: number | undefined;
554
+ unit?: string | undefined;
555
+ } | undefined;
556
+ immediate_pay?: boolean | undefined;
557
+ }, {
558
+ payment_policy_id: string;
559
+ name?: string | undefined;
560
+ marketplace_id?: string | undefined;
561
+ description?: string | undefined;
562
+ deposit?: {
563
+ amount?: {
564
+ value?: string | undefined;
565
+ currency?: string | undefined;
566
+ } | undefined;
567
+ due_in?: {
568
+ value?: number | undefined;
569
+ unit?: string | undefined;
570
+ } | undefined;
571
+ payment_methods?: Record<string, unknown>[] | undefined;
572
+ } | undefined;
573
+ category_types?: {
574
+ name?: string | undefined;
575
+ }[] | undefined;
576
+ payment_methods?: Record<string, unknown>[] | undefined;
577
+ full_payment_due_in?: {
578
+ value?: number | undefined;
579
+ unit?: string | undefined;
580
+ } | undefined;
581
+ immediate_pay?: boolean | undefined;
582
+ }>;
583
+ /**
584
+ * Schema for deletePaymentPolicy method
585
+ * Endpoint: DELETE /payment_policy/{paymentPolicyId}
586
+ * Path: paymentPolicyId (required)
587
+ */
588
+ export declare const deletePaymentPolicySchema: z.ZodObject<{
589
+ payment_policy_id: z.ZodString;
590
+ }, "strip", z.ZodTypeAny, {
591
+ payment_policy_id: string;
592
+ }, {
593
+ payment_policy_id: string;
594
+ }>;
595
+ /**
596
+ * Schema for getReturnPolicies method
597
+ * Endpoint: GET /return_policy
598
+ * Query: GetReturnPoliciesParams - marketplace_id (required)
599
+ */
600
+ export declare const getReturnPoliciesSchema: z.ZodObject<{
601
+ marketplace_id: z.ZodString;
602
+ }, "strip", z.ZodTypeAny, {
603
+ marketplace_id: string;
604
+ }, {
605
+ marketplace_id: string;
606
+ }>;
607
+ /**
608
+ * Schema for getReturnPolicy method
609
+ * Endpoint: GET /return_policy/{returnPolicyId}
610
+ * Path: GetReturnPolicyParams - returnPolicyId (required)
611
+ */
612
+ export declare const getReturnPolicySchema: z.ZodObject<{
613
+ return_policy_id: z.ZodString;
614
+ }, "strip", z.ZodTypeAny, {
615
+ return_policy_id: string;
616
+ }, {
617
+ return_policy_id: string;
618
+ }>;
619
+ /**
620
+ * Schema for getReturnPolicyByName method
621
+ * Endpoint: GET /return_policy/get_by_policy_name
622
+ * Query: GetReturnPolicyByNameParams - marketplace_id (required), name (required)
623
+ */
624
+ export declare const getReturnPolicyByNameSchema: z.ZodObject<{
625
+ marketplace_id: z.ZodString;
626
+ name: z.ZodString;
627
+ }, "strip", z.ZodTypeAny, {
628
+ name: string;
629
+ marketplace_id: string;
630
+ }, {
631
+ name: string;
632
+ marketplace_id: string;
633
+ }>;
634
+ /**
635
+ * Schema for createReturnPolicy method
636
+ * Endpoint: POST /return_policy/
637
+ * Body: ReturnPolicyRequest - complex object with many optional fields
638
+ */
639
+ export declare const createReturnPolicySchema: z.ZodObject<{
640
+ category_types: z.ZodOptional<z.ZodArray<z.ZodObject<{
641
+ name: z.ZodOptional<z.ZodString>;
642
+ }, "strip", z.ZodTypeAny, {
643
+ name?: string | undefined;
644
+ }, {
645
+ name?: string | undefined;
646
+ }>, "many">>;
647
+ description: z.ZodOptional<z.ZodString>;
648
+ extended_holiday_returns_offered: z.ZodOptional<z.ZodBoolean>;
649
+ international_override: z.ZodOptional<z.ZodObject<{
650
+ return_method: z.ZodOptional<z.ZodString>;
651
+ return_period: z.ZodOptional<z.ZodObject<{
652
+ unit: z.ZodOptional<z.ZodString>;
653
+ value: z.ZodOptional<z.ZodNumber>;
654
+ }, "strip", z.ZodTypeAny, {
655
+ value?: number | undefined;
656
+ unit?: string | undefined;
657
+ }, {
658
+ value?: number | undefined;
659
+ unit?: string | undefined;
660
+ }>>;
661
+ returns_accepted: z.ZodOptional<z.ZodBoolean>;
662
+ return_shipping_cost_payer: z.ZodOptional<z.ZodString>;
663
+ }, "strip", z.ZodTypeAny, {
664
+ return_method?: string | undefined;
665
+ return_period?: {
666
+ value?: number | undefined;
667
+ unit?: string | undefined;
668
+ } | undefined;
669
+ returns_accepted?: boolean | undefined;
670
+ return_shipping_cost_payer?: string | undefined;
671
+ }, {
672
+ return_method?: string | undefined;
673
+ return_period?: {
674
+ value?: number | undefined;
675
+ unit?: string | undefined;
676
+ } | undefined;
677
+ returns_accepted?: boolean | undefined;
678
+ return_shipping_cost_payer?: string | undefined;
679
+ }>>;
680
+ marketplace_id: z.ZodOptional<z.ZodString>;
681
+ name: z.ZodOptional<z.ZodString>;
682
+ refund_method: z.ZodOptional<z.ZodString>;
683
+ restocking_fee_percentage: z.ZodOptional<z.ZodString>;
684
+ return_instructions: z.ZodOptional<z.ZodString>;
685
+ return_method: z.ZodOptional<z.ZodString>;
686
+ return_period: z.ZodOptional<z.ZodObject<{
687
+ unit: z.ZodOptional<z.ZodString>;
688
+ value: z.ZodOptional<z.ZodNumber>;
689
+ }, "strip", z.ZodTypeAny, {
690
+ value?: number | undefined;
691
+ unit?: string | undefined;
692
+ }, {
693
+ value?: number | undefined;
694
+ unit?: string | undefined;
695
+ }>>;
696
+ returns_accepted: z.ZodOptional<z.ZodBoolean>;
697
+ return_shipping_cost_payer: z.ZodOptional<z.ZodString>;
698
+ }, "strip", z.ZodTypeAny, {
699
+ name?: string | undefined;
700
+ marketplace_id?: string | undefined;
701
+ description?: string | undefined;
702
+ category_types?: {
703
+ name?: string | undefined;
704
+ }[] | undefined;
705
+ extended_holiday_returns_offered?: boolean | undefined;
706
+ return_method?: string | undefined;
707
+ return_period?: {
708
+ value?: number | undefined;
709
+ unit?: string | undefined;
710
+ } | undefined;
711
+ returns_accepted?: boolean | undefined;
712
+ return_shipping_cost_payer?: string | undefined;
713
+ international_override?: {
714
+ return_method?: string | undefined;
715
+ return_period?: {
716
+ value?: number | undefined;
717
+ unit?: string | undefined;
718
+ } | undefined;
719
+ returns_accepted?: boolean | undefined;
720
+ return_shipping_cost_payer?: string | undefined;
721
+ } | undefined;
722
+ refund_method?: string | undefined;
723
+ restocking_fee_percentage?: string | undefined;
724
+ return_instructions?: string | undefined;
725
+ }, {
726
+ name?: string | undefined;
727
+ marketplace_id?: string | undefined;
728
+ description?: string | undefined;
729
+ category_types?: {
730
+ name?: string | undefined;
731
+ }[] | undefined;
732
+ extended_holiday_returns_offered?: boolean | undefined;
733
+ return_method?: string | undefined;
734
+ return_period?: {
735
+ value?: number | undefined;
736
+ unit?: string | undefined;
737
+ } | undefined;
738
+ returns_accepted?: boolean | undefined;
739
+ return_shipping_cost_payer?: string | undefined;
740
+ international_override?: {
741
+ return_method?: string | undefined;
742
+ return_period?: {
743
+ value?: number | undefined;
744
+ unit?: string | undefined;
745
+ } | undefined;
746
+ returns_accepted?: boolean | undefined;
747
+ return_shipping_cost_payer?: string | undefined;
748
+ } | undefined;
749
+ refund_method?: string | undefined;
750
+ restocking_fee_percentage?: string | undefined;
751
+ return_instructions?: string | undefined;
752
+ }>;
753
+ /**
754
+ * Schema for updateReturnPolicy method
755
+ * Endpoint: PUT /return_policy/{returnPolicyId}
756
+ * Path: returnPolicyId (required)
757
+ * Body: ReturnPolicyRequest
758
+ */
759
+ export declare const updateReturnPolicySchema: z.ZodObject<{
760
+ return_policy_id: z.ZodString;
761
+ category_types: z.ZodOptional<z.ZodArray<z.ZodObject<{
762
+ name: z.ZodOptional<z.ZodString>;
763
+ }, "strip", z.ZodTypeAny, {
764
+ name?: string | undefined;
765
+ }, {
766
+ name?: string | undefined;
767
+ }>, "many">>;
768
+ description: z.ZodOptional<z.ZodString>;
769
+ extended_holiday_returns_offered: z.ZodOptional<z.ZodBoolean>;
770
+ international_override: z.ZodOptional<z.ZodObject<{
771
+ return_method: z.ZodOptional<z.ZodString>;
772
+ return_period: z.ZodOptional<z.ZodObject<{
773
+ unit: z.ZodOptional<z.ZodString>;
774
+ value: z.ZodOptional<z.ZodNumber>;
775
+ }, "strip", z.ZodTypeAny, {
776
+ value?: number | undefined;
777
+ unit?: string | undefined;
778
+ }, {
779
+ value?: number | undefined;
780
+ unit?: string | undefined;
781
+ }>>;
782
+ returns_accepted: z.ZodOptional<z.ZodBoolean>;
783
+ return_shipping_cost_payer: z.ZodOptional<z.ZodString>;
784
+ }, "strip", z.ZodTypeAny, {
785
+ return_method?: string | undefined;
786
+ return_period?: {
787
+ value?: number | undefined;
788
+ unit?: string | undefined;
789
+ } | undefined;
790
+ returns_accepted?: boolean | undefined;
791
+ return_shipping_cost_payer?: string | undefined;
792
+ }, {
793
+ return_method?: string | undefined;
794
+ return_period?: {
795
+ value?: number | undefined;
796
+ unit?: string | undefined;
797
+ } | undefined;
798
+ returns_accepted?: boolean | undefined;
799
+ return_shipping_cost_payer?: string | undefined;
800
+ }>>;
801
+ marketplace_id: z.ZodOptional<z.ZodString>;
802
+ name: z.ZodOptional<z.ZodString>;
803
+ refund_method: z.ZodOptional<z.ZodString>;
804
+ restocking_fee_percentage: z.ZodOptional<z.ZodString>;
805
+ return_instructions: z.ZodOptional<z.ZodString>;
806
+ return_method: z.ZodOptional<z.ZodString>;
807
+ return_period: z.ZodOptional<z.ZodObject<{
808
+ unit: z.ZodOptional<z.ZodString>;
809
+ value: z.ZodOptional<z.ZodNumber>;
810
+ }, "strip", z.ZodTypeAny, {
811
+ value?: number | undefined;
812
+ unit?: string | undefined;
813
+ }, {
814
+ value?: number | undefined;
815
+ unit?: string | undefined;
816
+ }>>;
817
+ returns_accepted: z.ZodOptional<z.ZodBoolean>;
818
+ return_shipping_cost_payer: z.ZodOptional<z.ZodString>;
819
+ }, "strip", z.ZodTypeAny, {
820
+ return_policy_id: string;
821
+ name?: string | undefined;
822
+ marketplace_id?: string | undefined;
823
+ description?: string | undefined;
824
+ category_types?: {
825
+ name?: string | undefined;
826
+ }[] | undefined;
827
+ extended_holiday_returns_offered?: boolean | undefined;
828
+ return_method?: string | undefined;
829
+ return_period?: {
830
+ value?: number | undefined;
831
+ unit?: string | undefined;
832
+ } | undefined;
833
+ returns_accepted?: boolean | undefined;
834
+ return_shipping_cost_payer?: string | undefined;
835
+ international_override?: {
836
+ return_method?: string | undefined;
837
+ return_period?: {
838
+ value?: number | undefined;
839
+ unit?: string | undefined;
840
+ } | undefined;
841
+ returns_accepted?: boolean | undefined;
842
+ return_shipping_cost_payer?: string | undefined;
843
+ } | undefined;
844
+ refund_method?: string | undefined;
845
+ restocking_fee_percentage?: string | undefined;
846
+ return_instructions?: string | undefined;
847
+ }, {
848
+ return_policy_id: string;
849
+ name?: string | undefined;
850
+ marketplace_id?: string | undefined;
851
+ description?: string | undefined;
852
+ category_types?: {
853
+ name?: string | undefined;
854
+ }[] | undefined;
855
+ extended_holiday_returns_offered?: boolean | undefined;
856
+ return_method?: string | undefined;
857
+ return_period?: {
858
+ value?: number | undefined;
859
+ unit?: string | undefined;
860
+ } | undefined;
861
+ returns_accepted?: boolean | undefined;
862
+ return_shipping_cost_payer?: string | undefined;
863
+ international_override?: {
864
+ return_method?: string | undefined;
865
+ return_period?: {
866
+ value?: number | undefined;
867
+ unit?: string | undefined;
868
+ } | undefined;
869
+ returns_accepted?: boolean | undefined;
870
+ return_shipping_cost_payer?: string | undefined;
871
+ } | undefined;
872
+ refund_method?: string | undefined;
873
+ restocking_fee_percentage?: string | undefined;
874
+ return_instructions?: string | undefined;
875
+ }>;
876
+ /**
877
+ * Schema for deleteReturnPolicy method
878
+ * Endpoint: DELETE /return_policy/{returnPolicyId}
879
+ * Path: returnPolicyId (required)
880
+ */
881
+ export declare const deleteReturnPolicySchema: z.ZodObject<{
882
+ return_policy_id: z.ZodString;
883
+ }, "strip", z.ZodTypeAny, {
884
+ return_policy_id: string;
885
+ }, {
886
+ return_policy_id: string;
887
+ }>;
888
+ /**
889
+ * Schema for getPrivileges method
890
+ * Endpoint: GET /privilege
891
+ * No parameters required
892
+ */
893
+ export declare const getPrivilegesSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
894
+ /**
895
+ * Schema for getKyc method
896
+ * Endpoint: GET /kyc
897
+ * No parameters required
898
+ */
899
+ export declare const getKycSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
900
+ /**
901
+ * Schema for optInToPaymentsProgram method
902
+ * Endpoint: POST /payments_program/{marketplace_id}/{payments_program_type}
903
+ * Path: marketplace_id (required), payments_program_type (required)
904
+ */
905
+ export declare const optInToPaymentsProgramSchema: z.ZodObject<{
906
+ marketplace_id: z.ZodString;
907
+ payments_program_type: z.ZodString;
908
+ }, "strip", z.ZodTypeAny, {
909
+ marketplace_id: string;
910
+ payments_program_type: string;
911
+ }, {
912
+ marketplace_id: string;
913
+ payments_program_type: string;
914
+ }>;
915
+ /**
916
+ * Schema for getPaymentsProgramStatus method
917
+ * Endpoint: GET /payments_program/{marketplace_id}/{payments_program_type}
918
+ * Path: marketplace_id (required), payments_program_type (required)
919
+ */
920
+ export declare const getPaymentsProgramStatusSchema: z.ZodObject<{
921
+ marketplace_id: z.ZodString;
922
+ payments_program_type: z.ZodString;
923
+ }, "strip", z.ZodTypeAny, {
924
+ marketplace_id: string;
925
+ payments_program_type: string;
926
+ }, {
927
+ marketplace_id: string;
928
+ payments_program_type: string;
929
+ }>;
930
+ /**
931
+ * Schema for getRateTables method
932
+ * Endpoint: GET /rate_table
933
+ * No parameters required
934
+ */
935
+ export declare const getRateTablesSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
936
+ /**
937
+ * Schema for createOrReplaceSalesTax method
938
+ * Endpoint: PUT /sales_tax/{country_code}/{jurisdiction_id}
939
+ * Path: country_code (required), jurisdiction_id (required)
940
+ * Body: SalesTaxBase - sales_tax_percentage, shipping_and_handling_taxed
941
+ */
942
+ export declare const createOrReplaceSalesTaxSchema: z.ZodObject<{
943
+ country_code: z.ZodString;
944
+ jurisdiction_id: z.ZodString;
945
+ sales_tax_percentage: z.ZodOptional<z.ZodString>;
946
+ shipping_and_handling_taxed: z.ZodOptional<z.ZodBoolean>;
947
+ }, "strip", z.ZodTypeAny, {
948
+ country_code: string;
949
+ jurisdiction_id: string;
950
+ sales_tax_percentage?: string | undefined;
951
+ shipping_and_handling_taxed?: boolean | undefined;
952
+ }, {
953
+ country_code: string;
954
+ jurisdiction_id: string;
955
+ sales_tax_percentage?: string | undefined;
956
+ shipping_and_handling_taxed?: boolean | undefined;
957
+ }>;
958
+ /**
959
+ * Schema for bulkCreateOrReplaceSalesTax method
960
+ * Endpoint: POST /sales_tax/bulk_create_or_replace
961
+ * Body: Array of sales tax requests
962
+ */
963
+ export declare const bulkCreateOrReplaceSalesTaxSchema: z.ZodObject<{
964
+ requests: z.ZodOptional<z.ZodArray<z.ZodObject<{
965
+ country_code: z.ZodOptional<z.ZodString>;
966
+ jurisdiction_id: z.ZodOptional<z.ZodString>;
967
+ sales_tax_base: z.ZodOptional<z.ZodObject<{
968
+ sales_tax_percentage: z.ZodOptional<z.ZodString>;
969
+ shipping_and_handling_taxed: z.ZodOptional<z.ZodBoolean>;
970
+ }, "strip", z.ZodTypeAny, {
971
+ sales_tax_percentage?: string | undefined;
972
+ shipping_and_handling_taxed?: boolean | undefined;
973
+ }, {
974
+ sales_tax_percentage?: string | undefined;
975
+ shipping_and_handling_taxed?: boolean | undefined;
976
+ }>>;
977
+ }, "strip", z.ZodTypeAny, {
978
+ country_code?: string | undefined;
979
+ jurisdiction_id?: string | undefined;
980
+ sales_tax_base?: {
981
+ sales_tax_percentage?: string | undefined;
982
+ shipping_and_handling_taxed?: boolean | undefined;
983
+ } | undefined;
984
+ }, {
985
+ country_code?: string | undefined;
986
+ jurisdiction_id?: string | undefined;
987
+ sales_tax_base?: {
988
+ sales_tax_percentage?: string | undefined;
989
+ shipping_and_handling_taxed?: boolean | undefined;
990
+ } | undefined;
991
+ }>, "many">>;
992
+ }, "strip", z.ZodTypeAny, {
993
+ requests?: {
994
+ country_code?: string | undefined;
995
+ jurisdiction_id?: string | undefined;
996
+ sales_tax_base?: {
997
+ sales_tax_percentage?: string | undefined;
998
+ shipping_and_handling_taxed?: boolean | undefined;
999
+ } | undefined;
1000
+ }[] | undefined;
1001
+ }, {
1002
+ requests?: {
1003
+ country_code?: string | undefined;
1004
+ jurisdiction_id?: string | undefined;
1005
+ sales_tax_base?: {
1006
+ sales_tax_percentage?: string | undefined;
1007
+ shipping_and_handling_taxed?: boolean | undefined;
1008
+ } | undefined;
1009
+ }[] | undefined;
1010
+ }>;
1011
+ /**
1012
+ * Schema for getSalesTax method
1013
+ * Endpoint: GET /sales_tax/{country_code}/{jurisdiction_id}
1014
+ * Path: country_code (required), jurisdiction_id (required)
1015
+ */
1016
+ export declare const getSalesTaxSchema: z.ZodObject<{
1017
+ country_code: z.ZodString;
1018
+ jurisdiction_id: z.ZodString;
1019
+ }, "strip", z.ZodTypeAny, {
1020
+ country_code: string;
1021
+ jurisdiction_id: string;
1022
+ }, {
1023
+ country_code: string;
1024
+ jurisdiction_id: string;
1025
+ }>;
1026
+ /**
1027
+ * Schema for deleteSalesTax method
1028
+ * Endpoint: DELETE /sales_tax/{country_code}/{jurisdiction_id}
1029
+ * Path: country_code (required), jurisdiction_id (required)
1030
+ */
1031
+ export declare const deleteSalesTaxSchema: z.ZodObject<{
1032
+ country_code: z.ZodString;
1033
+ jurisdiction_id: z.ZodString;
1034
+ }, "strip", z.ZodTypeAny, {
1035
+ country_code: string;
1036
+ jurisdiction_id: string;
1037
+ }, {
1038
+ country_code: string;
1039
+ jurisdiction_id: string;
1040
+ }>;
1041
+ /**
1042
+ * Schema for getSalesTaxes method
1043
+ * Endpoint: GET /sales_tax
1044
+ * Query: GetSalesTaxesParams - country_code (required)
1045
+ */
1046
+ export declare const getSalesTaxesSchema: z.ZodObject<{
1047
+ country_code: z.ZodString;
1048
+ }, "strip", z.ZodTypeAny, {
1049
+ country_code: string;
1050
+ }, {
1051
+ country_code: string;
1052
+ }>;
1053
+ /**
1054
+ * Schema for getSubscription method
1055
+ * Endpoint: GET /subscription
1056
+ * Query: GetSubscriptionParams - limit (optional)
1057
+ */
1058
+ export declare const getSubscriptionSchema: z.ZodObject<{
1059
+ limit_type: z.ZodOptional<z.ZodString>;
1060
+ }, "strip", z.ZodTypeAny, {
1061
+ limit_type?: string | undefined;
1062
+ }, {
1063
+ limit_type?: string | undefined;
1064
+ }>;
1065
+ /**
1066
+ * Schema for optInToProgram method
1067
+ * Endpoint: POST /program/opt_in
1068
+ * Body: OptInToProgramRequest - program_type
1069
+ */
1070
+ export declare const optInToProgramSchema: z.ZodObject<{
1071
+ program_type: z.ZodOptional<z.ZodString>;
1072
+ }, "strip", z.ZodTypeAny, {
1073
+ program_type?: string | undefined;
1074
+ }, {
1075
+ program_type?: string | undefined;
1076
+ }>;
1077
+ /**
1078
+ * Schema for optOutOfProgram method
1079
+ * Endpoint: POST /program/opt_out
1080
+ * Body: OptInToProgramRequest - program_type
1081
+ */
1082
+ export declare const optOutOfProgramSchema: z.ZodObject<{
1083
+ program_type: z.ZodOptional<z.ZodString>;
1084
+ }, "strip", z.ZodTypeAny, {
1085
+ program_type?: string | undefined;
1086
+ }, {
1087
+ program_type?: string | undefined;
1088
+ }>;
1089
+ /**
1090
+ * Schema for getOptedInPrograms method
1091
+ * Endpoint: GET /program
1092
+ * No parameters required
1093
+ */
1094
+ export declare const getOptedInProgramsSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;