erpnext-queue-client 2.1.3 → 2.1.4

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.
@@ -429,6 +429,7 @@ export declare class ERPNextSalesInvoice {
429
429
  grant_commission: 0 | 1;
430
430
  allow_zero_valuation_rate: 0 | 1;
431
431
  page_break: 0 | 1;
432
+ custom_tax_included_in_shipping_cost: 0 | 1;
432
433
  is_fixed_asset: 0 | 1;
433
434
  delivered_by_supplier: 0 | 1;
434
435
  enable_deferred_revenue: 0 | 1;
@@ -480,6 +481,7 @@ export declare class ERPNextSalesInvoice {
480
481
  expense_account?: string | null | undefined;
481
482
  cost_center?: string | null | undefined;
482
483
  project?: string | null | undefined;
484
+ custom_shipping_cost?: number | null | undefined;
483
485
  purchase_order?: string | null | undefined;
484
486
  purchase_order_item?: string | null | undefined;
485
487
  sales_order?: string | null | undefined;
@@ -714,6 +716,8 @@ export declare class ERPNextSalesInvoice {
714
716
  cost_center?: string | null | undefined;
715
717
  project?: string | null | undefined;
716
718
  page_break?: 0 | 1 | undefined;
719
+ custom_shipping_cost?: number | null | undefined;
720
+ custom_tax_included_in_shipping_cost?: 0 | 1 | undefined;
717
721
  is_fixed_asset?: 0 | 1 | undefined;
718
722
  delivered_by_supplier?: 0 | 1 | undefined;
719
723
  enable_deferred_revenue?: 0 | 1 | undefined;
@@ -954,6 +958,7 @@ export declare class ERPNextSalesInvoice {
954
958
  grant_commission: 0 | 1;
955
959
  allow_zero_valuation_rate: 0 | 1;
956
960
  page_break: 0 | 1;
961
+ custom_tax_included_in_shipping_cost: 0 | 1;
957
962
  is_fixed_asset: 0 | 1;
958
963
  delivered_by_supplier: 0 | 1;
959
964
  enable_deferred_revenue: 0 | 1;
@@ -1005,6 +1010,7 @@ export declare class ERPNextSalesInvoice {
1005
1010
  expense_account?: string | null | undefined;
1006
1011
  cost_center?: string | null | undefined;
1007
1012
  project?: string | null | undefined;
1013
+ custom_shipping_cost?: number | null | undefined;
1008
1014
  purchase_order?: string | null | undefined;
1009
1015
  purchase_order_item?: string | null | undefined;
1010
1016
  sales_order?: string | null | undefined;
@@ -1239,6 +1245,8 @@ export declare class ERPNextSalesInvoice {
1239
1245
  cost_center?: string | null | undefined;
1240
1246
  project?: string | null | undefined;
1241
1247
  page_break?: 0 | 1 | undefined;
1248
+ custom_shipping_cost?: number | null | undefined;
1249
+ custom_tax_included_in_shipping_cost?: 0 | 1 | undefined;
1242
1250
  is_fixed_asset?: 0 | 1 | undefined;
1243
1251
  delivered_by_supplier?: 0 | 1 | undefined;
1244
1252
  enable_deferred_revenue?: 0 | 1 | undefined;
@@ -1479,6 +1487,7 @@ export declare class ERPNextSalesInvoice {
1479
1487
  grant_commission: 0 | 1;
1480
1488
  allow_zero_valuation_rate: 0 | 1;
1481
1489
  page_break: 0 | 1;
1490
+ custom_tax_included_in_shipping_cost: 0 | 1;
1482
1491
  is_fixed_asset: 0 | 1;
1483
1492
  delivered_by_supplier: 0 | 1;
1484
1493
  enable_deferred_revenue: 0 | 1;
@@ -1530,6 +1539,7 @@ export declare class ERPNextSalesInvoice {
1530
1539
  expense_account?: string | null | undefined;
1531
1540
  cost_center?: string | null | undefined;
1532
1541
  project?: string | null | undefined;
1542
+ custom_shipping_cost?: number | null | undefined;
1533
1543
  purchase_order?: string | null | undefined;
1534
1544
  purchase_order_item?: string | null | undefined;
1535
1545
  sales_order?: string | null | undefined;
@@ -1755,6 +1765,7 @@ export declare class ERPNextSalesInvoice {
1755
1765
  grant_commission: 0 | 1;
1756
1766
  allow_zero_valuation_rate: 0 | 1;
1757
1767
  page_break: 0 | 1;
1768
+ custom_tax_included_in_shipping_cost: 0 | 1;
1758
1769
  is_fixed_asset: 0 | 1;
1759
1770
  delivered_by_supplier: 0 | 1;
1760
1771
  enable_deferred_revenue: 0 | 1;
@@ -1806,6 +1817,7 @@ export declare class ERPNextSalesInvoice {
1806
1817
  expense_account?: string | null | undefined;
1807
1818
  cost_center?: string | null | undefined;
1808
1819
  project?: string | null | undefined;
1820
+ custom_shipping_cost?: number | null | undefined;
1809
1821
  purchase_order?: string | null | undefined;
1810
1822
  purchase_order_item?: string | null | undefined;
1811
1823
  sales_order?: string | null | undefined;
@@ -2027,6 +2039,7 @@ export declare class ERPNextSalesInvoice {
2027
2039
  grant_commission: 0 | 1;
2028
2040
  allow_zero_valuation_rate: 0 | 1;
2029
2041
  page_break: 0 | 1;
2042
+ custom_tax_included_in_shipping_cost: 0 | 1;
2030
2043
  is_fixed_asset: 0 | 1;
2031
2044
  delivered_by_supplier: 0 | 1;
2032
2045
  enable_deferred_revenue: 0 | 1;
@@ -2078,6 +2091,7 @@ export declare class ERPNextSalesInvoice {
2078
2091
  expense_account?: string | null | undefined;
2079
2092
  cost_center?: string | null | undefined;
2080
2093
  project?: string | null | undefined;
2094
+ custom_shipping_cost?: number | null | undefined;
2081
2095
  purchase_order?: string | null | undefined;
2082
2096
  purchase_order_item?: string | null | undefined;
2083
2097
  sales_order?: string | null | undefined;
@@ -2297,6 +2311,7 @@ export declare class ERPNextSalesInvoice {
2297
2311
  grant_commission: 0 | 1;
2298
2312
  allow_zero_valuation_rate: 0 | 1;
2299
2313
  page_break: 0 | 1;
2314
+ custom_tax_included_in_shipping_cost: 0 | 1;
2300
2315
  is_fixed_asset: 0 | 1;
2301
2316
  delivered_by_supplier: 0 | 1;
2302
2317
  enable_deferred_revenue: 0 | 1;
@@ -2348,6 +2363,7 @@ export declare class ERPNextSalesInvoice {
2348
2363
  expense_account?: string | null | undefined;
2349
2364
  cost_center?: string | null | undefined;
2350
2365
  project?: string | null | undefined;
2366
+ custom_shipping_cost?: number | null | undefined;
2351
2367
  purchase_order?: string | null | undefined;
2352
2368
  purchase_order_item?: string | null | undefined;
2353
2369
  sales_order?: string | null | undefined;
@@ -2567,6 +2583,7 @@ export declare class ERPNextSalesInvoice {
2567
2583
  grant_commission: 0 | 1;
2568
2584
  allow_zero_valuation_rate: 0 | 1;
2569
2585
  page_break: 0 | 1;
2586
+ custom_tax_included_in_shipping_cost: 0 | 1;
2570
2587
  is_fixed_asset: 0 | 1;
2571
2588
  delivered_by_supplier: 0 | 1;
2572
2589
  enable_deferred_revenue: 0 | 1;
@@ -2618,6 +2635,7 @@ export declare class ERPNextSalesInvoice {
2618
2635
  expense_account?: string | null | undefined;
2619
2636
  cost_center?: string | null | undefined;
2620
2637
  project?: string | null | undefined;
2638
+ custom_shipping_cost?: number | null | undefined;
2621
2639
  purchase_order?: string | null | undefined;
2622
2640
  purchase_order_item?: string | null | undefined;
2623
2641
  sales_order?: string | null | undefined;
@@ -2836,6 +2854,7 @@ export declare class ERPNextSalesInvoice {
2836
2854
  grant_commission: 0 | 1;
2837
2855
  allow_zero_valuation_rate: 0 | 1;
2838
2856
  page_break: 0 | 1;
2857
+ custom_tax_included_in_shipping_cost: 0 | 1;
2839
2858
  is_fixed_asset: 0 | 1;
2840
2859
  delivered_by_supplier: 0 | 1;
2841
2860
  enable_deferred_revenue: 0 | 1;
@@ -2887,6 +2906,7 @@ export declare class ERPNextSalesInvoice {
2887
2906
  expense_account?: string | null | undefined;
2888
2907
  cost_center?: string | null | undefined;
2889
2908
  project?: string | null | undefined;
2909
+ custom_shipping_cost?: number | null | undefined;
2890
2910
  purchase_order?: string | null | undefined;
2891
2911
  purchase_order_item?: string | null | undefined;
2892
2912
  sales_order?: string | null | undefined;
@@ -3106,6 +3126,7 @@ export declare class ERPNextSalesInvoice {
3106
3126
  grant_commission: 0 | 1;
3107
3127
  allow_zero_valuation_rate: 0 | 1;
3108
3128
  page_break: 0 | 1;
3129
+ custom_tax_included_in_shipping_cost: 0 | 1;
3109
3130
  is_fixed_asset: 0 | 1;
3110
3131
  delivered_by_supplier: 0 | 1;
3111
3132
  enable_deferred_revenue: 0 | 1;
@@ -3157,6 +3178,7 @@ export declare class ERPNextSalesInvoice {
3157
3178
  expense_account?: string | null | undefined;
3158
3179
  cost_center?: string | null | undefined;
3159
3180
  project?: string | null | undefined;
3181
+ custom_shipping_cost?: number | null | undefined;
3160
3182
  purchase_order?: string | null | undefined;
3161
3183
  purchase_order_item?: string | null | undefined;
3162
3184
  sales_order?: string | null | undefined;
@@ -18,6 +18,10 @@ export declare const SalesInvoiceItem: z.ZodObject<{
18
18
  stock_qty: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
19
19
  price_list_rate: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
20
20
  base_price_list_rate: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
21
+ custom_shipping_cost: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
22
+ custom_tax_included_in_shipping_cost: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>, 0 | 1, unknown>> & {
23
+ __optionalForInput: true;
24
+ };
21
25
  margin_type: z.ZodNullable<z.ZodOptional<z.ZodEnum<["", "Percentage", "Amount"]>>>;
22
26
  margin_rate_or_amount: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
23
27
  rate_with_margin: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
@@ -103,6 +107,7 @@ export declare const SalesInvoiceItem: z.ZodObject<{
103
107
  grant_commission: 0 | 1;
104
108
  allow_zero_valuation_rate: 0 | 1;
105
109
  page_break: 0 | 1;
110
+ custom_tax_included_in_shipping_cost: 0 | 1;
106
111
  is_fixed_asset: 0 | 1;
107
112
  delivered_by_supplier: 0 | 1;
108
113
  enable_deferred_revenue: 0 | 1;
@@ -153,6 +158,7 @@ export declare const SalesInvoiceItem: z.ZodObject<{
153
158
  expense_account?: string | null | undefined;
154
159
  cost_center?: string | null | undefined;
155
160
  project?: string | null | undefined;
161
+ custom_shipping_cost?: number | null | undefined;
156
162
  purchase_order?: string | null | undefined;
157
163
  purchase_order_item?: string | null | undefined;
158
164
  sales_order?: string | null | undefined;
@@ -222,6 +228,8 @@ export declare const SalesInvoiceItem: z.ZodObject<{
222
228
  cost_center?: string | null | undefined;
223
229
  project?: string | null | undefined;
224
230
  page_break?: unknown;
231
+ custom_shipping_cost?: number | null | undefined;
232
+ custom_tax_included_in_shipping_cost?: unknown;
225
233
  is_fixed_asset?: unknown;
226
234
  delivered_by_supplier?: unknown;
227
235
  enable_deferred_revenue?: unknown;
@@ -370,6 +378,10 @@ export declare const SalesInvoice: z.ZodObject<{
370
378
  stock_qty: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
371
379
  price_list_rate: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
372
380
  base_price_list_rate: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
381
+ custom_shipping_cost: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
382
+ custom_tax_included_in_shipping_cost: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>, 0 | 1, unknown>> & {
383
+ __optionalForInput: true;
384
+ };
373
385
  margin_type: z.ZodNullable<z.ZodOptional<z.ZodEnum<["", "Percentage", "Amount"]>>>;
374
386
  margin_rate_or_amount: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
375
387
  rate_with_margin: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
@@ -455,6 +467,7 @@ export declare const SalesInvoice: z.ZodObject<{
455
467
  grant_commission: 0 | 1;
456
468
  allow_zero_valuation_rate: 0 | 1;
457
469
  page_break: 0 | 1;
470
+ custom_tax_included_in_shipping_cost: 0 | 1;
458
471
  is_fixed_asset: 0 | 1;
459
472
  delivered_by_supplier: 0 | 1;
460
473
  enable_deferred_revenue: 0 | 1;
@@ -505,6 +518,7 @@ export declare const SalesInvoice: z.ZodObject<{
505
518
  expense_account?: string | null | undefined;
506
519
  cost_center?: string | null | undefined;
507
520
  project?: string | null | undefined;
521
+ custom_shipping_cost?: number | null | undefined;
508
522
  purchase_order?: string | null | undefined;
509
523
  purchase_order_item?: string | null | undefined;
510
524
  sales_order?: string | null | undefined;
@@ -574,6 +588,8 @@ export declare const SalesInvoice: z.ZodObject<{
574
588
  cost_center?: string | null | undefined;
575
589
  project?: string | null | undefined;
576
590
  page_break?: unknown;
591
+ custom_shipping_cost?: number | null | undefined;
592
+ custom_tax_included_in_shipping_cost?: unknown;
577
593
  is_fixed_asset?: unknown;
578
594
  delivered_by_supplier?: unknown;
579
595
  enable_deferred_revenue?: unknown;
@@ -854,6 +870,7 @@ export declare const SalesInvoice: z.ZodObject<{
854
870
  grant_commission: 0 | 1;
855
871
  allow_zero_valuation_rate: 0 | 1;
856
872
  page_break: 0 | 1;
873
+ custom_tax_included_in_shipping_cost: 0 | 1;
857
874
  is_fixed_asset: 0 | 1;
858
875
  delivered_by_supplier: 0 | 1;
859
876
  enable_deferred_revenue: 0 | 1;
@@ -904,6 +921,7 @@ export declare const SalesInvoice: z.ZodObject<{
904
921
  expense_account?: string | null | undefined;
905
922
  cost_center?: string | null | undefined;
906
923
  project?: string | null | undefined;
924
+ custom_shipping_cost?: number | null | undefined;
907
925
  purchase_order?: string | null | undefined;
908
926
  purchase_order_item?: string | null | undefined;
909
927
  sales_order?: string | null | undefined;
@@ -1137,6 +1155,8 @@ export declare const SalesInvoice: z.ZodObject<{
1137
1155
  cost_center?: string | null | undefined;
1138
1156
  project?: string | null | undefined;
1139
1157
  page_break?: unknown;
1158
+ custom_shipping_cost?: number | null | undefined;
1159
+ custom_tax_included_in_shipping_cost?: unknown;
1140
1160
  is_fixed_asset?: unknown;
1141
1161
  delivered_by_supplier?: unknown;
1142
1162
  enable_deferred_revenue?: unknown;
@@ -1405,6 +1425,10 @@ export declare const SalesInvoiceDraft: z.ZodObject<Omit<{
1405
1425
  stock_qty: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1406
1426
  price_list_rate: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1407
1427
  base_price_list_rate: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1428
+ custom_shipping_cost: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1429
+ custom_tax_included_in_shipping_cost: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>, 0 | 1, unknown>> & {
1430
+ __optionalForInput: true;
1431
+ };
1408
1432
  margin_type: z.ZodNullable<z.ZodOptional<z.ZodEnum<["", "Percentage", "Amount"]>>>;
1409
1433
  margin_rate_or_amount: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1410
1434
  rate_with_margin: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
@@ -1515,6 +1539,7 @@ export declare const SalesInvoiceDraft: z.ZodObject<Omit<{
1515
1539
  grant_commission: 0 | 1;
1516
1540
  allow_zero_valuation_rate: 0 | 1;
1517
1541
  page_break: 0 | 1;
1542
+ custom_tax_included_in_shipping_cost: 0 | 1;
1518
1543
  is_fixed_asset: 0 | 1;
1519
1544
  delivered_by_supplier: 0 | 1;
1520
1545
  enable_deferred_revenue: 0 | 1;
@@ -1566,6 +1591,7 @@ export declare const SalesInvoiceDraft: z.ZodObject<Omit<{
1566
1591
  expense_account?: string | null | undefined;
1567
1592
  cost_center?: string | null | undefined;
1568
1593
  project?: string | null | undefined;
1594
+ custom_shipping_cost?: number | null | undefined;
1569
1595
  purchase_order?: string | null | undefined;
1570
1596
  purchase_order_item?: string | null | undefined;
1571
1597
  sales_order?: string | null | undefined;
@@ -1646,6 +1672,8 @@ export declare const SalesInvoiceDraft: z.ZodObject<Omit<{
1646
1672
  cost_center?: string | null | undefined;
1647
1673
  project?: string | null | undefined;
1648
1674
  page_break?: unknown;
1675
+ custom_shipping_cost?: number | null | undefined;
1676
+ custom_tax_included_in_shipping_cost?: unknown;
1649
1677
  is_fixed_asset?: unknown;
1650
1678
  delivered_by_supplier?: unknown;
1651
1679
  enable_deferred_revenue?: unknown;
@@ -1955,6 +1983,7 @@ export declare const SalesInvoiceDraft: z.ZodObject<Omit<{
1955
1983
  grant_commission: 0 | 1;
1956
1984
  allow_zero_valuation_rate: 0 | 1;
1957
1985
  page_break: 0 | 1;
1986
+ custom_tax_included_in_shipping_cost: 0 | 1;
1958
1987
  is_fixed_asset: 0 | 1;
1959
1988
  delivered_by_supplier: 0 | 1;
1960
1989
  enable_deferred_revenue: 0 | 1;
@@ -2006,6 +2035,7 @@ export declare const SalesInvoiceDraft: z.ZodObject<Omit<{
2006
2035
  expense_account?: string | null | undefined;
2007
2036
  cost_center?: string | null | undefined;
2008
2037
  project?: string | null | undefined;
2038
+ custom_shipping_cost?: number | null | undefined;
2009
2039
  purchase_order?: string | null | undefined;
2010
2040
  purchase_order_item?: string | null | undefined;
2011
2041
  sales_order?: string | null | undefined;
@@ -2257,6 +2287,8 @@ export declare const SalesInvoiceDraft: z.ZodObject<Omit<{
2257
2287
  cost_center?: string | null | undefined;
2258
2288
  project?: string | null | undefined;
2259
2289
  page_break?: unknown;
2290
+ custom_shipping_cost?: number | null | undefined;
2291
+ custom_tax_included_in_shipping_cost?: unknown;
2260
2292
  is_fixed_asset?: unknown;
2261
2293
  delivered_by_supplier?: unknown;
2262
2294
  enable_deferred_revenue?: unknown;
@@ -28,6 +28,8 @@ exports.SalesInvoiceItem = zod_1.z
28
28
  // Pricing
29
29
  price_list_rate: zod_1.z.number().optional().nullable(),
30
30
  base_price_list_rate: zod_1.z.number().optional().nullable(),
31
+ custom_shipping_cost: zod_1.z.number().optional().nullable(),
32
+ custom_tax_included_in_shipping_cost: Boolean_1.ERPNextBoolean,
31
33
  // Discount and Margin
32
34
  margin_type: zod_1.z.enum(["", "Percentage", "Amount"]).optional().nullable(),
33
35
  margin_rate_or_amount: zod_1.z.number().optional().nullable(),
package/package.json CHANGED
@@ -30,7 +30,7 @@
30
30
  "winston": "^3.15.0",
31
31
  "zod": "3.25.76"
32
32
  },
33
- "version": "2.1.3",
33
+ "version": "2.1.4",
34
34
  "devDependencies": {
35
35
  "@types/crypto-js": "^4.2.2",
36
36
  "@types/lodash": "^4.17.13",