erpnext-queue-client 2.0.0-beta.1 → 2.1.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.
@@ -24,6 +24,8 @@ export declare const ConsolidatedCustomsInvoiceItem: z.ZodObject<{
24
24
  shipment: z.ZodString;
25
25
  delivery_note: z.ZodString;
26
26
  dn_detail: z.ZodNullable<z.ZodOptional<z.ZodString>>;
27
+ customs_tariff_number: z.ZodNullable<z.ZodOptional<z.ZodString>>;
28
+ country_of_origin: z.ZodNullable<z.ZodOptional<z.ZodString>>;
27
29
  }, "strip", z.ZodTypeAny, {
28
30
  item_code: string;
29
31
  qty: number;
@@ -46,6 +48,8 @@ export declare const ConsolidatedCustomsInvoiceItem: z.ZodObject<{
46
48
  base_net_amount?: number | null | undefined;
47
49
  so_detail?: string | null | undefined;
48
50
  dn_detail?: string | null | undefined;
51
+ customs_tariff_number?: string | null | undefined;
52
+ country_of_origin?: string | null | undefined;
49
53
  sales_order?: string | null | undefined;
50
54
  sales_invoice_item?: string | null | undefined;
51
55
  sales_invoice?: string | null | undefined;
@@ -71,6 +75,8 @@ export declare const ConsolidatedCustomsInvoiceItem: z.ZodObject<{
71
75
  base_net_amount?: number | null | undefined;
72
76
  so_detail?: string | null | undefined;
73
77
  dn_detail?: string | null | undefined;
78
+ customs_tariff_number?: string | null | undefined;
79
+ country_of_origin?: string | null | undefined;
74
80
  sales_order?: string | null | undefined;
75
81
  sales_invoice_item?: string | null | undefined;
76
82
  sales_invoice?: string | null | undefined;
@@ -140,6 +146,8 @@ export declare const ConsolidatedCustomsInvoice: z.ZodObject<{
140
146
  shipment: z.ZodString;
141
147
  delivery_note: z.ZodString;
142
148
  dn_detail: z.ZodNullable<z.ZodOptional<z.ZodString>>;
149
+ customs_tariff_number: z.ZodNullable<z.ZodOptional<z.ZodString>>;
150
+ country_of_origin: z.ZodNullable<z.ZodOptional<z.ZodString>>;
143
151
  }, "strip", z.ZodTypeAny, {
144
152
  item_code: string;
145
153
  qty: number;
@@ -162,6 +170,8 @@ export declare const ConsolidatedCustomsInvoice: z.ZodObject<{
162
170
  base_net_amount?: number | null | undefined;
163
171
  so_detail?: string | null | undefined;
164
172
  dn_detail?: string | null | undefined;
173
+ customs_tariff_number?: string | null | undefined;
174
+ country_of_origin?: string | null | undefined;
165
175
  sales_order?: string | null | undefined;
166
176
  sales_invoice_item?: string | null | undefined;
167
177
  sales_invoice?: string | null | undefined;
@@ -187,6 +197,8 @@ export declare const ConsolidatedCustomsInvoice: z.ZodObject<{
187
197
  base_net_amount?: number | null | undefined;
188
198
  so_detail?: string | null | undefined;
189
199
  dn_detail?: string | null | undefined;
200
+ customs_tariff_number?: string | null | undefined;
201
+ country_of_origin?: string | null | undefined;
190
202
  sales_order?: string | null | undefined;
191
203
  sales_invoice_item?: string | null | undefined;
192
204
  sales_invoice?: string | null | undefined;
@@ -220,6 +232,8 @@ export declare const ConsolidatedCustomsInvoice: z.ZodObject<{
220
232
  base_net_amount?: number | null | undefined;
221
233
  so_detail?: string | null | undefined;
222
234
  dn_detail?: string | null | undefined;
235
+ customs_tariff_number?: string | null | undefined;
236
+ country_of_origin?: string | null | undefined;
223
237
  sales_order?: string | null | undefined;
224
238
  sales_invoice_item?: string | null | undefined;
225
239
  sales_invoice?: string | null | undefined;
@@ -283,6 +297,8 @@ export declare const ConsolidatedCustomsInvoice: z.ZodObject<{
283
297
  base_net_amount?: number | null | undefined;
284
298
  so_detail?: string | null | undefined;
285
299
  dn_detail?: string | null | undefined;
300
+ customs_tariff_number?: string | null | undefined;
301
+ country_of_origin?: string | null | undefined;
286
302
  sales_order?: string | null | undefined;
287
303
  sales_invoice_item?: string | null | undefined;
288
304
  sales_invoice?: string | null | undefined;
@@ -34,6 +34,9 @@ exports.ConsolidatedCustomsInvoiceItem = zod_1.z
34
34
  shipment: zod_1.z.string(),
35
35
  delivery_note: zod_1.z.string(),
36
36
  dn_detail: zod_1.z.string().optional().nullable(),
37
+ // Customs
38
+ customs_tariff_number: zod_1.z.string().optional().nullable(),
39
+ country_of_origin: zod_1.z.string().optional().nullable()
37
40
  })
38
41
  .describe("Consolidated Customs Invoice Item");
39
42
  exports.ConsolidatedCustomsInvoiceExportApprovalStatus = zod_1.z
@@ -3,8 +3,8 @@ export declare const ItemTaxTemplateDetail: z.ZodObject<{
3
3
  tax_type: z.ZodString;
4
4
  tax_rate: z.ZodDefault<z.ZodNumber>;
5
5
  }, "strip", z.ZodTypeAny, {
6
- tax_type: string;
7
6
  tax_rate: number;
7
+ tax_type: string;
8
8
  }, {
9
9
  tax_type: string;
10
10
  tax_rate?: number | undefined;
@@ -25,8 +25,8 @@ export declare const ItemTaxTemplate: z.ZodObject<{
25
25
  tax_type: z.ZodString;
26
26
  tax_rate: z.ZodDefault<z.ZodNumber>;
27
27
  }, "strip", z.ZodTypeAny, {
28
- tax_type: string;
29
28
  tax_rate: number;
29
+ tax_type: string;
30
30
  }, {
31
31
  tax_type: string;
32
32
  tax_rate?: number | undefined;
@@ -36,8 +36,8 @@ export declare const ItemTaxTemplate: z.ZodObject<{
36
36
  company: string;
37
37
  title: string;
38
38
  taxes: {
39
- tax_type: string;
40
39
  tax_rate: number;
40
+ tax_type: string;
41
41
  }[];
42
42
  custom_country: string;
43
43
  custom_is_default: 0 | 1;
@@ -419,6 +419,7 @@ export declare const PurchaseInvoice: z.ZodObject<{
419
419
  __unsaved: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
420
420
  }, "strip", z.ZodTypeAny, {
421
421
  description?: string | null | undefined;
422
+ account_currency?: string | null | undefined;
422
423
  rate?: number | null | undefined;
423
424
  cost_center?: string | null | undefined;
424
425
  __unsaved?: number | null | undefined;
@@ -431,7 +432,6 @@ export declare const PurchaseInvoice: z.ZodObject<{
431
432
  included_in_print_rate?: number | null | undefined;
432
433
  included_in_paid_amount?: number | null | undefined;
433
434
  account_head?: string | null | undefined;
434
- account_currency?: string | null | undefined;
435
435
  tax_amount?: number | null | undefined;
436
436
  tax_amount_after_discount_amount?: number | null | undefined;
437
437
  base_tax_amount?: number | null | undefined;
@@ -439,6 +439,7 @@ export declare const PurchaseInvoice: z.ZodObject<{
439
439
  item_wise_tax_detail?: string | null | undefined;
440
440
  }, {
441
441
  description?: string | null | undefined;
442
+ account_currency?: string | null | undefined;
442
443
  rate?: number | null | undefined;
443
444
  cost_center?: string | null | undefined;
444
445
  __unsaved?: number | null | undefined;
@@ -451,7 +452,6 @@ export declare const PurchaseInvoice: z.ZodObject<{
451
452
  included_in_print_rate?: number | null | undefined;
452
453
  included_in_paid_amount?: number | null | undefined;
453
454
  account_head?: string | null | undefined;
454
- account_currency?: string | null | undefined;
455
455
  tax_amount?: number | null | undefined;
456
456
  tax_amount_after_discount_amount?: number | null | undefined;
457
457
  base_tax_amount?: number | null | undefined;
@@ -516,6 +516,7 @@ export declare const PurchaseInvoice: z.ZodObject<{
516
516
  }, "strip", z.ZodTypeAny, {
517
517
  taxes: {
518
518
  description?: string | null | undefined;
519
+ account_currency?: string | null | undefined;
519
520
  rate?: number | null | undefined;
520
521
  cost_center?: string | null | undefined;
521
522
  __unsaved?: number | null | undefined;
@@ -528,7 +529,6 @@ export declare const PurchaseInvoice: z.ZodObject<{
528
529
  included_in_print_rate?: number | null | undefined;
529
530
  included_in_paid_amount?: number | null | undefined;
530
531
  account_head?: string | null | undefined;
531
- account_currency?: string | null | undefined;
532
532
  tax_amount?: number | null | undefined;
533
533
  tax_amount_after_discount_amount?: number | null | undefined;
534
534
  base_tax_amount?: number | null | undefined;
@@ -687,6 +687,7 @@ export declare const PurchaseInvoice: z.ZodObject<{
687
687
  }, {
688
688
  taxes: {
689
689
  description?: string | null | undefined;
690
+ account_currency?: string | null | undefined;
690
691
  rate?: number | null | undefined;
691
692
  cost_center?: string | null | undefined;
692
693
  __unsaved?: number | null | undefined;
@@ -699,7 +700,6 @@ export declare const PurchaseInvoice: z.ZodObject<{
699
700
  included_in_print_rate?: number | null | undefined;
700
701
  included_in_paid_amount?: number | null | undefined;
701
702
  account_head?: string | null | undefined;
702
- account_currency?: string | null | undefined;
703
703
  tax_amount?: number | null | undefined;
704
704
  tax_amount_after_discount_amount?: number | null | undefined;
705
705
  base_tax_amount?: number | null | undefined;
@@ -1137,6 +1137,7 @@ export declare const PurchaseInvoiceDraft: z.ZodObject<Omit<{
1137
1137
  parentfield: string;
1138
1138
  description?: string | null | undefined;
1139
1139
  _user_tags?: string | null | undefined;
1140
+ account_currency?: string | null | undefined;
1140
1141
  rate?: number | null | undefined;
1141
1142
  cost_center?: string | null | undefined;
1142
1143
  __unsaved?: number | null | undefined;
@@ -1149,7 +1150,6 @@ export declare const PurchaseInvoiceDraft: z.ZodObject<Omit<{
1149
1150
  included_in_print_rate?: number | null | undefined;
1150
1151
  included_in_paid_amount?: number | null | undefined;
1151
1152
  account_head?: string | null | undefined;
1152
- account_currency?: string | null | undefined;
1153
1153
  tax_amount?: number | null | undefined;
1154
1154
  tax_amount_after_discount_amount?: number | null | undefined;
1155
1155
  base_tax_amount?: number | null | undefined;
@@ -1168,6 +1168,7 @@ export declare const PurchaseInvoiceDraft: z.ZodObject<Omit<{
1168
1168
  description?: string | null | undefined;
1169
1169
  docstatus?: number | undefined;
1170
1170
  _user_tags?: string | null | undefined;
1171
+ account_currency?: string | null | undefined;
1171
1172
  rate?: number | null | undefined;
1172
1173
  cost_center?: string | null | undefined;
1173
1174
  __unsaved?: number | null | undefined;
@@ -1180,7 +1181,6 @@ export declare const PurchaseInvoiceDraft: z.ZodObject<Omit<{
1180
1181
  included_in_print_rate?: number | null | undefined;
1181
1182
  included_in_paid_amount?: number | null | undefined;
1182
1183
  account_head?: string | null | undefined;
1183
- account_currency?: string | null | undefined;
1184
1184
  tax_amount?: number | null | undefined;
1185
1185
  tax_amount_after_discount_amount?: number | null | undefined;
1186
1186
  base_tax_amount?: number | null | undefined;
@@ -1312,6 +1312,7 @@ export declare const PurchaseInvoiceDraft: z.ZodObject<Omit<{
1312
1312
  parentfield: string;
1313
1313
  description?: string | null | undefined;
1314
1314
  _user_tags?: string | null | undefined;
1315
+ account_currency?: string | null | undefined;
1315
1316
  rate?: number | null | undefined;
1316
1317
  cost_center?: string | null | undefined;
1317
1318
  __unsaved?: number | null | undefined;
@@ -1324,7 +1325,6 @@ export declare const PurchaseInvoiceDraft: z.ZodObject<Omit<{
1324
1325
  included_in_print_rate?: number | null | undefined;
1325
1326
  included_in_paid_amount?: number | null | undefined;
1326
1327
  account_head?: string | null | undefined;
1327
- account_currency?: string | null | undefined;
1328
1328
  tax_amount?: number | null | undefined;
1329
1329
  tax_amount_after_discount_amount?: number | null | undefined;
1330
1330
  base_tax_amount?: number | null | undefined;
@@ -1512,6 +1512,7 @@ export declare const PurchaseInvoiceDraft: z.ZodObject<Omit<{
1512
1512
  description?: string | null | undefined;
1513
1513
  docstatus?: number | undefined;
1514
1514
  _user_tags?: string | null | undefined;
1515
+ account_currency?: string | null | undefined;
1515
1516
  rate?: number | null | undefined;
1516
1517
  cost_center?: string | null | undefined;
1517
1518
  __unsaved?: number | null | undefined;
@@ -1524,7 +1525,6 @@ export declare const PurchaseInvoiceDraft: z.ZodObject<Omit<{
1524
1525
  included_in_print_rate?: number | null | undefined;
1525
1526
  included_in_paid_amount?: number | null | undefined;
1526
1527
  account_head?: string | null | undefined;
1527
- account_currency?: string | null | undefined;
1528
1528
  tax_amount?: number | null | undefined;
1529
1529
  tax_amount_after_discount_amount?: number | null | undefined;
1530
1530
  base_tax_amount?: number | null | undefined;
@@ -277,16 +277,16 @@ export declare const SalesInvoicePayment: z.ZodObject<{
277
277
  }, "strip", z.ZodTypeAny, {
278
278
  amount: number;
279
279
  mode_of_payment: string;
280
- account?: string | null | undefined;
281
280
  base_amount?: number | null | undefined;
282
281
  reference_no?: string | null | undefined;
282
+ account?: string | null | undefined;
283
283
  clearance_date?: string | null | undefined;
284
284
  }, {
285
285
  amount: number;
286
286
  mode_of_payment: string;
287
- account?: string | null | undefined;
288
287
  base_amount?: number | null | undefined;
289
288
  reference_no?: string | null | undefined;
289
+ account?: string | null | undefined;
290
290
  clearance_date?: string | null | undefined;
291
291
  }>;
292
292
  export type SalesInvoicePaymentType = z.infer<typeof SalesInvoicePayment>;
@@ -622,12 +622,12 @@ export declare const SalesInvoice: z.ZodObject<{
622
622
  included_in_print_rate: 0 | 1;
623
623
  account_head: string;
624
624
  description?: string | undefined;
625
+ account_currency?: string | undefined;
625
626
  rate?: number | undefined;
626
627
  cost_center?: string | undefined;
627
628
  project?: string | undefined;
628
629
  base_total?: number | undefined;
629
630
  total?: number | undefined;
630
- account_currency?: string | undefined;
631
631
  tax_amount?: number | undefined;
632
632
  tax_amount_after_discount_amount?: number | undefined;
633
633
  base_tax_amount?: number | undefined;
@@ -635,13 +635,13 @@ export declare const SalesInvoice: z.ZodObject<{
635
635
  charge_type: "Actual" | "On Net Total" | "On Previous Row Amount" | "On Previous Row Total" | "On Item Quantity";
636
636
  account_head: string;
637
637
  description?: string | undefined;
638
+ account_currency?: string | undefined;
638
639
  rate?: number | undefined;
639
640
  cost_center?: string | undefined;
640
641
  project?: string | undefined;
641
642
  base_total?: number | undefined;
642
643
  total?: number | undefined;
643
644
  included_in_print_rate?: unknown;
644
- account_currency?: string | undefined;
645
645
  tax_amount?: number | undefined;
646
646
  tax_amount_after_discount_amount?: number | undefined;
647
647
  base_tax_amount?: number | undefined;
@@ -712,16 +712,16 @@ export declare const SalesInvoice: z.ZodObject<{
712
712
  }, "strip", z.ZodTypeAny, {
713
713
  amount: number;
714
714
  mode_of_payment: string;
715
- account?: string | null | undefined;
716
715
  base_amount?: number | null | undefined;
717
716
  reference_no?: string | null | undefined;
717
+ account?: string | null | undefined;
718
718
  clearance_date?: string | null | undefined;
719
719
  }, {
720
720
  amount: number;
721
721
  mode_of_payment: string;
722
- account?: string | null | undefined;
723
722
  base_amount?: number | null | undefined;
724
723
  reference_no?: string | null | undefined;
724
+ account?: string | null | undefined;
725
725
  clearance_date?: string | null | undefined;
726
726
  }>, "many">>>;
727
727
  base_paid_amount: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
@@ -1007,12 +1007,12 @@ export declare const SalesInvoice: z.ZodObject<{
1007
1007
  included_in_print_rate: 0 | 1;
1008
1008
  account_head: string;
1009
1009
  description?: string | undefined;
1010
+ account_currency?: string | undefined;
1010
1011
  rate?: number | undefined;
1011
1012
  cost_center?: string | undefined;
1012
1013
  project?: string | undefined;
1013
1014
  base_total?: number | undefined;
1014
1015
  total?: number | undefined;
1015
- account_currency?: string | undefined;
1016
1016
  tax_amount?: number | undefined;
1017
1017
  tax_amount_after_discount_amount?: number | undefined;
1018
1018
  base_tax_amount?: number | undefined;
@@ -1050,9 +1050,9 @@ export declare const SalesInvoice: z.ZodObject<{
1050
1050
  payments?: {
1051
1051
  amount: number;
1052
1052
  mode_of_payment: string;
1053
- account?: string | null | undefined;
1054
1053
  base_amount?: number | null | undefined;
1055
1054
  reference_no?: string | null | undefined;
1055
+ account?: string | null | undefined;
1056
1056
  clearance_date?: string | null | undefined;
1057
1057
  }[] | null | undefined;
1058
1058
  base_change_amount?: number | null | undefined;
@@ -1237,13 +1237,13 @@ export declare const SalesInvoice: z.ZodObject<{
1237
1237
  charge_type: "Actual" | "On Net Total" | "On Previous Row Amount" | "On Previous Row Total" | "On Item Quantity";
1238
1238
  account_head: string;
1239
1239
  description?: string | undefined;
1240
+ account_currency?: string | undefined;
1240
1241
  rate?: number | undefined;
1241
1242
  cost_center?: string | undefined;
1242
1243
  project?: string | undefined;
1243
1244
  base_total?: number | undefined;
1244
1245
  total?: number | undefined;
1245
1246
  included_in_print_rate?: unknown;
1246
- account_currency?: string | undefined;
1247
1247
  tax_amount?: number | undefined;
1248
1248
  tax_amount_after_discount_amount?: number | undefined;
1249
1249
  base_tax_amount?: number | undefined;
@@ -1293,9 +1293,9 @@ export declare const SalesInvoice: z.ZodObject<{
1293
1293
  payments?: {
1294
1294
  amount: number;
1295
1295
  mode_of_payment: string;
1296
- account?: string | null | undefined;
1297
1296
  base_amount?: number | null | undefined;
1298
1297
  reference_no?: string | null | undefined;
1298
+ account?: string | null | undefined;
1299
1299
  clearance_date?: string | null | undefined;
1300
1300
  }[] | null | undefined;
1301
1301
  base_change_amount?: number | null | undefined;
@@ -1692,12 +1692,12 @@ export declare const SalesInvoiceDraft: z.ZodObject<Omit<{
1692
1692
  included_in_print_rate: 0 | 1;
1693
1693
  account_head: string;
1694
1694
  description?: string | undefined;
1695
+ account_currency?: string | undefined;
1695
1696
  rate?: number | undefined;
1696
1697
  cost_center?: string | undefined;
1697
1698
  project?: string | undefined;
1698
1699
  base_total?: number | undefined;
1699
1700
  total?: number | undefined;
1700
- account_currency?: string | undefined;
1701
1701
  tax_amount?: number | undefined;
1702
1702
  tax_amount_after_discount_amount?: number | undefined;
1703
1703
  base_tax_amount?: number | undefined;
@@ -1705,13 +1705,13 @@ export declare const SalesInvoiceDraft: z.ZodObject<Omit<{
1705
1705
  charge_type: "Actual" | "On Net Total" | "On Previous Row Amount" | "On Previous Row Total" | "On Item Quantity";
1706
1706
  account_head: string;
1707
1707
  description?: string | undefined;
1708
+ account_currency?: string | undefined;
1708
1709
  rate?: number | undefined;
1709
1710
  cost_center?: string | undefined;
1710
1711
  project?: string | undefined;
1711
1712
  base_total?: number | undefined;
1712
1713
  total?: number | undefined;
1713
1714
  included_in_print_rate?: unknown;
1714
- account_currency?: string | undefined;
1715
1715
  tax_amount?: number | undefined;
1716
1716
  tax_amount_after_discount_amount?: number | undefined;
1717
1717
  base_tax_amount?: number | undefined;
@@ -1782,16 +1782,16 @@ export declare const SalesInvoiceDraft: z.ZodObject<Omit<{
1782
1782
  }, "strip", z.ZodTypeAny, {
1783
1783
  amount: number;
1784
1784
  mode_of_payment: string;
1785
- account?: string | null | undefined;
1786
1785
  base_amount?: number | null | undefined;
1787
1786
  reference_no?: string | null | undefined;
1787
+ account?: string | null | undefined;
1788
1788
  clearance_date?: string | null | undefined;
1789
1789
  }, {
1790
1790
  amount: number;
1791
1791
  mode_of_payment: string;
1792
- account?: string | null | undefined;
1793
1792
  base_amount?: number | null | undefined;
1794
1793
  reference_no?: string | null | undefined;
1794
+ account?: string | null | undefined;
1795
1795
  clearance_date?: string | null | undefined;
1796
1796
  }>, "many">>>;
1797
1797
  base_paid_amount: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
@@ -2108,12 +2108,12 @@ export declare const SalesInvoiceDraft: z.ZodObject<Omit<{
2108
2108
  included_in_print_rate: 0 | 1;
2109
2109
  account_head: string;
2110
2110
  description?: string | undefined;
2111
+ account_currency?: string | undefined;
2111
2112
  rate?: number | undefined;
2112
2113
  cost_center?: string | undefined;
2113
2114
  project?: string | undefined;
2114
2115
  base_total?: number | undefined;
2115
2116
  total?: number | undefined;
2116
- account_currency?: string | undefined;
2117
2117
  tax_amount?: number | undefined;
2118
2118
  tax_amount_after_discount_amount?: number | undefined;
2119
2119
  base_tax_amount?: number | undefined;
@@ -2151,9 +2151,9 @@ export declare const SalesInvoiceDraft: z.ZodObject<Omit<{
2151
2151
  payments?: {
2152
2152
  amount: number;
2153
2153
  mode_of_payment: string;
2154
- account?: string | null | undefined;
2155
2154
  base_amount?: number | null | undefined;
2156
2155
  reference_no?: string | null | undefined;
2156
+ account?: string | null | undefined;
2157
2157
  clearance_date?: string | null | undefined;
2158
2158
  }[] | null | undefined;
2159
2159
  base_change_amount?: number | null | undefined;
@@ -2357,13 +2357,13 @@ export declare const SalesInvoiceDraft: z.ZodObject<Omit<{
2357
2357
  charge_type: "Actual" | "On Net Total" | "On Previous Row Amount" | "On Previous Row Total" | "On Item Quantity";
2358
2358
  account_head: string;
2359
2359
  description?: string | undefined;
2360
+ account_currency?: string | undefined;
2360
2361
  rate?: number | undefined;
2361
2362
  cost_center?: string | undefined;
2362
2363
  project?: string | undefined;
2363
2364
  base_total?: number | undefined;
2364
2365
  total?: number | undefined;
2365
2366
  included_in_print_rate?: unknown;
2366
- account_currency?: string | undefined;
2367
2367
  tax_amount?: number | undefined;
2368
2368
  tax_amount_after_discount_amount?: number | undefined;
2369
2369
  base_tax_amount?: number | undefined;
@@ -2413,9 +2413,9 @@ export declare const SalesInvoiceDraft: z.ZodObject<Omit<{
2413
2413
  payments?: {
2414
2414
  amount: number;
2415
2415
  mode_of_payment: string;
2416
- account?: string | null | undefined;
2417
2416
  base_amount?: number | null | undefined;
2418
2417
  reference_no?: string | null | undefined;
2418
+ account?: string | null | undefined;
2419
2419
  clearance_date?: string | null | undefined;
2420
2420
  }[] | null | undefined;
2421
2421
  base_change_amount?: number | null | undefined;
@@ -3,6 +3,9 @@ export declare const SalesOrderItem: z.ZodObject<{
3
3
  custom_order_item_id: z.ZodString;
4
4
  custom_external_order_item_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
5
5
  item_code: z.ZodString;
6
+ custom_is_digital: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>, 0 | 1, unknown>> & {
7
+ __optionalForInput: true;
8
+ };
6
9
  customer_item_code: z.ZodNullable<z.ZodOptional<z.ZodString>>;
7
10
  ensure_delivery_based_on_produced_serial_no: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>, 0 | 1, unknown>> & {
8
11
  __optionalForInput: true;
@@ -96,6 +99,7 @@ export declare const SalesOrderItem: z.ZodObject<{
96
99
  grant_commission: 0 | 1;
97
100
  page_break: 0 | 1;
98
101
  is_stock_item: 0 | 1;
102
+ custom_is_digital: 0 | 1;
99
103
  delivered_by_supplier: 0 | 1;
100
104
  against_blanket_order: 0 | 1;
101
105
  custom_order_item_id: string;
@@ -208,6 +212,7 @@ export declare const SalesOrderItem: z.ZodObject<{
208
212
  page_break?: unknown;
209
213
  supplier?: string | null | undefined;
210
214
  is_stock_item?: unknown;
215
+ custom_is_digital?: unknown;
211
216
  valuation_rate?: number | null | undefined;
212
217
  delivered_by_supplier?: unknown;
213
218
  planned_qty?: number | null | undefined;
@@ -285,6 +290,9 @@ export declare const SalesOrder: z.ZodObject<{
285
290
  custom_order_item_id: z.ZodString;
286
291
  custom_external_order_item_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
287
292
  item_code: z.ZodString;
293
+ custom_is_digital: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>, 0 | 1, unknown>> & {
294
+ __optionalForInput: true;
295
+ };
288
296
  customer_item_code: z.ZodNullable<z.ZodOptional<z.ZodString>>;
289
297
  ensure_delivery_based_on_produced_serial_no: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>, 0 | 1, unknown>> & {
290
298
  __optionalForInput: true;
@@ -378,6 +386,7 @@ export declare const SalesOrder: z.ZodObject<{
378
386
  grant_commission: 0 | 1;
379
387
  page_break: 0 | 1;
380
388
  is_stock_item: 0 | 1;
389
+ custom_is_digital: 0 | 1;
381
390
  delivered_by_supplier: 0 | 1;
382
391
  against_blanket_order: 0 | 1;
383
392
  custom_order_item_id: string;
@@ -490,6 +499,7 @@ export declare const SalesOrder: z.ZodObject<{
490
499
  page_break?: unknown;
491
500
  supplier?: string | null | undefined;
492
501
  is_stock_item?: unknown;
502
+ custom_is_digital?: unknown;
493
503
  valuation_rate?: number | null | undefined;
494
504
  delivered_by_supplier?: unknown;
495
505
  planned_qty?: number | null | undefined;
@@ -554,12 +564,12 @@ export declare const SalesOrder: z.ZodObject<{
554
564
  included_in_print_rate: 0 | 1;
555
565
  account_head: string;
556
566
  description?: string | undefined;
567
+ account_currency?: string | undefined;
557
568
  rate?: number | undefined;
558
569
  cost_center?: string | undefined;
559
570
  project?: string | undefined;
560
571
  base_total?: number | undefined;
561
572
  total?: number | undefined;
562
- account_currency?: string | undefined;
563
573
  tax_amount?: number | undefined;
564
574
  tax_amount_after_discount_amount?: number | undefined;
565
575
  base_tax_amount?: number | undefined;
@@ -567,13 +577,13 @@ export declare const SalesOrder: z.ZodObject<{
567
577
  charge_type: "Actual" | "On Net Total" | "On Previous Row Amount" | "On Previous Row Total" | "On Item Quantity";
568
578
  account_head: string;
569
579
  description?: string | undefined;
580
+ account_currency?: string | undefined;
570
581
  rate?: number | undefined;
571
582
  cost_center?: string | undefined;
572
583
  project?: string | undefined;
573
584
  base_total?: number | undefined;
574
585
  total?: number | undefined;
575
586
  included_in_print_rate?: unknown;
576
- account_currency?: string | undefined;
577
587
  tax_amount?: number | undefined;
578
588
  tax_amount_after_discount_amount?: number | undefined;
579
589
  base_tax_amount?: number | undefined;
@@ -683,6 +693,7 @@ export declare const SalesOrder: z.ZodObject<{
683
693
  grant_commission: 0 | 1;
684
694
  page_break: 0 | 1;
685
695
  is_stock_item: 0 | 1;
696
+ custom_is_digital: 0 | 1;
686
697
  delivered_by_supplier: 0 | 1;
687
698
  against_blanket_order: 0 | 1;
688
699
  custom_order_item_id: string;
@@ -826,12 +837,12 @@ export declare const SalesOrder: z.ZodObject<{
826
837
  included_in_print_rate: 0 | 1;
827
838
  account_head: string;
828
839
  description?: string | undefined;
840
+ account_currency?: string | undefined;
829
841
  rate?: number | undefined;
830
842
  cost_center?: string | undefined;
831
843
  project?: string | undefined;
832
844
  base_total?: number | undefined;
833
845
  total?: number | undefined;
834
- account_currency?: string | undefined;
835
846
  tax_amount?: number | undefined;
836
847
  tax_amount_after_discount_amount?: number | undefined;
837
848
  base_tax_amount?: number | undefined;
@@ -910,6 +921,7 @@ export declare const SalesOrder: z.ZodObject<{
910
921
  page_break?: unknown;
911
922
  supplier?: string | null | undefined;
912
923
  is_stock_item?: unknown;
924
+ custom_is_digital?: unknown;
913
925
  valuation_rate?: number | null | undefined;
914
926
  delivered_by_supplier?: unknown;
915
927
  planned_qty?: number | null | undefined;
@@ -1020,13 +1032,13 @@ export declare const SalesOrder: z.ZodObject<{
1020
1032
  charge_type: "Actual" | "On Net Total" | "On Previous Row Amount" | "On Previous Row Total" | "On Item Quantity";
1021
1033
  account_head: string;
1022
1034
  description?: string | undefined;
1035
+ account_currency?: string | undefined;
1023
1036
  rate?: number | undefined;
1024
1037
  cost_center?: string | undefined;
1025
1038
  project?: string | undefined;
1026
1039
  base_total?: number | undefined;
1027
1040
  total?: number | undefined;
1028
1041
  included_in_print_rate?: unknown;
1029
- account_currency?: string | undefined;
1030
1042
  tax_amount?: number | undefined;
1031
1043
  tax_amount_after_discount_amount?: number | undefined;
1032
1044
  base_tax_amount?: number | undefined;
@@ -12,6 +12,7 @@ exports.SalesOrderItem = zod_1.z
12
12
  custom_order_item_id: zod_1.z.string(),
13
13
  custom_external_order_item_id: zod_1.z.string().optional().nullable(),
14
14
  item_code: zod_1.z.string().min(1, "Item Code is required"),
15
+ custom_is_digital: Boolean_1.ERPNextBoolean,
15
16
  customer_item_code: zod_1.z.string().optional().nullable(),
16
17
  ensure_delivery_based_on_produced_serial_no: Boolean_1.ERPNextBoolean,
17
18
  item_name: zod_1.z.string().min(1, "Item Name is required"),
@@ -20,12 +20,12 @@ export declare const SalesTaxesAndCharges: z.ZodObject<{
20
20
  included_in_print_rate: 0 | 1;
21
21
  account_head: string;
22
22
  description?: string | undefined;
23
+ account_currency?: string | undefined;
23
24
  rate?: number | undefined;
24
25
  cost_center?: string | undefined;
25
26
  project?: string | undefined;
26
27
  base_total?: number | undefined;
27
28
  total?: number | undefined;
28
- account_currency?: string | undefined;
29
29
  tax_amount?: number | undefined;
30
30
  tax_amount_after_discount_amount?: number | undefined;
31
31
  base_tax_amount?: number | undefined;
@@ -33,13 +33,13 @@ export declare const SalesTaxesAndCharges: z.ZodObject<{
33
33
  charge_type: "Actual" | "On Net Total" | "On Previous Row Amount" | "On Previous Row Total" | "On Item Quantity";
34
34
  account_head: string;
35
35
  description?: string | undefined;
36
+ account_currency?: string | undefined;
36
37
  rate?: number | undefined;
37
38
  cost_center?: string | undefined;
38
39
  project?: string | undefined;
39
40
  base_total?: number | undefined;
40
41
  total?: number | undefined;
41
42
  included_in_print_rate?: unknown;
42
- account_currency?: string | undefined;
43
43
  tax_amount?: number | undefined;
44
44
  tax_amount_after_discount_amount?: number | undefined;
45
45
  base_tax_amount?: number | undefined;