erpnext-queue-client 1.25.1 → 1.25.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" | "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" | "custom_oversell_amount") | ("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, }?: {
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" | "custom_oversell_amount") | ("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" | "custom_serviceportal_configuration"), 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;
@@ -190,6 +190,7 @@ export declare class ERPNextItem {
190
190
  custom_sales_category?: string | null | undefined;
191
191
  custom_shopify_content_configuration?: string | null | undefined;
192
192
  custom_compliance?: string | null | undefined;
193
+ custom_serviceportal_configuration?: string | null | undefined;
193
194
  }, TField>[]>;
194
195
  getById: ({ resourceId, priority, }: {
195
196
  resourceId: string;
@@ -368,6 +369,7 @@ export declare class ERPNextItem {
368
369
  custom_sales_category?: string | null | undefined;
369
370
  custom_shopify_content_configuration?: string | null | undefined;
370
371
  custom_compliance?: string | null | undefined;
372
+ custom_serviceportal_configuration?: string | null | undefined;
371
373
  }>;
372
374
  updateById: <TInput extends TInputModel extends undefined ? Partial<{
373
375
  description: string;
@@ -543,6 +545,7 @@ export declare class ERPNextItem {
543
545
  custom_sales_category?: string | null | undefined;
544
546
  custom_shopify_content_configuration?: string | null | undefined;
545
547
  custom_compliance?: string | null | undefined;
548
+ custom_serviceportal_configuration?: string | null | undefined;
546
549
  }> : TInputModel extends z.ZodTypeAny ? z.TypeOf<TInputModel> : any, TInputModel extends z.ZodTypeAny | undefined = undefined>({ resourceId, inputValidationModel, body, priority, }: {
547
550
  resourceId: string;
548
551
  inputValidationModel?: TInputModel;
@@ -722,6 +725,7 @@ export declare class ERPNextItem {
722
725
  custom_sales_category?: string | null | undefined;
723
726
  custom_shopify_content_configuration?: string | null | undefined;
724
727
  custom_compliance?: string | null | undefined;
728
+ custom_serviceportal_configuration?: string | null | undefined;
725
729
  }>;
726
730
  deleteById: ({ resourceId, priority, }: {
727
731
  resourceId: string;
@@ -901,6 +905,7 @@ export declare class ERPNextItem {
901
905
  custom_sales_category?: string | null | undefined;
902
906
  custom_shopify_content_configuration?: string | null | undefined;
903
907
  custom_compliance?: string | null | undefined;
908
+ custom_serviceportal_configuration?: string | null | undefined;
904
909
  }> : TInputModel extends z.ZodTypeAny ? z.TypeOf<TInputModel> : any, TInputModel extends z.ZodTypeAny | undefined = undefined>({ inputValidationModel, body, params, priority, }: {
905
910
  inputValidationModel?: TInputModel;
906
911
  body: TInput;
@@ -1080,6 +1085,7 @@ export declare class ERPNextItem {
1080
1085
  custom_sales_category?: string | null | undefined;
1081
1086
  custom_shopify_content_configuration?: string | null | undefined;
1082
1087
  custom_compliance?: string | null | undefined;
1088
+ custom_serviceportal_configuration?: string | null | undefined;
1083
1089
  }>;
1084
1090
  constructor(temporalClient: TemporalClient);
1085
1091
  getNoneStockItems(params?: Record<string, string>): Promise<string[]>;
@@ -311,6 +311,7 @@ export declare const Item: z.ZodObject<{
311
311
  certification: string;
312
312
  }>, "many">;
313
313
  custom_oversell_amount: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>;
314
+ custom_serviceportal_configuration: z.ZodNullable<z.ZodOptional<z.ZodString>>;
314
315
  }, "strip", z.ZodTypeAny, {
315
316
  description: string;
316
317
  name: string;
@@ -485,6 +486,7 @@ export declare const Item: z.ZodObject<{
485
486
  custom_sales_category?: string | null | undefined;
486
487
  custom_shopify_content_configuration?: string | null | undefined;
487
488
  custom_compliance?: string | null | undefined;
489
+ custom_serviceportal_configuration?: string | null | undefined;
488
490
  }, {
489
491
  description: string;
490
492
  name: string;
@@ -659,6 +661,7 @@ export declare const Item: z.ZodObject<{
659
661
  custom_shopify_content_configuration?: string | null | undefined;
660
662
  custom_compliance?: string | null | undefined;
661
663
  custom_oversell_amount?: number | null | undefined;
664
+ custom_serviceportal_configuration?: string | null | undefined;
662
665
  }>;
663
666
  export type ItemType = z.infer<typeof Item>;
664
667
  export declare const ItemListWithShippingTemplate: z.ZodArray<z.ZodObject<Pick<Omit<{
@@ -973,6 +976,7 @@ export declare const ItemListWithShippingTemplate: z.ZodArray<z.ZodObject<Pick<O
973
976
  certification: string;
974
977
  }>, "many">;
975
978
  custom_oversell_amount: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>;
979
+ custom_serviceportal_configuration: z.ZodNullable<z.ZodOptional<z.ZodString>>;
976
980
  }, "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, {
977
981
  disabled: number;
978
982
  item_code: string;
@@ -1315,6 +1319,7 @@ export declare const ItemListWithShippingTemplateSku: z.ZodArray<z.ZodObject<Pic
1315
1319
  certification: string;
1316
1320
  }>, "many">;
1317
1321
  custom_oversell_amount: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>;
1322
+ custom_serviceportal_configuration: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1318
1323
  }, "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"> & {
1319
1324
  sku: z.ZodString;
1320
1325
  }, "strip", z.ZodTypeAny, {
@@ -1660,6 +1665,7 @@ declare const ItemDimensionsInfo: z.ZodObject<Pick<Omit<{
1660
1665
  certification: string;
1661
1666
  }>, "many">;
1662
1667
  custom_oversell_amount: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>;
1668
+ custom_serviceportal_configuration: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1663
1669
  }, "barcodes" | "reorder_levels" | "uoms" | "attributes" | "item_defaults" | "supplier_items" | "customer_items">, "shipping_length" | "shipping_width" | "shipping_height" | "shipping_dimensions_unit">, "strip", z.ZodTypeAny, {
1664
1670
  shipping_dimensions_unit: "m" | "cm" | "mm";
1665
1671
  shipping_length?: number | null | undefined;
@@ -1984,6 +1990,7 @@ export declare const ItemListName: z.ZodArray<z.ZodObject<Pick<Omit<{
1984
1990
  certification: string;
1985
1991
  }>, "many">;
1986
1992
  custom_oversell_amount: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>;
1993
+ custom_serviceportal_configuration: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1987
1994
  }, "barcodes" | "reorder_levels" | "uoms" | "attributes" | "item_defaults" | "supplier_items" | "customer_items">, "item_code">, "strip", z.ZodTypeAny, {
1988
1995
  item_code: string;
1989
1996
  }, {
@@ -2302,6 +2309,7 @@ export declare const ItemList: z.ZodArray<z.ZodObject<Pick<Omit<{
2302
2309
  certification: string;
2303
2310
  }>, "many">;
2304
2311
  custom_oversell_amount: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>;
2312
+ custom_serviceportal_configuration: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2305
2313
  }, "barcodes" | "reorder_levels" | "uoms" | "attributes" | "item_defaults" | "supplier_items" | "customer_items">, "item_code" | "item_name" | "weight_per_unit" | "weight_uom">, "strip", z.ZodTypeAny, {
2306
2314
  item_code: string;
2307
2315
  item_name: string;
@@ -204,6 +204,7 @@ exports.Item = zod_1.z
204
204
  custom_compliance: zod_1.z.string().optional().nullable(),
205
205
  custom_certifications: zod_1.z.array(ItemCertification),
206
206
  custom_oversell_amount: zod_1.z.number().optional().nullable().default(0),
207
+ custom_serviceportal_configuration: zod_1.z.string().optional().nullable(),
207
208
  })
208
209
  .describe("Item");
209
210
  const ItemListModel = exports.Item.omit({
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.25.1",
28
+ "version": "1.25.2",
29
29
  "devDependencies": {
30
30
  "@types/crypto-js": "^4.2.2",
31
31
  "@types/lodash": "^4.17.13",