erpnext-queue-client 1.12.0 → 1.12.2

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.
@@ -8,7 +8,7 @@ export declare class ERPNextItem {
8
8
  protected temporalClient: TemporalClient;
9
9
  protected baseRequest: ERPNextDoctypeResourceRequest<typeof Item>;
10
10
  protected methodRequest: ERPNextMethodRequest;
11
- getList: <TField extends ("description" | "name" | "doctype" | "owner" | "creation" | "modified" | "modified_by" | "idx" | "docstatus" | "disabled" | "naming_series" | "item_code" | "item_name" | "item_group" | "stock_uom" | "grant_commission" | "weight_per_unit" | "weight_uom" | "taxes" | "override_base_name" | "sync_from_warehouse" | "allow_alternative_item" | "is_stock_item" | "include_item_in_manufacturing" | "opening_stock" | "valuation_rate" | "standard_rate" | "is_fixed_asset" | "auto_create_assets" | "over_delivery_receipt_allowance" | "over_billing_allowance" | "custom_is_shipping_enabled" | "shipping_dimensions_unit" | "packaging_weight_unit_cardboard" | "packaging_weight_unit_plastic" | "shelf_life_in_days" | "end_of_life" | "default_material_request_type" | "valuation_method" | "product_weight" | "product_weight_unit" | "has_batch_no" | "create_new_batch" | "has_expiry_date" | "retain_sample" | "sample_quantity" | "has_serial_no" | "has_variants" | "variant_based_on" | "min_order_qty" | "safety_stock" | "is_purchase_item" | "custom_include_in_purchase_planning" | "lead_time_days" | "last_purchase_rate" | "is_customer_provided_item" | "delivered_by_supplier" | "fsc_percentage" | "sales_uom" | "is_sales_item" | "custom_is_selling_enabled" | "max_discount" | "enable_deferred_revenue" | "no_of_months" | "enable_deferred_expense" | "no_of_months_exp" | "inspection_required_before_purchase" | "inspection_required_before_delivery" | "is_sub_contracted_item" | "customer_code" | "total_projected_qty" | "barcodes" | "reorder_levels" | "uoms" | "attributes" | "item_defaults" | "supplier_items" | "customer_items" | "custom_certifications") | ("image" | "warehouse_category" | "ean" | "shipping_template" | "shipping_width" | "shipping_length" | "shipping_height" | "packaging_weight_cardboard" | "packaging_weight_plastic" | "fsc_status" | "custom_fsc_type_of_wood" | "custom_fsc_product_group" | "custom_product_version" | "custom_supplier" | "purchase_description" | "custom_stock_reserve" | "custom_sales_category" | "custom_shopify_content_configuration" | "custom_compliance"), TAsDict extends boolean | undefined = undefined>({ fields, filters, skip, limit, priority, asDict, params, }?: {
11
+ getList: <TField extends ("description" | "name" | "doctype" | "owner" | "creation" | "modified" | "modified_by" | "idx" | "docstatus" | "disabled" | "naming_series" | "item_code" | "item_name" | "item_group" | "stock_uom" | "grant_commission" | "weight_per_unit" | "weight_uom" | "taxes" | "override_base_name" | "sync_from_warehouse" | "allow_alternative_item" | "is_stock_item" | "include_item_in_manufacturing" | "opening_stock" | "valuation_rate" | "standard_rate" | "is_fixed_asset" | "auto_create_assets" | "over_delivery_receipt_allowance" | "over_billing_allowance" | "custom_is_shipping_enabled" | "dimensions_unit" | "custom_dimension_format" | "shipping_dimensions_unit" | "packaging_weight_unit_cardboard" | "packaging_weight_unit_plastic" | "shelf_life_in_days" | "end_of_life" | "default_material_request_type" | "valuation_method" | "product_weight" | "product_weight_unit" | "has_batch_no" | "create_new_batch" | "has_expiry_date" | "retain_sample" | "sample_quantity" | "has_serial_no" | "has_variants" | "variant_based_on" | "min_order_qty" | "safety_stock" | "is_purchase_item" | "custom_include_in_purchase_planning" | "lead_time_days" | "last_purchase_rate" | "is_customer_provided_item" | "delivered_by_supplier" | "fsc_percentage" | "sales_uom" | "is_sales_item" | "custom_is_selling_enabled" | "max_discount" | "enable_deferred_revenue" | "no_of_months" | "enable_deferred_expense" | "no_of_months_exp" | "inspection_required_before_purchase" | "inspection_required_before_delivery" | "is_sub_contracted_item" | "customer_code" | "total_projected_qty" | "barcodes" | "reorder_levels" | "uoms" | "attributes" | "item_defaults" | "supplier_items" | "customer_items" | "custom_certifications") | ("length" | "image" | "warehouse_category" | "ean" | "shipping_template" | "width" | "height" | "shipping_length" | "shipping_width" | "shipping_height" | "packaging_weight_cardboard" | "packaging_weight_plastic" | "fsc_status" | "custom_fsc_type_of_wood" | "custom_fsc_product_group" | "custom_product_version" | "custom_supplier" | "purchase_description" | "custom_stock_reserve" | "custom_sales_category" | "custom_shopify_content_configuration" | "custom_compliance"), TAsDict extends boolean | undefined = undefined>({ fields, filters, skip, limit, priority, asDict, params, }?: {
12
12
  fields?: TField[] | undefined;
13
13
  filters?: (string | string[])[][];
14
14
  skip?: number;
@@ -49,6 +49,8 @@ export declare class ERPNextItem {
49
49
  over_delivery_receipt_allowance: number;
50
50
  over_billing_allowance: number;
51
51
  custom_is_shipping_enabled: number;
52
+ dimensions_unit: "m" | "cm" | "mm";
53
+ custom_dimension_format: "Length / Width / Height" | "Width / Depth / Height";
52
54
  shipping_dimensions_unit: "m" | "cm" | "mm";
53
55
  packaging_weight_unit_cardboard: "kg" | "g" | "mg";
54
56
  packaging_weight_unit_plastic: "kg" | "g" | "mg";
@@ -148,6 +150,7 @@ export declare class ERPNextItem {
148
150
  idx: number;
149
151
  docstatus: number;
150
152
  supplier: string;
153
+ supplier_part_no?: string | null | undefined;
151
154
  }[];
152
155
  customer_items: any[];
153
156
  custom_certifications: {
@@ -164,12 +167,15 @@ export declare class ERPNextItem {
164
167
  docstatus: number;
165
168
  certification: string;
166
169
  }[];
170
+ length?: number | null | undefined;
167
171
  image?: string | null | undefined;
168
172
  warehouse_category?: string | null | undefined;
169
173
  ean?: string | null | undefined;
170
174
  shipping_template?: string | null | undefined;
171
- shipping_width?: number | null | undefined;
175
+ width?: number | null | undefined;
176
+ height?: number | null | undefined;
172
177
  shipping_length?: number | null | undefined;
178
+ shipping_width?: number | null | undefined;
173
179
  shipping_height?: number | null | undefined;
174
180
  packaging_weight_cardboard?: number | null | undefined;
175
181
  packaging_weight_plastic?: number | null | undefined;
@@ -220,6 +226,8 @@ export declare class ERPNextItem {
220
226
  over_delivery_receipt_allowance: number;
221
227
  over_billing_allowance: number;
222
228
  custom_is_shipping_enabled: number;
229
+ dimensions_unit: "m" | "cm" | "mm";
230
+ custom_dimension_format: "Length / Width / Height" | "Width / Depth / Height";
223
231
  shipping_dimensions_unit: "m" | "cm" | "mm";
224
232
  packaging_weight_unit_cardboard: "kg" | "g" | "mg";
225
233
  packaging_weight_unit_plastic: "kg" | "g" | "mg";
@@ -319,6 +327,7 @@ export declare class ERPNextItem {
319
327
  idx: number;
320
328
  docstatus: number;
321
329
  supplier: string;
330
+ supplier_part_no?: string | null | undefined;
322
331
  }[];
323
332
  customer_items: any[];
324
333
  custom_certifications: {
@@ -335,12 +344,15 @@ export declare class ERPNextItem {
335
344
  docstatus: number;
336
345
  certification: string;
337
346
  }[];
347
+ length?: number | null | undefined;
338
348
  image?: string | null | undefined;
339
349
  warehouse_category?: string | null | undefined;
340
350
  ean?: string | null | undefined;
341
351
  shipping_template?: string | null | undefined;
342
- shipping_width?: number | null | undefined;
352
+ width?: number | null | undefined;
353
+ height?: number | null | undefined;
343
354
  shipping_length?: number | null | undefined;
355
+ shipping_width?: number | null | undefined;
344
356
  shipping_height?: number | null | undefined;
345
357
  packaging_weight_cardboard?: number | null | undefined;
346
358
  packaging_weight_plastic?: number | null | undefined;
@@ -388,6 +400,8 @@ export declare class ERPNextItem {
388
400
  over_delivery_receipt_allowance: number;
389
401
  over_billing_allowance: number;
390
402
  custom_is_shipping_enabled: number;
403
+ dimensions_unit: "m" | "cm" | "mm";
404
+ custom_dimension_format: "Length / Width / Height" | "Width / Depth / Height";
391
405
  shipping_dimensions_unit: "m" | "cm" | "mm";
392
406
  packaging_weight_unit_cardboard: "kg" | "g" | "mg";
393
407
  packaging_weight_unit_plastic: "kg" | "g" | "mg";
@@ -487,6 +501,7 @@ export declare class ERPNextItem {
487
501
  idx: number;
488
502
  docstatus: number;
489
503
  supplier: string;
504
+ supplier_part_no?: string | null | undefined;
490
505
  }[];
491
506
  customer_items: any[];
492
507
  custom_certifications: {
@@ -503,12 +518,15 @@ export declare class ERPNextItem {
503
518
  docstatus: number;
504
519
  certification: string;
505
520
  }[];
521
+ length?: number | null | undefined;
506
522
  image?: string | null | undefined;
507
523
  warehouse_category?: string | null | undefined;
508
524
  ean?: string | null | undefined;
509
525
  shipping_template?: string | null | undefined;
510
- shipping_width?: number | null | undefined;
526
+ width?: number | null | undefined;
527
+ height?: number | null | undefined;
511
528
  shipping_length?: number | null | undefined;
529
+ shipping_width?: number | null | undefined;
512
530
  shipping_height?: number | null | undefined;
513
531
  packaging_weight_cardboard?: number | null | undefined;
514
532
  packaging_weight_plastic?: number | null | undefined;
@@ -560,6 +578,8 @@ export declare class ERPNextItem {
560
578
  over_delivery_receipt_allowance: number;
561
579
  over_billing_allowance: number;
562
580
  custom_is_shipping_enabled: number;
581
+ dimensions_unit: "m" | "cm" | "mm";
582
+ custom_dimension_format: "Length / Width / Height" | "Width / Depth / Height";
563
583
  shipping_dimensions_unit: "m" | "cm" | "mm";
564
584
  packaging_weight_unit_cardboard: "kg" | "g" | "mg";
565
585
  packaging_weight_unit_plastic: "kg" | "g" | "mg";
@@ -659,6 +679,7 @@ export declare class ERPNextItem {
659
679
  idx: number;
660
680
  docstatus: number;
661
681
  supplier: string;
682
+ supplier_part_no?: string | null | undefined;
662
683
  }[];
663
684
  customer_items: any[];
664
685
  custom_certifications: {
@@ -675,12 +696,15 @@ export declare class ERPNextItem {
675
696
  docstatus: number;
676
697
  certification: string;
677
698
  }[];
699
+ length?: number | null | undefined;
678
700
  image?: string | null | undefined;
679
701
  warehouse_category?: string | null | undefined;
680
702
  ean?: string | null | undefined;
681
703
  shipping_template?: string | null | undefined;
682
- shipping_width?: number | null | undefined;
704
+ width?: number | null | undefined;
705
+ height?: number | null | undefined;
683
706
  shipping_length?: number | null | undefined;
707
+ shipping_width?: number | null | undefined;
684
708
  shipping_height?: number | null | undefined;
685
709
  packaging_weight_cardboard?: number | null | undefined;
686
710
  packaging_weight_plastic?: number | null | undefined;
@@ -732,6 +756,8 @@ export declare class ERPNextItem {
732
756
  over_delivery_receipt_allowance: number;
733
757
  over_billing_allowance: number;
734
758
  custom_is_shipping_enabled: number;
759
+ dimensions_unit: "m" | "cm" | "mm";
760
+ custom_dimension_format: "Length / Width / Height" | "Width / Depth / Height";
735
761
  shipping_dimensions_unit: "m" | "cm" | "mm";
736
762
  packaging_weight_unit_cardboard: "kg" | "g" | "mg";
737
763
  packaging_weight_unit_plastic: "kg" | "g" | "mg";
@@ -831,6 +857,7 @@ export declare class ERPNextItem {
831
857
  idx: number;
832
858
  docstatus: number;
833
859
  supplier: string;
860
+ supplier_part_no?: string | null | undefined;
834
861
  }[];
835
862
  customer_items: any[];
836
863
  custom_certifications: {
@@ -847,12 +874,15 @@ export declare class ERPNextItem {
847
874
  docstatus: number;
848
875
  certification: string;
849
876
  }[];
877
+ length?: number | null | undefined;
850
878
  image?: string | null | undefined;
851
879
  warehouse_category?: string | null | undefined;
852
880
  ean?: string | null | undefined;
853
881
  shipping_template?: string | null | undefined;
854
- shipping_width?: number | null | undefined;
882
+ width?: number | null | undefined;
883
+ height?: number | null | undefined;
855
884
  shipping_length?: number | null | undefined;
885
+ shipping_width?: number | null | undefined;
856
886
  shipping_height?: number | null | undefined;
857
887
  packaging_weight_cardboard?: number | null | undefined;
858
888
  packaging_weight_plastic?: number | null | undefined;
@@ -904,6 +934,8 @@ export declare class ERPNextItem {
904
934
  over_delivery_receipt_allowance: number;
905
935
  over_billing_allowance: number;
906
936
  custom_is_shipping_enabled: number;
937
+ dimensions_unit: "m" | "cm" | "mm";
938
+ custom_dimension_format: "Length / Width / Height" | "Width / Depth / Height";
907
939
  shipping_dimensions_unit: "m" | "cm" | "mm";
908
940
  packaging_weight_unit_cardboard: "kg" | "g" | "mg";
909
941
  packaging_weight_unit_plastic: "kg" | "g" | "mg";
@@ -1003,6 +1035,7 @@ export declare class ERPNextItem {
1003
1035
  idx: number;
1004
1036
  docstatus: number;
1005
1037
  supplier: string;
1038
+ supplier_part_no?: string | null | undefined;
1006
1039
  }[];
1007
1040
  customer_items: any[];
1008
1041
  custom_certifications: {
@@ -1019,12 +1052,15 @@ export declare class ERPNextItem {
1019
1052
  docstatus: number;
1020
1053
  certification: string;
1021
1054
  }[];
1055
+ length?: number | null | undefined;
1022
1056
  image?: string | null | undefined;
1023
1057
  warehouse_category?: string | null | undefined;
1024
1058
  ean?: string | null | undefined;
1025
1059
  shipping_template?: string | null | undefined;
1026
- shipping_width?: number | null | undefined;
1060
+ width?: number | null | undefined;
1061
+ height?: number | null | undefined;
1027
1062
  shipping_length?: number | null | undefined;
1063
+ shipping_width?: number | null | undefined;
1028
1064
  shipping_height?: number | null | undefined;
1029
1065
  packaging_weight_cardboard?: number | null | undefined;
1030
1066
  packaging_weight_plastic?: number | null | undefined;
@@ -88,11 +88,11 @@ export declare class ERPNextPurchaseReceipt {
88
88
  project?: any;
89
89
  page_break?: number | null | undefined;
90
90
  __unsaved?: number | null | undefined;
91
+ supplier_part_no?: any;
91
92
  valuation_rate?: number | null | undefined;
92
93
  is_fixed_asset?: number | null | undefined;
93
94
  retain_sample?: number | null | undefined;
94
95
  sample_quantity?: number | null | undefined;
95
- supplier_part_no?: any;
96
96
  rejected_qty?: number | null | undefined;
97
97
  item_tax_amount?: number | null | undefined;
98
98
  landed_cost_voucher_amount?: number | null | undefined;
@@ -291,11 +291,11 @@ export declare class ERPNextPurchaseReceipt {
291
291
  project?: any;
292
292
  page_break?: number | null | undefined;
293
293
  __unsaved?: number | null | undefined;
294
+ supplier_part_no?: any;
294
295
  valuation_rate?: number | null | undefined;
295
296
  is_fixed_asset?: number | null | undefined;
296
297
  retain_sample?: number | null | undefined;
297
298
  sample_quantity?: number | null | undefined;
298
- supplier_part_no?: any;
299
299
  rejected_qty?: number | null | undefined;
300
300
  item_tax_amount?: number | null | undefined;
301
301
  landed_cost_voucher_amount?: number | null | undefined;
@@ -491,11 +491,11 @@ export declare class ERPNextPurchaseReceipt {
491
491
  project?: any;
492
492
  page_break?: number | null | undefined;
493
493
  __unsaved?: number | null | undefined;
494
+ supplier_part_no?: any;
494
495
  valuation_rate?: number | null | undefined;
495
496
  is_fixed_asset?: number | null | undefined;
496
497
  retain_sample?: number | null | undefined;
497
498
  sample_quantity?: number | null | undefined;
498
- supplier_part_no?: any;
499
499
  rejected_qty?: number | null | undefined;
500
500
  item_tax_amount?: number | null | undefined;
501
501
  landed_cost_voucher_amount?: number | null | undefined;
@@ -695,11 +695,11 @@ export declare class ERPNextPurchaseReceipt {
695
695
  project?: any;
696
696
  page_break?: number | null | undefined;
697
697
  __unsaved?: number | null | undefined;
698
+ supplier_part_no?: any;
698
699
  valuation_rate?: number | null | undefined;
699
700
  is_fixed_asset?: number | null | undefined;
700
701
  retain_sample?: number | null | undefined;
701
702
  sample_quantity?: number | null | undefined;
702
- supplier_part_no?: any;
703
703
  rejected_qty?: number | null | undefined;
704
704
  item_tax_amount?: number | null | undefined;
705
705
  landed_cost_voucher_amount?: number | null | undefined;
@@ -901,11 +901,11 @@ export declare class ERPNextPurchaseReceipt {
901
901
  project?: any;
902
902
  page_break?: number | null | undefined;
903
903
  __unsaved?: number | null | undefined;
904
+ supplier_part_no?: any;
904
905
  valuation_rate?: number | null | undefined;
905
906
  is_fixed_asset?: number | null | undefined;
906
907
  retain_sample?: number | null | undefined;
907
908
  sample_quantity?: number | null | undefined;
908
- supplier_part_no?: any;
909
909
  rejected_qty?: number | null | undefined;
910
910
  item_tax_amount?: number | null | undefined;
911
911
  landed_cost_voucher_amount?: number | null | undefined;
@@ -1103,11 +1103,11 @@ export declare class ERPNextPurchaseReceipt {
1103
1103
  project?: any;
1104
1104
  page_break?: number | null | undefined;
1105
1105
  __unsaved?: number | null | undefined;
1106
+ supplier_part_no?: any;
1106
1107
  valuation_rate?: number | null | undefined;
1107
1108
  is_fixed_asset?: number | null | undefined;
1108
1109
  retain_sample?: number | null | undefined;
1109
1110
  sample_quantity?: number | null | undefined;
1110
- supplier_part_no?: any;
1111
1111
  rejected_qty?: number | null | undefined;
1112
1112
  item_tax_amount?: number | null | undefined;
1113
1113
  landed_cost_voucher_amount?: number | null | undefined;
@@ -1441,11 +1441,11 @@ export declare class ERPNextPurchaseReceipt {
1441
1441
  project?: any;
1442
1442
  page_break?: number | null | undefined;
1443
1443
  __unsaved?: number | null | undefined;
1444
+ supplier_part_no?: any;
1444
1445
  valuation_rate?: number | null | undefined;
1445
1446
  is_fixed_asset?: number | null | undefined;
1446
1447
  retain_sample?: number | null | undefined;
1447
1448
  sample_quantity?: number | null | undefined;
1448
- supplier_part_no?: any;
1449
1449
  rejected_qty?: number | null | undefined;
1450
1450
  item_tax_amount?: number | null | undefined;
1451
1451
  landed_cost_voucher_amount?: number | null | undefined;
@@ -1778,11 +1778,11 @@ export declare class ERPNextPurchaseReceipt {
1778
1778
  project?: any;
1779
1779
  page_break?: number | null | undefined;
1780
1780
  __unsaved?: number | null | undefined;
1781
+ supplier_part_no?: any;
1781
1782
  valuation_rate?: number | null | undefined;
1782
1783
  is_fixed_asset?: number | null | undefined;
1783
1784
  retain_sample?: number | null | undefined;
1784
1785
  sample_quantity?: number | null | undefined;
1785
- supplier_part_no?: any;
1786
1786
  rejected_qty?: number | null | undefined;
1787
1787
  item_tax_amount?: number | null | undefined;
1788
1788
  landed_cost_voucher_amount?: number | null | undefined;
@@ -30,8 +30,13 @@ export declare const Item: z.ZodObject<{
30
30
  over_billing_allowance: z.ZodNumber;
31
31
  custom_is_shipping_enabled: z.ZodNumber;
32
32
  shipping_template: z.ZodNullable<z.ZodOptional<z.ZodString>>;
33
- shipping_width: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
33
+ length: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
34
+ width: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
35
+ height: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
36
+ dimensions_unit: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"m">, z.ZodLiteral<"cm">]>, z.ZodLiteral<"mm">]>;
37
+ custom_dimension_format: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"Length / Width / Height">, z.ZodLiteral<"Width / Depth / Height">]>>;
34
38
  shipping_length: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
39
+ shipping_width: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
35
40
  shipping_height: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
36
41
  shipping_dimensions_unit: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"m">, z.ZodLiteral<"cm">]>, z.ZodLiteral<"mm">]>;
37
42
  packaging_weight_cardboard: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
@@ -226,6 +231,7 @@ export declare const Item: z.ZodObject<{
226
231
  docstatus: z.ZodNumber;
227
232
  doctype: z.ZodString;
228
233
  supplier: z.ZodString;
234
+ supplier_part_no: z.ZodNullable<z.ZodOptional<z.ZodString>>;
229
235
  }, "strip", z.ZodTypeAny, {
230
236
  name: string;
231
237
  doctype: string;
@@ -239,6 +245,7 @@ export declare const Item: z.ZodObject<{
239
245
  idx: number;
240
246
  docstatus: number;
241
247
  supplier: string;
248
+ supplier_part_no?: string | null | undefined;
242
249
  }, {
243
250
  name: string;
244
251
  doctype: string;
@@ -252,6 +259,7 @@ export declare const Item: z.ZodObject<{
252
259
  idx: number;
253
260
  docstatus: number;
254
261
  supplier: string;
262
+ supplier_part_no?: string | null | undefined;
255
263
  }>, "many">;
256
264
  customer_items: z.ZodArray<z.ZodAny, "many">;
257
265
  taxes: z.ZodArray<z.ZodAny, "many">;
@@ -335,6 +343,8 @@ export declare const Item: z.ZodObject<{
335
343
  over_delivery_receipt_allowance: number;
336
344
  over_billing_allowance: number;
337
345
  custom_is_shipping_enabled: number;
346
+ dimensions_unit: "m" | "cm" | "mm";
347
+ custom_dimension_format: "Length / Width / Height" | "Width / Depth / Height";
338
348
  shipping_dimensions_unit: "m" | "cm" | "mm";
339
349
  packaging_weight_unit_cardboard: "kg" | "g" | "mg";
340
350
  packaging_weight_unit_plastic: "kg" | "g" | "mg";
@@ -434,6 +444,7 @@ export declare const Item: z.ZodObject<{
434
444
  idx: number;
435
445
  docstatus: number;
436
446
  supplier: string;
447
+ supplier_part_no?: string | null | undefined;
437
448
  }[];
438
449
  customer_items: any[];
439
450
  custom_certifications: {
@@ -450,12 +461,15 @@ export declare const Item: z.ZodObject<{
450
461
  docstatus: number;
451
462
  certification: string;
452
463
  }[];
464
+ length?: number | null | undefined;
453
465
  image?: string | null | undefined;
454
466
  warehouse_category?: string | null | undefined;
455
467
  ean?: string | null | undefined;
456
468
  shipping_template?: string | null | undefined;
457
- shipping_width?: number | null | undefined;
469
+ width?: number | null | undefined;
470
+ height?: number | null | undefined;
458
471
  shipping_length?: number | null | undefined;
472
+ shipping_width?: number | null | undefined;
459
473
  shipping_height?: number | null | undefined;
460
474
  packaging_weight_cardboard?: number | null | undefined;
461
475
  packaging_weight_plastic?: number | null | undefined;
@@ -502,6 +516,7 @@ export declare const Item: z.ZodObject<{
502
516
  over_delivery_receipt_allowance: number;
503
517
  over_billing_allowance: number;
504
518
  custom_is_shipping_enabled: number;
519
+ dimensions_unit: "m" | "cm" | "mm";
505
520
  shipping_dimensions_unit: "m" | "cm" | "mm";
506
521
  packaging_weight_unit_cardboard: "kg" | "g" | "mg";
507
522
  packaging_weight_unit_plastic: "kg" | "g" | "mg";
@@ -601,6 +616,7 @@ export declare const Item: z.ZodObject<{
601
616
  idx: number;
602
617
  docstatus: number;
603
618
  supplier: string;
619
+ supplier_part_no?: string | null | undefined;
604
620
  }[];
605
621
  customer_items: any[];
606
622
  custom_certifications: {
@@ -617,12 +633,16 @@ export declare const Item: z.ZodObject<{
617
633
  docstatus: number;
618
634
  certification: string;
619
635
  }[];
636
+ length?: number | null | undefined;
620
637
  image?: string | null | undefined;
621
638
  warehouse_category?: string | null | undefined;
622
639
  ean?: string | null | undefined;
623
640
  shipping_template?: string | null | undefined;
624
- shipping_width?: number | null | undefined;
641
+ width?: number | null | undefined;
642
+ height?: number | null | undefined;
643
+ custom_dimension_format?: "Length / Width / Height" | "Width / Depth / Height" | undefined;
625
644
  shipping_length?: number | null | undefined;
645
+ shipping_width?: number | null | undefined;
626
646
  shipping_height?: number | null | undefined;
627
647
  packaging_weight_cardboard?: number | null | undefined;
628
648
  packaging_weight_plastic?: number | null | undefined;
@@ -669,8 +689,13 @@ export declare const ItemListWithShippingTemplate: z.ZodArray<z.ZodObject<Pick<O
669
689
  over_billing_allowance: z.ZodNumber;
670
690
  custom_is_shipping_enabled: z.ZodNumber;
671
691
  shipping_template: z.ZodNullable<z.ZodOptional<z.ZodString>>;
672
- shipping_width: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
692
+ length: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
693
+ width: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
694
+ height: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
695
+ dimensions_unit: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"m">, z.ZodLiteral<"cm">]>, z.ZodLiteral<"mm">]>;
696
+ custom_dimension_format: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"Length / Width / Height">, z.ZodLiteral<"Width / Depth / Height">]>>;
673
697
  shipping_length: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
698
+ shipping_width: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
674
699
  shipping_height: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
675
700
  shipping_dimensions_unit: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"m">, z.ZodLiteral<"cm">]>, z.ZodLiteral<"mm">]>;
676
701
  packaging_weight_cardboard: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
@@ -865,6 +890,7 @@ export declare const ItemListWithShippingTemplate: z.ZodArray<z.ZodObject<Pick<O
865
890
  docstatus: z.ZodNumber;
866
891
  doctype: z.ZodString;
867
892
  supplier: z.ZodString;
893
+ supplier_part_no: z.ZodNullable<z.ZodOptional<z.ZodString>>;
868
894
  }, "strip", z.ZodTypeAny, {
869
895
  name: string;
870
896
  doctype: string;
@@ -878,6 +904,7 @@ export declare const ItemListWithShippingTemplate: z.ZodArray<z.ZodObject<Pick<O
878
904
  idx: number;
879
905
  docstatus: number;
880
906
  supplier: string;
907
+ supplier_part_no?: string | null | undefined;
881
908
  }, {
882
909
  name: string;
883
910
  doctype: string;
@@ -891,6 +918,7 @@ export declare const ItemListWithShippingTemplate: z.ZodArray<z.ZodObject<Pick<O
891
918
  idx: number;
892
919
  docstatus: number;
893
920
  supplier: string;
921
+ supplier_part_no?: string | null | undefined;
894
922
  }>, "many">;
895
923
  customer_items: z.ZodArray<z.ZodAny, "many">;
896
924
  taxes: z.ZodArray<z.ZodAny, "many">;
@@ -941,7 +969,7 @@ export declare const ItemListWithShippingTemplate: z.ZodArray<z.ZodObject<Pick<O
941
969
  docstatus: number;
942
970
  certification: string;
943
971
  }>, "many">;
944
- }, "barcodes" | "reorder_levels" | "uoms" | "attributes" | "item_defaults" | "supplier_items" | "customer_items">, "disabled" | "item_code" | "item_name" | "weight_per_unit" | "weight_uom" | "warehouse_category" | "ean" | "custom_is_shipping_enabled" | "shipping_template" | "shipping_width" | "shipping_length" | "shipping_height" | "shipping_dimensions_unit">, "strip", z.ZodTypeAny, {
972
+ }, "barcodes" | "reorder_levels" | "uoms" | "attributes" | "item_defaults" | "supplier_items" | "customer_items">, "disabled" | "item_code" | "item_name" | "weight_per_unit" | "weight_uom" | "warehouse_category" | "ean" | "custom_is_shipping_enabled" | "shipping_template" | "shipping_length" | "shipping_width" | "shipping_height" | "shipping_dimensions_unit">, "strip", z.ZodTypeAny, {
945
973
  disabled: number;
946
974
  item_code: string;
947
975
  item_name: string;
@@ -952,8 +980,8 @@ export declare const ItemListWithShippingTemplate: z.ZodArray<z.ZodObject<Pick<O
952
980
  warehouse_category?: string | null | undefined;
953
981
  ean?: string | null | undefined;
954
982
  shipping_template?: string | null | undefined;
955
- shipping_width?: number | null | undefined;
956
983
  shipping_length?: number | null | undefined;
984
+ shipping_width?: number | null | undefined;
957
985
  shipping_height?: number | null | undefined;
958
986
  }, {
959
987
  disabled: number;
@@ -966,8 +994,8 @@ export declare const ItemListWithShippingTemplate: z.ZodArray<z.ZodObject<Pick<O
966
994
  warehouse_category?: string | null | undefined;
967
995
  ean?: string | null | undefined;
968
996
  shipping_template?: string | null | undefined;
969
- shipping_width?: number | null | undefined;
970
997
  shipping_length?: number | null | undefined;
998
+ shipping_width?: number | null | undefined;
971
999
  shipping_height?: number | null | undefined;
972
1000
  }>, "many">;
973
1001
  export type ItemListWithShippingTemplateType = z.infer<typeof ItemListWithShippingTemplate>;
@@ -1002,8 +1030,13 @@ export declare const ItemListWithShippingTemplateSku: z.ZodArray<z.ZodObject<z.o
1002
1030
  over_billing_allowance: z.ZodNumber;
1003
1031
  custom_is_shipping_enabled: z.ZodNumber;
1004
1032
  shipping_template: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1005
- shipping_width: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1033
+ length: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1034
+ width: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1035
+ height: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1036
+ dimensions_unit: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"m">, z.ZodLiteral<"cm">]>, z.ZodLiteral<"mm">]>;
1037
+ custom_dimension_format: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"Length / Width / Height">, z.ZodLiteral<"Width / Depth / Height">]>>;
1006
1038
  shipping_length: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1039
+ shipping_width: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1007
1040
  shipping_height: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1008
1041
  shipping_dimensions_unit: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"m">, z.ZodLiteral<"cm">]>, z.ZodLiteral<"mm">]>;
1009
1042
  packaging_weight_cardboard: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
@@ -1198,6 +1231,7 @@ export declare const ItemListWithShippingTemplateSku: z.ZodArray<z.ZodObject<z.o
1198
1231
  docstatus: z.ZodNumber;
1199
1232
  doctype: z.ZodString;
1200
1233
  supplier: z.ZodString;
1234
+ supplier_part_no: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1201
1235
  }, "strip", z.ZodTypeAny, {
1202
1236
  name: string;
1203
1237
  doctype: string;
@@ -1211,6 +1245,7 @@ export declare const ItemListWithShippingTemplateSku: z.ZodArray<z.ZodObject<z.o
1211
1245
  idx: number;
1212
1246
  docstatus: number;
1213
1247
  supplier: string;
1248
+ supplier_part_no?: string | null | undefined;
1214
1249
  }, {
1215
1250
  name: string;
1216
1251
  doctype: string;
@@ -1224,6 +1259,7 @@ export declare const ItemListWithShippingTemplateSku: z.ZodArray<z.ZodObject<z.o
1224
1259
  idx: number;
1225
1260
  docstatus: number;
1226
1261
  supplier: string;
1262
+ supplier_part_no?: string | null | undefined;
1227
1263
  }>, "many">;
1228
1264
  customer_items: z.ZodArray<z.ZodAny, "many">;
1229
1265
  taxes: z.ZodArray<z.ZodAny, "many">;
@@ -1274,7 +1310,7 @@ export declare const ItemListWithShippingTemplateSku: z.ZodArray<z.ZodObject<z.o
1274
1310
  docstatus: number;
1275
1311
  certification: string;
1276
1312
  }>, "many">;
1277
- }, "barcodes" | "reorder_levels" | "uoms" | "attributes" | "item_defaults" | "supplier_items" | "customer_items">, "disabled" | "item_name" | "weight_per_unit" | "weight_uom" | "warehouse_category" | "ean" | "custom_is_shipping_enabled" | "shipping_template" | "shipping_width" | "shipping_length" | "shipping_height" | "shipping_dimensions_unit">, {
1313
+ }, "barcodes" | "reorder_levels" | "uoms" | "attributes" | "item_defaults" | "supplier_items" | "customer_items">, "disabled" | "item_name" | "weight_per_unit" | "weight_uom" | "warehouse_category" | "ean" | "custom_is_shipping_enabled" | "shipping_template" | "shipping_length" | "shipping_width" | "shipping_height" | "shipping_dimensions_unit">, {
1278
1314
  sku: z.ZodString;
1279
1315
  }>, "strip", z.ZodTypeAny, {
1280
1316
  disabled: number;
@@ -1287,8 +1323,8 @@ export declare const ItemListWithShippingTemplateSku: z.ZodArray<z.ZodObject<z.o
1287
1323
  warehouse_category?: string | null | undefined;
1288
1324
  ean?: string | null | undefined;
1289
1325
  shipping_template?: string | null | undefined;
1290
- shipping_width?: number | null | undefined;
1291
1326
  shipping_length?: number | null | undefined;
1327
+ shipping_width?: number | null | undefined;
1292
1328
  shipping_height?: number | null | undefined;
1293
1329
  }, {
1294
1330
  disabled: number;
@@ -1301,8 +1337,8 @@ export declare const ItemListWithShippingTemplateSku: z.ZodArray<z.ZodObject<z.o
1301
1337
  warehouse_category?: string | null | undefined;
1302
1338
  ean?: string | null | undefined;
1303
1339
  shipping_template?: string | null | undefined;
1304
- shipping_width?: number | null | undefined;
1305
1340
  shipping_length?: number | null | undefined;
1341
+ shipping_width?: number | null | undefined;
1306
1342
  shipping_height?: number | null | undefined;
1307
1343
  }>, "many">;
1308
1344
  export type ItemListWithShippingTemplateSkuType = z.infer<typeof ItemListWithShippingTemplateSku>;
@@ -1338,8 +1374,13 @@ declare const ItemDimensionsInfo: z.ZodObject<Pick<Omit<{
1338
1374
  over_billing_allowance: z.ZodNumber;
1339
1375
  custom_is_shipping_enabled: z.ZodNumber;
1340
1376
  shipping_template: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1341
- shipping_width: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1377
+ length: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1378
+ width: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1379
+ height: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1380
+ dimensions_unit: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"m">, z.ZodLiteral<"cm">]>, z.ZodLiteral<"mm">]>;
1381
+ custom_dimension_format: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"Length / Width / Height">, z.ZodLiteral<"Width / Depth / Height">]>>;
1342
1382
  shipping_length: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1383
+ shipping_width: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1343
1384
  shipping_height: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1344
1385
  shipping_dimensions_unit: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"m">, z.ZodLiteral<"cm">]>, z.ZodLiteral<"mm">]>;
1345
1386
  packaging_weight_cardboard: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
@@ -1534,6 +1575,7 @@ declare const ItemDimensionsInfo: z.ZodObject<Pick<Omit<{
1534
1575
  docstatus: z.ZodNumber;
1535
1576
  doctype: z.ZodString;
1536
1577
  supplier: z.ZodString;
1578
+ supplier_part_no: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1537
1579
  }, "strip", z.ZodTypeAny, {
1538
1580
  name: string;
1539
1581
  doctype: string;
@@ -1547,6 +1589,7 @@ declare const ItemDimensionsInfo: z.ZodObject<Pick<Omit<{
1547
1589
  idx: number;
1548
1590
  docstatus: number;
1549
1591
  supplier: string;
1592
+ supplier_part_no?: string | null | undefined;
1550
1593
  }, {
1551
1594
  name: string;
1552
1595
  doctype: string;
@@ -1560,6 +1603,7 @@ declare const ItemDimensionsInfo: z.ZodObject<Pick<Omit<{
1560
1603
  idx: number;
1561
1604
  docstatus: number;
1562
1605
  supplier: string;
1606
+ supplier_part_no?: string | null | undefined;
1563
1607
  }>, "many">;
1564
1608
  customer_items: z.ZodArray<z.ZodAny, "many">;
1565
1609
  taxes: z.ZodArray<z.ZodAny, "many">;
@@ -1610,15 +1654,15 @@ declare const ItemDimensionsInfo: z.ZodObject<Pick<Omit<{
1610
1654
  docstatus: number;
1611
1655
  certification: string;
1612
1656
  }>, "many">;
1613
- }, "barcodes" | "reorder_levels" | "uoms" | "attributes" | "item_defaults" | "supplier_items" | "customer_items">, "shipping_width" | "shipping_length" | "shipping_height" | "shipping_dimensions_unit">, "strip", z.ZodTypeAny, {
1657
+ }, "barcodes" | "reorder_levels" | "uoms" | "attributes" | "item_defaults" | "supplier_items" | "customer_items">, "shipping_length" | "shipping_width" | "shipping_height" | "shipping_dimensions_unit">, "strip", z.ZodTypeAny, {
1614
1658
  shipping_dimensions_unit: "m" | "cm" | "mm";
1615
- shipping_width?: number | null | undefined;
1616
1659
  shipping_length?: number | null | undefined;
1660
+ shipping_width?: number | null | undefined;
1617
1661
  shipping_height?: number | null | undefined;
1618
1662
  }, {
1619
1663
  shipping_dimensions_unit: "m" | "cm" | "mm";
1620
- shipping_width?: number | null | undefined;
1621
1664
  shipping_length?: number | null | undefined;
1665
+ shipping_width?: number | null | undefined;
1622
1666
  shipping_height?: number | null | undefined;
1623
1667
  }>;
1624
1668
  export type ItemDimensionsInfoType = z.infer<typeof ItemDimensionsInfo>;
@@ -1653,8 +1697,13 @@ export declare const ItemListName: z.ZodArray<z.ZodObject<Pick<Omit<{
1653
1697
  over_billing_allowance: z.ZodNumber;
1654
1698
  custom_is_shipping_enabled: z.ZodNumber;
1655
1699
  shipping_template: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1656
- shipping_width: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1700
+ length: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1701
+ width: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1702
+ height: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1703
+ dimensions_unit: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"m">, z.ZodLiteral<"cm">]>, z.ZodLiteral<"mm">]>;
1704
+ custom_dimension_format: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"Length / Width / Height">, z.ZodLiteral<"Width / Depth / Height">]>>;
1657
1705
  shipping_length: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1706
+ shipping_width: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1658
1707
  shipping_height: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1659
1708
  shipping_dimensions_unit: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"m">, z.ZodLiteral<"cm">]>, z.ZodLiteral<"mm">]>;
1660
1709
  packaging_weight_cardboard: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
@@ -1849,6 +1898,7 @@ export declare const ItemListName: z.ZodArray<z.ZodObject<Pick<Omit<{
1849
1898
  docstatus: z.ZodNumber;
1850
1899
  doctype: z.ZodString;
1851
1900
  supplier: z.ZodString;
1901
+ supplier_part_no: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1852
1902
  }, "strip", z.ZodTypeAny, {
1853
1903
  name: string;
1854
1904
  doctype: string;
@@ -1862,6 +1912,7 @@ export declare const ItemListName: z.ZodArray<z.ZodObject<Pick<Omit<{
1862
1912
  idx: number;
1863
1913
  docstatus: number;
1864
1914
  supplier: string;
1915
+ supplier_part_no?: string | null | undefined;
1865
1916
  }, {
1866
1917
  name: string;
1867
1918
  doctype: string;
@@ -1875,6 +1926,7 @@ export declare const ItemListName: z.ZodArray<z.ZodObject<Pick<Omit<{
1875
1926
  idx: number;
1876
1927
  docstatus: number;
1877
1928
  supplier: string;
1929
+ supplier_part_no?: string | null | undefined;
1878
1930
  }>, "many">;
1879
1931
  customer_items: z.ZodArray<z.ZodAny, "many">;
1880
1932
  taxes: z.ZodArray<z.ZodAny, "many">;
@@ -1962,8 +2014,13 @@ export declare const ItemList: z.ZodArray<z.ZodObject<Pick<Omit<{
1962
2014
  over_billing_allowance: z.ZodNumber;
1963
2015
  custom_is_shipping_enabled: z.ZodNumber;
1964
2016
  shipping_template: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1965
- shipping_width: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
2017
+ length: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
2018
+ width: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
2019
+ height: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
2020
+ dimensions_unit: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"m">, z.ZodLiteral<"cm">]>, z.ZodLiteral<"mm">]>;
2021
+ custom_dimension_format: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"Length / Width / Height">, z.ZodLiteral<"Width / Depth / Height">]>>;
1966
2022
  shipping_length: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
2023
+ shipping_width: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1967
2024
  shipping_height: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1968
2025
  shipping_dimensions_unit: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"m">, z.ZodLiteral<"cm">]>, z.ZodLiteral<"mm">]>;
1969
2026
  packaging_weight_cardboard: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
@@ -2158,6 +2215,7 @@ export declare const ItemList: z.ZodArray<z.ZodObject<Pick<Omit<{
2158
2215
  docstatus: z.ZodNumber;
2159
2216
  doctype: z.ZodString;
2160
2217
  supplier: z.ZodString;
2218
+ supplier_part_no: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2161
2219
  }, "strip", z.ZodTypeAny, {
2162
2220
  name: string;
2163
2221
  doctype: string;
@@ -2171,6 +2229,7 @@ export declare const ItemList: z.ZodArray<z.ZodObject<Pick<Omit<{
2171
2229
  idx: number;
2172
2230
  docstatus: number;
2173
2231
  supplier: string;
2232
+ supplier_part_no?: string | null | undefined;
2174
2233
  }, {
2175
2234
  name: string;
2176
2235
  doctype: string;
@@ -2184,6 +2243,7 @@ export declare const ItemList: z.ZodArray<z.ZodObject<Pick<Omit<{
2184
2243
  idx: number;
2185
2244
  docstatus: number;
2186
2245
  supplier: string;
2246
+ supplier_part_no?: string | null | undefined;
2187
2247
  }>, "many">;
2188
2248
  customer_items: z.ZodArray<z.ZodAny, "many">;
2189
2249
  taxes: z.ZodArray<z.ZodAny, "many">;
@@ -83,6 +83,7 @@ const SupplierItems = zod_1.z
83
83
  docstatus: zod_1.z.number(),
84
84
  doctype: zod_1.z.string(),
85
85
  supplier: zod_1.z.string(),
86
+ supplier_part_no: zod_1.z.string().optional().nullable(),
86
87
  })
87
88
  .describe("Supplier Items");
88
89
  exports.Item = zod_1.z
@@ -117,8 +118,16 @@ exports.Item = zod_1.z
117
118
  over_billing_allowance: zod_1.z.number(),
118
119
  custom_is_shipping_enabled: zod_1.z.number(),
119
120
  shipping_template: zod_1.z.string().optional().nullable(),
120
- shipping_width: zod_1.z.number().optional().nullable(),
121
+ length: zod_1.z.number().optional().nullable(),
122
+ width: zod_1.z.number().optional().nullable(),
123
+ height: zod_1.z.number().optional().nullable(),
124
+ dimensions_unit: zod_1.z.literal("m").or(zod_1.z.literal("cm")).or(zod_1.z.literal("mm")),
125
+ custom_dimension_format: zod_1.z
126
+ .literal("Length / Width / Height")
127
+ .or(zod_1.z.literal("Width / Depth / Height"))
128
+ .default("Length / Width / Height"),
121
129
  shipping_length: zod_1.z.number().optional().nullable(),
130
+ shipping_width: zod_1.z.number().optional().nullable(),
122
131
  shipping_height: zod_1.z.number().optional().nullable(),
123
132
  shipping_dimensions_unit: zod_1.z
124
133
  .literal("m")
@@ -181,16 +181,16 @@ export declare const GetProjectedQuantity: z.ZodObject<{
181
181
  width: z.ZodNumber;
182
182
  convertible: z.ZodOptional<z.ZodString>;
183
183
  }, "strip", z.ZodTypeAny, {
184
+ width: number;
184
185
  label: string;
185
186
  fieldname: string;
186
- width: number;
187
187
  options?: string | undefined;
188
188
  fieldtype?: string | undefined;
189
189
  convertible?: string | undefined;
190
190
  }, {
191
+ width: number;
191
192
  label: string;
192
193
  fieldname: string;
193
- width: number;
194
194
  options?: string | undefined;
195
195
  fieldtype?: string | undefined;
196
196
  convertible?: string | undefined;
@@ -225,9 +225,9 @@ export declare const GetProjectedQuantity: z.ZodObject<{
225
225
  brand?: string | null | undefined;
226
226
  })[];
227
227
  columns: {
228
+ width: number;
228
229
  label: string;
229
230
  fieldname: string;
230
- width: number;
231
231
  options?: string | undefined;
232
232
  fieldtype?: string | undefined;
233
233
  convertible?: string | undefined;
@@ -262,9 +262,9 @@ export declare const GetProjectedQuantity: z.ZodObject<{
262
262
  brand?: string | null | undefined;
263
263
  })[];
264
264
  columns: {
265
+ width: number;
265
266
  label: string;
266
267
  fieldname: string;
267
- width: number;
268
268
  options?: string | undefined;
269
269
  fieldtype?: string | undefined;
270
270
  convertible?: string | undefined;
@@ -285,10 +285,10 @@ export declare const PurchaseOrder: z.ZodObject<{
285
285
  project?: any;
286
286
  page_break?: number | null | undefined;
287
287
  __unsaved?: number | null | undefined;
288
+ supplier_part_no?: any;
288
289
  is_fixed_asset?: number | null | undefined;
289
290
  last_purchase_rate?: number | null | undefined;
290
291
  delivered_by_supplier?: number | null | undefined;
291
- supplier_part_no?: any;
292
292
  received_qty?: number | null | undefined;
293
293
  include_exploded_items?: number | null | undefined;
294
294
  product_bundle?: any;
@@ -367,10 +367,10 @@ export declare const PurchaseOrder: z.ZodObject<{
367
367
  project?: any;
368
368
  page_break?: number | null | undefined;
369
369
  __unsaved?: number | null | undefined;
370
+ supplier_part_no?: any;
370
371
  is_fixed_asset?: number | null | undefined;
371
372
  last_purchase_rate?: number | null | undefined;
372
373
  delivered_by_supplier?: number | null | undefined;
373
- supplier_part_no?: any;
374
374
  received_qty?: number | null | undefined;
375
375
  include_exploded_items?: number | null | undefined;
376
376
  product_bundle?: any;
@@ -539,10 +539,10 @@ export declare const PurchaseOrder: z.ZodObject<{
539
539
  project?: any;
540
540
  page_break?: number | null | undefined;
541
541
  __unsaved?: number | null | undefined;
542
+ supplier_part_no?: any;
542
543
  is_fixed_asset?: number | null | undefined;
543
544
  last_purchase_rate?: number | null | undefined;
544
545
  delivered_by_supplier?: number | null | undefined;
545
- supplier_part_no?: any;
546
546
  received_qty?: number | null | undefined;
547
547
  include_exploded_items?: number | null | undefined;
548
548
  product_bundle?: any;
@@ -754,10 +754,10 @@ export declare const PurchaseOrder: z.ZodObject<{
754
754
  project?: any;
755
755
  page_break?: number | null | undefined;
756
756
  __unsaved?: number | null | undefined;
757
+ supplier_part_no?: any;
757
758
  is_fixed_asset?: number | null | undefined;
758
759
  last_purchase_rate?: number | null | undefined;
759
760
  delivered_by_supplier?: number | null | undefined;
760
- supplier_part_no?: any;
761
761
  received_qty?: number | null | undefined;
762
762
  include_exploded_items?: number | null | undefined;
763
763
  product_bundle?: any;
@@ -252,11 +252,11 @@ export declare const PurchaseReceipt: z.ZodObject<{
252
252
  project?: any;
253
253
  page_break?: number | null | undefined;
254
254
  __unsaved?: number | null | undefined;
255
+ supplier_part_no?: any;
255
256
  valuation_rate?: number | null | undefined;
256
257
  is_fixed_asset?: number | null | undefined;
257
258
  retain_sample?: number | null | undefined;
258
259
  sample_quantity?: number | null | undefined;
259
- supplier_part_no?: any;
260
260
  rejected_qty?: number | null | undefined;
261
261
  item_tax_amount?: number | null | undefined;
262
262
  landed_cost_voucher_amount?: number | null | undefined;
@@ -344,11 +344,11 @@ export declare const PurchaseReceipt: z.ZodObject<{
344
344
  project?: any;
345
345
  page_break?: number | null | undefined;
346
346
  __unsaved?: number | null | undefined;
347
+ supplier_part_no?: any;
347
348
  valuation_rate?: number | null | undefined;
348
349
  is_fixed_asset?: number | null | undefined;
349
350
  retain_sample?: number | null | undefined;
350
351
  sample_quantity?: number | null | undefined;
351
- supplier_part_no?: any;
352
352
  rejected_qty?: number | null | undefined;
353
353
  item_tax_amount?: number | null | undefined;
354
354
  landed_cost_voucher_amount?: number | null | undefined;
@@ -462,11 +462,11 @@ export declare const PurchaseReceipt: z.ZodObject<{
462
462
  project?: any;
463
463
  page_break?: number | null | undefined;
464
464
  __unsaved?: number | null | undefined;
465
+ supplier_part_no?: any;
465
466
  valuation_rate?: number | null | undefined;
466
467
  is_fixed_asset?: number | null | undefined;
467
468
  retain_sample?: number | null | undefined;
468
469
  sample_quantity?: number | null | undefined;
469
- supplier_part_no?: any;
470
470
  rejected_qty?: number | null | undefined;
471
471
  item_tax_amount?: number | null | undefined;
472
472
  landed_cost_voucher_amount?: number | null | undefined;
@@ -661,11 +661,11 @@ export declare const PurchaseReceipt: z.ZodObject<{
661
661
  project?: any;
662
662
  page_break?: number | null | undefined;
663
663
  __unsaved?: number | null | undefined;
664
+ supplier_part_no?: any;
664
665
  valuation_rate?: number | null | undefined;
665
666
  is_fixed_asset?: number | null | undefined;
666
667
  retain_sample?: number | null | undefined;
667
668
  sample_quantity?: number | null | undefined;
668
- supplier_part_no?: any;
669
669
  rejected_qty?: number | null | undefined;
670
670
  item_tax_amount?: number | null | undefined;
671
671
  landed_cost_voucher_amount?: number | null | undefined;
@@ -18,15 +18,15 @@ export declare const ReportColumn: z.ZodObject<{
18
18
  label: string;
19
19
  fieldname: string;
20
20
  options?: string | null | undefined;
21
- fieldtype?: string | null | undefined;
22
21
  width?: number | null | undefined;
22
+ fieldtype?: string | null | undefined;
23
23
  convertible?: string | null | undefined;
24
24
  }, {
25
25
  label: string;
26
26
  fieldname: string;
27
27
  options?: string | null | undefined;
28
- fieldtype?: string | null | undefined;
29
28
  width?: number | null | undefined;
29
+ fieldtype?: string | null | undefined;
30
30
  convertible?: string | null | undefined;
31
31
  }>;
32
32
  export type ReportColumnType = z.infer<typeof ReportColumn>;
@@ -43,15 +43,15 @@ export declare const Report: <RModel extends ZodTypeAny>(reportRowModel: RModel)
43
43
  label: string;
44
44
  fieldname: string;
45
45
  options?: string | null | undefined;
46
- fieldtype?: string | null | undefined;
47
46
  width?: number | null | undefined;
47
+ fieldtype?: string | null | undefined;
48
48
  convertible?: string | null | undefined;
49
49
  }, {
50
50
  label: string;
51
51
  fieldname: string;
52
52
  options?: string | null | undefined;
53
- fieldtype?: string | null | undefined;
54
53
  width?: number | null | undefined;
54
+ fieldtype?: string | null | undefined;
55
55
  convertible?: string | null | undefined;
56
56
  }>, "many">;
57
57
  execution_time: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
@@ -117,8 +117,8 @@ export declare const Report: <RModel extends ZodTypeAny>(reportRowModel: RModel)
117
117
  label: string;
118
118
  fieldname: string;
119
119
  options?: string | null | undefined;
120
- fieldtype?: string | null | undefined;
121
120
  width?: number | null | undefined;
121
+ fieldtype?: string | null | undefined;
122
122
  convertible?: string | null | undefined;
123
123
  }[];
124
124
  skip_total_row: boolean;
@@ -152,8 +152,8 @@ export declare const Report: <RModel extends ZodTypeAny>(reportRowModel: RModel)
152
152
  label: string;
153
153
  fieldname: string;
154
154
  options?: string | null | undefined;
155
- fieldtype?: string | null | undefined;
156
155
  width?: number | null | undefined;
156
+ fieldtype?: string | null | undefined;
157
157
  convertible?: string | null | undefined;
158
158
  }[];
159
159
  add_total_row: boolean;
@@ -88,15 +88,15 @@ export declare const StockBalanceReport: z.ZodObject<{
88
88
  label: string;
89
89
  fieldname: string;
90
90
  options?: string | null | undefined;
91
- fieldtype?: string | null | undefined;
92
91
  width?: number | null | undefined;
92
+ fieldtype?: string | null | undefined;
93
93
  convertible?: string | null | undefined;
94
94
  }, {
95
95
  label: string;
96
96
  fieldname: string;
97
97
  options?: string | null | undefined;
98
- fieldtype?: string | null | undefined;
99
98
  width?: number | null | undefined;
99
+ fieldtype?: string | null | undefined;
100
100
  convertible?: string | null | undefined;
101
101
  }>, "many">;
102
102
  result: z.ZodArray<z.ZodUnion<[z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">, z.ZodObject<{
@@ -245,8 +245,8 @@ export declare const StockBalanceReport: z.ZodObject<{
245
245
  label: string;
246
246
  fieldname: string;
247
247
  options?: string | null | undefined;
248
- fieldtype?: string | null | undefined;
249
248
  width?: number | null | undefined;
249
+ fieldtype?: string | null | undefined;
250
250
  convertible?: string | null | undefined;
251
251
  }[];
252
252
  add_total_row: boolean;
@@ -296,8 +296,8 @@ export declare const StockBalanceReport: z.ZodObject<{
296
296
  label: string;
297
297
  fieldname: string;
298
298
  options?: string | null | undefined;
299
- fieldtype?: string | null | undefined;
300
299
  width?: number | null | undefined;
300
+ fieldtype?: string | null | undefined;
301
301
  convertible?: string | null | undefined;
302
302
  }[];
303
303
  add_total_row: boolean;
@@ -458,15 +458,15 @@ export declare const StockProjectedQuantityReport: z.ZodObject<{
458
458
  label: string;
459
459
  fieldname: string;
460
460
  options?: string | null | undefined;
461
- fieldtype?: string | null | undefined;
462
461
  width?: number | null | undefined;
462
+ fieldtype?: string | null | undefined;
463
463
  convertible?: string | null | undefined;
464
464
  }, {
465
465
  label: string;
466
466
  fieldname: string;
467
467
  options?: string | null | undefined;
468
- fieldtype?: string | null | undefined;
469
468
  width?: number | null | undefined;
469
+ fieldtype?: string | null | undefined;
470
470
  convertible?: string | null | undefined;
471
471
  }>]>, "many">;
472
472
  message: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -502,8 +502,8 @@ export declare const StockProjectedQuantityReport: z.ZodObject<{
502
502
  label: string;
503
503
  fieldname: string;
504
504
  options?: string | null | undefined;
505
- fieldtype?: string | null | undefined;
506
505
  width?: number | null | undefined;
506
+ fieldtype?: string | null | undefined;
507
507
  convertible?: string | null | undefined;
508
508
  })[];
509
509
  skip_total_row: number;
@@ -539,8 +539,8 @@ export declare const StockProjectedQuantityReport: z.ZodObject<{
539
539
  label: string;
540
540
  fieldname: string;
541
541
  options?: string | null | undefined;
542
- fieldtype?: string | null | undefined;
543
542
  width?: number | null | undefined;
543
+ fieldtype?: string | null | undefined;
544
544
  convertible?: string | null | undefined;
545
545
  })[];
546
546
  skip_total_row: number;
package/package.json CHANGED
@@ -25,7 +25,7 @@
25
25
  "winston": "^3.15.0",
26
26
  "zod": "3.24.1"
27
27
  },
28
- "version": "1.12.0",
28
+ "version": "1.12.2",
29
29
  "devDependencies": {
30
30
  "@types/crypto-js": "^4.2.2",
31
31
  "@types/lodash": "^4.17.13",