@acmekit/utils 2.13.2 → 2.13.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (192) hide show
  1. package/dist/bundles.d.ts +0 -7
  2. package/dist/bundles.d.ts.map +1 -1
  3. package/dist/bundles.js +1 -8
  4. package/dist/bundles.js.map +1 -1
  5. package/dist/common/define-config.d.ts.map +1 -1
  6. package/dist/common/define-config.js +2 -49
  7. package/dist/common/define-config.js.map +1 -1
  8. package/dist/index.d.ts +0 -9
  9. package/dist/index.d.ts.map +1 -1
  10. package/dist/index.js +0 -9
  11. package/dist/index.js.map +1 -1
  12. package/dist/link/links.d.ts +0 -21
  13. package/dist/link/links.d.ts.map +1 -1
  14. package/dist/link/links.js +0 -21
  15. package/dist/link/links.js.map +1 -1
  16. package/dist/modules-sdk/definition.d.ts +0 -39
  17. package/dist/modules-sdk/definition.d.ts.map +1 -1
  18. package/dist/modules-sdk/definition.js +0 -26
  19. package/dist/modules-sdk/definition.js.map +1 -1
  20. package/dist/modules-sdk/modules-to-container-types.d.ts.map +1 -1
  21. package/dist/modules-sdk/modules-to-container-types.js +0 -13
  22. package/dist/modules-sdk/modules-to-container-types.js.map +1 -1
  23. package/dist/translations/index.d.ts +0 -1
  24. package/dist/translations/index.d.ts.map +1 -1
  25. package/dist/translations/index.js +0 -1
  26. package/dist/translations/index.js.map +1 -1
  27. package/dist/tsconfig.tsbuildinfo +1 -1
  28. package/package.json +3 -3
  29. package/dist/fulfillment/events.d.ts +0 -77
  30. package/dist/fulfillment/events.d.ts.map +0 -1
  31. package/dist/fulfillment/events.js +0 -117
  32. package/dist/fulfillment/events.js.map +0 -1
  33. package/dist/fulfillment/geo-zone.d.ts +0 -7
  34. package/dist/fulfillment/geo-zone.d.ts.map +0 -1
  35. package/dist/fulfillment/geo-zone.js +0 -11
  36. package/dist/fulfillment/geo-zone.js.map +0 -1
  37. package/dist/fulfillment/index.d.ts +0 -5
  38. package/dist/fulfillment/index.d.ts.map +0 -1
  39. package/dist/fulfillment/index.js +0 -21
  40. package/dist/fulfillment/index.js.map +0 -1
  41. package/dist/fulfillment/provider.d.ts +0 -394
  42. package/dist/fulfillment/provider.d.ts.map +0 -1
  43. package/dist/fulfillment/provider.js +0 -412
  44. package/dist/fulfillment/provider.js.map +0 -1
  45. package/dist/fulfillment/shipping-options.d.ts +0 -5
  46. package/dist/fulfillment/shipping-options.d.ts.map +0 -1
  47. package/dist/fulfillment/shipping-options.js +0 -9
  48. package/dist/fulfillment/shipping-options.js.map +0 -1
  49. package/dist/inventory/events.d.ts +0 -26
  50. package/dist/inventory/events.d.ts.map +0 -1
  51. package/dist/inventory/events.js +0 -40
  52. package/dist/inventory/events.js.map +0 -1
  53. package/dist/inventory/index.d.ts +0 -2
  54. package/dist/inventory/index.d.ts.map +0 -1
  55. package/dist/inventory/index.js +0 -18
  56. package/dist/inventory/index.js.map +0 -1
  57. package/dist/order/index.d.ts +0 -4
  58. package/dist/order/index.d.ts.map +0 -1
  59. package/dist/order/index.js +0 -20
  60. package/dist/order/index.js.map +0 -1
  61. package/dist/order/order-change-action.d.ts +0 -25
  62. package/dist/order/order-change-action.d.ts.map +0 -1
  63. package/dist/order/order-change-action.js +0 -29
  64. package/dist/order/order-change-action.js.map +0 -1
  65. package/dist/order/order-change.d.ts +0 -31
  66. package/dist/order/order-change.d.ts.map +0 -1
  67. package/dist/order/order-change.js +0 -36
  68. package/dist/order/order-change.js.map +0 -1
  69. package/dist/order/status.d.ts +0 -85
  70. package/dist/order/status.d.ts.map +0 -1
  71. package/dist/order/status.js +0 -92
  72. package/dist/order/status.js.map +0 -1
  73. package/dist/payment/abstract-payment-provider.d.ts +0 -632
  74. package/dist/payment/abstract-payment-provider.d.ts.map +0 -1
  75. package/dist/payment/abstract-payment-provider.js +0 -110
  76. package/dist/payment/abstract-payment-provider.js.map +0 -1
  77. package/dist/payment/index.d.ts +0 -5
  78. package/dist/payment/index.d.ts.map +0 -1
  79. package/dist/payment/index.js +0 -21
  80. package/dist/payment/index.js.map +0 -1
  81. package/dist/payment/payment-collection.d.ts +0 -40
  82. package/dist/payment/payment-collection.d.ts.map +0 -1
  83. package/dist/payment/payment-collection.js +0 -44
  84. package/dist/payment/payment-collection.js.map +0 -1
  85. package/dist/payment/payment-session.d.ts +0 -32
  86. package/dist/payment/payment-session.d.ts.map +0 -1
  87. package/dist/payment/payment-session.js +0 -36
  88. package/dist/payment/payment-session.js.map +0 -1
  89. package/dist/payment/webhook.d.ts +0 -37
  90. package/dist/payment/webhook.d.ts.map +0 -1
  91. package/dist/payment/webhook.js +0 -42
  92. package/dist/payment/webhook.js.map +0 -1
  93. package/dist/pricing/builders.d.ts +0 -10
  94. package/dist/pricing/builders.d.ts.map +0 -1
  95. package/dist/pricing/builders.js +0 -53
  96. package/dist/pricing/builders.js.map +0 -1
  97. package/dist/pricing/enums.d.ts +0 -8
  98. package/dist/pricing/enums.d.ts.map +0 -1
  99. package/dist/pricing/enums.js +0 -12
  100. package/dist/pricing/enums.js.map +0 -1
  101. package/dist/pricing/events.d.ts +0 -38
  102. package/dist/pricing/events.d.ts.map +0 -1
  103. package/dist/pricing/events.js +0 -50
  104. package/dist/pricing/events.js.map +0 -1
  105. package/dist/pricing/index.d.ts +0 -5
  106. package/dist/pricing/index.d.ts.map +0 -1
  107. package/dist/pricing/index.js +0 -21
  108. package/dist/pricing/index.js.map +0 -1
  109. package/dist/pricing/price-list.d.ts +0 -9
  110. package/dist/pricing/price-list.d.ts.map +0 -1
  111. package/dist/pricing/price-list.js +0 -14
  112. package/dist/pricing/price-list.js.map +0 -1
  113. package/dist/product/csv-normalizer.d.ts +0 -43
  114. package/dist/product/csv-normalizer.d.ts.map +0 -1
  115. package/dist/product/csv-normalizer.js +0 -382
  116. package/dist/product/csv-normalizer.js.map +0 -1
  117. package/dist/product/enums.d.ts +0 -7
  118. package/dist/product/enums.d.ts.map +0 -1
  119. package/dist/product/enums.js +0 -11
  120. package/dist/product/enums.js.map +0 -1
  121. package/dist/product/events.d.ts +0 -62
  122. package/dist/product/events.d.ts.map +0 -1
  123. package/dist/product/events.js +0 -88
  124. package/dist/product/events.js.map +0 -1
  125. package/dist/product/get-variant-availability.d.ts +0 -59
  126. package/dist/product/get-variant-availability.d.ts.map +0 -1
  127. package/dist/product/get-variant-availability.js +0 -111
  128. package/dist/product/get-variant-availability.js.map +0 -1
  129. package/dist/product/index.d.ts +0 -6
  130. package/dist/product/index.d.ts.map +0 -1
  131. package/dist/product/index.js +0 -45
  132. package/dist/product/index.js.map +0 -1
  133. package/dist/product/validators.d.ts +0 -894
  134. package/dist/product/validators.d.ts.map +0 -1
  135. package/dist/product/validators.js +0 -163
  136. package/dist/product/validators.js.map +0 -1
  137. package/dist/promotion/index.d.ts +0 -57
  138. package/dist/promotion/index.d.ts.map +0 -1
  139. package/dist/promotion/index.js +0 -70
  140. package/dist/promotion/index.js.map +0 -1
  141. package/dist/shipping/index.d.ts +0 -6
  142. package/dist/shipping/index.d.ts.map +0 -1
  143. package/dist/shipping/index.js +0 -10
  144. package/dist/shipping/index.js.map +0 -1
  145. package/dist/totals/adjustment/index.d.ts +0 -16
  146. package/dist/totals/adjustment/index.d.ts.map +0 -1
  147. package/dist/totals/adjustment/index.js +0 -49
  148. package/dist/totals/adjustment/index.js.map +0 -1
  149. package/dist/totals/cart/index.d.ts +0 -40
  150. package/dist/totals/cart/index.d.ts.map +0 -1
  151. package/dist/totals/cart/index.js +0 -165
  152. package/dist/totals/cart/index.js.map +0 -1
  153. package/dist/totals/create-raw-properties-from-bignumber.d.ts +0 -5
  154. package/dist/totals/create-raw-properties-from-bignumber.d.ts.map +0 -1
  155. package/dist/totals/create-raw-properties-from-bignumber.js +0 -52
  156. package/dist/totals/create-raw-properties-from-bignumber.js.map +0 -1
  157. package/dist/totals/credit-lines/index.d.ts +0 -14
  158. package/dist/totals/credit-lines/index.d.ts.map +0 -1
  159. package/dist/totals/credit-lines/index.js +0 -46
  160. package/dist/totals/credit-lines/index.js.map +0 -1
  161. package/dist/totals/index.d.ts +0 -9
  162. package/dist/totals/index.d.ts.map +0 -1
  163. package/dist/totals/index.js +0 -25
  164. package/dist/totals/index.js.map +0 -1
  165. package/dist/totals/line-item/index.d.ts +0 -48
  166. package/dist/totals/line-item/index.d.ts.map +0 -1
  167. package/dist/totals/line-item/index.js +0 -123
  168. package/dist/totals/line-item/index.js.map +0 -1
  169. package/dist/totals/math.d.ts +0 -26
  170. package/dist/totals/math.d.ts.map +0 -1
  171. package/dist/totals/math.js +0 -107
  172. package/dist/totals/math.js.map +0 -1
  173. package/dist/totals/promotion/index.d.ts +0 -5
  174. package/dist/totals/promotion/index.d.ts.map +0 -1
  175. package/dist/totals/promotion/index.js +0 -124
  176. package/dist/totals/promotion/index.js.map +0 -1
  177. package/dist/totals/shipping-method/index.d.ts +0 -28
  178. package/dist/totals/shipping-method/index.d.ts.map +0 -1
  179. package/dist/totals/shipping-method/index.js +0 -59
  180. package/dist/totals/shipping-method/index.js.map +0 -1
  181. package/dist/totals/tax/index.d.ts +0 -16
  182. package/dist/totals/tax/index.d.ts.map +0 -1
  183. package/dist/totals/tax/index.js +0 -37
  184. package/dist/totals/tax/index.js.map +0 -1
  185. package/dist/totals/transform-properties-to-bignumber.d.ts +0 -6
  186. package/dist/totals/transform-properties-to-bignumber.d.ts.map +0 -1
  187. package/dist/totals/transform-properties-to-bignumber.js +0 -40
  188. package/dist/totals/transform-properties-to-bignumber.js.map +0 -1
  189. package/dist/translations/apply-translations-to-tax-lines.d.ts +0 -12
  190. package/dist/translations/apply-translations-to-tax-lines.d.ts.map +0 -1
  191. package/dist/translations/apply-translations-to-tax-lines.js +0 -38
  192. package/dist/translations/apply-translations-to-tax-lines.js.map +0 -1
@@ -1,894 +0,0 @@
1
- import { z } from "@acmekit/deps/zod";
2
- import { ProductStatus } from "./enums";
3
- export declare const booleanString: () => z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodString]>, string | boolean, string | boolean>, boolean, string | boolean>;
4
- export declare const numericString: () => z.ZodEffects<z.ZodNumber, string, number>;
5
- export declare const IdAssociation: z.ZodObject<{
6
- id: z.ZodString;
7
- }, "strip", z.ZodTypeAny, {
8
- id: string;
9
- }, {
10
- id: string;
11
- }>;
12
- export declare const CreateVariantPrice: z.ZodObject<{
13
- currency_code: z.ZodString;
14
- amount: z.ZodNumber;
15
- min_quantity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
16
- max_quantity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
17
- rules: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
18
- }, "strip", z.ZodTypeAny, {
19
- currency_code: string;
20
- amount: number;
21
- rules?: Record<string, string> | undefined;
22
- min_quantity?: number | null | undefined;
23
- max_quantity?: number | null | undefined;
24
- }, {
25
- currency_code: string;
26
- amount: number;
27
- rules?: Record<string, string> | undefined;
28
- min_quantity?: number | null | undefined;
29
- max_quantity?: number | null | undefined;
30
- }>;
31
- export declare const CreateProductOption: z.ZodObject<{
32
- title: z.ZodString;
33
- values: z.ZodArray<z.ZodString, "many">;
34
- }, "strip", z.ZodTypeAny, {
35
- values: string[];
36
- title: string;
37
- }, {
38
- values: string[];
39
- title: string;
40
- }>;
41
- export declare const CreateProductVariant: z.ZodObject<{
42
- title: z.ZodString;
43
- sku: z.ZodOptional<z.ZodNullable<z.ZodString>>;
44
- ean: z.ZodOptional<z.ZodNullable<z.ZodString>>;
45
- upc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
46
- barcode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
47
- hs_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
48
- mid_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
49
- allow_backorder: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodString]>, string | boolean, string | boolean>, boolean, string | boolean>>>;
50
- manage_inventory: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodString]>, string | boolean, string | boolean>, boolean, string | boolean>>>;
51
- variant_rank: z.ZodOptional<z.ZodNumber>;
52
- weight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
53
- length: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
54
- height: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
55
- width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
56
- origin_country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
57
- material: z.ZodOptional<z.ZodNullable<z.ZodString>>;
58
- metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
59
- prices: z.ZodArray<z.ZodObject<{
60
- currency_code: z.ZodString;
61
- amount: z.ZodNumber;
62
- min_quantity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
63
- max_quantity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
64
- rules: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
65
- }, "strip", z.ZodTypeAny, {
66
- currency_code: string;
67
- amount: number;
68
- rules?: Record<string, string> | undefined;
69
- min_quantity?: number | null | undefined;
70
- max_quantity?: number | null | undefined;
71
- }, {
72
- currency_code: string;
73
- amount: number;
74
- rules?: Record<string, string> | undefined;
75
- min_quantity?: number | null | undefined;
76
- max_quantity?: number | null | undefined;
77
- }>, "many">;
78
- options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
79
- inventory_items: z.ZodOptional<z.ZodArray<z.ZodObject<{
80
- inventory_item_id: z.ZodString;
81
- required_quantity: z.ZodNumber;
82
- }, "strip", z.ZodTypeAny, {
83
- inventory_item_id: string;
84
- required_quantity: number;
85
- }, {
86
- inventory_item_id: string;
87
- required_quantity: number;
88
- }>, "many">>;
89
- }, "strict", z.ZodTypeAny, {
90
- title: string;
91
- allow_backorder: boolean;
92
- manage_inventory: boolean;
93
- prices: {
94
- currency_code: string;
95
- amount: number;
96
- rules?: Record<string, string> | undefined;
97
- min_quantity?: number | null | undefined;
98
- max_quantity?: number | null | undefined;
99
- }[];
100
- length?: number | null | undefined;
101
- options?: Record<string, string> | undefined;
102
- metadata?: Record<string, unknown> | null | undefined;
103
- sku?: string | null | undefined;
104
- barcode?: string | null | undefined;
105
- weight?: number | null | undefined;
106
- height?: number | null | undefined;
107
- width?: number | null | undefined;
108
- hs_code?: string | null | undefined;
109
- mid_code?: string | null | undefined;
110
- origin_country?: string | null | undefined;
111
- material?: string | null | undefined;
112
- ean?: string | null | undefined;
113
- upc?: string | null | undefined;
114
- variant_rank?: number | undefined;
115
- inventory_items?: {
116
- inventory_item_id: string;
117
- required_quantity: number;
118
- }[] | undefined;
119
- }, {
120
- title: string;
121
- prices: {
122
- currency_code: string;
123
- amount: number;
124
- rules?: Record<string, string> | undefined;
125
- min_quantity?: number | null | undefined;
126
- max_quantity?: number | null | undefined;
127
- }[];
128
- length?: number | null | undefined;
129
- options?: Record<string, string> | undefined;
130
- metadata?: Record<string, unknown> | null | undefined;
131
- sku?: string | null | undefined;
132
- barcode?: string | null | undefined;
133
- weight?: number | null | undefined;
134
- height?: number | null | undefined;
135
- width?: number | null | undefined;
136
- hs_code?: string | null | undefined;
137
- mid_code?: string | null | undefined;
138
- origin_country?: string | null | undefined;
139
- material?: string | null | undefined;
140
- ean?: string | null | undefined;
141
- upc?: string | null | undefined;
142
- allow_backorder?: string | boolean | undefined;
143
- manage_inventory?: string | boolean | undefined;
144
- variant_rank?: number | undefined;
145
- inventory_items?: {
146
- inventory_item_id: string;
147
- required_quantity: number;
148
- }[] | undefined;
149
- }>;
150
- export declare const CreateProduct: z.ZodObject<{
151
- title: z.ZodString;
152
- subtitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
153
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
154
- is_giftcard: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodString]>, string | boolean, string | boolean>, boolean, string | boolean>>>;
155
- discountable: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodString]>, string | boolean, string | boolean>, boolean, string | boolean>>>;
156
- images: z.ZodOptional<z.ZodArray<z.ZodObject<{
157
- url: z.ZodString;
158
- }, "strip", z.ZodTypeAny, {
159
- url: string;
160
- }, {
161
- url: string;
162
- }>, "many">>;
163
- thumbnail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
164
- handle: z.ZodOptional<z.ZodString>;
165
- status: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof ProductStatus>>>;
166
- external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
167
- type_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
168
- collection_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
169
- categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
170
- id: z.ZodString;
171
- }, "strip", z.ZodTypeAny, {
172
- id: string;
173
- }, {
174
- id: string;
175
- }>, "many">>;
176
- tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
177
- id: z.ZodString;
178
- }, "strip", z.ZodTypeAny, {
179
- id: string;
180
- }, {
181
- id: string;
182
- }>, "many">>;
183
- options: z.ZodOptional<z.ZodArray<z.ZodObject<{
184
- title: z.ZodString;
185
- values: z.ZodArray<z.ZodString, "many">;
186
- }, "strip", z.ZodTypeAny, {
187
- values: string[];
188
- title: string;
189
- }, {
190
- values: string[];
191
- title: string;
192
- }>, "many">>;
193
- variants: z.ZodOptional<z.ZodArray<z.ZodObject<{
194
- title: z.ZodString;
195
- sku: z.ZodOptional<z.ZodNullable<z.ZodString>>;
196
- ean: z.ZodOptional<z.ZodNullable<z.ZodString>>;
197
- upc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
198
- barcode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
199
- hs_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
200
- mid_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
201
- allow_backorder: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodString]>, string | boolean, string | boolean>, boolean, string | boolean>>>;
202
- manage_inventory: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodString]>, string | boolean, string | boolean>, boolean, string | boolean>>>;
203
- variant_rank: z.ZodOptional<z.ZodNumber>;
204
- weight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
205
- length: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
206
- height: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
207
- width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
208
- origin_country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
209
- material: z.ZodOptional<z.ZodNullable<z.ZodString>>;
210
- metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
211
- prices: z.ZodArray<z.ZodObject<{
212
- currency_code: z.ZodString;
213
- amount: z.ZodNumber;
214
- min_quantity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
215
- max_quantity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
216
- rules: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
217
- }, "strip", z.ZodTypeAny, {
218
- currency_code: string;
219
- amount: number;
220
- rules?: Record<string, string> | undefined;
221
- min_quantity?: number | null | undefined;
222
- max_quantity?: number | null | undefined;
223
- }, {
224
- currency_code: string;
225
- amount: number;
226
- rules?: Record<string, string> | undefined;
227
- min_quantity?: number | null | undefined;
228
- max_quantity?: number | null | undefined;
229
- }>, "many">;
230
- options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
231
- inventory_items: z.ZodOptional<z.ZodArray<z.ZodObject<{
232
- inventory_item_id: z.ZodString;
233
- required_quantity: z.ZodNumber;
234
- }, "strip", z.ZodTypeAny, {
235
- inventory_item_id: string;
236
- required_quantity: number;
237
- }, {
238
- inventory_item_id: string;
239
- required_quantity: number;
240
- }>, "many">>;
241
- }, "strict", z.ZodTypeAny, {
242
- title: string;
243
- allow_backorder: boolean;
244
- manage_inventory: boolean;
245
- prices: {
246
- currency_code: string;
247
- amount: number;
248
- rules?: Record<string, string> | undefined;
249
- min_quantity?: number | null | undefined;
250
- max_quantity?: number | null | undefined;
251
- }[];
252
- length?: number | null | undefined;
253
- options?: Record<string, string> | undefined;
254
- metadata?: Record<string, unknown> | null | undefined;
255
- sku?: string | null | undefined;
256
- barcode?: string | null | undefined;
257
- weight?: number | null | undefined;
258
- height?: number | null | undefined;
259
- width?: number | null | undefined;
260
- hs_code?: string | null | undefined;
261
- mid_code?: string | null | undefined;
262
- origin_country?: string | null | undefined;
263
- material?: string | null | undefined;
264
- ean?: string | null | undefined;
265
- upc?: string | null | undefined;
266
- variant_rank?: number | undefined;
267
- inventory_items?: {
268
- inventory_item_id: string;
269
- required_quantity: number;
270
- }[] | undefined;
271
- }, {
272
- title: string;
273
- prices: {
274
- currency_code: string;
275
- amount: number;
276
- rules?: Record<string, string> | undefined;
277
- min_quantity?: number | null | undefined;
278
- max_quantity?: number | null | undefined;
279
- }[];
280
- length?: number | null | undefined;
281
- options?: Record<string, string> | undefined;
282
- metadata?: Record<string, unknown> | null | undefined;
283
- sku?: string | null | undefined;
284
- barcode?: string | null | undefined;
285
- weight?: number | null | undefined;
286
- height?: number | null | undefined;
287
- width?: number | null | undefined;
288
- hs_code?: string | null | undefined;
289
- mid_code?: string | null | undefined;
290
- origin_country?: string | null | undefined;
291
- material?: string | null | undefined;
292
- ean?: string | null | undefined;
293
- upc?: string | null | undefined;
294
- allow_backorder?: string | boolean | undefined;
295
- manage_inventory?: string | boolean | undefined;
296
- variant_rank?: number | undefined;
297
- inventory_items?: {
298
- inventory_item_id: string;
299
- required_quantity: number;
300
- }[] | undefined;
301
- }>, "many">>;
302
- sales_channels: z.ZodOptional<z.ZodArray<z.ZodObject<{
303
- id: z.ZodString;
304
- }, "strip", z.ZodTypeAny, {
305
- id: string;
306
- }, {
307
- id: string;
308
- }>, "many">>;
309
- shipping_profile_id: z.ZodOptional<z.ZodString>;
310
- weight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
311
- length: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
312
- height: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
313
- width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
314
- hs_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
315
- mid_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
316
- origin_country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
317
- material: z.ZodOptional<z.ZodNullable<z.ZodString>>;
318
- metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
319
- }, "strict", z.ZodTypeAny, {
320
- title: string;
321
- is_giftcard: boolean;
322
- discountable: boolean;
323
- status: ProductStatus;
324
- length?: number | null | undefined;
325
- description?: string | null | undefined;
326
- options?: {
327
- values: string[];
328
- title: string;
329
- }[] | undefined;
330
- metadata?: Record<string, unknown> | null | undefined;
331
- shipping_profile_id?: string | undefined;
332
- subtitle?: string | null | undefined;
333
- images?: {
334
- url: string;
335
- }[] | undefined;
336
- thumbnail?: string | null | undefined;
337
- handle?: string | undefined;
338
- type_id?: string | null | undefined;
339
- external_id?: string | null | undefined;
340
- collection_id?: string | null | undefined;
341
- categories?: {
342
- id: string;
343
- }[] | undefined;
344
- tags?: {
345
- id: string;
346
- }[] | undefined;
347
- variants?: {
348
- title: string;
349
- allow_backorder: boolean;
350
- manage_inventory: boolean;
351
- prices: {
352
- currency_code: string;
353
- amount: number;
354
- rules?: Record<string, string> | undefined;
355
- min_quantity?: number | null | undefined;
356
- max_quantity?: number | null | undefined;
357
- }[];
358
- length?: number | null | undefined;
359
- options?: Record<string, string> | undefined;
360
- metadata?: Record<string, unknown> | null | undefined;
361
- sku?: string | null | undefined;
362
- barcode?: string | null | undefined;
363
- weight?: number | null | undefined;
364
- height?: number | null | undefined;
365
- width?: number | null | undefined;
366
- hs_code?: string | null | undefined;
367
- mid_code?: string | null | undefined;
368
- origin_country?: string | null | undefined;
369
- material?: string | null | undefined;
370
- ean?: string | null | undefined;
371
- upc?: string | null | undefined;
372
- variant_rank?: number | undefined;
373
- inventory_items?: {
374
- inventory_item_id: string;
375
- required_quantity: number;
376
- }[] | undefined;
377
- }[] | undefined;
378
- sales_channels?: {
379
- id: string;
380
- }[] | undefined;
381
- weight?: number | null | undefined;
382
- height?: number | null | undefined;
383
- width?: number | null | undefined;
384
- hs_code?: string | null | undefined;
385
- mid_code?: string | null | undefined;
386
- origin_country?: string | null | undefined;
387
- material?: string | null | undefined;
388
- }, {
389
- title: string;
390
- length?: number | null | undefined;
391
- description?: string | null | undefined;
392
- options?: {
393
- values: string[];
394
- title: string;
395
- }[] | undefined;
396
- metadata?: Record<string, unknown> | null | undefined;
397
- shipping_profile_id?: string | undefined;
398
- subtitle?: string | null | undefined;
399
- is_giftcard?: string | boolean | undefined;
400
- discountable?: string | boolean | undefined;
401
- images?: {
402
- url: string;
403
- }[] | undefined;
404
- thumbnail?: string | null | undefined;
405
- handle?: string | undefined;
406
- status?: ProductStatus | undefined;
407
- type_id?: string | null | undefined;
408
- external_id?: string | null | undefined;
409
- collection_id?: string | null | undefined;
410
- categories?: {
411
- id: string;
412
- }[] | undefined;
413
- tags?: {
414
- id: string;
415
- }[] | undefined;
416
- variants?: {
417
- title: string;
418
- prices: {
419
- currency_code: string;
420
- amount: number;
421
- rules?: Record<string, string> | undefined;
422
- min_quantity?: number | null | undefined;
423
- max_quantity?: number | null | undefined;
424
- }[];
425
- length?: number | null | undefined;
426
- options?: Record<string, string> | undefined;
427
- metadata?: Record<string, unknown> | null | undefined;
428
- sku?: string | null | undefined;
429
- barcode?: string | null | undefined;
430
- weight?: number | null | undefined;
431
- height?: number | null | undefined;
432
- width?: number | null | undefined;
433
- hs_code?: string | null | undefined;
434
- mid_code?: string | null | undefined;
435
- origin_country?: string | null | undefined;
436
- material?: string | null | undefined;
437
- ean?: string | null | undefined;
438
- upc?: string | null | undefined;
439
- allow_backorder?: string | boolean | undefined;
440
- manage_inventory?: string | boolean | undefined;
441
- variant_rank?: number | undefined;
442
- inventory_items?: {
443
- inventory_item_id: string;
444
- required_quantity: number;
445
- }[] | undefined;
446
- }[] | undefined;
447
- sales_channels?: {
448
- id: string;
449
- }[] | undefined;
450
- weight?: number | null | undefined;
451
- height?: number | null | undefined;
452
- width?: number | null | undefined;
453
- hs_code?: string | null | undefined;
454
- mid_code?: string | null | undefined;
455
- origin_country?: string | null | undefined;
456
- material?: string | null | undefined;
457
- }>;
458
- export declare const UpdateProductOption: z.ZodObject<{
459
- id: z.ZodOptional<z.ZodString>;
460
- title: z.ZodOptional<z.ZodString>;
461
- values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
462
- }, "strip", z.ZodTypeAny, {
463
- id?: string | undefined;
464
- values?: string[] | undefined;
465
- title?: string | undefined;
466
- }, {
467
- id?: string | undefined;
468
- values?: string[] | undefined;
469
- title?: string | undefined;
470
- }>;
471
- export declare const UpdateVariantPrice: z.ZodObject<{
472
- id: z.ZodOptional<z.ZodString>;
473
- currency_code: z.ZodOptional<z.ZodString>;
474
- amount: z.ZodOptional<z.ZodNumber>;
475
- min_quantity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
476
- max_quantity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
477
- rules: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
478
- }, "strip", z.ZodTypeAny, {
479
- id?: string | undefined;
480
- rules?: Record<string, string> | undefined;
481
- currency_code?: string | undefined;
482
- amount?: number | undefined;
483
- min_quantity?: number | null | undefined;
484
- max_quantity?: number | null | undefined;
485
- }, {
486
- id?: string | undefined;
487
- rules?: Record<string, string> | undefined;
488
- currency_code?: string | undefined;
489
- amount?: number | undefined;
490
- min_quantity?: number | null | undefined;
491
- max_quantity?: number | null | undefined;
492
- }>;
493
- export declare const UpdateProductVariant: z.ZodObject<{
494
- id: z.ZodOptional<z.ZodString>;
495
- title: z.ZodOptional<z.ZodString>;
496
- prices: z.ZodOptional<z.ZodArray<z.ZodObject<{
497
- id: z.ZodOptional<z.ZodString>;
498
- currency_code: z.ZodOptional<z.ZodString>;
499
- amount: z.ZodOptional<z.ZodNumber>;
500
- min_quantity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
501
- max_quantity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
502
- rules: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
503
- }, "strip", z.ZodTypeAny, {
504
- id?: string | undefined;
505
- rules?: Record<string, string> | undefined;
506
- currency_code?: string | undefined;
507
- amount?: number | undefined;
508
- min_quantity?: number | null | undefined;
509
- max_quantity?: number | null | undefined;
510
- }, {
511
- id?: string | undefined;
512
- rules?: Record<string, string> | undefined;
513
- currency_code?: string | undefined;
514
- amount?: number | undefined;
515
- min_quantity?: number | null | undefined;
516
- max_quantity?: number | null | undefined;
517
- }>, "many">>;
518
- sku: z.ZodOptional<z.ZodNullable<z.ZodString>>;
519
- ean: z.ZodOptional<z.ZodNullable<z.ZodString>>;
520
- upc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
521
- barcode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
522
- hs_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
523
- mid_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
524
- allow_backorder: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodString]>, string | boolean, string | boolean>, boolean, string | boolean>>;
525
- manage_inventory: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodString]>, string | boolean, string | boolean>, boolean, string | boolean>>;
526
- variant_rank: z.ZodOptional<z.ZodNumber>;
527
- weight: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, string, number>>>;
528
- length: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, string, number>>>;
529
- height: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, string, number>>>;
530
- width: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, string, number>>>;
531
- origin_country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
532
- material: z.ZodOptional<z.ZodNullable<z.ZodString>>;
533
- metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
534
- options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
535
- }, "strict", z.ZodTypeAny, {
536
- id?: string | undefined;
537
- length?: string | null | undefined;
538
- options?: Record<string, string> | undefined;
539
- metadata?: Record<string, unknown> | null | undefined;
540
- title?: string | undefined;
541
- sku?: string | null | undefined;
542
- barcode?: string | null | undefined;
543
- weight?: string | null | undefined;
544
- height?: string | null | undefined;
545
- width?: string | null | undefined;
546
- hs_code?: string | null | undefined;
547
- mid_code?: string | null | undefined;
548
- origin_country?: string | null | undefined;
549
- material?: string | null | undefined;
550
- ean?: string | null | undefined;
551
- upc?: string | null | undefined;
552
- allow_backorder?: boolean | undefined;
553
- manage_inventory?: boolean | undefined;
554
- variant_rank?: number | undefined;
555
- prices?: {
556
- id?: string | undefined;
557
- rules?: Record<string, string> | undefined;
558
- currency_code?: string | undefined;
559
- amount?: number | undefined;
560
- min_quantity?: number | null | undefined;
561
- max_quantity?: number | null | undefined;
562
- }[] | undefined;
563
- }, {
564
- id?: string | undefined;
565
- length?: number | null | undefined;
566
- options?: Record<string, string> | undefined;
567
- metadata?: Record<string, unknown> | null | undefined;
568
- title?: string | undefined;
569
- sku?: string | null | undefined;
570
- barcode?: string | null | undefined;
571
- weight?: number | null | undefined;
572
- height?: number | null | undefined;
573
- width?: number | null | undefined;
574
- hs_code?: string | null | undefined;
575
- mid_code?: string | null | undefined;
576
- origin_country?: string | null | undefined;
577
- material?: string | null | undefined;
578
- ean?: string | null | undefined;
579
- upc?: string | null | undefined;
580
- allow_backorder?: string | boolean | undefined;
581
- manage_inventory?: string | boolean | undefined;
582
- variant_rank?: number | undefined;
583
- prices?: {
584
- id?: string | undefined;
585
- rules?: Record<string, string> | undefined;
586
- currency_code?: string | undefined;
587
- amount?: number | undefined;
588
- min_quantity?: number | null | undefined;
589
- max_quantity?: number | null | undefined;
590
- }[] | undefined;
591
- }>;
592
- export declare const UpdateProduct: z.ZodObject<{
593
- id: z.ZodString;
594
- title: z.ZodOptional<z.ZodString>;
595
- discountable: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodString]>, string | boolean, string | boolean>, boolean, string | boolean>>;
596
- is_giftcard: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodString]>, string | boolean, string | boolean>, boolean, string | boolean>>;
597
- options: z.ZodOptional<z.ZodArray<z.ZodObject<{
598
- id: z.ZodOptional<z.ZodString>;
599
- title: z.ZodOptional<z.ZodString>;
600
- values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
601
- }, "strip", z.ZodTypeAny, {
602
- id?: string | undefined;
603
- values?: string[] | undefined;
604
- title?: string | undefined;
605
- }, {
606
- id?: string | undefined;
607
- values?: string[] | undefined;
608
- title?: string | undefined;
609
- }>, "many">>;
610
- variants: z.ZodOptional<z.ZodArray<z.ZodObject<{
611
- id: z.ZodOptional<z.ZodString>;
612
- title: z.ZodOptional<z.ZodString>;
613
- prices: z.ZodOptional<z.ZodArray<z.ZodObject<{
614
- id: z.ZodOptional<z.ZodString>;
615
- currency_code: z.ZodOptional<z.ZodString>;
616
- amount: z.ZodOptional<z.ZodNumber>;
617
- min_quantity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
618
- max_quantity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
619
- rules: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
620
- }, "strip", z.ZodTypeAny, {
621
- id?: string | undefined;
622
- rules?: Record<string, string> | undefined;
623
- currency_code?: string | undefined;
624
- amount?: number | undefined;
625
- min_quantity?: number | null | undefined;
626
- max_quantity?: number | null | undefined;
627
- }, {
628
- id?: string | undefined;
629
- rules?: Record<string, string> | undefined;
630
- currency_code?: string | undefined;
631
- amount?: number | undefined;
632
- min_quantity?: number | null | undefined;
633
- max_quantity?: number | null | undefined;
634
- }>, "many">>;
635
- sku: z.ZodOptional<z.ZodNullable<z.ZodString>>;
636
- ean: z.ZodOptional<z.ZodNullable<z.ZodString>>;
637
- upc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
638
- barcode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
639
- hs_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
640
- mid_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
641
- allow_backorder: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodString]>, string | boolean, string | boolean>, boolean, string | boolean>>;
642
- manage_inventory: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodString]>, string | boolean, string | boolean>, boolean, string | boolean>>;
643
- variant_rank: z.ZodOptional<z.ZodNumber>;
644
- weight: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, string, number>>>;
645
- length: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, string, number>>>;
646
- height: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, string, number>>>;
647
- width: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, string, number>>>;
648
- origin_country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
649
- material: z.ZodOptional<z.ZodNullable<z.ZodString>>;
650
- metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
651
- options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
652
- }, "strict", z.ZodTypeAny, {
653
- id?: string | undefined;
654
- length?: string | null | undefined;
655
- options?: Record<string, string> | undefined;
656
- metadata?: Record<string, unknown> | null | undefined;
657
- title?: string | undefined;
658
- sku?: string | null | undefined;
659
- barcode?: string | null | undefined;
660
- weight?: string | null | undefined;
661
- height?: string | null | undefined;
662
- width?: string | null | undefined;
663
- hs_code?: string | null | undefined;
664
- mid_code?: string | null | undefined;
665
- origin_country?: string | null | undefined;
666
- material?: string | null | undefined;
667
- ean?: string | null | undefined;
668
- upc?: string | null | undefined;
669
- allow_backorder?: boolean | undefined;
670
- manage_inventory?: boolean | undefined;
671
- variant_rank?: number | undefined;
672
- prices?: {
673
- id?: string | undefined;
674
- rules?: Record<string, string> | undefined;
675
- currency_code?: string | undefined;
676
- amount?: number | undefined;
677
- min_quantity?: number | null | undefined;
678
- max_quantity?: number | null | undefined;
679
- }[] | undefined;
680
- }, {
681
- id?: string | undefined;
682
- length?: number | null | undefined;
683
- options?: Record<string, string> | undefined;
684
- metadata?: Record<string, unknown> | null | undefined;
685
- title?: string | undefined;
686
- sku?: string | null | undefined;
687
- barcode?: string | null | undefined;
688
- weight?: number | null | undefined;
689
- height?: number | null | undefined;
690
- width?: number | null | undefined;
691
- hs_code?: string | null | undefined;
692
- mid_code?: string | null | undefined;
693
- origin_country?: string | null | undefined;
694
- material?: string | null | undefined;
695
- ean?: string | null | undefined;
696
- upc?: string | null | undefined;
697
- allow_backorder?: string | boolean | undefined;
698
- manage_inventory?: string | boolean | undefined;
699
- variant_rank?: number | undefined;
700
- prices?: {
701
- id?: string | undefined;
702
- rules?: Record<string, string> | undefined;
703
- currency_code?: string | undefined;
704
- amount?: number | undefined;
705
- min_quantity?: number | null | undefined;
706
- max_quantity?: number | null | undefined;
707
- }[] | undefined;
708
- }>, "many">>;
709
- status: z.ZodOptional<z.ZodNativeEnum<typeof ProductStatus>>;
710
- subtitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
711
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
712
- images: z.ZodOptional<z.ZodArray<z.ZodObject<{
713
- url: z.ZodString;
714
- }, "strip", z.ZodTypeAny, {
715
- url: string;
716
- }, {
717
- url: string;
718
- }>, "many">>;
719
- thumbnail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
720
- handle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
721
- type_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
722
- external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
723
- collection_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
724
- categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
725
- id: z.ZodString;
726
- }, "strip", z.ZodTypeAny, {
727
- id: string;
728
- }, {
729
- id: string;
730
- }>, "many">>;
731
- tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
732
- id: z.ZodString;
733
- }, "strip", z.ZodTypeAny, {
734
- id: string;
735
- }, {
736
- id: string;
737
- }>, "many">>;
738
- sales_channels: z.ZodOptional<z.ZodArray<z.ZodObject<{
739
- id: z.ZodString;
740
- }, "strip", z.ZodTypeAny, {
741
- id: string;
742
- }, {
743
- id: string;
744
- }>, "many">>;
745
- shipping_profile_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
746
- weight: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, string, number>>>;
747
- length: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, string, number>>>;
748
- height: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, string, number>>>;
749
- width: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, string, number>>>;
750
- hs_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
751
- mid_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
752
- origin_country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
753
- material: z.ZodOptional<z.ZodNullable<z.ZodString>>;
754
- metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
755
- }, "strict", z.ZodTypeAny, {
756
- id: string;
757
- length?: string | null | undefined;
758
- description?: string | null | undefined;
759
- options?: {
760
- id?: string | undefined;
761
- values?: string[] | undefined;
762
- title?: string | undefined;
763
- }[] | undefined;
764
- metadata?: Record<string, unknown> | null | undefined;
765
- title?: string | undefined;
766
- shipping_profile_id?: string | null | undefined;
767
- subtitle?: string | null | undefined;
768
- is_giftcard?: boolean | undefined;
769
- discountable?: boolean | undefined;
770
- images?: {
771
- url: string;
772
- }[] | undefined;
773
- thumbnail?: string | null | undefined;
774
- handle?: string | null | undefined;
775
- status?: ProductStatus | undefined;
776
- type_id?: string | null | undefined;
777
- external_id?: string | null | undefined;
778
- collection_id?: string | null | undefined;
779
- categories?: {
780
- id: string;
781
- }[] | undefined;
782
- tags?: {
783
- id: string;
784
- }[] | undefined;
785
- variants?: {
786
- id?: string | undefined;
787
- length?: string | null | undefined;
788
- options?: Record<string, string> | undefined;
789
- metadata?: Record<string, unknown> | null | undefined;
790
- title?: string | undefined;
791
- sku?: string | null | undefined;
792
- barcode?: string | null | undefined;
793
- weight?: string | null | undefined;
794
- height?: string | null | undefined;
795
- width?: string | null | undefined;
796
- hs_code?: string | null | undefined;
797
- mid_code?: string | null | undefined;
798
- origin_country?: string | null | undefined;
799
- material?: string | null | undefined;
800
- ean?: string | null | undefined;
801
- upc?: string | null | undefined;
802
- allow_backorder?: boolean | undefined;
803
- manage_inventory?: boolean | undefined;
804
- variant_rank?: number | undefined;
805
- prices?: {
806
- id?: string | undefined;
807
- rules?: Record<string, string> | undefined;
808
- currency_code?: string | undefined;
809
- amount?: number | undefined;
810
- min_quantity?: number | null | undefined;
811
- max_quantity?: number | null | undefined;
812
- }[] | undefined;
813
- }[] | undefined;
814
- sales_channels?: {
815
- id: string;
816
- }[] | undefined;
817
- weight?: string | null | undefined;
818
- height?: string | null | undefined;
819
- width?: string | null | undefined;
820
- hs_code?: string | null | undefined;
821
- mid_code?: string | null | undefined;
822
- origin_country?: string | null | undefined;
823
- material?: string | null | undefined;
824
- }, {
825
- id: string;
826
- length?: number | null | undefined;
827
- description?: string | null | undefined;
828
- options?: {
829
- id?: string | undefined;
830
- values?: string[] | undefined;
831
- title?: string | undefined;
832
- }[] | undefined;
833
- metadata?: Record<string, unknown> | null | undefined;
834
- title?: string | undefined;
835
- shipping_profile_id?: string | null | undefined;
836
- subtitle?: string | null | undefined;
837
- is_giftcard?: string | boolean | undefined;
838
- discountable?: string | boolean | undefined;
839
- images?: {
840
- url: string;
841
- }[] | undefined;
842
- thumbnail?: string | null | undefined;
843
- handle?: string | null | undefined;
844
- status?: ProductStatus | undefined;
845
- type_id?: string | null | undefined;
846
- external_id?: string | null | undefined;
847
- collection_id?: string | null | undefined;
848
- categories?: {
849
- id: string;
850
- }[] | undefined;
851
- tags?: {
852
- id: string;
853
- }[] | undefined;
854
- variants?: {
855
- id?: string | undefined;
856
- length?: number | null | undefined;
857
- options?: Record<string, string> | undefined;
858
- metadata?: Record<string, unknown> | null | undefined;
859
- title?: string | undefined;
860
- sku?: string | null | undefined;
861
- barcode?: string | null | undefined;
862
- weight?: number | null | undefined;
863
- height?: number | null | undefined;
864
- width?: number | null | undefined;
865
- hs_code?: string | null | undefined;
866
- mid_code?: string | null | undefined;
867
- origin_country?: string | null | undefined;
868
- material?: string | null | undefined;
869
- ean?: string | null | undefined;
870
- upc?: string | null | undefined;
871
- allow_backorder?: string | boolean | undefined;
872
- manage_inventory?: string | boolean | undefined;
873
- variant_rank?: number | undefined;
874
- prices?: {
875
- id?: string | undefined;
876
- rules?: Record<string, string> | undefined;
877
- currency_code?: string | undefined;
878
- amount?: number | undefined;
879
- min_quantity?: number | null | undefined;
880
- max_quantity?: number | null | undefined;
881
- }[] | undefined;
882
- }[] | undefined;
883
- sales_channels?: {
884
- id: string;
885
- }[] | undefined;
886
- weight?: number | null | undefined;
887
- height?: number | null | undefined;
888
- width?: number | null | undefined;
889
- hs_code?: string | null | undefined;
890
- mid_code?: string | null | undefined;
891
- origin_country?: string | null | undefined;
892
- material?: string | null | undefined;
893
- }>;
894
- //# sourceMappingURL=validators.d.ts.map