@wix/auto_sdk_stores_inventory 1.0.59 → 1.0.60
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/build/cjs/index.d.ts +21 -21
- package/build/cjs/index.js +171 -171
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +197 -197
- package/build/cjs/index.typings.js +154 -154
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +178 -178
- package/build/cjs/meta.js +140 -140
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/schemas.d.ts +63 -63
- package/build/cjs/schemas.js +100 -100
- package/build/cjs/schemas.js.map +1 -1
- package/build/es/index.d.mts +21 -21
- package/build/es/index.mjs +171 -171
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +197 -197
- package/build/es/index.typings.mjs +154 -154
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +178 -178
- package/build/es/meta.mjs +140 -140
- package/build/es/meta.mjs.map +1 -1
- package/build/es/schemas.d.mts +63 -63
- package/build/es/schemas.mjs +100 -100
- package/build/es/schemas.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +21 -21
- package/build/internal/cjs/index.js +171 -171
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +230 -230
- package/build/internal/cjs/index.typings.js +154 -154
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +178 -178
- package/build/internal/cjs/meta.js +140 -140
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/cjs/schemas.d.ts +63 -63
- package/build/internal/cjs/schemas.js +100 -100
- package/build/internal/cjs/schemas.js.map +1 -1
- package/build/internal/es/index.d.mts +21 -21
- package/build/internal/es/index.mjs +171 -171
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +230 -230
- package/build/internal/es/index.typings.mjs +154 -154
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +178 -178
- package/build/internal/es/meta.mjs +140 -140
- package/build/internal/es/meta.mjs.map +1 -1
- package/build/internal/es/schemas.d.mts +63 -63
- package/build/internal/es/schemas.mjs +100 -100
- package/build/internal/es/schemas.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1,5 +1,68 @@
|
|
|
1
1
|
import * as z from 'zod';
|
|
2
2
|
|
|
3
|
+
declare const UpdateInventoryVariantsRequest: z.ZodObject<{
|
|
4
|
+
productId: z.ZodString;
|
|
5
|
+
inventoryItem: z.ZodObject<{
|
|
6
|
+
_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
7
|
+
externalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
8
|
+
productId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9
|
+
trackQuantity: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
10
|
+
variants: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
11
|
+
variantId: z.ZodOptional<z.ZodString>;
|
|
12
|
+
inStock: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
13
|
+
quantity: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
14
|
+
availableForPreorder: z.ZodOptional<z.ZodBoolean>;
|
|
15
|
+
}, z.core.$strip>>>;
|
|
16
|
+
lastUpdated: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
|
|
17
|
+
numericId: z.ZodOptional<z.ZodString>;
|
|
18
|
+
preorderInfo: z.ZodOptional<z.ZodObject<{
|
|
19
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
20
|
+
message: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
21
|
+
limit: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
22
|
+
}, z.core.$strip>>;
|
|
23
|
+
}, z.core.$strip>;
|
|
24
|
+
}, z.core.$strip>;
|
|
25
|
+
declare const UpdateInventoryVariantsResponse: z.ZodObject<{}, z.core.$strip>;
|
|
26
|
+
declare const DecrementInventoryRequest: z.ZodObject<{
|
|
27
|
+
decrementData: z.ZodArray<z.ZodIntersection<z.ZodObject<{
|
|
28
|
+
variantId: z.ZodOptional<z.ZodString>;
|
|
29
|
+
decrementBy: z.ZodOptional<z.ZodNumber>;
|
|
30
|
+
preorderRequest: z.ZodOptional<z.ZodBoolean>;
|
|
31
|
+
}, z.core.$strip>, z.ZodXor<readonly [z.ZodObject<{
|
|
32
|
+
inventoryId: z.ZodOptional<z.ZodNever>;
|
|
33
|
+
externalId: z.ZodOptional<z.ZodNever>;
|
|
34
|
+
productId: z.ZodOptional<z.ZodNever>;
|
|
35
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
36
|
+
externalId: z.ZodOptional<z.ZodNever>;
|
|
37
|
+
productId: z.ZodOptional<z.ZodNever>;
|
|
38
|
+
inventoryId: z.ZodString;
|
|
39
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
40
|
+
inventoryId: z.ZodOptional<z.ZodNever>;
|
|
41
|
+
productId: z.ZodOptional<z.ZodNever>;
|
|
42
|
+
externalId: z.ZodString;
|
|
43
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
44
|
+
inventoryId: z.ZodOptional<z.ZodNever>;
|
|
45
|
+
externalId: z.ZodOptional<z.ZodNever>;
|
|
46
|
+
productId: z.ZodString;
|
|
47
|
+
}, z.core.$strip>]>>>;
|
|
48
|
+
}, z.core.$strip>;
|
|
49
|
+
declare const DecrementInventoryResponse: z.ZodObject<{}, z.core.$strip>;
|
|
50
|
+
declare const IncrementInventoryRequest: z.ZodObject<{
|
|
51
|
+
incrementData: z.ZodArray<z.ZodIntersection<z.ZodObject<{
|
|
52
|
+
variantId: z.ZodOptional<z.ZodString>;
|
|
53
|
+
incrementBy: z.ZodOptional<z.ZodNumber>;
|
|
54
|
+
}, z.core.$strip>, z.ZodXor<readonly [z.ZodObject<{
|
|
55
|
+
inventoryId: z.ZodOptional<z.ZodNever>;
|
|
56
|
+
productId: z.ZodOptional<z.ZodNever>;
|
|
57
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
58
|
+
productId: z.ZodOptional<z.ZodNever>;
|
|
59
|
+
inventoryId: z.ZodString;
|
|
60
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
61
|
+
inventoryId: z.ZodOptional<z.ZodNever>;
|
|
62
|
+
productId: z.ZodString;
|
|
63
|
+
}, z.core.$strip>]>>>;
|
|
64
|
+
}, z.core.$strip>;
|
|
65
|
+
declare const IncrementInventoryResponse: z.ZodObject<{}, z.core.$strip>;
|
|
3
66
|
declare const GetInventoryVariantsRequest: z.ZodObject<{
|
|
4
67
|
inventoryId: z.ZodString;
|
|
5
68
|
options: z.ZodOptional<z.ZodIntersection<z.ZodObject<{
|
|
@@ -81,68 +144,5 @@ declare const QueryInventoryResponse: z.ZodObject<{
|
|
|
81
144
|
}, z.core.$strip>>;
|
|
82
145
|
totalResults: z.ZodOptional<z.ZodNumber>;
|
|
83
146
|
}, z.core.$strip>;
|
|
84
|
-
declare const UpdateInventoryVariantsRequest: z.ZodObject<{
|
|
85
|
-
productId: z.ZodString;
|
|
86
|
-
inventoryItem: z.ZodObject<{
|
|
87
|
-
_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
88
|
-
externalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
89
|
-
productId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
90
|
-
trackQuantity: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
91
|
-
variants: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
92
|
-
variantId: z.ZodOptional<z.ZodString>;
|
|
93
|
-
inStock: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
94
|
-
quantity: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
95
|
-
availableForPreorder: z.ZodOptional<z.ZodBoolean>;
|
|
96
|
-
}, z.core.$strip>>>;
|
|
97
|
-
lastUpdated: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
|
|
98
|
-
numericId: z.ZodOptional<z.ZodString>;
|
|
99
|
-
preorderInfo: z.ZodOptional<z.ZodObject<{
|
|
100
|
-
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
101
|
-
message: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
102
|
-
limit: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
103
|
-
}, z.core.$strip>>;
|
|
104
|
-
}, z.core.$strip>;
|
|
105
|
-
}, z.core.$strip>;
|
|
106
|
-
declare const UpdateInventoryVariantsResponse: z.ZodObject<{}, z.core.$strip>;
|
|
107
|
-
declare const DecrementInventoryRequest: z.ZodObject<{
|
|
108
|
-
decrementData: z.ZodArray<z.ZodIntersection<z.ZodObject<{
|
|
109
|
-
variantId: z.ZodOptional<z.ZodString>;
|
|
110
|
-
decrementBy: z.ZodOptional<z.ZodNumber>;
|
|
111
|
-
preorderRequest: z.ZodOptional<z.ZodBoolean>;
|
|
112
|
-
}, z.core.$strip>, z.ZodXor<readonly [z.ZodObject<{
|
|
113
|
-
inventoryId: z.ZodOptional<z.ZodNever>;
|
|
114
|
-
externalId: z.ZodOptional<z.ZodNever>;
|
|
115
|
-
productId: z.ZodOptional<z.ZodNever>;
|
|
116
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
117
|
-
externalId: z.ZodOptional<z.ZodNever>;
|
|
118
|
-
productId: z.ZodOptional<z.ZodNever>;
|
|
119
|
-
inventoryId: z.ZodString;
|
|
120
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
121
|
-
inventoryId: z.ZodOptional<z.ZodNever>;
|
|
122
|
-
productId: z.ZodOptional<z.ZodNever>;
|
|
123
|
-
externalId: z.ZodString;
|
|
124
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
125
|
-
inventoryId: z.ZodOptional<z.ZodNever>;
|
|
126
|
-
externalId: z.ZodOptional<z.ZodNever>;
|
|
127
|
-
productId: z.ZodString;
|
|
128
|
-
}, z.core.$strip>]>>>;
|
|
129
|
-
}, z.core.$strip>;
|
|
130
|
-
declare const DecrementInventoryResponse: z.ZodObject<{}, z.core.$strip>;
|
|
131
|
-
declare const IncrementInventoryRequest: z.ZodObject<{
|
|
132
|
-
incrementData: z.ZodArray<z.ZodIntersection<z.ZodObject<{
|
|
133
|
-
variantId: z.ZodOptional<z.ZodString>;
|
|
134
|
-
incrementBy: z.ZodOptional<z.ZodNumber>;
|
|
135
|
-
}, z.core.$strip>, z.ZodXor<readonly [z.ZodObject<{
|
|
136
|
-
inventoryId: z.ZodOptional<z.ZodNever>;
|
|
137
|
-
productId: z.ZodOptional<z.ZodNever>;
|
|
138
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
139
|
-
productId: z.ZodOptional<z.ZodNever>;
|
|
140
|
-
inventoryId: z.ZodString;
|
|
141
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
142
|
-
inventoryId: z.ZodOptional<z.ZodNever>;
|
|
143
|
-
productId: z.ZodString;
|
|
144
|
-
}, z.core.$strip>]>>>;
|
|
145
|
-
}, z.core.$strip>;
|
|
146
|
-
declare const IncrementInventoryResponse: z.ZodObject<{}, z.core.$strip>;
|
|
147
147
|
|
|
148
148
|
export { DecrementInventoryRequest, DecrementInventoryResponse, GetInventoryVariantsRequest, GetInventoryVariantsResponse, IncrementInventoryRequest, IncrementInventoryResponse, QueryInventoryRequest, QueryInventoryResponse, UpdateInventoryVariantsRequest, UpdateInventoryVariantsResponse };
|
|
@@ -1,5 +1,105 @@
|
|
|
1
1
|
// src/stores-v2-inventory-inventory.schemas.ts
|
|
2
2
|
import * as z from "zod";
|
|
3
|
+
var UpdateInventoryVariantsRequest = z.object({
|
|
4
|
+
productId: z.string().describe("Product ID."),
|
|
5
|
+
inventoryItem: z.object({
|
|
6
|
+
_id: z.string().describe("Inventory item ID.").optional().nullable(),
|
|
7
|
+
externalId: z.string().describe("Deprecated: use productId.").optional().nullable(),
|
|
8
|
+
productId: z.string().describe("Product ID.").optional().nullable(),
|
|
9
|
+
trackQuantity: z.boolean().describe("Whether quantity is being tracked.").optional().nullable(),
|
|
10
|
+
variants: z.array(
|
|
11
|
+
z.object({
|
|
12
|
+
variantId: z.string().describe("Variant ID.").optional(),
|
|
13
|
+
inStock: z.boolean().describe("Whether the product is listed as in stock.").optional().nullable(),
|
|
14
|
+
quantity: z.number().int().describe("Quantity currently left in inventory.").min(0).optional().nullable(),
|
|
15
|
+
availableForPreorder: z.boolean().describe(
|
|
16
|
+
"Whether the variant is available for preorder. When `true`, the variant is out of stock and preorder is enabled on inventory level."
|
|
17
|
+
).optional()
|
|
18
|
+
})
|
|
19
|
+
).optional(),
|
|
20
|
+
lastUpdated: z.date().describe("Last updated timestamp.").optional().nullable(),
|
|
21
|
+
numericId: z.string().regex(/^\d+$/, "Must be a valid UInt64 string").describe(
|
|
22
|
+
"Inventory\u2019s unique numeric ID (assigned in ascending order).\nPrimarily for sorting and filtering when crawling all inventories."
|
|
23
|
+
).optional(),
|
|
24
|
+
preorderInfo: z.object({
|
|
25
|
+
enabled: z.boolean().describe("Whether the item is available for preorder.").optional(),
|
|
26
|
+
message: z.string().describe(
|
|
27
|
+
"A message the buyer will see when the item is out of stock and preorder is enabled."
|
|
28
|
+
).min(1).max(250).optional().nullable(),
|
|
29
|
+
limit: z.number().int().describe(
|
|
30
|
+
"Number of products that can be preordered after stock reaches zero."
|
|
31
|
+
).min(0).max(1e5).optional().nullable()
|
|
32
|
+
}).describe("Preorder information.").optional()
|
|
33
|
+
}).describe("Inventory item to update.")
|
|
34
|
+
});
|
|
35
|
+
var UpdateInventoryVariantsResponse = z.object({});
|
|
36
|
+
var DecrementInventoryRequest = z.object({
|
|
37
|
+
decrementData: z.array(
|
|
38
|
+
z.intersection(
|
|
39
|
+
z.object({
|
|
40
|
+
variantId: z.string().describe("Variant ID.").regex(
|
|
41
|
+
/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
|
|
42
|
+
"Must be a valid GUID"
|
|
43
|
+
).optional(),
|
|
44
|
+
decrementBy: z.number().int().describe("Number to decrement inventory by.").min(1).optional(),
|
|
45
|
+
preorderRequest: z.boolean().describe(
|
|
46
|
+
"Whether the request to decrement the item's inventory was made as part of a purchase that includes preorder items.\nIf true and the item is available for preorder, we allow negative inventory.\nIf false and the item is not available for preorder, we allow regular buy flow (no negative inventory)."
|
|
47
|
+
).optional()
|
|
48
|
+
}),
|
|
49
|
+
z.xor([
|
|
50
|
+
z.object({
|
|
51
|
+
inventoryId: z.never().optional(),
|
|
52
|
+
externalId: z.never().optional(),
|
|
53
|
+
productId: z.never().optional()
|
|
54
|
+
}),
|
|
55
|
+
z.object({
|
|
56
|
+
externalId: z.never().optional(),
|
|
57
|
+
productId: z.never().optional(),
|
|
58
|
+
inventoryId: z.string().describe("Inventory item ID.").max(36)
|
|
59
|
+
}),
|
|
60
|
+
z.object({
|
|
61
|
+
inventoryId: z.never().optional(),
|
|
62
|
+
productId: z.never().optional(),
|
|
63
|
+
externalId: z.string().describe("Deprecated: use productId.").max(36)
|
|
64
|
+
}),
|
|
65
|
+
z.object({
|
|
66
|
+
inventoryId: z.never().optional(),
|
|
67
|
+
externalId: z.never().optional(),
|
|
68
|
+
productId: z.string().describe("Product ID.").max(36)
|
|
69
|
+
})
|
|
70
|
+
])
|
|
71
|
+
)
|
|
72
|
+
).min(1).max(300)
|
|
73
|
+
});
|
|
74
|
+
var DecrementInventoryResponse = z.object({});
|
|
75
|
+
var IncrementInventoryRequest = z.object({
|
|
76
|
+
incrementData: z.array(
|
|
77
|
+
z.intersection(
|
|
78
|
+
z.object({
|
|
79
|
+
variantId: z.string().describe("Variant ID.").regex(
|
|
80
|
+
/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
|
|
81
|
+
"Must be a valid GUID"
|
|
82
|
+
).optional(),
|
|
83
|
+
incrementBy: z.number().int().describe("Number to increment inventory by.").min(1).optional()
|
|
84
|
+
}),
|
|
85
|
+
z.xor([
|
|
86
|
+
z.object({
|
|
87
|
+
inventoryId: z.never().optional(),
|
|
88
|
+
productId: z.never().optional()
|
|
89
|
+
}),
|
|
90
|
+
z.object({
|
|
91
|
+
productId: z.never().optional(),
|
|
92
|
+
inventoryId: z.string().describe("Inventory item ID.").max(36)
|
|
93
|
+
}),
|
|
94
|
+
z.object({
|
|
95
|
+
inventoryId: z.never().optional(),
|
|
96
|
+
productId: z.string().describe("Product ID.").max(36)
|
|
97
|
+
})
|
|
98
|
+
])
|
|
99
|
+
)
|
|
100
|
+
).min(1).max(300)
|
|
101
|
+
});
|
|
102
|
+
var IncrementInventoryResponse = z.object({});
|
|
3
103
|
var GetInventoryVariantsRequest = z.object({
|
|
4
104
|
inventoryId: z.string().describe("Inventory item ID."),
|
|
5
105
|
options: z.intersection(
|
|
@@ -113,106 +213,6 @@ var QueryInventoryResponse = z.object({
|
|
|
113
213
|
}).describe("Display metadata.").optional(),
|
|
114
214
|
totalResults: z.number().int().describe("Number of total results.").optional()
|
|
115
215
|
});
|
|
116
|
-
var UpdateInventoryVariantsRequest = z.object({
|
|
117
|
-
productId: z.string().describe("Product ID."),
|
|
118
|
-
inventoryItem: z.object({
|
|
119
|
-
_id: z.string().describe("Inventory item ID.").optional().nullable(),
|
|
120
|
-
externalId: z.string().describe("Deprecated: use productId.").optional().nullable(),
|
|
121
|
-
productId: z.string().describe("Product ID.").optional().nullable(),
|
|
122
|
-
trackQuantity: z.boolean().describe("Whether quantity is being tracked.").optional().nullable(),
|
|
123
|
-
variants: z.array(
|
|
124
|
-
z.object({
|
|
125
|
-
variantId: z.string().describe("Variant ID.").optional(),
|
|
126
|
-
inStock: z.boolean().describe("Whether the product is listed as in stock.").optional().nullable(),
|
|
127
|
-
quantity: z.number().int().describe("Quantity currently left in inventory.").min(0).optional().nullable(),
|
|
128
|
-
availableForPreorder: z.boolean().describe(
|
|
129
|
-
"Whether the variant is available for preorder. When `true`, the variant is out of stock and preorder is enabled on inventory level."
|
|
130
|
-
).optional()
|
|
131
|
-
})
|
|
132
|
-
).optional(),
|
|
133
|
-
lastUpdated: z.date().describe("Last updated timestamp.").optional().nullable(),
|
|
134
|
-
numericId: z.string().regex(/^\d+$/, "Must be a valid UInt64 string").describe(
|
|
135
|
-
"Inventory\u2019s unique numeric ID (assigned in ascending order).\nPrimarily for sorting and filtering when crawling all inventories."
|
|
136
|
-
).optional(),
|
|
137
|
-
preorderInfo: z.object({
|
|
138
|
-
enabled: z.boolean().describe("Whether the item is available for preorder.").optional(),
|
|
139
|
-
message: z.string().describe(
|
|
140
|
-
"A message the buyer will see when the item is out of stock and preorder is enabled."
|
|
141
|
-
).min(1).max(250).optional().nullable(),
|
|
142
|
-
limit: z.number().int().describe(
|
|
143
|
-
"Number of products that can be preordered after stock reaches zero."
|
|
144
|
-
).min(0).max(1e5).optional().nullable()
|
|
145
|
-
}).describe("Preorder information.").optional()
|
|
146
|
-
}).describe("Inventory item to update.")
|
|
147
|
-
});
|
|
148
|
-
var UpdateInventoryVariantsResponse = z.object({});
|
|
149
|
-
var DecrementInventoryRequest = z.object({
|
|
150
|
-
decrementData: z.array(
|
|
151
|
-
z.intersection(
|
|
152
|
-
z.object({
|
|
153
|
-
variantId: z.string().describe("Variant ID.").regex(
|
|
154
|
-
/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
|
|
155
|
-
"Must be a valid GUID"
|
|
156
|
-
).optional(),
|
|
157
|
-
decrementBy: z.number().int().describe("Number to decrement inventory by.").min(1).optional(),
|
|
158
|
-
preorderRequest: z.boolean().describe(
|
|
159
|
-
"Whether the request to decrement the item's inventory was made as part of a purchase that includes preorder items.\nIf true and the item is available for preorder, we allow negative inventory.\nIf false and the item is not available for preorder, we allow regular buy flow (no negative inventory)."
|
|
160
|
-
).optional()
|
|
161
|
-
}),
|
|
162
|
-
z.xor([
|
|
163
|
-
z.object({
|
|
164
|
-
inventoryId: z.never().optional(),
|
|
165
|
-
externalId: z.never().optional(),
|
|
166
|
-
productId: z.never().optional()
|
|
167
|
-
}),
|
|
168
|
-
z.object({
|
|
169
|
-
externalId: z.never().optional(),
|
|
170
|
-
productId: z.never().optional(),
|
|
171
|
-
inventoryId: z.string().describe("Inventory item ID.").max(36)
|
|
172
|
-
}),
|
|
173
|
-
z.object({
|
|
174
|
-
inventoryId: z.never().optional(),
|
|
175
|
-
productId: z.never().optional(),
|
|
176
|
-
externalId: z.string().describe("Deprecated: use productId.").max(36)
|
|
177
|
-
}),
|
|
178
|
-
z.object({
|
|
179
|
-
inventoryId: z.never().optional(),
|
|
180
|
-
externalId: z.never().optional(),
|
|
181
|
-
productId: z.string().describe("Product ID.").max(36)
|
|
182
|
-
})
|
|
183
|
-
])
|
|
184
|
-
)
|
|
185
|
-
).min(1).max(300)
|
|
186
|
-
});
|
|
187
|
-
var DecrementInventoryResponse = z.object({});
|
|
188
|
-
var IncrementInventoryRequest = z.object({
|
|
189
|
-
incrementData: z.array(
|
|
190
|
-
z.intersection(
|
|
191
|
-
z.object({
|
|
192
|
-
variantId: z.string().describe("Variant ID.").regex(
|
|
193
|
-
/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
|
|
194
|
-
"Must be a valid GUID"
|
|
195
|
-
).optional(),
|
|
196
|
-
incrementBy: z.number().int().describe("Number to increment inventory by.").min(1).optional()
|
|
197
|
-
}),
|
|
198
|
-
z.xor([
|
|
199
|
-
z.object({
|
|
200
|
-
inventoryId: z.never().optional(),
|
|
201
|
-
productId: z.never().optional()
|
|
202
|
-
}),
|
|
203
|
-
z.object({
|
|
204
|
-
productId: z.never().optional(),
|
|
205
|
-
inventoryId: z.string().describe("Inventory item ID.").max(36)
|
|
206
|
-
}),
|
|
207
|
-
z.object({
|
|
208
|
-
inventoryId: z.never().optional(),
|
|
209
|
-
productId: z.string().describe("Product ID.").max(36)
|
|
210
|
-
})
|
|
211
|
-
])
|
|
212
|
-
)
|
|
213
|
-
).min(1).max(300)
|
|
214
|
-
});
|
|
215
|
-
var IncrementInventoryResponse = z.object({});
|
|
216
216
|
export {
|
|
217
217
|
DecrementInventoryRequest,
|
|
218
218
|
DecrementInventoryResponse,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/stores-v2-inventory-inventory.schemas.ts"],"sourcesContent":["import * as z from 'zod';\n\nexport const GetInventoryVariantsRequest = z.object({\n inventoryId: z.string().describe('Inventory item ID.'),\n options: z\n .intersection(\n z.object({ variantIds: z.array(z.string()).optional() }),\n z.xor([\n z.object({\n inventoryId: z.never().optional(),\n externalId: z.never().optional(),\n productId: z.never().optional(),\n }),\n z.object({\n externalId: z.never().optional(),\n productId: z.never().optional(),\n inventoryId: z.string().describe('Inventory item ID.'),\n }),\n z.object({\n inventoryId: z.never().optional(),\n productId: z.never().optional(),\n externalId: z\n .string()\n .describe('Deprecated (use productID instead).'),\n }),\n z.object({\n inventoryId: z.never().optional(),\n externalId: z.never().optional(),\n productId: z.string().describe('Product ID.'),\n }),\n ])\n )\n .optional(),\n});\nexport const GetInventoryVariantsResponse = z.object({\n inventoryItem: z\n .object({\n _id: z.string().describe('Inventory item ID.').optional().nullable(),\n externalId: z\n .string()\n .describe('Deprecated: use productId.')\n .optional()\n .nullable(),\n productId: z.string().describe('Product ID.').optional().nullable(),\n trackQuantity: z\n .boolean()\n .describe('Whether quantity is being tracked.')\n .optional()\n .nullable(),\n variants: z\n .array(\n z.object({\n variantId: z.string().describe('Variant ID.').optional(),\n inStock: z\n .boolean()\n .describe('Whether the product is listed as in stock.')\n .optional()\n .nullable(),\n quantity: z\n .number()\n .int()\n .describe('Quantity currently left in inventory.')\n .min(0)\n .optional()\n .nullable(),\n availableForPreorder: z\n .boolean()\n .describe(\n 'Whether the variant is available for preorder. When `true`, the variant is out of stock and preorder is enabled on inventory level.'\n )\n .optional(),\n })\n )\n .optional(),\n lastUpdated: z\n .date()\n .describe('Last updated timestamp.')\n .optional()\n .nullable(),\n numericId: z\n .string()\n .regex(/^\\d+$/, 'Must be a valid UInt64 string')\n .describe(\n 'Inventory’s unique numeric ID (assigned in ascending order).\\nPrimarily for sorting and filtering when crawling all inventories.'\n )\n .optional(),\n preorderInfo: z\n .object({\n enabled: z\n .boolean()\n .describe('Whether the item is available for preorder.')\n .optional(),\n message: z\n .string()\n .describe(\n 'A message the buyer will see when the item is out of stock and preorder is enabled.'\n )\n .min(1)\n .max(250)\n .optional()\n .nullable(),\n limit: z\n .number()\n .int()\n .describe(\n 'Number of products that can be preordered after stock reaches zero.'\n )\n .min(0)\n .max(100000)\n .optional()\n .nullable(),\n })\n .describe('Preorder information.')\n .optional(),\n })\n .describe('Inventory item.')\n .optional(),\n});\nexport const QueryInventoryRequest = z.object({\n options: z\n .object({\n query: z\n .object({\n paging: z\n .object({\n limit: z\n .number()\n .int()\n .describe('Amount of items to load per page')\n .min(0)\n .max(100)\n .optional()\n .nullable(),\n offset: z\n .number()\n .int()\n .describe(\n 'Number of items to skip in the display (relevant for all pages after the first)'\n )\n .min(0)\n .optional()\n .nullable(),\n })\n .optional(),\n filter: z.string().describe('Filter string').optional().nullable(),\n sort: z.string().describe('Sort string').optional().nullable(),\n })\n .optional(),\n })\n .optional(),\n});\nexport const QueryInventoryResponse = z.object({\n inventoryItems: z\n .array(\n z.object({\n _id: z.string().describe('Inventory item ID.').optional().nullable(),\n externalId: z\n .string()\n .describe('Deprecated: use productId.')\n .optional()\n .nullable(),\n productId: z.string().describe('Product ID.').optional().nullable(),\n trackQuantity: z\n .boolean()\n .describe('Whether quantity is being tracked.')\n .optional()\n .nullable(),\n variants: z\n .array(\n z.object({\n variantId: z.string().describe('Variant ID.').optional(),\n inStock: z\n .boolean()\n .describe('Whether the product is listed as in stock.')\n .optional()\n .nullable(),\n quantity: z\n .number()\n .int()\n .describe('Quantity currently left in inventory.')\n .min(0)\n .optional()\n .nullable(),\n availableForPreorder: z\n .boolean()\n .describe(\n 'Whether the variant is available for preorder. When `true`, the variant is out of stock and preorder is enabled on inventory level.'\n )\n .optional(),\n })\n )\n .optional(),\n lastUpdated: z\n .date()\n .describe('Last updated timestamp.')\n .optional()\n .nullable(),\n numericId: z\n .string()\n .regex(/^\\d+$/, 'Must be a valid UInt64 string')\n .describe(\n 'Inventory’s unique numeric ID (assigned in ascending order).\\nPrimarily for sorting and filtering when crawling all inventories.'\n )\n .optional(),\n preorderInfo: z\n .object({\n enabled: z\n .boolean()\n .describe('Whether the item is available for preorder.')\n .optional(),\n message: z\n .string()\n .describe(\n 'A message the buyer will see when the item is out of stock and preorder is enabled.'\n )\n .min(1)\n .max(250)\n .optional()\n .nullable(),\n limit: z\n .number()\n .int()\n .describe(\n 'Number of products that can be preordered after stock reaches zero.'\n )\n .min(0)\n .max(100000)\n .optional()\n .nullable(),\n })\n .describe('Preorder information.')\n .optional(),\n })\n )\n .optional(),\n metadata: z\n .object({\n items: z\n .number()\n .int()\n .describe('Amount of items to load per page')\n .optional(),\n offset: z\n .number()\n .int()\n .describe(\n 'Number of items to skip in the display (relevant for all pages after the first)'\n )\n .optional(),\n })\n .describe('Display metadata.')\n .optional(),\n totalResults: z\n .number()\n .int()\n .describe('Number of total results.')\n .optional(),\n});\nexport const UpdateInventoryVariantsRequest = z.object({\n productId: z.string().describe('Product ID.'),\n inventoryItem: z\n .object({\n _id: z.string().describe('Inventory item ID.').optional().nullable(),\n externalId: z\n .string()\n .describe('Deprecated: use productId.')\n .optional()\n .nullable(),\n productId: z.string().describe('Product ID.').optional().nullable(),\n trackQuantity: z\n .boolean()\n .describe('Whether quantity is being tracked.')\n .optional()\n .nullable(),\n variants: z\n .array(\n z.object({\n variantId: z.string().describe('Variant ID.').optional(),\n inStock: z\n .boolean()\n .describe('Whether the product is listed as in stock.')\n .optional()\n .nullable(),\n quantity: z\n .number()\n .int()\n .describe('Quantity currently left in inventory.')\n .min(0)\n .optional()\n .nullable(),\n availableForPreorder: z\n .boolean()\n .describe(\n 'Whether the variant is available for preorder. When `true`, the variant is out of stock and preorder is enabled on inventory level.'\n )\n .optional(),\n })\n )\n .optional(),\n lastUpdated: z\n .date()\n .describe('Last updated timestamp.')\n .optional()\n .nullable(),\n numericId: z\n .string()\n .regex(/^\\d+$/, 'Must be a valid UInt64 string')\n .describe(\n 'Inventory’s unique numeric ID (assigned in ascending order).\\nPrimarily for sorting and filtering when crawling all inventories.'\n )\n .optional(),\n preorderInfo: z\n .object({\n enabled: z\n .boolean()\n .describe('Whether the item is available for preorder.')\n .optional(),\n message: z\n .string()\n .describe(\n 'A message the buyer will see when the item is out of stock and preorder is enabled.'\n )\n .min(1)\n .max(250)\n .optional()\n .nullable(),\n limit: z\n .number()\n .int()\n .describe(\n 'Number of products that can be preordered after stock reaches zero.'\n )\n .min(0)\n .max(100000)\n .optional()\n .nullable(),\n })\n .describe('Preorder information.')\n .optional(),\n })\n .describe('Inventory item to update.'),\n});\nexport const UpdateInventoryVariantsResponse = z.object({});\nexport const DecrementInventoryRequest = z.object({\n decrementData: z\n .array(\n z.intersection(\n z.object({\n variantId: z\n .string()\n .describe('Variant ID.')\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n decrementBy: z\n .number()\n .int()\n .describe('Number to decrement inventory by.')\n .min(1)\n .optional(),\n preorderRequest: z\n .boolean()\n .describe(\n \"Whether the request to decrement the item's inventory was made as part of a purchase that includes preorder items.\\nIf true and the item is available for preorder, we allow negative inventory.\\nIf false and the item is not available for preorder, we allow regular buy flow (no negative inventory).\"\n )\n .optional(),\n }),\n z.xor([\n z.object({\n inventoryId: z.never().optional(),\n externalId: z.never().optional(),\n productId: z.never().optional(),\n }),\n z.object({\n externalId: z.never().optional(),\n productId: z.never().optional(),\n inventoryId: z.string().describe('Inventory item ID.').max(36),\n }),\n z.object({\n inventoryId: z.never().optional(),\n productId: z.never().optional(),\n externalId: z\n .string()\n .describe('Deprecated: use productId.')\n .max(36),\n }),\n z.object({\n inventoryId: z.never().optional(),\n externalId: z.never().optional(),\n productId: z.string().describe('Product ID.').max(36),\n }),\n ])\n )\n )\n .min(1)\n .max(300),\n});\nexport const DecrementInventoryResponse = z.object({});\nexport const IncrementInventoryRequest = z.object({\n incrementData: z\n .array(\n z.intersection(\n z.object({\n variantId: z\n .string()\n .describe('Variant ID.')\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n incrementBy: z\n .number()\n .int()\n .describe('Number to increment inventory by.')\n .min(1)\n .optional(),\n }),\n z.xor([\n z.object({\n inventoryId: z.never().optional(),\n productId: z.never().optional(),\n }),\n z.object({\n productId: z.never().optional(),\n inventoryId: z.string().describe('Inventory item ID.').max(36),\n }),\n z.object({\n inventoryId: z.never().optional(),\n productId: z.string().describe('Product ID.').max(36),\n }),\n ])\n )\n )\n .min(1)\n .max(300),\n});\nexport const IncrementInventoryResponse = z.object({});\n"],"mappings":";AAAA,YAAY,OAAO;AAEZ,IAAM,8BAAgC,SAAO;AAAA,EAClD,aAAe,SAAO,EAAE,SAAS,oBAAoB;AAAA,EACrD,SACG;AAAA,IACG,SAAO,EAAE,YAAc,QAAQ,SAAO,CAAC,EAAE,SAAS,EAAE,CAAC;AAAA,IACrD,MAAI;AAAA,MACF,SAAO;AAAA,QACP,aAAe,QAAM,EAAE,SAAS;AAAA,QAChC,YAAc,QAAM,EAAE,SAAS;AAAA,QAC/B,WAAa,QAAM,EAAE,SAAS;AAAA,MAChC,CAAC;AAAA,MACC,SAAO;AAAA,QACP,YAAc,QAAM,EAAE,SAAS;AAAA,QAC/B,WAAa,Q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,QACP,WACG,SAAO,EACP,SAAS,aAAa,EACtB;AAAA,UACC;AAAA,UACA;AAAA,QACF,EACC,SAAS;AAAA,QACZ,aACG,SAAO,EACP,IAAI,EACJ,SAAS,mCAAmC,EAC5C,IAAI,CAAC,EACL,SAAS;AAAA,MACd,CAAC;AAAA,MACC,MAAI;AAAA,QACF,SAAO;AAAA,UACP,aAAe,QAAM,EAAE,SAAS;AAAA,UAChC,WAAa,QAAM,EAAE,SAAS;AAAA,QAChC,CAAC;AAAA,QACC,SAAO;AAAA,UACP,WAAa,QAAM,EAAE,SAAS;AAAA,UAC9B,aAAe,SAAO,EAAE,SAAS,oBAAoB,EAAE,IAAI,EAAE;AAAA,QAC/D,CAAC;AAAA,QACC,SAAO;AAAA,UACP,aAAe,QAAM,EAAE,SAAS;AAAA,UAChC,WAAa,SAAO,EAAE,SAAS,aAAa,EAAE,IAAI,EAAE;AAAA,QACtD,CAAC;AAAA,MACH,CAAC;AAAA,IACH;AAAA,EACF,EACC,IAAI,CAAC,EACL,IAAI,GAAG;AACZ,CAAC;AACM,IAAM,6BAA+B,SAAO,CAAC,CAAC;","names":[]}
|
|
1
|
+
{"version":3,"sources":["../../../src/stores-v2-inventory-inventory.schemas.ts"],"sourcesContent":["import * as z from 'zod';\n\nexport const UpdateInventoryVariantsRequest = z.object({\n productId: z.string().describe('Product ID.'),\n inventoryItem: z\n .object({\n _id: z.string().describe('Inventory item ID.').optional().nullable(),\n externalId: z\n .string()\n .describe('Deprecated: use productId.')\n .optional()\n .nullable(),\n productId: z.string().describe('Product ID.').optional().nullable(),\n trackQuantity: z\n .boolean()\n .describe('Whether quantity is being tracked.')\n .optional()\n .nullable(),\n variants: z\n .array(\n z.object({\n variantId: z.string().describe('Variant ID.').optional(),\n inStock: z\n .boolean()\n .describe('Whether the product is listed as in stock.')\n .optional()\n .nullable(),\n quantity: z\n .number()\n .int()\n .describe('Quantity currently left in inventory.')\n .min(0)\n .optional()\n .nullable(),\n availableForPreorder: z\n .boolean()\n .describe(\n 'Whether the variant is available for preorder. When `true`, the variant is out of stock and preorder is enabled on inventory level.'\n )\n .optional(),\n })\n )\n .optional(),\n lastUpdated: z\n .date()\n .describe('Last updated timestamp.')\n .optional()\n .nullable(),\n numericId: z\n .string()\n .regex(/^\\d+$/, 'Must be a valid UInt64 string')\n .describe(\n 'Inventory’s unique numeric ID (assigned in ascending order).\\nPrimarily for sorting and filtering when crawling all inventories.'\n )\n .optional(),\n preorderInfo: z\n .object({\n enabled: z\n .boolean()\n .describe('Whether the item is available for preorder.')\n .optional(),\n message: z\n .string()\n .describe(\n 'A message the buyer will see when the item is out of stock and preorder is enabled.'\n )\n .min(1)\n .max(250)\n .optional()\n .nullable(),\n limit: z\n .number()\n .int()\n .describe(\n 'Number of products that can be preordered after stock reaches zero.'\n )\n .min(0)\n .max(100000)\n .optional()\n .nullable(),\n })\n .describe('Preorder information.')\n .optional(),\n })\n .describe('Inventory item to update.'),\n});\nexport const UpdateInventoryVariantsResponse = z.object({});\nexport const DecrementInventoryRequest = z.object({\n decrementData: z\n .array(\n z.intersection(\n z.object({\n variantId: z\n .string()\n .describe('Variant ID.')\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n decrementBy: z\n .number()\n .int()\n .describe('Number to decrement inventory by.')\n .min(1)\n .optional(),\n preorderRequest: z\n .boolean()\n .describe(\n \"Whether the request to decrement the item's inventory was made as part of a purchase that includes preorder items.\\nIf true and the item is available for preorder, we allow negative inventory.\\nIf false and the item is not available for preorder, we allow regular buy flow (no negative inventory).\"\n )\n .optional(),\n }),\n z.xor([\n z.object({\n inventoryId: z.never().optional(),\n externalId: z.never().optional(),\n productId: z.never().optional(),\n }),\n z.object({\n externalId: z.never().optional(),\n productId: z.never().optional(),\n inventoryId: z.string().describe('Inventory item ID.').max(36),\n }),\n z.object({\n inventoryId: z.never().optional(),\n productId: z.never().optional(),\n externalId: z\n .string()\n .describe('Deprecated: use productId.')\n .max(36),\n }),\n z.object({\n inventoryId: z.never().optional(),\n externalId: z.never().optional(),\n productId: z.string().describe('Product ID.').max(36),\n }),\n ])\n )\n )\n .min(1)\n .max(300),\n});\nexport const DecrementInventoryResponse = z.object({});\nexport const IncrementInventoryRequest = z.object({\n incrementData: z\n .array(\n z.intersection(\n z.object({\n variantId: z\n .string()\n .describe('Variant ID.')\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n incrementBy: z\n .number()\n .int()\n .describe('Number to increment inventory by.')\n .min(1)\n .optional(),\n }),\n z.xor([\n z.object({\n inventoryId: z.never().optional(),\n productId: z.never().optional(),\n }),\n z.object({\n productId: z.never().optional(),\n inventoryId: z.string().describe('Inventory item ID.').max(36),\n }),\n z.object({\n inventoryId: z.never().optional(),\n productId: z.string().describe('Product ID.').max(36),\n }),\n ])\n )\n )\n .min(1)\n .max(300),\n});\nexport const IncrementInventoryResponse = z.object({});\nexport const GetInventoryVariantsRequest = z.object({\n inventoryId: z.string().describe('Inventory item ID.'),\n options: z\n .intersection(\n z.object({ variantIds: z.array(z.string()).optional() }),\n z.xor([\n z.object({\n inventoryId: z.never().optional(),\n externalId: z.never().optional(),\n productId: z.never().optional(),\n }),\n z.object({\n externalId: z.never().optional(),\n productId: z.never().optional(),\n inventoryId: z.string().describe('Inventory item ID.'),\n }),\n z.object({\n inventoryId: z.never().optional(),\n productId: z.never().optional(),\n externalId: z\n .string()\n .describe('Deprecated (use productID instead).'),\n }),\n z.object({\n inventoryId: z.never().optional(),\n externalId: z.never().optional(),\n productId: z.string().describe('Product ID.'),\n }),\n ])\n )\n .optional(),\n});\nexport const GetInventoryVariantsResponse = z.object({\n inventoryItem: z\n .object({\n _id: z.string().describe('Inventory item ID.').optional().nullable(),\n externalId: z\n .string()\n .describe('Deprecated: use productId.')\n .optional()\n .nullable(),\n productId: z.string().describe('Product ID.').optional().nullable(),\n trackQuantity: z\n .boolean()\n .describe('Whether quantity is being tracked.')\n .optional()\n .nullable(),\n variants: z\n .array(\n z.object({\n variantId: z.string().describe('Variant ID.').optional(),\n inStock: z\n .boolean()\n .describe('Whether the product is listed as in stock.')\n .optional()\n .nullable(),\n quantity: z\n .number()\n .int()\n .describe('Quantity currently left in inventory.')\n .min(0)\n .optional()\n .nullable(),\n availableForPreorder: z\n .boolean()\n .describe(\n 'Whether the variant is available for preorder. When `true`, the variant is out of stock and preorder is enabled on inventory level.'\n )\n .optional(),\n })\n )\n .optional(),\n lastUpdated: z\n .date()\n .describe('Last updated timestamp.')\n .optional()\n .nullable(),\n numericId: z\n .string()\n .regex(/^\\d+$/, 'Must be a valid UInt64 string')\n .describe(\n 'Inventory’s unique numeric ID (assigned in ascending order).\\nPrimarily for sorting and filtering when crawling all inventories.'\n )\n .optional(),\n preorderInfo: z\n .object({\n enabled: z\n .boolean()\n .describe('Whether the item is available for preorder.')\n .optional(),\n message: z\n .string()\n .describe(\n 'A message the buyer will see when the item is out of stock and preorder is enabled.'\n )\n .min(1)\n .max(250)\n .optional()\n .nullable(),\n limit: z\n .number()\n .int()\n .describe(\n 'Number of products that can be preordered after stock reaches zero.'\n )\n .min(0)\n .max(100000)\n .optional()\n .nullable(),\n })\n .describe('Preorder information.')\n .optional(),\n })\n .describe('Inventory item.')\n .optional(),\n});\nexport const QueryInventoryRequest = z.object({\n options: z\n .object({\n query: z\n .object({\n paging: z\n .object({\n limit: z\n .number()\n .int()\n .describe('Amount of items to load per page')\n .min(0)\n .max(100)\n .optional()\n .nullable(),\n offset: z\n .number()\n .int()\n .describe(\n 'Number of items to skip in the display (relevant for all pages after the first)'\n )\n .min(0)\n .optional()\n .nullable(),\n })\n .optional(),\n filter: z.string().describe('Filter string').optional().nullable(),\n sort: z.string().describe('Sort string').optional().nullable(),\n })\n .optional(),\n })\n .optional(),\n});\nexport const QueryInventoryResponse = z.object({\n inventoryItems: z\n .array(\n z.object({\n _id: z.string().describe('Inventory item ID.').optional().nullable(),\n externalId: z\n .string()\n .describe('Deprecated: use productId.')\n .optional()\n .nullable(),\n productId: z.string().describe('Product ID.').optional().nullable(),\n trackQuantity: z\n .boolean()\n .describe('Whether quantity is being tracked.')\n .optional()\n .nullable(),\n variants: z\n .array(\n z.object({\n variantId: z.string().describe('Variant ID.').optional(),\n inStock: z\n .boolean()\n .describe('Whether the product is listed as in stock.')\n .optional()\n .nullable(),\n quantity: z\n .number()\n .int()\n .describe('Quantity currently left in inventory.')\n .min(0)\n .optional()\n .nullable(),\n availableForPreorder: z\n .boolean()\n .describe(\n 'Whether the variant is available for preorder. When `true`, the variant is out of stock and preorder is enabled on inventory level.'\n )\n .optional(),\n })\n )\n .optional(),\n lastUpdated: z\n .date()\n .describe('Last updated timestamp.')\n .optional()\n .nullable(),\n numericId: z\n .string()\n .regex(/^\\d+$/, 'Must be a valid UInt64 string')\n .describe(\n 'Inventory’s unique numeric ID (assigned in ascending order).\\nPrimarily for sorting and filtering when crawling all inventories.'\n )\n .optional(),\n preorderInfo: z\n .object({\n enabled: z\n .boolean()\n .describe('Whether the item is available for preorder.')\n .optional(),\n message: z\n .string()\n .describe(\n 'A message the buyer will see when the item is out of stock and preorder is enabled.'\n )\n .min(1)\n .max(250)\n .optional()\n .nullable(),\n limit: z\n .number()\n .int()\n .describe(\n 'Number of products that can be preordered after stock reaches zero.'\n )\n .min(0)\n .max(100000)\n .optional()\n .nullable(),\n })\n .describe('Preorder information.')\n .optional(),\n })\n )\n .optional(),\n metadata: z\n .object({\n items: z\n .number()\n .int()\n .describe('Amount of items to load per page')\n .optional(),\n offset: z\n .number()\n .int()\n .describe(\n 'Number of items to skip in the display (relevant for all pages after the first)'\n )\n .optional(),\n })\n .describe('Display metadata.')\n .optional(),\n totalResults: z\n .number()\n .int()\n .describe('Number of total results.')\n .optional(),\n});\n"],"mappings":";A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S,aAAa,EAAE,SAAS;AAAA,UACvD,SACG,UAAQ,EACR,SAAS,4CAA4C,EACrD,SAAS,EACT,SAAS;AAAA,UACZ,UACG,SAAO,EACP,IAAI,EACJ,SAAS,uCAAuC,EAChD,IAAI,CAAC,EACL,SAAS,EACT,SAAS;AAAA,UACZ,sBACG,UAAQ,EACR;AAAA,YACC;AAAA,UACF,EACC,SAAS;AAAA,QACd,CAAC;AAAA,MACH,EACC,SAAS;AAAA,MACZ,aACG,OAAK,EACL,SAAS,yBAAyB,EAClC,SAAS,EACT,SAAS;AAAA,MACZ,WACG,SAAO,EACP,MAAM,SAAS,+BAA+B,EAC9C;AAAA,QACC;AAAA,MACF,EACC,SAAS;AAAA,MACZ,cACG,SAAO;AAAA,QACN,SACG,UAAQ,EACR,SAAS,6CAA6C,EACtD,SAAS;AAAA,QACZ,SACG,SAAO,EACP;AAAA,UACC;AAAA,QACF,EACC,IAAI,CAAC,EACL,IAAI,GAAG,EACP,SAAS,EACT,SAAS;AAAA,QACZ,OACG,SAAO,EACP,IAAI,EACJ;AAAA,UACC;AAAA,QACF,EACC,IAAI,CAAC,EACL,IAAI,GAAM,EACV,SAAS,EACT,SAAS;AAAA,MACd,CAAC,EACA,SAAS,uBAAuB,EAChC,SAAS;AAAA,IACd,CAAC;AAAA,EACH,EACC,SAAS;AAAA,EACZ,UACG,SAAO;AAAA,IACN,OACG,SAAO,EACP,IAAI,EACJ,SAAS,kCAAkC,EAC3C,SAAS;AAAA,IACZ,QACG,SAAO,EACP,IAAI,EACJ;AAAA,MACC;AAAA,IACF,EACC,SAAS;AAAA,EACd,CAAC,EACA,SAAS,mBAAmB,EAC5B,SAAS;AAAA,EACZ,cACG,SAAO,EACP,IAAI,EACJ,SAAS,0BAA0B,EACnC,SAAS;AACd,CAAC;","names":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/auto_sdk_stores_inventory",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.60",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/",
|
|
@@ -57,5 +57,5 @@
|
|
|
57
57
|
"fqdn": "wix.stores.v2.inventory"
|
|
58
58
|
}
|
|
59
59
|
},
|
|
60
|
-
"falconPackageHash": "
|
|
60
|
+
"falconPackageHash": "ea69ab0c5c4b623d47d26ddb63ee71a8e7fd9a0eb638cd336b476001"
|
|
61
61
|
}
|