@mercurjs/core 2.3.5-canary.0 → 2.3.6-canary.0
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.
- package/.medusa/server/src/api/admin/collections/validators.d.ts +12 -185
- package/.medusa/server/src/api/admin/collections/validators.js +3 -3
- package/.medusa/server/src/api/admin/commission-rates/validators.d.ts +21 -226
- package/.medusa/server/src/api/admin/customer-groups/validators.d.ts +6 -26
- package/.medusa/server/src/api/admin/members/validators.d.ts +1 -18
- package/.medusa/server/src/api/admin/offers/validators.d.ts +22 -261
- package/.medusa/server/src/api/admin/order-groups/validators.d.ts +9 -94
- package/.medusa/server/src/api/admin/orders/validators.d.ts +162 -1
- package/.medusa/server/src/api/admin/payouts/validators.d.ts +7 -86
- package/.medusa/server/src/api/admin/product-attributes/validators.d.ts +45 -398
- package/.medusa/server/src/api/admin/product-attributes/validators.js +8 -8
- package/.medusa/server/src/api/admin/product-categories/middlewares.js +4 -2
- package/.medusa/server/src/api/admin/product-categories/validators.d.ts +41 -376
- package/.medusa/server/src/api/admin/product-categories/validators.js +3 -3
- package/.medusa/server/src/api/admin/product-changes/validators.d.ts +2 -10
- package/.medusa/server/src/api/admin/products/middlewares.js +4 -2
- package/.medusa/server/src/api/admin/products/validators.d.ts +128 -1702
- package/.medusa/server/src/api/admin/products/validators.js +9 -9
- package/.medusa/server/src/api/admin/promotions/[id]/cost/validators.d.ts +6 -8
- package/.medusa/server/src/api/admin/reservations/validators.d.ts +2 -39
- package/.medusa/server/src/api/admin/reviews/validators.d.ts +24 -46
- package/.medusa/server/src/api/admin/sellers/validators.d.ts +32 -358
- package/.medusa/server/src/api/admin/sellers/validators.js +4 -4
- package/.medusa/server/src/api/store/carts/[id]/complete/validators.d.ts +1 -5
- package/.medusa/server/src/api/store/carts/[id]/line-items/validators.d.ts +1 -17
- package/.medusa/server/src/api/store/carts/[id]/line-items/validators.js +3 -5
- package/.medusa/server/src/api/store/offers/validators.d.ts +9 -112
- package/.medusa/server/src/api/store/order-groups/validators.d.ts +5 -80
- package/.medusa/server/src/api/store/product-attributes/validators.d.ts +19 -175
- package/.medusa/server/src/api/store/product-categories/validators.d.ts +21 -184
- package/.medusa/server/src/api/store/products/validators.d.ts +25 -210
- package/.medusa/server/src/api/store/reviews/validators.d.ts +7 -34
- package/.medusa/server/src/api/store/sellers/validators.d.ts +7 -92
- package/.medusa/server/src/api/vendor/campaigns/validators.d.ts +28 -165
- package/.medusa/server/src/api/vendor/campaigns/validators.js +4 -4
- package/.medusa/server/src/api/vendor/claims/validators.d.ts +23 -276
- package/.medusa/server/src/api/vendor/collections/validators.d.ts +8 -117
- package/.medusa/server/src/api/vendor/currencies/validators.d.ts +5 -32
- package/.medusa/server/src/api/vendor/customer-groups/[id]/customers/route.js +10 -9
- package/.medusa/server/src/api/vendor/customer-groups/validators.d.ts +11 -108
- package/.medusa/server/src/api/vendor/customer-groups/validators.js +3 -3
- package/.medusa/server/src/api/vendor/customers/helpers.d.ts +1 -1
- package/.medusa/server/src/api/vendor/customers/helpers.js +12 -6
- package/.medusa/server/src/api/vendor/customers/validators.d.ts +11 -102
- package/.medusa/server/src/api/vendor/exchanges/validators.d.ts +17 -228
- package/.medusa/server/src/api/vendor/fulfillment-providers/validators.d.ts +4 -27
- package/.medusa/server/src/api/vendor/fulfillment-sets/validators.d.ts +18 -290
- package/.medusa/server/src/api/vendor/fulfillment-sets/validators.js +3 -3
- package/.medusa/server/src/api/vendor/inventory-items/validators.d.ts +48 -560
- package/.medusa/server/src/api/vendor/inventory-items/validators.js +3 -3
- package/.medusa/server/src/api/vendor/members/validators.d.ts +2 -18
- package/.medusa/server/src/api/vendor/offers/validators.d.ts +34 -497
- package/.medusa/server/src/api/vendor/order-edits/validators.d.ts +8 -118
- package/.medusa/server/src/api/vendor/order-edits/validators.js +6 -6
- package/.medusa/server/src/api/vendor/orders/validators.d.ts +17 -170
- package/.medusa/server/src/api/vendor/payments/validators.d.ts +11 -121
- package/.medusa/server/src/api/vendor/payout-accounts/validators.d.ts +4 -32
- package/.medusa/server/src/api/vendor/payout-accounts/validators.js +5 -5
- package/.medusa/server/src/api/vendor/payouts/validators.d.ts +5 -80
- package/.medusa/server/src/api/vendor/price-lists/validators.d.ts +21 -262
- package/.medusa/server/src/api/vendor/price-preferences/validators.d.ts +5 -30
- package/.medusa/server/src/api/vendor/product-attributes/validators.d.ts +33 -273
- package/.medusa/server/src/api/vendor/product-attributes/validators.js +5 -5
- package/.medusa/server/src/api/vendor/product-categories/validators.d.ts +34 -275
- package/.medusa/server/src/api/vendor/product-tags/validators.d.ts +12 -48
- package/.medusa/server/src/api/vendor/product-types/validators.d.ts +4 -27
- package/.medusa/server/src/api/vendor/product-variants/middlewares.js +7 -2
- package/.medusa/server/src/api/vendor/product-variants/validators.d.ts +38 -364
- package/.medusa/server/src/api/vendor/products/middlewares.js +19 -3
- package/.medusa/server/src/api/vendor/products/validators.d.ts +102 -1012
- package/.medusa/server/src/api/vendor/products/validators.js +13 -13
- package/.medusa/server/src/api/vendor/promotions/validators.d.ts +104 -1109
- package/.medusa/server/src/api/vendor/promotions/validators.js +3 -3
- package/.medusa/server/src/api/vendor/refund-reasons/validators.d.ts +5 -82
- package/.medusa/server/src/api/vendor/regions/validators.d.ts +7 -88
- package/.medusa/server/src/api/vendor/reservations/validators.d.ts +14 -207
- package/.medusa/server/src/api/vendor/return-reasons/validators.d.ts +9 -94
- package/.medusa/server/src/api/vendor/returns/validators.d.ts +26 -306
- package/.medusa/server/src/api/vendor/returns/validators.js +8 -8
- package/.medusa/server/src/api/vendor/reviews/validators.d.ts +19 -36
- package/.medusa/server/src/api/vendor/sales-channels/validators.d.ts +5 -32
- package/.medusa/server/src/api/vendor/sellers/validators.d.ts +17 -249
- package/.medusa/server/src/api/vendor/sellers/validators.js +4 -4
- package/.medusa/server/src/api/vendor/shipping-option-types/validators.d.ts +8 -91
- package/.medusa/server/src/api/vendor/shipping-options/validators.d.ts +59 -730
- package/.medusa/server/src/api/vendor/shipping-options/validators.js +5 -5
- package/.medusa/server/src/api/vendor/shipping-profiles/validators.d.ts +5 -86
- package/.medusa/server/src/api/vendor/stock-locations/validators.d.ts +14 -209
- package/.medusa/server/src/api/vendor/stock-locations/validators.js +3 -3
- package/.medusa/server/src/api/vendor/stores/query-config.d.ts +1 -0
- package/.medusa/server/src/api/vendor/stores/query-config.js +7 -4
- package/.medusa/server/src/api/vendor/stores/validators.d.ts +4 -27
- package/.medusa/server/src/patches/manifest.js +2 -2
- package/.medusa/server/src/utils/disable-medusa-middlewares.d.ts +2 -0
- package/.medusa/server/src/utils/disable-medusa-middlewares.js +35 -10
- package/.medusa/server/src/workflows/offer/workflows/index.d.ts +1 -0
- package/.medusa/server/src/workflows/offer/workflows/index.js +2 -1
- package/.medusa/server/src/workflows/offer/workflows/update-offers.js +9 -138
- package/.medusa/server/src/workflows/offer/workflows/upsert-offer-prices.d.ts +14 -0
- package/.medusa/server/src/workflows/offer/workflows/upsert-offer-prices.js +130 -0
- package/package.json +17 -17
|
@@ -2,11 +2,7 @@ import { z } from "zod";
|
|
|
2
2
|
export type AdminGetPayoutParamsType = z.infer<typeof AdminGetPayoutParams>;
|
|
3
3
|
export declare const AdminGetPayoutParams: z.ZodObject<{
|
|
4
4
|
fields: z.ZodOptional<z.ZodString>;
|
|
5
|
-
}, z.core.$strip
|
|
6
|
-
fields?: string | undefined;
|
|
7
|
-
}, {
|
|
8
|
-
fields?: string | undefined;
|
|
9
|
-
}>;
|
|
5
|
+
}, z.core.$strip>;
|
|
10
6
|
export type AdminGetPayoutsParamsType = z.infer<typeof AdminGetPayoutsParams>;
|
|
11
7
|
export declare const AdminGetPayoutsParams: z.ZodObject<{
|
|
12
8
|
fields: z.ZodOptional<z.ZodString>;
|
|
@@ -14,10 +10,9 @@ export declare const AdminGetPayoutsParams: z.ZodObject<{
|
|
|
14
10
|
limit: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDefault<z.ZodOptional<z.ZodNumber>>>;
|
|
15
11
|
order: z.ZodOptional<z.ZodString> | z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
16
12
|
with_deleted: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodBoolean>>;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
account_id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
13
|
+
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
14
|
+
status: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
15
|
+
account_id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
21
16
|
created_at: z.ZodOptional<z.ZodUnion<readonly [any, z.ZodObject<{
|
|
22
17
|
$eq: any;
|
|
23
18
|
$ne: any;
|
|
@@ -31,33 +26,7 @@ export declare const AdminGetPayoutsParams: z.ZodObject<{
|
|
|
31
26
|
$gte: any;
|
|
32
27
|
$lt: any;
|
|
33
28
|
$lte: any;
|
|
34
|
-
}, z.core.$strip
|
|
35
|
-
$nin?: any;
|
|
36
|
-
$eq?: any;
|
|
37
|
-
$ne?: any;
|
|
38
|
-
$in?: any;
|
|
39
|
-
$like?: any;
|
|
40
|
-
$ilike?: any;
|
|
41
|
-
$re?: any;
|
|
42
|
-
$contains?: any;
|
|
43
|
-
$gt?: any;
|
|
44
|
-
$gte?: any;
|
|
45
|
-
$lt?: any;
|
|
46
|
-
$lte?: any;
|
|
47
|
-
}, {
|
|
48
|
-
$nin?: any;
|
|
49
|
-
$eq?: any;
|
|
50
|
-
$ne?: any;
|
|
51
|
-
$in?: any;
|
|
52
|
-
$like?: any;
|
|
53
|
-
$ilike?: any;
|
|
54
|
-
$re?: any;
|
|
55
|
-
$contains?: any;
|
|
56
|
-
$gt?: any;
|
|
57
|
-
$gte?: any;
|
|
58
|
-
$lt?: any;
|
|
59
|
-
$lte?: any;
|
|
60
|
-
}>]>>;
|
|
29
|
+
}, z.core.$strip>]>>;
|
|
61
30
|
updated_at: z.ZodOptional<z.ZodUnion<readonly [any, z.ZodObject<{
|
|
62
31
|
$eq: any;
|
|
63
32
|
$ne: any;
|
|
@@ -71,53 +40,5 @@ export declare const AdminGetPayoutsParams: z.ZodObject<{
|
|
|
71
40
|
$gte: any;
|
|
72
41
|
$lt: any;
|
|
73
42
|
$lte: any;
|
|
74
|
-
}, z.core.$strip
|
|
75
|
-
|
|
76
|
-
$eq?: any;
|
|
77
|
-
$ne?: any;
|
|
78
|
-
$in?: any;
|
|
79
|
-
$like?: any;
|
|
80
|
-
$ilike?: any;
|
|
81
|
-
$re?: any;
|
|
82
|
-
$contains?: any;
|
|
83
|
-
$gt?: any;
|
|
84
|
-
$gte?: any;
|
|
85
|
-
$lt?: any;
|
|
86
|
-
$lte?: any;
|
|
87
|
-
}, {
|
|
88
|
-
$nin?: any;
|
|
89
|
-
$eq?: any;
|
|
90
|
-
$ne?: any;
|
|
91
|
-
$in?: any;
|
|
92
|
-
$like?: any;
|
|
93
|
-
$ilike?: any;
|
|
94
|
-
$re?: any;
|
|
95
|
-
$contains?: any;
|
|
96
|
-
$gt?: any;
|
|
97
|
-
$gte?: any;
|
|
98
|
-
$lt?: any;
|
|
99
|
-
$lte?: any;
|
|
100
|
-
}>]>>;
|
|
101
|
-
}, "strip", z.ZodTypeAny, {
|
|
102
|
-
order?: string | undefined;
|
|
103
|
-
id?: string | string[] | undefined;
|
|
104
|
-
status?: string | string[] | undefined;
|
|
105
|
-
created_at?: any;
|
|
106
|
-
updated_at?: any;
|
|
107
|
-
fields?: string | undefined;
|
|
108
|
-
offset?: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDefault<z.ZodOptional<z.ZodNumber>>>;
|
|
109
|
-
limit?: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDefault<z.ZodOptional<z.ZodNumber>>>;
|
|
110
|
-
with_deleted?: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodBoolean>>;
|
|
111
|
-
account_id?: string | string[] | undefined;
|
|
112
|
-
}, {
|
|
113
|
-
order?: string | undefined;
|
|
114
|
-
id?: string | string[] | undefined;
|
|
115
|
-
status?: string | string[] | undefined;
|
|
116
|
-
created_at?: any;
|
|
117
|
-
updated_at?: any;
|
|
118
|
-
fields?: string | undefined;
|
|
119
|
-
offset?: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDefault<z.ZodOptional<z.ZodNumber>>>;
|
|
120
|
-
limit?: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDefault<z.ZodOptional<z.ZodNumber>>>;
|
|
121
|
-
with_deleted?: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodBoolean>>;
|
|
122
|
-
account_id?: string | string[] | undefined;
|
|
123
|
-
}>;
|
|
43
|
+
}, z.core.$strip>]>>;
|
|
44
|
+
}, z.core.$strip>;
|
|
@@ -4,25 +4,21 @@ import { AdditionalData } from "@medusajs/framework/types";
|
|
|
4
4
|
export type AdminGetProductAttributeParamsType = z.infer<typeof AdminGetProductAttributeParams>;
|
|
5
5
|
export declare const AdminGetProductAttributeParams: z.ZodObject<{
|
|
6
6
|
fields: z.ZodOptional<z.ZodString>;
|
|
7
|
-
}, z.core.$strip
|
|
8
|
-
fields?: string | undefined;
|
|
9
|
-
}, {
|
|
10
|
-
fields?: string | undefined;
|
|
11
|
-
}>;
|
|
7
|
+
}, z.core.$strip>;
|
|
12
8
|
export type AdminGetProductAttributesParamsType = z.infer<typeof AdminGetProductAttributesParams>;
|
|
13
|
-
export declare const AdminGetProductAttributesParams: z.ZodObject<{
|
|
9
|
+
export declare const AdminGetProductAttributesParams: z.ZodObject<{
|
|
14
10
|
[x: string]: any;
|
|
15
11
|
$and: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodObject<{
|
|
16
12
|
q: z.ZodOptional<z.ZodString>;
|
|
17
|
-
id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString
|
|
18
|
-
handle: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString
|
|
19
|
-
type: z.ZodOptional<z.ZodUnion<[z.
|
|
20
|
-
is_required:
|
|
21
|
-
is_variant_axis:
|
|
22
|
-
is_filterable:
|
|
23
|
-
is_active:
|
|
24
|
-
product_id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString
|
|
25
|
-
category_id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString
|
|
13
|
+
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
14
|
+
handle: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
15
|
+
type: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<typeof AttributeType>, z.ZodArray<z.ZodEnum<typeof AttributeType>>]>>;
|
|
16
|
+
is_required: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>, z.ZodTransform<boolean, string | boolean>>>;
|
|
17
|
+
is_variant_axis: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>, z.ZodTransform<boolean, string | boolean>>>;
|
|
18
|
+
is_filterable: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>, z.ZodTransform<boolean, string | boolean>>>;
|
|
19
|
+
is_active: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>, z.ZodTransform<boolean, string | boolean>>>;
|
|
20
|
+
product_id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>, z.ZodNull]>>;
|
|
21
|
+
category_id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
26
22
|
created_at: z.ZodOptional<z.ZodUnion<readonly [any, z.ZodObject<{
|
|
27
23
|
$eq: any;
|
|
28
24
|
$ne: any;
|
|
@@ -36,33 +32,7 @@ export declare const AdminGetProductAttributesParams: z.ZodObject<{} & {
|
|
|
36
32
|
$gte: any;
|
|
37
33
|
$lt: any;
|
|
38
34
|
$lte: any;
|
|
39
|
-
}, z.core.$strip
|
|
40
|
-
$nin?: any;
|
|
41
|
-
$eq?: any;
|
|
42
|
-
$ne?: any;
|
|
43
|
-
$in?: any;
|
|
44
|
-
$like?: any;
|
|
45
|
-
$ilike?: any;
|
|
46
|
-
$re?: any;
|
|
47
|
-
$contains?: any;
|
|
48
|
-
$gt?: any;
|
|
49
|
-
$gte?: any;
|
|
50
|
-
$lt?: any;
|
|
51
|
-
$lte?: any;
|
|
52
|
-
}, {
|
|
53
|
-
$nin?: any;
|
|
54
|
-
$eq?: any;
|
|
55
|
-
$ne?: any;
|
|
56
|
-
$in?: any;
|
|
57
|
-
$like?: any;
|
|
58
|
-
$ilike?: any;
|
|
59
|
-
$re?: any;
|
|
60
|
-
$contains?: any;
|
|
61
|
-
$gt?: any;
|
|
62
|
-
$gte?: any;
|
|
63
|
-
$lt?: any;
|
|
64
|
-
$lte?: any;
|
|
65
|
-
}>]>>;
|
|
35
|
+
}, z.core.$strip>]>>;
|
|
66
36
|
updated_at: z.ZodOptional<z.ZodUnion<readonly [any, z.ZodObject<{
|
|
67
37
|
$eq: any;
|
|
68
38
|
$ne: any;
|
|
@@ -76,73 +46,19 @@ export declare const AdminGetProductAttributesParams: z.ZodObject<{} & {
|
|
|
76
46
|
$gte: any;
|
|
77
47
|
$lt: any;
|
|
78
48
|
$lte: any;
|
|
79
|
-
}, z.core.$strip
|
|
80
|
-
|
|
81
|
-
$eq?: any;
|
|
82
|
-
$ne?: any;
|
|
83
|
-
$in?: any;
|
|
84
|
-
$like?: any;
|
|
85
|
-
$ilike?: any;
|
|
86
|
-
$re?: any;
|
|
87
|
-
$contains?: any;
|
|
88
|
-
$gt?: any;
|
|
89
|
-
$gte?: any;
|
|
90
|
-
$lt?: any;
|
|
91
|
-
$lte?: any;
|
|
92
|
-
}, {
|
|
93
|
-
$nin?: any;
|
|
94
|
-
$eq?: any;
|
|
95
|
-
$ne?: any;
|
|
96
|
-
$in?: any;
|
|
97
|
-
$like?: any;
|
|
98
|
-
$ilike?: any;
|
|
99
|
-
$re?: any;
|
|
100
|
-
$contains?: any;
|
|
101
|
-
$gt?: any;
|
|
102
|
-
$gte?: any;
|
|
103
|
-
$lt?: any;
|
|
104
|
-
$lte?: any;
|
|
105
|
-
}>]>>;
|
|
106
|
-
}, "strip", z.ZodTypeAny, {
|
|
107
|
-
[x: string]: any;
|
|
108
|
-
q?: unknown;
|
|
109
|
-
id?: unknown;
|
|
110
|
-
handle?: unknown;
|
|
111
|
-
type?: unknown;
|
|
112
|
-
is_required?: unknown;
|
|
113
|
-
is_variant_axis?: unknown;
|
|
114
|
-
is_filterable?: unknown;
|
|
115
|
-
is_active?: unknown;
|
|
116
|
-
product_id?: unknown;
|
|
117
|
-
category_id?: unknown;
|
|
118
|
-
created_at?: unknown;
|
|
119
|
-
updated_at?: unknown;
|
|
120
|
-
}, {
|
|
121
|
-
[x: string]: any;
|
|
122
|
-
q?: unknown;
|
|
123
|
-
id?: unknown;
|
|
124
|
-
handle?: unknown;
|
|
125
|
-
type?: unknown;
|
|
126
|
-
is_required?: unknown;
|
|
127
|
-
is_variant_axis?: unknown;
|
|
128
|
-
is_filterable?: unknown;
|
|
129
|
-
is_active?: unknown;
|
|
130
|
-
product_id?: unknown;
|
|
131
|
-
category_id?: unknown;
|
|
132
|
-
created_at?: unknown;
|
|
133
|
-
updated_at?: unknown;
|
|
134
|
-
}>, "many">>>;
|
|
49
|
+
}, z.core.$strip>]>>;
|
|
50
|
+
}, z.core.$strip>>>>;
|
|
135
51
|
$or: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodObject<{
|
|
136
52
|
q: z.ZodOptional<z.ZodString>;
|
|
137
|
-
id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString
|
|
138
|
-
handle: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString
|
|
139
|
-
type: z.ZodOptional<z.ZodUnion<[z.
|
|
140
|
-
is_required:
|
|
141
|
-
is_variant_axis:
|
|
142
|
-
is_filterable:
|
|
143
|
-
is_active:
|
|
144
|
-
product_id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString
|
|
145
|
-
category_id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString
|
|
53
|
+
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
54
|
+
handle: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
55
|
+
type: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<typeof AttributeType>, z.ZodArray<z.ZodEnum<typeof AttributeType>>]>>;
|
|
56
|
+
is_required: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>, z.ZodTransform<boolean, string | boolean>>>;
|
|
57
|
+
is_variant_axis: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>, z.ZodTransform<boolean, string | boolean>>>;
|
|
58
|
+
is_filterable: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>, z.ZodTransform<boolean, string | boolean>>>;
|
|
59
|
+
is_active: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>, z.ZodTransform<boolean, string | boolean>>>;
|
|
60
|
+
product_id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>, z.ZodNull]>>;
|
|
61
|
+
category_id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
146
62
|
created_at: z.ZodOptional<z.ZodUnion<readonly [any, z.ZodObject<{
|
|
147
63
|
$eq: any;
|
|
148
64
|
$ne: any;
|
|
@@ -156,33 +72,7 @@ export declare const AdminGetProductAttributesParams: z.ZodObject<{} & {
|
|
|
156
72
|
$gte: any;
|
|
157
73
|
$lt: any;
|
|
158
74
|
$lte: any;
|
|
159
|
-
}, z.core.$strip
|
|
160
|
-
$nin?: any;
|
|
161
|
-
$eq?: any;
|
|
162
|
-
$ne?: any;
|
|
163
|
-
$in?: any;
|
|
164
|
-
$like?: any;
|
|
165
|
-
$ilike?: any;
|
|
166
|
-
$re?: any;
|
|
167
|
-
$contains?: any;
|
|
168
|
-
$gt?: any;
|
|
169
|
-
$gte?: any;
|
|
170
|
-
$lt?: any;
|
|
171
|
-
$lte?: any;
|
|
172
|
-
}, {
|
|
173
|
-
$nin?: any;
|
|
174
|
-
$eq?: any;
|
|
175
|
-
$ne?: any;
|
|
176
|
-
$in?: any;
|
|
177
|
-
$like?: any;
|
|
178
|
-
$ilike?: any;
|
|
179
|
-
$re?: any;
|
|
180
|
-
$contains?: any;
|
|
181
|
-
$gt?: any;
|
|
182
|
-
$gte?: any;
|
|
183
|
-
$lt?: any;
|
|
184
|
-
$lte?: any;
|
|
185
|
-
}>]>>;
|
|
75
|
+
}, z.core.$strip>]>>;
|
|
186
76
|
updated_at: z.ZodOptional<z.ZodUnion<readonly [any, z.ZodObject<{
|
|
187
77
|
$eq: any;
|
|
188
78
|
$ne: any;
|
|
@@ -196,190 +86,50 @@ export declare const AdminGetProductAttributesParams: z.ZodObject<{} & {
|
|
|
196
86
|
$gte: any;
|
|
197
87
|
$lt: any;
|
|
198
88
|
$lte: any;
|
|
199
|
-
}, z.core.$strip
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
$ne?: any;
|
|
203
|
-
$in?: any;
|
|
204
|
-
$like?: any;
|
|
205
|
-
$ilike?: any;
|
|
206
|
-
$re?: any;
|
|
207
|
-
$contains?: any;
|
|
208
|
-
$gt?: any;
|
|
209
|
-
$gte?: any;
|
|
210
|
-
$lt?: any;
|
|
211
|
-
$lte?: any;
|
|
212
|
-
}, {
|
|
213
|
-
$nin?: any;
|
|
214
|
-
$eq?: any;
|
|
215
|
-
$ne?: any;
|
|
216
|
-
$in?: any;
|
|
217
|
-
$like?: any;
|
|
218
|
-
$ilike?: any;
|
|
219
|
-
$re?: any;
|
|
220
|
-
$contains?: any;
|
|
221
|
-
$gt?: any;
|
|
222
|
-
$gte?: any;
|
|
223
|
-
$lt?: any;
|
|
224
|
-
$lte?: any;
|
|
225
|
-
}>]>>;
|
|
226
|
-
}, "strip", z.ZodTypeAny, {
|
|
227
|
-
[x: string]: any;
|
|
228
|
-
q?: unknown;
|
|
229
|
-
id?: unknown;
|
|
230
|
-
handle?: unknown;
|
|
231
|
-
type?: unknown;
|
|
232
|
-
is_required?: unknown;
|
|
233
|
-
is_variant_axis?: unknown;
|
|
234
|
-
is_filterable?: unknown;
|
|
235
|
-
is_active?: unknown;
|
|
236
|
-
product_id?: unknown;
|
|
237
|
-
category_id?: unknown;
|
|
238
|
-
created_at?: unknown;
|
|
239
|
-
updated_at?: unknown;
|
|
240
|
-
}, {
|
|
241
|
-
[x: string]: any;
|
|
242
|
-
q?: unknown;
|
|
243
|
-
id?: unknown;
|
|
244
|
-
handle?: unknown;
|
|
245
|
-
type?: unknown;
|
|
246
|
-
is_required?: unknown;
|
|
247
|
-
is_variant_axis?: unknown;
|
|
248
|
-
is_filterable?: unknown;
|
|
249
|
-
is_active?: unknown;
|
|
250
|
-
product_id?: unknown;
|
|
251
|
-
category_id?: unknown;
|
|
252
|
-
created_at?: unknown;
|
|
253
|
-
updated_at?: unknown;
|
|
254
|
-
}>, "many">>>;
|
|
255
|
-
}, z.core.$strip, z.ZodTypeAny, {
|
|
256
|
-
[x: string]: any;
|
|
257
|
-
$and?: unknown;
|
|
258
|
-
$or?: unknown;
|
|
259
|
-
}, {
|
|
260
|
-
[x: string]: any;
|
|
261
|
-
$and?: unknown;
|
|
262
|
-
$or?: unknown;
|
|
263
|
-
}>;
|
|
89
|
+
}, z.core.$strip>]>>;
|
|
90
|
+
}, z.core.$strip>>>>;
|
|
91
|
+
}, z.core.$strip>;
|
|
264
92
|
export type AdminCreateProductAttributeType = z.infer<typeof CreateProductAttribute> & AdditionalData;
|
|
265
93
|
declare const CreateProductAttribute: z.ZodObject<{
|
|
266
94
|
name: z.ZodString;
|
|
267
95
|
handle: z.ZodOptional<z.ZodString>;
|
|
268
96
|
description: z.ZodOptional<z.ZodString>;
|
|
269
|
-
type: z.
|
|
97
|
+
type: z.ZodEnum<typeof AttributeType>;
|
|
270
98
|
is_required: z.ZodOptional<z.ZodBoolean>;
|
|
271
99
|
is_filterable: z.ZodOptional<z.ZodBoolean>;
|
|
272
100
|
is_variant_axis: z.ZodOptional<z.ZodBoolean>;
|
|
273
101
|
rank: z.ZodOptional<z.ZodNumber>;
|
|
274
102
|
is_active: z.ZodOptional<z.ZodBoolean>;
|
|
275
|
-
category_ids: z.ZodOptional<z.ZodArray<z.ZodString
|
|
103
|
+
category_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
276
104
|
values: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
277
105
|
name: z.ZodString;
|
|
278
106
|
handle: z.ZodOptional<z.ZodString>;
|
|
279
107
|
rank: z.ZodOptional<z.ZodNumber>;
|
|
280
108
|
is_active: z.ZodOptional<z.ZodBoolean>;
|
|
281
109
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
282
|
-
},
|
|
283
|
-
name: string;
|
|
284
|
-
metadata?: Record<string, unknown> | null | undefined;
|
|
285
|
-
rank?: number | undefined;
|
|
286
|
-
handle?: string | undefined;
|
|
287
|
-
is_active?: boolean | undefined;
|
|
288
|
-
}, {
|
|
289
|
-
name: string;
|
|
290
|
-
metadata?: Record<string, unknown> | null | undefined;
|
|
291
|
-
rank?: number | undefined;
|
|
292
|
-
handle?: string | undefined;
|
|
293
|
-
is_active?: boolean | undefined;
|
|
294
|
-
}>, "many">>;
|
|
110
|
+
}, z.core.$strip>>>;
|
|
295
111
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
296
|
-
},
|
|
297
|
-
name: string;
|
|
298
|
-
type: AttributeType;
|
|
299
|
-
values?: {
|
|
300
|
-
name: string;
|
|
301
|
-
metadata?: Record<string, unknown> | null | undefined;
|
|
302
|
-
rank?: number | undefined;
|
|
303
|
-
handle?: string | undefined;
|
|
304
|
-
is_active?: boolean | undefined;
|
|
305
|
-
}[] | undefined;
|
|
306
|
-
metadata?: Record<string, unknown> | null | undefined;
|
|
307
|
-
rank?: number | undefined;
|
|
308
|
-
is_variant_axis?: boolean | undefined;
|
|
309
|
-
is_required?: boolean | undefined;
|
|
310
|
-
handle?: string | undefined;
|
|
311
|
-
description?: string | undefined;
|
|
312
|
-
is_active?: boolean | undefined;
|
|
313
|
-
is_filterable?: boolean | undefined;
|
|
314
|
-
category_ids?: string[] | undefined;
|
|
315
|
-
}, {
|
|
316
|
-
name: string;
|
|
317
|
-
type: AttributeType;
|
|
318
|
-
values?: {
|
|
319
|
-
name: string;
|
|
320
|
-
metadata?: Record<string, unknown> | null | undefined;
|
|
321
|
-
rank?: number | undefined;
|
|
322
|
-
handle?: string | undefined;
|
|
323
|
-
is_active?: boolean | undefined;
|
|
324
|
-
}[] | undefined;
|
|
325
|
-
metadata?: Record<string, unknown> | null | undefined;
|
|
326
|
-
rank?: number | undefined;
|
|
327
|
-
is_variant_axis?: boolean | undefined;
|
|
328
|
-
is_required?: boolean | undefined;
|
|
329
|
-
handle?: string | undefined;
|
|
330
|
-
description?: string | undefined;
|
|
331
|
-
is_active?: boolean | undefined;
|
|
332
|
-
is_filterable?: boolean | undefined;
|
|
333
|
-
category_ids?: string[] | undefined;
|
|
334
|
-
}>;
|
|
112
|
+
}, z.core.$strip>;
|
|
335
113
|
export declare const AdminCreateProductAttribute: (additionalDataValidator?: z.ZodOptional<z.ZodNullable<z.ZodObject<any, any>>>) => z.ZodObject<any, any>;
|
|
336
114
|
export type AdminUpdateProductAttributeType = z.infer<typeof UpdateProductAttribute> & AdditionalData;
|
|
337
115
|
declare const UpdateProductAttribute: z.ZodObject<{
|
|
338
116
|
name: z.ZodOptional<z.ZodString>;
|
|
339
117
|
handle: z.ZodOptional<z.ZodString>;
|
|
340
118
|
description: z.ZodOptional<z.ZodString>;
|
|
341
|
-
type: z.ZodOptional<z.
|
|
119
|
+
type: z.ZodOptional<z.ZodEnum<typeof AttributeType>>;
|
|
342
120
|
is_required: z.ZodOptional<z.ZodBoolean>;
|
|
343
121
|
is_filterable: z.ZodOptional<z.ZodBoolean>;
|
|
344
122
|
is_variant_axis: z.ZodOptional<z.ZodBoolean>;
|
|
345
123
|
rank: z.ZodOptional<z.ZodNumber>;
|
|
346
124
|
is_active: z.ZodOptional<z.ZodBoolean>;
|
|
347
|
-
category_ids: z.ZodOptional<z.ZodArray<z.ZodString
|
|
125
|
+
category_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
348
126
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
349
|
-
},
|
|
350
|
-
metadata?: Record<string, unknown> | null | undefined;
|
|
351
|
-
name?: string | undefined;
|
|
352
|
-
type?: AttributeType | undefined;
|
|
353
|
-
rank?: number | undefined;
|
|
354
|
-
is_variant_axis?: boolean | undefined;
|
|
355
|
-
is_required?: boolean | undefined;
|
|
356
|
-
handle?: string | undefined;
|
|
357
|
-
description?: string | undefined;
|
|
358
|
-
is_active?: boolean | undefined;
|
|
359
|
-
is_filterable?: boolean | undefined;
|
|
360
|
-
category_ids?: string[] | undefined;
|
|
361
|
-
}, {
|
|
362
|
-
metadata?: Record<string, unknown> | null | undefined;
|
|
363
|
-
name?: string | undefined;
|
|
364
|
-
type?: AttributeType | undefined;
|
|
365
|
-
rank?: number | undefined;
|
|
366
|
-
is_variant_axis?: boolean | undefined;
|
|
367
|
-
is_required?: boolean | undefined;
|
|
368
|
-
handle?: string | undefined;
|
|
369
|
-
description?: string | undefined;
|
|
370
|
-
is_active?: boolean | undefined;
|
|
371
|
-
is_filterable?: boolean | undefined;
|
|
372
|
-
category_ids?: string[] | undefined;
|
|
373
|
-
}>;
|
|
127
|
+
}, z.core.$strip>;
|
|
374
128
|
export declare const AdminUpdateProductAttribute: (additionalDataValidator?: z.ZodOptional<z.ZodNullable<z.ZodObject<any, any>>>) => z.ZodObject<any, any>;
|
|
375
129
|
export type AdminGetProductAttributeValueParamsType = z.infer<typeof AdminGetProductAttributeValueParams>;
|
|
376
130
|
export declare const AdminGetProductAttributeValueParams: z.ZodObject<{
|
|
377
131
|
fields: z.ZodOptional<z.ZodString>;
|
|
378
|
-
}, z.core.$strip
|
|
379
|
-
fields?: string | undefined;
|
|
380
|
-
}, {
|
|
381
|
-
fields?: string | undefined;
|
|
382
|
-
}>;
|
|
132
|
+
}, z.core.$strip>;
|
|
383
133
|
export type AdminGetProductAttributeValuesParamsType = z.infer<typeof AdminGetProductAttributeValuesParams>;
|
|
384
134
|
export declare const AdminGetProductAttributeValuesParams: z.ZodObject<{
|
|
385
135
|
fields: z.ZodOptional<z.ZodString>;
|
|
@@ -387,34 +137,11 @@ export declare const AdminGetProductAttributeValuesParams: z.ZodObject<{
|
|
|
387
137
|
limit: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDefault<z.ZodOptional<z.ZodNumber>>>;
|
|
388
138
|
order: z.ZodOptional<z.ZodString> | z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
389
139
|
with_deleted: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodBoolean>>;
|
|
390
|
-
} & {
|
|
391
140
|
q: z.ZodOptional<z.ZodString>;
|
|
392
|
-
id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString
|
|
393
|
-
handle: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString
|
|
394
|
-
is_active:
|
|
395
|
-
},
|
|
396
|
-
[x: string]: any;
|
|
397
|
-
fields?: unknown;
|
|
398
|
-
offset?: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDefault<z.ZodOptional<z.ZodNumber>>>;
|
|
399
|
-
limit?: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDefault<z.ZodOptional<z.ZodNumber>>>;
|
|
400
|
-
order?: unknown;
|
|
401
|
-
with_deleted?: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodBoolean>>;
|
|
402
|
-
q?: unknown;
|
|
403
|
-
id?: unknown;
|
|
404
|
-
handle?: unknown;
|
|
405
|
-
is_active?: unknown;
|
|
406
|
-
}, {
|
|
407
|
-
[x: string]: any;
|
|
408
|
-
fields?: unknown;
|
|
409
|
-
offset?: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDefault<z.ZodOptional<z.ZodNumber>>>;
|
|
410
|
-
limit?: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDefault<z.ZodOptional<z.ZodNumber>>>;
|
|
411
|
-
order?: unknown;
|
|
412
|
-
with_deleted?: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodBoolean>>;
|
|
413
|
-
q?: unknown;
|
|
414
|
-
id?: unknown;
|
|
415
|
-
handle?: unknown;
|
|
416
|
-
is_active?: unknown;
|
|
417
|
-
}>;
|
|
141
|
+
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
142
|
+
handle: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
143
|
+
is_active: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>, z.ZodTransform<boolean, string | boolean>>>;
|
|
144
|
+
}, z.core.$strip>;
|
|
418
145
|
export type AdminCreateProductAttributeValueType = z.infer<typeof CreateProductAttributeValue> & AdditionalData;
|
|
419
146
|
declare const CreateProductAttributeValue: z.ZodObject<{
|
|
420
147
|
name: z.ZodString;
|
|
@@ -422,19 +149,7 @@ declare const CreateProductAttributeValue: z.ZodObject<{
|
|
|
422
149
|
rank: z.ZodOptional<z.ZodNumber>;
|
|
423
150
|
is_active: z.ZodOptional<z.ZodBoolean>;
|
|
424
151
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
425
|
-
},
|
|
426
|
-
name: string;
|
|
427
|
-
metadata?: Record<string, unknown> | null | undefined;
|
|
428
|
-
rank?: number | undefined;
|
|
429
|
-
handle?: string | undefined;
|
|
430
|
-
is_active?: boolean | undefined;
|
|
431
|
-
}, {
|
|
432
|
-
name: string;
|
|
433
|
-
metadata?: Record<string, unknown> | null | undefined;
|
|
434
|
-
rank?: number | undefined;
|
|
435
|
-
handle?: string | undefined;
|
|
436
|
-
is_active?: boolean | undefined;
|
|
437
|
-
}>;
|
|
152
|
+
}, z.core.$strip>;
|
|
438
153
|
export declare const AdminCreateProductAttributeValue: (additionalDataValidator?: z.ZodOptional<z.ZodNullable<z.ZodObject<any, any>>>) => z.ZodObject<any, any>;
|
|
439
154
|
export type AdminUpdateProductAttributeValueType = z.infer<typeof UpdateProductAttributeValue> & AdditionalData;
|
|
440
155
|
declare const UpdateProductAttributeValue: z.ZodObject<{
|
|
@@ -443,91 +158,23 @@ declare const UpdateProductAttributeValue: z.ZodObject<{
|
|
|
443
158
|
rank: z.ZodOptional<z.ZodNumber>;
|
|
444
159
|
is_active: z.ZodOptional<z.ZodBoolean>;
|
|
445
160
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
446
|
-
},
|
|
447
|
-
metadata?: Record<string, unknown> | null | undefined;
|
|
448
|
-
name?: string | undefined;
|
|
449
|
-
rank?: number | undefined;
|
|
450
|
-
handle?: string | undefined;
|
|
451
|
-
is_active?: boolean | undefined;
|
|
452
|
-
}, {
|
|
453
|
-
metadata?: Record<string, unknown> | null | undefined;
|
|
454
|
-
name?: string | undefined;
|
|
455
|
-
rank?: number | undefined;
|
|
456
|
-
handle?: string | undefined;
|
|
457
|
-
is_active?: boolean | undefined;
|
|
458
|
-
}>;
|
|
161
|
+
}, z.core.$strip>;
|
|
459
162
|
export declare const AdminUpdateProductAttributeValue: (additionalDataValidator?: z.ZodOptional<z.ZodNullable<z.ZodObject<any, any>>>) => z.ZodObject<any, any>;
|
|
460
163
|
export type AdminUpsertProductAttributeValuesType = z.infer<typeof AdminUpsertProductAttributeValues>;
|
|
461
164
|
export declare const AdminUpsertProductAttributeValues: z.ZodObject<{
|
|
462
|
-
values: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
165
|
+
values: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
463
166
|
id: z.ZodString;
|
|
464
167
|
name: z.ZodOptional<z.ZodString>;
|
|
465
168
|
handle: z.ZodOptional<z.ZodString>;
|
|
466
169
|
rank: z.ZodOptional<z.ZodNumber>;
|
|
467
170
|
is_active: z.ZodOptional<z.ZodBoolean>;
|
|
468
171
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
469
|
-
},
|
|
470
|
-
id: string;
|
|
471
|
-
metadata?: Record<string, unknown> | null | undefined;
|
|
472
|
-
name?: string | undefined;
|
|
473
|
-
rank?: number | undefined;
|
|
474
|
-
handle?: string | undefined;
|
|
475
|
-
is_active?: boolean | undefined;
|
|
476
|
-
}, {
|
|
477
|
-
id: string;
|
|
478
|
-
metadata?: Record<string, unknown> | null | undefined;
|
|
479
|
-
name?: string | undefined;
|
|
480
|
-
rank?: number | undefined;
|
|
481
|
-
handle?: string | undefined;
|
|
482
|
-
is_active?: boolean | undefined;
|
|
483
|
-
}>, z.ZodObject<{
|
|
172
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
484
173
|
name: z.ZodString;
|
|
485
174
|
handle: z.ZodOptional<z.ZodString>;
|
|
486
175
|
rank: z.ZodOptional<z.ZodNumber>;
|
|
487
176
|
is_active: z.ZodOptional<z.ZodBoolean>;
|
|
488
177
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
489
|
-
},
|
|
490
|
-
|
|
491
|
-
metadata?: Record<string, unknown> | null | undefined;
|
|
492
|
-
rank?: number | undefined;
|
|
493
|
-
handle?: string | undefined;
|
|
494
|
-
is_active?: boolean | undefined;
|
|
495
|
-
}, {
|
|
496
|
-
name: string;
|
|
497
|
-
metadata?: Record<string, unknown> | null | undefined;
|
|
498
|
-
rank?: number | undefined;
|
|
499
|
-
handle?: string | undefined;
|
|
500
|
-
is_active?: boolean | undefined;
|
|
501
|
-
}>]>, "many">;
|
|
502
|
-
}, "strip", z.ZodTypeAny, {
|
|
503
|
-
values: ({
|
|
504
|
-
id: string;
|
|
505
|
-
metadata?: Record<string, unknown> | null | undefined;
|
|
506
|
-
name?: string | undefined;
|
|
507
|
-
rank?: number | undefined;
|
|
508
|
-
handle?: string | undefined;
|
|
509
|
-
is_active?: boolean | undefined;
|
|
510
|
-
} | {
|
|
511
|
-
name: string;
|
|
512
|
-
metadata?: Record<string, unknown> | null | undefined;
|
|
513
|
-
rank?: number | undefined;
|
|
514
|
-
handle?: string | undefined;
|
|
515
|
-
is_active?: boolean | undefined;
|
|
516
|
-
})[];
|
|
517
|
-
}, {
|
|
518
|
-
values: ({
|
|
519
|
-
id: string;
|
|
520
|
-
metadata?: Record<string, unknown> | null | undefined;
|
|
521
|
-
name?: string | undefined;
|
|
522
|
-
rank?: number | undefined;
|
|
523
|
-
handle?: string | undefined;
|
|
524
|
-
is_active?: boolean | undefined;
|
|
525
|
-
} | {
|
|
526
|
-
name: string;
|
|
527
|
-
metadata?: Record<string, unknown> | null | undefined;
|
|
528
|
-
rank?: number | undefined;
|
|
529
|
-
handle?: string | undefined;
|
|
530
|
-
is_active?: boolean | undefined;
|
|
531
|
-
})[];
|
|
532
|
-
}>;
|
|
178
|
+
}, z.core.$strip>]>>;
|
|
179
|
+
}, z.core.$strip>;
|
|
533
180
|
export {};
|