@unchainedshop/api 4.3.5 → 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
@@ -12,54 +12,8 @@ export declare const UserProfileSchema: z.ZodObject<{
12
12
  city: z.ZodOptional<z.ZodString>;
13
13
  regionCode: z.ZodOptional<z.ZodString>;
14
14
  countryCode: z.ZodOptional<z.ZodString>;
15
- }, "strip", z.ZodTypeAny, {
16
- countryCode?: string | undefined;
17
- firstName?: string | undefined;
18
- lastName?: string | undefined;
19
- addressLine?: string | undefined;
20
- addressLine2?: string | undefined;
21
- postalCode?: string | undefined;
22
- city?: string | undefined;
23
- regionCode?: string | undefined;
24
- }, {
25
- countryCode?: string | undefined;
26
- firstName?: string | undefined;
27
- lastName?: string | undefined;
28
- addressLine?: string | undefined;
29
- addressLine2?: string | undefined;
30
- postalCode?: string | undefined;
31
- city?: string | undefined;
32
- regionCode?: string | undefined;
33
- }>>;
34
- }, "strip", z.ZodTypeAny, {
35
- address?: {
36
- countryCode?: string | undefined;
37
- firstName?: string | undefined;
38
- lastName?: string | undefined;
39
- addressLine?: string | undefined;
40
- addressLine2?: string | undefined;
41
- postalCode?: string | undefined;
42
- city?: string | undefined;
43
- regionCode?: string | undefined;
44
- } | undefined;
45
- displayName?: string | undefined;
46
- birthday?: string | undefined;
47
- phoneMobile?: string | undefined;
48
- }, {
49
- address?: {
50
- countryCode?: string | undefined;
51
- firstName?: string | undefined;
52
- lastName?: string | undefined;
53
- addressLine?: string | undefined;
54
- addressLine2?: string | undefined;
55
- postalCode?: string | undefined;
56
- city?: string | undefined;
57
- regionCode?: string | undefined;
58
- } | undefined;
59
- displayName?: string | undefined;
60
- birthday?: string | undefined;
61
- phoneMobile?: string | undefined;
62
- }>;
15
+ }, z.core.$strip>>;
16
+ }, z.core.$strip>;
63
17
  export declare const actionValidators: {
64
18
  readonly LIST: z.ZodObject<{
65
19
  includeGuests: z.ZodOptional<z.ZodBoolean>;
@@ -67,99 +21,31 @@ export declare const actionValidators: {
67
21
  lastLogin: z.ZodOptional<z.ZodObject<{
68
22
  start: z.ZodOptional<z.ZodString>;
69
23
  end: z.ZodOptional<z.ZodString>;
70
- }, "strip", z.ZodTypeAny, {
71
- start?: string | undefined;
72
- end?: string | undefined;
73
- }, {
74
- start?: string | undefined;
75
- end?: string | undefined;
76
- }>>;
24
+ }, z.core.$strip>>;
77
25
  queryString: z.ZodOptional<z.ZodString>;
78
26
  includeInactive: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
79
27
  sort: z.ZodOptional<z.ZodArray<z.ZodObject<{
80
28
  key: z.ZodString;
81
- value: z.ZodEnum<[string, ...string[]]>;
82
- }, "strip", z.ZodTypeAny, {
83
- key: string;
84
- value: string;
85
- }, {
86
- key: string;
87
- value: string;
88
- }>, "many">>;
29
+ value: z.ZodEnum<{
30
+ [x: string]: string;
31
+ }>;
32
+ }, z.core.$strip>>>;
89
33
  limit: z.ZodOptional<z.ZodNumber>;
90
34
  offset: z.ZodOptional<z.ZodNumber>;
91
- }, "strip", z.ZodTypeAny, {
92
- includeInactive: boolean;
93
- sort?: {
94
- key: string;
95
- value: string;
96
- }[] | undefined;
97
- lastLogin?: {
98
- start?: string | undefined;
99
- end?: string | undefined;
100
- } | undefined;
101
- includeGuests?: boolean | undefined;
102
- queryString?: string | undefined;
103
- limit?: number | undefined;
104
- offset?: number | undefined;
105
- emailVerified?: boolean | undefined;
106
- }, {
107
- sort?: {
108
- key: string;
109
- value: string;
110
- }[] | undefined;
111
- lastLogin?: {
112
- start?: string | undefined;
113
- end?: string | undefined;
114
- } | undefined;
115
- includeGuests?: boolean | undefined;
116
- includeInactive?: boolean | undefined;
117
- queryString?: string | undefined;
118
- limit?: number | undefined;
119
- offset?: number | undefined;
120
- emailVerified?: boolean | undefined;
121
- }>;
35
+ }, z.core.$strip>;
122
36
  readonly COUNT: z.ZodObject<{
123
37
  includeGuests: z.ZodOptional<z.ZodBoolean>;
124
38
  emailVerified: z.ZodOptional<z.ZodBoolean>;
125
39
  lastLogin: z.ZodOptional<z.ZodObject<{
126
40
  start: z.ZodOptional<z.ZodString>;
127
41
  end: z.ZodOptional<z.ZodString>;
128
- }, "strip", z.ZodTypeAny, {
129
- start?: string | undefined;
130
- end?: string | undefined;
131
- }, {
132
- start?: string | undefined;
133
- end?: string | undefined;
134
- }>>;
42
+ }, z.core.$strip>>;
135
43
  queryString: z.ZodOptional<z.ZodString>;
136
44
  includeInactive: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
137
- }, "strip", z.ZodTypeAny, {
138
- includeInactive: boolean;
139
- lastLogin?: {
140
- start?: string | undefined;
141
- end?: string | undefined;
142
- } | undefined;
143
- includeGuests?: boolean | undefined;
144
- queryString?: string | undefined;
145
- emailVerified?: boolean | undefined;
146
- }, {
147
- lastLogin?: {
148
- start?: string | undefined;
149
- end?: string | undefined;
150
- } | undefined;
151
- includeGuests?: boolean | undefined;
152
- includeInactive?: boolean | undefined;
153
- queryString?: string | undefined;
154
- emailVerified?: boolean | undefined;
155
- }>;
45
+ }, z.core.$strip>;
156
46
  readonly GET: z.ZodObject<{
157
47
  userId: z.ZodString;
158
- }, "strip", z.ZodTypeAny, {
159
- userId: string;
160
- }, {
161
- userId: string;
162
- }>;
48
+ }, z.core.$strip>;
163
49
  readonly CREATE: z.ZodObject<{
164
50
  username: z.ZodOptional<z.ZodString>;
165
51
  email: z.ZodOptional<z.ZodString>;
@@ -177,93 +63,9 @@ export declare const actionValidators: {
177
63
  city: z.ZodOptional<z.ZodString>;
178
64
  regionCode: z.ZodOptional<z.ZodString>;
179
65
  countryCode: z.ZodOptional<z.ZodString>;
180
- }, "strip", z.ZodTypeAny, {
181
- countryCode?: string | undefined;
182
- firstName?: string | undefined;
183
- lastName?: string | undefined;
184
- addressLine?: string | undefined;
185
- addressLine2?: string | undefined;
186
- postalCode?: string | undefined;
187
- city?: string | undefined;
188
- regionCode?: string | undefined;
189
- }, {
190
- countryCode?: string | undefined;
191
- firstName?: string | undefined;
192
- lastName?: string | undefined;
193
- addressLine?: string | undefined;
194
- addressLine2?: string | undefined;
195
- postalCode?: string | undefined;
196
- city?: string | undefined;
197
- regionCode?: string | undefined;
198
- }>>;
199
- }, "strip", z.ZodTypeAny, {
200
- address?: {
201
- countryCode?: string | undefined;
202
- firstName?: string | undefined;
203
- lastName?: string | undefined;
204
- addressLine?: string | undefined;
205
- addressLine2?: string | undefined;
206
- postalCode?: string | undefined;
207
- city?: string | undefined;
208
- regionCode?: string | undefined;
209
- } | undefined;
210
- displayName?: string | undefined;
211
- birthday?: string | undefined;
212
- phoneMobile?: string | undefined;
213
- }, {
214
- address?: {
215
- countryCode?: string | undefined;
216
- firstName?: string | undefined;
217
- lastName?: string | undefined;
218
- addressLine?: string | undefined;
219
- addressLine2?: string | undefined;
220
- postalCode?: string | undefined;
221
- city?: string | undefined;
222
- regionCode?: string | undefined;
223
- } | undefined;
224
- displayName?: string | undefined;
225
- birthday?: string | undefined;
226
- phoneMobile?: string | undefined;
227
- }>>;
228
- }, "strip", z.ZodTypeAny, {
229
- profile?: {
230
- address?: {
231
- countryCode?: string | undefined;
232
- firstName?: string | undefined;
233
- lastName?: string | undefined;
234
- addressLine?: string | undefined;
235
- addressLine2?: string | undefined;
236
- postalCode?: string | undefined;
237
- city?: string | undefined;
238
- regionCode?: string | undefined;
239
- } | undefined;
240
- displayName?: string | undefined;
241
- birthday?: string | undefined;
242
- phoneMobile?: string | undefined;
243
- } | undefined;
244
- username?: string | undefined;
245
- email?: string | undefined;
246
- password?: string | undefined;
247
- }, {
248
- profile?: {
249
- address?: {
250
- countryCode?: string | undefined;
251
- firstName?: string | undefined;
252
- lastName?: string | undefined;
253
- addressLine?: string | undefined;
254
- addressLine2?: string | undefined;
255
- postalCode?: string | undefined;
256
- city?: string | undefined;
257
- regionCode?: string | undefined;
258
- } | undefined;
259
- displayName?: string | undefined;
260
- birthday?: string | undefined;
261
- phoneMobile?: string | undefined;
262
- } | undefined;
263
- username?: string | undefined;
264
- email?: string | undefined;
265
- password?: string | undefined;
266
- }>;
66
+ }, z.core.$strip>>;
67
+ }, z.core.$strip>>;
68
+ }, z.core.$strip>;
267
69
  readonly UPDATE: z.ZodObject<{
268
70
  userId: z.ZodString;
269
71
  profile: z.ZodOptional<z.ZodObject<{
@@ -279,102 +81,14 @@ export declare const actionValidators: {
279
81
  city: z.ZodOptional<z.ZodString>;
280
82
  regionCode: z.ZodOptional<z.ZodString>;
281
83
  countryCode: z.ZodOptional<z.ZodString>;
282
- }, "strip", z.ZodTypeAny, {
283
- countryCode?: string | undefined;
284
- firstName?: string | undefined;
285
- lastName?: string | undefined;
286
- addressLine?: string | undefined;
287
- addressLine2?: string | undefined;
288
- postalCode?: string | undefined;
289
- city?: string | undefined;
290
- regionCode?: string | undefined;
291
- }, {
292
- countryCode?: string | undefined;
293
- firstName?: string | undefined;
294
- lastName?: string | undefined;
295
- addressLine?: string | undefined;
296
- addressLine2?: string | undefined;
297
- postalCode?: string | undefined;
298
- city?: string | undefined;
299
- regionCode?: string | undefined;
300
- }>>;
301
- }, "strip", z.ZodTypeAny, {
302
- address?: {
303
- countryCode?: string | undefined;
304
- firstName?: string | undefined;
305
- lastName?: string | undefined;
306
- addressLine?: string | undefined;
307
- addressLine2?: string | undefined;
308
- postalCode?: string | undefined;
309
- city?: string | undefined;
310
- regionCode?: string | undefined;
311
- } | undefined;
312
- displayName?: string | undefined;
313
- birthday?: string | undefined;
314
- phoneMobile?: string | undefined;
315
- }, {
316
- address?: {
317
- countryCode?: string | undefined;
318
- firstName?: string | undefined;
319
- lastName?: string | undefined;
320
- addressLine?: string | undefined;
321
- addressLine2?: string | undefined;
322
- postalCode?: string | undefined;
323
- city?: string | undefined;
324
- regionCode?: string | undefined;
325
- } | undefined;
326
- displayName?: string | undefined;
327
- birthday?: string | undefined;
328
- phoneMobile?: string | undefined;
329
- }>>;
84
+ }, z.core.$strip>>;
85
+ }, z.core.$strip>>;
330
86
  meta: z.ZodOptional<z.ZodAny>;
331
- }, "strip", z.ZodTypeAny, {
332
- userId: string;
333
- meta?: any;
334
- profile?: {
335
- address?: {
336
- countryCode?: string | undefined;
337
- firstName?: string | undefined;
338
- lastName?: string | undefined;
339
- addressLine?: string | undefined;
340
- addressLine2?: string | undefined;
341
- postalCode?: string | undefined;
342
- city?: string | undefined;
343
- regionCode?: string | undefined;
344
- } | undefined;
345
- displayName?: string | undefined;
346
- birthday?: string | undefined;
347
- phoneMobile?: string | undefined;
348
- } | undefined;
349
- }, {
350
- userId: string;
351
- meta?: any;
352
- profile?: {
353
- address?: {
354
- countryCode?: string | undefined;
355
- firstName?: string | undefined;
356
- lastName?: string | undefined;
357
- addressLine?: string | undefined;
358
- addressLine2?: string | undefined;
359
- postalCode?: string | undefined;
360
- city?: string | undefined;
361
- regionCode?: string | undefined;
362
- } | undefined;
363
- displayName?: string | undefined;
364
- birthday?: string | undefined;
365
- phoneMobile?: string | undefined;
366
- } | undefined;
367
- }>;
87
+ }, z.core.$strip>;
368
88
  readonly REMOVE: z.ZodObject<{
369
89
  userId: z.ZodString;
370
90
  removeUserReviews: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
371
- }, "strip", z.ZodTypeAny, {
372
- userId: string;
373
- removeUserReviews: boolean;
374
- }, {
375
- userId: string;
376
- removeUserReviews?: boolean | undefined;
377
- }>;
91
+ }, z.core.$strip>;
378
92
  readonly ENROLL: z.ZodObject<{
379
93
  email: z.ZodString;
380
94
  profile: z.ZodObject<{
@@ -390,333 +104,101 @@ export declare const actionValidators: {
390
104
  city: z.ZodOptional<z.ZodString>;
391
105
  regionCode: z.ZodOptional<z.ZodString>;
392
106
  countryCode: z.ZodOptional<z.ZodString>;
393
- }, "strip", z.ZodTypeAny, {
394
- countryCode?: string | undefined;
395
- firstName?: string | undefined;
396
- lastName?: string | undefined;
397
- addressLine?: string | undefined;
398
- addressLine2?: string | undefined;
399
- postalCode?: string | undefined;
400
- city?: string | undefined;
401
- regionCode?: string | undefined;
402
- }, {
403
- countryCode?: string | undefined;
404
- firstName?: string | undefined;
405
- lastName?: string | undefined;
406
- addressLine?: string | undefined;
407
- addressLine2?: string | undefined;
408
- postalCode?: string | undefined;
409
- city?: string | undefined;
410
- regionCode?: string | undefined;
411
- }>>;
412
- }, "strip", z.ZodTypeAny, {
413
- address?: {
414
- countryCode?: string | undefined;
415
- firstName?: string | undefined;
416
- lastName?: string | undefined;
417
- addressLine?: string | undefined;
418
- addressLine2?: string | undefined;
419
- postalCode?: string | undefined;
420
- city?: string | undefined;
421
- regionCode?: string | undefined;
422
- } | undefined;
423
- displayName?: string | undefined;
424
- birthday?: string | undefined;
425
- phoneMobile?: string | undefined;
426
- }, {
427
- address?: {
428
- countryCode?: string | undefined;
429
- firstName?: string | undefined;
430
- lastName?: string | undefined;
431
- addressLine?: string | undefined;
432
- addressLine2?: string | undefined;
433
- postalCode?: string | undefined;
434
- city?: string | undefined;
435
- regionCode?: string | undefined;
436
- } | undefined;
437
- displayName?: string | undefined;
438
- birthday?: string | undefined;
439
- phoneMobile?: string | undefined;
440
- }>;
107
+ }, z.core.$strip>>;
108
+ }, z.core.$strip>;
441
109
  password: z.ZodOptional<z.ZodString>;
442
- }, "strip", z.ZodTypeAny, {
443
- profile: {
444
- address?: {
445
- countryCode?: string | undefined;
446
- firstName?: string | undefined;
447
- lastName?: string | undefined;
448
- addressLine?: string | undefined;
449
- addressLine2?: string | undefined;
450
- postalCode?: string | undefined;
451
- city?: string | undefined;
452
- regionCode?: string | undefined;
453
- } | undefined;
454
- displayName?: string | undefined;
455
- birthday?: string | undefined;
456
- phoneMobile?: string | undefined;
457
- };
458
- email: string;
459
- password?: string | undefined;
460
- }, {
461
- profile: {
462
- address?: {
463
- countryCode?: string | undefined;
464
- firstName?: string | undefined;
465
- lastName?: string | undefined;
466
- addressLine?: string | undefined;
467
- addressLine2?: string | undefined;
468
- postalCode?: string | undefined;
469
- city?: string | undefined;
470
- regionCode?: string | undefined;
471
- } | undefined;
472
- displayName?: string | undefined;
473
- birthday?: string | undefined;
474
- phoneMobile?: string | undefined;
475
- };
476
- email: string;
477
- password?: string | undefined;
478
- }>;
110
+ }, z.core.$strip>;
479
111
  readonly SET_TAGS: z.ZodObject<{
480
112
  userId: z.ZodString;
481
- tags: z.ZodArray<z.ZodString, "many">;
482
- }, "strip", z.ZodTypeAny, {
483
- tags: string[];
484
- userId: string;
485
- }, {
486
- tags: string[];
487
- userId: string;
488
- }>;
113
+ tags: z.ZodArray<z.ZodString>;
114
+ }, z.core.$strip>;
489
115
  readonly SET_USERNAME: z.ZodObject<{
490
116
  userId: z.ZodString;
491
117
  username: z.ZodString;
492
- }, "strip", z.ZodTypeAny, {
493
- username: string;
494
- userId: string;
495
- }, {
496
- username: string;
497
- userId: string;
498
- }>;
118
+ }, z.core.$strip>;
499
119
  readonly ADD_EMAIL: z.ZodObject<{
500
120
  userId: z.ZodOptional<z.ZodString>;
501
121
  email: z.ZodString;
502
- }, "strip", z.ZodTypeAny, {
503
- email: string;
504
- userId?: string | undefined;
505
- }, {
506
- email: string;
507
- userId?: string | undefined;
508
- }>;
122
+ }, z.core.$strip>;
509
123
  readonly REMOVE_EMAIL: z.ZodObject<{
510
124
  userId: z.ZodOptional<z.ZodString>;
511
125
  email: z.ZodString;
512
- }, "strip", z.ZodTypeAny, {
513
- email: string;
514
- userId?: string | undefined;
515
- }, {
516
- email: string;
517
- userId?: string | undefined;
518
- }>;
126
+ }, z.core.$strip>;
519
127
  readonly SEND_ENROLLMENT_EMAIL: z.ZodObject<{
520
128
  email: z.ZodString;
521
- }, "strip", z.ZodTypeAny, {
522
- email: string;
523
- }, {
524
- email: string;
525
- }>;
129
+ }, z.core.$strip>;
526
130
  readonly SEND_VERIFICATION_EMAIL: z.ZodObject<{
527
131
  email: z.ZodOptional<z.ZodString>;
528
- }, "strip", z.ZodTypeAny, {
529
- email?: string | undefined;
530
- }, {
531
- email?: string | undefined;
532
- }>;
132
+ }, z.core.$strip>;
533
133
  readonly REMOVE_PRODUCT_REVIEWS: z.ZodObject<{
534
134
  userId: z.ZodString;
535
- }, "strip", z.ZodTypeAny, {
536
- userId: string;
537
- }, {
538
- userId: string;
539
- }>;
135
+ }, z.core.$strip>;
540
136
  readonly GET_ORDERS: z.ZodObject<{
541
137
  includeCarts: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
542
- status: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
138
+ status: z.ZodOptional<z.ZodArray<z.ZodString>>;
543
139
  queryString: z.ZodOptional<z.ZodString>;
544
140
  includeInactive: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
545
141
  sort: z.ZodOptional<z.ZodArray<z.ZodObject<{
546
142
  key: z.ZodString;
547
- value: z.ZodEnum<[string, ...string[]]>;
548
- }, "strip", z.ZodTypeAny, {
549
- key: string;
550
- value: string;
551
- }, {
552
- key: string;
553
- value: string;
554
- }>, "many">>;
143
+ value: z.ZodEnum<{
144
+ [x: string]: string;
145
+ }>;
146
+ }, z.core.$strip>>>;
555
147
  limit: z.ZodOptional<z.ZodNumber>;
556
148
  offset: z.ZodOptional<z.ZodNumber>;
557
149
  userId: z.ZodString;
558
- }, "strip", z.ZodTypeAny, {
559
- includeInactive: boolean;
560
- userId: string;
561
- includeCarts: boolean;
562
- sort?: {
563
- key: string;
564
- value: string;
565
- }[] | undefined;
566
- status?: string[] | undefined;
567
- queryString?: string | undefined;
568
- limit?: number | undefined;
569
- offset?: number | undefined;
570
- }, {
571
- userId: string;
572
- sort?: {
573
- key: string;
574
- value: string;
575
- }[] | undefined;
576
- status?: string[] | undefined;
577
- includeInactive?: boolean | undefined;
578
- queryString?: string | undefined;
579
- limit?: number | undefined;
580
- offset?: number | undefined;
581
- includeCarts?: boolean | undefined;
582
- }>;
150
+ }, z.core.$strip>;
583
151
  readonly GET_ENROLLMENTS: z.ZodObject<{
584
- status: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
152
+ status: z.ZodOptional<z.ZodArray<z.ZodString>>;
585
153
  queryString: z.ZodOptional<z.ZodString>;
586
154
  includeInactive: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
587
155
  sort: z.ZodOptional<z.ZodArray<z.ZodObject<{
588
156
  key: z.ZodString;
589
- value: z.ZodEnum<[string, ...string[]]>;
590
- }, "strip", z.ZodTypeAny, {
591
- key: string;
592
- value: string;
593
- }, {
594
- key: string;
595
- value: string;
596
- }>, "many">>;
157
+ value: z.ZodEnum<{
158
+ [x: string]: string;
159
+ }>;
160
+ }, z.core.$strip>>>;
597
161
  limit: z.ZodOptional<z.ZodNumber>;
598
162
  offset: z.ZodOptional<z.ZodNumber>;
599
163
  userId: z.ZodString;
600
- }, "strip", z.ZodTypeAny, {
601
- includeInactive: boolean;
602
- userId: string;
603
- sort?: {
604
- key: string;
605
- value: string;
606
- }[] | undefined;
607
- status?: string[] | undefined;
608
- queryString?: string | undefined;
609
- limit?: number | undefined;
610
- offset?: number | undefined;
611
- }, {
612
- userId: string;
613
- sort?: {
614
- key: string;
615
- value: string;
616
- }[] | undefined;
617
- status?: string[] | undefined;
618
- includeInactive?: boolean | undefined;
619
- queryString?: string | undefined;
620
- limit?: number | undefined;
621
- offset?: number | undefined;
622
- }>;
164
+ }, z.core.$strip>;
623
165
  readonly GET_QUOTATIONS: z.ZodObject<{
624
166
  queryString: z.ZodOptional<z.ZodString>;
625
167
  includeInactive: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
626
168
  sort: z.ZodOptional<z.ZodArray<z.ZodObject<{
627
169
  key: z.ZodString;
628
- value: z.ZodEnum<[string, ...string[]]>;
629
- }, "strip", z.ZodTypeAny, {
630
- key: string;
631
- value: string;
632
- }, {
633
- key: string;
634
- value: string;
635
- }>, "many">>;
170
+ value: z.ZodEnum<{
171
+ [x: string]: string;
172
+ }>;
173
+ }, z.core.$strip>>>;
636
174
  limit: z.ZodOptional<z.ZodNumber>;
637
175
  offset: z.ZodOptional<z.ZodNumber>;
638
176
  userId: z.ZodString;
639
- }, "strip", z.ZodTypeAny, {
640
- includeInactive: boolean;
641
- userId: string;
642
- sort?: {
643
- key: string;
644
- value: string;
645
- }[] | undefined;
646
- queryString?: string | undefined;
647
- limit?: number | undefined;
648
- offset?: number | undefined;
649
- }, {
650
- userId: string;
651
- sort?: {
652
- key: string;
653
- value: string;
654
- }[] | undefined;
655
- includeInactive?: boolean | undefined;
656
- queryString?: string | undefined;
657
- limit?: number | undefined;
658
- offset?: number | undefined;
659
- }>;
177
+ }, z.core.$strip>;
660
178
  readonly GET_BOOKMARKS: z.ZodObject<{
661
179
  userId: z.ZodString;
662
- }, "strip", z.ZodTypeAny, {
663
- userId: string;
664
- }, {
665
- userId: string;
666
- }>;
667
- readonly GET_CURRENT_USER: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
180
+ }, z.core.$strip>;
181
+ readonly GET_CURRENT_USER: z.ZodObject<{}, z.core.$strip>;
668
182
  readonly GET_PAYMENT_CREDENTIALS: z.ZodObject<{
669
183
  userId: z.ZodString;
670
- }, "strip", z.ZodTypeAny, {
671
- userId: string;
672
- }, {
673
- userId: string;
674
- }>;
184
+ }, z.core.$strip>;
675
185
  readonly GET_AVATAR: z.ZodObject<{
676
186
  userId: z.ZodString;
677
- }, "strip", z.ZodTypeAny, {
678
- userId: string;
679
- }, {
680
- userId: string;
681
- }>;
187
+ }, z.core.$strip>;
682
188
  readonly GET_REVIEWS: z.ZodObject<{
683
189
  sort: z.ZodOptional<z.ZodArray<z.ZodObject<{
684
190
  key: z.ZodString;
685
- value: z.ZodEnum<[string, ...string[]]>;
686
- }, "strip", z.ZodTypeAny, {
687
- key: string;
688
- value: string;
689
- }, {
690
- key: string;
691
- value: string;
692
- }>, "many">>;
191
+ value: z.ZodEnum<{
192
+ [x: string]: string;
193
+ }>;
194
+ }, z.core.$strip>>>;
693
195
  limit: z.ZodOptional<z.ZodNumber>;
694
196
  offset: z.ZodOptional<z.ZodNumber>;
695
197
  userId: z.ZodString;
696
- }, "strip", z.ZodTypeAny, {
697
- userId: string;
698
- sort?: {
699
- key: string;
700
- value: string;
701
- }[] | undefined;
702
- limit?: number | undefined;
703
- offset?: number | undefined;
704
- }, {
705
- userId: string;
706
- sort?: {
707
- key: string;
708
- value: string;
709
- }[] | undefined;
710
- limit?: number | undefined;
711
- offset?: number | undefined;
712
- }>;
198
+ }, z.core.$strip>;
713
199
  readonly GET_REVIEWS_COUNT: z.ZodObject<{
714
200
  userId: z.ZodString;
715
- }, "strip", z.ZodTypeAny, {
716
- userId: string;
717
- }, {
718
- userId: string;
719
- }>;
201
+ }, z.core.$strip>;
720
202
  };
721
203
  export declare const UsersManagementSchema: {
722
204
  includeGuests: z.ZodOptional<z.ZodBoolean>;
@@ -724,32 +206,46 @@ export declare const UsersManagementSchema: {
724
206
  lastLogin: z.ZodOptional<z.ZodObject<{
725
207
  start: z.ZodOptional<z.ZodString>;
726
208
  end: z.ZodOptional<z.ZodString>;
727
- }, "strip", z.ZodTypeAny, {
728
- start?: string | undefined;
729
- end?: string | undefined;
730
- }, {
731
- start?: string | undefined;
732
- end?: string | undefined;
733
- }>>;
209
+ }, z.core.$strip>>;
734
210
  includeCarts: z.ZodOptional<z.ZodBoolean>;
735
- status: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
211
+ status: z.ZodOptional<z.ZodArray<z.ZodString>>;
736
212
  from: z.ZodOptional<z.ZodString>;
737
213
  to: z.ZodOptional<z.ZodString>;
738
214
  queryString: z.ZodOptional<z.ZodString>;
739
215
  includeInactive: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
740
216
  sort: z.ZodOptional<z.ZodArray<z.ZodObject<{
741
217
  key: z.ZodString;
742
- value: z.ZodEnum<[string, ...string[]]>;
743
- }, "strip", z.ZodTypeAny, {
744
- key: string;
745
- value: string;
746
- }, {
747
- key: string;
748
- value: string;
749
- }>, "many">>;
218
+ value: z.ZodEnum<{
219
+ [x: string]: string;
220
+ }>;
221
+ }, z.core.$strip>>>;
750
222
  limit: z.ZodOptional<z.ZodNumber>;
751
223
  offset: z.ZodOptional<z.ZodNumber>;
752
- action: z.ZodEnum<["LIST", "COUNT", "GET", "CREATE", "UPDATE", "REMOVE", "ENROLL", "SET_TAGS", "SET_USERNAME", "ADD_EMAIL", "REMOVE_EMAIL", "SEND_ENROLLMENT_EMAIL", "SEND_VERIFICATION_EMAIL", "REMOVE_PRODUCT_REVIEWS", "GET_ORDERS", "GET_ENROLLMENTS", "GET_QUOTATIONS", "GET_BOOKMARKS", "GET_PAYMENT_CREDENTIALS", "GET_AVATAR", "GET_REVIEWS", "GET_REVIEWS_COUNT", "GET_CURRENT_USER"]>;
224
+ action: z.ZodEnum<{
225
+ GET: "GET";
226
+ CREATE: "CREATE";
227
+ UPDATE: "UPDATE";
228
+ REMOVE: "REMOVE";
229
+ LIST: "LIST";
230
+ COUNT: "COUNT";
231
+ GET_REVIEWS: "GET_REVIEWS";
232
+ ENROLL: "ENROLL";
233
+ SET_TAGS: "SET_TAGS";
234
+ SET_USERNAME: "SET_USERNAME";
235
+ ADD_EMAIL: "ADD_EMAIL";
236
+ REMOVE_EMAIL: "REMOVE_EMAIL";
237
+ SEND_ENROLLMENT_EMAIL: "SEND_ENROLLMENT_EMAIL";
238
+ SEND_VERIFICATION_EMAIL: "SEND_VERIFICATION_EMAIL";
239
+ REMOVE_PRODUCT_REVIEWS: "REMOVE_PRODUCT_REVIEWS";
240
+ GET_ORDERS: "GET_ORDERS";
241
+ GET_ENROLLMENTS: "GET_ENROLLMENTS";
242
+ GET_QUOTATIONS: "GET_QUOTATIONS";
243
+ GET_BOOKMARKS: "GET_BOOKMARKS";
244
+ GET_PAYMENT_CREDENTIALS: "GET_PAYMENT_CREDENTIALS";
245
+ GET_AVATAR: "GET_AVATAR";
246
+ GET_REVIEWS_COUNT: "GET_REVIEWS_COUNT";
247
+ GET_CURRENT_USER: "GET_CURRENT_USER";
248
+ }>;
753
249
  userId: z.ZodOptional<z.ZodString>;
754
250
  username: z.ZodOptional<z.ZodString>;
755
251
  email: z.ZodOptional<z.ZodString>;
@@ -767,55 +263,9 @@ export declare const UsersManagementSchema: {
767
263
  city: z.ZodOptional<z.ZodString>;
768
264
  regionCode: z.ZodOptional<z.ZodString>;
769
265
  countryCode: z.ZodOptional<z.ZodString>;
770
- }, "strip", z.ZodTypeAny, {
771
- countryCode?: string | undefined;
772
- firstName?: string | undefined;
773
- lastName?: string | undefined;
774
- addressLine?: string | undefined;
775
- addressLine2?: string | undefined;
776
- postalCode?: string | undefined;
777
- city?: string | undefined;
778
- regionCode?: string | undefined;
779
- }, {
780
- countryCode?: string | undefined;
781
- firstName?: string | undefined;
782
- lastName?: string | undefined;
783
- addressLine?: string | undefined;
784
- addressLine2?: string | undefined;
785
- postalCode?: string | undefined;
786
- city?: string | undefined;
787
- regionCode?: string | undefined;
788
- }>>;
789
- }, "strip", z.ZodTypeAny, {
790
- address?: {
791
- countryCode?: string | undefined;
792
- firstName?: string | undefined;
793
- lastName?: string | undefined;
794
- addressLine?: string | undefined;
795
- addressLine2?: string | undefined;
796
- postalCode?: string | undefined;
797
- city?: string | undefined;
798
- regionCode?: string | undefined;
799
- } | undefined;
800
- displayName?: string | undefined;
801
- birthday?: string | undefined;
802
- phoneMobile?: string | undefined;
803
- }, {
804
- address?: {
805
- countryCode?: string | undefined;
806
- firstName?: string | undefined;
807
- lastName?: string | undefined;
808
- addressLine?: string | undefined;
809
- addressLine2?: string | undefined;
810
- postalCode?: string | undefined;
811
- city?: string | undefined;
812
- regionCode?: string | undefined;
813
- } | undefined;
814
- displayName?: string | undefined;
815
- birthday?: string | undefined;
816
- phoneMobile?: string | undefined;
817
- }>>;
818
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
266
+ }, z.core.$strip>>;
267
+ }, z.core.$strip>>;
268
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
819
269
  removeUserReviews: z.ZodOptional<z.ZodBoolean>;
820
270
  };
821
271
  export declare const UsersManagementZodSchema: z.ZodObject<{
@@ -824,32 +274,46 @@ export declare const UsersManagementZodSchema: z.ZodObject<{
824
274
  lastLogin: z.ZodOptional<z.ZodObject<{
825
275
  start: z.ZodOptional<z.ZodString>;
826
276
  end: z.ZodOptional<z.ZodString>;
827
- }, "strip", z.ZodTypeAny, {
828
- start?: string | undefined;
829
- end?: string | undefined;
830
- }, {
831
- start?: string | undefined;
832
- end?: string | undefined;
833
- }>>;
277
+ }, z.core.$strip>>;
834
278
  includeCarts: z.ZodOptional<z.ZodBoolean>;
835
- status: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
279
+ status: z.ZodOptional<z.ZodArray<z.ZodString>>;
836
280
  from: z.ZodOptional<z.ZodString>;
837
281
  to: z.ZodOptional<z.ZodString>;
838
282
  queryString: z.ZodOptional<z.ZodString>;
839
283
  includeInactive: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
840
284
  sort: z.ZodOptional<z.ZodArray<z.ZodObject<{
841
285
  key: z.ZodString;
842
- value: z.ZodEnum<[string, ...string[]]>;
843
- }, "strip", z.ZodTypeAny, {
844
- key: string;
845
- value: string;
846
- }, {
847
- key: string;
848
- value: string;
849
- }>, "many">>;
286
+ value: z.ZodEnum<{
287
+ [x: string]: string;
288
+ }>;
289
+ }, z.core.$strip>>>;
850
290
  limit: z.ZodOptional<z.ZodNumber>;
851
291
  offset: z.ZodOptional<z.ZodNumber>;
852
- action: z.ZodEnum<["LIST", "COUNT", "GET", "CREATE", "UPDATE", "REMOVE", "ENROLL", "SET_TAGS", "SET_USERNAME", "ADD_EMAIL", "REMOVE_EMAIL", "SEND_ENROLLMENT_EMAIL", "SEND_VERIFICATION_EMAIL", "REMOVE_PRODUCT_REVIEWS", "GET_ORDERS", "GET_ENROLLMENTS", "GET_QUOTATIONS", "GET_BOOKMARKS", "GET_PAYMENT_CREDENTIALS", "GET_AVATAR", "GET_REVIEWS", "GET_REVIEWS_COUNT", "GET_CURRENT_USER"]>;
292
+ action: z.ZodEnum<{
293
+ GET: "GET";
294
+ CREATE: "CREATE";
295
+ UPDATE: "UPDATE";
296
+ REMOVE: "REMOVE";
297
+ LIST: "LIST";
298
+ COUNT: "COUNT";
299
+ GET_REVIEWS: "GET_REVIEWS";
300
+ ENROLL: "ENROLL";
301
+ SET_TAGS: "SET_TAGS";
302
+ SET_USERNAME: "SET_USERNAME";
303
+ ADD_EMAIL: "ADD_EMAIL";
304
+ REMOVE_EMAIL: "REMOVE_EMAIL";
305
+ SEND_ENROLLMENT_EMAIL: "SEND_ENROLLMENT_EMAIL";
306
+ SEND_VERIFICATION_EMAIL: "SEND_VERIFICATION_EMAIL";
307
+ REMOVE_PRODUCT_REVIEWS: "REMOVE_PRODUCT_REVIEWS";
308
+ GET_ORDERS: "GET_ORDERS";
309
+ GET_ENROLLMENTS: "GET_ENROLLMENTS";
310
+ GET_QUOTATIONS: "GET_QUOTATIONS";
311
+ GET_BOOKMARKS: "GET_BOOKMARKS";
312
+ GET_PAYMENT_CREDENTIALS: "GET_PAYMENT_CREDENTIALS";
313
+ GET_AVATAR: "GET_AVATAR";
314
+ GET_REVIEWS_COUNT: "GET_REVIEWS_COUNT";
315
+ GET_CURRENT_USER: "GET_CURRENT_USER";
316
+ }>;
853
317
  userId: z.ZodOptional<z.ZodString>;
854
318
  username: z.ZodOptional<z.ZodString>;
855
319
  email: z.ZodOptional<z.ZodString>;
@@ -867,139 +331,11 @@ export declare const UsersManagementZodSchema: z.ZodObject<{
867
331
  city: z.ZodOptional<z.ZodString>;
868
332
  regionCode: z.ZodOptional<z.ZodString>;
869
333
  countryCode: z.ZodOptional<z.ZodString>;
870
- }, "strip", z.ZodTypeAny, {
871
- countryCode?: string | undefined;
872
- firstName?: string | undefined;
873
- lastName?: string | undefined;
874
- addressLine?: string | undefined;
875
- addressLine2?: string | undefined;
876
- postalCode?: string | undefined;
877
- city?: string | undefined;
878
- regionCode?: string | undefined;
879
- }, {
880
- countryCode?: string | undefined;
881
- firstName?: string | undefined;
882
- lastName?: string | undefined;
883
- addressLine?: string | undefined;
884
- addressLine2?: string | undefined;
885
- postalCode?: string | undefined;
886
- city?: string | undefined;
887
- regionCode?: string | undefined;
888
- }>>;
889
- }, "strip", z.ZodTypeAny, {
890
- address?: {
891
- countryCode?: string | undefined;
892
- firstName?: string | undefined;
893
- lastName?: string | undefined;
894
- addressLine?: string | undefined;
895
- addressLine2?: string | undefined;
896
- postalCode?: string | undefined;
897
- city?: string | undefined;
898
- regionCode?: string | undefined;
899
- } | undefined;
900
- displayName?: string | undefined;
901
- birthday?: string | undefined;
902
- phoneMobile?: string | undefined;
903
- }, {
904
- address?: {
905
- countryCode?: string | undefined;
906
- firstName?: string | undefined;
907
- lastName?: string | undefined;
908
- addressLine?: string | undefined;
909
- addressLine2?: string | undefined;
910
- postalCode?: string | undefined;
911
- city?: string | undefined;
912
- regionCode?: string | undefined;
913
- } | undefined;
914
- displayName?: string | undefined;
915
- birthday?: string | undefined;
916
- phoneMobile?: string | undefined;
917
- }>>;
918
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
334
+ }, z.core.$strip>>;
335
+ }, z.core.$strip>>;
336
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
919
337
  removeUserReviews: z.ZodOptional<z.ZodBoolean>;
920
- }, "strip", z.ZodTypeAny, {
921
- includeInactive: boolean;
922
- action: "GET" | "CREATE" | "UPDATE" | "REMOVE" | "LIST" | "COUNT" | "GET_REVIEWS" | "ENROLL" | "SET_TAGS" | "SET_USERNAME" | "ADD_EMAIL" | "REMOVE_EMAIL" | "SEND_ENROLLMENT_EMAIL" | "SEND_VERIFICATION_EMAIL" | "REMOVE_PRODUCT_REVIEWS" | "GET_ORDERS" | "GET_ENROLLMENTS" | "GET_QUOTATIONS" | "GET_BOOKMARKS" | "GET_PAYMENT_CREDENTIALS" | "GET_AVATAR" | "GET_REVIEWS_COUNT" | "GET_CURRENT_USER";
923
- tags?: string[] | undefined;
924
- sort?: {
925
- key: string;
926
- value: string;
927
- }[] | undefined;
928
- status?: string[] | undefined;
929
- lastLogin?: {
930
- start?: string | undefined;
931
- end?: string | undefined;
932
- } | undefined;
933
- profile?: {
934
- address?: {
935
- countryCode?: string | undefined;
936
- firstName?: string | undefined;
937
- lastName?: string | undefined;
938
- addressLine?: string | undefined;
939
- addressLine2?: string | undefined;
940
- postalCode?: string | undefined;
941
- city?: string | undefined;
942
- regionCode?: string | undefined;
943
- } | undefined;
944
- displayName?: string | undefined;
945
- birthday?: string | undefined;
946
- phoneMobile?: string | undefined;
947
- } | undefined;
948
- username?: string | undefined;
949
- includeGuests?: boolean | undefined;
950
- userId?: string | undefined;
951
- queryString?: string | undefined;
952
- limit?: number | undefined;
953
- offset?: number | undefined;
954
- includeCarts?: boolean | undefined;
955
- emailVerified?: boolean | undefined;
956
- email?: string | undefined;
957
- password?: string | undefined;
958
- removeUserReviews?: boolean | undefined;
959
- from?: string | undefined;
960
- to?: string | undefined;
961
- }, {
962
- action: "GET" | "CREATE" | "UPDATE" | "REMOVE" | "LIST" | "COUNT" | "GET_REVIEWS" | "ENROLL" | "SET_TAGS" | "SET_USERNAME" | "ADD_EMAIL" | "REMOVE_EMAIL" | "SEND_ENROLLMENT_EMAIL" | "SEND_VERIFICATION_EMAIL" | "REMOVE_PRODUCT_REVIEWS" | "GET_ORDERS" | "GET_ENROLLMENTS" | "GET_QUOTATIONS" | "GET_BOOKMARKS" | "GET_PAYMENT_CREDENTIALS" | "GET_AVATAR" | "GET_REVIEWS_COUNT" | "GET_CURRENT_USER";
963
- tags?: string[] | undefined;
964
- sort?: {
965
- key: string;
966
- value: string;
967
- }[] | undefined;
968
- status?: string[] | undefined;
969
- lastLogin?: {
970
- start?: string | undefined;
971
- end?: string | undefined;
972
- } | undefined;
973
- profile?: {
974
- address?: {
975
- countryCode?: string | undefined;
976
- firstName?: string | undefined;
977
- lastName?: string | undefined;
978
- addressLine?: string | undefined;
979
- addressLine2?: string | undefined;
980
- postalCode?: string | undefined;
981
- city?: string | undefined;
982
- regionCode?: string | undefined;
983
- } | undefined;
984
- displayName?: string | undefined;
985
- birthday?: string | undefined;
986
- phoneMobile?: string | undefined;
987
- } | undefined;
988
- username?: string | undefined;
989
- includeGuests?: boolean | undefined;
990
- includeInactive?: boolean | undefined;
991
- userId?: string | undefined;
992
- queryString?: string | undefined;
993
- limit?: number | undefined;
994
- offset?: number | undefined;
995
- includeCarts?: boolean | undefined;
996
- emailVerified?: boolean | undefined;
997
- email?: string | undefined;
998
- password?: string | undefined;
999
- removeUserReviews?: boolean | undefined;
1000
- from?: string | undefined;
1001
- to?: string | undefined;
1002
- }>;
338
+ }, z.core.$strip>;
1003
339
  export type UsersManagementParams = z.infer<typeof UsersManagementZodSchema>;
1004
340
  export type ActionName = keyof typeof actionValidators;
1005
341
  export type Params<T extends ActionName> = z.infer<(typeof actionValidators)[T]>;