@unchainedshop/api 4.3.4 → 4.3.6

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/lib/chat/generateImageHandler.js +1 -1
  2. package/lib/chat/generateImageHandler.js.map +1 -1
  3. package/lib/chat/utils.js +1 -1
  4. package/lib/chat/utils.js.map +1 -1
  5. package/lib/express/chatHandler.d.ts.map +1 -1
  6. package/lib/express/chatHandler.js +7 -3
  7. package/lib/express/chatHandler.js.map +1 -1
  8. package/lib/express/createMCPMiddleware.d.ts +1 -1
  9. package/lib/express/createMCPMiddleware.d.ts.map +1 -1
  10. package/lib/express/createMCPMiddleware.js +21 -4
  11. package/lib/express/createMCPMiddleware.js.map +1 -1
  12. package/lib/fastify/chatHandler.d.ts.map +1 -1
  13. package/lib/fastify/chatHandler.js +7 -3
  14. package/lib/fastify/chatHandler.js.map +1 -1
  15. package/lib/fastify/index.d.ts.map +1 -1
  16. package/lib/fastify/index.js +1 -4
  17. package/lib/fastify/index.js.map +1 -1
  18. package/lib/fastify/mcpHandler.d.ts +1 -1
  19. package/lib/fastify/mcpHandler.d.ts.map +1 -1
  20. package/lib/fastify/mcpHandler.js +20 -5
  21. package/lib/fastify/mcpHandler.js.map +1 -1
  22. package/lib/mcp/index.d.ts +2 -2
  23. package/lib/mcp/index.d.ts.map +1 -1
  24. package/lib/mcp/index.js +1 -6
  25. package/lib/mcp/index.js.map +1 -1
  26. package/lib/mcp/resources/localization.d.ts +2 -2
  27. package/lib/mcp/resources/localization.d.ts.map +1 -1
  28. package/lib/mcp/tools/assortment/index.d.ts +2 -2
  29. package/lib/mcp/tools/assortment/index.d.ts.map +1 -1
  30. package/lib/mcp/tools/assortment/schemas.d.ts +167 -724
  31. package/lib/mcp/tools/assortment/schemas.d.ts.map +1 -1
  32. package/lib/mcp/tools/assortment/schemas.js +1 -1
  33. package/lib/mcp/tools/assortment/schemas.js.map +1 -1
  34. package/lib/mcp/tools/filter/index.d.ts +2 -2
  35. package/lib/mcp/tools/filter/index.d.ts.map +1 -1
  36. package/lib/mcp/tools/filter/schemas.d.ts +100 -413
  37. package/lib/mcp/tools/filter/schemas.d.ts.map +1 -1
  38. package/lib/mcp/tools/localization/index.d.ts +2 -2
  39. package/lib/mcp/tools/localization/index.d.ts.map +1 -1
  40. package/lib/mcp/tools/localization/schemas.d.ts +85 -224
  41. package/lib/mcp/tools/localization/schemas.d.ts.map +1 -1
  42. package/lib/mcp/tools/localization/schemas.js +3 -3
  43. package/lib/mcp/tools/localization/schemas.js.map +1 -1
  44. package/lib/mcp/tools/order/index.d.ts +1 -1
  45. package/lib/mcp/tools/order/index.d.ts.map +1 -1
  46. package/lib/mcp/tools/order/schemas.d.ts +160 -290
  47. package/lib/mcp/tools/order/schemas.d.ts.map +1 -1
  48. package/lib/mcp/tools/order/schemas.js +16 -10
  49. package/lib/mcp/tools/order/schemas.js.map +1 -1
  50. package/lib/mcp/tools/product/index.d.ts +1 -1
  51. package/lib/mcp/tools/product/index.d.ts.map +1 -1
  52. package/lib/mcp/tools/product/schemas.d.ts +373 -2153
  53. package/lib/mcp/tools/product/schemas.d.ts.map +1 -1
  54. package/lib/mcp/tools/product/schemas.js +5 -2
  55. package/lib/mcp/tools/product/schemas.js.map +1 -1
  56. package/lib/mcp/tools/provider/index.d.ts +1 -1
  57. package/lib/mcp/tools/provider/index.d.ts.map +1 -1
  58. package/lib/mcp/tools/provider/schemas.d.ts +193 -194
  59. package/lib/mcp/tools/provider/schemas.d.ts.map +1 -1
  60. package/lib/mcp/tools/provider/schemas.js +4 -4
  61. package/lib/mcp/tools/provider/schemas.js.map +1 -1
  62. package/lib/mcp/tools/quotation/index.d.ts +1 -1
  63. package/lib/mcp/tools/quotation/index.d.ts.map +1 -1
  64. package/lib/mcp/tools/quotation/schemas.d.ts +78 -172
  65. package/lib/mcp/tools/quotation/schemas.d.ts.map +1 -1
  66. package/lib/mcp/tools/quotation/schemas.js +4 -4
  67. package/lib/mcp/tools/quotation/schemas.js.map +1 -1
  68. package/lib/mcp/tools/system/index.d.ts +1 -1
  69. package/lib/mcp/tools/system/index.d.ts.map +1 -1
  70. package/lib/mcp/tools/system/schemas.d.ts +96 -346
  71. package/lib/mcp/tools/system/schemas.d.ts.map +1 -1
  72. package/lib/mcp/tools/users/index.d.ts +1 -1
  73. package/lib/mcp/tools/users/index.d.ts.map +1 -1
  74. package/lib/mcp/tools/users/schemas.d.ts +125 -789
  75. package/lib/mcp/tools/users/schemas.d.ts.map +1 -1
  76. package/lib/mcp/utils/sharedSchemas.d.ts +21 -29
  77. package/lib/mcp/utils/sharedSchemas.d.ts.map +1 -1
  78. package/lib/resolvers/mutations/accounts/verifyWeb3Address.js.map +1 -1
  79. package/package.json +6 -6
  80. package/src/chat/generateImageHandler.ts +1 -1
  81. package/src/chat/utils.ts +1 -1
  82. package/src/express/chatHandler.ts +12 -3
  83. package/src/express/createMCPMiddleware.ts +36 -8
  84. package/src/fastify/chatHandler.ts +10 -3
  85. package/src/fastify/index.ts +2 -4
  86. package/src/fastify/mcpHandler.ts +33 -9
  87. package/src/mcp/index.ts +3 -9
  88. package/src/mcp/resources/localization.ts +2 -2
  89. package/src/mcp/tools/assortment/index.ts +2 -2
  90. package/src/mcp/tools/assortment/schemas.ts +1 -1
  91. package/src/mcp/tools/filter/index.ts +2 -2
  92. package/src/mcp/tools/localization/index.ts +2 -2
  93. package/src/mcp/tools/localization/schemas.ts +4 -3
  94. package/src/mcp/tools/order/index.ts +1 -1
  95. package/src/mcp/tools/order/schemas.ts +18 -10
  96. package/src/mcp/tools/product/index.ts +1 -1
  97. package/src/mcp/tools/product/schemas.ts +5 -2
  98. package/src/mcp/tools/provider/index.ts +1 -1
  99. package/src/mcp/tools/provider/schemas.ts +5 -4
  100. package/src/mcp/tools/quotation/index.ts +1 -1
  101. package/src/mcp/tools/quotation/schemas.ts +4 -4
  102. package/src/mcp/tools/system/index.ts +1 -1
  103. package/src/mcp/tools/users/index.ts +1 -1
  104. package/src/resolvers/mutations/accounts/verifyWeb3Address.ts +3 -3
  105. package/lib/express/createApolloMiddleware.d.ts +0 -4
  106. package/lib/express/createApolloMiddleware.d.ts.map +0 -1
  107. package/lib/express/createApolloMiddleware.js +0 -36
  108. package/lib/express/createApolloMiddleware.js.map +0 -1
  109. package/lib/express/createSingleSignOnMiddleware.d.ts +0 -5
  110. package/lib/express/createSingleSignOnMiddleware.d.ts.map +0 -1
  111. package/lib/express/createSingleSignOnMiddleware.js +0 -71
  112. package/lib/express/createSingleSignOnMiddleware.js.map +0 -1
  113. package/lib/hashPassword.d.ts +0 -2
  114. package/lib/hashPassword.d.ts.map +0 -1
  115. package/lib/hashPassword.js +0 -5
  116. package/lib/hashPassword.js.map +0 -1
  117. package/lib/loaders/productLoaderBySKU.d.ts +0 -10
  118. package/lib/loaders/productLoaderBySKU.d.ts.map +0 -1
  119. package/lib/loaders/productLoaderBySKU.js +0 -16
  120. package/lib/loaders/productLoaderBySKU.js.map +0 -1
  121. package/lib/resolvers/mutations/accounts/buildSecretTOTPAuthURL.d.ts +0 -3
  122. package/lib/resolvers/mutations/accounts/buildSecretTOTPAuthURL.d.ts.map +0 -1
  123. package/lib/resolvers/mutations/accounts/buildSecretTOTPAuthURL.js +0 -6
  124. package/lib/resolvers/mutations/accounts/buildSecretTOTPAuthURL.js.map +0 -1
  125. package/lib/resolvers/mutations/accounts/disableTOTP.d.ts +0 -6
  126. package/lib/resolvers/mutations/accounts/disableTOTP.d.ts.map +0 -1
  127. package/lib/resolvers/mutations/accounts/disableTOTP.js +0 -27
  128. package/lib/resolvers/mutations/accounts/disableTOTP.js.map +0 -1
  129. package/lib/resolvers/mutations/accounts/enableTOTP.d.ts +0 -6
  130. package/lib/resolvers/mutations/accounts/enableTOTP.d.ts.map +0 -1
  131. package/lib/resolvers/mutations/accounts/enableTOTP.js +0 -20
  132. package/lib/resolvers/mutations/accounts/enableTOTP.js.map +0 -1
  133. package/lib/resolvers/mutations/accounts/linkOAuthAccount.d.ts +0 -7
  134. package/lib/resolvers/mutations/accounts/linkOAuthAccount.d.ts.map +0 -1
  135. package/lib/resolvers/mutations/accounts/linkOAuthAccount.js +0 -30
  136. package/lib/resolvers/mutations/accounts/linkOAuthAccount.js.map +0 -1
  137. package/lib/resolvers/mutations/accounts/loginWithOAuth.d.ts +0 -8
  138. package/lib/resolvers/mutations/accounts/loginWithOAuth.d.ts.map +0 -1
  139. package/lib/resolvers/mutations/accounts/loginWithOAuth.js +0 -25
  140. package/lib/resolvers/mutations/accounts/loginWithOAuth.js.map +0 -1
  141. package/lib/resolvers/mutations/accounts/logoutAllSessions.d.ts +0 -5
  142. package/lib/resolvers/mutations/accounts/logoutAllSessions.d.ts.map +0 -1
  143. package/lib/resolvers/mutations/accounts/logoutAllSessions.js +0 -20
  144. package/lib/resolvers/mutations/accounts/logoutAllSessions.js.map +0 -1
  145. package/lib/resolvers/mutations/accounts/unlinkOAuthAccount.d.ts +0 -6
  146. package/lib/resolvers/mutations/accounts/unlinkOAuthAccount.d.ts.map +0 -1
  147. package/lib/resolvers/mutations/accounts/unlinkOAuthAccount.js +0 -13
  148. package/lib/resolvers/mutations/accounts/unlinkOAuthAccount.js.map +0 -1
  149. package/lib/resolvers/mutations/assortments/addAssortmentMedia.d.ts +0 -6
  150. package/lib/resolvers/mutations/assortments/addAssortmentMedia.d.ts.map +0 -1
  151. package/lib/resolvers/mutations/assortments/addAssortmentMedia.js +0 -18
  152. package/lib/resolvers/mutations/assortments/addAssortmentMedia.js.map +0 -1
  153. package/lib/resolvers/mutations/orders/updateOrderPaymentCard.d.ts +0 -6
  154. package/lib/resolvers/mutations/orders/updateOrderPaymentCard.d.ts.map +0 -1
  155. package/lib/resolvers/mutations/orders/updateOrderPaymentCard.js +0 -26
  156. package/lib/resolvers/mutations/orders/updateOrderPaymentCard.js.map +0 -1
  157. package/lib/resolvers/mutations/products/addProductMedia.d.ts +0 -6
  158. package/lib/resolvers/mutations/products/addProductMedia.d.ts.map +0 -1
  159. package/lib/resolvers/mutations/products/addProductMedia.js +0 -18
  160. package/lib/resolvers/mutations/products/addProductMedia.js.map +0 -1
  161. package/lib/resolvers/mutations/users/updateUserAvatar.d.ts +0 -6
  162. package/lib/resolvers/mutations/users/updateUserAvatar.d.ts.map +0 -1
  163. package/lib/resolvers/mutations/users/updateUserAvatar.js +0 -22
  164. package/lib/resolvers/mutations/users/updateUserAvatar.js.map +0 -1
  165. package/lib/resolvers/mutations/utils/getOrderCart.d.ts +0 -7
  166. package/lib/resolvers/mutations/utils/getOrderCart.d.ts.map +0 -1
  167. package/lib/resolvers/mutations/utils/getOrderCart.js +0 -13
  168. package/lib/resolvers/mutations/utils/getOrderCart.js.map +0 -1
  169. package/lib/resolvers/type/color-types.d.ts +0 -18
  170. package/lib/resolvers/type/color-types.d.ts.map +0 -1
  171. package/lib/resolvers/type/color-types.js +0 -31
  172. package/lib/resolvers/type/color-types.js.map +0 -1
  173. package/lib/resolvers/type/dispatch-types.d.ts +0 -15
  174. package/lib/resolvers/type/dispatch-types.d.ts.map +0 -1
  175. package/lib/resolvers/type/dispatch-types.js +0 -16
  176. package/lib/resolvers/type/dispatch-types.js.map +0 -1
  177. package/lib/resolvers/type/oauth-account.d.ts +0 -6
  178. package/lib/resolvers/type/oauth-account.d.ts.map +0 -1
  179. package/lib/resolvers/type/oauth-account.js +0 -7
  180. package/lib/resolvers/type/oauth-account.js.map +0 -1
  181. package/lib/resolvers/type/oauth-provider.d.ts +0 -6
  182. package/lib/resolvers/type/oauth-provider.d.ts.map +0 -1
  183. package/lib/resolvers/type/oauth-provider.js +0 -6
  184. package/lib/resolvers/type/oauth-provider.js.map +0 -1
  185. package/lib/resolvers/type/stock-types.d.ts +0 -14
  186. package/lib/resolvers/type/stock-types.d.ts.map +0 -1
  187. package/lib/resolvers/type/stock-types.js +0 -15
  188. package/lib/resolvers/type/stock-types.js.map +0 -1
  189. package/lib/user-context.d.ts +0 -7
  190. package/lib/user-context.d.ts.map +0 -1
  191. package/lib/user-context.js +0 -76
  192. package/lib/user-context.js.map +0 -1
@@ -2,161 +2,109 @@ import { z } from 'zod';
2
2
  export declare const productTypeKeys: [string, ...string[]];
3
3
  export declare const productVariationTypeKeys: [string, ...string[]];
4
4
  export declare const sortDirectionKeys: [string, ...string[]];
5
- export declare const ProductPlanUsageCalculationTypeEnum: z.ZodEnum<["LICENSED", "METERED"]>;
6
- export declare const ProductPlanConfigurationIntervalEnum: z.ZodEnum<["HOURS", "DAYS", "WEEKS", "MONTHS", "YEARS"]>;
5
+ export declare const ProductPlanUsageCalculationTypeEnum: z.ZodEnum<{
6
+ LICENSED: "LICENSED";
7
+ METERED: "METERED";
8
+ }>;
9
+ export declare const ProductPlanConfigurationIntervalEnum: z.ZodEnum<{
10
+ HOURS: "HOURS";
11
+ DAYS: "DAYS";
12
+ WEEKS: "WEEKS";
13
+ MONTHS: "MONTHS";
14
+ YEARS: "YEARS";
15
+ }>;
7
16
  export declare const UpdateProductPlanInputSchema: z.ZodObject<{
8
- usageCalculationType: z.ZodEnum<["LICENSED", "METERED"]>;
9
- billingInterval: z.ZodEnum<["HOURS", "DAYS", "WEEKS", "MONTHS", "YEARS"]>;
17
+ usageCalculationType: z.ZodEnum<{
18
+ LICENSED: "LICENSED";
19
+ METERED: "METERED";
20
+ }>;
21
+ billingInterval: z.ZodEnum<{
22
+ HOURS: "HOURS";
23
+ DAYS: "DAYS";
24
+ WEEKS: "WEEKS";
25
+ MONTHS: "MONTHS";
26
+ YEARS: "YEARS";
27
+ }>;
10
28
  billingIntervalCount: z.ZodNumber;
11
- trialInterval: z.ZodOptional<z.ZodEnum<["HOURS", "DAYS", "WEEKS", "MONTHS", "YEARS"]>>;
29
+ trialInterval: z.ZodOptional<z.ZodEnum<{
30
+ HOURS: "HOURS";
31
+ DAYS: "DAYS";
32
+ WEEKS: "WEEKS";
33
+ MONTHS: "MONTHS";
34
+ YEARS: "YEARS";
35
+ }>>;
12
36
  trialIntervalCount: z.ZodOptional<z.ZodNumber>;
13
- }, "strip", z.ZodTypeAny, {
14
- usageCalculationType: "LICENSED" | "METERED";
15
- billingInterval: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS";
16
- billingIntervalCount: number;
17
- trialInterval?: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS" | undefined;
18
- trialIntervalCount?: number | undefined;
19
- }, {
20
- usageCalculationType: "LICENSED" | "METERED";
21
- billingInterval: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS";
22
- billingIntervalCount: number;
23
- trialInterval?: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS" | undefined;
24
- trialIntervalCount?: number | undefined;
25
- }>;
37
+ }, z.core.$strip>;
26
38
  export declare const ProductTextInputSchema: z.ZodObject<{
27
39
  locale: z.ZodString;
28
40
  title: z.ZodString;
29
41
  subtitle: z.ZodOptional<z.ZodString>;
30
- } & {
31
42
  slug: z.ZodOptional<z.ZodString>;
32
43
  description: z.ZodOptional<z.ZodString>;
33
44
  vendor: z.ZodOptional<z.ZodString>;
34
45
  brand: z.ZodOptional<z.ZodString>;
35
- labels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
36
- }, "strip", z.ZodTypeAny, {
37
- locale: string;
38
- title: string;
39
- description?: string | undefined;
40
- subtitle?: string | undefined;
41
- slug?: string | undefined;
42
- brand?: string | undefined;
43
- vendor?: string | undefined;
44
- labels?: string[] | undefined;
45
- }, {
46
- locale: string;
47
- title: string;
48
- description?: string | undefined;
49
- subtitle?: string | undefined;
50
- slug?: string | undefined;
51
- brand?: string | undefined;
52
- vendor?: string | undefined;
53
- labels?: string[] | undefined;
54
- }>;
46
+ labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
47
+ }, z.core.$strip>;
55
48
  export declare const ProductVariationTextInputSchema: z.ZodObject<{
56
49
  locale: z.ZodString;
57
50
  title: z.ZodString;
58
51
  subtitle: z.ZodOptional<z.ZodString>;
59
- }, "strip", z.ZodTypeAny, {
60
- locale: string;
61
- title: string;
62
- subtitle?: string | undefined;
63
- }, {
64
- locale: string;
65
- title: string;
66
- subtitle?: string | undefined;
67
- }>;
52
+ }, z.core.$strip>;
68
53
  export declare const ProductMediaTextInputSchema: z.ZodObject<{
69
54
  locale: z.ZodString;
70
55
  title: z.ZodString;
71
56
  subtitle: z.ZodOptional<z.ZodString>;
72
- }, "strip", z.ZodTypeAny, {
73
- locale: string;
74
- title: string;
75
- subtitle?: string | undefined;
76
- }, {
77
- locale: string;
78
- title: string;
79
- subtitle?: string | undefined;
80
- }>;
57
+ }, z.core.$strip>;
81
58
  export declare const ProductAssignmentVectorSchema: z.ZodObject<{
82
59
  key: z.ZodString;
83
60
  value: z.ZodString;
84
- }, "strip", z.ZodTypeAny, {
85
- key: string;
86
- value: string;
87
- }, {
88
- key: string;
89
- value: string;
90
- }>;
61
+ }, z.core.$strip>;
91
62
  export declare const ProductSchema: z.ZodObject<{
92
- type: z.ZodOptional<z.ZodEnum<[string, ...string[]]>>;
93
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
63
+ type: z.ZodOptional<z.ZodEnum<{
64
+ [x: string]: string;
65
+ }>>;
66
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
94
67
  sequence: z.ZodOptional<z.ZodNumber>;
95
- meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
68
+ meta: z.ZodOptional<z.ZodRecord<z.ZodAny, z.ZodAny>>;
96
69
  plan: z.ZodOptional<z.ZodObject<{
97
- usageCalculationType: z.ZodEnum<["LICENSED", "METERED"]>;
98
- billingInterval: z.ZodEnum<["HOURS", "DAYS", "WEEKS", "MONTHS", "YEARS"]>;
70
+ usageCalculationType: z.ZodEnum<{
71
+ LICENSED: "LICENSED";
72
+ METERED: "METERED";
73
+ }>;
74
+ billingInterval: z.ZodEnum<{
75
+ HOURS: "HOURS";
76
+ DAYS: "DAYS";
77
+ WEEKS: "WEEKS";
78
+ MONTHS: "MONTHS";
79
+ YEARS: "YEARS";
80
+ }>;
99
81
  billingIntervalCount: z.ZodNumber;
100
- trialInterval: z.ZodOptional<z.ZodEnum<["HOURS", "DAYS", "WEEKS", "MONTHS", "YEARS"]>>;
82
+ trialInterval: z.ZodOptional<z.ZodEnum<{
83
+ HOURS: "HOURS";
84
+ DAYS: "DAYS";
85
+ WEEKS: "WEEKS";
86
+ MONTHS: "MONTHS";
87
+ YEARS: "YEARS";
88
+ }>>;
101
89
  trialIntervalCount: z.ZodOptional<z.ZodNumber>;
102
- }, "strip", z.ZodTypeAny, {
103
- usageCalculationType: "LICENSED" | "METERED";
104
- billingInterval: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS";
105
- billingIntervalCount: number;
106
- trialInterval?: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS" | undefined;
107
- trialIntervalCount?: number | undefined;
108
- }, {
109
- usageCalculationType: "LICENSED" | "METERED";
110
- billingInterval: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS";
111
- billingIntervalCount: number;
112
- trialInterval?: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS" | undefined;
113
- trialIntervalCount?: number | undefined;
114
- }>>;
90
+ }, z.core.$strip>>;
115
91
  warehousing: z.ZodOptional<z.ZodObject<{
116
92
  sku: z.ZodOptional<z.ZodString>;
117
93
  baseUnit: z.ZodOptional<z.ZodString>;
118
- }, "strip", z.ZodTypeAny, {
119
- sku?: string | undefined;
120
- baseUnit?: string | undefined;
121
- }, {
122
- sku?: string | undefined;
123
- baseUnit?: string | undefined;
124
- }>>;
94
+ }, z.core.$strip>>;
125
95
  supply: z.ZodOptional<z.ZodObject<{
126
96
  weightInGram: z.ZodOptional<z.ZodNumber>;
127
97
  heightInMillimeters: z.ZodOptional<z.ZodNumber>;
128
98
  lengthInMillimeters: z.ZodOptional<z.ZodNumber>;
129
99
  widthInMillimeters: z.ZodOptional<z.ZodNumber>;
130
- }, "strip", z.ZodTypeAny, {
131
- weightInGram?: number | undefined;
132
- lengthInMillimeters?: number | undefined;
133
- widthInMillimeters?: number | undefined;
134
- heightInMillimeters?: number | undefined;
135
- }, {
136
- weightInGram?: number | undefined;
137
- lengthInMillimeters?: number | undefined;
138
- widthInMillimeters?: number | undefined;
139
- heightInMillimeters?: number | undefined;
140
- }>>;
100
+ }, z.core.$strip>>;
141
101
  tokenization: z.ZodOptional<z.ZodObject<{
142
102
  contractAddress: z.ZodString;
143
103
  contractStandard: z.ZodString;
144
104
  tokenId: z.ZodString;
145
105
  supply: z.ZodNumber;
146
- ercMetadataProperties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
147
- }, "strip", z.ZodTypeAny, {
148
- supply: number;
149
- contractAddress: string;
150
- tokenId: string;
151
- contractStandard: string;
152
- ercMetadataProperties?: Record<string, any> | undefined;
153
- }, {
154
- supply: number;
155
- contractAddress: string;
156
- tokenId: string;
157
- contractStandard: string;
158
- ercMetadataProperties?: Record<string, any> | undefined;
159
- }>>;
106
+ ercMetadataProperties: z.ZodOptional<z.ZodRecord<z.ZodAny, z.ZodAny>>;
107
+ }, z.core.$strip>>;
160
108
  commerce: z.ZodOptional<z.ZodObject<{
161
109
  pricing: z.ZodArray<z.ZodObject<{
162
110
  amount: z.ZodNumber;
@@ -165,217 +113,54 @@ export declare const ProductSchema: z.ZodObject<{
165
113
  isNetPrice: z.ZodOptional<z.ZodBoolean>;
166
114
  currencyCode: z.ZodString;
167
115
  countryCode: z.ZodString;
168
- }, "strip", z.ZodTypeAny, {
169
- countryCode: string;
170
- currencyCode: string;
171
- amount: number;
172
- isNetPrice?: boolean | undefined;
173
- isTaxable?: boolean | undefined;
174
- maxQuantity?: number | undefined;
175
- }, {
176
- countryCode: string;
177
- currencyCode: string;
178
- amount: number;
179
- isNetPrice?: boolean | undefined;
180
- isTaxable?: boolean | undefined;
181
- maxQuantity?: number | undefined;
182
- }>, "atleastone">;
183
- }, "strip", z.ZodTypeAny, {
184
- pricing: [{
185
- countryCode: string;
186
- currencyCode: string;
187
- amount: number;
188
- isNetPrice?: boolean | undefined;
189
- isTaxable?: boolean | undefined;
190
- maxQuantity?: number | undefined;
191
- }, ...{
192
- countryCode: string;
193
- currencyCode: string;
194
- amount: number;
195
- isNetPrice?: boolean | undefined;
196
- isTaxable?: boolean | undefined;
197
- maxQuantity?: number | undefined;
198
- }[]];
199
- }, {
200
- pricing: [{
201
- countryCode: string;
202
- currencyCode: string;
203
- amount: number;
204
- isNetPrice?: boolean | undefined;
205
- isTaxable?: boolean | undefined;
206
- maxQuantity?: number | undefined;
207
- }, ...{
208
- countryCode: string;
209
- currencyCode: string;
210
- amount: number;
211
- isNetPrice?: boolean | undefined;
212
- isTaxable?: boolean | undefined;
213
- maxQuantity?: number | undefined;
214
- }[]];
215
- }>>;
216
- }, "strip", z.ZodTypeAny, {
217
- meta?: Record<string, unknown> | undefined;
218
- sequence?: number | undefined;
219
- tags?: string[] | undefined;
220
- type?: string | undefined;
221
- commerce?: {
222
- pricing: [{
223
- countryCode: string;
224
- currencyCode: string;
225
- amount: number;
226
- isNetPrice?: boolean | undefined;
227
- isTaxable?: boolean | undefined;
228
- maxQuantity?: number | undefined;
229
- }, ...{
230
- countryCode: string;
231
- currencyCode: string;
232
- amount: number;
233
- isNetPrice?: boolean | undefined;
234
- isTaxable?: boolean | undefined;
235
- maxQuantity?: number | undefined;
236
- }[]];
237
- } | undefined;
238
- plan?: {
239
- usageCalculationType: "LICENSED" | "METERED";
240
- billingInterval: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS";
241
- billingIntervalCount: number;
242
- trialInterval?: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS" | undefined;
243
- trialIntervalCount?: number | undefined;
244
- } | undefined;
245
- supply?: {
246
- weightInGram?: number | undefined;
247
- lengthInMillimeters?: number | undefined;
248
- widthInMillimeters?: number | undefined;
249
- heightInMillimeters?: number | undefined;
250
- } | undefined;
251
- warehousing?: {
252
- sku?: string | undefined;
253
- baseUnit?: string | undefined;
254
- } | undefined;
255
- tokenization?: {
256
- supply: number;
257
- contractAddress: string;
258
- tokenId: string;
259
- contractStandard: string;
260
- ercMetadataProperties?: Record<string, any> | undefined;
261
- } | undefined;
262
- }, {
263
- meta?: Record<string, unknown> | undefined;
264
- sequence?: number | undefined;
265
- tags?: string[] | undefined;
266
- type?: string | undefined;
267
- commerce?: {
268
- pricing: [{
269
- countryCode: string;
270
- currencyCode: string;
271
- amount: number;
272
- isNetPrice?: boolean | undefined;
273
- isTaxable?: boolean | undefined;
274
- maxQuantity?: number | undefined;
275
- }, ...{
276
- countryCode: string;
277
- currencyCode: string;
278
- amount: number;
279
- isNetPrice?: boolean | undefined;
280
- isTaxable?: boolean | undefined;
281
- maxQuantity?: number | undefined;
282
- }[]];
283
- } | undefined;
284
- plan?: {
285
- usageCalculationType: "LICENSED" | "METERED";
286
- billingInterval: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS";
287
- billingIntervalCount: number;
288
- trialInterval?: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS" | undefined;
289
- trialIntervalCount?: number | undefined;
290
- } | undefined;
291
- supply?: {
292
- weightInGram?: number | undefined;
293
- lengthInMillimeters?: number | undefined;
294
- widthInMillimeters?: number | undefined;
295
- heightInMillimeters?: number | undefined;
296
- } | undefined;
297
- warehousing?: {
298
- sku?: string | undefined;
299
- baseUnit?: string | undefined;
300
- } | undefined;
301
- tokenization?: {
302
- supply: number;
303
- contractAddress: string;
304
- tokenId: string;
305
- contractStandard: string;
306
- ercMetadataProperties?: Record<string, any> | undefined;
307
- } | undefined;
308
- }>;
116
+ }, z.core.$strip>>;
117
+ }, z.core.$strip>>;
118
+ }, z.core.$strip>;
309
119
  export declare const actionValidators: {
310
120
  readonly CREATE: z.ZodObject<{
311
121
  product: z.ZodObject<{
312
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
122
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
313
123
  sequence: z.ZodOptional<z.ZodNumber>;
314
- meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
124
+ meta: z.ZodOptional<z.ZodRecord<z.ZodAny, z.ZodAny>>;
315
125
  plan: z.ZodOptional<z.ZodObject<{
316
- usageCalculationType: z.ZodEnum<["LICENSED", "METERED"]>;
317
- billingInterval: z.ZodEnum<["HOURS", "DAYS", "WEEKS", "MONTHS", "YEARS"]>;
126
+ usageCalculationType: z.ZodEnum<{
127
+ LICENSED: "LICENSED";
128
+ METERED: "METERED";
129
+ }>;
130
+ billingInterval: z.ZodEnum<{
131
+ HOURS: "HOURS";
132
+ DAYS: "DAYS";
133
+ WEEKS: "WEEKS";
134
+ MONTHS: "MONTHS";
135
+ YEARS: "YEARS";
136
+ }>;
318
137
  billingIntervalCount: z.ZodNumber;
319
- trialInterval: z.ZodOptional<z.ZodEnum<["HOURS", "DAYS", "WEEKS", "MONTHS", "YEARS"]>>;
138
+ trialInterval: z.ZodOptional<z.ZodEnum<{
139
+ HOURS: "HOURS";
140
+ DAYS: "DAYS";
141
+ WEEKS: "WEEKS";
142
+ MONTHS: "MONTHS";
143
+ YEARS: "YEARS";
144
+ }>>;
320
145
  trialIntervalCount: z.ZodOptional<z.ZodNumber>;
321
- }, "strip", z.ZodTypeAny, {
322
- usageCalculationType: "LICENSED" | "METERED";
323
- billingInterval: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS";
324
- billingIntervalCount: number;
325
- trialInterval?: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS" | undefined;
326
- trialIntervalCount?: number | undefined;
327
- }, {
328
- usageCalculationType: "LICENSED" | "METERED";
329
- billingInterval: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS";
330
- billingIntervalCount: number;
331
- trialInterval?: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS" | undefined;
332
- trialIntervalCount?: number | undefined;
333
- }>>;
146
+ }, z.core.$strip>>;
334
147
  warehousing: z.ZodOptional<z.ZodObject<{
335
148
  sku: z.ZodOptional<z.ZodString>;
336
149
  baseUnit: z.ZodOptional<z.ZodString>;
337
- }, "strip", z.ZodTypeAny, {
338
- sku?: string | undefined;
339
- baseUnit?: string | undefined;
340
- }, {
341
- sku?: string | undefined;
342
- baseUnit?: string | undefined;
343
- }>>;
150
+ }, z.core.$strip>>;
344
151
  supply: z.ZodOptional<z.ZodObject<{
345
152
  weightInGram: z.ZodOptional<z.ZodNumber>;
346
153
  heightInMillimeters: z.ZodOptional<z.ZodNumber>;
347
154
  lengthInMillimeters: z.ZodOptional<z.ZodNumber>;
348
155
  widthInMillimeters: z.ZodOptional<z.ZodNumber>;
349
- }, "strip", z.ZodTypeAny, {
350
- weightInGram?: number | undefined;
351
- lengthInMillimeters?: number | undefined;
352
- widthInMillimeters?: number | undefined;
353
- heightInMillimeters?: number | undefined;
354
- }, {
355
- weightInGram?: number | undefined;
356
- lengthInMillimeters?: number | undefined;
357
- widthInMillimeters?: number | undefined;
358
- heightInMillimeters?: number | undefined;
359
- }>>;
156
+ }, z.core.$strip>>;
360
157
  tokenization: z.ZodOptional<z.ZodObject<{
361
158
  contractAddress: z.ZodString;
362
159
  contractStandard: z.ZodString;
363
160
  tokenId: z.ZodString;
364
161
  supply: z.ZodNumber;
365
- ercMetadataProperties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
366
- }, "strip", z.ZodTypeAny, {
367
- supply: number;
368
- contractAddress: string;
369
- tokenId: string;
370
- contractStandard: string;
371
- ercMetadataProperties?: Record<string, any> | undefined;
372
- }, {
373
- supply: number;
374
- contractAddress: string;
375
- tokenId: string;
376
- contractStandard: string;
377
- ercMetadataProperties?: Record<string, any> | undefined;
378
- }>>;
162
+ ercMetadataProperties: z.ZodOptional<z.ZodRecord<z.ZodAny, z.ZodAny>>;
163
+ }, z.core.$strip>>;
379
164
  commerce: z.ZodOptional<z.ZodObject<{
380
165
  pricing: z.ZodArray<z.ZodObject<{
381
166
  amount: z.ZodNumber;
@@ -384,366 +169,71 @@ export declare const actionValidators: {
384
169
  isNetPrice: z.ZodOptional<z.ZodBoolean>;
385
170
  currencyCode: z.ZodString;
386
171
  countryCode: z.ZodString;
387
- }, "strip", z.ZodTypeAny, {
388
- countryCode: string;
389
- currencyCode: string;
390
- amount: number;
391
- isNetPrice?: boolean | undefined;
392
- isTaxable?: boolean | undefined;
393
- maxQuantity?: number | undefined;
394
- }, {
395
- countryCode: string;
396
- currencyCode: string;
397
- amount: number;
398
- isNetPrice?: boolean | undefined;
399
- isTaxable?: boolean | undefined;
400
- maxQuantity?: number | undefined;
401
- }>, "atleastone">;
402
- }, "strip", z.ZodTypeAny, {
403
- pricing: [{
404
- countryCode: string;
405
- currencyCode: string;
406
- amount: number;
407
- isNetPrice?: boolean | undefined;
408
- isTaxable?: boolean | undefined;
409
- maxQuantity?: number | undefined;
410
- }, ...{
411
- countryCode: string;
412
- currencyCode: string;
413
- amount: number;
414
- isNetPrice?: boolean | undefined;
415
- isTaxable?: boolean | undefined;
416
- maxQuantity?: number | undefined;
417
- }[]];
418
- }, {
419
- pricing: [{
420
- countryCode: string;
421
- currencyCode: string;
422
- amount: number;
423
- isNetPrice?: boolean | undefined;
424
- isTaxable?: boolean | undefined;
425
- maxQuantity?: number | undefined;
426
- }, ...{
427
- countryCode: string;
428
- currencyCode: string;
429
- amount: number;
430
- isNetPrice?: boolean | undefined;
431
- isTaxable?: boolean | undefined;
432
- maxQuantity?: number | undefined;
433
- }[]];
434
- }>>;
435
- } & {
436
- type: z.ZodEnum<[string, ...string[]]>;
437
- }, "strip", z.ZodTypeAny, {
438
- type: string;
439
- meta?: Record<string, unknown> | undefined;
440
- sequence?: number | undefined;
441
- tags?: string[] | undefined;
442
- commerce?: {
443
- pricing: [{
444
- countryCode: string;
445
- currencyCode: string;
446
- amount: number;
447
- isNetPrice?: boolean | undefined;
448
- isTaxable?: boolean | undefined;
449
- maxQuantity?: number | undefined;
450
- }, ...{
451
- countryCode: string;
452
- currencyCode: string;
453
- amount: number;
454
- isNetPrice?: boolean | undefined;
455
- isTaxable?: boolean | undefined;
456
- maxQuantity?: number | undefined;
457
- }[]];
458
- } | undefined;
459
- plan?: {
460
- usageCalculationType: "LICENSED" | "METERED";
461
- billingInterval: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS";
462
- billingIntervalCount: number;
463
- trialInterval?: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS" | undefined;
464
- trialIntervalCount?: number | undefined;
465
- } | undefined;
466
- supply?: {
467
- weightInGram?: number | undefined;
468
- lengthInMillimeters?: number | undefined;
469
- widthInMillimeters?: number | undefined;
470
- heightInMillimeters?: number | undefined;
471
- } | undefined;
472
- warehousing?: {
473
- sku?: string | undefined;
474
- baseUnit?: string | undefined;
475
- } | undefined;
476
- tokenization?: {
477
- supply: number;
478
- contractAddress: string;
479
- tokenId: string;
480
- contractStandard: string;
481
- ercMetadataProperties?: Record<string, any> | undefined;
482
- } | undefined;
483
- }, {
484
- type: string;
485
- meta?: Record<string, unknown> | undefined;
486
- sequence?: number | undefined;
487
- tags?: string[] | undefined;
488
- commerce?: {
489
- pricing: [{
490
- countryCode: string;
491
- currencyCode: string;
492
- amount: number;
493
- isNetPrice?: boolean | undefined;
494
- isTaxable?: boolean | undefined;
495
- maxQuantity?: number | undefined;
496
- }, ...{
497
- countryCode: string;
498
- currencyCode: string;
499
- amount: number;
500
- isNetPrice?: boolean | undefined;
501
- isTaxable?: boolean | undefined;
502
- maxQuantity?: number | undefined;
503
- }[]];
504
- } | undefined;
505
- plan?: {
506
- usageCalculationType: "LICENSED" | "METERED";
507
- billingInterval: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS";
508
- billingIntervalCount: number;
509
- trialInterval?: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS" | undefined;
510
- trialIntervalCount?: number | undefined;
511
- } | undefined;
512
- supply?: {
513
- weightInGram?: number | undefined;
514
- lengthInMillimeters?: number | undefined;
515
- widthInMillimeters?: number | undefined;
516
- heightInMillimeters?: number | undefined;
517
- } | undefined;
518
- warehousing?: {
519
- sku?: string | undefined;
520
- baseUnit?: string | undefined;
521
- } | undefined;
522
- tokenization?: {
523
- supply: number;
524
- contractAddress: string;
525
- tokenId: string;
526
- contractStandard: string;
527
- ercMetadataProperties?: Record<string, any> | undefined;
528
- } | undefined;
529
- }>;
172
+ }, z.core.$strip>>;
173
+ }, z.core.$strip>>;
174
+ type: z.ZodEnum<{
175
+ [x: string]: string;
176
+ }>;
177
+ }, z.core.$strip>;
530
178
  texts: z.ZodOptional<z.ZodArray<z.ZodObject<{
531
179
  locale: z.ZodString;
532
180
  title: z.ZodString;
533
181
  subtitle: z.ZodOptional<z.ZodString>;
534
- } & {
535
182
  slug: z.ZodOptional<z.ZodString>;
536
183
  description: z.ZodOptional<z.ZodString>;
537
184
  vendor: z.ZodOptional<z.ZodString>;
538
185
  brand: z.ZodOptional<z.ZodString>;
539
- labels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
540
- }, "strip", z.ZodTypeAny, {
541
- locale: string;
542
- title: string;
543
- description?: string | undefined;
544
- subtitle?: string | undefined;
545
- slug?: string | undefined;
546
- brand?: string | undefined;
547
- vendor?: string | undefined;
548
- labels?: string[] | undefined;
549
- }, {
550
- locale: string;
551
- title: string;
552
- description?: string | undefined;
553
- subtitle?: string | undefined;
554
- slug?: string | undefined;
555
- brand?: string | undefined;
556
- vendor?: string | undefined;
557
- labels?: string[] | undefined;
558
- }>, "many">>;
559
- }, "strip", z.ZodTypeAny, {
560
- product: {
561
- type: string;
562
- meta?: Record<string, unknown> | undefined;
563
- sequence?: number | undefined;
564
- tags?: string[] | undefined;
565
- commerce?: {
566
- pricing: [{
567
- countryCode: string;
568
- currencyCode: string;
569
- amount: number;
570
- isNetPrice?: boolean | undefined;
571
- isTaxable?: boolean | undefined;
572
- maxQuantity?: number | undefined;
573
- }, ...{
574
- countryCode: string;
575
- currencyCode: string;
576
- amount: number;
577
- isNetPrice?: boolean | undefined;
578
- isTaxable?: boolean | undefined;
579
- maxQuantity?: number | undefined;
580
- }[]];
581
- } | undefined;
582
- plan?: {
583
- usageCalculationType: "LICENSED" | "METERED";
584
- billingInterval: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS";
585
- billingIntervalCount: number;
586
- trialInterval?: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS" | undefined;
587
- trialIntervalCount?: number | undefined;
588
- } | undefined;
589
- supply?: {
590
- weightInGram?: number | undefined;
591
- lengthInMillimeters?: number | undefined;
592
- widthInMillimeters?: number | undefined;
593
- heightInMillimeters?: number | undefined;
594
- } | undefined;
595
- warehousing?: {
596
- sku?: string | undefined;
597
- baseUnit?: string | undefined;
598
- } | undefined;
599
- tokenization?: {
600
- supply: number;
601
- contractAddress: string;
602
- tokenId: string;
603
- contractStandard: string;
604
- ercMetadataProperties?: Record<string, any> | undefined;
605
- } | undefined;
606
- };
607
- texts?: {
608
- locale: string;
609
- title: string;
610
- description?: string | undefined;
611
- subtitle?: string | undefined;
612
- slug?: string | undefined;
613
- brand?: string | undefined;
614
- vendor?: string | undefined;
615
- labels?: string[] | undefined;
616
- }[] | undefined;
617
- }, {
618
- product: {
619
- type: string;
620
- meta?: Record<string, unknown> | undefined;
621
- sequence?: number | undefined;
622
- tags?: string[] | undefined;
623
- commerce?: {
624
- pricing: [{
625
- countryCode: string;
626
- currencyCode: string;
627
- amount: number;
628
- isNetPrice?: boolean | undefined;
629
- isTaxable?: boolean | undefined;
630
- maxQuantity?: number | undefined;
631
- }, ...{
632
- countryCode: string;
633
- currencyCode: string;
634
- amount: number;
635
- isNetPrice?: boolean | undefined;
636
- isTaxable?: boolean | undefined;
637
- maxQuantity?: number | undefined;
638
- }[]];
639
- } | undefined;
640
- plan?: {
641
- usageCalculationType: "LICENSED" | "METERED";
642
- billingInterval: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS";
643
- billingIntervalCount: number;
644
- trialInterval?: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS" | undefined;
645
- trialIntervalCount?: number | undefined;
646
- } | undefined;
647
- supply?: {
648
- weightInGram?: number | undefined;
649
- lengthInMillimeters?: number | undefined;
650
- widthInMillimeters?: number | undefined;
651
- heightInMillimeters?: number | undefined;
652
- } | undefined;
653
- warehousing?: {
654
- sku?: string | undefined;
655
- baseUnit?: string | undefined;
656
- } | undefined;
657
- tokenization?: {
658
- supply: number;
659
- contractAddress: string;
660
- tokenId: string;
661
- contractStandard: string;
662
- ercMetadataProperties?: Record<string, any> | undefined;
663
- } | undefined;
664
- };
665
- texts?: {
666
- locale: string;
667
- title: string;
668
- description?: string | undefined;
669
- subtitle?: string | undefined;
670
- slug?: string | undefined;
671
- brand?: string | undefined;
672
- vendor?: string | undefined;
673
- labels?: string[] | undefined;
674
- }[] | undefined;
675
- }>;
186
+ labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
187
+ }, z.core.$strip>>>;
188
+ }, z.core.$strip>;
676
189
  readonly UPDATE: z.ZodObject<{
677
190
  productId: z.ZodString;
678
191
  product: z.ZodObject<{
679
- type: z.ZodOptional<z.ZodEnum<[string, ...string[]]>>;
680
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
192
+ type: z.ZodOptional<z.ZodEnum<{
193
+ [x: string]: string;
194
+ }>>;
195
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
681
196
  sequence: z.ZodOptional<z.ZodNumber>;
682
- meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
197
+ meta: z.ZodOptional<z.ZodRecord<z.ZodAny, z.ZodAny>>;
683
198
  plan: z.ZodOptional<z.ZodObject<{
684
- usageCalculationType: z.ZodEnum<["LICENSED", "METERED"]>;
685
- billingInterval: z.ZodEnum<["HOURS", "DAYS", "WEEKS", "MONTHS", "YEARS"]>;
199
+ usageCalculationType: z.ZodEnum<{
200
+ LICENSED: "LICENSED";
201
+ METERED: "METERED";
202
+ }>;
203
+ billingInterval: z.ZodEnum<{
204
+ HOURS: "HOURS";
205
+ DAYS: "DAYS";
206
+ WEEKS: "WEEKS";
207
+ MONTHS: "MONTHS";
208
+ YEARS: "YEARS";
209
+ }>;
686
210
  billingIntervalCount: z.ZodNumber;
687
- trialInterval: z.ZodOptional<z.ZodEnum<["HOURS", "DAYS", "WEEKS", "MONTHS", "YEARS"]>>;
211
+ trialInterval: z.ZodOptional<z.ZodEnum<{
212
+ HOURS: "HOURS";
213
+ DAYS: "DAYS";
214
+ WEEKS: "WEEKS";
215
+ MONTHS: "MONTHS";
216
+ YEARS: "YEARS";
217
+ }>>;
688
218
  trialIntervalCount: z.ZodOptional<z.ZodNumber>;
689
- }, "strip", z.ZodTypeAny, {
690
- usageCalculationType: "LICENSED" | "METERED";
691
- billingInterval: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS";
692
- billingIntervalCount: number;
693
- trialInterval?: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS" | undefined;
694
- trialIntervalCount?: number | undefined;
695
- }, {
696
- usageCalculationType: "LICENSED" | "METERED";
697
- billingInterval: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS";
698
- billingIntervalCount: number;
699
- trialInterval?: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS" | undefined;
700
- trialIntervalCount?: number | undefined;
701
- }>>;
219
+ }, z.core.$strip>>;
702
220
  warehousing: z.ZodOptional<z.ZodObject<{
703
221
  sku: z.ZodOptional<z.ZodString>;
704
222
  baseUnit: z.ZodOptional<z.ZodString>;
705
- }, "strip", z.ZodTypeAny, {
706
- sku?: string | undefined;
707
- baseUnit?: string | undefined;
708
- }, {
709
- sku?: string | undefined;
710
- baseUnit?: string | undefined;
711
- }>>;
223
+ }, z.core.$strip>>;
712
224
  supply: z.ZodOptional<z.ZodObject<{
713
225
  weightInGram: z.ZodOptional<z.ZodNumber>;
714
226
  heightInMillimeters: z.ZodOptional<z.ZodNumber>;
715
227
  lengthInMillimeters: z.ZodOptional<z.ZodNumber>;
716
228
  widthInMillimeters: z.ZodOptional<z.ZodNumber>;
717
- }, "strip", z.ZodTypeAny, {
718
- weightInGram?: number | undefined;
719
- lengthInMillimeters?: number | undefined;
720
- widthInMillimeters?: number | undefined;
721
- heightInMillimeters?: number | undefined;
722
- }, {
723
- weightInGram?: number | undefined;
724
- lengthInMillimeters?: number | undefined;
725
- widthInMillimeters?: number | undefined;
726
- heightInMillimeters?: number | undefined;
727
- }>>;
229
+ }, z.core.$strip>>;
728
230
  tokenization: z.ZodOptional<z.ZodObject<{
729
231
  contractAddress: z.ZodString;
730
232
  contractStandard: z.ZodString;
731
233
  tokenId: z.ZodString;
732
234
  supply: z.ZodNumber;
733
- ercMetadataProperties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
734
- }, "strip", z.ZodTypeAny, {
735
- supply: number;
736
- contractAddress: string;
737
- tokenId: string;
738
- contractStandard: string;
739
- ercMetadataProperties?: Record<string, any> | undefined;
740
- }, {
741
- supply: number;
742
- contractAddress: string;
743
- tokenId: string;
744
- contractStandard: string;
745
- ercMetadataProperties?: Record<string, any> | undefined;
746
- }>>;
235
+ ercMetadataProperties: z.ZodOptional<z.ZodRecord<z.ZodAny, z.ZodAny>>;
236
+ }, z.core.$strip>>;
747
237
  commerce: z.ZodOptional<z.ZodObject<{
748
238
  pricing: z.ZodArray<z.ZodObject<{
749
239
  amount: z.ZodNumber;
@@ -752,495 +242,92 @@ export declare const actionValidators: {
752
242
  isNetPrice: z.ZodOptional<z.ZodBoolean>;
753
243
  currencyCode: z.ZodString;
754
244
  countryCode: z.ZodString;
755
- }, "strip", z.ZodTypeAny, {
756
- countryCode: string;
757
- currencyCode: string;
758
- amount: number;
759
- isNetPrice?: boolean | undefined;
760
- isTaxable?: boolean | undefined;
761
- maxQuantity?: number | undefined;
762
- }, {
763
- countryCode: string;
764
- currencyCode: string;
765
- amount: number;
766
- isNetPrice?: boolean | undefined;
767
- isTaxable?: boolean | undefined;
768
- maxQuantity?: number | undefined;
769
- }>, "atleastone">;
770
- }, "strip", z.ZodTypeAny, {
771
- pricing: [{
772
- countryCode: string;
773
- currencyCode: string;
774
- amount: number;
775
- isNetPrice?: boolean | undefined;
776
- isTaxable?: boolean | undefined;
777
- maxQuantity?: number | undefined;
778
- }, ...{
779
- countryCode: string;
780
- currencyCode: string;
781
- amount: number;
782
- isNetPrice?: boolean | undefined;
783
- isTaxable?: boolean | undefined;
784
- maxQuantity?: number | undefined;
785
- }[]];
786
- }, {
787
- pricing: [{
788
- countryCode: string;
789
- currencyCode: string;
790
- amount: number;
791
- isNetPrice?: boolean | undefined;
792
- isTaxable?: boolean | undefined;
793
- maxQuantity?: number | undefined;
794
- }, ...{
795
- countryCode: string;
796
- currencyCode: string;
797
- amount: number;
798
- isNetPrice?: boolean | undefined;
799
- isTaxable?: boolean | undefined;
800
- maxQuantity?: number | undefined;
801
- }[]];
802
- }>>;
803
- }, "strip", z.ZodTypeAny, {
804
- meta?: Record<string, unknown> | undefined;
805
- sequence?: number | undefined;
806
- tags?: string[] | undefined;
807
- type?: string | undefined;
808
- commerce?: {
809
- pricing: [{
810
- countryCode: string;
811
- currencyCode: string;
812
- amount: number;
813
- isNetPrice?: boolean | undefined;
814
- isTaxable?: boolean | undefined;
815
- maxQuantity?: number | undefined;
816
- }, ...{
817
- countryCode: string;
818
- currencyCode: string;
819
- amount: number;
820
- isNetPrice?: boolean | undefined;
821
- isTaxable?: boolean | undefined;
822
- maxQuantity?: number | undefined;
823
- }[]];
824
- } | undefined;
825
- plan?: {
826
- usageCalculationType: "LICENSED" | "METERED";
827
- billingInterval: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS";
828
- billingIntervalCount: number;
829
- trialInterval?: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS" | undefined;
830
- trialIntervalCount?: number | undefined;
831
- } | undefined;
832
- supply?: {
833
- weightInGram?: number | undefined;
834
- lengthInMillimeters?: number | undefined;
835
- widthInMillimeters?: number | undefined;
836
- heightInMillimeters?: number | undefined;
837
- } | undefined;
838
- warehousing?: {
839
- sku?: string | undefined;
840
- baseUnit?: string | undefined;
841
- } | undefined;
842
- tokenization?: {
843
- supply: number;
844
- contractAddress: string;
845
- tokenId: string;
846
- contractStandard: string;
847
- ercMetadataProperties?: Record<string, any> | undefined;
848
- } | undefined;
849
- }, {
850
- meta?: Record<string, unknown> | undefined;
851
- sequence?: number | undefined;
852
- tags?: string[] | undefined;
853
- type?: string | undefined;
854
- commerce?: {
855
- pricing: [{
856
- countryCode: string;
857
- currencyCode: string;
858
- amount: number;
859
- isNetPrice?: boolean | undefined;
860
- isTaxable?: boolean | undefined;
861
- maxQuantity?: number | undefined;
862
- }, ...{
863
- countryCode: string;
864
- currencyCode: string;
865
- amount: number;
866
- isNetPrice?: boolean | undefined;
867
- isTaxable?: boolean | undefined;
868
- maxQuantity?: number | undefined;
869
- }[]];
870
- } | undefined;
871
- plan?: {
872
- usageCalculationType: "LICENSED" | "METERED";
873
- billingInterval: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS";
874
- billingIntervalCount: number;
875
- trialInterval?: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS" | undefined;
876
- trialIntervalCount?: number | undefined;
877
- } | undefined;
878
- supply?: {
879
- weightInGram?: number | undefined;
880
- lengthInMillimeters?: number | undefined;
881
- widthInMillimeters?: number | undefined;
882
- heightInMillimeters?: number | undefined;
883
- } | undefined;
884
- warehousing?: {
885
- sku?: string | undefined;
886
- baseUnit?: string | undefined;
887
- } | undefined;
888
- tokenization?: {
889
- supply: number;
890
- contractAddress: string;
891
- tokenId: string;
892
- contractStandard: string;
893
- ercMetadataProperties?: Record<string, any> | undefined;
894
- } | undefined;
895
- }>;
896
- }, "strip", z.ZodTypeAny, {
897
- productId: string;
898
- product: {
899
- meta?: Record<string, unknown> | undefined;
900
- sequence?: number | undefined;
901
- tags?: string[] | undefined;
902
- type?: string | undefined;
903
- commerce?: {
904
- pricing: [{
905
- countryCode: string;
906
- currencyCode: string;
907
- amount: number;
908
- isNetPrice?: boolean | undefined;
909
- isTaxable?: boolean | undefined;
910
- maxQuantity?: number | undefined;
911
- }, ...{
912
- countryCode: string;
913
- currencyCode: string;
914
- amount: number;
915
- isNetPrice?: boolean | undefined;
916
- isTaxable?: boolean | undefined;
917
- maxQuantity?: number | undefined;
918
- }[]];
919
- } | undefined;
920
- plan?: {
921
- usageCalculationType: "LICENSED" | "METERED";
922
- billingInterval: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS";
923
- billingIntervalCount: number;
924
- trialInterval?: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS" | undefined;
925
- trialIntervalCount?: number | undefined;
926
- } | undefined;
927
- supply?: {
928
- weightInGram?: number | undefined;
929
- lengthInMillimeters?: number | undefined;
930
- widthInMillimeters?: number | undefined;
931
- heightInMillimeters?: number | undefined;
932
- } | undefined;
933
- warehousing?: {
934
- sku?: string | undefined;
935
- baseUnit?: string | undefined;
936
- } | undefined;
937
- tokenization?: {
938
- supply: number;
939
- contractAddress: string;
940
- tokenId: string;
941
- contractStandard: string;
942
- ercMetadataProperties?: Record<string, any> | undefined;
943
- } | undefined;
944
- };
945
- }, {
946
- productId: string;
947
- product: {
948
- meta?: Record<string, unknown> | undefined;
949
- sequence?: number | undefined;
950
- tags?: string[] | undefined;
951
- type?: string | undefined;
952
- commerce?: {
953
- pricing: [{
954
- countryCode: string;
955
- currencyCode: string;
956
- amount: number;
957
- isNetPrice?: boolean | undefined;
958
- isTaxable?: boolean | undefined;
959
- maxQuantity?: number | undefined;
960
- }, ...{
961
- countryCode: string;
962
- currencyCode: string;
963
- amount: number;
964
- isNetPrice?: boolean | undefined;
965
- isTaxable?: boolean | undefined;
966
- maxQuantity?: number | undefined;
967
- }[]];
968
- } | undefined;
969
- plan?: {
970
- usageCalculationType: "LICENSED" | "METERED";
971
- billingInterval: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS";
972
- billingIntervalCount: number;
973
- trialInterval?: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS" | undefined;
974
- trialIntervalCount?: number | undefined;
975
- } | undefined;
976
- supply?: {
977
- weightInGram?: number | undefined;
978
- lengthInMillimeters?: number | undefined;
979
- widthInMillimeters?: number | undefined;
980
- heightInMillimeters?: number | undefined;
981
- } | undefined;
982
- warehousing?: {
983
- sku?: string | undefined;
984
- baseUnit?: string | undefined;
985
- } | undefined;
986
- tokenization?: {
987
- supply: number;
988
- contractAddress: string;
989
- tokenId: string;
990
- contractStandard: string;
991
- ercMetadataProperties?: Record<string, any> | undefined;
992
- } | undefined;
993
- };
994
- }>;
245
+ }, z.core.$strip>>;
246
+ }, z.core.$strip>>;
247
+ }, z.core.$strip>;
248
+ }, z.core.$strip>;
995
249
  readonly REMOVE: z.ZodObject<{
996
250
  productId: z.ZodString;
997
- }, "strip", z.ZodTypeAny, {
998
- productId: string;
999
- }, {
1000
- productId: string;
1001
- }>;
1002
- readonly GET: z.ZodEffects<z.ZodObject<{
251
+ }, z.core.$strip>;
252
+ readonly GET: z.ZodObject<{
1003
253
  productId: z.ZodOptional<z.ZodString>;
1004
254
  slug: z.ZodOptional<z.ZodString>;
1005
255
  sku: z.ZodOptional<z.ZodString>;
1006
- }, "strip", z.ZodTypeAny, {
1007
- productId?: string | undefined;
1008
- slug?: string | undefined;
1009
- sku?: string | undefined;
1010
- }, {
1011
- productId?: string | undefined;
1012
- slug?: string | undefined;
1013
- sku?: string | undefined;
1014
- }>, {
1015
- productId?: string | undefined;
1016
- slug?: string | undefined;
1017
- sku?: string | undefined;
1018
- }, {
1019
- productId?: string | undefined;
1020
- slug?: string | undefined;
1021
- sku?: string | undefined;
1022
- }>;
256
+ }, z.core.$strip>;
1023
257
  readonly LIST: z.ZodObject<{
1024
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1025
- slugs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
258
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
259
+ slugs: z.ZodOptional<z.ZodArray<z.ZodString>>;
1026
260
  includeDrafts: z.ZodOptional<z.ZodBoolean>;
1027
261
  queryString: z.ZodOptional<z.ZodString>;
1028
262
  includeInactive: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1029
263
  sort: z.ZodOptional<z.ZodArray<z.ZodObject<{
1030
264
  key: z.ZodString;
1031
- value: z.ZodEnum<[string, ...string[]]>;
1032
- }, "strip", z.ZodTypeAny, {
1033
- key: string;
1034
- value: string;
1035
- }, {
1036
- key: string;
1037
- value: string;
1038
- }>, "many">>;
265
+ value: z.ZodEnum<{
266
+ [x: string]: string;
267
+ }>;
268
+ }, z.core.$strip>>>;
1039
269
  limit: z.ZodOptional<z.ZodNumber>;
1040
270
  offset: z.ZodOptional<z.ZodNumber>;
1041
- }, "strip", z.ZodTypeAny, {
1042
- includeInactive: boolean;
1043
- slugs?: string[] | undefined;
1044
- tags?: string[] | undefined;
1045
- sort?: {
1046
- key: string;
1047
- value: string;
1048
- }[] | undefined;
1049
- includeDrafts?: boolean | undefined;
1050
- queryString?: string | undefined;
1051
- limit?: number | undefined;
1052
- offset?: number | undefined;
1053
- }, {
1054
- slugs?: string[] | undefined;
1055
- tags?: string[] | undefined;
1056
- sort?: {
1057
- key: string;
1058
- value: string;
1059
- }[] | undefined;
1060
- includeInactive?: boolean | undefined;
1061
- includeDrafts?: boolean | undefined;
1062
- queryString?: string | undefined;
1063
- limit?: number | undefined;
1064
- offset?: number | undefined;
1065
- }>;
271
+ }, z.core.$strip>;
1066
272
  readonly COUNT: z.ZodObject<{
1067
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1068
- slugs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
273
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
274
+ slugs: z.ZodOptional<z.ZodArray<z.ZodString>>;
1069
275
  includeDrafts: z.ZodOptional<z.ZodBoolean>;
1070
276
  queryString: z.ZodOptional<z.ZodString>;
1071
277
  includeInactive: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1072
- }, "strip", z.ZodTypeAny, {
1073
- includeInactive: boolean;
1074
- slugs?: string[] | undefined;
1075
- tags?: string[] | undefined;
1076
- includeDrafts?: boolean | undefined;
1077
- queryString?: string | undefined;
1078
- }, {
1079
- slugs?: string[] | undefined;
1080
- tags?: string[] | undefined;
1081
- includeInactive?: boolean | undefined;
1082
- includeDrafts?: boolean | undefined;
1083
- queryString?: string | undefined;
1084
- }>;
278
+ }, z.core.$strip>;
1085
279
  readonly UPDATE_STATUS: z.ZodObject<{
1086
280
  productId: z.ZodString;
1087
- statusAction: z.ZodEnum<["PUBLISH", "UNPUBLISH"]>;
1088
- }, "strip", z.ZodTypeAny, {
1089
- productId: string;
1090
- statusAction: "PUBLISH" | "UNPUBLISH";
1091
- }, {
1092
- productId: string;
1093
- statusAction: "PUBLISH" | "UNPUBLISH";
1094
- }>;
281
+ statusAction: z.ZodEnum<{
282
+ PUBLISH: "PUBLISH";
283
+ UNPUBLISH: "UNPUBLISH";
284
+ }>;
285
+ }, z.core.$strip>;
1095
286
  readonly ADD_MEDIA: z.ZodObject<{
1096
287
  productId: z.ZodString;
1097
288
  mediaName: z.ZodString;
1098
289
  url: z.ZodString;
1099
- }, "strip", z.ZodTypeAny, {
1100
- productId: string;
1101
- url: string;
1102
- mediaName: string;
1103
- }, {
1104
- productId: string;
1105
- url: string;
1106
- mediaName: string;
1107
- }>;
290
+ }, z.core.$strip>;
1108
291
  readonly REMOVE_MEDIA: z.ZodObject<{
1109
292
  productMediaId: z.ZodString;
1110
- }, "strip", z.ZodTypeAny, {
1111
- productMediaId: string;
1112
- }, {
1113
- productMediaId: string;
1114
- }>;
293
+ }, z.core.$strip>;
1115
294
  readonly REORDER_MEDIA: z.ZodObject<{
1116
295
  sortKeys: z.ZodArray<z.ZodObject<{
1117
296
  productMediaId: z.ZodString;
1118
297
  sortKey: z.ZodNumber;
1119
- }, "strip", z.ZodTypeAny, {
1120
- sortKey: number;
1121
- productMediaId: string;
1122
- }, {
1123
- sortKey: number;
1124
- productMediaId: string;
1125
- }>, "atleastone">;
1126
- }, "strip", z.ZodTypeAny, {
1127
- sortKeys: [{
1128
- sortKey: number;
1129
- productMediaId: string;
1130
- }, ...{
1131
- sortKey: number;
1132
- productMediaId: string;
1133
- }[]];
1134
- }, {
1135
- sortKeys: [{
1136
- sortKey: number;
1137
- productMediaId: string;
1138
- }, ...{
1139
- sortKey: number;
1140
- productMediaId: string;
1141
- }[]];
1142
- }>;
298
+ }, z.core.$strip>>;
299
+ }, z.core.$strip>;
1143
300
  readonly GET_MEDIA: z.ZodObject<{
1144
301
  limit: z.ZodOptional<z.ZodNumber>;
1145
302
  offset: z.ZodOptional<z.ZodNumber>;
1146
303
  productId: z.ZodString;
1147
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1148
- }, "strip", z.ZodTypeAny, {
1149
- productId: string;
1150
- tags?: string[] | undefined;
1151
- limit?: number | undefined;
1152
- offset?: number | undefined;
1153
- }, {
1154
- productId: string;
1155
- tags?: string[] | undefined;
1156
- limit?: number | undefined;
1157
- offset?: number | undefined;
1158
- }>;
304
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
305
+ }, z.core.$strip>;
1159
306
  readonly UPDATE_MEDIA_TEXTS: z.ZodObject<{
1160
307
  productMediaId: z.ZodString;
1161
308
  mediaTexts: z.ZodArray<z.ZodObject<{
1162
309
  locale: z.ZodString;
1163
310
  title: z.ZodString;
1164
311
  subtitle: z.ZodOptional<z.ZodString>;
1165
- }, "strip", z.ZodTypeAny, {
1166
- locale: string;
1167
- title: string;
1168
- subtitle?: string | undefined;
1169
- }, {
1170
- locale: string;
1171
- title: string;
1172
- subtitle?: string | undefined;
1173
- }>, "many">;
1174
- }, "strip", z.ZodTypeAny, {
1175
- productMediaId: string;
1176
- mediaTexts: {
1177
- locale: string;
1178
- title: string;
1179
- subtitle?: string | undefined;
1180
- }[];
1181
- }, {
1182
- productMediaId: string;
1183
- mediaTexts: {
1184
- locale: string;
1185
- title: string;
1186
- subtitle?: string | undefined;
1187
- }[];
1188
- }>;
312
+ }, z.core.$strip>>;
313
+ }, z.core.$strip>;
1189
314
  readonly CREATE_VARIATION: z.ZodObject<{
1190
315
  productId: z.ZodString;
1191
316
  variation: z.ZodObject<{
1192
317
  key: z.ZodString;
1193
- type: z.ZodEnum<[string, ...string[]]>;
1194
- }, "strip", z.ZodTypeAny, {
1195
- key: string;
1196
- type: string;
1197
- }, {
1198
- key: string;
1199
- type: string;
1200
- }>;
318
+ type: z.ZodEnum<{
319
+ [x: string]: string;
320
+ }>;
321
+ }, z.core.$strip>;
1201
322
  variationTexts: z.ZodOptional<z.ZodArray<z.ZodObject<{
1202
323
  locale: z.ZodString;
1203
324
  title: z.ZodString;
1204
325
  subtitle: z.ZodOptional<z.ZodString>;
1205
- }, "strip", z.ZodTypeAny, {
1206
- locale: string;
1207
- title: string;
1208
- subtitle?: string | undefined;
1209
- }, {
1210
- locale: string;
1211
- title: string;
1212
- subtitle?: string | undefined;
1213
- }>, "many">>;
1214
- }, "strip", z.ZodTypeAny, {
1215
- productId: string;
1216
- variation: {
1217
- key: string;
1218
- type: string;
1219
- };
1220
- variationTexts?: {
1221
- locale: string;
1222
- title: string;
1223
- subtitle?: string | undefined;
1224
- }[] | undefined;
1225
- }, {
1226
- productId: string;
1227
- variation: {
1228
- key: string;
1229
- type: string;
1230
- };
1231
- variationTexts?: {
1232
- locale: string;
1233
- title: string;
1234
- subtitle?: string | undefined;
1235
- }[] | undefined;
1236
- }>;
326
+ }, z.core.$strip>>>;
327
+ }, z.core.$strip>;
1237
328
  readonly REMOVE_VARIATION: z.ZodObject<{
1238
329
  productVariationId: z.ZodString;
1239
- }, "strip", z.ZodTypeAny, {
1240
- productVariationId: string;
1241
- }, {
1242
- productVariationId: string;
1243
- }>;
330
+ }, z.core.$strip>;
1244
331
  readonly ADD_VARIATION_OPTION: z.ZodObject<{
1245
332
  productVariationId: z.ZodString;
1246
333
  option: z.ZodString;
@@ -1248,514 +335,233 @@ export declare const actionValidators: {
1248
335
  locale: z.ZodString;
1249
336
  title: z.ZodString;
1250
337
  subtitle: z.ZodOptional<z.ZodString>;
1251
- }, "strip", z.ZodTypeAny, {
1252
- locale: string;
1253
- title: string;
1254
- subtitle?: string | undefined;
1255
- }, {
1256
- locale: string;
1257
- title: string;
1258
- subtitle?: string | undefined;
1259
- }>, "many">>;
1260
- }, "strip", z.ZodTypeAny, {
1261
- productVariationId: string;
1262
- option: string;
1263
- variationTexts?: {
1264
- locale: string;
1265
- title: string;
1266
- subtitle?: string | undefined;
1267
- }[] | undefined;
1268
- }, {
1269
- productVariationId: string;
1270
- option: string;
1271
- variationTexts?: {
1272
- locale: string;
1273
- title: string;
1274
- subtitle?: string | undefined;
1275
- }[] | undefined;
1276
- }>;
338
+ }, z.core.$strip>>>;
339
+ }, z.core.$strip>;
1277
340
  readonly REMOVE_VARIATION_OPTION: z.ZodObject<{
1278
341
  productVariationId: z.ZodString;
1279
342
  productVariationOptionValue: z.ZodString;
1280
- }, "strip", z.ZodTypeAny, {
1281
- productVariationId: string;
1282
- productVariationOptionValue: string;
1283
- }, {
1284
- productVariationId: string;
1285
- productVariationOptionValue: string;
1286
- }>;
343
+ }, z.core.$strip>;
1287
344
  readonly UPDATE_VARIATION_TEXTS: z.ZodObject<{
1288
345
  productVariationId: z.ZodString;
1289
346
  variationTexts: z.ZodArray<z.ZodObject<{
1290
347
  locale: z.ZodString;
1291
348
  title: z.ZodString;
1292
349
  subtitle: z.ZodOptional<z.ZodString>;
1293
- }, "strip", z.ZodTypeAny, {
1294
- locale: string;
1295
- title: string;
1296
- subtitle?: string | undefined;
1297
- }, {
1298
- locale: string;
1299
- title: string;
1300
- subtitle?: string | undefined;
1301
- }>, "many">;
350
+ }, z.core.$strip>>;
1302
351
  productVariationOptionValue: z.ZodOptional<z.ZodString>;
1303
- }, "strip", z.ZodTypeAny, {
1304
- productVariationId: string;
1305
- variationTexts: {
1306
- locale: string;
1307
- title: string;
1308
- subtitle?: string | undefined;
1309
- }[];
1310
- productVariationOptionValue?: string | undefined;
1311
- }, {
1312
- productVariationId: string;
1313
- variationTexts: {
1314
- locale: string;
1315
- title: string;
1316
- subtitle?: string | undefined;
1317
- }[];
1318
- productVariationOptionValue?: string | undefined;
1319
- }>;
352
+ }, z.core.$strip>;
1320
353
  readonly GET_VARIATION_PRODUCTS: z.ZodObject<{
1321
354
  productId: z.ZodString;
1322
355
  vectors: z.ZodArray<z.ZodObject<{
1323
356
  key: z.ZodString;
1324
357
  value: z.ZodString;
1325
- }, "strip", z.ZodTypeAny, {
1326
- key: string;
1327
- value: string;
1328
- }, {
1329
- key: string;
1330
- value: string;
1331
- }>, "many">;
358
+ }, z.core.$strip>>;
1332
359
  includeInactive: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1333
- }, "strip", z.ZodTypeAny, {
1334
- productId: string;
1335
- includeInactive: boolean;
1336
- vectors: {
1337
- key: string;
1338
- value: string;
1339
- }[];
1340
- }, {
1341
- productId: string;
1342
- vectors: {
1343
- key: string;
1344
- value: string;
1345
- }[];
1346
- includeInactive?: boolean | undefined;
1347
- }>;
360
+ }, z.core.$strip>;
1348
361
  readonly GET_ASSIGNMENTS: z.ZodObject<{
1349
362
  productId: z.ZodString;
1350
363
  includeInactive: z.ZodOptional<z.ZodBoolean>;
1351
- }, "strip", z.ZodTypeAny, {
1352
- productId: string;
1353
- includeInactive?: boolean | undefined;
1354
- }, {
1355
- productId: string;
1356
- includeInactive?: boolean | undefined;
1357
- }>;
364
+ }, z.core.$strip>;
1358
365
  readonly ADD_ASSIGNMENT: z.ZodObject<{
1359
366
  proxyId: z.ZodString;
1360
367
  assignProductId: z.ZodString;
1361
368
  vectors: z.ZodArray<z.ZodObject<{
1362
369
  key: z.ZodString;
1363
370
  value: z.ZodString;
1364
- }, "strip", z.ZodTypeAny, {
1365
- key: string;
1366
- value: string;
1367
- }, {
1368
- key: string;
1369
- value: string;
1370
- }>, "many">;
1371
- }, "strip", z.ZodTypeAny, {
1372
- proxyId: string;
1373
- vectors: {
1374
- key: string;
1375
- value: string;
1376
- }[];
1377
- assignProductId: string;
1378
- }, {
1379
- proxyId: string;
1380
- vectors: {
1381
- key: string;
1382
- value: string;
1383
- }[];
1384
- assignProductId: string;
1385
- }>;
371
+ }, z.core.$strip>>;
372
+ }, z.core.$strip>;
1386
373
  readonly REMOVE_ASSIGNMENT: z.ZodObject<{
1387
374
  proxyId: z.ZodString;
1388
375
  vectors: z.ZodArray<z.ZodObject<{
1389
376
  key: z.ZodString;
1390
377
  value: z.ZodString;
1391
- }, "strip", z.ZodTypeAny, {
1392
- key: string;
1393
- value: string;
1394
- }, {
1395
- key: string;
1396
- value: string;
1397
- }>, "many">;
1398
- }, "strip", z.ZodTypeAny, {
1399
- proxyId: string;
1400
- vectors: {
1401
- key: string;
1402
- value: string;
1403
- }[];
1404
- }, {
1405
- proxyId: string;
1406
- vectors: {
1407
- key: string;
1408
- value: string;
1409
- }[];
1410
- }>;
378
+ }, z.core.$strip>>;
379
+ }, z.core.$strip>;
1411
380
  readonly ADD_BUNDLE_ITEM: z.ZodObject<{
1412
381
  bundleId: z.ZodString;
1413
382
  bundleProductId: z.ZodString;
1414
383
  quantity: z.ZodDefault<z.ZodNumber>;
1415
- }, "strip", z.ZodTypeAny, {
1416
- quantity: number;
1417
- bundleId: string;
1418
- bundleProductId: string;
1419
- }, {
1420
- bundleId: string;
1421
- bundleProductId: string;
1422
- quantity?: number | undefined;
1423
- }>;
384
+ }, z.core.$strip>;
1424
385
  readonly REMOVE_BUNDLE_ITEM: z.ZodObject<{
1425
386
  bundleId: z.ZodString;
1426
387
  index: z.ZodNumber;
1427
- }, "strip", z.ZodTypeAny, {
1428
- index: number;
1429
- bundleId: string;
1430
- }, {
1431
- index: number;
1432
- bundleId: string;
1433
- }>;
388
+ }, z.core.$strip>;
1434
389
  readonly GET_BUNDLE_ITEMS: z.ZodObject<{
1435
390
  bundleId: z.ZodString;
1436
- }, "strip", z.ZodTypeAny, {
1437
- bundleId: string;
1438
- }, {
1439
- bundleId: string;
1440
- }>;
391
+ }, z.core.$strip>;
1441
392
  readonly GET_CATALOG_PRICE: z.ZodObject<{
1442
393
  productId: z.ZodString;
1443
394
  quantity: z.ZodOptional<z.ZodNumber>;
1444
395
  currencyCode: z.ZodOptional<z.ZodString>;
1445
- }, "strip", z.ZodTypeAny, {
1446
- productId: string;
1447
- quantity?: number | undefined;
1448
- currencyCode?: string | undefined;
1449
- }, {
1450
- productId: string;
1451
- quantity?: number | undefined;
1452
- currencyCode?: string | undefined;
1453
- }>;
396
+ }, z.core.$strip>;
1454
397
  readonly SIMULATE_PRICE: z.ZodObject<{
1455
398
  productId: z.ZodString;
1456
399
  vectors: z.ZodOptional<z.ZodArray<z.ZodObject<{
1457
400
  key: z.ZodString;
1458
401
  value: z.ZodString;
1459
- }, "strip", z.ZodTypeAny, {
1460
- key: string;
1461
- value: string;
1462
- }, {
1463
- key: string;
1464
- value: string;
1465
- }>, "many">>;
402
+ }, z.core.$strip>>>;
1466
403
  quantity: z.ZodOptional<z.ZodNumber>;
1467
404
  currencyCode: z.ZodOptional<z.ZodString>;
1468
405
  useNetPrice: z.ZodOptional<z.ZodBoolean>;
1469
- }, "strip", z.ZodTypeAny, {
1470
- productId: string;
1471
- quantity?: number | undefined;
1472
- currencyCode?: string | undefined;
1473
- vectors?: {
1474
- key: string;
1475
- value: string;
1476
- }[] | undefined;
1477
- useNetPrice?: boolean | undefined;
1478
- }, {
1479
- productId: string;
1480
- quantity?: number | undefined;
1481
- currencyCode?: string | undefined;
1482
- vectors?: {
1483
- key: string;
1484
- value: string;
1485
- }[] | undefined;
1486
- useNetPrice?: boolean | undefined;
1487
- }>;
406
+ }, z.core.$strip>;
1488
407
  readonly SIMULATE_PRICE_RANGE: z.ZodObject<{
1489
408
  productId: z.ZodString;
1490
409
  vectors: z.ZodOptional<z.ZodArray<z.ZodObject<{
1491
410
  key: z.ZodString;
1492
411
  value: z.ZodString;
1493
- }, "strip", z.ZodTypeAny, {
1494
- key: string;
1495
- value: string;
1496
- }, {
1497
- key: string;
1498
- value: string;
1499
- }>, "many">>;
412
+ }, z.core.$strip>>>;
1500
413
  quantity: z.ZodOptional<z.ZodNumber>;
1501
414
  currencyCode: z.ZodOptional<z.ZodString>;
1502
415
  useNetPrice: z.ZodOptional<z.ZodBoolean>;
1503
- }, "strip", z.ZodTypeAny, {
1504
- productId: string;
1505
- quantity?: number | undefined;
1506
- currencyCode?: string | undefined;
1507
- vectors?: {
1508
- key: string;
1509
- value: string;
1510
- }[] | undefined;
1511
- useNetPrice?: boolean | undefined;
1512
- }, {
1513
- productId: string;
1514
- quantity?: number | undefined;
1515
- currencyCode?: string | undefined;
1516
- vectors?: {
1517
- key: string;
1518
- value: string;
1519
- }[] | undefined;
1520
- useNetPrice?: boolean | undefined;
1521
- }>;
416
+ }, z.core.$strip>;
1522
417
  readonly GET_PRODUCT_TEXTS: z.ZodObject<{
1523
418
  productId: z.ZodString;
1524
- }, "strip", z.ZodTypeAny, {
1525
- productId: string;
1526
- }, {
1527
- productId: string;
1528
- }>;
419
+ }, z.core.$strip>;
1529
420
  readonly GET_VARIATION_TEXTS: z.ZodObject<{
1530
421
  productVariationId: z.ZodString;
1531
422
  productVariationOptionValue: z.ZodOptional<z.ZodString>;
1532
- }, "strip", z.ZodTypeAny, {
1533
- productVariationId: string;
1534
- productVariationOptionValue?: string | undefined;
1535
- }, {
1536
- productVariationId: string;
1537
- productVariationOptionValue?: string | undefined;
1538
- }>;
423
+ }, z.core.$strip>;
1539
424
  readonly GET_MEDIA_TEXTS: z.ZodObject<{
1540
425
  productMediaId: z.ZodString;
1541
- }, "strip", z.ZodTypeAny, {
1542
- productMediaId: string;
1543
- }, {
1544
- productMediaId: string;
1545
- }>;
426
+ }, z.core.$strip>;
1546
427
  readonly GET_REVIEWS: z.ZodObject<{
1547
428
  queryString: z.ZodOptional<z.ZodString>;
1548
429
  includeInactive: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1549
430
  sort: z.ZodOptional<z.ZodArray<z.ZodObject<{
1550
431
  key: z.ZodString;
1551
- value: z.ZodEnum<[string, ...string[]]>;
1552
- }, "strip", z.ZodTypeAny, {
1553
- key: string;
1554
- value: string;
1555
- }, {
1556
- key: string;
1557
- value: string;
1558
- }>, "many">>;
432
+ value: z.ZodEnum<{
433
+ [x: string]: string;
434
+ }>;
435
+ }, z.core.$strip>>>;
1559
436
  limit: z.ZodOptional<z.ZodNumber>;
1560
437
  offset: z.ZodOptional<z.ZodNumber>;
1561
438
  productId: z.ZodString;
1562
- }, "strip", z.ZodTypeAny, {
1563
- productId: string;
1564
- includeInactive: boolean;
1565
- sort?: {
1566
- key: string;
1567
- value: string;
1568
- }[] | undefined;
1569
- queryString?: string | undefined;
1570
- limit?: number | undefined;
1571
- offset?: number | undefined;
1572
- }, {
1573
- productId: string;
1574
- sort?: {
1575
- key: string;
1576
- value: string;
1577
- }[] | undefined;
1578
- includeInactive?: boolean | undefined;
1579
- queryString?: string | undefined;
1580
- limit?: number | undefined;
1581
- offset?: number | undefined;
1582
- }>;
439
+ }, z.core.$strip>;
1583
440
  readonly COUNT_REVIEWS: z.ZodObject<{
1584
441
  queryString: z.ZodOptional<z.ZodString>;
1585
442
  includeInactive: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1586
443
  productId: z.ZodString;
1587
- }, "strip", z.ZodTypeAny, {
1588
- productId: string;
1589
- includeInactive: boolean;
1590
- queryString?: string | undefined;
1591
- }, {
1592
- productId: string;
1593
- includeInactive?: boolean | undefined;
1594
- queryString?: string | undefined;
1595
- }>;
444
+ }, z.core.$strip>;
1596
445
  readonly GET_SIBLINGS: z.ZodObject<{
1597
446
  productId: z.ZodString;
1598
447
  assortmentId: z.ZodOptional<z.ZodString>;
1599
448
  includeInactive: z.ZodOptional<z.ZodBoolean>;
1600
- }, "strip", z.ZodTypeAny, {
1601
- productId: string;
1602
- assortmentId?: string | undefined;
1603
- includeInactive?: boolean | undefined;
1604
- }, {
1605
- productId: string;
1606
- assortmentId?: string | undefined;
1607
- includeInactive?: boolean | undefined;
1608
- }>;
449
+ }, z.core.$strip>;
1609
450
  readonly UPDATE_PRODUCT_TEXTS: z.ZodObject<{
1610
451
  productId: z.ZodString;
1611
452
  texts: z.ZodArray<z.ZodObject<{
1612
453
  locale: z.ZodString;
1613
454
  title: z.ZodString;
1614
455
  subtitle: z.ZodOptional<z.ZodString>;
1615
- } & {
1616
456
  slug: z.ZodOptional<z.ZodString>;
1617
457
  description: z.ZodOptional<z.ZodString>;
1618
458
  vendor: z.ZodOptional<z.ZodString>;
1619
459
  brand: z.ZodOptional<z.ZodString>;
1620
- labels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1621
- }, "strip", z.ZodTypeAny, {
1622
- locale: string;
1623
- title: string;
1624
- description?: string | undefined;
1625
- subtitle?: string | undefined;
1626
- slug?: string | undefined;
1627
- brand?: string | undefined;
1628
- vendor?: string | undefined;
1629
- labels?: string[] | undefined;
1630
- }, {
1631
- locale: string;
1632
- title: string;
1633
- description?: string | undefined;
1634
- subtitle?: string | undefined;
1635
- slug?: string | undefined;
1636
- brand?: string | undefined;
1637
- vendor?: string | undefined;
1638
- labels?: string[] | undefined;
1639
- }>, "many">;
1640
- }, "strip", z.ZodTypeAny, {
1641
- productId: string;
1642
- texts: {
1643
- locale: string;
1644
- title: string;
1645
- description?: string | undefined;
1646
- subtitle?: string | undefined;
1647
- slug?: string | undefined;
1648
- brand?: string | undefined;
1649
- vendor?: string | undefined;
1650
- labels?: string[] | undefined;
1651
- }[];
1652
- }, {
1653
- productId: string;
1654
- texts: {
1655
- locale: string;
1656
- title: string;
1657
- description?: string | undefined;
1658
- subtitle?: string | undefined;
1659
- slug?: string | undefined;
1660
- brand?: string | undefined;
1661
- vendor?: string | undefined;
1662
- labels?: string[] | undefined;
1663
- }[];
1664
- }>;
460
+ labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
461
+ }, z.core.$strip>>;
462
+ }, z.core.$strip>;
1665
463
  };
1666
464
  export declare const ProductManagementSchema: {
1667
465
  includeDrafts: z.ZodOptional<z.ZodBoolean>;
1668
- productIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
466
+ productIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
1669
467
  assortmentId: z.ZodOptional<z.ZodString>;
1670
468
  queryString: z.ZodOptional<z.ZodString>;
1671
469
  includeInactive: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1672
470
  sort: z.ZodOptional<z.ZodArray<z.ZodObject<{
1673
471
  key: z.ZodString;
1674
- value: z.ZodEnum<[string, ...string[]]>;
1675
- }, "strip", z.ZodTypeAny, {
1676
- key: string;
1677
- value: string;
1678
- }, {
1679
- key: string;
1680
- value: string;
1681
- }>, "many">>;
472
+ value: z.ZodEnum<{
473
+ [x: string]: string;
474
+ }>;
475
+ }, z.core.$strip>>>;
1682
476
  limit: z.ZodOptional<z.ZodNumber>;
1683
477
  offset: z.ZodOptional<z.ZodNumber>;
1684
- action: z.ZodEnum<["CREATE", "UPDATE", "REMOVE", "GET", "LIST", "COUNT", "UPDATE_STATUS", "ADD_MEDIA", "REMOVE_MEDIA", "REORDER_MEDIA", "GET_MEDIA", "UPDATE_MEDIA_TEXTS", "CREATE_VARIATION", "REMOVE_VARIATION", "ADD_VARIATION_OPTION", "REMOVE_VARIATION_OPTION", "ADD_ASSIGNMENT", "REMOVE_ASSIGNMENT", "GET_ASSIGNMENTS", "GET_VARIATION_PRODUCTS", "UPDATE_VARIATION_TEXTS", "ADD_BUNDLE_ITEM", "REMOVE_BUNDLE_ITEM", "GET_BUNDLE_ITEMS", "SIMULATE_PRICE", "SIMULATE_PRICE_RANGE", "GET_CATALOG_PRICE", "GET_PRODUCT_TEXTS", "GET_MEDIA_TEXTS", "GET_VARIATION_TEXTS", "GET_REVIEWS", "COUNT_REVIEWS", "GET_SIBLINGS", "UPDATE_PRODUCT_TEXTS"]>;
478
+ action: z.ZodEnum<{
479
+ GET: "GET";
480
+ CREATE: "CREATE";
481
+ UPDATE: "UPDATE";
482
+ REMOVE: "REMOVE";
483
+ LIST: "LIST";
484
+ COUNT: "COUNT";
485
+ UPDATE_STATUS: "UPDATE_STATUS";
486
+ ADD_MEDIA: "ADD_MEDIA";
487
+ REMOVE_MEDIA: "REMOVE_MEDIA";
488
+ REORDER_MEDIA: "REORDER_MEDIA";
489
+ GET_MEDIA: "GET_MEDIA";
490
+ UPDATE_MEDIA_TEXTS: "UPDATE_MEDIA_TEXTS";
491
+ CREATE_VARIATION: "CREATE_VARIATION";
492
+ REMOVE_VARIATION: "REMOVE_VARIATION";
493
+ ADD_VARIATION_OPTION: "ADD_VARIATION_OPTION";
494
+ REMOVE_VARIATION_OPTION: "REMOVE_VARIATION_OPTION";
495
+ ADD_ASSIGNMENT: "ADD_ASSIGNMENT";
496
+ REMOVE_ASSIGNMENT: "REMOVE_ASSIGNMENT";
497
+ GET_ASSIGNMENTS: "GET_ASSIGNMENTS";
498
+ GET_VARIATION_PRODUCTS: "GET_VARIATION_PRODUCTS";
499
+ UPDATE_VARIATION_TEXTS: "UPDATE_VARIATION_TEXTS";
500
+ ADD_BUNDLE_ITEM: "ADD_BUNDLE_ITEM";
501
+ REMOVE_BUNDLE_ITEM: "REMOVE_BUNDLE_ITEM";
502
+ GET_BUNDLE_ITEMS: "GET_BUNDLE_ITEMS";
503
+ SIMULATE_PRICE: "SIMULATE_PRICE";
504
+ SIMULATE_PRICE_RANGE: "SIMULATE_PRICE_RANGE";
505
+ GET_CATALOG_PRICE: "GET_CATALOG_PRICE";
506
+ GET_PRODUCT_TEXTS: "GET_PRODUCT_TEXTS";
507
+ GET_MEDIA_TEXTS: "GET_MEDIA_TEXTS";
508
+ GET_VARIATION_TEXTS: "GET_VARIATION_TEXTS";
509
+ GET_REVIEWS: "GET_REVIEWS";
510
+ COUNT_REVIEWS: "COUNT_REVIEWS";
511
+ GET_SIBLINGS: "GET_SIBLINGS";
512
+ UPDATE_PRODUCT_TEXTS: "UPDATE_PRODUCT_TEXTS";
513
+ }>;
1685
514
  productId: z.ZodOptional<z.ZodString>;
1686
515
  slug: z.ZodOptional<z.ZodString>;
1687
516
  sku: z.ZodOptional<z.ZodString>;
1688
517
  productMediaId: z.ZodOptional<z.ZodString>;
1689
518
  productVariationId: z.ZodOptional<z.ZodString>;
1690
519
  product: z.ZodOptional<z.ZodObject<{
1691
- type: z.ZodOptional<z.ZodEnum<[string, ...string[]]>>;
1692
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
520
+ type: z.ZodOptional<z.ZodEnum<{
521
+ [x: string]: string;
522
+ }>>;
523
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
1693
524
  sequence: z.ZodOptional<z.ZodNumber>;
1694
- meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
525
+ meta: z.ZodOptional<z.ZodRecord<z.ZodAny, z.ZodAny>>;
1695
526
  plan: z.ZodOptional<z.ZodObject<{
1696
- usageCalculationType: z.ZodEnum<["LICENSED", "METERED"]>;
1697
- billingInterval: z.ZodEnum<["HOURS", "DAYS", "WEEKS", "MONTHS", "YEARS"]>;
527
+ usageCalculationType: z.ZodEnum<{
528
+ LICENSED: "LICENSED";
529
+ METERED: "METERED";
530
+ }>;
531
+ billingInterval: z.ZodEnum<{
532
+ HOURS: "HOURS";
533
+ DAYS: "DAYS";
534
+ WEEKS: "WEEKS";
535
+ MONTHS: "MONTHS";
536
+ YEARS: "YEARS";
537
+ }>;
1698
538
  billingIntervalCount: z.ZodNumber;
1699
- trialInterval: z.ZodOptional<z.ZodEnum<["HOURS", "DAYS", "WEEKS", "MONTHS", "YEARS"]>>;
539
+ trialInterval: z.ZodOptional<z.ZodEnum<{
540
+ HOURS: "HOURS";
541
+ DAYS: "DAYS";
542
+ WEEKS: "WEEKS";
543
+ MONTHS: "MONTHS";
544
+ YEARS: "YEARS";
545
+ }>>;
1700
546
  trialIntervalCount: z.ZodOptional<z.ZodNumber>;
1701
- }, "strip", z.ZodTypeAny, {
1702
- usageCalculationType: "LICENSED" | "METERED";
1703
- billingInterval: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS";
1704
- billingIntervalCount: number;
1705
- trialInterval?: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS" | undefined;
1706
- trialIntervalCount?: number | undefined;
1707
- }, {
1708
- usageCalculationType: "LICENSED" | "METERED";
1709
- billingInterval: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS";
1710
- billingIntervalCount: number;
1711
- trialInterval?: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS" | undefined;
1712
- trialIntervalCount?: number | undefined;
1713
- }>>;
547
+ }, z.core.$strip>>;
1714
548
  warehousing: z.ZodOptional<z.ZodObject<{
1715
549
  sku: z.ZodOptional<z.ZodString>;
1716
550
  baseUnit: z.ZodOptional<z.ZodString>;
1717
- }, "strip", z.ZodTypeAny, {
1718
- sku?: string | undefined;
1719
- baseUnit?: string | undefined;
1720
- }, {
1721
- sku?: string | undefined;
1722
- baseUnit?: string | undefined;
1723
- }>>;
551
+ }, z.core.$strip>>;
1724
552
  supply: z.ZodOptional<z.ZodObject<{
1725
553
  weightInGram: z.ZodOptional<z.ZodNumber>;
1726
554
  heightInMillimeters: z.ZodOptional<z.ZodNumber>;
1727
555
  lengthInMillimeters: z.ZodOptional<z.ZodNumber>;
1728
556
  widthInMillimeters: z.ZodOptional<z.ZodNumber>;
1729
- }, "strip", z.ZodTypeAny, {
1730
- weightInGram?: number | undefined;
1731
- lengthInMillimeters?: number | undefined;
1732
- widthInMillimeters?: number | undefined;
1733
- heightInMillimeters?: number | undefined;
1734
- }, {
1735
- weightInGram?: number | undefined;
1736
- lengthInMillimeters?: number | undefined;
1737
- widthInMillimeters?: number | undefined;
1738
- heightInMillimeters?: number | undefined;
1739
- }>>;
557
+ }, z.core.$strip>>;
1740
558
  tokenization: z.ZodOptional<z.ZodObject<{
1741
559
  contractAddress: z.ZodString;
1742
560
  contractStandard: z.ZodString;
1743
561
  tokenId: z.ZodString;
1744
562
  supply: z.ZodNumber;
1745
- ercMetadataProperties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1746
- }, "strip", z.ZodTypeAny, {
1747
- supply: number;
1748
- contractAddress: string;
1749
- tokenId: string;
1750
- contractStandard: string;
1751
- ercMetadataProperties?: Record<string, any> | undefined;
1752
- }, {
1753
- supply: number;
1754
- contractAddress: string;
1755
- tokenId: string;
1756
- contractStandard: string;
1757
- ercMetadataProperties?: Record<string, any> | undefined;
1758
- }>>;
563
+ ercMetadataProperties: z.ZodOptional<z.ZodRecord<z.ZodAny, z.ZodAny>>;
564
+ }, z.core.$strip>>;
1759
565
  commerce: z.ZodOptional<z.ZodObject<{
1760
566
  pricing: z.ZodArray<z.ZodObject<{
1761
567
  amount: z.ZodNumber;
@@ -1764,240 +570,54 @@ export declare const ProductManagementSchema: {
1764
570
  isNetPrice: z.ZodOptional<z.ZodBoolean>;
1765
571
  currencyCode: z.ZodString;
1766
572
  countryCode: z.ZodString;
1767
- }, "strip", z.ZodTypeAny, {
1768
- countryCode: string;
1769
- currencyCode: string;
1770
- amount: number;
1771
- isNetPrice?: boolean | undefined;
1772
- isTaxable?: boolean | undefined;
1773
- maxQuantity?: number | undefined;
1774
- }, {
1775
- countryCode: string;
1776
- currencyCode: string;
1777
- amount: number;
1778
- isNetPrice?: boolean | undefined;
1779
- isTaxable?: boolean | undefined;
1780
- maxQuantity?: number | undefined;
1781
- }>, "atleastone">;
1782
- }, "strip", z.ZodTypeAny, {
1783
- pricing: [{
1784
- countryCode: string;
1785
- currencyCode: string;
1786
- amount: number;
1787
- isNetPrice?: boolean | undefined;
1788
- isTaxable?: boolean | undefined;
1789
- maxQuantity?: number | undefined;
1790
- }, ...{
1791
- countryCode: string;
1792
- currencyCode: string;
1793
- amount: number;
1794
- isNetPrice?: boolean | undefined;
1795
- isTaxable?: boolean | undefined;
1796
- maxQuantity?: number | undefined;
1797
- }[]];
1798
- }, {
1799
- pricing: [{
1800
- countryCode: string;
1801
- currencyCode: string;
1802
- amount: number;
1803
- isNetPrice?: boolean | undefined;
1804
- isTaxable?: boolean | undefined;
1805
- maxQuantity?: number | undefined;
1806
- }, ...{
1807
- countryCode: string;
1808
- currencyCode: string;
1809
- amount: number;
1810
- isNetPrice?: boolean | undefined;
1811
- isTaxable?: boolean | undefined;
1812
- maxQuantity?: number | undefined;
1813
- }[]];
1814
- }>>;
1815
- }, "strip", z.ZodTypeAny, {
1816
- meta?: Record<string, unknown> | undefined;
1817
- sequence?: number | undefined;
1818
- tags?: string[] | undefined;
1819
- type?: string | undefined;
1820
- commerce?: {
1821
- pricing: [{
1822
- countryCode: string;
1823
- currencyCode: string;
1824
- amount: number;
1825
- isNetPrice?: boolean | undefined;
1826
- isTaxable?: boolean | undefined;
1827
- maxQuantity?: number | undefined;
1828
- }, ...{
1829
- countryCode: string;
1830
- currencyCode: string;
1831
- amount: number;
1832
- isNetPrice?: boolean | undefined;
1833
- isTaxable?: boolean | undefined;
1834
- maxQuantity?: number | undefined;
1835
- }[]];
1836
- } | undefined;
1837
- plan?: {
1838
- usageCalculationType: "LICENSED" | "METERED";
1839
- billingInterval: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS";
1840
- billingIntervalCount: number;
1841
- trialInterval?: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS" | undefined;
1842
- trialIntervalCount?: number | undefined;
1843
- } | undefined;
1844
- supply?: {
1845
- weightInGram?: number | undefined;
1846
- lengthInMillimeters?: number | undefined;
1847
- widthInMillimeters?: number | undefined;
1848
- heightInMillimeters?: number | undefined;
1849
- } | undefined;
1850
- warehousing?: {
1851
- sku?: string | undefined;
1852
- baseUnit?: string | undefined;
1853
- } | undefined;
1854
- tokenization?: {
1855
- supply: number;
1856
- contractAddress: string;
1857
- tokenId: string;
1858
- contractStandard: string;
1859
- ercMetadataProperties?: Record<string, any> | undefined;
1860
- } | undefined;
1861
- }, {
1862
- meta?: Record<string, unknown> | undefined;
1863
- sequence?: number | undefined;
1864
- tags?: string[] | undefined;
1865
- type?: string | undefined;
1866
- commerce?: {
1867
- pricing: [{
1868
- countryCode: string;
1869
- currencyCode: string;
1870
- amount: number;
1871
- isNetPrice?: boolean | undefined;
1872
- isTaxable?: boolean | undefined;
1873
- maxQuantity?: number | undefined;
1874
- }, ...{
1875
- countryCode: string;
1876
- currencyCode: string;
1877
- amount: number;
1878
- isNetPrice?: boolean | undefined;
1879
- isTaxable?: boolean | undefined;
1880
- maxQuantity?: number | undefined;
1881
- }[]];
1882
- } | undefined;
1883
- plan?: {
1884
- usageCalculationType: "LICENSED" | "METERED";
1885
- billingInterval: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS";
1886
- billingIntervalCount: number;
1887
- trialInterval?: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS" | undefined;
1888
- trialIntervalCount?: number | undefined;
1889
- } | undefined;
1890
- supply?: {
1891
- weightInGram?: number | undefined;
1892
- lengthInMillimeters?: number | undefined;
1893
- widthInMillimeters?: number | undefined;
1894
- heightInMillimeters?: number | undefined;
1895
- } | undefined;
1896
- warehousing?: {
1897
- sku?: string | undefined;
1898
- baseUnit?: string | undefined;
1899
- } | undefined;
1900
- tokenization?: {
1901
- supply: number;
1902
- contractAddress: string;
1903
- tokenId: string;
1904
- contractStandard: string;
1905
- ercMetadataProperties?: Record<string, any> | undefined;
1906
- } | undefined;
1907
- }>>;
573
+ }, z.core.$strip>>;
574
+ }, z.core.$strip>>;
575
+ }, z.core.$strip>>;
1908
576
  texts: z.ZodOptional<z.ZodArray<z.ZodObject<{
1909
577
  locale: z.ZodString;
1910
578
  title: z.ZodString;
1911
579
  subtitle: z.ZodOptional<z.ZodString>;
1912
- } & {
1913
580
  slug: z.ZodOptional<z.ZodString>;
1914
581
  description: z.ZodOptional<z.ZodString>;
1915
582
  vendor: z.ZodOptional<z.ZodString>;
1916
583
  brand: z.ZodOptional<z.ZodString>;
1917
- labels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1918
- }, "strip", z.ZodTypeAny, {
1919
- locale: string;
1920
- title: string;
1921
- description?: string | undefined;
1922
- subtitle?: string | undefined;
1923
- slug?: string | undefined;
1924
- brand?: string | undefined;
1925
- vendor?: string | undefined;
1926
- labels?: string[] | undefined;
1927
- }, {
1928
- locale: string;
1929
- title: string;
1930
- description?: string | undefined;
1931
- subtitle?: string | undefined;
1932
- slug?: string | undefined;
1933
- brand?: string | undefined;
1934
- vendor?: string | undefined;
1935
- labels?: string[] | undefined;
1936
- }>, "many">>;
1937
- statusAction: z.ZodOptional<z.ZodEnum<["PUBLISH", "UNPUBLISH"]>>;
584
+ labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
585
+ }, z.core.$strip>>>;
586
+ statusAction: z.ZodOptional<z.ZodEnum<{
587
+ PUBLISH: "PUBLISH";
588
+ UNPUBLISH: "UNPUBLISH";
589
+ }>>;
1938
590
  mediaName: z.ZodOptional<z.ZodString>;
1939
591
  url: z.ZodOptional<z.ZodString>;
1940
592
  sortKeys: z.ZodOptional<z.ZodArray<z.ZodObject<{
1941
593
  productMediaId: z.ZodString;
1942
594
  sortKey: z.ZodNumber;
1943
- }, "strip", z.ZodTypeAny, {
1944
- sortKey: number;
1945
- productMediaId: string;
1946
- }, {
1947
- sortKey: number;
1948
- productMediaId: string;
1949
- }>, "many">>;
595
+ }, z.core.$strip>>>;
1950
596
  mediaTexts: z.ZodOptional<z.ZodArray<z.ZodObject<{
1951
597
  locale: z.ZodString;
1952
598
  title: z.ZodString;
1953
599
  subtitle: z.ZodOptional<z.ZodString>;
1954
- }, "strip", z.ZodTypeAny, {
1955
- locale: string;
1956
- title: string;
1957
- subtitle?: string | undefined;
1958
- }, {
1959
- locale: string;
1960
- title: string;
1961
- subtitle?: string | undefined;
1962
- }>, "many">>;
1963
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
600
+ }, z.core.$strip>>>;
601
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
1964
602
  variation: z.ZodOptional<z.ZodObject<{
1965
603
  key: z.ZodString;
1966
- type: z.ZodEnum<[string, ...string[]]>;
1967
- }, "strip", z.ZodTypeAny, {
1968
- key: string;
1969
- type: string;
1970
- }, {
1971
- key: string;
1972
- type: string;
1973
- }>>;
604
+ type: z.ZodEnum<{
605
+ [x: string]: string;
606
+ }>;
607
+ }, z.core.$strip>>;
1974
608
  option: z.ZodOptional<z.ZodString>;
1975
609
  productVariationOptionValue: z.ZodOptional<z.ZodString>;
1976
610
  variationTexts: z.ZodOptional<z.ZodArray<z.ZodObject<{
1977
611
  locale: z.ZodString;
1978
612
  title: z.ZodString;
1979
613
  subtitle: z.ZodOptional<z.ZodString>;
1980
- }, "strip", z.ZodTypeAny, {
1981
- locale: string;
1982
- title: string;
1983
- subtitle?: string | undefined;
1984
- }, {
1985
- locale: string;
1986
- title: string;
1987
- subtitle?: string | undefined;
1988
- }>, "many">>;
614
+ }, z.core.$strip>>>;
1989
615
  assignProductId: z.ZodOptional<z.ZodString>;
1990
616
  proxyId: z.ZodOptional<z.ZodString>;
1991
617
  vectors: z.ZodOptional<z.ZodArray<z.ZodObject<{
1992
618
  key: z.ZodString;
1993
619
  value: z.ZodString;
1994
- }, "strip", z.ZodTypeAny, {
1995
- key: string;
1996
- value: string;
1997
- }, {
1998
- key: string;
1999
- value: string;
2000
- }>, "many">>;
620
+ }, z.core.$strip>>>;
2001
621
  bundleId: z.ZodOptional<z.ZodString>;
2002
622
  bundleProductId: z.ZodOptional<z.ZodString>;
2003
623
  index: z.ZodOptional<z.ZodNumber>;
@@ -2007,97 +627,105 @@ export declare const ProductManagementSchema: {
2007
627
  };
2008
628
  export declare const ProductManagementZodSchema: z.ZodObject<{
2009
629
  includeDrafts: z.ZodOptional<z.ZodBoolean>;
2010
- productIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
630
+ productIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
2011
631
  assortmentId: z.ZodOptional<z.ZodString>;
2012
632
  queryString: z.ZodOptional<z.ZodString>;
2013
633
  includeInactive: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2014
634
  sort: z.ZodOptional<z.ZodArray<z.ZodObject<{
2015
635
  key: z.ZodString;
2016
- value: z.ZodEnum<[string, ...string[]]>;
2017
- }, "strip", z.ZodTypeAny, {
2018
- key: string;
2019
- value: string;
2020
- }, {
2021
- key: string;
2022
- value: string;
2023
- }>, "many">>;
636
+ value: z.ZodEnum<{
637
+ [x: string]: string;
638
+ }>;
639
+ }, z.core.$strip>>>;
2024
640
  limit: z.ZodOptional<z.ZodNumber>;
2025
641
  offset: z.ZodOptional<z.ZodNumber>;
2026
- action: z.ZodEnum<["CREATE", "UPDATE", "REMOVE", "GET", "LIST", "COUNT", "UPDATE_STATUS", "ADD_MEDIA", "REMOVE_MEDIA", "REORDER_MEDIA", "GET_MEDIA", "UPDATE_MEDIA_TEXTS", "CREATE_VARIATION", "REMOVE_VARIATION", "ADD_VARIATION_OPTION", "REMOVE_VARIATION_OPTION", "ADD_ASSIGNMENT", "REMOVE_ASSIGNMENT", "GET_ASSIGNMENTS", "GET_VARIATION_PRODUCTS", "UPDATE_VARIATION_TEXTS", "ADD_BUNDLE_ITEM", "REMOVE_BUNDLE_ITEM", "GET_BUNDLE_ITEMS", "SIMULATE_PRICE", "SIMULATE_PRICE_RANGE", "GET_CATALOG_PRICE", "GET_PRODUCT_TEXTS", "GET_MEDIA_TEXTS", "GET_VARIATION_TEXTS", "GET_REVIEWS", "COUNT_REVIEWS", "GET_SIBLINGS", "UPDATE_PRODUCT_TEXTS"]>;
642
+ action: z.ZodEnum<{
643
+ GET: "GET";
644
+ CREATE: "CREATE";
645
+ UPDATE: "UPDATE";
646
+ REMOVE: "REMOVE";
647
+ LIST: "LIST";
648
+ COUNT: "COUNT";
649
+ UPDATE_STATUS: "UPDATE_STATUS";
650
+ ADD_MEDIA: "ADD_MEDIA";
651
+ REMOVE_MEDIA: "REMOVE_MEDIA";
652
+ REORDER_MEDIA: "REORDER_MEDIA";
653
+ GET_MEDIA: "GET_MEDIA";
654
+ UPDATE_MEDIA_TEXTS: "UPDATE_MEDIA_TEXTS";
655
+ CREATE_VARIATION: "CREATE_VARIATION";
656
+ REMOVE_VARIATION: "REMOVE_VARIATION";
657
+ ADD_VARIATION_OPTION: "ADD_VARIATION_OPTION";
658
+ REMOVE_VARIATION_OPTION: "REMOVE_VARIATION_OPTION";
659
+ ADD_ASSIGNMENT: "ADD_ASSIGNMENT";
660
+ REMOVE_ASSIGNMENT: "REMOVE_ASSIGNMENT";
661
+ GET_ASSIGNMENTS: "GET_ASSIGNMENTS";
662
+ GET_VARIATION_PRODUCTS: "GET_VARIATION_PRODUCTS";
663
+ UPDATE_VARIATION_TEXTS: "UPDATE_VARIATION_TEXTS";
664
+ ADD_BUNDLE_ITEM: "ADD_BUNDLE_ITEM";
665
+ REMOVE_BUNDLE_ITEM: "REMOVE_BUNDLE_ITEM";
666
+ GET_BUNDLE_ITEMS: "GET_BUNDLE_ITEMS";
667
+ SIMULATE_PRICE: "SIMULATE_PRICE";
668
+ SIMULATE_PRICE_RANGE: "SIMULATE_PRICE_RANGE";
669
+ GET_CATALOG_PRICE: "GET_CATALOG_PRICE";
670
+ GET_PRODUCT_TEXTS: "GET_PRODUCT_TEXTS";
671
+ GET_MEDIA_TEXTS: "GET_MEDIA_TEXTS";
672
+ GET_VARIATION_TEXTS: "GET_VARIATION_TEXTS";
673
+ GET_REVIEWS: "GET_REVIEWS";
674
+ COUNT_REVIEWS: "COUNT_REVIEWS";
675
+ GET_SIBLINGS: "GET_SIBLINGS";
676
+ UPDATE_PRODUCT_TEXTS: "UPDATE_PRODUCT_TEXTS";
677
+ }>;
2027
678
  productId: z.ZodOptional<z.ZodString>;
2028
679
  slug: z.ZodOptional<z.ZodString>;
2029
680
  sku: z.ZodOptional<z.ZodString>;
2030
681
  productMediaId: z.ZodOptional<z.ZodString>;
2031
682
  productVariationId: z.ZodOptional<z.ZodString>;
2032
683
  product: z.ZodOptional<z.ZodObject<{
2033
- type: z.ZodOptional<z.ZodEnum<[string, ...string[]]>>;
2034
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
684
+ type: z.ZodOptional<z.ZodEnum<{
685
+ [x: string]: string;
686
+ }>>;
687
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
2035
688
  sequence: z.ZodOptional<z.ZodNumber>;
2036
- meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
689
+ meta: z.ZodOptional<z.ZodRecord<z.ZodAny, z.ZodAny>>;
2037
690
  plan: z.ZodOptional<z.ZodObject<{
2038
- usageCalculationType: z.ZodEnum<["LICENSED", "METERED"]>;
2039
- billingInterval: z.ZodEnum<["HOURS", "DAYS", "WEEKS", "MONTHS", "YEARS"]>;
691
+ usageCalculationType: z.ZodEnum<{
692
+ LICENSED: "LICENSED";
693
+ METERED: "METERED";
694
+ }>;
695
+ billingInterval: z.ZodEnum<{
696
+ HOURS: "HOURS";
697
+ DAYS: "DAYS";
698
+ WEEKS: "WEEKS";
699
+ MONTHS: "MONTHS";
700
+ YEARS: "YEARS";
701
+ }>;
2040
702
  billingIntervalCount: z.ZodNumber;
2041
- trialInterval: z.ZodOptional<z.ZodEnum<["HOURS", "DAYS", "WEEKS", "MONTHS", "YEARS"]>>;
703
+ trialInterval: z.ZodOptional<z.ZodEnum<{
704
+ HOURS: "HOURS";
705
+ DAYS: "DAYS";
706
+ WEEKS: "WEEKS";
707
+ MONTHS: "MONTHS";
708
+ YEARS: "YEARS";
709
+ }>>;
2042
710
  trialIntervalCount: z.ZodOptional<z.ZodNumber>;
2043
- }, "strip", z.ZodTypeAny, {
2044
- usageCalculationType: "LICENSED" | "METERED";
2045
- billingInterval: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS";
2046
- billingIntervalCount: number;
2047
- trialInterval?: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS" | undefined;
2048
- trialIntervalCount?: number | undefined;
2049
- }, {
2050
- usageCalculationType: "LICENSED" | "METERED";
2051
- billingInterval: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS";
2052
- billingIntervalCount: number;
2053
- trialInterval?: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS" | undefined;
2054
- trialIntervalCount?: number | undefined;
2055
- }>>;
711
+ }, z.core.$strip>>;
2056
712
  warehousing: z.ZodOptional<z.ZodObject<{
2057
713
  sku: z.ZodOptional<z.ZodString>;
2058
714
  baseUnit: z.ZodOptional<z.ZodString>;
2059
- }, "strip", z.ZodTypeAny, {
2060
- sku?: string | undefined;
2061
- baseUnit?: string | undefined;
2062
- }, {
2063
- sku?: string | undefined;
2064
- baseUnit?: string | undefined;
2065
- }>>;
715
+ }, z.core.$strip>>;
2066
716
  supply: z.ZodOptional<z.ZodObject<{
2067
717
  weightInGram: z.ZodOptional<z.ZodNumber>;
2068
718
  heightInMillimeters: z.ZodOptional<z.ZodNumber>;
2069
719
  lengthInMillimeters: z.ZodOptional<z.ZodNumber>;
2070
720
  widthInMillimeters: z.ZodOptional<z.ZodNumber>;
2071
- }, "strip", z.ZodTypeAny, {
2072
- weightInGram?: number | undefined;
2073
- lengthInMillimeters?: number | undefined;
2074
- widthInMillimeters?: number | undefined;
2075
- heightInMillimeters?: number | undefined;
2076
- }, {
2077
- weightInGram?: number | undefined;
2078
- lengthInMillimeters?: number | undefined;
2079
- widthInMillimeters?: number | undefined;
2080
- heightInMillimeters?: number | undefined;
2081
- }>>;
721
+ }, z.core.$strip>>;
2082
722
  tokenization: z.ZodOptional<z.ZodObject<{
2083
723
  contractAddress: z.ZodString;
2084
724
  contractStandard: z.ZodString;
2085
725
  tokenId: z.ZodString;
2086
726
  supply: z.ZodNumber;
2087
- ercMetadataProperties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2088
- }, "strip", z.ZodTypeAny, {
2089
- supply: number;
2090
- contractAddress: string;
2091
- tokenId: string;
2092
- contractStandard: string;
2093
- ercMetadataProperties?: Record<string, any> | undefined;
2094
- }, {
2095
- supply: number;
2096
- contractAddress: string;
2097
- tokenId: string;
2098
- contractStandard: string;
2099
- ercMetadataProperties?: Record<string, any> | undefined;
2100
- }>>;
727
+ ercMetadataProperties: z.ZodOptional<z.ZodRecord<z.ZodAny, z.ZodAny>>;
728
+ }, z.core.$strip>>;
2101
729
  commerce: z.ZodOptional<z.ZodObject<{
2102
730
  pricing: z.ZodArray<z.ZodObject<{
2103
731
  amount: z.ZodNumber;
@@ -2106,469 +734,61 @@ export declare const ProductManagementZodSchema: z.ZodObject<{
2106
734
  isNetPrice: z.ZodOptional<z.ZodBoolean>;
2107
735
  currencyCode: z.ZodString;
2108
736
  countryCode: z.ZodString;
2109
- }, "strip", z.ZodTypeAny, {
2110
- countryCode: string;
2111
- currencyCode: string;
2112
- amount: number;
2113
- isNetPrice?: boolean | undefined;
2114
- isTaxable?: boolean | undefined;
2115
- maxQuantity?: number | undefined;
2116
- }, {
2117
- countryCode: string;
2118
- currencyCode: string;
2119
- amount: number;
2120
- isNetPrice?: boolean | undefined;
2121
- isTaxable?: boolean | undefined;
2122
- maxQuantity?: number | undefined;
2123
- }>, "atleastone">;
2124
- }, "strip", z.ZodTypeAny, {
2125
- pricing: [{
2126
- countryCode: string;
2127
- currencyCode: string;
2128
- amount: number;
2129
- isNetPrice?: boolean | undefined;
2130
- isTaxable?: boolean | undefined;
2131
- maxQuantity?: number | undefined;
2132
- }, ...{
2133
- countryCode: string;
2134
- currencyCode: string;
2135
- amount: number;
2136
- isNetPrice?: boolean | undefined;
2137
- isTaxable?: boolean | undefined;
2138
- maxQuantity?: number | undefined;
2139
- }[]];
2140
- }, {
2141
- pricing: [{
2142
- countryCode: string;
2143
- currencyCode: string;
2144
- amount: number;
2145
- isNetPrice?: boolean | undefined;
2146
- isTaxable?: boolean | undefined;
2147
- maxQuantity?: number | undefined;
2148
- }, ...{
2149
- countryCode: string;
2150
- currencyCode: string;
2151
- amount: number;
2152
- isNetPrice?: boolean | undefined;
2153
- isTaxable?: boolean | undefined;
2154
- maxQuantity?: number | undefined;
2155
- }[]];
2156
- }>>;
2157
- }, "strip", z.ZodTypeAny, {
2158
- meta?: Record<string, unknown> | undefined;
2159
- sequence?: number | undefined;
2160
- tags?: string[] | undefined;
2161
- type?: string | undefined;
2162
- commerce?: {
2163
- pricing: [{
2164
- countryCode: string;
2165
- currencyCode: string;
2166
- amount: number;
2167
- isNetPrice?: boolean | undefined;
2168
- isTaxable?: boolean | undefined;
2169
- maxQuantity?: number | undefined;
2170
- }, ...{
2171
- countryCode: string;
2172
- currencyCode: string;
2173
- amount: number;
2174
- isNetPrice?: boolean | undefined;
2175
- isTaxable?: boolean | undefined;
2176
- maxQuantity?: number | undefined;
2177
- }[]];
2178
- } | undefined;
2179
- plan?: {
2180
- usageCalculationType: "LICENSED" | "METERED";
2181
- billingInterval: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS";
2182
- billingIntervalCount: number;
2183
- trialInterval?: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS" | undefined;
2184
- trialIntervalCount?: number | undefined;
2185
- } | undefined;
2186
- supply?: {
2187
- weightInGram?: number | undefined;
2188
- lengthInMillimeters?: number | undefined;
2189
- widthInMillimeters?: number | undefined;
2190
- heightInMillimeters?: number | undefined;
2191
- } | undefined;
2192
- warehousing?: {
2193
- sku?: string | undefined;
2194
- baseUnit?: string | undefined;
2195
- } | undefined;
2196
- tokenization?: {
2197
- supply: number;
2198
- contractAddress: string;
2199
- tokenId: string;
2200
- contractStandard: string;
2201
- ercMetadataProperties?: Record<string, any> | undefined;
2202
- } | undefined;
2203
- }, {
2204
- meta?: Record<string, unknown> | undefined;
2205
- sequence?: number | undefined;
2206
- tags?: string[] | undefined;
2207
- type?: string | undefined;
2208
- commerce?: {
2209
- pricing: [{
2210
- countryCode: string;
2211
- currencyCode: string;
2212
- amount: number;
2213
- isNetPrice?: boolean | undefined;
2214
- isTaxable?: boolean | undefined;
2215
- maxQuantity?: number | undefined;
2216
- }, ...{
2217
- countryCode: string;
2218
- currencyCode: string;
2219
- amount: number;
2220
- isNetPrice?: boolean | undefined;
2221
- isTaxable?: boolean | undefined;
2222
- maxQuantity?: number | undefined;
2223
- }[]];
2224
- } | undefined;
2225
- plan?: {
2226
- usageCalculationType: "LICENSED" | "METERED";
2227
- billingInterval: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS";
2228
- billingIntervalCount: number;
2229
- trialInterval?: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS" | undefined;
2230
- trialIntervalCount?: number | undefined;
2231
- } | undefined;
2232
- supply?: {
2233
- weightInGram?: number | undefined;
2234
- lengthInMillimeters?: number | undefined;
2235
- widthInMillimeters?: number | undefined;
2236
- heightInMillimeters?: number | undefined;
2237
- } | undefined;
2238
- warehousing?: {
2239
- sku?: string | undefined;
2240
- baseUnit?: string | undefined;
2241
- } | undefined;
2242
- tokenization?: {
2243
- supply: number;
2244
- contractAddress: string;
2245
- tokenId: string;
2246
- contractStandard: string;
2247
- ercMetadataProperties?: Record<string, any> | undefined;
2248
- } | undefined;
2249
- }>>;
737
+ }, z.core.$strip>>;
738
+ }, z.core.$strip>>;
739
+ }, z.core.$strip>>;
2250
740
  texts: z.ZodOptional<z.ZodArray<z.ZodObject<{
2251
741
  locale: z.ZodString;
2252
742
  title: z.ZodString;
2253
743
  subtitle: z.ZodOptional<z.ZodString>;
2254
- } & {
2255
744
  slug: z.ZodOptional<z.ZodString>;
2256
745
  description: z.ZodOptional<z.ZodString>;
2257
746
  vendor: z.ZodOptional<z.ZodString>;
2258
747
  brand: z.ZodOptional<z.ZodString>;
2259
- labels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2260
- }, "strip", z.ZodTypeAny, {
2261
- locale: string;
2262
- title: string;
2263
- description?: string | undefined;
2264
- subtitle?: string | undefined;
2265
- slug?: string | undefined;
2266
- brand?: string | undefined;
2267
- vendor?: string | undefined;
2268
- labels?: string[] | undefined;
2269
- }, {
2270
- locale: string;
2271
- title: string;
2272
- description?: string | undefined;
2273
- subtitle?: string | undefined;
2274
- slug?: string | undefined;
2275
- brand?: string | undefined;
2276
- vendor?: string | undefined;
2277
- labels?: string[] | undefined;
2278
- }>, "many">>;
2279
- statusAction: z.ZodOptional<z.ZodEnum<["PUBLISH", "UNPUBLISH"]>>;
748
+ labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
749
+ }, z.core.$strip>>>;
750
+ statusAction: z.ZodOptional<z.ZodEnum<{
751
+ PUBLISH: "PUBLISH";
752
+ UNPUBLISH: "UNPUBLISH";
753
+ }>>;
2280
754
  mediaName: z.ZodOptional<z.ZodString>;
2281
755
  url: z.ZodOptional<z.ZodString>;
2282
756
  sortKeys: z.ZodOptional<z.ZodArray<z.ZodObject<{
2283
757
  productMediaId: z.ZodString;
2284
758
  sortKey: z.ZodNumber;
2285
- }, "strip", z.ZodTypeAny, {
2286
- sortKey: number;
2287
- productMediaId: string;
2288
- }, {
2289
- sortKey: number;
2290
- productMediaId: string;
2291
- }>, "many">>;
759
+ }, z.core.$strip>>>;
2292
760
  mediaTexts: z.ZodOptional<z.ZodArray<z.ZodObject<{
2293
761
  locale: z.ZodString;
2294
762
  title: z.ZodString;
2295
763
  subtitle: z.ZodOptional<z.ZodString>;
2296
- }, "strip", z.ZodTypeAny, {
2297
- locale: string;
2298
- title: string;
2299
- subtitle?: string | undefined;
2300
- }, {
2301
- locale: string;
2302
- title: string;
2303
- subtitle?: string | undefined;
2304
- }>, "many">>;
2305
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
764
+ }, z.core.$strip>>>;
765
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
2306
766
  variation: z.ZodOptional<z.ZodObject<{
2307
767
  key: z.ZodString;
2308
- type: z.ZodEnum<[string, ...string[]]>;
2309
- }, "strip", z.ZodTypeAny, {
2310
- key: string;
2311
- type: string;
2312
- }, {
2313
- key: string;
2314
- type: string;
2315
- }>>;
768
+ type: z.ZodEnum<{
769
+ [x: string]: string;
770
+ }>;
771
+ }, z.core.$strip>>;
2316
772
  option: z.ZodOptional<z.ZodString>;
2317
773
  productVariationOptionValue: z.ZodOptional<z.ZodString>;
2318
774
  variationTexts: z.ZodOptional<z.ZodArray<z.ZodObject<{
2319
775
  locale: z.ZodString;
2320
776
  title: z.ZodString;
2321
777
  subtitle: z.ZodOptional<z.ZodString>;
2322
- }, "strip", z.ZodTypeAny, {
2323
- locale: string;
2324
- title: string;
2325
- subtitle?: string | undefined;
2326
- }, {
2327
- locale: string;
2328
- title: string;
2329
- subtitle?: string | undefined;
2330
- }>, "many">>;
778
+ }, z.core.$strip>>>;
2331
779
  assignProductId: z.ZodOptional<z.ZodString>;
2332
780
  proxyId: z.ZodOptional<z.ZodString>;
2333
781
  vectors: z.ZodOptional<z.ZodArray<z.ZodObject<{
2334
782
  key: z.ZodString;
2335
783
  value: z.ZodString;
2336
- }, "strip", z.ZodTypeAny, {
2337
- key: string;
2338
- value: string;
2339
- }, {
2340
- key: string;
2341
- value: string;
2342
- }>, "many">>;
784
+ }, z.core.$strip>>>;
2343
785
  bundleId: z.ZodOptional<z.ZodString>;
2344
786
  bundleProductId: z.ZodOptional<z.ZodString>;
2345
787
  index: z.ZodOptional<z.ZodNumber>;
2346
788
  quantity: z.ZodOptional<z.ZodNumber>;
2347
789
  currencyCode: z.ZodOptional<z.ZodString>;
2348
790
  useNetPrice: z.ZodOptional<z.ZodBoolean>;
2349
- }, "strip", z.ZodTypeAny, {
2350
- includeInactive: boolean;
2351
- action: "GET" | "CREATE" | "UPDATE" | "REMOVE" | "LIST" | "COUNT" | "UPDATE_STATUS" | "ADD_MEDIA" | "REMOVE_MEDIA" | "REORDER_MEDIA" | "GET_MEDIA" | "UPDATE_MEDIA_TEXTS" | "CREATE_VARIATION" | "REMOVE_VARIATION" | "ADD_VARIATION_OPTION" | "REMOVE_VARIATION_OPTION" | "ADD_ASSIGNMENT" | "REMOVE_ASSIGNMENT" | "GET_ASSIGNMENTS" | "GET_VARIATION_PRODUCTS" | "UPDATE_VARIATION_TEXTS" | "ADD_BUNDLE_ITEM" | "REMOVE_BUNDLE_ITEM" | "GET_BUNDLE_ITEMS" | "SIMULATE_PRICE" | "SIMULATE_PRICE_RANGE" | "GET_CATALOG_PRICE" | "GET_PRODUCT_TEXTS" | "GET_MEDIA_TEXTS" | "GET_VARIATION_TEXTS" | "GET_REVIEWS" | "COUNT_REVIEWS" | "GET_SIBLINGS" | "UPDATE_PRODUCT_TEXTS";
2352
- tags?: string[] | undefined;
2353
- sort?: {
2354
- key: string;
2355
- value: string;
2356
- }[] | undefined;
2357
- index?: number | undefined;
2358
- assortmentId?: string | undefined;
2359
- productId?: string | undefined;
2360
- slug?: string | undefined;
2361
- productMediaId?: string | undefined;
2362
- productVariationId?: string | undefined;
2363
- productVariationOptionValue?: string | undefined;
2364
- url?: string | undefined;
2365
- quantity?: number | undefined;
2366
- currencyCode?: string | undefined;
2367
- includeDrafts?: boolean | undefined;
2368
- queryString?: string | undefined;
2369
- limit?: number | undefined;
2370
- offset?: number | undefined;
2371
- productIds?: string[] | undefined;
2372
- product?: {
2373
- meta?: Record<string, unknown> | undefined;
2374
- sequence?: number | undefined;
2375
- tags?: string[] | undefined;
2376
- type?: string | undefined;
2377
- commerce?: {
2378
- pricing: [{
2379
- countryCode: string;
2380
- currencyCode: string;
2381
- amount: number;
2382
- isNetPrice?: boolean | undefined;
2383
- isTaxable?: boolean | undefined;
2384
- maxQuantity?: number | undefined;
2385
- }, ...{
2386
- countryCode: string;
2387
- currencyCode: string;
2388
- amount: number;
2389
- isNetPrice?: boolean | undefined;
2390
- isTaxable?: boolean | undefined;
2391
- maxQuantity?: number | undefined;
2392
- }[]];
2393
- } | undefined;
2394
- plan?: {
2395
- usageCalculationType: "LICENSED" | "METERED";
2396
- billingInterval: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS";
2397
- billingIntervalCount: number;
2398
- trialInterval?: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS" | undefined;
2399
- trialIntervalCount?: number | undefined;
2400
- } | undefined;
2401
- supply?: {
2402
- weightInGram?: number | undefined;
2403
- lengthInMillimeters?: number | undefined;
2404
- widthInMillimeters?: number | undefined;
2405
- heightInMillimeters?: number | undefined;
2406
- } | undefined;
2407
- warehousing?: {
2408
- sku?: string | undefined;
2409
- baseUnit?: string | undefined;
2410
- } | undefined;
2411
- tokenization?: {
2412
- supply: number;
2413
- contractAddress: string;
2414
- tokenId: string;
2415
- contractStandard: string;
2416
- ercMetadataProperties?: Record<string, any> | undefined;
2417
- } | undefined;
2418
- } | undefined;
2419
- texts?: {
2420
- locale: string;
2421
- title: string;
2422
- description?: string | undefined;
2423
- subtitle?: string | undefined;
2424
- slug?: string | undefined;
2425
- brand?: string | undefined;
2426
- vendor?: string | undefined;
2427
- labels?: string[] | undefined;
2428
- }[] | undefined;
2429
- variation?: {
2430
- key: string;
2431
- type: string;
2432
- } | undefined;
2433
- option?: string | undefined;
2434
- sortKeys?: {
2435
- sortKey: number;
2436
- productMediaId: string;
2437
- }[] | undefined;
2438
- proxyId?: string | undefined;
2439
- vectors?: {
2440
- key: string;
2441
- value: string;
2442
- }[] | undefined;
2443
- mediaName?: string | undefined;
2444
- useNetPrice?: boolean | undefined;
2445
- sku?: string | undefined;
2446
- statusAction?: "PUBLISH" | "UNPUBLISH" | undefined;
2447
- mediaTexts?: {
2448
- locale: string;
2449
- title: string;
2450
- subtitle?: string | undefined;
2451
- }[] | undefined;
2452
- variationTexts?: {
2453
- locale: string;
2454
- title: string;
2455
- subtitle?: string | undefined;
2456
- }[] | undefined;
2457
- assignProductId?: string | undefined;
2458
- bundleId?: string | undefined;
2459
- bundleProductId?: string | undefined;
2460
- }, {
2461
- action: "GET" | "CREATE" | "UPDATE" | "REMOVE" | "LIST" | "COUNT" | "UPDATE_STATUS" | "ADD_MEDIA" | "REMOVE_MEDIA" | "REORDER_MEDIA" | "GET_MEDIA" | "UPDATE_MEDIA_TEXTS" | "CREATE_VARIATION" | "REMOVE_VARIATION" | "ADD_VARIATION_OPTION" | "REMOVE_VARIATION_OPTION" | "ADD_ASSIGNMENT" | "REMOVE_ASSIGNMENT" | "GET_ASSIGNMENTS" | "GET_VARIATION_PRODUCTS" | "UPDATE_VARIATION_TEXTS" | "ADD_BUNDLE_ITEM" | "REMOVE_BUNDLE_ITEM" | "GET_BUNDLE_ITEMS" | "SIMULATE_PRICE" | "SIMULATE_PRICE_RANGE" | "GET_CATALOG_PRICE" | "GET_PRODUCT_TEXTS" | "GET_MEDIA_TEXTS" | "GET_VARIATION_TEXTS" | "GET_REVIEWS" | "COUNT_REVIEWS" | "GET_SIBLINGS" | "UPDATE_PRODUCT_TEXTS";
2462
- tags?: string[] | undefined;
2463
- sort?: {
2464
- key: string;
2465
- value: string;
2466
- }[] | undefined;
2467
- index?: number | undefined;
2468
- assortmentId?: string | undefined;
2469
- productId?: string | undefined;
2470
- slug?: string | undefined;
2471
- productMediaId?: string | undefined;
2472
- productVariationId?: string | undefined;
2473
- productVariationOptionValue?: string | undefined;
2474
- url?: string | undefined;
2475
- includeInactive?: boolean | undefined;
2476
- quantity?: number | undefined;
2477
- currencyCode?: string | undefined;
2478
- includeDrafts?: boolean | undefined;
2479
- queryString?: string | undefined;
2480
- limit?: number | undefined;
2481
- offset?: number | undefined;
2482
- productIds?: string[] | undefined;
2483
- product?: {
2484
- meta?: Record<string, unknown> | undefined;
2485
- sequence?: number | undefined;
2486
- tags?: string[] | undefined;
2487
- type?: string | undefined;
2488
- commerce?: {
2489
- pricing: [{
2490
- countryCode: string;
2491
- currencyCode: string;
2492
- amount: number;
2493
- isNetPrice?: boolean | undefined;
2494
- isTaxable?: boolean | undefined;
2495
- maxQuantity?: number | undefined;
2496
- }, ...{
2497
- countryCode: string;
2498
- currencyCode: string;
2499
- amount: number;
2500
- isNetPrice?: boolean | undefined;
2501
- isTaxable?: boolean | undefined;
2502
- maxQuantity?: number | undefined;
2503
- }[]];
2504
- } | undefined;
2505
- plan?: {
2506
- usageCalculationType: "LICENSED" | "METERED";
2507
- billingInterval: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS";
2508
- billingIntervalCount: number;
2509
- trialInterval?: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS" | undefined;
2510
- trialIntervalCount?: number | undefined;
2511
- } | undefined;
2512
- supply?: {
2513
- weightInGram?: number | undefined;
2514
- lengthInMillimeters?: number | undefined;
2515
- widthInMillimeters?: number | undefined;
2516
- heightInMillimeters?: number | undefined;
2517
- } | undefined;
2518
- warehousing?: {
2519
- sku?: string | undefined;
2520
- baseUnit?: string | undefined;
2521
- } | undefined;
2522
- tokenization?: {
2523
- supply: number;
2524
- contractAddress: string;
2525
- tokenId: string;
2526
- contractStandard: string;
2527
- ercMetadataProperties?: Record<string, any> | undefined;
2528
- } | undefined;
2529
- } | undefined;
2530
- texts?: {
2531
- locale: string;
2532
- title: string;
2533
- description?: string | undefined;
2534
- subtitle?: string | undefined;
2535
- slug?: string | undefined;
2536
- brand?: string | undefined;
2537
- vendor?: string | undefined;
2538
- labels?: string[] | undefined;
2539
- }[] | undefined;
2540
- variation?: {
2541
- key: string;
2542
- type: string;
2543
- } | undefined;
2544
- option?: string | undefined;
2545
- sortKeys?: {
2546
- sortKey: number;
2547
- productMediaId: string;
2548
- }[] | undefined;
2549
- proxyId?: string | undefined;
2550
- vectors?: {
2551
- key: string;
2552
- value: string;
2553
- }[] | undefined;
2554
- mediaName?: string | undefined;
2555
- useNetPrice?: boolean | undefined;
2556
- sku?: string | undefined;
2557
- statusAction?: "PUBLISH" | "UNPUBLISH" | undefined;
2558
- mediaTexts?: {
2559
- locale: string;
2560
- title: string;
2561
- subtitle?: string | undefined;
2562
- }[] | undefined;
2563
- variationTexts?: {
2564
- locale: string;
2565
- title: string;
2566
- subtitle?: string | undefined;
2567
- }[] | undefined;
2568
- assignProductId?: string | undefined;
2569
- bundleId?: string | undefined;
2570
- bundleProductId?: string | undefined;
2571
- }>;
791
+ }, z.core.$strip>;
2572
792
  export type ProductManagementParams = z.infer<typeof ProductManagementZodSchema>;
2573
793
  export type ActionName = keyof typeof actionValidators;
2574
794
  export type Params<T extends ActionName> = z.infer<(typeof actionValidators)[T]>;