erpnext-queue-client 1.25.0 → 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[]>;
@@ -9,7 +9,7 @@ export declare class ERPNextServicecase {
9
9
  protected attachmentCollectionRequest: ERPNextDoctypeResourceRequest<typeof AttachmentCollection>;
10
10
  protected internalReasonCollectionRequest: ERPNextDoctypeResourceRequest<typeof InternalReasonCollection>;
11
11
  create: (servicecase: ServicecaseInputType) => Promise<{
12
- status: "EDITING" | "SUBMITTING" | "VALIDATING" | "REJECTED" | "SHIPPING" | "COMPLETED";
12
+ status: "EDITING" | "SUBMITTED" | "COMPLETED";
13
13
  name: string;
14
14
  country: string;
15
15
  owner: string;
@@ -58,7 +58,7 @@ export declare class ERPNextServicecase {
58
58
  asDict?: TAsDict;
59
59
  params?: Record<string, string>;
60
60
  }) => Promise<TAsDict extends false ? string[][] : Pick<{
61
- status: "EDITING" | "SUBMITTING" | "VALIDATING" | "REJECTED" | "SHIPPING" | "COMPLETED";
61
+ status: "EDITING" | "SUBMITTED" | "COMPLETED";
62
62
  name: string;
63
63
  country: string;
64
64
  owner: string;
@@ -102,7 +102,7 @@ export declare class ERPNextServicecase {
102
102
  resourceId: string;
103
103
  priority?: number;
104
104
  }) => Promise<{
105
- status: "EDITING" | "SUBMITTING" | "VALIDATING" | "REJECTED" | "SHIPPING" | "COMPLETED";
105
+ status: "EDITING" | "SUBMITTED" | "COMPLETED";
106
106
  name: string;
107
107
  country: string;
108
108
  owner: string;
@@ -143,7 +143,7 @@ export declare class ERPNextServicecase {
143
143
  agreed_terms?: string | null | undefined;
144
144
  }>;
145
145
  updateById: (resourceId: string, servicecase: ServicecaseInputType) => Promise<{
146
- status: "EDITING" | "SUBMITTING" | "VALIDATING" | "REJECTED" | "SHIPPING" | "COMPLETED";
146
+ status: "EDITING" | "SUBMITTED" | "COMPLETED";
147
147
  name: string;
148
148
  country: string;
149
149
  owner: string;
@@ -189,7 +189,7 @@ export declare class ERPNextServicecase {
189
189
  }) => Promise<z.TypeOf<typeof import("../model/ERPNextResponse").DeleteResponseModel>>;
190
190
  constructor(temporalClient: TemporalClient);
191
191
  createServicecase(servicecase: ServicecaseInputType): Promise<{
192
- status: "EDITING" | "SUBMITTING" | "VALIDATING" | "REJECTED" | "SHIPPING" | "COMPLETED";
192
+ status: "EDITING" | "SUBMITTED" | "COMPLETED";
193
193
  name: string;
194
194
  country: string;
195
195
  owner: string;
@@ -230,7 +230,7 @@ export declare class ERPNextServicecase {
230
230
  agreed_terms?: string | null | undefined;
231
231
  }>;
232
232
  updateServicecase(resourceId: string, servicecase: ServicecaseInputType): Promise<{
233
- status: "EDITING" | "SUBMITTING" | "VALIDATING" | "REJECTED" | "SHIPPING" | "COMPLETED";
233
+ status: "EDITING" | "SUBMITTED" | "COMPLETED";
234
234
  name: string;
235
235
  country: string;
236
236
  owner: string;
@@ -274,7 +274,7 @@ export declare class ERPNextServicecase {
274
274
  email: string;
275
275
  id?: string;
276
276
  }): Promise<{
277
- status: "EDITING" | "SUBMITTING" | "VALIDATING" | "REJECTED" | "SHIPPING" | "COMPLETED";
277
+ status: "EDITING" | "SUBMITTED" | "COMPLETED";
278
278
  name: string;
279
279
  country: string;
280
280
  owner: 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({
@@ -421,7 +421,7 @@ export declare const ServicecaseBase: z.ZodObject<{
421
421
  external_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
422
422
  shop: z.ZodEnum<["Shopify", "Amazon FBA", "Amazon FBM", "Otto"]>;
423
423
  customer_email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
424
- status: z.ZodDefault<z.ZodEnum<["EDITING", "SUBMITTING", "VALIDATING", "REJECTED", "SHIPPING", "COMPLETED"]>>;
424
+ status: z.ZodDefault<z.ZodEnum<["EDITING", "SUBMITTED", "COMPLETED"]>>;
425
425
  complaint_date: z.ZodNullable<z.ZodOptional<z.ZodString>>;
426
426
  is_sent_to_client: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
427
427
  is_sent_to_cc: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
@@ -430,7 +430,7 @@ export declare const ServicecaseBase: z.ZodObject<{
430
430
  created_with: z.ZodDefault<z.ZodEnum<["Serviceportal", "Missive Sidebar", "Amazon FBA", "Amazon FBM"]>>;
431
431
  country: z.ZodString;
432
432
  }, "strip", z.ZodTypeAny, {
433
- status: "EDITING" | "SUBMITTING" | "VALIDATING" | "REJECTED" | "SHIPPING" | "COMPLETED";
433
+ status: "EDITING" | "SUBMITTED" | "COMPLETED";
434
434
  country: string;
435
435
  title: string;
436
436
  order_number: string;
@@ -448,7 +448,7 @@ export declare const ServicecaseBase: z.ZodObject<{
448
448
  title: string;
449
449
  order_number: string;
450
450
  shop: "Shopify" | "Amazon FBA" | "Amazon FBM" | "Otto";
451
- status?: "EDITING" | "SUBMITTING" | "VALIDATING" | "REJECTED" | "SHIPPING" | "COMPLETED" | undefined;
451
+ status?: "EDITING" | "SUBMITTED" | "COMPLETED" | undefined;
452
452
  external_id?: string | null | undefined;
453
453
  customer_email?: string | null | undefined;
454
454
  complaint_date?: string | null | undefined;
@@ -465,7 +465,7 @@ export declare const Servicecase: z.ZodObject<{
465
465
  external_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
466
466
  shop: z.ZodEnum<["Shopify", "Amazon FBA", "Amazon FBM", "Otto"]>;
467
467
  customer_email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
468
- status: z.ZodDefault<z.ZodEnum<["EDITING", "SUBMITTING", "VALIDATING", "REJECTED", "SHIPPING", "COMPLETED"]>>;
468
+ status: z.ZodDefault<z.ZodEnum<["EDITING", "SUBMITTED", "COMPLETED"]>>;
469
469
  complaint_date: z.ZodNullable<z.ZodOptional<z.ZodString>>;
470
470
  customer_message: z.ZodNullable<z.ZodOptional<z.ZodString>>;
471
471
  agreed_terms: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -542,7 +542,7 @@ export declare const Servicecase: z.ZodObject<{
542
542
  is_sent_to_client: z.ZodEffects<z.ZodNumber, boolean, number>;
543
543
  is_sent_to_cc: z.ZodEffects<z.ZodNumber, boolean, number>;
544
544
  }, "strip", z.ZodTypeAny, {
545
- status: "EDITING" | "SUBMITTING" | "VALIDATING" | "REJECTED" | "SHIPPING" | "COMPLETED";
545
+ status: "EDITING" | "SUBMITTED" | "COMPLETED";
546
546
  name: string;
547
547
  country: string;
548
548
  owner: string;
@@ -614,7 +614,7 @@ export declare const Servicecase: z.ZodObject<{
614
614
  complaint_description?: string | null | undefined;
615
615
  return_label?: string | null | undefined;
616
616
  }[];
617
- status?: "EDITING" | "SUBMITTING" | "VALIDATING" | "REJECTED" | "SHIPPING" | "COMPLETED" | undefined;
617
+ status?: "EDITING" | "SUBMITTED" | "COMPLETED" | undefined;
618
618
  external_id?: string | null | undefined;
619
619
  customer_email?: string | null | undefined;
620
620
  complaint_date?: string | null | undefined;
@@ -629,7 +629,7 @@ export declare const ServicecaseInput: z.ZodObject<{
629
629
  external_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
630
630
  shop: z.ZodEnum<["Shopify", "Amazon FBA", "Amazon FBM", "Otto"]>;
631
631
  customer_email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
632
- status: z.ZodDefault<z.ZodEnum<["EDITING", "SUBMITTING", "VALIDATING", "REJECTED", "SHIPPING", "COMPLETED"]>>;
632
+ status: z.ZodDefault<z.ZodEnum<["EDITING", "SUBMITTED", "COMPLETED"]>>;
633
633
  complaint_date: z.ZodNullable<z.ZodOptional<z.ZodString>>;
634
634
  customer_message: z.ZodNullable<z.ZodOptional<z.ZodString>>;
635
635
  agreed_terms: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -683,7 +683,7 @@ export declare const ServicecaseInput: z.ZodObject<{
683
683
  is_sent_to_client: z.ZodEffects<z.ZodNumber, number, unknown>;
684
684
  is_sent_to_cc: z.ZodEffects<z.ZodNumber, number, unknown>;
685
685
  }, "strip", z.ZodTypeAny, {
686
- status: "EDITING" | "SUBMITTING" | "VALIDATING" | "REJECTED" | "SHIPPING" | "COMPLETED";
686
+ status: "EDITING" | "SUBMITTED" | "COMPLETED";
687
687
  country: string;
688
688
  title: string;
689
689
  order_number: string;
@@ -731,7 +731,7 @@ export declare const ServicecaseInput: z.ZodObject<{
731
731
  complaint_description?: string | null | undefined;
732
732
  return_label?: string | null | undefined;
733
733
  }[];
734
- status?: "EDITING" | "SUBMITTING" | "VALIDATING" | "REJECTED" | "SHIPPING" | "COMPLETED" | undefined;
734
+ status?: "EDITING" | "SUBMITTED" | "COMPLETED" | undefined;
735
735
  external_id?: string | null | undefined;
736
736
  customer_email?: string | null | undefined;
737
737
  complaint_date?: string | null | undefined;
@@ -748,7 +748,7 @@ export declare const ServicecaseExtended: z.ZodObject<{
748
748
  external_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
749
749
  shop: z.ZodEnum<["Shopify", "Amazon FBA", "Amazon FBM", "Otto"]>;
750
750
  customer_email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
751
- status: z.ZodDefault<z.ZodEnum<["EDITING", "SUBMITTING", "VALIDATING", "REJECTED", "SHIPPING", "COMPLETED"]>>;
751
+ status: z.ZodDefault<z.ZodEnum<["EDITING", "SUBMITTED", "COMPLETED"]>>;
752
752
  complaint_date: z.ZodNullable<z.ZodOptional<z.ZodString>>;
753
753
  customer_message: z.ZodNullable<z.ZodOptional<z.ZodString>>;
754
754
  agreed_terms: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -846,7 +846,7 @@ export declare const ServicecaseExtended: z.ZodObject<{
846
846
  is_sent_to_client: z.ZodEffects<z.ZodNumber, boolean, number>;
847
847
  is_sent_to_cc: z.ZodEffects<z.ZodNumber, boolean, number>;
848
848
  }, "strip", z.ZodTypeAny, {
849
- status: "EDITING" | "SUBMITTING" | "VALIDATING" | "REJECTED" | "SHIPPING" | "COMPLETED";
849
+ status: "EDITING" | "SUBMITTED" | "COMPLETED";
850
850
  name: string;
851
851
  country: string;
852
852
  owner: string;
@@ -928,7 +928,7 @@ export declare const ServicecaseExtended: z.ZodObject<{
928
928
  attachments_collection_name?: string | null | undefined;
929
929
  internal_reasons_collection_name?: string | null | undefined;
930
930
  }[];
931
- status?: "EDITING" | "SUBMITTING" | "VALIDATING" | "REJECTED" | "SHIPPING" | "COMPLETED" | undefined;
931
+ status?: "EDITING" | "SUBMITTED" | "COMPLETED" | undefined;
932
932
  external_id?: string | null | undefined;
933
933
  customer_email?: string | null | undefined;
934
934
  complaint_date?: string | null | undefined;
@@ -943,7 +943,7 @@ export declare const ServicecaseMethodResponse: z.ZodArray<z.ZodObject<{
943
943
  external_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
944
944
  shop: z.ZodEnum<["Shopify", "Amazon FBA", "Amazon FBM", "Otto"]>;
945
945
  customer_email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
946
- status: z.ZodDefault<z.ZodEnum<["EDITING", "SUBMITTING", "VALIDATING", "REJECTED", "SHIPPING", "COMPLETED"]>>;
946
+ status: z.ZodDefault<z.ZodEnum<["EDITING", "SUBMITTED", "COMPLETED"]>>;
947
947
  complaint_date: z.ZodNullable<z.ZodOptional<z.ZodString>>;
948
948
  customer_message: z.ZodNullable<z.ZodOptional<z.ZodString>>;
949
949
  agreed_terms: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -1041,7 +1041,7 @@ export declare const ServicecaseMethodResponse: z.ZodArray<z.ZodObject<{
1041
1041
  is_sent_to_client: z.ZodEffects<z.ZodNumber, boolean, number>;
1042
1042
  is_sent_to_cc: z.ZodEffects<z.ZodNumber, boolean, number>;
1043
1043
  }, "strip", z.ZodTypeAny, {
1044
- status: "EDITING" | "SUBMITTING" | "VALIDATING" | "REJECTED" | "SHIPPING" | "COMPLETED";
1044
+ status: "EDITING" | "SUBMITTED" | "COMPLETED";
1045
1045
  name: string;
1046
1046
  country: string;
1047
1047
  owner: string;
@@ -1123,7 +1123,7 @@ export declare const ServicecaseMethodResponse: z.ZodArray<z.ZodObject<{
1123
1123
  attachments_collection_name?: string | null | undefined;
1124
1124
  internal_reasons_collection_name?: string | null | undefined;
1125
1125
  }[];
1126
- status?: "EDITING" | "SUBMITTING" | "VALIDATING" | "REJECTED" | "SHIPPING" | "COMPLETED" | undefined;
1126
+ status?: "EDITING" | "SUBMITTED" | "COMPLETED" | undefined;
1127
1127
  external_id?: string | null | undefined;
1128
1128
  customer_email?: string | null | undefined;
1129
1129
  complaint_date?: string | null | undefined;
@@ -3,14 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ServicecaseMethodResponse = exports.ServicecaseExtended = exports.ServicecaseInput = exports.Servicecase = exports.ServicecaseBase = exports.ReturnItemExtended = exports.ReturnItem = exports.ReturnItemInput = exports.ReturnItemBase = exports.UpdateInternalReasonCollectionInput = exports.InternalReasonCollection = exports.UpdateAttachmentCollectionInput = exports.AttachmentCollection = void 0;
4
4
  const zod_1 = require("zod");
5
5
  const Shop = zod_1.z.enum(["Shopify", "Amazon FBA", "Amazon FBM", "Otto"]);
6
- const Status = zod_1.z.enum([
7
- "EDITING",
8
- "SUBMITTING",
9
- "VALIDATING",
10
- "REJECTED",
11
- "SHIPPING",
12
- "COMPLETED",
13
- ]);
6
+ const Status = zod_1.z.enum(["EDITING", "SUBMITTED", "COMPLETED"]);
14
7
  const CreatedWith = zod_1.z.enum([
15
8
  "Serviceportal",
16
9
  "Missive Sidebar",
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.0",
28
+ "version": "1.25.2",
29
29
  "devDependencies": {
30
30
  "@types/crypto-js": "^4.2.2",
31
31
  "@types/lodash": "^4.17.13",