erpnext-queue-client 2.5.8 → 2.5.11

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.
Files changed (37) hide show
  1. package/dist/client.js +22 -3
  2. package/dist/client.test.d.ts +1 -0
  3. package/dist/client.test.js +41 -0
  4. package/dist/dataConverter.js +7 -17
  5. package/dist/erpnext/doctypes/address.d.ts +49 -5
  6. package/dist/erpnext/doctypes/contact.d.ts +83 -9
  7. package/dist/erpnext/doctypes/paymentEntry.d.ts +4 -4
  8. package/dist/erpnext/doctypes/purchaseInvoice.d.ts +18 -18
  9. package/dist/erpnext/doctypes/purchaseReceipt.d.ts +8 -8
  10. package/dist/erpnext/doctypes/salesInvoice.d.ts +22 -22
  11. package/dist/erpnext/doctypes/servicecase.d.ts +7 -7
  12. package/dist/erpnext/doctypes/shipment.d.ts +4 -4
  13. package/dist/erpnext/fileRequests.d.ts +1 -1
  14. package/dist/erpnext/methodRequest.d.ts +1 -1
  15. package/dist/erpnext/model/ConsolidatedCustomsInvoice.d.ts +8 -0
  16. package/dist/erpnext/model/ConsolidatedCustomsInvoice.js +1 -0
  17. package/dist/erpnext/model/Country.d.ts +14 -2
  18. package/dist/erpnext/model/DeliveryNote.d.ts +4 -4
  19. package/dist/erpnext/model/DocInfo.d.ts +10 -10
  20. package/dist/erpnext/model/DocTypeHelpers.d.ts +34 -2
  21. package/dist/erpnext/model/ERPNextDocTypeMeta.d.ts +3 -3
  22. package/dist/erpnext/model/Item.d.ts +9 -9
  23. package/dist/erpnext/model/Permissions.d.ts +2 -2
  24. package/dist/erpnext/model/PurchaseInvoice.d.ts +16 -16
  25. package/dist/erpnext/model/PurchaseOrder.d.ts +4 -4
  26. package/dist/erpnext/model/Receipt.d.ts +4 -4
  27. package/dist/erpnext/model/ReceiptDraft.d.ts +4 -4
  28. package/dist/erpnext/model/SalesInvoice.d.ts +18 -18
  29. package/dist/erpnext/model/SalesOrder.d.ts +6 -6
  30. package/dist/erpnext/model/Servicecase.d.ts +6 -6
  31. package/dist/erpnext/model/ServiceportalProductConfiguration.d.ts +17 -4
  32. package/dist/erpnext/model/ServiceportalProductConfiguration.js +4 -0
  33. package/dist/erpnext/model/Shipment.d.ts +4 -4
  34. package/dist/erpnext/model/ShippingFees.d.ts +2 -2
  35. package/dist/erpnext/model/ShippingProvider.d.ts +1 -1
  36. package/dist/erpnext/model/Stock.d.ts +12 -12
  37. package/package.json +2 -2
@@ -97,10 +97,10 @@ export declare const SalesInvoiceItem: z.ZodObject<{
97
97
  purchase_order_item: z.ZodNullable<z.ZodOptional<z.ZodString>>;
98
98
  }, "strip", z.ZodTypeAny, {
99
99
  item_code: string;
100
+ item_name: string;
100
101
  qty: number;
101
102
  rate: number;
102
103
  delivered_by_supplier: 0 | 1;
103
- item_name: string;
104
104
  uom: string;
105
105
  is_free_item: 0 | 1;
106
106
  grant_commission: 0 | 1;
@@ -171,9 +171,9 @@ export declare const SalesInvoiceItem: z.ZodObject<{
171
171
  serial_and_batch_bundle?: string | null | undefined;
172
172
  }, {
173
173
  item_code: string;
174
+ item_name: string;
174
175
  qty: number;
175
176
  rate: number;
176
- item_name: string;
177
177
  uom: string;
178
178
  income_account: string;
179
179
  description?: string | null | undefined;
@@ -455,10 +455,10 @@ export declare const SalesInvoice: z.ZodObject<{
455
455
  purchase_order_item: z.ZodNullable<z.ZodOptional<z.ZodString>>;
456
456
  }, "strip", z.ZodTypeAny, {
457
457
  item_code: string;
458
+ item_name: string;
458
459
  qty: number;
459
460
  rate: number;
460
461
  delivered_by_supplier: 0 | 1;
461
- item_name: string;
462
462
  uom: string;
463
463
  is_free_item: 0 | 1;
464
464
  grant_commission: 0 | 1;
@@ -529,9 +529,9 @@ export declare const SalesInvoice: z.ZodObject<{
529
529
  serial_and_batch_bundle?: string | null | undefined;
530
530
  }, {
531
531
  item_code: string;
532
+ item_name: string;
532
533
  qty: number;
533
534
  rate: number;
534
- item_name: string;
535
535
  uom: string;
536
536
  income_account: string;
537
537
  description?: string | null | undefined;
@@ -846,10 +846,10 @@ export declare const SalesInvoice: z.ZodObject<{
846
846
  conversion_rate: number;
847
847
  items: {
848
848
  item_code: string;
849
+ item_name: string;
849
850
  qty: number;
850
851
  rate: number;
851
852
  delivered_by_supplier: 0 | 1;
852
- item_name: string;
853
853
  uom: string;
854
854
  is_free_item: 0 | 1;
855
855
  grant_commission: 0 | 1;
@@ -1093,9 +1093,9 @@ export declare const SalesInvoice: z.ZodObject<{
1093
1093
  currency: string;
1094
1094
  items: {
1095
1095
  item_code: string;
1096
+ item_name: string;
1096
1097
  qty: number;
1097
1098
  rate: number;
1098
- item_name: string;
1099
1099
  uom: string;
1100
1100
  income_account: string;
1101
1101
  description?: string | null | undefined;
@@ -1515,8 +1515,8 @@ export declare const SalesInvoiceDraft: z.ZodObject<Omit<{
1515
1515
  parenttype: z.ZodString;
1516
1516
  parentfield: z.ZodString;
1517
1517
  }, z.UnknownKeysParam, z.ZodTypeAny, {
1518
- docstatus: number;
1519
1518
  name: string;
1519
+ docstatus: number;
1520
1520
  owner: string;
1521
1521
  creation: string;
1522
1522
  modified: string;
@@ -1527,10 +1527,10 @@ export declare const SalesInvoiceDraft: z.ZodObject<Omit<{
1527
1527
  parenttype: string;
1528
1528
  parentfield: string;
1529
1529
  item_code: string;
1530
+ item_name: string;
1530
1531
  qty: number;
1531
1532
  rate: number;
1532
1533
  delivered_by_supplier: 0 | 1;
1533
- item_name: string;
1534
1534
  uom: string;
1535
1535
  is_free_item: 0 | 1;
1536
1536
  grant_commission: 0 | 1;
@@ -1612,9 +1612,9 @@ export declare const SalesInvoiceDraft: z.ZodObject<Omit<{
1612
1612
  parenttype: string;
1613
1613
  parentfield: string;
1614
1614
  item_code: string;
1615
+ item_name: string;
1615
1616
  qty: number;
1616
1617
  rate: number;
1617
- item_name: string;
1618
1618
  uom: string;
1619
1619
  income_account: string;
1620
1620
  description?: string | null | undefined;
@@ -1731,8 +1731,8 @@ export declare const SalesInvoiceDraft: z.ZodObject<Omit<{
1731
1731
  parenttype: z.ZodString;
1732
1732
  parentfield: z.ZodString;
1733
1733
  }, z.UnknownKeysParam, z.ZodTypeAny, {
1734
- docstatus: number;
1735
1734
  name: string;
1735
+ docstatus: number;
1736
1736
  owner: string;
1737
1737
  creation: string;
1738
1738
  modified: string;
@@ -1863,8 +1863,8 @@ export declare const SalesInvoiceDraft: z.ZodObject<Omit<{
1863
1863
  parenttype: z.ZodString;
1864
1864
  parentfield: z.ZodString;
1865
1865
  }, z.UnknownKeysParam, z.ZodTypeAny, {
1866
- docstatus: number;
1867
1866
  name: string;
1867
+ docstatus: number;
1868
1868
  owner: string;
1869
1869
  creation: string;
1870
1870
  modified: string;
@@ -1937,8 +1937,8 @@ export declare const SalesInvoiceDraft: z.ZodObject<Omit<{
1937
1937
  parenttype: z.ZodString;
1938
1938
  parentfield: z.ZodString;
1939
1939
  }, z.UnknownKeysParam, z.ZodTypeAny, {
1940
- docstatus: number;
1941
1940
  name: string;
1941
+ docstatus: number;
1942
1942
  owner: string;
1943
1943
  creation: string;
1944
1944
  modified: string;
@@ -2067,8 +2067,8 @@ export declare const SalesInvoiceDraft: z.ZodObject<Omit<{
2067
2067
  currency: string;
2068
2068
  conversion_rate: number;
2069
2069
  items: {
2070
- docstatus: number;
2071
2070
  name: string;
2071
+ docstatus: number;
2072
2072
  owner: string;
2073
2073
  creation: string;
2074
2074
  modified: string;
@@ -2079,10 +2079,10 @@ export declare const SalesInvoiceDraft: z.ZodObject<Omit<{
2079
2079
  parenttype: string;
2080
2080
  parentfield: string;
2081
2081
  item_code: string;
2082
+ item_name: string;
2082
2083
  qty: number;
2083
2084
  rate: number;
2084
2085
  delivered_by_supplier: 0 | 1;
2085
- item_name: string;
2086
2086
  uom: string;
2087
2087
  is_free_item: 0 | 1;
2088
2088
  grant_commission: 0 | 1;
@@ -2253,8 +2253,8 @@ export declare const SalesInvoiceDraft: z.ZodObject<Omit<{
2253
2253
  total_commission?: number | null | undefined;
2254
2254
  packed_items?: any[] | null | undefined;
2255
2255
  taxes?: {
2256
- docstatus: number;
2257
2256
  name: string;
2257
+ docstatus: number;
2258
2258
  owner: string;
2259
2259
  creation: string;
2260
2260
  modified: string;
@@ -2291,8 +2291,8 @@ export declare const SalesInvoiceDraft: z.ZodObject<Omit<{
2291
2291
  payment_terms_template?: string | null | undefined;
2292
2292
  party_account_currency?: string | null | undefined;
2293
2293
  advances?: {
2294
- docstatus: number;
2295
2294
  name: string;
2295
+ docstatus: number;
2296
2296
  owner: string;
2297
2297
  creation: string;
2298
2298
  modified: string;
@@ -2320,8 +2320,8 @@ export declare const SalesInvoiceDraft: z.ZodObject<Omit<{
2320
2320
  total_billing_amount?: number | null | undefined;
2321
2321
  cash_bank_account?: string | null | undefined;
2322
2322
  payments?: {
2323
- docstatus: number;
2324
2323
  name: string;
2324
+ docstatus: number;
2325
2325
  owner: string;
2326
2326
  creation: string;
2327
2327
  modified: string;
@@ -2379,9 +2379,9 @@ export declare const SalesInvoiceDraft: z.ZodObject<Omit<{
2379
2379
  parenttype: string;
2380
2380
  parentfield: string;
2381
2381
  item_code: string;
2382
+ item_name: string;
2382
2383
  qty: number;
2383
2384
  rate: number;
2384
- item_name: string;
2385
2385
  uom: string;
2386
2386
  income_account: string;
2387
2387
  description?: string | null | undefined;
@@ -94,9 +94,9 @@ export declare const SalesOrderItem: z.ZodObject<{
94
94
  purchase_order_item: z.ZodNullable<z.ZodOptional<z.ZodString>>;
95
95
  }, "strip", z.ZodTypeAny, {
96
96
  item_code: string;
97
+ item_name: string;
97
98
  qty: number;
98
99
  delivered_by_supplier: 0 | 1;
99
- item_name: string;
100
100
  uom: string;
101
101
  is_free_item: 0 | 1;
102
102
  grant_commission: 0 | 1;
@@ -169,8 +169,8 @@ export declare const SalesOrderItem: z.ZodObject<{
169
169
  custom_serialized_attributes?: string | null | undefined;
170
170
  }, {
171
171
  item_code: string;
172
- qty: number;
173
172
  item_name: string;
173
+ qty: number;
174
174
  uom: string;
175
175
  custom_order_item_id: string;
176
176
  description?: string | null | undefined;
@@ -383,9 +383,9 @@ export declare const SalesOrder: z.ZodObject<{
383
383
  purchase_order_item: z.ZodNullable<z.ZodOptional<z.ZodString>>;
384
384
  }, "strip", z.ZodTypeAny, {
385
385
  item_code: string;
386
+ item_name: string;
386
387
  qty: number;
387
388
  delivered_by_supplier: 0 | 1;
388
- item_name: string;
389
389
  uom: string;
390
390
  is_free_item: 0 | 1;
391
391
  grant_commission: 0 | 1;
@@ -458,8 +458,8 @@ export declare const SalesOrder: z.ZodObject<{
458
458
  custom_serialized_attributes?: string | null | undefined;
459
459
  }, {
460
460
  item_code: string;
461
- qty: number;
462
461
  item_name: string;
462
+ qty: number;
463
463
  uom: string;
464
464
  custom_order_item_id: string;
465
465
  description?: string | null | undefined;
@@ -680,9 +680,9 @@ export declare const SalesOrder: z.ZodObject<{
680
680
  conversion_rate: number;
681
681
  items: {
682
682
  item_code: string;
683
+ item_name: string;
683
684
  qty: number;
684
685
  delivered_by_supplier: 0 | 1;
685
- item_name: string;
686
686
  uom: string;
687
687
  is_free_item: 0 | 1;
688
688
  grant_commission: 0 | 1;
@@ -878,8 +878,8 @@ export declare const SalesOrder: z.ZodObject<{
878
878
  currency: string;
879
879
  items: {
880
880
  item_code: string;
881
- qty: number;
882
881
  item_name: string;
882
+ qty: number;
883
883
  uom: string;
884
884
  custom_order_item_id: string;
885
885
  description?: string | null | undefined;
@@ -731,8 +731,8 @@ export declare const ServicecaseExtended: z.ZodObject<{
731
731
  is_sent_to_cc: boolean;
732
732
  created_with: "Amazon FBA" | "Amazon FBM" | "Serviceportal" | "Missive Sidebar";
733
733
  return_items: {
734
- docstatus: number;
735
734
  name: string;
735
+ docstatus: number;
736
736
  owner: string;
737
737
  creation: string;
738
738
  modified: string;
@@ -742,8 +742,8 @@ export declare const ServicecaseExtended: z.ZodObject<{
742
742
  attachments: {
743
743
  type: "image" | "video";
744
744
  url: string;
745
- docstatus: number;
746
745
  name: string;
746
+ docstatus: number;
747
747
  owner: string;
748
748
  creation: string;
749
749
  modified: string;
@@ -756,8 +756,8 @@ export declare const ServicecaseExtended: z.ZodObject<{
756
756
  _user_tags?: string | null | undefined;
757
757
  }[];
758
758
  internal_reasons: {
759
- docstatus: number;
760
759
  name: string;
760
+ docstatus: number;
761
761
  owner: string;
762
762
  creation: string;
763
763
  modified: string;
@@ -1011,8 +1011,8 @@ export declare const ServicecaseMethodResponse: z.ZodArray<z.ZodObject<{
1011
1011
  is_sent_to_cc: boolean;
1012
1012
  created_with: "Amazon FBA" | "Amazon FBM" | "Serviceportal" | "Missive Sidebar";
1013
1013
  return_items: {
1014
- docstatus: number;
1015
1014
  name: string;
1015
+ docstatus: number;
1016
1016
  owner: string;
1017
1017
  creation: string;
1018
1018
  modified: string;
@@ -1022,8 +1022,8 @@ export declare const ServicecaseMethodResponse: z.ZodArray<z.ZodObject<{
1022
1022
  attachments: {
1023
1023
  type: "image" | "video";
1024
1024
  url: string;
1025
- docstatus: number;
1026
1025
  name: string;
1026
+ docstatus: number;
1027
1027
  owner: string;
1028
1028
  creation: string;
1029
1029
  modified: string;
@@ -1036,8 +1036,8 @@ export declare const ServicecaseMethodResponse: z.ZodArray<z.ZodObject<{
1036
1036
  _user_tags?: string | null | undefined;
1037
1037
  }[];
1038
1038
  internal_reasons: {
1039
- docstatus: number;
1040
1039
  name: string;
1040
+ docstatus: number;
1041
1041
  owner: string;
1042
1042
  creation: string;
1043
1043
  modified: string;
@@ -22,8 +22,8 @@ export declare const ServiceportalProductConfiguration: z.ZodObject<{
22
22
  country: z.ZodNullable<z.ZodOptional<z.ZodString>>;
23
23
  fee: z.ZodNumber;
24
24
  }, "strip", z.ZodTypeAny, {
25
- docstatus: number;
26
25
  name: string;
26
+ docstatus: number;
27
27
  owner: string;
28
28
  creation: string;
29
29
  modified: string;
@@ -33,8 +33,8 @@ export declare const ServiceportalProductConfiguration: z.ZodObject<{
33
33
  fee: number;
34
34
  country?: string | null | undefined;
35
35
  }, {
36
- docstatus: number;
37
36
  name: string;
37
+ docstatus: number;
38
38
  owner: string;
39
39
  creation: string;
40
40
  modified: string;
@@ -70,8 +70,8 @@ export declare const ServiceportalProductConfiguration: z.ZodObject<{
70
70
  }[];
71
71
  return_fee: number;
72
72
  return_fees: {
73
- docstatus: number;
74
73
  name: string;
74
+ docstatus: number;
75
75
  owner: string;
76
76
  creation: string;
77
77
  modified: string;
@@ -97,8 +97,8 @@ export declare const ServiceportalProductConfiguration: z.ZodObject<{
97
97
  }[];
98
98
  return_fee: number;
99
99
  return_fees: {
100
- docstatus: number;
101
100
  name: string;
101
+ docstatus: number;
102
102
  owner: string;
103
103
  creation: string;
104
104
  modified: string;
@@ -161,10 +161,20 @@ export declare const ServiceportalProductConfigurationMethodResponse: z.ZodObjec
161
161
  doctype: z.ZodString;
162
162
  _user_tags: z.ZodNullable<z.ZodOptional<z.ZodString>>;
163
163
  }, never>, z.UnknownKeysParam, z.ZodTypeAny, {}, {}>, "many">;
164
+ internal_reasons: z.ZodArray<z.ZodObject<Pick<{
165
+ internal_reason: z.ZodString;
166
+ }, "internal_reason">, "strip", z.ZodTypeAny, {
167
+ internal_reason: string;
168
+ }, {
169
+ internal_reason: string;
170
+ }>, "many">;
164
171
  }, z.UnknownKeysParam, z.ZodTypeAny, {
165
172
  name: string;
166
173
  doctype: string;
167
174
  title: string;
175
+ internal_reasons: {
176
+ internal_reason: string;
177
+ }[];
168
178
  return_fee: number;
169
179
  return_fees: {}[];
170
180
  is_ask_for_batch_number: number;
@@ -178,6 +188,9 @@ export declare const ServiceportalProductConfigurationMethodResponse: z.ZodObjec
178
188
  name: string;
179
189
  doctype: string;
180
190
  title: string;
191
+ internal_reasons: {
192
+ internal_reason: string;
193
+ }[];
181
194
  return_fee: number;
182
195
  return_fees: {}[];
183
196
  is_ask_for_batch_number: number;
@@ -41,6 +41,7 @@ exports.ServiceportalProductConfigurationMethodResponse = (0, DocTypeHelpers_1.D
41
41
  batch_number_location_description: true,
42
42
  return_conditions: true,
43
43
  batch_numbers: true,
44
+ internal_reasons: true,
44
45
  return_shipping_provider: true,
45
46
  return_instructions: true,
46
47
  })
@@ -58,4 +59,7 @@ exports.ServiceportalProductConfigurationMethodResponse = (0, DocTypeHelpers_1.D
58
59
  parenttype: true,
59
60
  doctype: true,
60
61
  })),
62
+ internal_reasons: zod_1.z.array(exports.InternalReasonList.pick({
63
+ internal_reason: true,
64
+ })),
61
65
  });
@@ -417,8 +417,8 @@ export declare const ShipmentAddShippingLabelAndSubmitBody: z.ZodObject<Pick<{
417
417
  parenttype: z.ZodString;
418
418
  parentfield: z.ZodString;
419
419
  }, z.UnknownKeysParam, z.ZodTypeAny, {
420
- docstatus: number;
421
420
  name: string;
421
+ docstatus: number;
422
422
  owner: string;
423
423
  creation: string;
424
424
  modified: string;
@@ -474,8 +474,8 @@ export declare const ShipmentAddShippingLabelAndSubmitBody: z.ZodObject<Pick<{
474
474
  parentfield: z.ZodString;
475
475
  }, z.UnknownKeysParam, z.ZodTypeAny, {
476
476
  length: number;
477
- docstatus: number;
478
477
  name: string;
478
+ docstatus: number;
479
479
  owner: string;
480
480
  creation: string;
481
481
  modified: string;
@@ -568,8 +568,8 @@ export declare const ShipmentInfoByOrderNumberMethodResponseData: z.ZodArray<z.Z
568
568
  creation: string;
569
569
  address_title: string;
570
570
  item_code: string;
571
- qty: number;
572
571
  item_name: string;
572
+ qty: number;
573
573
  address_line1?: string | null | undefined;
574
574
  address_line2?: string | null | undefined;
575
575
  pincode?: string | null | undefined;
@@ -583,8 +583,8 @@ export declare const ShipmentInfoByOrderNumberMethodResponseData: z.ZodArray<z.Z
583
583
  creation: string;
584
584
  address_title: string;
585
585
  item_code: string;
586
- qty: number;
587
586
  item_name: string;
587
+ qty: number;
588
588
  address_line1?: string | null | undefined;
589
589
  address_line2?: string | null | undefined;
590
590
  pincode?: string | null | undefined;
@@ -11,8 +11,8 @@ export declare const ShippingFee: z.ZodObject<{
11
11
  country: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12
12
  fee: z.ZodNumber;
13
13
  }, "strip", z.ZodTypeAny, {
14
- docstatus: number;
15
14
  name: string;
15
+ docstatus: number;
16
16
  owner: string;
17
17
  creation: string;
18
18
  modified: string;
@@ -22,8 +22,8 @@ export declare const ShippingFee: z.ZodObject<{
22
22
  fee: number;
23
23
  country?: string | null | undefined;
24
24
  }, {
25
- docstatus: number;
26
25
  name: string;
26
+ docstatus: number;
27
27
  owner: string;
28
28
  creation: string;
29
29
  modified: string;
@@ -267,8 +267,8 @@ export declare const ShippingProviderList: z.ZodEffects<z.ZodArray<import("./Doc
267
267
  is_self_service?: unknown;
268
268
  shopify_carrier_mapping?: "" | ShopifyCarrier | null | undefined;
269
269
  }>>, "many">, {
270
- docstatus: number;
271
270
  name: string;
271
+ docstatus: number;
272
272
  owner: string;
273
273
  creation: string;
274
274
  modified: string;
@@ -23,12 +23,12 @@ export declare const StockBalanceReportItem: z.ZodObject<{
23
23
  warehouse: z.ZodNullable<z.ZodOptional<z.ZodString>>;
24
24
  }, "strip", z.ZodTypeAny, {
25
25
  item_code: string;
26
+ name?: string | null | undefined;
26
27
  description?: string | null | undefined;
27
28
  brand?: string | null | undefined;
28
- name?: string | null | undefined;
29
29
  company?: string | null | undefined;
30
- currency?: string | number | null | undefined;
31
30
  item_name?: string | null | undefined;
31
+ currency?: string | number | null | undefined;
32
32
  item_group?: string | null | undefined;
33
33
  stock_uom?: string | null | undefined;
34
34
  warehouse?: string | null | undefined;
@@ -45,12 +45,12 @@ export declare const StockBalanceReportItem: z.ZodObject<{
45
45
  val_rate?: number | null | undefined;
46
46
  }, {
47
47
  item_code: string;
48
+ name?: string | null | undefined;
48
49
  description?: string | null | undefined;
49
50
  brand?: string | null | undefined;
50
- name?: string | null | undefined;
51
51
  company?: string | null | undefined;
52
- currency?: string | number | null | undefined;
53
52
  item_name?: string | null | undefined;
53
+ currency?: string | number | null | undefined;
54
54
  item_group?: string | null | undefined;
55
55
  stock_uom?: string | null | undefined;
56
56
  warehouse?: string | null | undefined;
@@ -123,12 +123,12 @@ export declare const StockBalanceReport: z.ZodObject<{
123
123
  warehouse: z.ZodNullable<z.ZodOptional<z.ZodString>>;
124
124
  }, "strip", z.ZodTypeAny, {
125
125
  item_code: string;
126
+ name?: string | null | undefined;
126
127
  description?: string | null | undefined;
127
128
  brand?: string | null | undefined;
128
- name?: string | null | undefined;
129
129
  company?: string | null | undefined;
130
- currency?: string | number | null | undefined;
131
130
  item_name?: string | null | undefined;
131
+ currency?: string | number | null | undefined;
132
132
  item_group?: string | null | undefined;
133
133
  stock_uom?: string | null | undefined;
134
134
  warehouse?: string | null | undefined;
@@ -145,12 +145,12 @@ export declare const StockBalanceReport: z.ZodObject<{
145
145
  val_rate?: number | null | undefined;
146
146
  }, {
147
147
  item_code: string;
148
+ name?: string | null | undefined;
148
149
  description?: string | null | undefined;
149
150
  brand?: string | null | undefined;
150
- name?: string | null | undefined;
151
151
  company?: string | null | undefined;
152
- currency?: string | number | null | undefined;
153
152
  item_name?: string | null | undefined;
153
+ currency?: string | number | null | undefined;
154
154
  item_group?: string | null | undefined;
155
155
  stock_uom?: string | null | undefined;
156
156
  warehouse?: string | null | undefined;
@@ -196,12 +196,12 @@ export declare const StockBalanceReport: z.ZodObject<{
196
196
  }, "strip", z.ZodTypeAny, {
197
197
  result: ((string | number)[] | {
198
198
  item_code: string;
199
+ name?: string | null | undefined;
199
200
  description?: string | null | undefined;
200
201
  brand?: string | null | undefined;
201
- name?: string | null | undefined;
202
202
  company?: string | null | undefined;
203
- currency?: string | number | null | undefined;
204
203
  item_name?: string | null | undefined;
204
+ currency?: string | number | null | undefined;
205
205
  item_group?: string | null | undefined;
206
206
  stock_uom?: string | null | undefined;
207
207
  warehouse?: string | null | undefined;
@@ -239,12 +239,12 @@ export declare const StockBalanceReport: z.ZodObject<{
239
239
  }, {
240
240
  result: ((string | number)[] | {
241
241
  item_code: string;
242
+ name?: string | null | undefined;
242
243
  description?: string | null | undefined;
243
244
  brand?: string | null | undefined;
244
- name?: string | null | undefined;
245
245
  company?: string | null | undefined;
246
- currency?: string | number | null | undefined;
247
246
  item_name?: string | null | undefined;
247
+ currency?: string | number | null | undefined;
248
248
  item_group?: string | null | undefined;
249
249
  stock_uom?: string | null | undefined;
250
250
  warehouse?: string | null | undefined;
package/package.json CHANGED
@@ -30,13 +30,13 @@
30
30
  "winston": "^3.15.0",
31
31
  "zod": "3.25.76"
32
32
  },
33
- "version": "2.5.8",
33
+ "version": "2.5.11",
34
34
  "devDependencies": {
35
35
  "@types/crypto-js": "^4.2.2",
36
36
  "@types/lodash": "^4.17.13",
37
37
  "@types/pako": "^2.0.3",
38
38
  "@types/randombytes": "^2.0.3",
39
- "typescript": "^5.6.3",
39
+ "typescript": "5.6.3",
40
40
  "vitest": "^2.1.8"
41
41
  }
42
42
  }