erpnext-queue-client 1.9.1 → 1.9.3
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.
|
@@ -86,7 +86,9 @@ class ERPNextItem {
|
|
|
86
86
|
body: {
|
|
87
87
|
skus: aStockSkus,
|
|
88
88
|
},
|
|
89
|
-
responseValidationModel: zod_1.z
|
|
89
|
+
responseValidationModel: zod_1.z
|
|
90
|
+
.array(zod_1.z.string())
|
|
91
|
+
.describe("Created B-Stock Item Response"),
|
|
90
92
|
});
|
|
91
93
|
return result;
|
|
92
94
|
});
|
|
@@ -207,7 +207,7 @@ const ItemDimensionsInfo = ItemListModel.pick({
|
|
|
207
207
|
shipping_length: true,
|
|
208
208
|
shipping_height: true,
|
|
209
209
|
shipping_dimensions_unit: true,
|
|
210
|
-
});
|
|
210
|
+
}).describe("Item Dimensions Info");
|
|
211
211
|
// for getItemsByShippingTemplate
|
|
212
212
|
exports.ItemListName = zod_1.z
|
|
213
213
|
.array(ItemListModel.pick({
|
|
@@ -233,6 +233,8 @@ const ItemSupplier = zod_1.z
|
|
|
233
233
|
exports.ItemSupplierResponse = zod_1.z
|
|
234
234
|
.array(ItemSupplier)
|
|
235
235
|
.describe("ItemSupplierResponse");
|
|
236
|
-
const ItemSupplierValidated = ItemSupplier.omit({ parent: true })
|
|
236
|
+
const ItemSupplierValidated = ItemSupplier.omit({ parent: true })
|
|
237
|
+
.extend({
|
|
237
238
|
item_code: zod_1.z.string(),
|
|
238
|
-
})
|
|
239
|
+
})
|
|
240
|
+
.describe("Item Supplier Validated");
|
|
@@ -15,7 +15,7 @@ export declare const Supplier: z.ZodObject<{
|
|
|
15
15
|
country: z.ZodString;
|
|
16
16
|
is_transporter: z.ZodNumber;
|
|
17
17
|
is_internal_supplier: z.ZodNumber;
|
|
18
|
-
supplier_group: z.ZodString
|
|
18
|
+
supplier_group: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
19
19
|
allow_purchase_invoice_creation_without_purchase_order: z.ZodNumber;
|
|
20
20
|
allow_purchase_invoice_creation_without_purchase_receipt: z.ZodNumber;
|
|
21
21
|
disabled: z.ZodNumber;
|
|
@@ -91,7 +91,6 @@ export declare const Supplier: z.ZodObject<{
|
|
|
91
91
|
supplier_name: string;
|
|
92
92
|
is_transporter: number;
|
|
93
93
|
is_internal_supplier: number;
|
|
94
|
-
supplier_group: string;
|
|
95
94
|
allow_purchase_invoice_creation_without_purchase_order: number;
|
|
96
95
|
allow_purchase_invoice_creation_without_purchase_receipt: number;
|
|
97
96
|
warn_rfqs: number;
|
|
@@ -120,6 +119,7 @@ export declare const Supplier: z.ZodObject<{
|
|
|
120
119
|
}[];
|
|
121
120
|
import_reference?: string | null | undefined;
|
|
122
121
|
supplier_contact?: string | null | undefined;
|
|
122
|
+
supplier_group?: string | null | undefined;
|
|
123
123
|
default_currency?: string | null | undefined;
|
|
124
124
|
default_price_list?: string | null | undefined;
|
|
125
125
|
supplier_number_code?: string | undefined;
|
|
@@ -139,7 +139,6 @@ export declare const Supplier: z.ZodObject<{
|
|
|
139
139
|
supplier_name: string;
|
|
140
140
|
is_transporter: number;
|
|
141
141
|
is_internal_supplier: number;
|
|
142
|
-
supplier_group: string;
|
|
143
142
|
allow_purchase_invoice_creation_without_purchase_order: number;
|
|
144
143
|
allow_purchase_invoice_creation_without_purchase_receipt: number;
|
|
145
144
|
warn_rfqs: number;
|
|
@@ -168,6 +167,7 @@ export declare const Supplier: z.ZodObject<{
|
|
|
168
167
|
}[];
|
|
169
168
|
import_reference?: string | null | undefined;
|
|
170
169
|
supplier_contact?: string | null | undefined;
|
|
170
|
+
supplier_group?: string | null | undefined;
|
|
171
171
|
default_currency?: string | null | undefined;
|
|
172
172
|
default_price_list?: string | null | undefined;
|
|
173
173
|
supplier_number_code?: string | undefined;
|
|
@@ -20,7 +20,7 @@ exports.Supplier = zod_1.z
|
|
|
20
20
|
country: zod_1.z.string(),
|
|
21
21
|
is_transporter: zod_1.z.number(),
|
|
22
22
|
is_internal_supplier: zod_1.z.number(),
|
|
23
|
-
supplier_group: zod_1.z.string(),
|
|
23
|
+
supplier_group: zod_1.z.string().optional().nullable(),
|
|
24
24
|
allow_purchase_invoice_creation_without_purchase_order: zod_1.z.number(),
|
|
25
25
|
allow_purchase_invoice_creation_without_purchase_receipt: zod_1.z.number(),
|
|
26
26
|
disabled: zod_1.z.number(),
|