@mercurjs/b2c-core 1.4.3 → 1.4.5
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/admin/index.js +3 -1
- package/.medusa/server/src/admin/index.mjs +3 -1
- package/.medusa/server/src/api/admin/attributes/validators.d.ts +355 -59
- package/.medusa/server/src/api/admin/configuration/validators.d.ts +3 -2
- package/.medusa/server/src/api/admin/notifications/route.js +8 -2
- package/.medusa/server/src/api/admin/order-sets/validators.d.ts +5 -3
- package/.medusa/server/src/api/admin/products/validators.d.ts +909 -500
- package/.medusa/server/src/api/admin/sellers/validators.d.ts +20 -16
- package/.medusa/server/src/api/admin/stock-locations/route.js +2 -2
- package/.medusa/server/src/api/store/carts/[id]/promotions/route.d.ts +3 -0
- package/.medusa/server/src/api/store/carts/[id]/promotions/route.js +34 -0
- package/.medusa/server/src/api/store/order-set/validators.d.ts +3 -2
- package/.medusa/server/src/api/store/returns/validators.d.ts +3 -2
- package/.medusa/server/src/api/store/seller/validators.d.ts +3 -2
- package/.medusa/server/src/api/store/shipping-options/validators.d.ts +24 -26
- package/.medusa/server/src/api/store/wishlist/validators.d.ts +3 -2
- package/.medusa/server/src/api/vendor/attributes/validators.d.ts +9 -7
- package/.medusa/server/src/api/vendor/campaigns/[id]/promotions/route.d.ts +76 -0
- package/.medusa/server/src/api/vendor/campaigns/[id]/promotions/route.js +89 -0
- package/.medusa/server/src/api/vendor/campaigns/[id]/route.d.ts +55 -4
- package/.medusa/server/src/api/vendor/campaigns/[id]/route.js +59 -3
- package/.medusa/server/src/api/vendor/campaigns/helpers.d.ts +4 -0
- package/.medusa/server/src/api/vendor/campaigns/helpers.js +34 -0
- package/.medusa/server/src/api/vendor/campaigns/middlewares.js +18 -9
- package/.medusa/server/src/api/vendor/campaigns/route.d.ts +6 -0
- package/.medusa/server/src/api/vendor/campaigns/route.js +10 -4
- package/.medusa/server/src/api/vendor/campaigns/validators.d.ts +203 -11
- package/.medusa/server/src/api/vendor/campaigns/validators.js +43 -4
- package/.medusa/server/src/api/vendor/customer-groups/route.d.ts +2 -2
- package/.medusa/server/src/api/vendor/customer-groups/route.js +5 -5
- package/.medusa/server/src/api/vendor/customer-groups/validators.d.ts +604 -2
- package/.medusa/server/src/api/vendor/customer-groups/validators.js +37 -2
- package/.medusa/server/src/api/vendor/customers/validators.d.ts +6 -4
- package/.medusa/server/src/api/vendor/fulfillment-providers/validators.d.ts +3 -2
- package/.medusa/server/src/api/vendor/fulfillment-sets/validators.d.ts +22 -6
- package/.medusa/server/src/api/vendor/inventory-items/[id]/route.d.ts +23 -0
- package/.medusa/server/src/api/vendor/inventory-items/[id]/route.js +48 -2
- package/.medusa/server/src/api/vendor/inventory-items/middlewares.js +12 -1
- package/.medusa/server/src/api/vendor/inventory-items/validators.d.ts +37 -104
- package/.medusa/server/src/api/vendor/invites/validators.d.ts +3 -2
- package/.medusa/server/src/api/vendor/members/validators.d.ts +7 -6
- package/.medusa/server/src/api/vendor/notifications/validators.d.ts +3 -2
- package/.medusa/server/src/api/vendor/orders/validators.d.ts +13 -11
- package/.medusa/server/src/api/vendor/payouts/validators.d.ts +3 -2
- package/.medusa/server/src/api/vendor/price-lists/validators.d.ts +18 -16
- package/.medusa/server/src/api/vendor/price-preferences/validators.d.ts +37 -29
- package/.medusa/server/src/api/vendor/product-categories/validators.d.ts +317 -26
- package/.medusa/server/src/api/vendor/product-collections/validators.d.ts +6 -4
- package/.medusa/server/src/api/vendor/product-tags/route.js +8 -2
- package/.medusa/server/src/api/vendor/product-tags/validators.d.ts +31 -29
- package/.medusa/server/src/api/vendor/product-types/route.d.ts +6 -0
- package/.medusa/server/src/api/vendor/product-types/route.js +8 -1
- package/.medusa/server/src/api/vendor/product-types/validators.d.ts +14 -2
- package/.medusa/server/src/api/vendor/product-types/validators.js +9 -3
- package/.medusa/server/src/api/vendor/products/route.js +7 -3
- package/.medusa/server/src/api/vendor/products/utils.d.ts +4 -1
- package/.medusa/server/src/api/vendor/products/utils.js +40 -2
- package/.medusa/server/src/api/vendor/products/validators.d.ts +905 -377
- package/.medusa/server/src/api/vendor/promotions/validators.d.ts +57 -53
- package/.medusa/server/src/api/vendor/regions/validators.d.ts +3 -2
- package/.medusa/server/src/api/vendor/reservations/validators.d.ts +7 -6
- package/.medusa/server/src/api/vendor/returns/validators.d.ts +9 -8
- package/.medusa/server/src/api/vendor/sellers/validators.d.ts +20 -20
- package/.medusa/server/src/api/vendor/shipping-options/validators.d.ts +27 -26
- package/.medusa/server/src/api/vendor/shipping-profiles/validators.d.ts +5 -4
- package/.medusa/server/src/api/vendor/stock-locations/validators.d.ts +49 -59
- package/.medusa/server/src/links/seller-campaign.js +1 -1
- package/.medusa/server/src/links/seller-customer-group.js +1 -1
- package/.medusa/server/src/modules/attribute/migrations/Migration20250617080244.d.ts +1 -1
- package/.medusa/server/src/modules/attribute/migrations/Migration20250617080244.js +2 -2
- package/.medusa/server/src/modules/attribute/migrations/Migration20250620110849.d.ts +1 -1
- package/.medusa/server/src/modules/attribute/migrations/Migration20250620110849.js +2 -2
- package/.medusa/server/src/modules/attribute/migrations/Migration20250828065431.d.ts +1 -1
- package/.medusa/server/src/modules/attribute/migrations/Migration20250828065431.js +2 -2
- package/.medusa/server/src/modules/attribute/service.d.ts +1 -1
- package/.medusa/server/src/modules/configuration/migrations/Migration20250114063624.d.ts +1 -1
- package/.medusa/server/src/modules/configuration/migrations/Migration20250114063624.js +2 -2
- package/.medusa/server/src/modules/configuration/migrations/Migration20250324131111.d.ts +1 -1
- package/.medusa/server/src/modules/configuration/migrations/Migration20250324131111.js +2 -2
- package/.medusa/server/src/modules/marketplace/migrations/Migration20241207151814.d.ts +1 -1
- package/.medusa/server/src/modules/marketplace/migrations/Migration20241207151814.js +2 -2
- package/.medusa/server/src/modules/payout/migrations/Migration20250317090626.d.ts +1 -1
- package/.medusa/server/src/modules/payout/migrations/Migration20250317090626.js +2 -2
- package/.medusa/server/src/modules/payout/migrations/Migration20250612144913.d.ts +1 -1
- package/.medusa/server/src/modules/payout/migrations/Migration20250612144913.js +2 -2
- package/.medusa/server/src/modules/payout/service.d.ts +1 -1
- package/.medusa/server/src/modules/secondary_categories/migrations/Migration20251014102054.d.ts +1 -1
- package/.medusa/server/src/modules/secondary_categories/migrations/Migration20251014102054.js +2 -2
- package/.medusa/server/src/modules/seller/migrations/Migration20241206125415.d.ts +1 -1
- package/.medusa/server/src/modules/seller/migrations/Migration20241206125415.js +2 -2
- package/.medusa/server/src/modules/seller/migrations/Migration20250212131627.d.ts +1 -1
- package/.medusa/server/src/modules/seller/migrations/Migration20250212131627.js +2 -2
- package/.medusa/server/src/modules/seller/migrations/Migration20250225083755.d.ts +1 -1
- package/.medusa/server/src/modules/seller/migrations/Migration20250225083755.js +2 -2
- package/.medusa/server/src/modules/seller/migrations/Migration20250225094708.d.ts +1 -1
- package/.medusa/server/src/modules/seller/migrations/Migration20250225094708.js +2 -2
- package/.medusa/server/src/modules/seller/migrations/Migration20250307091819.d.ts +1 -1
- package/.medusa/server/src/modules/seller/migrations/Migration20250307091819.js +2 -2
- package/.medusa/server/src/modules/seller/migrations/Migration20250313065552.d.ts +1 -1
- package/.medusa/server/src/modules/seller/migrations/Migration20250313065552.js +2 -2
- package/.medusa/server/src/modules/seller/migrations/Migration20250530111528.d.ts +1 -1
- package/.medusa/server/src/modules/seller/migrations/Migration20250530111528.js +2 -2
- package/.medusa/server/src/modules/seller/utils.d.ts +4 -0
- package/.medusa/server/src/modules/seller/utils.js +18 -1
- package/.medusa/server/src/modules/split-order-payment/migrations/Migration20250516075429.d.ts +1 -1
- package/.medusa/server/src/modules/split-order-payment/migrations/Migration20250516075429.js +2 -2
- package/.medusa/server/src/modules/taxcode/migrations/Migration20250116135408.d.ts +1 -1
- package/.medusa/server/src/modules/taxcode/migrations/Migration20250116135408.js +2 -2
- package/.medusa/server/src/modules/wishlist/migrations/Migration20250424110903.d.ts +1 -1
- package/.medusa/server/src/modules/wishlist/migrations/Migration20250424110903.js +2 -2
- package/.medusa/server/src/workflows/cart/workflows/split-and-complete-cart.js +2 -2
- package/.medusa/server/src/workflows/order/steps/calculate-payout-for-order.d.ts +1 -1
- package/.medusa/server/src/workflows/promotions/steps/register-usage-step.d.ts +7 -2
- package/.medusa/server/src/workflows/promotions/steps/register-usage-step.js +6 -6
- package/.medusa/server/src/workflows/seller/steps/send-invitation-email.js +6 -2
- package/.medusa/server/src/workflows/seller/steps/validate-products-to-import.d.ts +10 -10
- package/package.json +15 -28
|
@@ -5,9 +5,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.POST = exports.GET = void 0;
|
|
7
7
|
const utils_1 = require("@medusajs/framework/utils");
|
|
8
|
-
const seller_customer_group_1 = __importDefault(require("../../../links/seller-customer-group"));
|
|
9
8
|
const utils_2 = require("../../../shared/infra/http/utils");
|
|
10
9
|
const workflows_1 = require("../../../workflows/customer-groups/workflows");
|
|
10
|
+
const seller_customer_group_1 = __importDefault(require("../../../links/seller-customer-group"));
|
|
11
11
|
/**
|
|
12
12
|
* @oas [get] /vendor/customer-groups
|
|
13
13
|
* operationId: "VendorListCustomerGroups"
|
|
@@ -112,12 +112,12 @@ const POST = async (req, res) => {
|
|
|
112
112
|
input: {
|
|
113
113
|
...req.validatedBody,
|
|
114
114
|
created_by: req.auth_context.actor_id,
|
|
115
|
-
seller_id: seller.id
|
|
116
|
-
}
|
|
115
|
+
seller_id: seller.id
|
|
116
|
+
}
|
|
117
117
|
});
|
|
118
118
|
res.status(201).json({
|
|
119
|
-
customer_group
|
|
119
|
+
customer_group
|
|
120
120
|
});
|
|
121
121
|
};
|
|
122
122
|
exports.POST = POST;
|
|
123
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
123
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicm91dGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvYXBpL3ZlbmRvci9jdXN0b21lci1ncm91cHMvcm91dGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7O0FBQ0EscURBRWtDO0FBRWxDLDREQUEyRTtBQUMzRSw0RUFBZ0c7QUFFaEcsaUdBQXNFO0FBRXRFOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7R0FnREc7QUFDSSxNQUFNLEdBQUcsR0FBRyxLQUFLLEVBQ3RCLEdBQStCLEVBQy9CLEdBQW1CLEVBQ25CLEVBQUU7SUFDRixNQUFNLEtBQUssR0FBRyxHQUFHLENBQUMsS0FBSyxDQUFDLE9BQU8sQ0FBQyxpQ0FBeUIsQ0FBQyxLQUFLLENBQUMsQ0FBQztJQUVqRSxNQUFNLEVBQUUsSUFBSSxFQUFFLGVBQWUsRUFBRSxRQUFRLEVBQUUsR0FBRyxNQUFNLEtBQUssQ0FBQyxLQUFLLENBQUM7UUFDNUQsTUFBTSxFQUFFLCtCQUFtQixDQUFDLFVBQVU7UUFDdEMsTUFBTSxFQUFFLEdBQUcsQ0FBQyxXQUFXLENBQUMsTUFBTSxDQUFDLEdBQUcsQ0FBQyxDQUFDLEtBQUssRUFBRSxFQUFFLENBQUMsa0JBQWtCLEtBQUssRUFBRSxDQUFDO1FBQ3hFLFVBQVUsRUFBRSxHQUFHLENBQUMsV0FBVyxDQUFDLFVBQVU7UUFDdEMsT0FBTyxFQUFFO1lBQ1AsR0FBRyxHQUFHLENBQUMsZ0JBQWdCO1lBQ3ZCLFVBQVUsRUFBRTtnQkFDVixHQUFHLEVBQUUsSUFBSTthQUNWO1NBQ0Y7S0FDRixDQUFDLENBQUM7SUFFSCxHQUFHLENBQUMsSUFBSSxDQUFDO1FBQ1AsZUFBZTtRQUNmLEtBQUssRUFBRSxRQUFRLEVBQUUsS0FBSztRQUN0QixNQUFNLEVBQUUsUUFBUSxFQUFFLElBQUk7UUFDdEIsS0FBSyxFQUFFLFFBQVEsRUFBRSxJQUFJO0tBQ3RCLENBQUMsQ0FBQztBQUNMLENBQUMsQ0FBQztBQXhCVyxRQUFBLEdBQUcsT0F3QmQ7QUFFRjs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7R0EwQkc7QUFDSSxNQUFNLElBQUksR0FBRyxLQUFLLEVBQ3ZCLEdBQThELEVBQzlELEdBQW1CLEVBQ25CLEVBQUU7SUFDRixNQUFNLE1BQU0sR0FBRyxNQUFNLElBQUEsZ0NBQXdCLEVBQzNDLEdBQUcsQ0FBQyxZQUFZLENBQUMsUUFBUSxFQUN6QixHQUFHLENBQUMsS0FBSyxDQUNWLENBQUE7SUFFRCxNQUFNLEVBQUUsTUFBTSxFQUFFLGNBQWMsRUFBRSxHQUM5QixNQUFNLDZDQUFpQyxDQUFDLEdBQUcsQ0FBQztRQUMxQyxTQUFTLEVBQUUsR0FBRyxDQUFDLEtBQUs7UUFDcEIsS0FBSyxFQUFFO1lBQ0wsR0FBRyxHQUFHLENBQUMsYUFBYTtZQUNwQixVQUFVLEVBQUUsR0FBRyxDQUFDLFlBQVksQ0FBQyxRQUFRO1lBQ3JDLFNBQVMsRUFBRSxNQUFNLENBQUMsRUFBRTtTQUNyQjtLQUNGLENBQUMsQ0FBQTtJQUVKLEdBQUcsQ0FBQyxNQUFNLENBQUMsR0FBRyxDQUFDLENBQUMsSUFBSSxDQUFDO1FBQ25CLGNBQWM7S0FDZixDQUFDLENBQUE7QUFDSixDQUFDLENBQUE7QUF0QlksUUFBQSxJQUFJLFFBc0JoQiJ9
|
|
@@ -1,7 +1,609 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
export type VendorGetCustomerGroupParamsType = z.infer<typeof VendorGetCustomerGroupParams>;
|
|
3
|
+
export declare const VendorGetCustomerGroupParams: z.ZodObject<{
|
|
4
|
+
fields: z.ZodOptional<z.ZodString>;
|
|
5
|
+
}, "strip", z.ZodTypeAny, {
|
|
6
|
+
fields?: string | undefined;
|
|
7
|
+
}, {
|
|
8
|
+
fields?: string | undefined;
|
|
9
|
+
}>;
|
|
10
|
+
export declare const VendorCustomerInGroupFilters: z.ZodObject<{
|
|
11
|
+
id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
12
|
+
email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">, z.ZodUnion<[any, z.ZodObject<{
|
|
13
|
+
$eq: any;
|
|
14
|
+
$ne: any;
|
|
15
|
+
$in: any;
|
|
16
|
+
$nin: any;
|
|
17
|
+
$like: any;
|
|
18
|
+
$ilike: any;
|
|
19
|
+
$re: any;
|
|
20
|
+
$contains: any;
|
|
21
|
+
$gt: any;
|
|
22
|
+
$gte: any;
|
|
23
|
+
$lt: any;
|
|
24
|
+
$lte: any;
|
|
25
|
+
}, "strip", z.ZodTypeAny, {
|
|
26
|
+
$eq?: any;
|
|
27
|
+
$ne?: any;
|
|
28
|
+
$in?: any;
|
|
29
|
+
$nin?: any;
|
|
30
|
+
$like?: any;
|
|
31
|
+
$ilike?: any;
|
|
32
|
+
$re?: any;
|
|
33
|
+
$contains?: any;
|
|
34
|
+
$gt?: any;
|
|
35
|
+
$gte?: any;
|
|
36
|
+
$lt?: any;
|
|
37
|
+
$lte?: any;
|
|
38
|
+
}, {
|
|
39
|
+
$eq?: any;
|
|
40
|
+
$ne?: any;
|
|
41
|
+
$in?: any;
|
|
42
|
+
$nin?: any;
|
|
43
|
+
$like?: any;
|
|
44
|
+
$ilike?: any;
|
|
45
|
+
$re?: any;
|
|
46
|
+
$contains?: any;
|
|
47
|
+
$gt?: any;
|
|
48
|
+
$gte?: any;
|
|
49
|
+
$lt?: any;
|
|
50
|
+
$lte?: any;
|
|
51
|
+
}>]>]>>;
|
|
52
|
+
default_billing_address_id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
53
|
+
default_shipping_address_id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
54
|
+
company_name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
55
|
+
first_name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
56
|
+
last_name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
57
|
+
created_by: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
58
|
+
created_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
|
|
59
|
+
$eq: any;
|
|
60
|
+
$ne: any;
|
|
61
|
+
$in: any;
|
|
62
|
+
$nin: any;
|
|
63
|
+
$like: any;
|
|
64
|
+
$ilike: any;
|
|
65
|
+
$re: any;
|
|
66
|
+
$contains: any;
|
|
67
|
+
$gt: any;
|
|
68
|
+
$gte: any;
|
|
69
|
+
$lt: any;
|
|
70
|
+
$lte: any;
|
|
71
|
+
}, "strip", z.ZodTypeAny, {
|
|
72
|
+
$eq?: any;
|
|
73
|
+
$ne?: any;
|
|
74
|
+
$in?: any;
|
|
75
|
+
$nin?: any;
|
|
76
|
+
$like?: any;
|
|
77
|
+
$ilike?: any;
|
|
78
|
+
$re?: any;
|
|
79
|
+
$contains?: any;
|
|
80
|
+
$gt?: any;
|
|
81
|
+
$gte?: any;
|
|
82
|
+
$lt?: any;
|
|
83
|
+
$lte?: any;
|
|
84
|
+
}, {
|
|
85
|
+
$eq?: any;
|
|
86
|
+
$ne?: any;
|
|
87
|
+
$in?: any;
|
|
88
|
+
$nin?: any;
|
|
89
|
+
$like?: any;
|
|
90
|
+
$ilike?: any;
|
|
91
|
+
$re?: any;
|
|
92
|
+
$contains?: any;
|
|
93
|
+
$gt?: any;
|
|
94
|
+
$gte?: any;
|
|
95
|
+
$lt?: any;
|
|
96
|
+
$lte?: any;
|
|
97
|
+
}>]>>;
|
|
98
|
+
updated_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
|
|
99
|
+
$eq: any;
|
|
100
|
+
$ne: any;
|
|
101
|
+
$in: any;
|
|
102
|
+
$nin: any;
|
|
103
|
+
$like: any;
|
|
104
|
+
$ilike: any;
|
|
105
|
+
$re: any;
|
|
106
|
+
$contains: any;
|
|
107
|
+
$gt: any;
|
|
108
|
+
$gte: any;
|
|
109
|
+
$lt: any;
|
|
110
|
+
$lte: any;
|
|
111
|
+
}, "strip", z.ZodTypeAny, {
|
|
112
|
+
$eq?: any;
|
|
113
|
+
$ne?: any;
|
|
114
|
+
$in?: any;
|
|
115
|
+
$nin?: any;
|
|
116
|
+
$like?: any;
|
|
117
|
+
$ilike?: any;
|
|
118
|
+
$re?: any;
|
|
119
|
+
$contains?: any;
|
|
120
|
+
$gt?: any;
|
|
121
|
+
$gte?: any;
|
|
122
|
+
$lt?: any;
|
|
123
|
+
$lte?: any;
|
|
124
|
+
}, {
|
|
125
|
+
$eq?: any;
|
|
126
|
+
$ne?: any;
|
|
127
|
+
$in?: any;
|
|
128
|
+
$nin?: any;
|
|
129
|
+
$like?: any;
|
|
130
|
+
$ilike?: any;
|
|
131
|
+
$re?: any;
|
|
132
|
+
$contains?: any;
|
|
133
|
+
$gt?: any;
|
|
134
|
+
$gte?: any;
|
|
135
|
+
$lt?: any;
|
|
136
|
+
$lte?: any;
|
|
137
|
+
}>]>>;
|
|
138
|
+
deleted_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
|
|
139
|
+
$eq: any;
|
|
140
|
+
$ne: any;
|
|
141
|
+
$in: any;
|
|
142
|
+
$nin: any;
|
|
143
|
+
$like: any;
|
|
144
|
+
$ilike: any;
|
|
145
|
+
$re: any;
|
|
146
|
+
$contains: any;
|
|
147
|
+
$gt: any;
|
|
148
|
+
$gte: any;
|
|
149
|
+
$lt: any;
|
|
150
|
+
$lte: any;
|
|
151
|
+
}, "strip", z.ZodTypeAny, {
|
|
152
|
+
$eq?: any;
|
|
153
|
+
$ne?: any;
|
|
154
|
+
$in?: any;
|
|
155
|
+
$nin?: any;
|
|
156
|
+
$like?: any;
|
|
157
|
+
$ilike?: any;
|
|
158
|
+
$re?: any;
|
|
159
|
+
$contains?: any;
|
|
160
|
+
$gt?: any;
|
|
161
|
+
$gte?: any;
|
|
162
|
+
$lt?: any;
|
|
163
|
+
$lte?: any;
|
|
164
|
+
}, {
|
|
165
|
+
$eq?: any;
|
|
166
|
+
$ne?: any;
|
|
167
|
+
$in?: any;
|
|
168
|
+
$nin?: any;
|
|
169
|
+
$like?: any;
|
|
170
|
+
$ilike?: any;
|
|
171
|
+
$re?: any;
|
|
172
|
+
$contains?: any;
|
|
173
|
+
$gt?: any;
|
|
174
|
+
$gte?: any;
|
|
175
|
+
$lt?: any;
|
|
176
|
+
$lte?: any;
|
|
177
|
+
}>]>>;
|
|
178
|
+
}, "strip", z.ZodTypeAny, {
|
|
179
|
+
id?: string | string[] | undefined;
|
|
180
|
+
created_at?: any;
|
|
181
|
+
updated_at?: any;
|
|
182
|
+
deleted_at?: any;
|
|
183
|
+
email?: any;
|
|
184
|
+
default_billing_address_id?: string | string[] | undefined;
|
|
185
|
+
default_shipping_address_id?: string | string[] | undefined;
|
|
186
|
+
company_name?: string | string[] | undefined;
|
|
187
|
+
first_name?: string | string[] | undefined;
|
|
188
|
+
last_name?: string | string[] | undefined;
|
|
189
|
+
created_by?: string | string[] | undefined;
|
|
190
|
+
}, {
|
|
191
|
+
id?: string | string[] | undefined;
|
|
192
|
+
created_at?: any;
|
|
193
|
+
updated_at?: any;
|
|
194
|
+
deleted_at?: any;
|
|
195
|
+
email?: any;
|
|
196
|
+
default_billing_address_id?: string | string[] | undefined;
|
|
197
|
+
default_shipping_address_id?: string | string[] | undefined;
|
|
198
|
+
company_name?: string | string[] | undefined;
|
|
199
|
+
first_name?: string | string[] | undefined;
|
|
200
|
+
last_name?: string | string[] | undefined;
|
|
201
|
+
created_by?: string | string[] | undefined;
|
|
202
|
+
}>;
|
|
203
|
+
export declare const VendorGetCustomerGroupsParamsFields: z.ZodObject<{
|
|
204
|
+
q: z.ZodOptional<z.ZodString>;
|
|
205
|
+
id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
206
|
+
name: z.ZodUnion<[z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>, z.ZodUnion<[any, z.ZodObject<{
|
|
207
|
+
$eq: any;
|
|
208
|
+
$ne: any;
|
|
209
|
+
$in: any;
|
|
210
|
+
$nin: any;
|
|
211
|
+
$like: any;
|
|
212
|
+
$ilike: any;
|
|
213
|
+
$re: any;
|
|
214
|
+
$contains: any;
|
|
215
|
+
$gt: any;
|
|
216
|
+
$gte: any;
|
|
217
|
+
$lt: any;
|
|
218
|
+
$lte: any;
|
|
219
|
+
}, "strip", z.ZodTypeAny, {
|
|
220
|
+
$eq?: any;
|
|
221
|
+
$ne?: any;
|
|
222
|
+
$in?: any;
|
|
223
|
+
$nin?: any;
|
|
224
|
+
$like?: any;
|
|
225
|
+
$ilike?: any;
|
|
226
|
+
$re?: any;
|
|
227
|
+
$contains?: any;
|
|
228
|
+
$gt?: any;
|
|
229
|
+
$gte?: any;
|
|
230
|
+
$lt?: any;
|
|
231
|
+
$lte?: any;
|
|
232
|
+
}, {
|
|
233
|
+
$eq?: any;
|
|
234
|
+
$ne?: any;
|
|
235
|
+
$in?: any;
|
|
236
|
+
$nin?: any;
|
|
237
|
+
$like?: any;
|
|
238
|
+
$ilike?: any;
|
|
239
|
+
$re?: any;
|
|
240
|
+
$contains?: any;
|
|
241
|
+
$gt?: any;
|
|
242
|
+
$gte?: any;
|
|
243
|
+
$lt?: any;
|
|
244
|
+
$lte?: any;
|
|
245
|
+
}>]>]>;
|
|
246
|
+
customers: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">, z.ZodObject<{
|
|
247
|
+
id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
248
|
+
email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">, z.ZodUnion<[any, z.ZodObject<{
|
|
249
|
+
$eq: any;
|
|
250
|
+
$ne: any;
|
|
251
|
+
$in: any;
|
|
252
|
+
$nin: any;
|
|
253
|
+
$like: any;
|
|
254
|
+
$ilike: any;
|
|
255
|
+
$re: any;
|
|
256
|
+
$contains: any;
|
|
257
|
+
$gt: any;
|
|
258
|
+
$gte: any;
|
|
259
|
+
$lt: any;
|
|
260
|
+
$lte: any;
|
|
261
|
+
}, "strip", z.ZodTypeAny, {
|
|
262
|
+
$eq?: any;
|
|
263
|
+
$ne?: any;
|
|
264
|
+
$in?: any;
|
|
265
|
+
$nin?: any;
|
|
266
|
+
$like?: any;
|
|
267
|
+
$ilike?: any;
|
|
268
|
+
$re?: any;
|
|
269
|
+
$contains?: any;
|
|
270
|
+
$gt?: any;
|
|
271
|
+
$gte?: any;
|
|
272
|
+
$lt?: any;
|
|
273
|
+
$lte?: any;
|
|
274
|
+
}, {
|
|
275
|
+
$eq?: any;
|
|
276
|
+
$ne?: any;
|
|
277
|
+
$in?: any;
|
|
278
|
+
$nin?: any;
|
|
279
|
+
$like?: any;
|
|
280
|
+
$ilike?: any;
|
|
281
|
+
$re?: any;
|
|
282
|
+
$contains?: any;
|
|
283
|
+
$gt?: any;
|
|
284
|
+
$gte?: any;
|
|
285
|
+
$lt?: any;
|
|
286
|
+
$lte?: any;
|
|
287
|
+
}>]>]>>;
|
|
288
|
+
default_billing_address_id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
289
|
+
default_shipping_address_id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
290
|
+
company_name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
291
|
+
first_name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
292
|
+
last_name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
293
|
+
created_by: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
294
|
+
created_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
|
|
295
|
+
$eq: any;
|
|
296
|
+
$ne: any;
|
|
297
|
+
$in: any;
|
|
298
|
+
$nin: any;
|
|
299
|
+
$like: any;
|
|
300
|
+
$ilike: any;
|
|
301
|
+
$re: any;
|
|
302
|
+
$contains: any;
|
|
303
|
+
$gt: any;
|
|
304
|
+
$gte: any;
|
|
305
|
+
$lt: any;
|
|
306
|
+
$lte: any;
|
|
307
|
+
}, "strip", z.ZodTypeAny, {
|
|
308
|
+
$eq?: any;
|
|
309
|
+
$ne?: any;
|
|
310
|
+
$in?: any;
|
|
311
|
+
$nin?: any;
|
|
312
|
+
$like?: any;
|
|
313
|
+
$ilike?: any;
|
|
314
|
+
$re?: any;
|
|
315
|
+
$contains?: any;
|
|
316
|
+
$gt?: any;
|
|
317
|
+
$gte?: any;
|
|
318
|
+
$lt?: any;
|
|
319
|
+
$lte?: any;
|
|
320
|
+
}, {
|
|
321
|
+
$eq?: any;
|
|
322
|
+
$ne?: any;
|
|
323
|
+
$in?: any;
|
|
324
|
+
$nin?: any;
|
|
325
|
+
$like?: any;
|
|
326
|
+
$ilike?: any;
|
|
327
|
+
$re?: any;
|
|
328
|
+
$contains?: any;
|
|
329
|
+
$gt?: any;
|
|
330
|
+
$gte?: any;
|
|
331
|
+
$lt?: any;
|
|
332
|
+
$lte?: any;
|
|
333
|
+
}>]>>;
|
|
334
|
+
updated_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
|
|
335
|
+
$eq: any;
|
|
336
|
+
$ne: any;
|
|
337
|
+
$in: any;
|
|
338
|
+
$nin: any;
|
|
339
|
+
$like: any;
|
|
340
|
+
$ilike: any;
|
|
341
|
+
$re: any;
|
|
342
|
+
$contains: any;
|
|
343
|
+
$gt: any;
|
|
344
|
+
$gte: any;
|
|
345
|
+
$lt: any;
|
|
346
|
+
$lte: any;
|
|
347
|
+
}, "strip", z.ZodTypeAny, {
|
|
348
|
+
$eq?: any;
|
|
349
|
+
$ne?: any;
|
|
350
|
+
$in?: any;
|
|
351
|
+
$nin?: any;
|
|
352
|
+
$like?: any;
|
|
353
|
+
$ilike?: any;
|
|
354
|
+
$re?: any;
|
|
355
|
+
$contains?: any;
|
|
356
|
+
$gt?: any;
|
|
357
|
+
$gte?: any;
|
|
358
|
+
$lt?: any;
|
|
359
|
+
$lte?: any;
|
|
360
|
+
}, {
|
|
361
|
+
$eq?: any;
|
|
362
|
+
$ne?: any;
|
|
363
|
+
$in?: any;
|
|
364
|
+
$nin?: any;
|
|
365
|
+
$like?: any;
|
|
366
|
+
$ilike?: any;
|
|
367
|
+
$re?: any;
|
|
368
|
+
$contains?: any;
|
|
369
|
+
$gt?: any;
|
|
370
|
+
$gte?: any;
|
|
371
|
+
$lt?: any;
|
|
372
|
+
$lte?: any;
|
|
373
|
+
}>]>>;
|
|
374
|
+
deleted_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
|
|
375
|
+
$eq: any;
|
|
376
|
+
$ne: any;
|
|
377
|
+
$in: any;
|
|
378
|
+
$nin: any;
|
|
379
|
+
$like: any;
|
|
380
|
+
$ilike: any;
|
|
381
|
+
$re: any;
|
|
382
|
+
$contains: any;
|
|
383
|
+
$gt: any;
|
|
384
|
+
$gte: any;
|
|
385
|
+
$lt: any;
|
|
386
|
+
$lte: any;
|
|
387
|
+
}, "strip", z.ZodTypeAny, {
|
|
388
|
+
$eq?: any;
|
|
389
|
+
$ne?: any;
|
|
390
|
+
$in?: any;
|
|
391
|
+
$nin?: any;
|
|
392
|
+
$like?: any;
|
|
393
|
+
$ilike?: any;
|
|
394
|
+
$re?: any;
|
|
395
|
+
$contains?: any;
|
|
396
|
+
$gt?: any;
|
|
397
|
+
$gte?: any;
|
|
398
|
+
$lt?: any;
|
|
399
|
+
$lte?: any;
|
|
400
|
+
}, {
|
|
401
|
+
$eq?: any;
|
|
402
|
+
$ne?: any;
|
|
403
|
+
$in?: any;
|
|
404
|
+
$nin?: any;
|
|
405
|
+
$like?: any;
|
|
406
|
+
$ilike?: any;
|
|
407
|
+
$re?: any;
|
|
408
|
+
$contains?: any;
|
|
409
|
+
$gt?: any;
|
|
410
|
+
$gte?: any;
|
|
411
|
+
$lt?: any;
|
|
412
|
+
$lte?: any;
|
|
413
|
+
}>]>>;
|
|
414
|
+
}, "strip", z.ZodTypeAny, {
|
|
415
|
+
id?: string | string[] | undefined;
|
|
416
|
+
created_at?: any;
|
|
417
|
+
updated_at?: any;
|
|
418
|
+
deleted_at?: any;
|
|
419
|
+
email?: any;
|
|
420
|
+
default_billing_address_id?: string | string[] | undefined;
|
|
421
|
+
default_shipping_address_id?: string | string[] | undefined;
|
|
422
|
+
company_name?: string | string[] | undefined;
|
|
423
|
+
first_name?: string | string[] | undefined;
|
|
424
|
+
last_name?: string | string[] | undefined;
|
|
425
|
+
created_by?: string | string[] | undefined;
|
|
426
|
+
}, {
|
|
427
|
+
id?: string | string[] | undefined;
|
|
428
|
+
created_at?: any;
|
|
429
|
+
updated_at?: any;
|
|
430
|
+
deleted_at?: any;
|
|
431
|
+
email?: any;
|
|
432
|
+
default_billing_address_id?: string | string[] | undefined;
|
|
433
|
+
default_shipping_address_id?: string | string[] | undefined;
|
|
434
|
+
company_name?: string | string[] | undefined;
|
|
435
|
+
first_name?: string | string[] | undefined;
|
|
436
|
+
last_name?: string | string[] | undefined;
|
|
437
|
+
created_by?: string | string[] | undefined;
|
|
438
|
+
}>]>>;
|
|
439
|
+
created_by: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
440
|
+
created_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
|
|
441
|
+
$eq: any;
|
|
442
|
+
$ne: any;
|
|
443
|
+
$in: any;
|
|
444
|
+
$nin: any;
|
|
445
|
+
$like: any;
|
|
446
|
+
$ilike: any;
|
|
447
|
+
$re: any;
|
|
448
|
+
$contains: any;
|
|
449
|
+
$gt: any;
|
|
450
|
+
$gte: any;
|
|
451
|
+
$lt: any;
|
|
452
|
+
$lte: any;
|
|
453
|
+
}, "strip", z.ZodTypeAny, {
|
|
454
|
+
$eq?: any;
|
|
455
|
+
$ne?: any;
|
|
456
|
+
$in?: any;
|
|
457
|
+
$nin?: any;
|
|
458
|
+
$like?: any;
|
|
459
|
+
$ilike?: any;
|
|
460
|
+
$re?: any;
|
|
461
|
+
$contains?: any;
|
|
462
|
+
$gt?: any;
|
|
463
|
+
$gte?: any;
|
|
464
|
+
$lt?: any;
|
|
465
|
+
$lte?: any;
|
|
466
|
+
}, {
|
|
467
|
+
$eq?: any;
|
|
468
|
+
$ne?: any;
|
|
469
|
+
$in?: any;
|
|
470
|
+
$nin?: any;
|
|
471
|
+
$like?: any;
|
|
472
|
+
$ilike?: any;
|
|
473
|
+
$re?: any;
|
|
474
|
+
$contains?: any;
|
|
475
|
+
$gt?: any;
|
|
476
|
+
$gte?: any;
|
|
477
|
+
$lt?: any;
|
|
478
|
+
$lte?: any;
|
|
479
|
+
}>]>>;
|
|
480
|
+
updated_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
|
|
481
|
+
$eq: any;
|
|
482
|
+
$ne: any;
|
|
483
|
+
$in: any;
|
|
484
|
+
$nin: any;
|
|
485
|
+
$like: any;
|
|
486
|
+
$ilike: any;
|
|
487
|
+
$re: any;
|
|
488
|
+
$contains: any;
|
|
489
|
+
$gt: any;
|
|
490
|
+
$gte: any;
|
|
491
|
+
$lt: any;
|
|
492
|
+
$lte: any;
|
|
493
|
+
}, "strip", z.ZodTypeAny, {
|
|
494
|
+
$eq?: any;
|
|
495
|
+
$ne?: any;
|
|
496
|
+
$in?: any;
|
|
497
|
+
$nin?: any;
|
|
498
|
+
$like?: any;
|
|
499
|
+
$ilike?: any;
|
|
500
|
+
$re?: any;
|
|
501
|
+
$contains?: any;
|
|
502
|
+
$gt?: any;
|
|
503
|
+
$gte?: any;
|
|
504
|
+
$lt?: any;
|
|
505
|
+
$lte?: any;
|
|
506
|
+
}, {
|
|
507
|
+
$eq?: any;
|
|
508
|
+
$ne?: any;
|
|
509
|
+
$in?: any;
|
|
510
|
+
$nin?: any;
|
|
511
|
+
$like?: any;
|
|
512
|
+
$ilike?: any;
|
|
513
|
+
$re?: any;
|
|
514
|
+
$contains?: any;
|
|
515
|
+
$gt?: any;
|
|
516
|
+
$gte?: any;
|
|
517
|
+
$lt?: any;
|
|
518
|
+
$lte?: any;
|
|
519
|
+
}>]>>;
|
|
520
|
+
deleted_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
|
|
521
|
+
$eq: any;
|
|
522
|
+
$ne: any;
|
|
523
|
+
$in: any;
|
|
524
|
+
$nin: any;
|
|
525
|
+
$like: any;
|
|
526
|
+
$ilike: any;
|
|
527
|
+
$re: any;
|
|
528
|
+
$contains: any;
|
|
529
|
+
$gt: any;
|
|
530
|
+
$gte: any;
|
|
531
|
+
$lt: any;
|
|
532
|
+
$lte: any;
|
|
533
|
+
}, "strip", z.ZodTypeAny, {
|
|
534
|
+
$eq?: any;
|
|
535
|
+
$ne?: any;
|
|
536
|
+
$in?: any;
|
|
537
|
+
$nin?: any;
|
|
538
|
+
$like?: any;
|
|
539
|
+
$ilike?: any;
|
|
540
|
+
$re?: any;
|
|
541
|
+
$contains?: any;
|
|
542
|
+
$gt?: any;
|
|
543
|
+
$gte?: any;
|
|
544
|
+
$lt?: any;
|
|
545
|
+
$lte?: any;
|
|
546
|
+
}, {
|
|
547
|
+
$eq?: any;
|
|
548
|
+
$ne?: any;
|
|
549
|
+
$in?: any;
|
|
550
|
+
$nin?: any;
|
|
551
|
+
$like?: any;
|
|
552
|
+
$ilike?: any;
|
|
553
|
+
$re?: any;
|
|
554
|
+
$contains?: any;
|
|
555
|
+
$gt?: any;
|
|
556
|
+
$gte?: any;
|
|
557
|
+
$lt?: any;
|
|
558
|
+
$lte?: any;
|
|
559
|
+
}>]>>;
|
|
560
|
+
}, "strip", z.ZodTypeAny, {
|
|
561
|
+
id?: string | string[] | undefined;
|
|
562
|
+
created_at?: any;
|
|
563
|
+
updated_at?: any;
|
|
564
|
+
deleted_at?: any;
|
|
565
|
+
name?: any;
|
|
566
|
+
q?: string | undefined;
|
|
567
|
+
created_by?: string | string[] | undefined;
|
|
568
|
+
customers?: string | string[] | {
|
|
569
|
+
id?: string | string[] | undefined;
|
|
570
|
+
created_at?: any;
|
|
571
|
+
updated_at?: any;
|
|
572
|
+
deleted_at?: any;
|
|
573
|
+
email?: any;
|
|
574
|
+
default_billing_address_id?: string | string[] | undefined;
|
|
575
|
+
default_shipping_address_id?: string | string[] | undefined;
|
|
576
|
+
company_name?: string | string[] | undefined;
|
|
577
|
+
first_name?: string | string[] | undefined;
|
|
578
|
+
last_name?: string | string[] | undefined;
|
|
579
|
+
created_by?: string | string[] | undefined;
|
|
580
|
+
} | undefined;
|
|
581
|
+
}, {
|
|
582
|
+
id?: string | string[] | undefined;
|
|
583
|
+
created_at?: any;
|
|
584
|
+
updated_at?: any;
|
|
585
|
+
deleted_at?: any;
|
|
586
|
+
name?: any;
|
|
587
|
+
q?: string | undefined;
|
|
588
|
+
created_by?: string | string[] | undefined;
|
|
589
|
+
customers?: string | string[] | {
|
|
590
|
+
id?: string | string[] | undefined;
|
|
591
|
+
created_at?: any;
|
|
592
|
+
updated_at?: any;
|
|
593
|
+
deleted_at?: any;
|
|
594
|
+
email?: any;
|
|
595
|
+
default_billing_address_id?: string | string[] | undefined;
|
|
596
|
+
default_shipping_address_id?: string | string[] | undefined;
|
|
597
|
+
company_name?: string | string[] | undefined;
|
|
598
|
+
first_name?: string | string[] | undefined;
|
|
599
|
+
last_name?: string | string[] | undefined;
|
|
600
|
+
created_by?: string | string[] | undefined;
|
|
601
|
+
} | undefined;
|
|
602
|
+
}>;
|
|
2
603
|
export type VendorGetCustomerGroupsParamsType = z.infer<typeof VendorGetCustomerGroupsParams>;
|
|
3
604
|
export declare const VendorGetCustomerGroupsParams: z.ZodObject<{
|
|
4
605
|
fields: z.ZodOptional<z.ZodString>;
|
|
606
|
+
} & {
|
|
5
607
|
offset: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
|
6
608
|
limit: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
|
7
609
|
order: z.ZodOptional<z.ZodString> | z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
@@ -9,14 +611,14 @@ export declare const VendorGetCustomerGroupsParams: z.ZodObject<{
|
|
|
9
611
|
}, "strip", z.ZodTypeAny, {
|
|
10
612
|
offset: number;
|
|
11
613
|
limit: number;
|
|
12
|
-
fields?: string | undefined;
|
|
13
614
|
order?: string | undefined;
|
|
615
|
+
fields?: string | undefined;
|
|
14
616
|
with_deleted?: boolean | undefined;
|
|
15
617
|
}, {
|
|
618
|
+
order?: string | undefined;
|
|
16
619
|
fields?: string | undefined;
|
|
17
620
|
offset?: unknown;
|
|
18
621
|
limit?: unknown;
|
|
19
|
-
order?: string | undefined;
|
|
20
622
|
with_deleted?: unknown;
|
|
21
623
|
}>;
|
|
22
624
|
/**
|