erpnext-queue-client 1.12.1 → 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";
@@ -165,12 +167,15 @@ export declare class ERPNextItem {
165
167
  docstatus: number;
166
168
  certification: string;
167
169
  }[];
170
+ length?: number | null | undefined;
168
171
  image?: string | null | undefined;
169
172
  warehouse_category?: string | null | undefined;
170
173
  ean?: string | null | undefined;
171
174
  shipping_template?: string | null | undefined;
172
- shipping_width?: number | null | undefined;
175
+ width?: number | null | undefined;
176
+ height?: number | null | undefined;
173
177
  shipping_length?: number | null | undefined;
178
+ shipping_width?: number | null | undefined;
174
179
  shipping_height?: number | null | undefined;
175
180
  packaging_weight_cardboard?: number | null | undefined;
176
181
  packaging_weight_plastic?: number | null | undefined;
@@ -221,6 +226,8 @@ export declare class ERPNextItem {
221
226
  over_delivery_receipt_allowance: number;
222
227
  over_billing_allowance: number;
223
228
  custom_is_shipping_enabled: number;
229
+ dimensions_unit: "m" | "cm" | "mm";
230
+ custom_dimension_format: "Length / Width / Height" | "Width / Depth / Height";
224
231
  shipping_dimensions_unit: "m" | "cm" | "mm";
225
232
  packaging_weight_unit_cardboard: "kg" | "g" | "mg";
226
233
  packaging_weight_unit_plastic: "kg" | "g" | "mg";
@@ -337,12 +344,15 @@ export declare class ERPNextItem {
337
344
  docstatus: number;
338
345
  certification: string;
339
346
  }[];
347
+ length?: number | null | undefined;
340
348
  image?: string | null | undefined;
341
349
  warehouse_category?: string | null | undefined;
342
350
  ean?: string | null | undefined;
343
351
  shipping_template?: string | null | undefined;
344
- shipping_width?: number | null | undefined;
352
+ width?: number | null | undefined;
353
+ height?: number | null | undefined;
345
354
  shipping_length?: number | null | undefined;
355
+ shipping_width?: number | null | undefined;
346
356
  shipping_height?: number | null | undefined;
347
357
  packaging_weight_cardboard?: number | null | undefined;
348
358
  packaging_weight_plastic?: number | null | undefined;
@@ -390,6 +400,8 @@ export declare class ERPNextItem {
390
400
  over_delivery_receipt_allowance: number;
391
401
  over_billing_allowance: number;
392
402
  custom_is_shipping_enabled: number;
403
+ dimensions_unit: "m" | "cm" | "mm";
404
+ custom_dimension_format: "Length / Width / Height" | "Width / Depth / Height";
393
405
  shipping_dimensions_unit: "m" | "cm" | "mm";
394
406
  packaging_weight_unit_cardboard: "kg" | "g" | "mg";
395
407
  packaging_weight_unit_plastic: "kg" | "g" | "mg";
@@ -506,12 +518,15 @@ export declare class ERPNextItem {
506
518
  docstatus: number;
507
519
  certification: string;
508
520
  }[];
521
+ length?: number | null | undefined;
509
522
  image?: string | null | undefined;
510
523
  warehouse_category?: string | null | undefined;
511
524
  ean?: string | null | undefined;
512
525
  shipping_template?: string | null | undefined;
513
- shipping_width?: number | null | undefined;
526
+ width?: number | null | undefined;
527
+ height?: number | null | undefined;
514
528
  shipping_length?: number | null | undefined;
529
+ shipping_width?: number | null | undefined;
515
530
  shipping_height?: number | null | undefined;
516
531
  packaging_weight_cardboard?: number | null | undefined;
517
532
  packaging_weight_plastic?: number | null | undefined;
@@ -563,6 +578,8 @@ export declare class ERPNextItem {
563
578
  over_delivery_receipt_allowance: number;
564
579
  over_billing_allowance: number;
565
580
  custom_is_shipping_enabled: number;
581
+ dimensions_unit: "m" | "cm" | "mm";
582
+ custom_dimension_format: "Length / Width / Height" | "Width / Depth / Height";
566
583
  shipping_dimensions_unit: "m" | "cm" | "mm";
567
584
  packaging_weight_unit_cardboard: "kg" | "g" | "mg";
568
585
  packaging_weight_unit_plastic: "kg" | "g" | "mg";
@@ -679,12 +696,15 @@ export declare class ERPNextItem {
679
696
  docstatus: number;
680
697
  certification: string;
681
698
  }[];
699
+ length?: number | null | undefined;
682
700
  image?: string | null | undefined;
683
701
  warehouse_category?: string | null | undefined;
684
702
  ean?: string | null | undefined;
685
703
  shipping_template?: string | null | undefined;
686
- shipping_width?: number | null | undefined;
704
+ width?: number | null | undefined;
705
+ height?: number | null | undefined;
687
706
  shipping_length?: number | null | undefined;
707
+ shipping_width?: number | null | undefined;
688
708
  shipping_height?: number | null | undefined;
689
709
  packaging_weight_cardboard?: number | null | undefined;
690
710
  packaging_weight_plastic?: number | null | undefined;
@@ -736,6 +756,8 @@ export declare class ERPNextItem {
736
756
  over_delivery_receipt_allowance: number;
737
757
  over_billing_allowance: number;
738
758
  custom_is_shipping_enabled: number;
759
+ dimensions_unit: "m" | "cm" | "mm";
760
+ custom_dimension_format: "Length / Width / Height" | "Width / Depth / Height";
739
761
  shipping_dimensions_unit: "m" | "cm" | "mm";
740
762
  packaging_weight_unit_cardboard: "kg" | "g" | "mg";
741
763
  packaging_weight_unit_plastic: "kg" | "g" | "mg";
@@ -852,12 +874,15 @@ export declare class ERPNextItem {
852
874
  docstatus: number;
853
875
  certification: string;
854
876
  }[];
877
+ length?: number | null | undefined;
855
878
  image?: string | null | undefined;
856
879
  warehouse_category?: string | null | undefined;
857
880
  ean?: string | null | undefined;
858
881
  shipping_template?: string | null | undefined;
859
- shipping_width?: number | null | undefined;
882
+ width?: number | null | undefined;
883
+ height?: number | null | undefined;
860
884
  shipping_length?: number | null | undefined;
885
+ shipping_width?: number | null | undefined;
861
886
  shipping_height?: number | null | undefined;
862
887
  packaging_weight_cardboard?: number | null | undefined;
863
888
  packaging_weight_plastic?: number | null | undefined;
@@ -909,6 +934,8 @@ export declare class ERPNextItem {
909
934
  over_delivery_receipt_allowance: number;
910
935
  over_billing_allowance: number;
911
936
  custom_is_shipping_enabled: number;
937
+ dimensions_unit: "m" | "cm" | "mm";
938
+ custom_dimension_format: "Length / Width / Height" | "Width / Depth / Height";
912
939
  shipping_dimensions_unit: "m" | "cm" | "mm";
913
940
  packaging_weight_unit_cardboard: "kg" | "g" | "mg";
914
941
  packaging_weight_unit_plastic: "kg" | "g" | "mg";
@@ -1025,12 +1052,15 @@ export declare class ERPNextItem {
1025
1052
  docstatus: number;
1026
1053
  certification: string;
1027
1054
  }[];
1055
+ length?: number | null | undefined;
1028
1056
  image?: string | null | undefined;
1029
1057
  warehouse_category?: string | null | undefined;
1030
1058
  ean?: string | null | undefined;
1031
1059
  shipping_template?: string | null | undefined;
1032
- shipping_width?: number | null | undefined;
1060
+ width?: number | null | undefined;
1061
+ height?: number | null | undefined;
1033
1062
  shipping_length?: number | null | undefined;
1063
+ shipping_width?: number | null | undefined;
1034
1064
  shipping_height?: number | null | undefined;
1035
1065
  packaging_weight_cardboard?: number | null | undefined;
1036
1066
  packaging_weight_plastic?: 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>>;
@@ -338,6 +343,8 @@ export declare const Item: z.ZodObject<{
338
343
  over_delivery_receipt_allowance: number;
339
344
  over_billing_allowance: number;
340
345
  custom_is_shipping_enabled: number;
346
+ dimensions_unit: "m" | "cm" | "mm";
347
+ custom_dimension_format: "Length / Width / Height" | "Width / Depth / Height";
341
348
  shipping_dimensions_unit: "m" | "cm" | "mm";
342
349
  packaging_weight_unit_cardboard: "kg" | "g" | "mg";
343
350
  packaging_weight_unit_plastic: "kg" | "g" | "mg";
@@ -454,12 +461,15 @@ export declare const Item: z.ZodObject<{
454
461
  docstatus: number;
455
462
  certification: string;
456
463
  }[];
464
+ length?: number | null | undefined;
457
465
  image?: string | null | undefined;
458
466
  warehouse_category?: string | null | undefined;
459
467
  ean?: string | null | undefined;
460
468
  shipping_template?: string | null | undefined;
461
- shipping_width?: number | null | undefined;
469
+ width?: number | null | undefined;
470
+ height?: number | null | undefined;
462
471
  shipping_length?: number | null | undefined;
472
+ shipping_width?: number | null | undefined;
463
473
  shipping_height?: number | null | undefined;
464
474
  packaging_weight_cardboard?: number | null | undefined;
465
475
  packaging_weight_plastic?: number | null | undefined;
@@ -506,6 +516,7 @@ export declare const Item: z.ZodObject<{
506
516
  over_delivery_receipt_allowance: number;
507
517
  over_billing_allowance: number;
508
518
  custom_is_shipping_enabled: number;
519
+ dimensions_unit: "m" | "cm" | "mm";
509
520
  shipping_dimensions_unit: "m" | "cm" | "mm";
510
521
  packaging_weight_unit_cardboard: "kg" | "g" | "mg";
511
522
  packaging_weight_unit_plastic: "kg" | "g" | "mg";
@@ -622,12 +633,16 @@ export declare const Item: z.ZodObject<{
622
633
  docstatus: number;
623
634
  certification: string;
624
635
  }[];
636
+ length?: number | null | undefined;
625
637
  image?: string | null | undefined;
626
638
  warehouse_category?: string | null | undefined;
627
639
  ean?: string | null | undefined;
628
640
  shipping_template?: string | null | undefined;
629
- 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;
630
644
  shipping_length?: number | null | undefined;
645
+ shipping_width?: number | null | undefined;
631
646
  shipping_height?: number | null | undefined;
632
647
  packaging_weight_cardboard?: number | null | undefined;
633
648
  packaging_weight_plastic?: number | null | undefined;
@@ -674,8 +689,13 @@ export declare const ItemListWithShippingTemplate: z.ZodArray<z.ZodObject<Pick<O
674
689
  over_billing_allowance: z.ZodNumber;
675
690
  custom_is_shipping_enabled: z.ZodNumber;
676
691
  shipping_template: z.ZodNullable<z.ZodOptional<z.ZodString>>;
677
- 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">]>>;
678
697
  shipping_length: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
698
+ shipping_width: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
679
699
  shipping_height: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
680
700
  shipping_dimensions_unit: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"m">, z.ZodLiteral<"cm">]>, z.ZodLiteral<"mm">]>;
681
701
  packaging_weight_cardboard: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
@@ -949,7 +969,7 @@ export declare const ItemListWithShippingTemplate: z.ZodArray<z.ZodObject<Pick<O
949
969
  docstatus: number;
950
970
  certification: string;
951
971
  }>, "many">;
952
- }, "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, {
953
973
  disabled: number;
954
974
  item_code: string;
955
975
  item_name: string;
@@ -960,8 +980,8 @@ export declare const ItemListWithShippingTemplate: z.ZodArray<z.ZodObject<Pick<O
960
980
  warehouse_category?: string | null | undefined;
961
981
  ean?: string | null | undefined;
962
982
  shipping_template?: string | null | undefined;
963
- shipping_width?: number | null | undefined;
964
983
  shipping_length?: number | null | undefined;
984
+ shipping_width?: number | null | undefined;
965
985
  shipping_height?: number | null | undefined;
966
986
  }, {
967
987
  disabled: number;
@@ -974,8 +994,8 @@ export declare const ItemListWithShippingTemplate: z.ZodArray<z.ZodObject<Pick<O
974
994
  warehouse_category?: string | null | undefined;
975
995
  ean?: string | null | undefined;
976
996
  shipping_template?: string | null | undefined;
977
- shipping_width?: number | null | undefined;
978
997
  shipping_length?: number | null | undefined;
998
+ shipping_width?: number | null | undefined;
979
999
  shipping_height?: number | null | undefined;
980
1000
  }>, "many">;
981
1001
  export type ItemListWithShippingTemplateType = z.infer<typeof ItemListWithShippingTemplate>;
@@ -1010,8 +1030,13 @@ export declare const ItemListWithShippingTemplateSku: z.ZodArray<z.ZodObject<z.o
1010
1030
  over_billing_allowance: z.ZodNumber;
1011
1031
  custom_is_shipping_enabled: z.ZodNumber;
1012
1032
  shipping_template: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1013
- 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">]>>;
1014
1038
  shipping_length: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1039
+ shipping_width: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1015
1040
  shipping_height: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1016
1041
  shipping_dimensions_unit: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"m">, z.ZodLiteral<"cm">]>, z.ZodLiteral<"mm">]>;
1017
1042
  packaging_weight_cardboard: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
@@ -1285,7 +1310,7 @@ export declare const ItemListWithShippingTemplateSku: z.ZodArray<z.ZodObject<z.o
1285
1310
  docstatus: number;
1286
1311
  certification: string;
1287
1312
  }>, "many">;
1288
- }, "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">, {
1289
1314
  sku: z.ZodString;
1290
1315
  }>, "strip", z.ZodTypeAny, {
1291
1316
  disabled: number;
@@ -1298,8 +1323,8 @@ export declare const ItemListWithShippingTemplateSku: z.ZodArray<z.ZodObject<z.o
1298
1323
  warehouse_category?: string | null | undefined;
1299
1324
  ean?: string | null | undefined;
1300
1325
  shipping_template?: string | null | undefined;
1301
- shipping_width?: number | null | undefined;
1302
1326
  shipping_length?: number | null | undefined;
1327
+ shipping_width?: number | null | undefined;
1303
1328
  shipping_height?: number | null | undefined;
1304
1329
  }, {
1305
1330
  disabled: number;
@@ -1312,8 +1337,8 @@ export declare const ItemListWithShippingTemplateSku: z.ZodArray<z.ZodObject<z.o
1312
1337
  warehouse_category?: string | null | undefined;
1313
1338
  ean?: string | null | undefined;
1314
1339
  shipping_template?: string | null | undefined;
1315
- shipping_width?: number | null | undefined;
1316
1340
  shipping_length?: number | null | undefined;
1341
+ shipping_width?: number | null | undefined;
1317
1342
  shipping_height?: number | null | undefined;
1318
1343
  }>, "many">;
1319
1344
  export type ItemListWithShippingTemplateSkuType = z.infer<typeof ItemListWithShippingTemplateSku>;
@@ -1349,8 +1374,13 @@ declare const ItemDimensionsInfo: z.ZodObject<Pick<Omit<{
1349
1374
  over_billing_allowance: z.ZodNumber;
1350
1375
  custom_is_shipping_enabled: z.ZodNumber;
1351
1376
  shipping_template: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1352
- 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">]>>;
1353
1382
  shipping_length: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1383
+ shipping_width: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1354
1384
  shipping_height: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1355
1385
  shipping_dimensions_unit: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"m">, z.ZodLiteral<"cm">]>, z.ZodLiteral<"mm">]>;
1356
1386
  packaging_weight_cardboard: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
@@ -1624,15 +1654,15 @@ declare const ItemDimensionsInfo: z.ZodObject<Pick<Omit<{
1624
1654
  docstatus: number;
1625
1655
  certification: string;
1626
1656
  }>, "many">;
1627
- }, "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, {
1628
1658
  shipping_dimensions_unit: "m" | "cm" | "mm";
1629
- shipping_width?: number | null | undefined;
1630
1659
  shipping_length?: number | null | undefined;
1660
+ shipping_width?: number | null | undefined;
1631
1661
  shipping_height?: number | null | undefined;
1632
1662
  }, {
1633
1663
  shipping_dimensions_unit: "m" | "cm" | "mm";
1634
- shipping_width?: number | null | undefined;
1635
1664
  shipping_length?: number | null | undefined;
1665
+ shipping_width?: number | null | undefined;
1636
1666
  shipping_height?: number | null | undefined;
1637
1667
  }>;
1638
1668
  export type ItemDimensionsInfoType = z.infer<typeof ItemDimensionsInfo>;
@@ -1667,8 +1697,13 @@ export declare const ItemListName: z.ZodArray<z.ZodObject<Pick<Omit<{
1667
1697
  over_billing_allowance: z.ZodNumber;
1668
1698
  custom_is_shipping_enabled: z.ZodNumber;
1669
1699
  shipping_template: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1670
- 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">]>>;
1671
1705
  shipping_length: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1706
+ shipping_width: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1672
1707
  shipping_height: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1673
1708
  shipping_dimensions_unit: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"m">, z.ZodLiteral<"cm">]>, z.ZodLiteral<"mm">]>;
1674
1709
  packaging_weight_cardboard: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
@@ -1979,8 +2014,13 @@ export declare const ItemList: z.ZodArray<z.ZodObject<Pick<Omit<{
1979
2014
  over_billing_allowance: z.ZodNumber;
1980
2015
  custom_is_shipping_enabled: z.ZodNumber;
1981
2016
  shipping_template: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1982
- 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">]>>;
1983
2022
  shipping_length: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
2023
+ shipping_width: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1984
2024
  shipping_height: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1985
2025
  shipping_dimensions_unit: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"m">, z.ZodLiteral<"cm">]>, z.ZodLiteral<"mm">]>;
1986
2026
  packaging_weight_cardboard: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
@@ -118,8 +118,16 @@ exports.Item = zod_1.z
118
118
  over_billing_allowance: zod_1.z.number(),
119
119
  custom_is_shipping_enabled: zod_1.z.number(),
120
120
  shipping_template: zod_1.z.string().optional().nullable(),
121
- 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"),
122
129
  shipping_length: zod_1.z.number().optional().nullable(),
130
+ shipping_width: zod_1.z.number().optional().nullable(),
123
131
  shipping_height: zod_1.z.number().optional().nullable(),
124
132
  shipping_dimensions_unit: zod_1.z
125
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;
@@ -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.1",
28
+ "version": "1.12.2",
29
29
  "devDependencies": {
30
30
  "@types/crypto-js": "^4.2.2",
31
31
  "@types/lodash": "^4.17.13",