erpnext-queue-client 2.7.0 → 2.7.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -25,21 +25,43 @@ export declare const Customer: z.ZodObject<{
|
|
|
25
25
|
__optionalForInput: true;
|
|
26
26
|
};
|
|
27
27
|
default_commission_rate: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
28
|
+
default_currency: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
28
29
|
companies: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodOptional<z.ZodString>, "many">>>;
|
|
29
|
-
accounts: z.
|
|
30
|
+
accounts: z.ZodArray<z.ZodObject<{
|
|
31
|
+
company: z.ZodString;
|
|
32
|
+
account: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
33
|
+
debtor_creditor_number: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
34
|
+
advance_account: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
35
|
+
}, "strip", z.ZodTypeAny, {
|
|
36
|
+
company: string;
|
|
37
|
+
account?: string | null | undefined;
|
|
38
|
+
debtor_creditor_number?: string | null | undefined;
|
|
39
|
+
advance_account?: string | null | undefined;
|
|
40
|
+
}, {
|
|
41
|
+
company: string;
|
|
42
|
+
account?: string | null | undefined;
|
|
43
|
+
debtor_creditor_number?: string | null | undefined;
|
|
44
|
+
advance_account?: string | null | undefined;
|
|
45
|
+
}>, "many">;
|
|
30
46
|
credit_limits: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodOptional<z.ZodString>, "many">>>;
|
|
31
47
|
sales_team: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodOptional<z.ZodString>, "many">>>;
|
|
32
48
|
}, "strip", z.ZodTypeAny, {
|
|
33
49
|
disabled: 0 | 1;
|
|
34
50
|
is_frozen: 0 | 1;
|
|
51
|
+
accounts: {
|
|
52
|
+
company: string;
|
|
53
|
+
account?: string | null | undefined;
|
|
54
|
+
debtor_creditor_number?: string | null | undefined;
|
|
55
|
+
advance_account?: string | null | undefined;
|
|
56
|
+
}[];
|
|
35
57
|
customer_name: string;
|
|
36
58
|
is_internal_customer: 0 | 1;
|
|
37
59
|
so_required: 0 | 1;
|
|
38
60
|
dn_required: 0 | 1;
|
|
39
61
|
naming_series?: string | undefined;
|
|
62
|
+
default_currency?: string | null | undefined;
|
|
40
63
|
language?: string | null | undefined;
|
|
41
64
|
companies?: (string | undefined)[] | null | undefined;
|
|
42
|
-
accounts?: (string | undefined)[] | null | undefined;
|
|
43
65
|
customer_group?: string | undefined;
|
|
44
66
|
territory?: string | null | undefined;
|
|
45
67
|
sales_team?: (string | undefined)[] | null | undefined;
|
|
@@ -50,13 +72,19 @@ export declare const Customer: z.ZodObject<{
|
|
|
50
72
|
default_commission_rate?: number | null | undefined;
|
|
51
73
|
credit_limits?: (string | undefined)[] | null | undefined;
|
|
52
74
|
}, {
|
|
75
|
+
accounts: {
|
|
76
|
+
company: string;
|
|
77
|
+
account?: string | null | undefined;
|
|
78
|
+
debtor_creditor_number?: string | null | undefined;
|
|
79
|
+
advance_account?: string | null | undefined;
|
|
80
|
+
}[];
|
|
53
81
|
customer_name: string;
|
|
54
82
|
disabled?: unknown;
|
|
55
83
|
naming_series?: string | undefined;
|
|
84
|
+
default_currency?: string | null | undefined;
|
|
56
85
|
language?: string | null | undefined;
|
|
57
86
|
is_frozen?: unknown;
|
|
58
87
|
companies?: (string | undefined)[] | null | undefined;
|
|
59
|
-
accounts?: (string | undefined)[] | null | undefined;
|
|
60
88
|
is_internal_customer?: unknown;
|
|
61
89
|
customer_group?: string | undefined;
|
|
62
90
|
territory?: string | null | undefined;
|
|
@@ -3,6 +3,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.Customer = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const Boolean_1 = require("./Boolean");
|
|
6
|
+
const AccountListEntry = zod_1.z.object({
|
|
7
|
+
company: zod_1.z.string(),
|
|
8
|
+
account: zod_1.z.string().optional().nullable(),
|
|
9
|
+
debtor_creditor_number: zod_1.z.string().optional().nullable(),
|
|
10
|
+
advance_account: zod_1.z.string().optional().nullable(),
|
|
11
|
+
});
|
|
6
12
|
exports.Customer = zod_1.z
|
|
7
13
|
.object({
|
|
8
14
|
naming_series: zod_1.z.string().optional(),
|
|
@@ -20,8 +26,9 @@ exports.Customer = zod_1.z
|
|
|
20
26
|
language: zod_1.z.string().optional().nullable(),
|
|
21
27
|
is_frozen: Boolean_1.ERPNextBoolean,
|
|
22
28
|
default_commission_rate: zod_1.z.number().optional().nullable(),
|
|
29
|
+
default_currency: zod_1.z.string().optional().nullable(),
|
|
23
30
|
companies: zod_1.z.array(zod_1.z.string().optional()).optional().nullable(),
|
|
24
|
-
accounts: zod_1.z.array(
|
|
31
|
+
accounts: zod_1.z.array(AccountListEntry),
|
|
25
32
|
credit_limits: zod_1.z.array(zod_1.z.string().optional()).optional().nullable(),
|
|
26
33
|
sales_team: zod_1.z.array(zod_1.z.string().optional()).optional().nullable(),
|
|
27
34
|
})
|