@channel.io/app-sdk-core 0.15.6 → 0.16.2

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 (98) hide show
  1. package/LICENSE +21 -0
  2. package/dist/extensions/alftask.d.ts +18 -1
  3. package/dist/extensions/alftask.d.ts.map +1 -1
  4. package/dist/extensions/alftask.js +25 -0
  5. package/dist/extensions/alftask.js.map +1 -1
  6. package/dist/extensions/apikey.d.ts +6 -6
  7. package/dist/extensions/command.d.ts +1 -1
  8. package/dist/extensions/command.js +1 -1
  9. package/dist/extensions/commerce.d.ts +3079 -0
  10. package/dist/extensions/commerce.d.ts.map +1 -0
  11. package/dist/extensions/commerce.js +115 -0
  12. package/dist/extensions/commerce.js.map +1 -0
  13. package/dist/extensions/config.d.ts +36 -36
  14. package/dist/extensions/datasource.d.ts +22 -22
  15. package/dist/extensions/function-schemas.d.ts +5403 -2060
  16. package/dist/extensions/function-schemas.d.ts.map +1 -1
  17. package/dist/extensions/function-schemas.js +94 -11
  18. package/dist/extensions/function-schemas.js.map +1 -1
  19. package/dist/extensions/hook.d.ts +70 -2
  20. package/dist/extensions/hook.d.ts.map +1 -1
  21. package/dist/extensions/hook.js +9 -1
  22. package/dist/extensions/hook.js.map +1 -1
  23. package/dist/extensions/index.d.ts +7 -5
  24. package/dist/extensions/index.d.ts.map +1 -1
  25. package/dist/extensions/index.js +11 -5
  26. package/dist/extensions/index.js.map +1 -1
  27. package/dist/extensions/interfaces/index.d.ts +1 -0
  28. package/dist/extensions/interfaces/index.d.ts.map +1 -1
  29. package/dist/extensions/interfaces/index.js +1 -0
  30. package/dist/extensions/interfaces/index.js.map +1 -1
  31. package/dist/extensions/interfaces/notebook.d.ts +11 -0
  32. package/dist/extensions/interfaces/notebook.d.ts.map +1 -0
  33. package/dist/extensions/interfaces/notebook.js +4 -0
  34. package/dist/extensions/interfaces/notebook.js.map +1 -0
  35. package/dist/extensions/interfaces/store.d.ts +4 -5
  36. package/dist/extensions/interfaces/store.d.ts.map +1 -1
  37. package/dist/extensions/interfaces/store.js.map +1 -1
  38. package/dist/extensions/notebook.d.ts +742 -0
  39. package/dist/extensions/notebook.d.ts.map +1 -0
  40. package/dist/extensions/notebook.js +71 -0
  41. package/dist/extensions/notebook.js.map +1 -0
  42. package/dist/extensions/oauth.d.ts +38 -0
  43. package/dist/extensions/oauth.d.ts.map +1 -1
  44. package/dist/extensions/oauth.js +16 -0
  45. package/dist/extensions/oauth.js.map +1 -1
  46. package/dist/extensions/order.d.ts +61 -11
  47. package/dist/extensions/order.d.ts.map +1 -1
  48. package/dist/extensions/order.js +18 -1
  49. package/dist/extensions/order.js.map +1 -1
  50. package/dist/extensions/proto-contracts.d.ts +44 -14
  51. package/dist/extensions/proto-contracts.d.ts.map +1 -1
  52. package/dist/extensions/store.d.ts +1143 -1631
  53. package/dist/extensions/store.d.ts.map +1 -1
  54. package/dist/extensions/store.js +48 -114
  55. package/dist/extensions/store.js.map +1 -1
  56. package/dist/extensions/widget.d.ts +1 -1
  57. package/dist/extensions/widget.js +1 -1
  58. package/dist/extensions/wms.d.ts +2359 -57
  59. package/dist/extensions/wms.d.ts.map +1 -1
  60. package/dist/extensions/wms.js +84 -0
  61. package/dist/extensions/wms.js.map +1 -1
  62. package/dist/gen/channel/app/sdk/v1/common.js +1 -1
  63. package/dist/gen/channel/app/sdk/v1/common.zod.d.ts +20 -20
  64. package/dist/gen/channel/app/sdk/v1/context.js +1 -1
  65. package/dist/gen/channel/app/sdk/v1/context.zod.d.ts +12 -12
  66. package/dist/gen/channel/app/sdk/v1/error.js +1 -1
  67. package/dist/gen/channel/app/sdk/v1/extension.d.ts +273 -95
  68. package/dist/gen/channel/app/sdk/v1/extension.d.ts.map +1 -1
  69. package/dist/gen/channel/app/sdk/v1/extension.js +1 -1
  70. package/dist/gen/channel/app/sdk/v1/extension.zod.d.ts +8071 -3833
  71. package/dist/gen/channel/app/sdk/v1/extension.zod.d.ts.map +1 -1
  72. package/dist/gen/channel/app/sdk/v1/extension.zod.js +249 -87
  73. package/dist/gen/channel/app/sdk/v1/extension.zod.js.map +1 -1
  74. package/dist/gen/channel/app/sdk/v1/function.js +1 -1
  75. package/dist/gen/channel/app/sdk/v1/function.zod.d.ts +12 -12
  76. package/dist/gen/channel/app/sdk/v1/native.d.ts +21 -0
  77. package/dist/gen/channel/app/sdk/v1/native.d.ts.map +1 -1
  78. package/dist/gen/channel/app/sdk/v1/native.js +1 -1
  79. package/dist/gen/channel/app/sdk/v1/native.zod.d.ts +99 -14
  80. package/dist/gen/channel/app/sdk/v1/native.zod.d.ts.map +1 -1
  81. package/dist/gen/channel/app/sdk/v1/native.zod.js +21 -0
  82. package/dist/gen/channel/app/sdk/v1/native.zod.js.map +1 -1
  83. package/dist/gen/google/protobuf/struct.js +1 -1
  84. package/dist/gen/io/channel/datasource/v1/datasource.js +1 -1
  85. package/dist/gen/io/channel/datasource/v1/datasource.zod.d.ts +14 -14
  86. package/dist/schemas/native.d.ts +182 -0
  87. package/dist/schemas/native.d.ts.map +1 -1
  88. package/dist/schemas/native.js +39 -0
  89. package/dist/schemas/native.js.map +1 -1
  90. package/dist/types/extension.d.ts +1 -1
  91. package/dist/types/extension.d.ts.map +1 -1
  92. package/dist/types/message.d.ts +2 -2
  93. package/dist/types/message.d.ts.map +1 -1
  94. package/dist/types/message.js +2 -2
  95. package/dist/types/native.d.ts +35 -0
  96. package/dist/types/native.d.ts.map +1 -1
  97. package/dist/utils/zod-to-json-schema.js.map +1 -1
  98. package/package.json +3 -3
@@ -0,0 +1,3079 @@
1
+ import { z } from "zod";
2
+ import type { CommerceActionResult as ProtoCommerceActionResult, CommerceAppCapabilities as ProtoCommerceAppCapabilities, CommerceCancelOrderInput as ProtoCommerceCancelOrderInput, CommerceChangeShippingAddressInput as ProtoCommerceChangeShippingAddressInput, CommerceExchangeOrderInput as ProtoCommerceExchangeOrderInput, CommerceGetAppConfigsOutput as ProtoCommerceGetAppConfigsOutput, CommerceGetExchangeableItemsInput as ProtoCommerceGetExchangeableItemsInput, CommerceGetExchangeableItemsOutput as ProtoCommerceGetExchangeableItemsOutput, CommerceGetOrdersInput as ProtoCommerceGetOrdersInput, CommerceGetOrdersOutput as ProtoCommerceGetOrdersOutput, CommerceIdentifier as ProtoCommerceIdentifier, CommerceOrder as ProtoCommerceOrder, CommerceOrderItem as ProtoCommerceOrderItem, CommerceReturnAcceptOrderInput as ProtoCommerceReturnAcceptOrderInput, CommerceReturnOrderInput as ProtoCommerceReturnOrderInput } from "../gen/channel/app/sdk/v1/extension.js";
3
+ type ProtoBacked<T, Proto> = T & Proto;
4
+ export declare const CommerceOrderItemSchema: z.ZodObject<{
5
+ id: z.ZodString;
6
+ name: z.ZodString;
7
+ imageUrl: z.ZodOptional<z.ZodString>;
8
+ amount: z.ZodNumber;
9
+ quantity: z.ZodNumber;
10
+ option: z.ZodOptional<z.ZodString>;
11
+ productId: z.ZodOptional<z.ZodString>;
12
+ variantId: z.ZodOptional<z.ZodString>;
13
+ state: z.ZodString;
14
+ shippedAt: z.ZodOptional<z.ZodNumber>;
15
+ deliveredAt: z.ZodOptional<z.ZodNumber>;
16
+ estimatedShipDate: z.ZodOptional<z.ZodNumber>;
17
+ claimability: z.ZodObject<{
18
+ cancelable: z.ZodBoolean;
19
+ returnable: z.ZodBoolean;
20
+ exchangeable: z.ZodBoolean;
21
+ shippingAddressChangeable: z.ZodBoolean;
22
+ }, "strip", z.ZodTypeAny, {
23
+ cancelable: boolean;
24
+ returnable: boolean;
25
+ exchangeable: boolean;
26
+ shippingAddressChangeable: boolean;
27
+ }, {
28
+ cancelable: boolean;
29
+ returnable: boolean;
30
+ exchangeable: boolean;
31
+ shippingAddressChangeable: boolean;
32
+ }>;
33
+ }, "strip", z.ZodTypeAny, {
34
+ name: string;
35
+ id: string;
36
+ state: string;
37
+ amount: number;
38
+ quantity: number;
39
+ claimability: {
40
+ cancelable: boolean;
41
+ returnable: boolean;
42
+ exchangeable: boolean;
43
+ shippingAddressChangeable: boolean;
44
+ };
45
+ imageUrl?: string | undefined;
46
+ option?: string | undefined;
47
+ productId?: string | undefined;
48
+ variantId?: string | undefined;
49
+ shippedAt?: number | undefined;
50
+ deliveredAt?: number | undefined;
51
+ estimatedShipDate?: number | undefined;
52
+ }, {
53
+ name: string;
54
+ id: string;
55
+ state: string;
56
+ amount: number;
57
+ quantity: number;
58
+ claimability: {
59
+ cancelable: boolean;
60
+ returnable: boolean;
61
+ exchangeable: boolean;
62
+ shippingAddressChangeable: boolean;
63
+ };
64
+ imageUrl?: string | undefined;
65
+ option?: string | undefined;
66
+ productId?: string | undefined;
67
+ variantId?: string | undefined;
68
+ shippedAt?: number | undefined;
69
+ deliveredAt?: number | undefined;
70
+ estimatedShipDate?: number | undefined;
71
+ }>;
72
+ export type CommerceOrderItem = ProtoBacked<z.infer<typeof CommerceOrderItemSchema>, ProtoCommerceOrderItem>;
73
+ export declare const CommerceOrderSchema: z.ZodObject<{
74
+ id: z.ZodString;
75
+ title: z.ZodString;
76
+ orderedAt: z.ZodNumber;
77
+ buyer: z.ZodOptional<z.ZodObject<{
78
+ memberId: z.ZodOptional<z.ZodString>;
79
+ email: z.ZodOptional<z.ZodString>;
80
+ phone: z.ZodOptional<z.ZodString>;
81
+ name: z.ZodOptional<z.ZodString>;
82
+ }, "strip", z.ZodTypeAny, {
83
+ name?: string | undefined;
84
+ email?: string | undefined;
85
+ phone?: string | undefined;
86
+ memberId?: string | undefined;
87
+ }, {
88
+ name?: string | undefined;
89
+ email?: string | undefined;
90
+ phone?: string | undefined;
91
+ memberId?: string | undefined;
92
+ }>>;
93
+ items: z.ZodArray<z.ZodObject<{
94
+ id: z.ZodString;
95
+ name: z.ZodString;
96
+ imageUrl: z.ZodOptional<z.ZodString>;
97
+ amount: z.ZodNumber;
98
+ quantity: z.ZodNumber;
99
+ option: z.ZodOptional<z.ZodString>;
100
+ productId: z.ZodOptional<z.ZodString>;
101
+ variantId: z.ZodOptional<z.ZodString>;
102
+ state: z.ZodString;
103
+ shippedAt: z.ZodOptional<z.ZodNumber>;
104
+ deliveredAt: z.ZodOptional<z.ZodNumber>;
105
+ estimatedShipDate: z.ZodOptional<z.ZodNumber>;
106
+ claimability: z.ZodObject<{
107
+ cancelable: z.ZodBoolean;
108
+ returnable: z.ZodBoolean;
109
+ exchangeable: z.ZodBoolean;
110
+ shippingAddressChangeable: z.ZodBoolean;
111
+ }, "strip", z.ZodTypeAny, {
112
+ cancelable: boolean;
113
+ returnable: boolean;
114
+ exchangeable: boolean;
115
+ shippingAddressChangeable: boolean;
116
+ }, {
117
+ cancelable: boolean;
118
+ returnable: boolean;
119
+ exchangeable: boolean;
120
+ shippingAddressChangeable: boolean;
121
+ }>;
122
+ }, "strip", z.ZodTypeAny, {
123
+ name: string;
124
+ id: string;
125
+ state: string;
126
+ amount: number;
127
+ quantity: number;
128
+ claimability: {
129
+ cancelable: boolean;
130
+ returnable: boolean;
131
+ exchangeable: boolean;
132
+ shippingAddressChangeable: boolean;
133
+ };
134
+ imageUrl?: string | undefined;
135
+ option?: string | undefined;
136
+ productId?: string | undefined;
137
+ variantId?: string | undefined;
138
+ shippedAt?: number | undefined;
139
+ deliveredAt?: number | undefined;
140
+ estimatedShipDate?: number | undefined;
141
+ }, {
142
+ name: string;
143
+ id: string;
144
+ state: string;
145
+ amount: number;
146
+ quantity: number;
147
+ claimability: {
148
+ cancelable: boolean;
149
+ returnable: boolean;
150
+ exchangeable: boolean;
151
+ shippingAddressChangeable: boolean;
152
+ };
153
+ imageUrl?: string | undefined;
154
+ option?: string | undefined;
155
+ productId?: string | undefined;
156
+ variantId?: string | undefined;
157
+ shippedAt?: number | undefined;
158
+ deliveredAt?: number | undefined;
159
+ estimatedShipDate?: number | undefined;
160
+ }>, "many">;
161
+ payment: z.ZodObject<{
162
+ state: z.ZodString;
163
+ currency: z.ZodString;
164
+ totalAmount: z.ZodNumber;
165
+ itemsAmount: z.ZodNumber;
166
+ shippingAmount: z.ZodNumber;
167
+ discountAmount: z.ZodNumber;
168
+ methods: z.ZodArray<z.ZodString, "many">;
169
+ requireRefundBankAccount: z.ZodBoolean;
170
+ }, "strip", z.ZodTypeAny, {
171
+ state: string;
172
+ currency: string;
173
+ totalAmount: number;
174
+ itemsAmount: number;
175
+ shippingAmount: number;
176
+ discountAmount: number;
177
+ methods: string[];
178
+ requireRefundBankAccount: boolean;
179
+ }, {
180
+ state: string;
181
+ currency: string;
182
+ totalAmount: number;
183
+ itemsAmount: number;
184
+ shippingAmount: number;
185
+ discountAmount: number;
186
+ methods: string[];
187
+ requireRefundBankAccount: boolean;
188
+ }>;
189
+ fulfillments: z.ZodArray<z.ZodObject<{
190
+ id: z.ZodString;
191
+ state: z.ZodString;
192
+ itemIds: z.ZodArray<z.ZodString, "many">;
193
+ trackingNumber: z.ZodOptional<z.ZodString>;
194
+ trackingCompany: z.ZodOptional<z.ZodString>;
195
+ trackingUrl: z.ZodOptional<z.ZodString>;
196
+ estimatedDeliveryDate: z.ZodOptional<z.ZodNumber>;
197
+ }, "strip", z.ZodTypeAny, {
198
+ id: string;
199
+ state: string;
200
+ itemIds: string[];
201
+ trackingNumber?: string | undefined;
202
+ trackingCompany?: string | undefined;
203
+ trackingUrl?: string | undefined;
204
+ estimatedDeliveryDate?: number | undefined;
205
+ }, {
206
+ id: string;
207
+ state: string;
208
+ itemIds: string[];
209
+ trackingNumber?: string | undefined;
210
+ trackingCompany?: string | undefined;
211
+ trackingUrl?: string | undefined;
212
+ estimatedDeliveryDate?: number | undefined;
213
+ }>, "many">;
214
+ shippingAddress: z.ZodOptional<z.ZodObject<{
215
+ firstName: z.ZodOptional<z.ZodString>;
216
+ lastName: z.ZodOptional<z.ZodString>;
217
+ phoneNumber: z.ZodOptional<z.ZodString>;
218
+ email: z.ZodOptional<z.ZodString>;
219
+ cellPhoneNumber: z.ZodOptional<z.ZodString>;
220
+ zipcode: z.ZodOptional<z.ZodString>;
221
+ address1: z.ZodOptional<z.ZodString>;
222
+ address2: z.ZodOptional<z.ZodString>;
223
+ shippingMessage: z.ZodOptional<z.ZodString>;
224
+ country: z.ZodOptional<z.ZodString>;
225
+ city: z.ZodOptional<z.ZodString>;
226
+ province: z.ZodOptional<z.ZodString>;
227
+ }, "strip", z.ZodTypeAny, {
228
+ email?: string | undefined;
229
+ address1?: string | undefined;
230
+ address2?: string | undefined;
231
+ firstName?: string | undefined;
232
+ lastName?: string | undefined;
233
+ phoneNumber?: string | undefined;
234
+ cellPhoneNumber?: string | undefined;
235
+ zipcode?: string | undefined;
236
+ shippingMessage?: string | undefined;
237
+ country?: string | undefined;
238
+ city?: string | undefined;
239
+ province?: string | undefined;
240
+ }, {
241
+ email?: string | undefined;
242
+ address1?: string | undefined;
243
+ address2?: string | undefined;
244
+ firstName?: string | undefined;
245
+ lastName?: string | undefined;
246
+ phoneNumber?: string | undefined;
247
+ cellPhoneNumber?: string | undefined;
248
+ zipcode?: string | undefined;
249
+ shippingMessage?: string | undefined;
250
+ country?: string | undefined;
251
+ city?: string | undefined;
252
+ province?: string | undefined;
253
+ }>>;
254
+ claims: z.ZodArray<z.ZodObject<{
255
+ id: z.ZodString;
256
+ extClaimId: z.ZodOptional<z.ZodString>;
257
+ type: z.ZodString;
258
+ state: z.ZodString;
259
+ itemIds: z.ZodArray<z.ZodString, "many">;
260
+ createdAt: z.ZodNumber;
261
+ }, "strip", z.ZodTypeAny, {
262
+ type: string;
263
+ id: string;
264
+ state: string;
265
+ itemIds: string[];
266
+ createdAt: number;
267
+ extClaimId?: string | undefined;
268
+ }, {
269
+ type: string;
270
+ id: string;
271
+ state: string;
272
+ itemIds: string[];
273
+ createdAt: number;
274
+ extClaimId?: string | undefined;
275
+ }>, "many">;
276
+ }, "strip", z.ZodTypeAny, {
277
+ id: string;
278
+ title: string;
279
+ items: {
280
+ name: string;
281
+ id: string;
282
+ state: string;
283
+ amount: number;
284
+ quantity: number;
285
+ claimability: {
286
+ cancelable: boolean;
287
+ returnable: boolean;
288
+ exchangeable: boolean;
289
+ shippingAddressChangeable: boolean;
290
+ };
291
+ imageUrl?: string | undefined;
292
+ option?: string | undefined;
293
+ productId?: string | undefined;
294
+ variantId?: string | undefined;
295
+ shippedAt?: number | undefined;
296
+ deliveredAt?: number | undefined;
297
+ estimatedShipDate?: number | undefined;
298
+ }[];
299
+ payment: {
300
+ state: string;
301
+ currency: string;
302
+ totalAmount: number;
303
+ itemsAmount: number;
304
+ shippingAmount: number;
305
+ discountAmount: number;
306
+ methods: string[];
307
+ requireRefundBankAccount: boolean;
308
+ };
309
+ fulfillments: {
310
+ id: string;
311
+ state: string;
312
+ itemIds: string[];
313
+ trackingNumber?: string | undefined;
314
+ trackingCompany?: string | undefined;
315
+ trackingUrl?: string | undefined;
316
+ estimatedDeliveryDate?: number | undefined;
317
+ }[];
318
+ claims: {
319
+ type: string;
320
+ id: string;
321
+ state: string;
322
+ itemIds: string[];
323
+ createdAt: number;
324
+ extClaimId?: string | undefined;
325
+ }[];
326
+ orderedAt: number;
327
+ shippingAddress?: {
328
+ email?: string | undefined;
329
+ address1?: string | undefined;
330
+ address2?: string | undefined;
331
+ firstName?: string | undefined;
332
+ lastName?: string | undefined;
333
+ phoneNumber?: string | undefined;
334
+ cellPhoneNumber?: string | undefined;
335
+ zipcode?: string | undefined;
336
+ shippingMessage?: string | undefined;
337
+ country?: string | undefined;
338
+ city?: string | undefined;
339
+ province?: string | undefined;
340
+ } | undefined;
341
+ buyer?: {
342
+ name?: string | undefined;
343
+ email?: string | undefined;
344
+ phone?: string | undefined;
345
+ memberId?: string | undefined;
346
+ } | undefined;
347
+ }, {
348
+ id: string;
349
+ title: string;
350
+ items: {
351
+ name: string;
352
+ id: string;
353
+ state: string;
354
+ amount: number;
355
+ quantity: number;
356
+ claimability: {
357
+ cancelable: boolean;
358
+ returnable: boolean;
359
+ exchangeable: boolean;
360
+ shippingAddressChangeable: boolean;
361
+ };
362
+ imageUrl?: string | undefined;
363
+ option?: string | undefined;
364
+ productId?: string | undefined;
365
+ variantId?: string | undefined;
366
+ shippedAt?: number | undefined;
367
+ deliveredAt?: number | undefined;
368
+ estimatedShipDate?: number | undefined;
369
+ }[];
370
+ payment: {
371
+ state: string;
372
+ currency: string;
373
+ totalAmount: number;
374
+ itemsAmount: number;
375
+ shippingAmount: number;
376
+ discountAmount: number;
377
+ methods: string[];
378
+ requireRefundBankAccount: boolean;
379
+ };
380
+ fulfillments: {
381
+ id: string;
382
+ state: string;
383
+ itemIds: string[];
384
+ trackingNumber?: string | undefined;
385
+ trackingCompany?: string | undefined;
386
+ trackingUrl?: string | undefined;
387
+ estimatedDeliveryDate?: number | undefined;
388
+ }[];
389
+ claims: {
390
+ type: string;
391
+ id: string;
392
+ state: string;
393
+ itemIds: string[];
394
+ createdAt: number;
395
+ extClaimId?: string | undefined;
396
+ }[];
397
+ orderedAt: number;
398
+ shippingAddress?: {
399
+ email?: string | undefined;
400
+ address1?: string | undefined;
401
+ address2?: string | undefined;
402
+ firstName?: string | undefined;
403
+ lastName?: string | undefined;
404
+ phoneNumber?: string | undefined;
405
+ cellPhoneNumber?: string | undefined;
406
+ zipcode?: string | undefined;
407
+ shippingMessage?: string | undefined;
408
+ country?: string | undefined;
409
+ city?: string | undefined;
410
+ province?: string | undefined;
411
+ } | undefined;
412
+ buyer?: {
413
+ name?: string | undefined;
414
+ email?: string | undefined;
415
+ phone?: string | undefined;
416
+ memberId?: string | undefined;
417
+ } | undefined;
418
+ }>;
419
+ export type CommerceOrder = ProtoBacked<z.infer<typeof CommerceOrderSchema>, ProtoCommerceOrder>;
420
+ export declare const CommerceIdentifierSchema: z.ZodObject<{
421
+ type: z.ZodEnum<["membership", "phone", "email"]>;
422
+ value: z.ZodString;
423
+ }, "strip", z.ZodTypeAny, {
424
+ type: "email" | "phone" | "membership";
425
+ value: string;
426
+ }, {
427
+ type: "email" | "phone" | "membership";
428
+ value: string;
429
+ }>;
430
+ export type CommerceIdentifier = ProtoBacked<z.infer<typeof CommerceIdentifierSchema>, ProtoCommerceIdentifier>;
431
+ export declare const CommerceGetOrdersInputSchema: z.ZodObject<{
432
+ identifier: z.ZodOptional<z.ZodObject<{
433
+ type: z.ZodEnum<["membership", "phone", "email"]>;
434
+ value: z.ZodString;
435
+ }, "strip", z.ZodTypeAny, {
436
+ type: "email" | "phone" | "membership";
437
+ value: string;
438
+ }, {
439
+ type: "email" | "phone" | "membership";
440
+ value: string;
441
+ }>>;
442
+ searchFilter: z.ZodOptional<z.ZodAny>;
443
+ since: z.ZodOptional<z.ZodString>;
444
+ limit: z.ZodOptional<z.ZodNumber>;
445
+ }, "strip", z.ZodTypeAny, {
446
+ limit?: number | undefined;
447
+ identifier?: {
448
+ type: "email" | "phone" | "membership";
449
+ value: string;
450
+ } | undefined;
451
+ searchFilter?: any;
452
+ since?: string | undefined;
453
+ }, {
454
+ limit?: number | undefined;
455
+ identifier?: {
456
+ type: "email" | "phone" | "membership";
457
+ value: string;
458
+ } | undefined;
459
+ searchFilter?: any;
460
+ since?: string | undefined;
461
+ }>;
462
+ export type CommerceGetOrdersInput = ProtoBacked<z.infer<typeof CommerceGetOrdersInputSchema>, ProtoCommerceGetOrdersInput>;
463
+ export declare const CommerceGetOrdersOutputSchema: z.ZodObject<{
464
+ orders: z.ZodOptional<z.ZodArray<z.ZodObject<{
465
+ id: z.ZodString;
466
+ title: z.ZodString;
467
+ orderedAt: z.ZodNumber;
468
+ buyer: z.ZodOptional<z.ZodObject<{
469
+ memberId: z.ZodOptional<z.ZodString>;
470
+ email: z.ZodOptional<z.ZodString>;
471
+ phone: z.ZodOptional<z.ZodString>;
472
+ name: z.ZodOptional<z.ZodString>;
473
+ }, "strip", z.ZodTypeAny, {
474
+ name?: string | undefined;
475
+ email?: string | undefined;
476
+ phone?: string | undefined;
477
+ memberId?: string | undefined;
478
+ }, {
479
+ name?: string | undefined;
480
+ email?: string | undefined;
481
+ phone?: string | undefined;
482
+ memberId?: string | undefined;
483
+ }>>;
484
+ items: z.ZodArray<z.ZodObject<{
485
+ id: z.ZodString;
486
+ name: z.ZodString;
487
+ imageUrl: z.ZodOptional<z.ZodString>;
488
+ amount: z.ZodNumber;
489
+ quantity: z.ZodNumber;
490
+ option: z.ZodOptional<z.ZodString>;
491
+ productId: z.ZodOptional<z.ZodString>;
492
+ variantId: z.ZodOptional<z.ZodString>;
493
+ state: z.ZodString;
494
+ shippedAt: z.ZodOptional<z.ZodNumber>;
495
+ deliveredAt: z.ZodOptional<z.ZodNumber>;
496
+ estimatedShipDate: z.ZodOptional<z.ZodNumber>;
497
+ claimability: z.ZodObject<{
498
+ cancelable: z.ZodBoolean;
499
+ returnable: z.ZodBoolean;
500
+ exchangeable: z.ZodBoolean;
501
+ shippingAddressChangeable: z.ZodBoolean;
502
+ }, "strip", z.ZodTypeAny, {
503
+ cancelable: boolean;
504
+ returnable: boolean;
505
+ exchangeable: boolean;
506
+ shippingAddressChangeable: boolean;
507
+ }, {
508
+ cancelable: boolean;
509
+ returnable: boolean;
510
+ exchangeable: boolean;
511
+ shippingAddressChangeable: boolean;
512
+ }>;
513
+ }, "strip", z.ZodTypeAny, {
514
+ name: string;
515
+ id: string;
516
+ state: string;
517
+ amount: number;
518
+ quantity: number;
519
+ claimability: {
520
+ cancelable: boolean;
521
+ returnable: boolean;
522
+ exchangeable: boolean;
523
+ shippingAddressChangeable: boolean;
524
+ };
525
+ imageUrl?: string | undefined;
526
+ option?: string | undefined;
527
+ productId?: string | undefined;
528
+ variantId?: string | undefined;
529
+ shippedAt?: number | undefined;
530
+ deliveredAt?: number | undefined;
531
+ estimatedShipDate?: number | undefined;
532
+ }, {
533
+ name: string;
534
+ id: string;
535
+ state: string;
536
+ amount: number;
537
+ quantity: number;
538
+ claimability: {
539
+ cancelable: boolean;
540
+ returnable: boolean;
541
+ exchangeable: boolean;
542
+ shippingAddressChangeable: boolean;
543
+ };
544
+ imageUrl?: string | undefined;
545
+ option?: string | undefined;
546
+ productId?: string | undefined;
547
+ variantId?: string | undefined;
548
+ shippedAt?: number | undefined;
549
+ deliveredAt?: number | undefined;
550
+ estimatedShipDate?: number | undefined;
551
+ }>, "many">;
552
+ payment: z.ZodObject<{
553
+ state: z.ZodString;
554
+ currency: z.ZodString;
555
+ totalAmount: z.ZodNumber;
556
+ itemsAmount: z.ZodNumber;
557
+ shippingAmount: z.ZodNumber;
558
+ discountAmount: z.ZodNumber;
559
+ methods: z.ZodArray<z.ZodString, "many">;
560
+ requireRefundBankAccount: z.ZodBoolean;
561
+ }, "strip", z.ZodTypeAny, {
562
+ state: string;
563
+ currency: string;
564
+ totalAmount: number;
565
+ itemsAmount: number;
566
+ shippingAmount: number;
567
+ discountAmount: number;
568
+ methods: string[];
569
+ requireRefundBankAccount: boolean;
570
+ }, {
571
+ state: string;
572
+ currency: string;
573
+ totalAmount: number;
574
+ itemsAmount: number;
575
+ shippingAmount: number;
576
+ discountAmount: number;
577
+ methods: string[];
578
+ requireRefundBankAccount: boolean;
579
+ }>;
580
+ fulfillments: z.ZodArray<z.ZodObject<{
581
+ id: z.ZodString;
582
+ state: z.ZodString;
583
+ itemIds: z.ZodArray<z.ZodString, "many">;
584
+ trackingNumber: z.ZodOptional<z.ZodString>;
585
+ trackingCompany: z.ZodOptional<z.ZodString>;
586
+ trackingUrl: z.ZodOptional<z.ZodString>;
587
+ estimatedDeliveryDate: z.ZodOptional<z.ZodNumber>;
588
+ }, "strip", z.ZodTypeAny, {
589
+ id: string;
590
+ state: string;
591
+ itemIds: string[];
592
+ trackingNumber?: string | undefined;
593
+ trackingCompany?: string | undefined;
594
+ trackingUrl?: string | undefined;
595
+ estimatedDeliveryDate?: number | undefined;
596
+ }, {
597
+ id: string;
598
+ state: string;
599
+ itemIds: string[];
600
+ trackingNumber?: string | undefined;
601
+ trackingCompany?: string | undefined;
602
+ trackingUrl?: string | undefined;
603
+ estimatedDeliveryDate?: number | undefined;
604
+ }>, "many">;
605
+ shippingAddress: z.ZodOptional<z.ZodObject<{
606
+ firstName: z.ZodOptional<z.ZodString>;
607
+ lastName: z.ZodOptional<z.ZodString>;
608
+ phoneNumber: z.ZodOptional<z.ZodString>;
609
+ email: z.ZodOptional<z.ZodString>;
610
+ cellPhoneNumber: z.ZodOptional<z.ZodString>;
611
+ zipcode: z.ZodOptional<z.ZodString>;
612
+ address1: z.ZodOptional<z.ZodString>;
613
+ address2: z.ZodOptional<z.ZodString>;
614
+ shippingMessage: z.ZodOptional<z.ZodString>;
615
+ country: z.ZodOptional<z.ZodString>;
616
+ city: z.ZodOptional<z.ZodString>;
617
+ province: z.ZodOptional<z.ZodString>;
618
+ }, "strip", z.ZodTypeAny, {
619
+ email?: string | undefined;
620
+ address1?: string | undefined;
621
+ address2?: string | undefined;
622
+ firstName?: string | undefined;
623
+ lastName?: string | undefined;
624
+ phoneNumber?: string | undefined;
625
+ cellPhoneNumber?: string | undefined;
626
+ zipcode?: string | undefined;
627
+ shippingMessage?: string | undefined;
628
+ country?: string | undefined;
629
+ city?: string | undefined;
630
+ province?: string | undefined;
631
+ }, {
632
+ email?: string | undefined;
633
+ address1?: string | undefined;
634
+ address2?: string | undefined;
635
+ firstName?: string | undefined;
636
+ lastName?: string | undefined;
637
+ phoneNumber?: string | undefined;
638
+ cellPhoneNumber?: string | undefined;
639
+ zipcode?: string | undefined;
640
+ shippingMessage?: string | undefined;
641
+ country?: string | undefined;
642
+ city?: string | undefined;
643
+ province?: string | undefined;
644
+ }>>;
645
+ claims: z.ZodArray<z.ZodObject<{
646
+ id: z.ZodString;
647
+ extClaimId: z.ZodOptional<z.ZodString>;
648
+ type: z.ZodString;
649
+ state: z.ZodString;
650
+ itemIds: z.ZodArray<z.ZodString, "many">;
651
+ createdAt: z.ZodNumber;
652
+ }, "strip", z.ZodTypeAny, {
653
+ type: string;
654
+ id: string;
655
+ state: string;
656
+ itemIds: string[];
657
+ createdAt: number;
658
+ extClaimId?: string | undefined;
659
+ }, {
660
+ type: string;
661
+ id: string;
662
+ state: string;
663
+ itemIds: string[];
664
+ createdAt: number;
665
+ extClaimId?: string | undefined;
666
+ }>, "many">;
667
+ }, "strip", z.ZodTypeAny, {
668
+ id: string;
669
+ title: string;
670
+ items: {
671
+ name: string;
672
+ id: string;
673
+ state: string;
674
+ amount: number;
675
+ quantity: number;
676
+ claimability: {
677
+ cancelable: boolean;
678
+ returnable: boolean;
679
+ exchangeable: boolean;
680
+ shippingAddressChangeable: boolean;
681
+ };
682
+ imageUrl?: string | undefined;
683
+ option?: string | undefined;
684
+ productId?: string | undefined;
685
+ variantId?: string | undefined;
686
+ shippedAt?: number | undefined;
687
+ deliveredAt?: number | undefined;
688
+ estimatedShipDate?: number | undefined;
689
+ }[];
690
+ payment: {
691
+ state: string;
692
+ currency: string;
693
+ totalAmount: number;
694
+ itemsAmount: number;
695
+ shippingAmount: number;
696
+ discountAmount: number;
697
+ methods: string[];
698
+ requireRefundBankAccount: boolean;
699
+ };
700
+ fulfillments: {
701
+ id: string;
702
+ state: string;
703
+ itemIds: string[];
704
+ trackingNumber?: string | undefined;
705
+ trackingCompany?: string | undefined;
706
+ trackingUrl?: string | undefined;
707
+ estimatedDeliveryDate?: number | undefined;
708
+ }[];
709
+ claims: {
710
+ type: string;
711
+ id: string;
712
+ state: string;
713
+ itemIds: string[];
714
+ createdAt: number;
715
+ extClaimId?: string | undefined;
716
+ }[];
717
+ orderedAt: number;
718
+ shippingAddress?: {
719
+ email?: string | undefined;
720
+ address1?: string | undefined;
721
+ address2?: string | undefined;
722
+ firstName?: string | undefined;
723
+ lastName?: string | undefined;
724
+ phoneNumber?: string | undefined;
725
+ cellPhoneNumber?: string | undefined;
726
+ zipcode?: string | undefined;
727
+ shippingMessage?: string | undefined;
728
+ country?: string | undefined;
729
+ city?: string | undefined;
730
+ province?: string | undefined;
731
+ } | undefined;
732
+ buyer?: {
733
+ name?: string | undefined;
734
+ email?: string | undefined;
735
+ phone?: string | undefined;
736
+ memberId?: string | undefined;
737
+ } | undefined;
738
+ }, {
739
+ id: string;
740
+ title: string;
741
+ items: {
742
+ name: string;
743
+ id: string;
744
+ state: string;
745
+ amount: number;
746
+ quantity: number;
747
+ claimability: {
748
+ cancelable: boolean;
749
+ returnable: boolean;
750
+ exchangeable: boolean;
751
+ shippingAddressChangeable: boolean;
752
+ };
753
+ imageUrl?: string | undefined;
754
+ option?: string | undefined;
755
+ productId?: string | undefined;
756
+ variantId?: string | undefined;
757
+ shippedAt?: number | undefined;
758
+ deliveredAt?: number | undefined;
759
+ estimatedShipDate?: number | undefined;
760
+ }[];
761
+ payment: {
762
+ state: string;
763
+ currency: string;
764
+ totalAmount: number;
765
+ itemsAmount: number;
766
+ shippingAmount: number;
767
+ discountAmount: number;
768
+ methods: string[];
769
+ requireRefundBankAccount: boolean;
770
+ };
771
+ fulfillments: {
772
+ id: string;
773
+ state: string;
774
+ itemIds: string[];
775
+ trackingNumber?: string | undefined;
776
+ trackingCompany?: string | undefined;
777
+ trackingUrl?: string | undefined;
778
+ estimatedDeliveryDate?: number | undefined;
779
+ }[];
780
+ claims: {
781
+ type: string;
782
+ id: string;
783
+ state: string;
784
+ itemIds: string[];
785
+ createdAt: number;
786
+ extClaimId?: string | undefined;
787
+ }[];
788
+ orderedAt: number;
789
+ shippingAddress?: {
790
+ email?: string | undefined;
791
+ address1?: string | undefined;
792
+ address2?: string | undefined;
793
+ firstName?: string | undefined;
794
+ lastName?: string | undefined;
795
+ phoneNumber?: string | undefined;
796
+ cellPhoneNumber?: string | undefined;
797
+ zipcode?: string | undefined;
798
+ shippingMessage?: string | undefined;
799
+ country?: string | undefined;
800
+ city?: string | undefined;
801
+ province?: string | undefined;
802
+ } | undefined;
803
+ buyer?: {
804
+ name?: string | undefined;
805
+ email?: string | undefined;
806
+ phone?: string | undefined;
807
+ memberId?: string | undefined;
808
+ } | undefined;
809
+ }>, "many">>;
810
+ next: z.ZodOptional<z.ZodString>;
811
+ }, "strip", z.ZodTypeAny, {
812
+ next?: string | undefined;
813
+ orders?: {
814
+ id: string;
815
+ title: string;
816
+ items: {
817
+ name: string;
818
+ id: string;
819
+ state: string;
820
+ amount: number;
821
+ quantity: number;
822
+ claimability: {
823
+ cancelable: boolean;
824
+ returnable: boolean;
825
+ exchangeable: boolean;
826
+ shippingAddressChangeable: boolean;
827
+ };
828
+ imageUrl?: string | undefined;
829
+ option?: string | undefined;
830
+ productId?: string | undefined;
831
+ variantId?: string | undefined;
832
+ shippedAt?: number | undefined;
833
+ deliveredAt?: number | undefined;
834
+ estimatedShipDate?: number | undefined;
835
+ }[];
836
+ payment: {
837
+ state: string;
838
+ currency: string;
839
+ totalAmount: number;
840
+ itemsAmount: number;
841
+ shippingAmount: number;
842
+ discountAmount: number;
843
+ methods: string[];
844
+ requireRefundBankAccount: boolean;
845
+ };
846
+ fulfillments: {
847
+ id: string;
848
+ state: string;
849
+ itemIds: string[];
850
+ trackingNumber?: string | undefined;
851
+ trackingCompany?: string | undefined;
852
+ trackingUrl?: string | undefined;
853
+ estimatedDeliveryDate?: number | undefined;
854
+ }[];
855
+ claims: {
856
+ type: string;
857
+ id: string;
858
+ state: string;
859
+ itemIds: string[];
860
+ createdAt: number;
861
+ extClaimId?: string | undefined;
862
+ }[];
863
+ orderedAt: number;
864
+ shippingAddress?: {
865
+ email?: string | undefined;
866
+ address1?: string | undefined;
867
+ address2?: string | undefined;
868
+ firstName?: string | undefined;
869
+ lastName?: string | undefined;
870
+ phoneNumber?: string | undefined;
871
+ cellPhoneNumber?: string | undefined;
872
+ zipcode?: string | undefined;
873
+ shippingMessage?: string | undefined;
874
+ country?: string | undefined;
875
+ city?: string | undefined;
876
+ province?: string | undefined;
877
+ } | undefined;
878
+ buyer?: {
879
+ name?: string | undefined;
880
+ email?: string | undefined;
881
+ phone?: string | undefined;
882
+ memberId?: string | undefined;
883
+ } | undefined;
884
+ }[] | undefined;
885
+ }, {
886
+ next?: string | undefined;
887
+ orders?: {
888
+ id: string;
889
+ title: string;
890
+ items: {
891
+ name: string;
892
+ id: string;
893
+ state: string;
894
+ amount: number;
895
+ quantity: number;
896
+ claimability: {
897
+ cancelable: boolean;
898
+ returnable: boolean;
899
+ exchangeable: boolean;
900
+ shippingAddressChangeable: boolean;
901
+ };
902
+ imageUrl?: string | undefined;
903
+ option?: string | undefined;
904
+ productId?: string | undefined;
905
+ variantId?: string | undefined;
906
+ shippedAt?: number | undefined;
907
+ deliveredAt?: number | undefined;
908
+ estimatedShipDate?: number | undefined;
909
+ }[];
910
+ payment: {
911
+ state: string;
912
+ currency: string;
913
+ totalAmount: number;
914
+ itemsAmount: number;
915
+ shippingAmount: number;
916
+ discountAmount: number;
917
+ methods: string[];
918
+ requireRefundBankAccount: boolean;
919
+ };
920
+ fulfillments: {
921
+ id: string;
922
+ state: string;
923
+ itemIds: string[];
924
+ trackingNumber?: string | undefined;
925
+ trackingCompany?: string | undefined;
926
+ trackingUrl?: string | undefined;
927
+ estimatedDeliveryDate?: number | undefined;
928
+ }[];
929
+ claims: {
930
+ type: string;
931
+ id: string;
932
+ state: string;
933
+ itemIds: string[];
934
+ createdAt: number;
935
+ extClaimId?: string | undefined;
936
+ }[];
937
+ orderedAt: number;
938
+ shippingAddress?: {
939
+ email?: string | undefined;
940
+ address1?: string | undefined;
941
+ address2?: string | undefined;
942
+ firstName?: string | undefined;
943
+ lastName?: string | undefined;
944
+ phoneNumber?: string | undefined;
945
+ cellPhoneNumber?: string | undefined;
946
+ zipcode?: string | undefined;
947
+ shippingMessage?: string | undefined;
948
+ country?: string | undefined;
949
+ city?: string | undefined;
950
+ province?: string | undefined;
951
+ } | undefined;
952
+ buyer?: {
953
+ name?: string | undefined;
954
+ email?: string | undefined;
955
+ phone?: string | undefined;
956
+ memberId?: string | undefined;
957
+ } | undefined;
958
+ }[] | undefined;
959
+ }>;
960
+ export type CommerceGetOrdersOutput = ProtoBacked<z.infer<typeof CommerceGetOrdersOutputSchema>, ProtoCommerceGetOrdersOutput>;
961
+ export declare const CommerceAppCapabilitiesSchema: z.ZodObject<{
962
+ getOrdersOptions: z.ZodOptional<z.ZodObject<{
963
+ required: z.ZodArray<z.ZodString, "many">;
964
+ optional: z.ZodArray<z.ZodString, "many">;
965
+ fieldConfigs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
966
+ type: z.ZodLiteral<"enum">;
967
+ allowedValues: z.ZodArray<z.ZodObject<{
968
+ value: z.ZodString;
969
+ label: z.ZodString;
970
+ }, "strip", z.ZodTypeAny, {
971
+ value: string;
972
+ label: string;
973
+ }, {
974
+ value: string;
975
+ label: string;
976
+ }>, "many">;
977
+ }, "strip", z.ZodTypeAny, {
978
+ type: "enum";
979
+ allowedValues: {
980
+ value: string;
981
+ label: string;
982
+ }[];
983
+ }, {
984
+ type: "enum";
985
+ allowedValues: {
986
+ value: string;
987
+ label: string;
988
+ }[];
989
+ }>, z.ZodObject<{
990
+ type: z.ZodLiteral<"freeform">;
991
+ description: z.ZodOptional<z.ZodString>;
992
+ }, "strip", z.ZodTypeAny, {
993
+ type: "freeform";
994
+ description?: string | undefined;
995
+ }, {
996
+ type: "freeform";
997
+ description?: string | undefined;
998
+ }>]>>>;
999
+ }, "strip", z.ZodTypeAny, {
1000
+ required: string[];
1001
+ optional: string[];
1002
+ fieldConfigs?: Record<string, {
1003
+ type: "enum";
1004
+ allowedValues: {
1005
+ value: string;
1006
+ label: string;
1007
+ }[];
1008
+ } | {
1009
+ type: "freeform";
1010
+ description?: string | undefined;
1011
+ }> | undefined;
1012
+ }, {
1013
+ required: string[];
1014
+ optional: string[];
1015
+ fieldConfigs?: Record<string, {
1016
+ type: "enum";
1017
+ allowedValues: {
1018
+ value: string;
1019
+ label: string;
1020
+ }[];
1021
+ } | {
1022
+ type: "freeform";
1023
+ description?: string | undefined;
1024
+ }> | undefined;
1025
+ }>>;
1026
+ cancelRequestOrderOptions: z.ZodOptional<z.ZodObject<{
1027
+ required: z.ZodArray<z.ZodString, "many">;
1028
+ optional: z.ZodArray<z.ZodString, "many">;
1029
+ fieldConfigs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1030
+ type: z.ZodLiteral<"enum">;
1031
+ allowedValues: z.ZodArray<z.ZodObject<{
1032
+ value: z.ZodString;
1033
+ label: z.ZodString;
1034
+ }, "strip", z.ZodTypeAny, {
1035
+ value: string;
1036
+ label: string;
1037
+ }, {
1038
+ value: string;
1039
+ label: string;
1040
+ }>, "many">;
1041
+ }, "strip", z.ZodTypeAny, {
1042
+ type: "enum";
1043
+ allowedValues: {
1044
+ value: string;
1045
+ label: string;
1046
+ }[];
1047
+ }, {
1048
+ type: "enum";
1049
+ allowedValues: {
1050
+ value: string;
1051
+ label: string;
1052
+ }[];
1053
+ }>, z.ZodObject<{
1054
+ type: z.ZodLiteral<"freeform">;
1055
+ description: z.ZodOptional<z.ZodString>;
1056
+ }, "strip", z.ZodTypeAny, {
1057
+ type: "freeform";
1058
+ description?: string | undefined;
1059
+ }, {
1060
+ type: "freeform";
1061
+ description?: string | undefined;
1062
+ }>]>>>;
1063
+ }, "strip", z.ZodTypeAny, {
1064
+ required: string[];
1065
+ optional: string[];
1066
+ fieldConfigs?: Record<string, {
1067
+ type: "enum";
1068
+ allowedValues: {
1069
+ value: string;
1070
+ label: string;
1071
+ }[];
1072
+ } | {
1073
+ type: "freeform";
1074
+ description?: string | undefined;
1075
+ }> | undefined;
1076
+ }, {
1077
+ required: string[];
1078
+ optional: string[];
1079
+ fieldConfigs?: Record<string, {
1080
+ type: "enum";
1081
+ allowedValues: {
1082
+ value: string;
1083
+ label: string;
1084
+ }[];
1085
+ } | {
1086
+ type: "freeform";
1087
+ description?: string | undefined;
1088
+ }> | undefined;
1089
+ }>>;
1090
+ returnRequestOrderOptions: z.ZodOptional<z.ZodObject<{
1091
+ required: z.ZodArray<z.ZodString, "many">;
1092
+ optional: z.ZodArray<z.ZodString, "many">;
1093
+ fieldConfigs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1094
+ type: z.ZodLiteral<"enum">;
1095
+ allowedValues: z.ZodArray<z.ZodObject<{
1096
+ value: z.ZodString;
1097
+ label: z.ZodString;
1098
+ }, "strip", z.ZodTypeAny, {
1099
+ value: string;
1100
+ label: string;
1101
+ }, {
1102
+ value: string;
1103
+ label: string;
1104
+ }>, "many">;
1105
+ }, "strip", z.ZodTypeAny, {
1106
+ type: "enum";
1107
+ allowedValues: {
1108
+ value: string;
1109
+ label: string;
1110
+ }[];
1111
+ }, {
1112
+ type: "enum";
1113
+ allowedValues: {
1114
+ value: string;
1115
+ label: string;
1116
+ }[];
1117
+ }>, z.ZodObject<{
1118
+ type: z.ZodLiteral<"freeform">;
1119
+ description: z.ZodOptional<z.ZodString>;
1120
+ }, "strip", z.ZodTypeAny, {
1121
+ type: "freeform";
1122
+ description?: string | undefined;
1123
+ }, {
1124
+ type: "freeform";
1125
+ description?: string | undefined;
1126
+ }>]>>>;
1127
+ }, "strip", z.ZodTypeAny, {
1128
+ required: string[];
1129
+ optional: string[];
1130
+ fieldConfigs?: Record<string, {
1131
+ type: "enum";
1132
+ allowedValues: {
1133
+ value: string;
1134
+ label: string;
1135
+ }[];
1136
+ } | {
1137
+ type: "freeform";
1138
+ description?: string | undefined;
1139
+ }> | undefined;
1140
+ }, {
1141
+ required: string[];
1142
+ optional: string[];
1143
+ fieldConfigs?: Record<string, {
1144
+ type: "enum";
1145
+ allowedValues: {
1146
+ value: string;
1147
+ label: string;
1148
+ }[];
1149
+ } | {
1150
+ type: "freeform";
1151
+ description?: string | undefined;
1152
+ }> | undefined;
1153
+ }>>;
1154
+ returnAcceptOrderOptions: z.ZodOptional<z.ZodObject<{
1155
+ required: z.ZodArray<z.ZodString, "many">;
1156
+ optional: z.ZodArray<z.ZodString, "many">;
1157
+ fieldConfigs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1158
+ type: z.ZodLiteral<"enum">;
1159
+ allowedValues: z.ZodArray<z.ZodObject<{
1160
+ value: z.ZodString;
1161
+ label: z.ZodString;
1162
+ }, "strip", z.ZodTypeAny, {
1163
+ value: string;
1164
+ label: string;
1165
+ }, {
1166
+ value: string;
1167
+ label: string;
1168
+ }>, "many">;
1169
+ }, "strip", z.ZodTypeAny, {
1170
+ type: "enum";
1171
+ allowedValues: {
1172
+ value: string;
1173
+ label: string;
1174
+ }[];
1175
+ }, {
1176
+ type: "enum";
1177
+ allowedValues: {
1178
+ value: string;
1179
+ label: string;
1180
+ }[];
1181
+ }>, z.ZodObject<{
1182
+ type: z.ZodLiteral<"freeform">;
1183
+ description: z.ZodOptional<z.ZodString>;
1184
+ }, "strip", z.ZodTypeAny, {
1185
+ type: "freeform";
1186
+ description?: string | undefined;
1187
+ }, {
1188
+ type: "freeform";
1189
+ description?: string | undefined;
1190
+ }>]>>>;
1191
+ }, "strip", z.ZodTypeAny, {
1192
+ required: string[];
1193
+ optional: string[];
1194
+ fieldConfigs?: Record<string, {
1195
+ type: "enum";
1196
+ allowedValues: {
1197
+ value: string;
1198
+ label: string;
1199
+ }[];
1200
+ } | {
1201
+ type: "freeform";
1202
+ description?: string | undefined;
1203
+ }> | undefined;
1204
+ }, {
1205
+ required: string[];
1206
+ optional: string[];
1207
+ fieldConfigs?: Record<string, {
1208
+ type: "enum";
1209
+ allowedValues: {
1210
+ value: string;
1211
+ label: string;
1212
+ }[];
1213
+ } | {
1214
+ type: "freeform";
1215
+ description?: string | undefined;
1216
+ }> | undefined;
1217
+ }>>;
1218
+ exchangeRequestOrderOptions: z.ZodOptional<z.ZodObject<{
1219
+ required: z.ZodArray<z.ZodString, "many">;
1220
+ optional: z.ZodArray<z.ZodString, "many">;
1221
+ fieldConfigs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1222
+ type: z.ZodLiteral<"enum">;
1223
+ allowedValues: z.ZodArray<z.ZodObject<{
1224
+ value: z.ZodString;
1225
+ label: z.ZodString;
1226
+ }, "strip", z.ZodTypeAny, {
1227
+ value: string;
1228
+ label: string;
1229
+ }, {
1230
+ value: string;
1231
+ label: string;
1232
+ }>, "many">;
1233
+ }, "strip", z.ZodTypeAny, {
1234
+ type: "enum";
1235
+ allowedValues: {
1236
+ value: string;
1237
+ label: string;
1238
+ }[];
1239
+ }, {
1240
+ type: "enum";
1241
+ allowedValues: {
1242
+ value: string;
1243
+ label: string;
1244
+ }[];
1245
+ }>, z.ZodObject<{
1246
+ type: z.ZodLiteral<"freeform">;
1247
+ description: z.ZodOptional<z.ZodString>;
1248
+ }, "strip", z.ZodTypeAny, {
1249
+ type: "freeform";
1250
+ description?: string | undefined;
1251
+ }, {
1252
+ type: "freeform";
1253
+ description?: string | undefined;
1254
+ }>]>>>;
1255
+ }, "strip", z.ZodTypeAny, {
1256
+ required: string[];
1257
+ optional: string[];
1258
+ fieldConfigs?: Record<string, {
1259
+ type: "enum";
1260
+ allowedValues: {
1261
+ value: string;
1262
+ label: string;
1263
+ }[];
1264
+ } | {
1265
+ type: "freeform";
1266
+ description?: string | undefined;
1267
+ }> | undefined;
1268
+ }, {
1269
+ required: string[];
1270
+ optional: string[];
1271
+ fieldConfigs?: Record<string, {
1272
+ type: "enum";
1273
+ allowedValues: {
1274
+ value: string;
1275
+ label: string;
1276
+ }[];
1277
+ } | {
1278
+ type: "freeform";
1279
+ description?: string | undefined;
1280
+ }> | undefined;
1281
+ }>>;
1282
+ changeShippingAddressOptions: z.ZodOptional<z.ZodObject<{
1283
+ required: z.ZodArray<z.ZodString, "many">;
1284
+ optional: z.ZodArray<z.ZodString, "many">;
1285
+ fieldConfigs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1286
+ type: z.ZodLiteral<"enum">;
1287
+ allowedValues: z.ZodArray<z.ZodObject<{
1288
+ value: z.ZodString;
1289
+ label: z.ZodString;
1290
+ }, "strip", z.ZodTypeAny, {
1291
+ value: string;
1292
+ label: string;
1293
+ }, {
1294
+ value: string;
1295
+ label: string;
1296
+ }>, "many">;
1297
+ }, "strip", z.ZodTypeAny, {
1298
+ type: "enum";
1299
+ allowedValues: {
1300
+ value: string;
1301
+ label: string;
1302
+ }[];
1303
+ }, {
1304
+ type: "enum";
1305
+ allowedValues: {
1306
+ value: string;
1307
+ label: string;
1308
+ }[];
1309
+ }>, z.ZodObject<{
1310
+ type: z.ZodLiteral<"freeform">;
1311
+ description: z.ZodOptional<z.ZodString>;
1312
+ }, "strip", z.ZodTypeAny, {
1313
+ type: "freeform";
1314
+ description?: string | undefined;
1315
+ }, {
1316
+ type: "freeform";
1317
+ description?: string | undefined;
1318
+ }>]>>>;
1319
+ }, "strip", z.ZodTypeAny, {
1320
+ required: string[];
1321
+ optional: string[];
1322
+ fieldConfigs?: Record<string, {
1323
+ type: "enum";
1324
+ allowedValues: {
1325
+ value: string;
1326
+ label: string;
1327
+ }[];
1328
+ } | {
1329
+ type: "freeform";
1330
+ description?: string | undefined;
1331
+ }> | undefined;
1332
+ }, {
1333
+ required: string[];
1334
+ optional: string[];
1335
+ fieldConfigs?: Record<string, {
1336
+ type: "enum";
1337
+ allowedValues: {
1338
+ value: string;
1339
+ label: string;
1340
+ }[];
1341
+ } | {
1342
+ type: "freeform";
1343
+ description?: string | undefined;
1344
+ }> | undefined;
1345
+ }>>;
1346
+ }, "strip", z.ZodTypeAny, {
1347
+ getOrdersOptions?: {
1348
+ required: string[];
1349
+ optional: string[];
1350
+ fieldConfigs?: Record<string, {
1351
+ type: "enum";
1352
+ allowedValues: {
1353
+ value: string;
1354
+ label: string;
1355
+ }[];
1356
+ } | {
1357
+ type: "freeform";
1358
+ description?: string | undefined;
1359
+ }> | undefined;
1360
+ } | undefined;
1361
+ cancelRequestOrderOptions?: {
1362
+ required: string[];
1363
+ optional: string[];
1364
+ fieldConfigs?: Record<string, {
1365
+ type: "enum";
1366
+ allowedValues: {
1367
+ value: string;
1368
+ label: string;
1369
+ }[];
1370
+ } | {
1371
+ type: "freeform";
1372
+ description?: string | undefined;
1373
+ }> | undefined;
1374
+ } | undefined;
1375
+ returnRequestOrderOptions?: {
1376
+ required: string[];
1377
+ optional: string[];
1378
+ fieldConfigs?: Record<string, {
1379
+ type: "enum";
1380
+ allowedValues: {
1381
+ value: string;
1382
+ label: string;
1383
+ }[];
1384
+ } | {
1385
+ type: "freeform";
1386
+ description?: string | undefined;
1387
+ }> | undefined;
1388
+ } | undefined;
1389
+ exchangeRequestOrderOptions?: {
1390
+ required: string[];
1391
+ optional: string[];
1392
+ fieldConfigs?: Record<string, {
1393
+ type: "enum";
1394
+ allowedValues: {
1395
+ value: string;
1396
+ label: string;
1397
+ }[];
1398
+ } | {
1399
+ type: "freeform";
1400
+ description?: string | undefined;
1401
+ }> | undefined;
1402
+ } | undefined;
1403
+ changeShippingAddressOptions?: {
1404
+ required: string[];
1405
+ optional: string[];
1406
+ fieldConfigs?: Record<string, {
1407
+ type: "enum";
1408
+ allowedValues: {
1409
+ value: string;
1410
+ label: string;
1411
+ }[];
1412
+ } | {
1413
+ type: "freeform";
1414
+ description?: string | undefined;
1415
+ }> | undefined;
1416
+ } | undefined;
1417
+ returnAcceptOrderOptions?: {
1418
+ required: string[];
1419
+ optional: string[];
1420
+ fieldConfigs?: Record<string, {
1421
+ type: "enum";
1422
+ allowedValues: {
1423
+ value: string;
1424
+ label: string;
1425
+ }[];
1426
+ } | {
1427
+ type: "freeform";
1428
+ description?: string | undefined;
1429
+ }> | undefined;
1430
+ } | undefined;
1431
+ }, {
1432
+ getOrdersOptions?: {
1433
+ required: string[];
1434
+ optional: string[];
1435
+ fieldConfigs?: Record<string, {
1436
+ type: "enum";
1437
+ allowedValues: {
1438
+ value: string;
1439
+ label: string;
1440
+ }[];
1441
+ } | {
1442
+ type: "freeform";
1443
+ description?: string | undefined;
1444
+ }> | undefined;
1445
+ } | undefined;
1446
+ cancelRequestOrderOptions?: {
1447
+ required: string[];
1448
+ optional: string[];
1449
+ fieldConfigs?: Record<string, {
1450
+ type: "enum";
1451
+ allowedValues: {
1452
+ value: string;
1453
+ label: string;
1454
+ }[];
1455
+ } | {
1456
+ type: "freeform";
1457
+ description?: string | undefined;
1458
+ }> | undefined;
1459
+ } | undefined;
1460
+ returnRequestOrderOptions?: {
1461
+ required: string[];
1462
+ optional: string[];
1463
+ fieldConfigs?: Record<string, {
1464
+ type: "enum";
1465
+ allowedValues: {
1466
+ value: string;
1467
+ label: string;
1468
+ }[];
1469
+ } | {
1470
+ type: "freeform";
1471
+ description?: string | undefined;
1472
+ }> | undefined;
1473
+ } | undefined;
1474
+ exchangeRequestOrderOptions?: {
1475
+ required: string[];
1476
+ optional: string[];
1477
+ fieldConfigs?: Record<string, {
1478
+ type: "enum";
1479
+ allowedValues: {
1480
+ value: string;
1481
+ label: string;
1482
+ }[];
1483
+ } | {
1484
+ type: "freeform";
1485
+ description?: string | undefined;
1486
+ }> | undefined;
1487
+ } | undefined;
1488
+ changeShippingAddressOptions?: {
1489
+ required: string[];
1490
+ optional: string[];
1491
+ fieldConfigs?: Record<string, {
1492
+ type: "enum";
1493
+ allowedValues: {
1494
+ value: string;
1495
+ label: string;
1496
+ }[];
1497
+ } | {
1498
+ type: "freeform";
1499
+ description?: string | undefined;
1500
+ }> | undefined;
1501
+ } | undefined;
1502
+ returnAcceptOrderOptions?: {
1503
+ required: string[];
1504
+ optional: string[];
1505
+ fieldConfigs?: Record<string, {
1506
+ type: "enum";
1507
+ allowedValues: {
1508
+ value: string;
1509
+ label: string;
1510
+ }[];
1511
+ } | {
1512
+ type: "freeform";
1513
+ description?: string | undefined;
1514
+ }> | undefined;
1515
+ } | undefined;
1516
+ }>;
1517
+ export type CommerceAppCapabilities = ProtoBacked<z.infer<typeof CommerceAppCapabilitiesSchema>, ProtoCommerceAppCapabilities>;
1518
+ export declare const CommerceGetAppConfigsOutputSchema: z.ZodObject<{
1519
+ appCapabilities: z.ZodOptional<z.ZodObject<{
1520
+ getOrdersOptions: z.ZodOptional<z.ZodObject<{
1521
+ required: z.ZodArray<z.ZodString, "many">;
1522
+ optional: z.ZodArray<z.ZodString, "many">;
1523
+ fieldConfigs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1524
+ type: z.ZodLiteral<"enum">;
1525
+ allowedValues: z.ZodArray<z.ZodObject<{
1526
+ value: z.ZodString;
1527
+ label: z.ZodString;
1528
+ }, "strip", z.ZodTypeAny, {
1529
+ value: string;
1530
+ label: string;
1531
+ }, {
1532
+ value: string;
1533
+ label: string;
1534
+ }>, "many">;
1535
+ }, "strip", z.ZodTypeAny, {
1536
+ type: "enum";
1537
+ allowedValues: {
1538
+ value: string;
1539
+ label: string;
1540
+ }[];
1541
+ }, {
1542
+ type: "enum";
1543
+ allowedValues: {
1544
+ value: string;
1545
+ label: string;
1546
+ }[];
1547
+ }>, z.ZodObject<{
1548
+ type: z.ZodLiteral<"freeform">;
1549
+ description: z.ZodOptional<z.ZodString>;
1550
+ }, "strip", z.ZodTypeAny, {
1551
+ type: "freeform";
1552
+ description?: string | undefined;
1553
+ }, {
1554
+ type: "freeform";
1555
+ description?: string | undefined;
1556
+ }>]>>>;
1557
+ }, "strip", z.ZodTypeAny, {
1558
+ required: string[];
1559
+ optional: string[];
1560
+ fieldConfigs?: Record<string, {
1561
+ type: "enum";
1562
+ allowedValues: {
1563
+ value: string;
1564
+ label: string;
1565
+ }[];
1566
+ } | {
1567
+ type: "freeform";
1568
+ description?: string | undefined;
1569
+ }> | undefined;
1570
+ }, {
1571
+ required: string[];
1572
+ optional: string[];
1573
+ fieldConfigs?: Record<string, {
1574
+ type: "enum";
1575
+ allowedValues: {
1576
+ value: string;
1577
+ label: string;
1578
+ }[];
1579
+ } | {
1580
+ type: "freeform";
1581
+ description?: string | undefined;
1582
+ }> | undefined;
1583
+ }>>;
1584
+ cancelRequestOrderOptions: z.ZodOptional<z.ZodObject<{
1585
+ required: z.ZodArray<z.ZodString, "many">;
1586
+ optional: z.ZodArray<z.ZodString, "many">;
1587
+ fieldConfigs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1588
+ type: z.ZodLiteral<"enum">;
1589
+ allowedValues: z.ZodArray<z.ZodObject<{
1590
+ value: z.ZodString;
1591
+ label: z.ZodString;
1592
+ }, "strip", z.ZodTypeAny, {
1593
+ value: string;
1594
+ label: string;
1595
+ }, {
1596
+ value: string;
1597
+ label: string;
1598
+ }>, "many">;
1599
+ }, "strip", z.ZodTypeAny, {
1600
+ type: "enum";
1601
+ allowedValues: {
1602
+ value: string;
1603
+ label: string;
1604
+ }[];
1605
+ }, {
1606
+ type: "enum";
1607
+ allowedValues: {
1608
+ value: string;
1609
+ label: string;
1610
+ }[];
1611
+ }>, z.ZodObject<{
1612
+ type: z.ZodLiteral<"freeform">;
1613
+ description: z.ZodOptional<z.ZodString>;
1614
+ }, "strip", z.ZodTypeAny, {
1615
+ type: "freeform";
1616
+ description?: string | undefined;
1617
+ }, {
1618
+ type: "freeform";
1619
+ description?: string | undefined;
1620
+ }>]>>>;
1621
+ }, "strip", z.ZodTypeAny, {
1622
+ required: string[];
1623
+ optional: string[];
1624
+ fieldConfigs?: Record<string, {
1625
+ type: "enum";
1626
+ allowedValues: {
1627
+ value: string;
1628
+ label: string;
1629
+ }[];
1630
+ } | {
1631
+ type: "freeform";
1632
+ description?: string | undefined;
1633
+ }> | undefined;
1634
+ }, {
1635
+ required: string[];
1636
+ optional: string[];
1637
+ fieldConfigs?: Record<string, {
1638
+ type: "enum";
1639
+ allowedValues: {
1640
+ value: string;
1641
+ label: string;
1642
+ }[];
1643
+ } | {
1644
+ type: "freeform";
1645
+ description?: string | undefined;
1646
+ }> | undefined;
1647
+ }>>;
1648
+ returnRequestOrderOptions: z.ZodOptional<z.ZodObject<{
1649
+ required: z.ZodArray<z.ZodString, "many">;
1650
+ optional: z.ZodArray<z.ZodString, "many">;
1651
+ fieldConfigs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1652
+ type: z.ZodLiteral<"enum">;
1653
+ allowedValues: z.ZodArray<z.ZodObject<{
1654
+ value: z.ZodString;
1655
+ label: z.ZodString;
1656
+ }, "strip", z.ZodTypeAny, {
1657
+ value: string;
1658
+ label: string;
1659
+ }, {
1660
+ value: string;
1661
+ label: string;
1662
+ }>, "many">;
1663
+ }, "strip", z.ZodTypeAny, {
1664
+ type: "enum";
1665
+ allowedValues: {
1666
+ value: string;
1667
+ label: string;
1668
+ }[];
1669
+ }, {
1670
+ type: "enum";
1671
+ allowedValues: {
1672
+ value: string;
1673
+ label: string;
1674
+ }[];
1675
+ }>, z.ZodObject<{
1676
+ type: z.ZodLiteral<"freeform">;
1677
+ description: z.ZodOptional<z.ZodString>;
1678
+ }, "strip", z.ZodTypeAny, {
1679
+ type: "freeform";
1680
+ description?: string | undefined;
1681
+ }, {
1682
+ type: "freeform";
1683
+ description?: string | undefined;
1684
+ }>]>>>;
1685
+ }, "strip", z.ZodTypeAny, {
1686
+ required: string[];
1687
+ optional: string[];
1688
+ fieldConfigs?: Record<string, {
1689
+ type: "enum";
1690
+ allowedValues: {
1691
+ value: string;
1692
+ label: string;
1693
+ }[];
1694
+ } | {
1695
+ type: "freeform";
1696
+ description?: string | undefined;
1697
+ }> | undefined;
1698
+ }, {
1699
+ required: string[];
1700
+ optional: string[];
1701
+ fieldConfigs?: Record<string, {
1702
+ type: "enum";
1703
+ allowedValues: {
1704
+ value: string;
1705
+ label: string;
1706
+ }[];
1707
+ } | {
1708
+ type: "freeform";
1709
+ description?: string | undefined;
1710
+ }> | undefined;
1711
+ }>>;
1712
+ returnAcceptOrderOptions: z.ZodOptional<z.ZodObject<{
1713
+ required: z.ZodArray<z.ZodString, "many">;
1714
+ optional: z.ZodArray<z.ZodString, "many">;
1715
+ fieldConfigs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1716
+ type: z.ZodLiteral<"enum">;
1717
+ allowedValues: z.ZodArray<z.ZodObject<{
1718
+ value: z.ZodString;
1719
+ label: z.ZodString;
1720
+ }, "strip", z.ZodTypeAny, {
1721
+ value: string;
1722
+ label: string;
1723
+ }, {
1724
+ value: string;
1725
+ label: string;
1726
+ }>, "many">;
1727
+ }, "strip", z.ZodTypeAny, {
1728
+ type: "enum";
1729
+ allowedValues: {
1730
+ value: string;
1731
+ label: string;
1732
+ }[];
1733
+ }, {
1734
+ type: "enum";
1735
+ allowedValues: {
1736
+ value: string;
1737
+ label: string;
1738
+ }[];
1739
+ }>, z.ZodObject<{
1740
+ type: z.ZodLiteral<"freeform">;
1741
+ description: z.ZodOptional<z.ZodString>;
1742
+ }, "strip", z.ZodTypeAny, {
1743
+ type: "freeform";
1744
+ description?: string | undefined;
1745
+ }, {
1746
+ type: "freeform";
1747
+ description?: string | undefined;
1748
+ }>]>>>;
1749
+ }, "strip", z.ZodTypeAny, {
1750
+ required: string[];
1751
+ optional: string[];
1752
+ fieldConfigs?: Record<string, {
1753
+ type: "enum";
1754
+ allowedValues: {
1755
+ value: string;
1756
+ label: string;
1757
+ }[];
1758
+ } | {
1759
+ type: "freeform";
1760
+ description?: string | undefined;
1761
+ }> | undefined;
1762
+ }, {
1763
+ required: string[];
1764
+ optional: string[];
1765
+ fieldConfigs?: Record<string, {
1766
+ type: "enum";
1767
+ allowedValues: {
1768
+ value: string;
1769
+ label: string;
1770
+ }[];
1771
+ } | {
1772
+ type: "freeform";
1773
+ description?: string | undefined;
1774
+ }> | undefined;
1775
+ }>>;
1776
+ exchangeRequestOrderOptions: z.ZodOptional<z.ZodObject<{
1777
+ required: z.ZodArray<z.ZodString, "many">;
1778
+ optional: z.ZodArray<z.ZodString, "many">;
1779
+ fieldConfigs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1780
+ type: z.ZodLiteral<"enum">;
1781
+ allowedValues: z.ZodArray<z.ZodObject<{
1782
+ value: z.ZodString;
1783
+ label: z.ZodString;
1784
+ }, "strip", z.ZodTypeAny, {
1785
+ value: string;
1786
+ label: string;
1787
+ }, {
1788
+ value: string;
1789
+ label: string;
1790
+ }>, "many">;
1791
+ }, "strip", z.ZodTypeAny, {
1792
+ type: "enum";
1793
+ allowedValues: {
1794
+ value: string;
1795
+ label: string;
1796
+ }[];
1797
+ }, {
1798
+ type: "enum";
1799
+ allowedValues: {
1800
+ value: string;
1801
+ label: string;
1802
+ }[];
1803
+ }>, z.ZodObject<{
1804
+ type: z.ZodLiteral<"freeform">;
1805
+ description: z.ZodOptional<z.ZodString>;
1806
+ }, "strip", z.ZodTypeAny, {
1807
+ type: "freeform";
1808
+ description?: string | undefined;
1809
+ }, {
1810
+ type: "freeform";
1811
+ description?: string | undefined;
1812
+ }>]>>>;
1813
+ }, "strip", z.ZodTypeAny, {
1814
+ required: string[];
1815
+ optional: string[];
1816
+ fieldConfigs?: Record<string, {
1817
+ type: "enum";
1818
+ allowedValues: {
1819
+ value: string;
1820
+ label: string;
1821
+ }[];
1822
+ } | {
1823
+ type: "freeform";
1824
+ description?: string | undefined;
1825
+ }> | undefined;
1826
+ }, {
1827
+ required: string[];
1828
+ optional: string[];
1829
+ fieldConfigs?: Record<string, {
1830
+ type: "enum";
1831
+ allowedValues: {
1832
+ value: string;
1833
+ label: string;
1834
+ }[];
1835
+ } | {
1836
+ type: "freeform";
1837
+ description?: string | undefined;
1838
+ }> | undefined;
1839
+ }>>;
1840
+ changeShippingAddressOptions: z.ZodOptional<z.ZodObject<{
1841
+ required: z.ZodArray<z.ZodString, "many">;
1842
+ optional: z.ZodArray<z.ZodString, "many">;
1843
+ fieldConfigs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1844
+ type: z.ZodLiteral<"enum">;
1845
+ allowedValues: z.ZodArray<z.ZodObject<{
1846
+ value: z.ZodString;
1847
+ label: z.ZodString;
1848
+ }, "strip", z.ZodTypeAny, {
1849
+ value: string;
1850
+ label: string;
1851
+ }, {
1852
+ value: string;
1853
+ label: string;
1854
+ }>, "many">;
1855
+ }, "strip", z.ZodTypeAny, {
1856
+ type: "enum";
1857
+ allowedValues: {
1858
+ value: string;
1859
+ label: string;
1860
+ }[];
1861
+ }, {
1862
+ type: "enum";
1863
+ allowedValues: {
1864
+ value: string;
1865
+ label: string;
1866
+ }[];
1867
+ }>, z.ZodObject<{
1868
+ type: z.ZodLiteral<"freeform">;
1869
+ description: z.ZodOptional<z.ZodString>;
1870
+ }, "strip", z.ZodTypeAny, {
1871
+ type: "freeform";
1872
+ description?: string | undefined;
1873
+ }, {
1874
+ type: "freeform";
1875
+ description?: string | undefined;
1876
+ }>]>>>;
1877
+ }, "strip", z.ZodTypeAny, {
1878
+ required: string[];
1879
+ optional: string[];
1880
+ fieldConfigs?: Record<string, {
1881
+ type: "enum";
1882
+ allowedValues: {
1883
+ value: string;
1884
+ label: string;
1885
+ }[];
1886
+ } | {
1887
+ type: "freeform";
1888
+ description?: string | undefined;
1889
+ }> | undefined;
1890
+ }, {
1891
+ required: string[];
1892
+ optional: string[];
1893
+ fieldConfigs?: Record<string, {
1894
+ type: "enum";
1895
+ allowedValues: {
1896
+ value: string;
1897
+ label: string;
1898
+ }[];
1899
+ } | {
1900
+ type: "freeform";
1901
+ description?: string | undefined;
1902
+ }> | undefined;
1903
+ }>>;
1904
+ }, "strip", z.ZodTypeAny, {
1905
+ getOrdersOptions?: {
1906
+ required: string[];
1907
+ optional: string[];
1908
+ fieldConfigs?: Record<string, {
1909
+ type: "enum";
1910
+ allowedValues: {
1911
+ value: string;
1912
+ label: string;
1913
+ }[];
1914
+ } | {
1915
+ type: "freeform";
1916
+ description?: string | undefined;
1917
+ }> | undefined;
1918
+ } | undefined;
1919
+ cancelRequestOrderOptions?: {
1920
+ required: string[];
1921
+ optional: string[];
1922
+ fieldConfigs?: Record<string, {
1923
+ type: "enum";
1924
+ allowedValues: {
1925
+ value: string;
1926
+ label: string;
1927
+ }[];
1928
+ } | {
1929
+ type: "freeform";
1930
+ description?: string | undefined;
1931
+ }> | undefined;
1932
+ } | undefined;
1933
+ returnRequestOrderOptions?: {
1934
+ required: string[];
1935
+ optional: string[];
1936
+ fieldConfigs?: Record<string, {
1937
+ type: "enum";
1938
+ allowedValues: {
1939
+ value: string;
1940
+ label: string;
1941
+ }[];
1942
+ } | {
1943
+ type: "freeform";
1944
+ description?: string | undefined;
1945
+ }> | undefined;
1946
+ } | undefined;
1947
+ exchangeRequestOrderOptions?: {
1948
+ required: string[];
1949
+ optional: string[];
1950
+ fieldConfigs?: Record<string, {
1951
+ type: "enum";
1952
+ allowedValues: {
1953
+ value: string;
1954
+ label: string;
1955
+ }[];
1956
+ } | {
1957
+ type: "freeform";
1958
+ description?: string | undefined;
1959
+ }> | undefined;
1960
+ } | undefined;
1961
+ changeShippingAddressOptions?: {
1962
+ required: string[];
1963
+ optional: string[];
1964
+ fieldConfigs?: Record<string, {
1965
+ type: "enum";
1966
+ allowedValues: {
1967
+ value: string;
1968
+ label: string;
1969
+ }[];
1970
+ } | {
1971
+ type: "freeform";
1972
+ description?: string | undefined;
1973
+ }> | undefined;
1974
+ } | undefined;
1975
+ returnAcceptOrderOptions?: {
1976
+ required: string[];
1977
+ optional: string[];
1978
+ fieldConfigs?: Record<string, {
1979
+ type: "enum";
1980
+ allowedValues: {
1981
+ value: string;
1982
+ label: string;
1983
+ }[];
1984
+ } | {
1985
+ type: "freeform";
1986
+ description?: string | undefined;
1987
+ }> | undefined;
1988
+ } | undefined;
1989
+ }, {
1990
+ getOrdersOptions?: {
1991
+ required: string[];
1992
+ optional: string[];
1993
+ fieldConfigs?: Record<string, {
1994
+ type: "enum";
1995
+ allowedValues: {
1996
+ value: string;
1997
+ label: string;
1998
+ }[];
1999
+ } | {
2000
+ type: "freeform";
2001
+ description?: string | undefined;
2002
+ }> | undefined;
2003
+ } | undefined;
2004
+ cancelRequestOrderOptions?: {
2005
+ required: string[];
2006
+ optional: string[];
2007
+ fieldConfigs?: Record<string, {
2008
+ type: "enum";
2009
+ allowedValues: {
2010
+ value: string;
2011
+ label: string;
2012
+ }[];
2013
+ } | {
2014
+ type: "freeform";
2015
+ description?: string | undefined;
2016
+ }> | undefined;
2017
+ } | undefined;
2018
+ returnRequestOrderOptions?: {
2019
+ required: string[];
2020
+ optional: string[];
2021
+ fieldConfigs?: Record<string, {
2022
+ type: "enum";
2023
+ allowedValues: {
2024
+ value: string;
2025
+ label: string;
2026
+ }[];
2027
+ } | {
2028
+ type: "freeform";
2029
+ description?: string | undefined;
2030
+ }> | undefined;
2031
+ } | undefined;
2032
+ exchangeRequestOrderOptions?: {
2033
+ required: string[];
2034
+ optional: string[];
2035
+ fieldConfigs?: Record<string, {
2036
+ type: "enum";
2037
+ allowedValues: {
2038
+ value: string;
2039
+ label: string;
2040
+ }[];
2041
+ } | {
2042
+ type: "freeform";
2043
+ description?: string | undefined;
2044
+ }> | undefined;
2045
+ } | undefined;
2046
+ changeShippingAddressOptions?: {
2047
+ required: string[];
2048
+ optional: string[];
2049
+ fieldConfigs?: Record<string, {
2050
+ type: "enum";
2051
+ allowedValues: {
2052
+ value: string;
2053
+ label: string;
2054
+ }[];
2055
+ } | {
2056
+ type: "freeform";
2057
+ description?: string | undefined;
2058
+ }> | undefined;
2059
+ } | undefined;
2060
+ returnAcceptOrderOptions?: {
2061
+ required: string[];
2062
+ optional: string[];
2063
+ fieldConfigs?: Record<string, {
2064
+ type: "enum";
2065
+ allowedValues: {
2066
+ value: string;
2067
+ label: string;
2068
+ }[];
2069
+ } | {
2070
+ type: "freeform";
2071
+ description?: string | undefined;
2072
+ }> | undefined;
2073
+ } | undefined;
2074
+ }>>;
2075
+ }, "strip", z.ZodTypeAny, {
2076
+ appCapabilities?: {
2077
+ getOrdersOptions?: {
2078
+ required: string[];
2079
+ optional: string[];
2080
+ fieldConfigs?: Record<string, {
2081
+ type: "enum";
2082
+ allowedValues: {
2083
+ value: string;
2084
+ label: string;
2085
+ }[];
2086
+ } | {
2087
+ type: "freeform";
2088
+ description?: string | undefined;
2089
+ }> | undefined;
2090
+ } | undefined;
2091
+ cancelRequestOrderOptions?: {
2092
+ required: string[];
2093
+ optional: string[];
2094
+ fieldConfigs?: Record<string, {
2095
+ type: "enum";
2096
+ allowedValues: {
2097
+ value: string;
2098
+ label: string;
2099
+ }[];
2100
+ } | {
2101
+ type: "freeform";
2102
+ description?: string | undefined;
2103
+ }> | undefined;
2104
+ } | undefined;
2105
+ returnRequestOrderOptions?: {
2106
+ required: string[];
2107
+ optional: string[];
2108
+ fieldConfigs?: Record<string, {
2109
+ type: "enum";
2110
+ allowedValues: {
2111
+ value: string;
2112
+ label: string;
2113
+ }[];
2114
+ } | {
2115
+ type: "freeform";
2116
+ description?: string | undefined;
2117
+ }> | undefined;
2118
+ } | undefined;
2119
+ exchangeRequestOrderOptions?: {
2120
+ required: string[];
2121
+ optional: string[];
2122
+ fieldConfigs?: Record<string, {
2123
+ type: "enum";
2124
+ allowedValues: {
2125
+ value: string;
2126
+ label: string;
2127
+ }[];
2128
+ } | {
2129
+ type: "freeform";
2130
+ description?: string | undefined;
2131
+ }> | undefined;
2132
+ } | undefined;
2133
+ changeShippingAddressOptions?: {
2134
+ required: string[];
2135
+ optional: string[];
2136
+ fieldConfigs?: Record<string, {
2137
+ type: "enum";
2138
+ allowedValues: {
2139
+ value: string;
2140
+ label: string;
2141
+ }[];
2142
+ } | {
2143
+ type: "freeform";
2144
+ description?: string | undefined;
2145
+ }> | undefined;
2146
+ } | undefined;
2147
+ returnAcceptOrderOptions?: {
2148
+ required: string[];
2149
+ optional: string[];
2150
+ fieldConfigs?: Record<string, {
2151
+ type: "enum";
2152
+ allowedValues: {
2153
+ value: string;
2154
+ label: string;
2155
+ }[];
2156
+ } | {
2157
+ type: "freeform";
2158
+ description?: string | undefined;
2159
+ }> | undefined;
2160
+ } | undefined;
2161
+ } | undefined;
2162
+ }, {
2163
+ appCapabilities?: {
2164
+ getOrdersOptions?: {
2165
+ required: string[];
2166
+ optional: string[];
2167
+ fieldConfigs?: Record<string, {
2168
+ type: "enum";
2169
+ allowedValues: {
2170
+ value: string;
2171
+ label: string;
2172
+ }[];
2173
+ } | {
2174
+ type: "freeform";
2175
+ description?: string | undefined;
2176
+ }> | undefined;
2177
+ } | undefined;
2178
+ cancelRequestOrderOptions?: {
2179
+ required: string[];
2180
+ optional: string[];
2181
+ fieldConfigs?: Record<string, {
2182
+ type: "enum";
2183
+ allowedValues: {
2184
+ value: string;
2185
+ label: string;
2186
+ }[];
2187
+ } | {
2188
+ type: "freeform";
2189
+ description?: string | undefined;
2190
+ }> | undefined;
2191
+ } | undefined;
2192
+ returnRequestOrderOptions?: {
2193
+ required: string[];
2194
+ optional: string[];
2195
+ fieldConfigs?: Record<string, {
2196
+ type: "enum";
2197
+ allowedValues: {
2198
+ value: string;
2199
+ label: string;
2200
+ }[];
2201
+ } | {
2202
+ type: "freeform";
2203
+ description?: string | undefined;
2204
+ }> | undefined;
2205
+ } | undefined;
2206
+ exchangeRequestOrderOptions?: {
2207
+ required: string[];
2208
+ optional: string[];
2209
+ fieldConfigs?: Record<string, {
2210
+ type: "enum";
2211
+ allowedValues: {
2212
+ value: string;
2213
+ label: string;
2214
+ }[];
2215
+ } | {
2216
+ type: "freeform";
2217
+ description?: string | undefined;
2218
+ }> | undefined;
2219
+ } | undefined;
2220
+ changeShippingAddressOptions?: {
2221
+ required: string[];
2222
+ optional: string[];
2223
+ fieldConfigs?: Record<string, {
2224
+ type: "enum";
2225
+ allowedValues: {
2226
+ value: string;
2227
+ label: string;
2228
+ }[];
2229
+ } | {
2230
+ type: "freeform";
2231
+ description?: string | undefined;
2232
+ }> | undefined;
2233
+ } | undefined;
2234
+ returnAcceptOrderOptions?: {
2235
+ required: string[];
2236
+ optional: string[];
2237
+ fieldConfigs?: Record<string, {
2238
+ type: "enum";
2239
+ allowedValues: {
2240
+ value: string;
2241
+ label: string;
2242
+ }[];
2243
+ } | {
2244
+ type: "freeform";
2245
+ description?: string | undefined;
2246
+ }> | undefined;
2247
+ } | undefined;
2248
+ } | undefined;
2249
+ }>;
2250
+ export type CommerceGetAppConfigsOutput = ProtoBacked<z.infer<typeof CommerceGetAppConfigsOutputSchema>, ProtoCommerceGetAppConfigsOutput>;
2251
+ export declare const CommerceResultSchema: z.ZodObject<{
2252
+ result: z.ZodObject<{
2253
+ success: z.ZodBoolean;
2254
+ errorMessage: z.ZodOptional<z.ZodString>;
2255
+ }, "strip", z.ZodTypeAny, {
2256
+ success: boolean;
2257
+ errorMessage?: string | undefined;
2258
+ }, {
2259
+ success: boolean;
2260
+ errorMessage?: string | undefined;
2261
+ }>;
2262
+ }, "strip", z.ZodTypeAny, {
2263
+ result: {
2264
+ success: boolean;
2265
+ errorMessage?: string | undefined;
2266
+ };
2267
+ }, {
2268
+ result: {
2269
+ success: boolean;
2270
+ errorMessage?: string | undefined;
2271
+ };
2272
+ }>;
2273
+ export type CommerceActionResult = ProtoBacked<z.infer<typeof CommerceResultSchema>, ProtoCommerceActionResult>;
2274
+ export declare const CommerceCancelOrderInputSchema: z.ZodObject<{
2275
+ identifier: z.ZodOptional<z.ZodObject<{
2276
+ type: z.ZodEnum<["membership", "phone", "email"]>;
2277
+ value: z.ZodString;
2278
+ }, "strip", z.ZodTypeAny, {
2279
+ type: "email" | "phone" | "membership";
2280
+ value: string;
2281
+ }, {
2282
+ type: "email" | "phone" | "membership";
2283
+ value: string;
2284
+ }>>;
2285
+ orderId: z.ZodString;
2286
+ cancelItems: z.ZodOptional<z.ZodArray<z.ZodObject<{
2287
+ id: z.ZodOptional<z.ZodString>;
2288
+ quantity: z.ZodOptional<z.ZodNumber>;
2289
+ }, "strip", z.ZodTypeAny, {
2290
+ id?: string | undefined;
2291
+ quantity?: number | undefined;
2292
+ }, {
2293
+ id?: string | undefined;
2294
+ quantity?: number | undefined;
2295
+ }>, "many">>;
2296
+ reason: z.ZodOptional<z.ZodObject<{
2297
+ type: z.ZodOptional<z.ZodString>;
2298
+ description: z.ZodOptional<z.ZodString>;
2299
+ }, "strip", z.ZodTypeAny, {
2300
+ type?: string | undefined;
2301
+ description?: string | undefined;
2302
+ }, {
2303
+ type?: string | undefined;
2304
+ description?: string | undefined;
2305
+ }>>;
2306
+ refundBankAccount: z.ZodOptional<z.ZodObject<{
2307
+ bankName: z.ZodString;
2308
+ accountNo: z.ZodString;
2309
+ accountHolder: z.ZodString;
2310
+ }, "strip", z.ZodTypeAny, {
2311
+ bankName: string;
2312
+ accountNo: string;
2313
+ accountHolder: string;
2314
+ }, {
2315
+ bankName: string;
2316
+ accountNo: string;
2317
+ accountHolder: string;
2318
+ }>>;
2319
+ }, "strip", z.ZodTypeAny, {
2320
+ orderId: string;
2321
+ reason?: {
2322
+ type?: string | undefined;
2323
+ description?: string | undefined;
2324
+ } | undefined;
2325
+ identifier?: {
2326
+ type: "email" | "phone" | "membership";
2327
+ value: string;
2328
+ } | undefined;
2329
+ cancelItems?: {
2330
+ id?: string | undefined;
2331
+ quantity?: number | undefined;
2332
+ }[] | undefined;
2333
+ refundBankAccount?: {
2334
+ bankName: string;
2335
+ accountNo: string;
2336
+ accountHolder: string;
2337
+ } | undefined;
2338
+ }, {
2339
+ orderId: string;
2340
+ reason?: {
2341
+ type?: string | undefined;
2342
+ description?: string | undefined;
2343
+ } | undefined;
2344
+ identifier?: {
2345
+ type: "email" | "phone" | "membership";
2346
+ value: string;
2347
+ } | undefined;
2348
+ cancelItems?: {
2349
+ id?: string | undefined;
2350
+ quantity?: number | undefined;
2351
+ }[] | undefined;
2352
+ refundBankAccount?: {
2353
+ bankName: string;
2354
+ accountNo: string;
2355
+ accountHolder: string;
2356
+ } | undefined;
2357
+ }>;
2358
+ export type CommerceCancelOrderInput = ProtoBacked<z.infer<typeof CommerceCancelOrderInputSchema>, ProtoCommerceCancelOrderInput>;
2359
+ export declare const CommerceReturnOrderInputSchema: z.ZodObject<{
2360
+ identifier: z.ZodOptional<z.ZodObject<{
2361
+ type: z.ZodEnum<["membership", "phone", "email"]>;
2362
+ value: z.ZodString;
2363
+ }, "strip", z.ZodTypeAny, {
2364
+ type: "email" | "phone" | "membership";
2365
+ value: string;
2366
+ }, {
2367
+ type: "email" | "phone" | "membership";
2368
+ value: string;
2369
+ }>>;
2370
+ orderId: z.ZodString;
2371
+ returnItems: z.ZodOptional<z.ZodArray<z.ZodObject<{
2372
+ id: z.ZodOptional<z.ZodString>;
2373
+ quantity: z.ZodOptional<z.ZodNumber>;
2374
+ }, "strip", z.ZodTypeAny, {
2375
+ id?: string | undefined;
2376
+ quantity?: number | undefined;
2377
+ }, {
2378
+ id?: string | undefined;
2379
+ quantity?: number | undefined;
2380
+ }>, "many">>;
2381
+ reason: z.ZodOptional<z.ZodObject<{
2382
+ type: z.ZodOptional<z.ZodString>;
2383
+ description: z.ZodOptional<z.ZodString>;
2384
+ }, "strip", z.ZodTypeAny, {
2385
+ type?: string | undefined;
2386
+ description?: string | undefined;
2387
+ }, {
2388
+ type?: string | undefined;
2389
+ description?: string | undefined;
2390
+ }>>;
2391
+ requestPickup: z.ZodOptional<z.ZodBoolean>;
2392
+ pickupAddress: z.ZodOptional<z.ZodObject<{
2393
+ firstName: z.ZodOptional<z.ZodString>;
2394
+ lastName: z.ZodOptional<z.ZodString>;
2395
+ phoneNumber: z.ZodOptional<z.ZodString>;
2396
+ email: z.ZodOptional<z.ZodString>;
2397
+ cellPhoneNumber: z.ZodOptional<z.ZodString>;
2398
+ zipcode: z.ZodOptional<z.ZodString>;
2399
+ address1: z.ZodOptional<z.ZodString>;
2400
+ address2: z.ZodOptional<z.ZodString>;
2401
+ shippingMessage: z.ZodOptional<z.ZodString>;
2402
+ country: z.ZodOptional<z.ZodString>;
2403
+ city: z.ZodOptional<z.ZodString>;
2404
+ province: z.ZodOptional<z.ZodString>;
2405
+ }, "strip", z.ZodTypeAny, {
2406
+ email?: string | undefined;
2407
+ address1?: string | undefined;
2408
+ address2?: string | undefined;
2409
+ firstName?: string | undefined;
2410
+ lastName?: string | undefined;
2411
+ phoneNumber?: string | undefined;
2412
+ cellPhoneNumber?: string | undefined;
2413
+ zipcode?: string | undefined;
2414
+ shippingMessage?: string | undefined;
2415
+ country?: string | undefined;
2416
+ city?: string | undefined;
2417
+ province?: string | undefined;
2418
+ }, {
2419
+ email?: string | undefined;
2420
+ address1?: string | undefined;
2421
+ address2?: string | undefined;
2422
+ firstName?: string | undefined;
2423
+ lastName?: string | undefined;
2424
+ phoneNumber?: string | undefined;
2425
+ cellPhoneNumber?: string | undefined;
2426
+ zipcode?: string | undefined;
2427
+ shippingMessage?: string | undefined;
2428
+ country?: string | undefined;
2429
+ city?: string | undefined;
2430
+ province?: string | undefined;
2431
+ }>>;
2432
+ refundBankAccount: z.ZodOptional<z.ZodObject<{
2433
+ bankName: z.ZodString;
2434
+ accountNo: z.ZodString;
2435
+ accountHolder: z.ZodString;
2436
+ }, "strip", z.ZodTypeAny, {
2437
+ bankName: string;
2438
+ accountNo: string;
2439
+ accountHolder: string;
2440
+ }, {
2441
+ bankName: string;
2442
+ accountNo: string;
2443
+ accountHolder: string;
2444
+ }>>;
2445
+ trackingNumber: z.ZodOptional<z.ZodString>;
2446
+ trackingCompany: z.ZodOptional<z.ZodString>;
2447
+ defectInfo: z.ZodOptional<z.ZodObject<{
2448
+ description: z.ZodString;
2449
+ imageUrls: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2450
+ }, "strip", z.ZodTypeAny, {
2451
+ description: string;
2452
+ imageUrls?: string[] | undefined;
2453
+ }, {
2454
+ description: string;
2455
+ imageUrls?: string[] | undefined;
2456
+ }>>;
2457
+ }, "strip", z.ZodTypeAny, {
2458
+ orderId: string;
2459
+ reason?: {
2460
+ type?: string | undefined;
2461
+ description?: string | undefined;
2462
+ } | undefined;
2463
+ trackingNumber?: string | undefined;
2464
+ trackingCompany?: string | undefined;
2465
+ identifier?: {
2466
+ type: "email" | "phone" | "membership";
2467
+ value: string;
2468
+ } | undefined;
2469
+ refundBankAccount?: {
2470
+ bankName: string;
2471
+ accountNo: string;
2472
+ accountHolder: string;
2473
+ } | undefined;
2474
+ returnItems?: {
2475
+ id?: string | undefined;
2476
+ quantity?: number | undefined;
2477
+ }[] | undefined;
2478
+ requestPickup?: boolean | undefined;
2479
+ pickupAddress?: {
2480
+ email?: string | undefined;
2481
+ address1?: string | undefined;
2482
+ address2?: string | undefined;
2483
+ firstName?: string | undefined;
2484
+ lastName?: string | undefined;
2485
+ phoneNumber?: string | undefined;
2486
+ cellPhoneNumber?: string | undefined;
2487
+ zipcode?: string | undefined;
2488
+ shippingMessage?: string | undefined;
2489
+ country?: string | undefined;
2490
+ city?: string | undefined;
2491
+ province?: string | undefined;
2492
+ } | undefined;
2493
+ defectInfo?: {
2494
+ description: string;
2495
+ imageUrls?: string[] | undefined;
2496
+ } | undefined;
2497
+ }, {
2498
+ orderId: string;
2499
+ reason?: {
2500
+ type?: string | undefined;
2501
+ description?: string | undefined;
2502
+ } | undefined;
2503
+ trackingNumber?: string | undefined;
2504
+ trackingCompany?: string | undefined;
2505
+ identifier?: {
2506
+ type: "email" | "phone" | "membership";
2507
+ value: string;
2508
+ } | undefined;
2509
+ refundBankAccount?: {
2510
+ bankName: string;
2511
+ accountNo: string;
2512
+ accountHolder: string;
2513
+ } | undefined;
2514
+ returnItems?: {
2515
+ id?: string | undefined;
2516
+ quantity?: number | undefined;
2517
+ }[] | undefined;
2518
+ requestPickup?: boolean | undefined;
2519
+ pickupAddress?: {
2520
+ email?: string | undefined;
2521
+ address1?: string | undefined;
2522
+ address2?: string | undefined;
2523
+ firstName?: string | undefined;
2524
+ lastName?: string | undefined;
2525
+ phoneNumber?: string | undefined;
2526
+ cellPhoneNumber?: string | undefined;
2527
+ zipcode?: string | undefined;
2528
+ shippingMessage?: string | undefined;
2529
+ country?: string | undefined;
2530
+ city?: string | undefined;
2531
+ province?: string | undefined;
2532
+ } | undefined;
2533
+ defectInfo?: {
2534
+ description: string;
2535
+ imageUrls?: string[] | undefined;
2536
+ } | undefined;
2537
+ }>;
2538
+ export type CommerceReturnOrderInput = ProtoBacked<z.infer<typeof CommerceReturnOrderInputSchema>, ProtoCommerceReturnOrderInput>;
2539
+ export declare const CommerceReturnAcceptOrderInputSchema: z.ZodObject<{
2540
+ identifier: z.ZodOptional<z.ZodObject<{
2541
+ type: z.ZodEnum<["membership", "phone", "email"]>;
2542
+ value: z.ZodString;
2543
+ }, "strip", z.ZodTypeAny, {
2544
+ type: "email" | "phone" | "membership";
2545
+ value: string;
2546
+ }, {
2547
+ type: "email" | "phone" | "membership";
2548
+ value: string;
2549
+ }>>;
2550
+ orderId: z.ZodString;
2551
+ returnItems: z.ZodOptional<z.ZodArray<z.ZodObject<{
2552
+ id: z.ZodOptional<z.ZodString>;
2553
+ quantity: z.ZodOptional<z.ZodNumber>;
2554
+ }, "strip", z.ZodTypeAny, {
2555
+ id?: string | undefined;
2556
+ quantity?: number | undefined;
2557
+ }, {
2558
+ id?: string | undefined;
2559
+ quantity?: number | undefined;
2560
+ }>, "many">>;
2561
+ reason: z.ZodOptional<z.ZodObject<{
2562
+ type: z.ZodOptional<z.ZodString>;
2563
+ description: z.ZodOptional<z.ZodString>;
2564
+ }, "strip", z.ZodTypeAny, {
2565
+ type?: string | undefined;
2566
+ description?: string | undefined;
2567
+ }, {
2568
+ type?: string | undefined;
2569
+ description?: string | undefined;
2570
+ }>>;
2571
+ refundBankAccount: z.ZodOptional<z.ZodObject<{
2572
+ bankName: z.ZodString;
2573
+ accountNo: z.ZodString;
2574
+ accountHolder: z.ZodString;
2575
+ }, "strip", z.ZodTypeAny, {
2576
+ bankName: string;
2577
+ accountNo: string;
2578
+ accountHolder: string;
2579
+ }, {
2580
+ bankName: string;
2581
+ accountNo: string;
2582
+ accountHolder: string;
2583
+ }>>;
2584
+ pickupCompleted: z.ZodOptional<z.ZodBoolean>;
2585
+ requestPickup: z.ZodOptional<z.ZodBoolean>;
2586
+ }, "strip", z.ZodTypeAny, {
2587
+ orderId: string;
2588
+ reason?: {
2589
+ type?: string | undefined;
2590
+ description?: string | undefined;
2591
+ } | undefined;
2592
+ identifier?: {
2593
+ type: "email" | "phone" | "membership";
2594
+ value: string;
2595
+ } | undefined;
2596
+ refundBankAccount?: {
2597
+ bankName: string;
2598
+ accountNo: string;
2599
+ accountHolder: string;
2600
+ } | undefined;
2601
+ returnItems?: {
2602
+ id?: string | undefined;
2603
+ quantity?: number | undefined;
2604
+ }[] | undefined;
2605
+ requestPickup?: boolean | undefined;
2606
+ pickupCompleted?: boolean | undefined;
2607
+ }, {
2608
+ orderId: string;
2609
+ reason?: {
2610
+ type?: string | undefined;
2611
+ description?: string | undefined;
2612
+ } | undefined;
2613
+ identifier?: {
2614
+ type: "email" | "phone" | "membership";
2615
+ value: string;
2616
+ } | undefined;
2617
+ refundBankAccount?: {
2618
+ bankName: string;
2619
+ accountNo: string;
2620
+ accountHolder: string;
2621
+ } | undefined;
2622
+ returnItems?: {
2623
+ id?: string | undefined;
2624
+ quantity?: number | undefined;
2625
+ }[] | undefined;
2626
+ requestPickup?: boolean | undefined;
2627
+ pickupCompleted?: boolean | undefined;
2628
+ }>;
2629
+ export type CommerceReturnAcceptOrderInput = ProtoBacked<z.infer<typeof CommerceReturnAcceptOrderInputSchema>, ProtoCommerceReturnAcceptOrderInput>;
2630
+ export declare const CommerceExchangeOrderInputSchema: z.ZodObject<{
2631
+ identifier: z.ZodOptional<z.ZodObject<{
2632
+ type: z.ZodEnum<["membership", "phone", "email"]>;
2633
+ value: z.ZodString;
2634
+ }, "strip", z.ZodTypeAny, {
2635
+ type: "email" | "phone" | "membership";
2636
+ value: string;
2637
+ }, {
2638
+ type: "email" | "phone" | "membership";
2639
+ value: string;
2640
+ }>>;
2641
+ orderId: z.ZodString;
2642
+ beforeExchangeItems: z.ZodOptional<z.ZodArray<z.ZodObject<{
2643
+ id: z.ZodOptional<z.ZodString>;
2644
+ quantity: z.ZodOptional<z.ZodNumber>;
2645
+ }, "strip", z.ZodTypeAny, {
2646
+ id?: string | undefined;
2647
+ quantity?: number | undefined;
2648
+ }, {
2649
+ id?: string | undefined;
2650
+ quantity?: number | undefined;
2651
+ }>, "many">>;
2652
+ afterExchangeItems: z.ZodOptional<z.ZodArray<z.ZodObject<{
2653
+ productId: z.ZodOptional<z.ZodString>;
2654
+ variantId: z.ZodOptional<z.ZodString>;
2655
+ quantity: z.ZodOptional<z.ZodNumber>;
2656
+ }, "strip", z.ZodTypeAny, {
2657
+ quantity?: number | undefined;
2658
+ productId?: string | undefined;
2659
+ variantId?: string | undefined;
2660
+ }, {
2661
+ quantity?: number | undefined;
2662
+ productId?: string | undefined;
2663
+ variantId?: string | undefined;
2664
+ }>, "many">>;
2665
+ reason: z.ZodOptional<z.ZodObject<{
2666
+ type: z.ZodOptional<z.ZodString>;
2667
+ description: z.ZodOptional<z.ZodString>;
2668
+ }, "strip", z.ZodTypeAny, {
2669
+ type?: string | undefined;
2670
+ description?: string | undefined;
2671
+ }, {
2672
+ type?: string | undefined;
2673
+ description?: string | undefined;
2674
+ }>>;
2675
+ requestPickup: z.ZodOptional<z.ZodBoolean>;
2676
+ pickupAddress: z.ZodOptional<z.ZodObject<{
2677
+ firstName: z.ZodOptional<z.ZodString>;
2678
+ lastName: z.ZodOptional<z.ZodString>;
2679
+ phoneNumber: z.ZodOptional<z.ZodString>;
2680
+ email: z.ZodOptional<z.ZodString>;
2681
+ cellPhoneNumber: z.ZodOptional<z.ZodString>;
2682
+ zipcode: z.ZodOptional<z.ZodString>;
2683
+ address1: z.ZodOptional<z.ZodString>;
2684
+ address2: z.ZodOptional<z.ZodString>;
2685
+ shippingMessage: z.ZodOptional<z.ZodString>;
2686
+ country: z.ZodOptional<z.ZodString>;
2687
+ city: z.ZodOptional<z.ZodString>;
2688
+ province: z.ZodOptional<z.ZodString>;
2689
+ }, "strip", z.ZodTypeAny, {
2690
+ email?: string | undefined;
2691
+ address1?: string | undefined;
2692
+ address2?: string | undefined;
2693
+ firstName?: string | undefined;
2694
+ lastName?: string | undefined;
2695
+ phoneNumber?: string | undefined;
2696
+ cellPhoneNumber?: string | undefined;
2697
+ zipcode?: string | undefined;
2698
+ shippingMessage?: string | undefined;
2699
+ country?: string | undefined;
2700
+ city?: string | undefined;
2701
+ province?: string | undefined;
2702
+ }, {
2703
+ email?: string | undefined;
2704
+ address1?: string | undefined;
2705
+ address2?: string | undefined;
2706
+ firstName?: string | undefined;
2707
+ lastName?: string | undefined;
2708
+ phoneNumber?: string | undefined;
2709
+ cellPhoneNumber?: string | undefined;
2710
+ zipcode?: string | undefined;
2711
+ shippingMessage?: string | undefined;
2712
+ country?: string | undefined;
2713
+ city?: string | undefined;
2714
+ province?: string | undefined;
2715
+ }>>;
2716
+ refundBankAccount: z.ZodOptional<z.ZodObject<{
2717
+ bankName: z.ZodString;
2718
+ accountNo: z.ZodString;
2719
+ accountHolder: z.ZodString;
2720
+ }, "strip", z.ZodTypeAny, {
2721
+ bankName: string;
2722
+ accountNo: string;
2723
+ accountHolder: string;
2724
+ }, {
2725
+ bankName: string;
2726
+ accountNo: string;
2727
+ accountHolder: string;
2728
+ }>>;
2729
+ defectInfo: z.ZodOptional<z.ZodObject<{
2730
+ description: z.ZodString;
2731
+ imageUrls: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2732
+ }, "strip", z.ZodTypeAny, {
2733
+ description: string;
2734
+ imageUrls?: string[] | undefined;
2735
+ }, {
2736
+ description: string;
2737
+ imageUrls?: string[] | undefined;
2738
+ }>>;
2739
+ }, "strip", z.ZodTypeAny, {
2740
+ orderId: string;
2741
+ reason?: {
2742
+ type?: string | undefined;
2743
+ description?: string | undefined;
2744
+ } | undefined;
2745
+ identifier?: {
2746
+ type: "email" | "phone" | "membership";
2747
+ value: string;
2748
+ } | undefined;
2749
+ refundBankAccount?: {
2750
+ bankName: string;
2751
+ accountNo: string;
2752
+ accountHolder: string;
2753
+ } | undefined;
2754
+ requestPickup?: boolean | undefined;
2755
+ pickupAddress?: {
2756
+ email?: string | undefined;
2757
+ address1?: string | undefined;
2758
+ address2?: string | undefined;
2759
+ firstName?: string | undefined;
2760
+ lastName?: string | undefined;
2761
+ phoneNumber?: string | undefined;
2762
+ cellPhoneNumber?: string | undefined;
2763
+ zipcode?: string | undefined;
2764
+ shippingMessage?: string | undefined;
2765
+ country?: string | undefined;
2766
+ city?: string | undefined;
2767
+ province?: string | undefined;
2768
+ } | undefined;
2769
+ defectInfo?: {
2770
+ description: string;
2771
+ imageUrls?: string[] | undefined;
2772
+ } | undefined;
2773
+ beforeExchangeItems?: {
2774
+ id?: string | undefined;
2775
+ quantity?: number | undefined;
2776
+ }[] | undefined;
2777
+ afterExchangeItems?: {
2778
+ quantity?: number | undefined;
2779
+ productId?: string | undefined;
2780
+ variantId?: string | undefined;
2781
+ }[] | undefined;
2782
+ }, {
2783
+ orderId: string;
2784
+ reason?: {
2785
+ type?: string | undefined;
2786
+ description?: string | undefined;
2787
+ } | undefined;
2788
+ identifier?: {
2789
+ type: "email" | "phone" | "membership";
2790
+ value: string;
2791
+ } | undefined;
2792
+ refundBankAccount?: {
2793
+ bankName: string;
2794
+ accountNo: string;
2795
+ accountHolder: string;
2796
+ } | undefined;
2797
+ requestPickup?: boolean | undefined;
2798
+ pickupAddress?: {
2799
+ email?: string | undefined;
2800
+ address1?: string | undefined;
2801
+ address2?: string | undefined;
2802
+ firstName?: string | undefined;
2803
+ lastName?: string | undefined;
2804
+ phoneNumber?: string | undefined;
2805
+ cellPhoneNumber?: string | undefined;
2806
+ zipcode?: string | undefined;
2807
+ shippingMessage?: string | undefined;
2808
+ country?: string | undefined;
2809
+ city?: string | undefined;
2810
+ province?: string | undefined;
2811
+ } | undefined;
2812
+ defectInfo?: {
2813
+ description: string;
2814
+ imageUrls?: string[] | undefined;
2815
+ } | undefined;
2816
+ beforeExchangeItems?: {
2817
+ id?: string | undefined;
2818
+ quantity?: number | undefined;
2819
+ }[] | undefined;
2820
+ afterExchangeItems?: {
2821
+ quantity?: number | undefined;
2822
+ productId?: string | undefined;
2823
+ variantId?: string | undefined;
2824
+ }[] | undefined;
2825
+ }>;
2826
+ export type CommerceExchangeOrderInput = ProtoBacked<z.infer<typeof CommerceExchangeOrderInputSchema>, ProtoCommerceExchangeOrderInput>;
2827
+ export declare const CommerceGetExchangeableItemsInputSchema: z.ZodObject<{
2828
+ identifier: z.ZodOptional<z.ZodObject<{
2829
+ type: z.ZodEnum<["membership", "phone", "email"]>;
2830
+ value: z.ZodString;
2831
+ }, "strip", z.ZodTypeAny, {
2832
+ type: "email" | "phone" | "membership";
2833
+ value: string;
2834
+ }, {
2835
+ type: "email" | "phone" | "membership";
2836
+ value: string;
2837
+ }>>;
2838
+ orderId: z.ZodString;
2839
+ items: z.ZodOptional<z.ZodArray<z.ZodObject<{
2840
+ id: z.ZodOptional<z.ZodString>;
2841
+ quantity: z.ZodOptional<z.ZodNumber>;
2842
+ }, "strip", z.ZodTypeAny, {
2843
+ id?: string | undefined;
2844
+ quantity?: number | undefined;
2845
+ }, {
2846
+ id?: string | undefined;
2847
+ quantity?: number | undefined;
2848
+ }>, "many">>;
2849
+ }, "strip", z.ZodTypeAny, {
2850
+ orderId: string;
2851
+ items?: {
2852
+ id?: string | undefined;
2853
+ quantity?: number | undefined;
2854
+ }[] | undefined;
2855
+ identifier?: {
2856
+ type: "email" | "phone" | "membership";
2857
+ value: string;
2858
+ } | undefined;
2859
+ }, {
2860
+ orderId: string;
2861
+ items?: {
2862
+ id?: string | undefined;
2863
+ quantity?: number | undefined;
2864
+ }[] | undefined;
2865
+ identifier?: {
2866
+ type: "email" | "phone" | "membership";
2867
+ value: string;
2868
+ } | undefined;
2869
+ }>;
2870
+ export type CommerceGetExchangeableItemsInput = ProtoBacked<z.infer<typeof CommerceGetExchangeableItemsInputSchema>, ProtoCommerceGetExchangeableItemsInput>;
2871
+ export declare const CommerceGetExchangeableItemsOutputSchema: z.ZodObject<{
2872
+ items: z.ZodOptional<z.ZodArray<z.ZodObject<{
2873
+ id: z.ZodString;
2874
+ name: z.ZodString;
2875
+ imageUrl: z.ZodOptional<z.ZodString>;
2876
+ amount: z.ZodNumber;
2877
+ quantity: z.ZodNumber;
2878
+ option: z.ZodOptional<z.ZodString>;
2879
+ productId: z.ZodOptional<z.ZodString>;
2880
+ variantId: z.ZodOptional<z.ZodString>;
2881
+ state: z.ZodString;
2882
+ shippedAt: z.ZodOptional<z.ZodNumber>;
2883
+ deliveredAt: z.ZodOptional<z.ZodNumber>;
2884
+ estimatedShipDate: z.ZodOptional<z.ZodNumber>;
2885
+ claimability: z.ZodObject<{
2886
+ cancelable: z.ZodBoolean;
2887
+ returnable: z.ZodBoolean;
2888
+ exchangeable: z.ZodBoolean;
2889
+ shippingAddressChangeable: z.ZodBoolean;
2890
+ }, "strip", z.ZodTypeAny, {
2891
+ cancelable: boolean;
2892
+ returnable: boolean;
2893
+ exchangeable: boolean;
2894
+ shippingAddressChangeable: boolean;
2895
+ }, {
2896
+ cancelable: boolean;
2897
+ returnable: boolean;
2898
+ exchangeable: boolean;
2899
+ shippingAddressChangeable: boolean;
2900
+ }>;
2901
+ }, "strip", z.ZodTypeAny, {
2902
+ name: string;
2903
+ id: string;
2904
+ state: string;
2905
+ amount: number;
2906
+ quantity: number;
2907
+ claimability: {
2908
+ cancelable: boolean;
2909
+ returnable: boolean;
2910
+ exchangeable: boolean;
2911
+ shippingAddressChangeable: boolean;
2912
+ };
2913
+ imageUrl?: string | undefined;
2914
+ option?: string | undefined;
2915
+ productId?: string | undefined;
2916
+ variantId?: string | undefined;
2917
+ shippedAt?: number | undefined;
2918
+ deliveredAt?: number | undefined;
2919
+ estimatedShipDate?: number | undefined;
2920
+ }, {
2921
+ name: string;
2922
+ id: string;
2923
+ state: string;
2924
+ amount: number;
2925
+ quantity: number;
2926
+ claimability: {
2927
+ cancelable: boolean;
2928
+ returnable: boolean;
2929
+ exchangeable: boolean;
2930
+ shippingAddressChangeable: boolean;
2931
+ };
2932
+ imageUrl?: string | undefined;
2933
+ option?: string | undefined;
2934
+ productId?: string | undefined;
2935
+ variantId?: string | undefined;
2936
+ shippedAt?: number | undefined;
2937
+ deliveredAt?: number | undefined;
2938
+ estimatedShipDate?: number | undefined;
2939
+ }>, "many">>;
2940
+ }, "strip", z.ZodTypeAny, {
2941
+ items?: {
2942
+ name: string;
2943
+ id: string;
2944
+ state: string;
2945
+ amount: number;
2946
+ quantity: number;
2947
+ claimability: {
2948
+ cancelable: boolean;
2949
+ returnable: boolean;
2950
+ exchangeable: boolean;
2951
+ shippingAddressChangeable: boolean;
2952
+ };
2953
+ imageUrl?: string | undefined;
2954
+ option?: string | undefined;
2955
+ productId?: string | undefined;
2956
+ variantId?: string | undefined;
2957
+ shippedAt?: number | undefined;
2958
+ deliveredAt?: number | undefined;
2959
+ estimatedShipDate?: number | undefined;
2960
+ }[] | undefined;
2961
+ }, {
2962
+ items?: {
2963
+ name: string;
2964
+ id: string;
2965
+ state: string;
2966
+ amount: number;
2967
+ quantity: number;
2968
+ claimability: {
2969
+ cancelable: boolean;
2970
+ returnable: boolean;
2971
+ exchangeable: boolean;
2972
+ shippingAddressChangeable: boolean;
2973
+ };
2974
+ imageUrl?: string | undefined;
2975
+ option?: string | undefined;
2976
+ productId?: string | undefined;
2977
+ variantId?: string | undefined;
2978
+ shippedAt?: number | undefined;
2979
+ deliveredAt?: number | undefined;
2980
+ estimatedShipDate?: number | undefined;
2981
+ }[] | undefined;
2982
+ }>;
2983
+ export type CommerceGetExchangeableItemsOutput = ProtoBacked<z.infer<typeof CommerceGetExchangeableItemsOutputSchema>, ProtoCommerceGetExchangeableItemsOutput>;
2984
+ export declare const CommerceChangeShippingAddressInputSchema: z.ZodObject<{
2985
+ identifier: z.ZodOptional<z.ZodObject<{
2986
+ type: z.ZodEnum<["membership", "phone", "email"]>;
2987
+ value: z.ZodString;
2988
+ }, "strip", z.ZodTypeAny, {
2989
+ type: "email" | "phone" | "membership";
2990
+ value: string;
2991
+ }, {
2992
+ type: "email" | "phone" | "membership";
2993
+ value: string;
2994
+ }>>;
2995
+ orderId: z.ZodString;
2996
+ newAddress: z.ZodObject<{
2997
+ firstName: z.ZodOptional<z.ZodString>;
2998
+ lastName: z.ZodOptional<z.ZodString>;
2999
+ phoneNumber: z.ZodOptional<z.ZodString>;
3000
+ email: z.ZodOptional<z.ZodString>;
3001
+ cellPhoneNumber: z.ZodOptional<z.ZodString>;
3002
+ zipcode: z.ZodOptional<z.ZodString>;
3003
+ address1: z.ZodOptional<z.ZodString>;
3004
+ address2: z.ZodOptional<z.ZodString>;
3005
+ shippingMessage: z.ZodOptional<z.ZodString>;
3006
+ country: z.ZodOptional<z.ZodString>;
3007
+ city: z.ZodOptional<z.ZodString>;
3008
+ province: z.ZodOptional<z.ZodString>;
3009
+ }, "strip", z.ZodTypeAny, {
3010
+ email?: string | undefined;
3011
+ address1?: string | undefined;
3012
+ address2?: string | undefined;
3013
+ firstName?: string | undefined;
3014
+ lastName?: string | undefined;
3015
+ phoneNumber?: string | undefined;
3016
+ cellPhoneNumber?: string | undefined;
3017
+ zipcode?: string | undefined;
3018
+ shippingMessage?: string | undefined;
3019
+ country?: string | undefined;
3020
+ city?: string | undefined;
3021
+ province?: string | undefined;
3022
+ }, {
3023
+ email?: string | undefined;
3024
+ address1?: string | undefined;
3025
+ address2?: string | undefined;
3026
+ firstName?: string | undefined;
3027
+ lastName?: string | undefined;
3028
+ phoneNumber?: string | undefined;
3029
+ cellPhoneNumber?: string | undefined;
3030
+ zipcode?: string | undefined;
3031
+ shippingMessage?: string | undefined;
3032
+ country?: string | undefined;
3033
+ city?: string | undefined;
3034
+ province?: string | undefined;
3035
+ }>;
3036
+ }, "strip", z.ZodTypeAny, {
3037
+ orderId: string;
3038
+ newAddress: {
3039
+ email?: string | undefined;
3040
+ address1?: string | undefined;
3041
+ address2?: string | undefined;
3042
+ firstName?: string | undefined;
3043
+ lastName?: string | undefined;
3044
+ phoneNumber?: string | undefined;
3045
+ cellPhoneNumber?: string | undefined;
3046
+ zipcode?: string | undefined;
3047
+ shippingMessage?: string | undefined;
3048
+ country?: string | undefined;
3049
+ city?: string | undefined;
3050
+ province?: string | undefined;
3051
+ };
3052
+ identifier?: {
3053
+ type: "email" | "phone" | "membership";
3054
+ value: string;
3055
+ } | undefined;
3056
+ }, {
3057
+ orderId: string;
3058
+ newAddress: {
3059
+ email?: string | undefined;
3060
+ address1?: string | undefined;
3061
+ address2?: string | undefined;
3062
+ firstName?: string | undefined;
3063
+ lastName?: string | undefined;
3064
+ phoneNumber?: string | undefined;
3065
+ cellPhoneNumber?: string | undefined;
3066
+ zipcode?: string | undefined;
3067
+ shippingMessage?: string | undefined;
3068
+ country?: string | undefined;
3069
+ city?: string | undefined;
3070
+ province?: string | undefined;
3071
+ };
3072
+ identifier?: {
3073
+ type: "email" | "phone" | "membership";
3074
+ value: string;
3075
+ } | undefined;
3076
+ }>;
3077
+ export type CommerceChangeShippingAddressInput = ProtoBacked<z.infer<typeof CommerceChangeShippingAddressInputSchema>, ProtoCommerceChangeShippingAddressInput>;
3078
+ export {};
3079
+ //# sourceMappingURL=commerce.d.ts.map