erpnext-queue-client 1.34.11 → 1.35.1

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.
@@ -151,6 +151,7 @@ export declare class ERPNextDeliveryNote {
151
151
  parent?: string | null | undefined;
152
152
  parentfield?: string | null | undefined;
153
153
  parenttype?: string | null | undefined;
154
+ custom_order_number?: string | null | undefined;
154
155
  set_warehouse?: string | null | undefined;
155
156
  dispatch_run?: string | null | undefined;
156
157
  cost_center?: string | null | undefined;
@@ -346,6 +347,7 @@ export declare class ERPNextDeliveryNote {
346
347
  parent?: string | null | undefined;
347
348
  parentfield?: string | null | undefined;
348
349
  parenttype?: string | null | undefined;
350
+ custom_order_number?: string | null | undefined;
349
351
  set_warehouse?: string | null | undefined;
350
352
  dispatch_run?: string | null | undefined;
351
353
  cost_center?: string | null | undefined;
@@ -392,7 +394,7 @@ export declare class ERPNextDeliveryNote {
392
394
  auto_repeat?: string | null | undefined;
393
395
  sales_partner?: string | null | undefined;
394
396
  }>;
395
- getList: <TField extends ("status" | "name" | "doctype" | "owner" | "creation" | "modified" | "modified_by" | "idx" | "docstatus" | "tax_category" | "company" | "naming_series" | "language" | "order_number" | "customer" | "items" | "discount_amount" | "pricing_rules" | "title" | "customer_name" | "posting_date" | "posting_time" | "set_posting_time" | "is_return" | "issue_credit_note" | "po_no" | "currency" | "conversion_rate" | "selling_price_list" | "price_list_currency" | "plc_conversion_rate" | "ignore_pricing_rule" | "total_qty" | "base_total" | "base_net_total" | "total_net_weight" | "total" | "net_total" | "base_total_taxes_and_charges" | "total_taxes_and_charges" | "apply_discount_on" | "base_discount_amount" | "additional_discount_percentage" | "base_grand_total" | "base_rounding_adjustment" | "base_rounded_total" | "base_in_words" | "grand_total" | "rounding_adjustment" | "rounded_total" | "in_words" | "disable_rounded_total" | "is_internal_customer" | "per_billed" | "customer_group" | "territory" | "print_without_amount" | "group_same_items" | "per_installed" | "installation_status" | "per_returned" | "amount_eligible_for_commission" | "commission_rate" | "total_commission" | "packed_items" | "taxes" | "sales_team") | ("parent" | "parentfield" | "parenttype" | "set_warehouse" | "dispatch_run" | "cost_center" | "project" | "amended_from" | "return_against" | "po_date" | "pick_list" | "shipping_address_name" | "shipping_address" | "dispatch_address_name" | "dispatch_address" | "contact_person" | "contact_display" | "contact_mobile" | "contact_email" | "customer_address" | "tax_id" | "address_display" | "company_address" | "company_address_display" | "set_target_warehouse" | "scan_barcode" | "shipping_rule" | "taxes_and_charges" | "other_charges_calculation" | "tc_name" | "terms" | "transporter" | "driver" | "lr_no" | "vehicle_no" | "transporter_name" | "driver_name" | "lr_date" | "campaign" | "source" | "represents_company" | "inter_company_reference" | "letter_head" | "select_print_heading" | "excise_page" | "instructions" | "auto_repeat" | "sales_partner"), TAsDict extends boolean | undefined = undefined>({ fields, filters, skip, limit, priority, asDict, params, }?: {
397
+ getList: <TField extends ("status" | "name" | "doctype" | "owner" | "creation" | "modified" | "modified_by" | "idx" | "docstatus" | "tax_category" | "company" | "naming_series" | "language" | "order_number" | "customer" | "items" | "discount_amount" | "pricing_rules" | "title" | "customer_name" | "posting_date" | "posting_time" | "set_posting_time" | "is_return" | "issue_credit_note" | "po_no" | "currency" | "conversion_rate" | "selling_price_list" | "price_list_currency" | "plc_conversion_rate" | "ignore_pricing_rule" | "total_qty" | "base_total" | "base_net_total" | "total_net_weight" | "total" | "net_total" | "base_total_taxes_and_charges" | "total_taxes_and_charges" | "apply_discount_on" | "base_discount_amount" | "additional_discount_percentage" | "base_grand_total" | "base_rounding_adjustment" | "base_rounded_total" | "base_in_words" | "grand_total" | "rounding_adjustment" | "rounded_total" | "in_words" | "disable_rounded_total" | "is_internal_customer" | "per_billed" | "customer_group" | "territory" | "print_without_amount" | "group_same_items" | "per_installed" | "installation_status" | "per_returned" | "amount_eligible_for_commission" | "commission_rate" | "total_commission" | "packed_items" | "taxes" | "sales_team") | ("parent" | "parentfield" | "parenttype" | "custom_order_number" | "set_warehouse" | "dispatch_run" | "cost_center" | "project" | "amended_from" | "return_against" | "po_date" | "pick_list" | "shipping_address_name" | "shipping_address" | "dispatch_address_name" | "dispatch_address" | "contact_person" | "contact_display" | "contact_mobile" | "contact_email" | "customer_address" | "tax_id" | "address_display" | "company_address" | "company_address_display" | "set_target_warehouse" | "scan_barcode" | "shipping_rule" | "taxes_and_charges" | "other_charges_calculation" | "tc_name" | "terms" | "transporter" | "driver" | "lr_no" | "vehicle_no" | "transporter_name" | "driver_name" | "lr_date" | "campaign" | "source" | "represents_company" | "inter_company_reference" | "letter_head" | "select_print_heading" | "excise_page" | "instructions" | "auto_repeat" | "sales_partner"), TAsDict extends boolean | undefined = undefined>({ fields, filters, skip, limit, priority, asDict, params, }?: {
396
398
  fields?: TField[] | undefined;
397
399
  filters?: (string | string[])[][];
398
400
  skip?: number;
@@ -545,6 +547,7 @@ export declare class ERPNextDeliveryNote {
545
547
  parent?: string | null | undefined;
546
548
  parentfield?: string | null | undefined;
547
549
  parenttype?: string | null | undefined;
550
+ custom_order_number?: string | null | undefined;
548
551
  set_warehouse?: string | null | undefined;
549
552
  dispatch_run?: string | null | undefined;
550
553
  cost_center?: string | null | undefined;
@@ -739,6 +742,7 @@ export declare class ERPNextDeliveryNote {
739
742
  parent?: string | null | undefined;
740
743
  parentfield?: string | null | undefined;
741
744
  parenttype?: string | null | undefined;
745
+ custom_order_number?: string | null | undefined;
742
746
  set_warehouse?: string | null | undefined;
743
747
  dispatch_run?: string | null | undefined;
744
748
  cost_center?: string | null | undefined;
@@ -930,6 +934,7 @@ export declare class ERPNextDeliveryNote {
930
934
  parent?: string | null | undefined;
931
935
  parentfield?: string | null | undefined;
932
936
  parenttype?: string | null | undefined;
937
+ custom_order_number?: string | null | undefined;
933
938
  set_warehouse?: string | null | undefined;
934
939
  dispatch_run?: string | null | undefined;
935
940
  cost_center?: string | null | undefined;
@@ -1125,6 +1130,7 @@ export declare class ERPNextDeliveryNote {
1125
1130
  parent?: string | null | undefined;
1126
1131
  parentfield?: string | null | undefined;
1127
1132
  parenttype?: string | null | undefined;
1133
+ custom_order_number?: string | null | undefined;
1128
1134
  set_warehouse?: string | null | undefined;
1129
1135
  dispatch_run?: string | null | undefined;
1130
1136
  cost_center?: string | null | undefined;
@@ -1322,6 +1328,7 @@ export declare class ERPNextDeliveryNote {
1322
1328
  parent?: string | null | undefined;
1323
1329
  parentfield?: string | null | undefined;
1324
1330
  parenttype?: string | null | undefined;
1331
+ custom_order_number?: string | null | undefined;
1325
1332
  set_warehouse?: string | null | undefined;
1326
1333
  dispatch_run?: string | null | undefined;
1327
1334
  cost_center?: string | null | undefined;
@@ -7,7 +7,7 @@ export declare class ERPNextShipment {
7
7
  protected temporalClient: TemporalClient;
8
8
  protected baseRequest: ERPNextDoctypeSubmittableResourceRequest<typeof Shipment>;
9
9
  protected methodRequest: ERPNextMethodRequest;
10
- getList: <TField extends ("status" | "name" | "doctype" | "owner" | "creation" | "modified" | "modified_by" | "idx" | "docstatus" | "delivery_address_name" | "delivery_address" | "delivery_customer" | "delivery_to_type" | "incoterm" | "pallets" | "pickup_address_name" | "pickup_address" | "pickup_company" | "pickup_contact_email" | "pickup_contact_person" | "pickup_contact" | "pickup_from_type" | "pickup_from" | "pickup_to" | "pickup_type" | "shipment_amount" | "shipment_delivery_note" | "shipment_parcel" | "shipment_type" | "tracking_status" | "value_of_goods" | "description_of_content" | "pickup_date" | "shipment_id" | "custom_export_status") | ("parent" | "parentfield" | "parenttype" | "__onload" | "amended_from" | "delivery_contact" | "awb_number" | "carrier_service" | "carrier" | "delivery_company" | "delivery_contact_email" | "delivery_contact_name" | "delivery_supplier" | "delivery_to" | "parcel_template" | "pickup_contact_name" | "pickup_customer" | "pickup_supplier" | "pickup" | "service_provider" | "shipping_label" | "shipping_provider" | "custom_return_label" | "custom_return_shipping_provider" | "tracking_status_info" | "tracking_url" | "custom_delivery_country" | "custom_is_export"), TAsDict extends boolean | undefined = undefined>({ fields, filters, skip, limit, priority, asDict, params, }?: {
10
+ getList: <TField extends ("status" | "name" | "doctype" | "owner" | "creation" | "modified" | "modified_by" | "idx" | "docstatus" | "delivery_address_name" | "delivery_address" | "delivery_customer" | "delivery_to_type" | "incoterm" | "pallets" | "pickup_address_name" | "pickup_address" | "pickup_company" | "pickup_contact_email" | "pickup_contact_person" | "pickup_contact" | "pickup_from_type" | "pickup_from" | "pickup_to" | "pickup_type" | "shipment_amount" | "shipment_delivery_note" | "shipment_parcel" | "shipment_type" | "tracking_status" | "value_of_goods" | "description_of_content" | "pickup_date" | "shipment_id") | ("parent" | "parentfield" | "parenttype" | "__onload" | "amended_from" | "delivery_contact" | "awb_number" | "carrier_service" | "carrier" | "delivery_company" | "delivery_contact_email" | "delivery_contact_name" | "delivery_supplier" | "delivery_to" | "parcel_template" | "pickup_contact_name" | "pickup_customer" | "pickup_supplier" | "pickup" | "service_provider" | "shipping_label" | "shipping_provider" | "custom_return_label" | "custom_return_shipping_provider" | "tracking_status_info" | "tracking_url" | "custom_delivery_country" | "custom_is_export" | "custom_export_status"), TAsDict extends boolean | undefined = undefined>({ fields, filters, skip, limit, priority, asDict, params, }?: {
11
11
  fields?: TField[] | undefined;
12
12
  filters?: (string | string[])[][];
13
13
  skip?: number;
@@ -82,7 +82,6 @@ export declare class ERPNextShipment {
82
82
  description_of_content: string;
83
83
  pickup_date: string;
84
84
  shipment_id: string;
85
- custom_export_status: "Open" | "Customs Declaration in Progress" | "Customs Declaration Submitted" | "Customs Declaration Confirmed" | null;
86
85
  parent?: string | null | undefined;
87
86
  parentfield?: string | null | undefined;
88
87
  parenttype?: string | null | undefined;
@@ -113,6 +112,7 @@ export declare class ERPNextShipment {
113
112
  tracking_url?: string | null | undefined;
114
113
  custom_delivery_country?: string | null | undefined;
115
114
  custom_is_export?: number | null | undefined;
115
+ custom_export_status?: "Open" | "Customs Declaration in Progress" | "Customs Declaration Submitted" | "Customs Declaration Confirmed" | null | undefined;
116
116
  }, TField>[]>;
117
117
  getById: ({ resourceId, priority, }: {
118
118
  resourceId: string;
@@ -184,7 +184,6 @@ export declare class ERPNextShipment {
184
184
  description_of_content: string;
185
185
  pickup_date: string;
186
186
  shipment_id: string;
187
- custom_export_status: "Open" | "Customs Declaration in Progress" | "Customs Declaration Submitted" | "Customs Declaration Confirmed" | null;
188
187
  parent?: string | null | undefined;
189
188
  parentfield?: string | null | undefined;
190
189
  parenttype?: string | null | undefined;
@@ -215,6 +214,7 @@ export declare class ERPNextShipment {
215
214
  tracking_url?: string | null | undefined;
216
215
  custom_delivery_country?: string | null | undefined;
217
216
  custom_is_export?: number | null | undefined;
217
+ custom_export_status?: "Open" | "Customs Declaration in Progress" | "Customs Declaration Submitted" | "Customs Declaration Confirmed" | null | undefined;
218
218
  }>;
219
219
  updateById: <TInput extends TInputModel extends undefined ? Partial<{
220
220
  status: string;
@@ -283,7 +283,6 @@ export declare class ERPNextShipment {
283
283
  description_of_content: string;
284
284
  pickup_date: string;
285
285
  shipment_id: string;
286
- custom_export_status: "Open" | "Customs Declaration in Progress" | "Customs Declaration Submitted" | "Customs Declaration Confirmed" | null;
287
286
  parent?: string | null | undefined;
288
287
  parentfield?: string | null | undefined;
289
288
  parenttype?: string | null | undefined;
@@ -314,6 +313,7 @@ export declare class ERPNextShipment {
314
313
  tracking_url?: string | null | undefined;
315
314
  custom_delivery_country?: string | null | undefined;
316
315
  custom_is_export?: number | null | undefined;
316
+ custom_export_status?: "Open" | "Customs Declaration in Progress" | "Customs Declaration Submitted" | "Customs Declaration Confirmed" | null | undefined;
317
317
  }> : TInputModel extends z.ZodTypeAny ? Partial<z.TypeOf<TInputModel>> : any, TInputModel extends z.ZodTypeAny | undefined = undefined>({ resourceId, inputValidationModel, body, priority, }: {
318
318
  resourceId: string;
319
319
  inputValidationModel?: TInputModel;
@@ -386,7 +386,6 @@ export declare class ERPNextShipment {
386
386
  description_of_content: string;
387
387
  pickup_date: string;
388
388
  shipment_id: string;
389
- custom_export_status: "Open" | "Customs Declaration in Progress" | "Customs Declaration Submitted" | "Customs Declaration Confirmed" | null;
390
389
  parent?: string | null | undefined;
391
390
  parentfield?: string | null | undefined;
392
391
  parenttype?: string | null | undefined;
@@ -417,6 +416,7 @@ export declare class ERPNextShipment {
417
416
  tracking_url?: string | null | undefined;
418
417
  custom_delivery_country?: string | null | undefined;
419
418
  custom_is_export?: number | null | undefined;
419
+ custom_export_status?: "Open" | "Customs Declaration in Progress" | "Customs Declaration Submitted" | "Customs Declaration Confirmed" | null | undefined;
420
420
  }>;
421
421
  deleteById: ({ resourceId, priority, }: {
422
422
  resourceId: string;
@@ -489,7 +489,6 @@ export declare class ERPNextShipment {
489
489
  description_of_content: string;
490
490
  pickup_date: string;
491
491
  shipment_id: string;
492
- custom_export_status: "Open" | "Customs Declaration in Progress" | "Customs Declaration Submitted" | "Customs Declaration Confirmed" | null;
493
492
  parent?: string | null | undefined;
494
493
  parentfield?: string | null | undefined;
495
494
  parenttype?: string | null | undefined;
@@ -520,6 +519,7 @@ export declare class ERPNextShipment {
520
519
  tracking_url?: string | null | undefined;
521
520
  custom_delivery_country?: string | null | undefined;
522
521
  custom_is_export?: number | null | undefined;
522
+ custom_export_status?: "Open" | "Customs Declaration in Progress" | "Customs Declaration Submitted" | "Customs Declaration Confirmed" | null | undefined;
523
523
  }> : TInputModel extends z.ZodTypeAny ? z.TypeOf<TInputModel> : any, TInputModel extends z.ZodTypeAny | undefined = undefined>({ inputValidationModel, body, params, priority, }: {
524
524
  inputValidationModel?: TInputModel;
525
525
  body: TInput;
@@ -592,7 +592,6 @@ export declare class ERPNextShipment {
592
592
  description_of_content: string;
593
593
  pickup_date: string;
594
594
  shipment_id: string;
595
- custom_export_status: "Open" | "Customs Declaration in Progress" | "Customs Declaration Submitted" | "Customs Declaration Confirmed" | null;
596
595
  parent?: string | null | undefined;
597
596
  parentfield?: string | null | undefined;
598
597
  parenttype?: string | null | undefined;
@@ -623,6 +622,7 @@ export declare class ERPNextShipment {
623
622
  tracking_url?: string | null | undefined;
624
623
  custom_delivery_country?: string | null | undefined;
625
624
  custom_is_export?: number | null | undefined;
625
+ custom_export_status?: "Open" | "Customs Declaration in Progress" | "Customs Declaration Submitted" | "Customs Declaration Confirmed" | null | undefined;
626
626
  }>;
627
627
  cancel: ({ resourceId }: {
628
628
  resourceId: string;
@@ -693,7 +693,6 @@ export declare class ERPNextShipment {
693
693
  description_of_content: string;
694
694
  pickup_date: string;
695
695
  shipment_id: string;
696
- custom_export_status: "Open" | "Customs Declaration in Progress" | "Customs Declaration Submitted" | "Customs Declaration Confirmed" | null;
697
696
  parent?: string | null | undefined;
698
697
  parentfield?: string | null | undefined;
699
698
  parenttype?: string | null | undefined;
@@ -724,6 +723,7 @@ export declare class ERPNextShipment {
724
723
  tracking_url?: string | null | undefined;
725
724
  custom_delivery_country?: string | null | undefined;
726
725
  custom_is_export?: number | null | undefined;
726
+ custom_export_status?: "Open" | "Customs Declaration in Progress" | "Customs Declaration Submitted" | "Customs Declaration Confirmed" | null | undefined;
727
727
  }>;
728
728
  submit: ({ resourceId }: {
729
729
  resourceId: string;
@@ -794,7 +794,6 @@ export declare class ERPNextShipment {
794
794
  description_of_content: string;
795
795
  pickup_date: string;
796
796
  shipment_id: string;
797
- custom_export_status: "Open" | "Customs Declaration in Progress" | "Customs Declaration Submitted" | "Customs Declaration Confirmed" | null;
798
797
  parent?: string | null | undefined;
799
798
  parentfield?: string | null | undefined;
800
799
  parenttype?: string | null | undefined;
@@ -825,6 +824,7 @@ export declare class ERPNextShipment {
825
824
  tracking_url?: string | null | undefined;
826
825
  custom_delivery_country?: string | null | undefined;
827
826
  custom_is_export?: number | null | undefined;
827
+ custom_export_status?: "Open" | "Customs Declaration in Progress" | "Customs Declaration Submitted" | "Customs Declaration Confirmed" | null | undefined;
828
828
  }>;
829
829
  constructor(temporalClient: TemporalClient);
830
830
  createShipmentDraft(deliveryNoteName: string): Promise<{
@@ -956,7 +956,6 @@ export declare class ERPNextShipment {
956
956
  description_of_content: string;
957
957
  pickup_date: string;
958
958
  shipment_id: string;
959
- custom_export_status: "Open" | "Customs Declaration in Progress" | "Customs Declaration Submitted" | "Customs Declaration Confirmed" | null;
960
959
  parent?: string | null | undefined;
961
960
  parentfield?: string | null | undefined;
962
961
  parenttype?: string | null | undefined;
@@ -987,5 +986,6 @@ export declare class ERPNextShipment {
987
986
  tracking_url?: string | null | undefined;
988
987
  custom_delivery_country?: string | null | undefined;
989
988
  custom_is_export?: number | null | undefined;
989
+ custom_export_status?: "Open" | "Customs Declaration in Progress" | "Customs Declaration Submitted" | "Customs Declaration Confirmed" | null | undefined;
990
990
  }>;
991
991
  }
@@ -1,6 +1,7 @@
1
1
  import { z } from "zod";
2
2
  export declare const DeliveryNotePostBody: z.ZodObject<{
3
- order_number: z.ZodString;
3
+ order_number: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4
+ custom_order_number: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4
5
  customer: z.ZodString;
5
6
  shippingAddressName: z.ZodString;
6
7
  set_warehouse: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -24,7 +25,6 @@ export declare const DeliveryNotePostBody: z.ZodObject<{
24
25
  docstatus: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
25
26
  }, "strip", z.ZodTypeAny, {
26
27
  docstatus: number;
27
- order_number: string;
28
28
  customer: string;
29
29
  shippingAddressName: string;
30
30
  items: {
@@ -33,10 +33,11 @@ export declare const DeliveryNotePostBody: z.ZodObject<{
33
33
  rate?: number | null | undefined;
34
34
  amount?: number | null | undefined;
35
35
  }[];
36
+ order_number?: string | null | undefined;
37
+ custom_order_number?: string | null | undefined;
36
38
  set_warehouse?: string | null | undefined;
37
39
  dispatch_run?: string | null | undefined;
38
40
  }, {
39
- order_number: string;
40
41
  customer: string;
41
42
  shippingAddressName: string;
42
43
  items: {
@@ -46,6 +47,8 @@ export declare const DeliveryNotePostBody: z.ZodObject<{
46
47
  amount?: number | null | undefined;
47
48
  }[];
48
49
  docstatus?: number | undefined;
50
+ order_number?: string | null | undefined;
51
+ custom_order_number?: string | null | undefined;
49
52
  set_warehouse?: string | null | undefined;
50
53
  dispatch_run?: string | null | undefined;
51
54
  }>;
@@ -64,6 +67,7 @@ export declare const DeliveryNote: z.ZodObject<{
64
67
  title: z.ZodString;
65
68
  naming_series: z.ZodString;
66
69
  order_number: z.ZodString;
70
+ custom_order_number: z.ZodNullable<z.ZodOptional<z.ZodString>>;
67
71
  customer: z.ZodString;
68
72
  customer_name: z.ZodString;
69
73
  amended_from: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -533,6 +537,7 @@ export declare const DeliveryNote: z.ZodObject<{
533
537
  parent?: string | null | undefined;
534
538
  parentfield?: string | null | undefined;
535
539
  parenttype?: string | null | undefined;
540
+ custom_order_number?: string | null | undefined;
536
541
  set_warehouse?: string | null | undefined;
537
542
  dispatch_run?: string | null | undefined;
538
543
  cost_center?: string | null | undefined;
@@ -723,6 +728,7 @@ export declare const DeliveryNote: z.ZodObject<{
723
728
  parent?: string | null | undefined;
724
729
  parentfield?: string | null | undefined;
725
730
  parenttype?: string | null | undefined;
731
+ custom_order_number?: string | null | undefined;
726
732
  set_warehouse?: string | null | undefined;
727
733
  dispatch_run?: string | null | undefined;
728
734
  cost_center?: string | null | undefined;
@@ -783,6 +789,7 @@ export declare const DeliveryNoteListItem: z.ZodObject<Omit<{
783
789
  title: z.ZodString;
784
790
  naming_series: z.ZodString;
785
791
  order_number: z.ZodString;
792
+ custom_order_number: z.ZodNullable<z.ZodOptional<z.ZodString>>;
786
793
  customer: z.ZodString;
787
794
  customer_name: z.ZodString;
788
795
  amended_from: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -1173,6 +1180,7 @@ export declare const DeliveryNoteListItem: z.ZodObject<Omit<{
1173
1180
  parent?: string | null | undefined;
1174
1181
  parentfield?: string | null | undefined;
1175
1182
  parenttype?: string | null | undefined;
1183
+ custom_order_number?: string | null | undefined;
1176
1184
  set_warehouse?: string | null | undefined;
1177
1185
  dispatch_run?: string | null | undefined;
1178
1186
  cost_center?: string | null | undefined;
@@ -1284,6 +1292,7 @@ export declare const DeliveryNoteListItem: z.ZodObject<Omit<{
1284
1292
  parent?: string | null | undefined;
1285
1293
  parentfield?: string | null | undefined;
1286
1294
  parenttype?: string | null | undefined;
1295
+ custom_order_number?: string | null | undefined;
1287
1296
  set_warehouse?: string | null | undefined;
1288
1297
  dispatch_run?: string | null | undefined;
1289
1298
  cost_center?: string | null | undefined;
@@ -1345,6 +1354,7 @@ export declare const DeliveryNoteNameList: z.ZodArray<z.ZodObject<Pick<Omit<{
1345
1354
  title: z.ZodString;
1346
1355
  naming_series: z.ZodString;
1347
1356
  order_number: z.ZodString;
1357
+ custom_order_number: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1348
1358
  customer: z.ZodString;
1349
1359
  customer_name: z.ZodString;
1350
1360
  amended_from: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -4,7 +4,8 @@ exports.DeliveryNoteNameList = exports.DeliveryNoteListItem = exports.DeliveryNo
4
4
  const zod_1 = require("zod");
5
5
  exports.DeliveryNotePostBody = zod_1.z
6
6
  .object({
7
- order_number: zod_1.z.string(),
7
+ order_number: zod_1.z.string().optional().nullable(),
8
+ custom_order_number: zod_1.z.string().optional().nullable(),
8
9
  customer: zod_1.z.string(),
9
10
  shippingAddressName: zod_1.z.string(),
10
11
  set_warehouse: zod_1.z.string().optional().nullable(),
@@ -110,6 +111,7 @@ exports.DeliveryNote = zod_1.z
110
111
  title: zod_1.z.string(),
111
112
  naming_series: zod_1.z.string(),
112
113
  order_number: zod_1.z.string(),
114
+ custom_order_number: zod_1.z.string().optional().nullable(),
113
115
  customer: zod_1.z.string(),
114
116
  customer_name: zod_1.z.string(),
115
117
  amended_from: zod_1.z.string().optional().nullable(),
@@ -232,7 +232,7 @@ export declare const ShipmentParcelPostBody: z.ZodObject<{
232
232
  weight: number;
233
233
  count: number;
234
234
  }>;
235
- export declare const ShipmentExportStatus: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodEnum<["Open", "Customs Declaration in Progress", "Customs Declaration Submitted", "Customs Declaration Confirmed"]>>>>;
235
+ export declare const ShipmentExportStatus: z.ZodNullable<z.ZodOptional<z.ZodDefault<z.ZodEnum<["Open", "Customs Declaration in Progress", "Customs Declaration Submitted", "Customs Declaration Confirmed"]>>>>;
236
236
  export type ShipmentExportStatusType = z.infer<typeof ShipmentExportStatus>;
237
237
  export declare const Shipment: z.ZodObject<{
238
238
  __onload: z.ZodNullable<z.ZodOptional<z.ZodObject<{
@@ -399,7 +399,7 @@ export declare const Shipment: z.ZodObject<{
399
399
  value_of_goods: z.ZodNumber;
400
400
  custom_delivery_country: z.ZodNullable<z.ZodOptional<z.ZodString>>;
401
401
  custom_is_export: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
402
- custom_export_status: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodEnum<["Open", "Customs Declaration in Progress", "Customs Declaration Submitted", "Customs Declaration Confirmed"]>>>>;
402
+ custom_export_status: z.ZodNullable<z.ZodOptional<z.ZodDefault<z.ZodEnum<["Open", "Customs Declaration in Progress", "Customs Declaration Submitted", "Customs Declaration Confirmed"]>>>>;
403
403
  }, "strip", z.ZodTypeAny, {
404
404
  status: string;
405
405
  name: string;
@@ -467,7 +467,6 @@ export declare const Shipment: z.ZodObject<{
467
467
  description_of_content: string;
468
468
  pickup_date: string;
469
469
  shipment_id: string;
470
- custom_export_status: "Open" | "Customs Declaration in Progress" | "Customs Declaration Submitted" | "Customs Declaration Confirmed" | null;
471
470
  parent?: string | null | undefined;
472
471
  parentfield?: string | null | undefined;
473
472
  parenttype?: string | null | undefined;
@@ -498,6 +497,7 @@ export declare const Shipment: z.ZodObject<{
498
497
  tracking_url?: string | null | undefined;
499
498
  custom_delivery_country?: string | null | undefined;
500
499
  custom_is_export?: number | null | undefined;
500
+ custom_export_status?: "Open" | "Customs Declaration in Progress" | "Customs Declaration Submitted" | "Customs Declaration Confirmed" | null | undefined;
501
501
  }, {
502
502
  status: string;
503
503
  name: string;
@@ -762,7 +762,7 @@ export declare const ShipmentDraftPostBody: z.ZodObject<Omit<{
762
762
  value_of_goods: z.ZodNumber;
763
763
  custom_delivery_country: z.ZodNullable<z.ZodOptional<z.ZodString>>;
764
764
  custom_is_export: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
765
- custom_export_status: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodEnum<["Open", "Customs Declaration in Progress", "Customs Declaration Submitted", "Customs Declaration Confirmed"]>>>>;
765
+ custom_export_status: z.ZodNullable<z.ZodOptional<z.ZodDefault<z.ZodEnum<["Open", "Customs Declaration in Progress", "Customs Declaration Submitted", "Customs Declaration Confirmed"]>>>>;
766
766
  }, "name" | "creation" | "modified" | "modified_by" | "shipment_delivery_note" | "shipment_parcel"> & {
767
767
  shipment_delivery_note: z.ZodArray<z.ZodOptional<z.ZodObject<{
768
768
  owner: z.ZodString;
@@ -866,7 +866,6 @@ export declare const ShipmentDraftPostBody: z.ZodObject<Omit<{
866
866
  description_of_content: string;
867
867
  pickup_date: string;
868
868
  shipment_id: string;
869
- custom_export_status: "Open" | "Customs Declaration in Progress" | "Customs Declaration Submitted" | "Customs Declaration Confirmed" | null;
870
869
  parent?: string | null | undefined;
871
870
  parentfield?: string | null | undefined;
872
871
  parenttype?: string | null | undefined;
@@ -897,6 +896,7 @@ export declare const ShipmentDraftPostBody: z.ZodObject<Omit<{
897
896
  tracking_url?: string | null | undefined;
898
897
  custom_delivery_country?: string | null | undefined;
899
898
  custom_is_export?: number | null | undefined;
899
+ custom_export_status?: "Open" | "Customs Declaration in Progress" | "Customs Declaration Submitted" | "Customs Declaration Confirmed" | null | undefined;
900
900
  }, {
901
901
  status: string;
902
902
  doctype: string;
@@ -1145,7 +1145,7 @@ export declare const ShipmentAddShippingLabelAndSubmitBody: z.ZodObject<Pick<{
1145
1145
  value_of_goods: z.ZodNumber;
1146
1146
  custom_delivery_country: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1147
1147
  custom_is_export: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1148
- custom_export_status: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodEnum<["Open", "Customs Declaration in Progress", "Customs Declaration Submitted", "Customs Declaration Confirmed"]>>>>;
1148
+ custom_export_status: z.ZodNullable<z.ZodOptional<z.ZodDefault<z.ZodEnum<["Open", "Customs Declaration in Progress", "Customs Declaration Submitted", "Customs Declaration Confirmed"]>>>>;
1149
1149
  }, "docstatus" | "shipping_label" | "shipping_provider" | "custom_return_label" | "custom_return_shipping_provider">, "strip", z.ZodTypeAny, {
1150
1150
  docstatus: number;
1151
1151
  shipping_label?: string | null | undefined;
@@ -110,9 +110,9 @@ exports.ShipmentExportStatus = zod_1.z
110
110
  "Customs Declaration Submitted",
111
111
  "Customs Declaration Confirmed",
112
112
  ])
113
+ .default("Open")
113
114
  .optional()
114
- .nullable()
115
- .default("Open");
115
+ .nullable();
116
116
  exports.Shipment = zod_1.z
117
117
  .object({
118
118
  __onload: Onload.optional().nullable(),
package/package.json CHANGED
@@ -25,7 +25,7 @@
25
25
  "winston": "^3.15.0",
26
26
  "zod": "3.25.76"
27
27
  },
28
- "version": "1.34.11",
28
+ "version": "1.35.1",
29
29
  "devDependencies": {
30
30
  "@types/crypto-js": "^4.2.2",
31
31
  "@types/lodash": "^4.17.13",