erpnext-queue-client 2.3.6 → 2.4.0

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.
Files changed (51) hide show
  1. package/dist/erpnext/doctypeResourceRequest.d.ts +1 -1
  2. package/dist/erpnext/doctypeSubmittableResourceRequest.d.ts +6 -159
  3. package/dist/erpnext/doctypeSubmittableResourceRequest.js +2 -2
  4. package/dist/erpnext/doctypes/address.d.ts +75 -3
  5. package/dist/erpnext/doctypes/consolidatedCustomsInvoice.d.ts +64 -54
  6. package/dist/erpnext/doctypes/contact.d.ts +219 -3
  7. package/dist/erpnext/doctypes/deliveryNote.d.ts +205 -200
  8. package/dist/erpnext/doctypes/item.d.ts +17 -2
  9. package/dist/erpnext/doctypes/paymentEntry.d.ts +112 -4
  10. package/dist/erpnext/doctypes/productBundle.d.ts +4 -2
  11. package/dist/erpnext/doctypes/purchaseInvoice.d.ts +140 -4
  12. package/dist/erpnext/doctypes/purchaseReceipt.d.ts +10 -4
  13. package/dist/erpnext/doctypes/salesInvoice.d.ts +398 -4
  14. package/dist/erpnext/doctypes/servicecase.d.ts +38 -2
  15. package/dist/erpnext/doctypes/shipment.d.ts +98 -91
  16. package/dist/erpnext/doctypes/shipment.js +2 -1
  17. package/dist/erpnext/erpnextRequestWrapper.d.ts +4 -2
  18. package/dist/erpnext/erpnextRequestWrapper.js +1 -1
  19. package/dist/erpnext/fileRequests.d.ts +2 -2
  20. package/dist/erpnext/fileRequests.js +2 -1
  21. package/dist/erpnext/model/ConsolidatedCustomsInvoice.d.ts +61 -23
  22. package/dist/erpnext/model/ConsolidatedCustomsInvoice.js +20 -11
  23. package/dist/erpnext/model/Contact.d.ts +29 -0
  24. package/dist/erpnext/model/Contact.js +5 -5
  25. package/dist/erpnext/model/DeliveryNote.d.ts +300 -100
  26. package/dist/erpnext/model/DeliveryNote.js +101 -100
  27. package/dist/erpnext/model/DispatchRun.d.ts +3 -0
  28. package/dist/erpnext/model/DispatchRun.js +1 -0
  29. package/dist/erpnext/model/DocTypeHelpers.d.ts +12 -7
  30. package/dist/erpnext/model/DocTypeHelpers.js +43 -19
  31. package/dist/erpnext/model/ERPNextDocTypeMeta.d.ts +3 -0
  32. package/dist/erpnext/model/ERPNextDocTypeMeta.js +3 -2
  33. package/dist/erpnext/model/File.d.ts +50 -0
  34. package/dist/erpnext/model/File.js +3 -1
  35. package/dist/erpnext/model/FulfillerSettings.d.ts +52 -24
  36. package/dist/erpnext/model/FulfillerSettings.js +19 -7
  37. package/dist/erpnext/model/Item.d.ts +43 -0
  38. package/dist/erpnext/model/Item.js +2 -1
  39. package/dist/erpnext/model/PurchaseInvoice.d.ts +75 -1
  40. package/dist/erpnext/model/PurchaseOrder.d.ts +52 -63
  41. package/dist/erpnext/model/PurchaseOrder.js +20 -38
  42. package/dist/erpnext/model/SalesInvoice.d.ts +196 -3
  43. package/dist/erpnext/model/Servicecase.d.ts +8 -0
  44. package/dist/erpnext/model/Shipment.d.ts +119 -162
  45. package/dist/erpnext/model/Shipment.js +17 -47
  46. package/dist/erpnext/model/ShippingProvider.d.ts +55 -65
  47. package/dist/erpnext/model/ShippingProvider.js +6 -10
  48. package/dist/erpnext/resourceRequest.d.ts +1 -1
  49. package/dist/utils/zodContextOptionals.js +7 -3
  50. package/dist/utils/zodUtils.js +3 -2
  51. package/package.json +1 -1
@@ -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: <TFieldOptions extends ("status" | "docstatus" | "name" | "owner" | "creation" | "modified" | "modified_by" | "idx" | "incoterm" | "shipment_id" | "delivery_address_name" | "delivery_address" | "delivery_customer" | "delivery_to_type" | "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_type" | "tracking_status" | "value_of_goods" | "description_of_content" | "pickup_date") | ("amended_from" | "_user_tags" | "__onload" | "shipping_provider" | "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" | "custom_return_label" | "custom_return_shipping_provider" | "tracking_status_info" | "tracking_url" | "custom_delivery_country" | "custom_is_export" | "custom_export_status"), TSelectedFields extends readonly ["*"] | TFieldOptions[] | undefined = undefined, TAsDict extends boolean | undefined = undefined>({ fields, filters, skip, limit, priority, asDict, params, }?: {
10
+ getList: <TFieldOptions extends ("status" | "docstatus" | "name" | "owner" | "creation" | "modified" | "modified_by" | "idx" | "incoterm" | "shipment_id" | "delivery_address_name" | "delivery_address" | "delivery_customer" | "delivery_to_type" | "description_of_content" | "pallets" | "pickup_address_name" | "pickup_address" | "pickup_company" | "pickup_contact_email" | "pickup_contact_person" | "pickup_contact" | "pickup_date" | "pickup_from_type" | "pickup_from" | "pickup_to" | "pickup_type" | "shipment_amount" | "shipment_type" | "tracking_status" | "value_of_goods" | "custom_delivery_country") | ("amended_from" | "_user_tags" | "shipping_provider" | "awb_number" | "carrier_service" | "carrier" | "delivery_company" | "delivery_contact_email" | "delivery_contact_name" | "delivery_contact" | "delivery_supplier" | "delivery_to" | "parcel_template" | "pickup_contact_name" | "pickup_customer" | "pickup_supplier" | "pickup" | "service_provider" | "shipping_label" | "custom_return_label" | "custom_return_shipping_provider" | "tracking_status_info" | "tracking_url" | "custom_is_export" | "custom_export_status"), TSelectedFields extends readonly ["*"] | readonly TFieldOptions[] | undefined = undefined, TAsDict extends boolean | undefined = undefined>({ fields, filters, skip, limit, priority, asDict, params, }?: {
11
11
  fields?: TSelectedFields;
12
12
  filters?: (string | string[])[][];
13
13
  skip?: number;
@@ -32,6 +32,7 @@ export declare class ERPNextShipment {
32
32
  delivery_address: string;
33
33
  delivery_customer: string;
34
34
  delivery_to_type: string;
35
+ description_of_content: string;
35
36
  pallets: string;
36
37
  pickup_address_name: string;
37
38
  pickup_address: string;
@@ -39,6 +40,7 @@ export declare class ERPNextShipment {
39
40
  pickup_contact_email: string;
40
41
  pickup_contact_person: string;
41
42
  pickup_contact: string;
43
+ pickup_date: string;
42
44
  pickup_from_type: string;
43
45
  pickup_from: string;
44
46
  pickup_to: string;
@@ -47,21 +49,17 @@ export declare class ERPNextShipment {
47
49
  shipment_type: string;
48
50
  tracking_status: string;
49
51
  value_of_goods: number;
50
- description_of_content: string;
51
- pickup_date: string;
52
+ custom_delivery_country: string;
52
53
  amended_from?: string | null | undefined;
53
54
  _user_tags?: string | null | undefined;
54
- __onload?: {
55
- load_after_mapping: boolean;
56
- } | null | undefined;
57
55
  shipping_provider?: string | null | undefined;
58
- delivery_contact?: string | null | undefined;
59
56
  awb_number?: string | null | undefined;
60
57
  carrier_service?: string | null | undefined;
61
58
  carrier?: string | null | undefined;
62
59
  delivery_company?: string | null | undefined;
63
60
  delivery_contact_email?: string | null | undefined;
64
61
  delivery_contact_name?: string | null | undefined;
62
+ delivery_contact?: string | null | undefined;
65
63
  delivery_supplier?: string | null | undefined;
66
64
  delivery_to?: string | null | undefined;
67
65
  parcel_template?: string | null | undefined;
@@ -75,10 +73,9 @@ export declare class ERPNextShipment {
75
73
  custom_return_shipping_provider?: string | null | undefined;
76
74
  tracking_status_info?: string | null | undefined;
77
75
  tracking_url?: string | null | undefined;
78
- custom_delivery_country?: string | null | undefined;
79
76
  custom_is_export?: number | null | undefined;
80
77
  custom_export_status?: "Open" | "Customs Declaration in Progress" | "Customs Declaration Submitted" | "Customs Declaration Confirmed" | null | undefined;
81
- }[] : TSelectedFields extends TFieldOptions[] ? { [K_1 in TSelectedFields[number] as K_1 extends `${infer _Before} as ${infer Alias}` ? Alias : K_1]: (K_1 extends `${infer _Before} as ${infer Alias}` ? Alias : K_1) extends ("status" | "docstatus" | "name" | "owner" | "creation" | "modified" | "modified_by" | "idx" | "incoterm" | "shipment_id" | "delivery_address_name" | "delivery_address" | "delivery_customer" | "delivery_to_type" | "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_type" | "tracking_status" | "value_of_goods" | "description_of_content" | "pickup_date") | ("amended_from" | "_user_tags" | "__onload" | "shipping_provider" | "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" | "custom_return_label" | "custom_return_shipping_provider" | "tracking_status_info" | "tracking_url" | "custom_delivery_country" | "custom_is_export" | "custom_export_status") ? {
78
+ }[] : TSelectedFields extends readonly TFieldOptions[] ? { [K_1 in TSelectedFields[number] as K_1 extends `${infer _Before} as ${infer Alias}` ? Alias : K_1]: (K_1 extends `${infer _Before} as ${infer Alias}` ? Alias : K_1) extends ("status" | "docstatus" | "name" | "owner" | "creation" | "modified" | "modified_by" | "idx" | "incoterm" | "shipment_id" | "delivery_address_name" | "delivery_address" | "delivery_customer" | "delivery_to_type" | "description_of_content" | "pallets" | "pickup_address_name" | "pickup_address" | "pickup_company" | "pickup_contact_email" | "pickup_contact_person" | "pickup_contact" | "pickup_date" | "pickup_from_type" | "pickup_from" | "pickup_to" | "pickup_type" | "shipment_amount" | "shipment_type" | "tracking_status" | "value_of_goods" | "custom_delivery_country") | ("amended_from" | "_user_tags" | "shipping_provider" | "awb_number" | "carrier_service" | "carrier" | "delivery_company" | "delivery_contact_email" | "delivery_contact_name" | "delivery_contact" | "delivery_supplier" | "delivery_to" | "parcel_template" | "pickup_contact_name" | "pickup_customer" | "pickup_supplier" | "pickup" | "service_provider" | "shipping_label" | "custom_return_label" | "custom_return_shipping_provider" | "tracking_status_info" | "tracking_url" | "custom_is_export" | "custom_export_status") ? {
82
79
  status: string;
83
80
  docstatus: number;
84
81
  name: string;
@@ -93,6 +90,7 @@ export declare class ERPNextShipment {
93
90
  delivery_address: string;
94
91
  delivery_customer: string;
95
92
  delivery_to_type: string;
93
+ description_of_content: string;
96
94
  pallets: string;
97
95
  pickup_address_name: string;
98
96
  pickup_address: string;
@@ -100,6 +98,7 @@ export declare class ERPNextShipment {
100
98
  pickup_contact_email: string;
101
99
  pickup_contact_person: string;
102
100
  pickup_contact: string;
101
+ pickup_date: string;
103
102
  pickup_from_type: string;
104
103
  pickup_from: string;
105
104
  pickup_to: string;
@@ -108,21 +107,17 @@ export declare class ERPNextShipment {
108
107
  shipment_type: string;
109
108
  tracking_status: string;
110
109
  value_of_goods: number;
111
- description_of_content: string;
112
- pickup_date: string;
110
+ custom_delivery_country: string;
113
111
  amended_from?: string | null | undefined;
114
112
  _user_tags?: string | null | undefined;
115
- __onload?: {
116
- load_after_mapping: boolean;
117
- } | null | undefined;
118
113
  shipping_provider?: string | null | undefined;
119
- delivery_contact?: string | null | undefined;
120
114
  awb_number?: string | null | undefined;
121
115
  carrier_service?: string | null | undefined;
122
116
  carrier?: string | null | undefined;
123
117
  delivery_company?: string | null | undefined;
124
118
  delivery_contact_email?: string | null | undefined;
125
119
  delivery_contact_name?: string | null | undefined;
120
+ delivery_contact?: string | null | undefined;
126
121
  delivery_supplier?: string | null | undefined;
127
122
  delivery_to?: string | null | undefined;
128
123
  parcel_template?: string | null | undefined;
@@ -136,10 +131,9 @@ export declare class ERPNextShipment {
136
131
  custom_return_shipping_provider?: string | null | undefined;
137
132
  tracking_status_info?: string | null | undefined;
138
133
  tracking_url?: string | null | undefined;
139
- custom_delivery_country?: string | null | undefined;
140
134
  custom_is_export?: number | null | undefined;
141
135
  custom_export_status?: "Open" | "Customs Declaration in Progress" | "Customs Declaration Submitted" | "Customs Declaration Confirmed" | null | undefined;
142
- }[(("status" | "docstatus" | "name" | "owner" | "creation" | "modified" | "modified_by" | "idx" | "incoterm" | "shipment_id" | "delivery_address_name" | "delivery_address" | "delivery_customer" | "delivery_to_type" | "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_type" | "tracking_status" | "value_of_goods" | "description_of_content" | "pickup_date") | ("amended_from" | "_user_tags" | "__onload" | "shipping_provider" | "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" | "custom_return_label" | "custom_return_shipping_provider" | "tracking_status_info" | "tracking_url" | "custom_delivery_country" | "custom_is_export" | "custom_export_status")) & (K_1 extends `${infer _Before} as ${infer Alias}` ? Alias : K_1)] : never; }[] : any) extends infer T ? { [K in keyof T]: T[K]; } : never>;
136
+ }[(("status" | "docstatus" | "name" | "owner" | "creation" | "modified" | "modified_by" | "idx" | "incoterm" | "shipment_id" | "delivery_address_name" | "delivery_address" | "delivery_customer" | "delivery_to_type" | "description_of_content" | "pallets" | "pickup_address_name" | "pickup_address" | "pickup_company" | "pickup_contact_email" | "pickup_contact_person" | "pickup_contact" | "pickup_date" | "pickup_from_type" | "pickup_from" | "pickup_to" | "pickup_type" | "shipment_amount" | "shipment_type" | "tracking_status" | "value_of_goods" | "custom_delivery_country") | ("amended_from" | "_user_tags" | "shipping_provider" | "awb_number" | "carrier_service" | "carrier" | "delivery_company" | "delivery_contact_email" | "delivery_contact_name" | "delivery_contact" | "delivery_supplier" | "delivery_to" | "parcel_template" | "pickup_contact_name" | "pickup_customer" | "pickup_supplier" | "pickup" | "service_provider" | "shipping_label" | "custom_return_label" | "custom_return_shipping_provider" | "tracking_status_info" | "tracking_url" | "custom_is_export" | "custom_export_status")) & (K_1 extends `${infer _Before} as ${infer Alias}` ? Alias : K_1)] : never; }[] : any) extends infer T ? { [K in keyof T]: T[K]; } : never>;
143
137
  getById: ({ resourceId, priority, }: {
144
138
  resourceId: string;
145
139
  priority?: number;
@@ -159,6 +153,7 @@ export declare class ERPNextShipment {
159
153
  delivery_address: string;
160
154
  delivery_customer: string;
161
155
  delivery_to_type: string;
156
+ description_of_content: string;
162
157
  pallets: string;
163
158
  pickup_address_name: string;
164
159
  pickup_address: string;
@@ -166,6 +161,7 @@ export declare class ERPNextShipment {
166
161
  pickup_contact_email: string;
167
162
  pickup_contact_person: string;
168
163
  pickup_contact: string;
164
+ pickup_date: string;
169
165
  pickup_from_type: string;
170
166
  pickup_from: string;
171
167
  pickup_to: string;
@@ -180,6 +176,7 @@ export declare class ERPNextShipment {
180
176
  modified_by: string;
181
177
  idx: number;
182
178
  doctype: string;
179
+ parent: string;
183
180
  parenttype: string;
184
181
  parentfield: string;
185
182
  delivery_note: string;
@@ -197,6 +194,7 @@ export declare class ERPNextShipment {
197
194
  modified_by: string;
198
195
  idx: number;
199
196
  doctype: string;
197
+ parent: string;
200
198
  parenttype: string;
201
199
  parentfield: string;
202
200
  count: number;
@@ -208,21 +206,17 @@ export declare class ERPNextShipment {
208
206
  shipment_type: string;
209
207
  tracking_status: string;
210
208
  value_of_goods: number;
211
- description_of_content: string;
212
- pickup_date: string;
209
+ custom_delivery_country: string;
213
210
  amended_from?: string | null | undefined;
214
211
  _user_tags?: string | null | undefined;
215
- __onload?: {
216
- load_after_mapping: boolean;
217
- } | null | undefined;
218
212
  shipping_provider?: string | null | undefined;
219
- delivery_contact?: string | null | undefined;
220
213
  awb_number?: string | null | undefined;
221
214
  carrier_service?: string | null | undefined;
222
215
  carrier?: string | null | undefined;
223
216
  delivery_company?: string | null | undefined;
224
217
  delivery_contact_email?: string | null | undefined;
225
218
  delivery_contact_name?: string | null | undefined;
219
+ delivery_contact?: string | null | undefined;
226
220
  delivery_supplier?: string | null | undefined;
227
221
  delivery_to?: string | null | undefined;
228
222
  parcel_template?: string | null | undefined;
@@ -236,19 +230,18 @@ export declare class ERPNextShipment {
236
230
  custom_return_shipping_provider?: string | null | undefined;
237
231
  tracking_status_info?: string | null | undefined;
238
232
  tracking_url?: string | null | undefined;
239
- custom_delivery_country?: string | null | undefined;
240
233
  custom_is_export?: number | null | undefined;
241
234
  custom_export_status?: "Open" | "Customs Declaration in Progress" | "Customs Declaration Submitted" | "Customs Declaration Confirmed" | null | undefined;
242
235
  } | undefined>;
243
236
  updateById: <TInput extends TInputModel extends undefined ? Partial<{
244
237
  status: string;
245
- creation: string;
246
238
  incoterm: string;
247
239
  shipment_id: string;
248
240
  delivery_address_name: string;
249
241
  delivery_address: string;
250
242
  delivery_customer: string;
251
243
  delivery_to_type: string;
244
+ description_of_content: string;
252
245
  pallets: string;
253
246
  pickup_address_name: string;
254
247
  pickup_address: string;
@@ -256,6 +249,7 @@ export declare class ERPNextShipment {
256
249
  pickup_contact_email: string;
257
250
  pickup_contact_person: string;
258
251
  pickup_contact: string;
252
+ pickup_date: string;
259
253
  pickup_from_type: string;
260
254
  pickup_from: string;
261
255
  pickup_to: string;
@@ -263,8 +257,8 @@ export declare class ERPNextShipment {
263
257
  shipment_amount: number;
264
258
  shipment_delivery_note: {
265
259
  delivery_note: string;
266
- grand_total: number;
267
260
  __unsaved?: number | null | undefined;
261
+ grand_total?: number | undefined;
268
262
  }[];
269
263
  shipment_parcel: {
270
264
  length: number;
@@ -276,21 +270,16 @@ export declare class ERPNextShipment {
276
270
  shipment_type: string;
277
271
  tracking_status: string;
278
272
  value_of_goods: number;
279
- description_of_content: string;
280
- pickup_date: string;
281
273
  docstatus?: number | undefined;
282
274
  amended_from?: string | null | undefined;
283
- __onload?: {
284
- load_after_mapping: boolean;
285
- } | null | undefined;
286
275
  shipping_provider?: string | null | undefined;
287
- delivery_contact?: string | null | undefined;
288
276
  awb_number?: string | null | undefined;
289
277
  carrier_service?: string | null | undefined;
290
278
  carrier?: string | null | undefined;
291
279
  delivery_company?: string | null | undefined;
292
280
  delivery_contact_email?: string | null | undefined;
293
281
  delivery_contact_name?: string | null | undefined;
282
+ delivery_contact?: string | null | undefined;
294
283
  delivery_supplier?: string | null | undefined;
295
284
  delivery_to?: string | null | undefined;
296
285
  parcel_template?: string | null | undefined;
@@ -304,7 +293,7 @@ export declare class ERPNextShipment {
304
293
  custom_return_shipping_provider?: string | null | undefined;
305
294
  tracking_status_info?: string | null | undefined;
306
295
  tracking_url?: string | null | undefined;
307
- custom_delivery_country?: string | null | undefined;
296
+ custom_delivery_country?: string | undefined;
308
297
  custom_is_export?: number | null | undefined;
309
298
  custom_export_status?: "Open" | "Customs Declaration in Progress" | "Customs Declaration Submitted" | "Customs Declaration Confirmed" | null | undefined;
310
299
  }> : TInputModel extends z.ZodTypeAny ? z.TypeOf<TInputModel> : any, TInputModel extends z.ZodTypeAny | undefined = undefined>({ resourceId, inputValidationModel, body, priority, }: {
@@ -328,6 +317,7 @@ export declare class ERPNextShipment {
328
317
  delivery_address: string;
329
318
  delivery_customer: string;
330
319
  delivery_to_type: string;
320
+ description_of_content: string;
331
321
  pallets: string;
332
322
  pickup_address_name: string;
333
323
  pickup_address: string;
@@ -335,6 +325,7 @@ export declare class ERPNextShipment {
335
325
  pickup_contact_email: string;
336
326
  pickup_contact_person: string;
337
327
  pickup_contact: string;
328
+ pickup_date: string;
338
329
  pickup_from_type: string;
339
330
  pickup_from: string;
340
331
  pickup_to: string;
@@ -349,6 +340,7 @@ export declare class ERPNextShipment {
349
340
  modified_by: string;
350
341
  idx: number;
351
342
  doctype: string;
343
+ parent: string;
352
344
  parenttype: string;
353
345
  parentfield: string;
354
346
  delivery_note: string;
@@ -366,6 +358,7 @@ export declare class ERPNextShipment {
366
358
  modified_by: string;
367
359
  idx: number;
368
360
  doctype: string;
361
+ parent: string;
369
362
  parenttype: string;
370
363
  parentfield: string;
371
364
  count: number;
@@ -377,21 +370,17 @@ export declare class ERPNextShipment {
377
370
  shipment_type: string;
378
371
  tracking_status: string;
379
372
  value_of_goods: number;
380
- description_of_content: string;
381
- pickup_date: string;
373
+ custom_delivery_country: string;
382
374
  amended_from?: string | null | undefined;
383
375
  _user_tags?: string | null | undefined;
384
- __onload?: {
385
- load_after_mapping: boolean;
386
- } | null | undefined;
387
376
  shipping_provider?: string | null | undefined;
388
- delivery_contact?: string | null | undefined;
389
377
  awb_number?: string | null | undefined;
390
378
  carrier_service?: string | null | undefined;
391
379
  carrier?: string | null | undefined;
392
380
  delivery_company?: string | null | undefined;
393
381
  delivery_contact_email?: string | null | undefined;
394
382
  delivery_contact_name?: string | null | undefined;
383
+ delivery_contact?: string | null | undefined;
395
384
  delivery_supplier?: string | null | undefined;
396
385
  delivery_to?: string | null | undefined;
397
386
  parcel_template?: string | null | undefined;
@@ -405,7 +394,6 @@ export declare class ERPNextShipment {
405
394
  custom_return_shipping_provider?: string | null | undefined;
406
395
  tracking_status_info?: string | null | undefined;
407
396
  tracking_url?: string | null | undefined;
408
- custom_delivery_country?: string | null | undefined;
409
397
  custom_is_export?: number | null | undefined;
410
398
  custom_export_status?: "Open" | "Customs Declaration in Progress" | "Customs Declaration Submitted" | "Customs Declaration Confirmed" | null | undefined;
411
399
  }>;
@@ -415,13 +403,13 @@ export declare class ERPNextShipment {
415
403
  }) => Promise<z.TypeOf<typeof import("../model/ERPNextResponse").DeleteResponseModel>>;
416
404
  create: <TInput extends TInputModel extends undefined ? {
417
405
  status: string;
418
- creation: string;
419
406
  incoterm: string;
420
407
  shipment_id: string;
421
408
  delivery_address_name: string;
422
409
  delivery_address: string;
423
410
  delivery_customer: string;
424
411
  delivery_to_type: string;
412
+ description_of_content: string;
425
413
  pallets: string;
426
414
  pickup_address_name: string;
427
415
  pickup_address: string;
@@ -429,6 +417,7 @@ export declare class ERPNextShipment {
429
417
  pickup_contact_email: string;
430
418
  pickup_contact_person: string;
431
419
  pickup_contact: string;
420
+ pickup_date: string;
432
421
  pickup_from_type: string;
433
422
  pickup_from: string;
434
423
  pickup_to: string;
@@ -436,8 +425,8 @@ export declare class ERPNextShipment {
436
425
  shipment_amount: number;
437
426
  shipment_delivery_note: {
438
427
  delivery_note: string;
439
- grand_total: number;
440
428
  __unsaved?: number | null | undefined;
429
+ grand_total?: number | undefined;
441
430
  }[];
442
431
  shipment_parcel: {
443
432
  length: number;
@@ -449,21 +438,16 @@ export declare class ERPNextShipment {
449
438
  shipment_type: string;
450
439
  tracking_status: string;
451
440
  value_of_goods: number;
452
- description_of_content: string;
453
- pickup_date: string;
454
441
  docstatus?: number | undefined;
455
442
  amended_from?: string | null | undefined;
456
- __onload?: {
457
- load_after_mapping: boolean;
458
- } | null | undefined;
459
443
  shipping_provider?: string | null | undefined;
460
- delivery_contact?: string | null | undefined;
461
444
  awb_number?: string | null | undefined;
462
445
  carrier_service?: string | null | undefined;
463
446
  carrier?: string | null | undefined;
464
447
  delivery_company?: string | null | undefined;
465
448
  delivery_contact_email?: string | null | undefined;
466
449
  delivery_contact_name?: string | null | undefined;
450
+ delivery_contact?: string | null | undefined;
467
451
  delivery_supplier?: string | null | undefined;
468
452
  delivery_to?: string | null | undefined;
469
453
  parcel_template?: string | null | undefined;
@@ -477,7 +461,7 @@ export declare class ERPNextShipment {
477
461
  custom_return_shipping_provider?: string | null | undefined;
478
462
  tracking_status_info?: string | null | undefined;
479
463
  tracking_url?: string | null | undefined;
480
- custom_delivery_country?: string | null | undefined;
464
+ custom_delivery_country?: string | undefined;
481
465
  custom_is_export?: number | null | undefined;
482
466
  custom_export_status?: "Open" | "Customs Declaration in Progress" | "Customs Declaration Submitted" | "Customs Declaration Confirmed" | null | undefined;
483
467
  } : TInputModel extends z.ZodTypeAny ? z.TypeOf<TInputModel> : any, TInputModel extends z.ZodTypeAny | undefined = undefined>({ inputValidationModel, body, params, priority, }: {
@@ -501,6 +485,7 @@ export declare class ERPNextShipment {
501
485
  delivery_address: string;
502
486
  delivery_customer: string;
503
487
  delivery_to_type: string;
488
+ description_of_content: string;
504
489
  pallets: string;
505
490
  pickup_address_name: string;
506
491
  pickup_address: string;
@@ -508,6 +493,7 @@ export declare class ERPNextShipment {
508
493
  pickup_contact_email: string;
509
494
  pickup_contact_person: string;
510
495
  pickup_contact: string;
496
+ pickup_date: string;
511
497
  pickup_from_type: string;
512
498
  pickup_from: string;
513
499
  pickup_to: string;
@@ -522,6 +508,7 @@ export declare class ERPNextShipment {
522
508
  modified_by: string;
523
509
  idx: number;
524
510
  doctype: string;
511
+ parent: string;
525
512
  parenttype: string;
526
513
  parentfield: string;
527
514
  delivery_note: string;
@@ -539,6 +526,7 @@ export declare class ERPNextShipment {
539
526
  modified_by: string;
540
527
  idx: number;
541
528
  doctype: string;
529
+ parent: string;
542
530
  parenttype: string;
543
531
  parentfield: string;
544
532
  count: number;
@@ -550,21 +538,17 @@ export declare class ERPNextShipment {
550
538
  shipment_type: string;
551
539
  tracking_status: string;
552
540
  value_of_goods: number;
553
- description_of_content: string;
554
- pickup_date: string;
541
+ custom_delivery_country: string;
555
542
  amended_from?: string | null | undefined;
556
543
  _user_tags?: string | null | undefined;
557
- __onload?: {
558
- load_after_mapping: boolean;
559
- } | null | undefined;
560
544
  shipping_provider?: string | null | undefined;
561
- delivery_contact?: string | null | undefined;
562
545
  awb_number?: string | null | undefined;
563
546
  carrier_service?: string | null | undefined;
564
547
  carrier?: string | null | undefined;
565
548
  delivery_company?: string | null | undefined;
566
549
  delivery_contact_email?: string | null | undefined;
567
550
  delivery_contact_name?: string | null | undefined;
551
+ delivery_contact?: string | null | undefined;
568
552
  delivery_supplier?: string | null | undefined;
569
553
  delivery_to?: string | null | undefined;
570
554
  parcel_template?: string | null | undefined;
@@ -578,11 +562,10 @@ export declare class ERPNextShipment {
578
562
  custom_return_shipping_provider?: string | null | undefined;
579
563
  tracking_status_info?: string | null | undefined;
580
564
  tracking_url?: string | null | undefined;
581
- custom_delivery_country?: string | null | undefined;
582
565
  custom_is_export?: number | null | undefined;
583
566
  custom_export_status?: "Open" | "Customs Declaration in Progress" | "Customs Declaration Submitted" | "Customs Declaration Confirmed" | null | undefined;
584
567
  }>;
585
- cancel: ({ resourceId }: {
568
+ cancel: ({ resourceId, }: {
586
569
  resourceId: string;
587
570
  }) => Promise<{
588
571
  status: string;
@@ -600,6 +583,7 @@ export declare class ERPNextShipment {
600
583
  delivery_address: string;
601
584
  delivery_customer: string;
602
585
  delivery_to_type: string;
586
+ description_of_content: string;
603
587
  pallets: string;
604
588
  pickup_address_name: string;
605
589
  pickup_address: string;
@@ -607,6 +591,7 @@ export declare class ERPNextShipment {
607
591
  pickup_contact_email: string;
608
592
  pickup_contact_person: string;
609
593
  pickup_contact: string;
594
+ pickup_date: string;
610
595
  pickup_from_type: string;
611
596
  pickup_from: string;
612
597
  pickup_to: string;
@@ -621,6 +606,7 @@ export declare class ERPNextShipment {
621
606
  modified_by: string;
622
607
  idx: number;
623
608
  doctype: string;
609
+ parent: string;
624
610
  parenttype: string;
625
611
  parentfield: string;
626
612
  delivery_note: string;
@@ -638,6 +624,7 @@ export declare class ERPNextShipment {
638
624
  modified_by: string;
639
625
  idx: number;
640
626
  doctype: string;
627
+ parent: string;
641
628
  parenttype: string;
642
629
  parentfield: string;
643
630
  count: number;
@@ -649,21 +636,17 @@ export declare class ERPNextShipment {
649
636
  shipment_type: string;
650
637
  tracking_status: string;
651
638
  value_of_goods: number;
652
- description_of_content: string;
653
- pickup_date: string;
639
+ custom_delivery_country: string;
654
640
  amended_from?: string | null | undefined;
655
641
  _user_tags?: string | null | undefined;
656
- __onload?: {
657
- load_after_mapping: boolean;
658
- } | null | undefined;
659
642
  shipping_provider?: string | null | undefined;
660
- delivery_contact?: string | null | undefined;
661
643
  awb_number?: string | null | undefined;
662
644
  carrier_service?: string | null | undefined;
663
645
  carrier?: string | null | undefined;
664
646
  delivery_company?: string | null | undefined;
665
647
  delivery_contact_email?: string | null | undefined;
666
648
  delivery_contact_name?: string | null | undefined;
649
+ delivery_contact?: string | null | undefined;
667
650
  delivery_supplier?: string | null | undefined;
668
651
  delivery_to?: string | null | undefined;
669
652
  parcel_template?: string | null | undefined;
@@ -677,11 +660,10 @@ export declare class ERPNextShipment {
677
660
  custom_return_shipping_provider?: string | null | undefined;
678
661
  tracking_status_info?: string | null | undefined;
679
662
  tracking_url?: string | null | undefined;
680
- custom_delivery_country?: string | null | undefined;
681
663
  custom_is_export?: number | null | undefined;
682
664
  custom_export_status?: "Open" | "Customs Declaration in Progress" | "Customs Declaration Submitted" | "Customs Declaration Confirmed" | null | undefined;
683
665
  }>;
684
- submit: ({ resourceId }: {
666
+ submit: ({ resourceId, }: {
685
667
  resourceId: string;
686
668
  }) => Promise<{
687
669
  status: string;
@@ -699,6 +681,7 @@ export declare class ERPNextShipment {
699
681
  delivery_address: string;
700
682
  delivery_customer: string;
701
683
  delivery_to_type: string;
684
+ description_of_content: string;
702
685
  pallets: string;
703
686
  pickup_address_name: string;
704
687
  pickup_address: string;
@@ -706,6 +689,7 @@ export declare class ERPNextShipment {
706
689
  pickup_contact_email: string;
707
690
  pickup_contact_person: string;
708
691
  pickup_contact: string;
692
+ pickup_date: string;
709
693
  pickup_from_type: string;
710
694
  pickup_from: string;
711
695
  pickup_to: string;
@@ -720,6 +704,7 @@ export declare class ERPNextShipment {
720
704
  modified_by: string;
721
705
  idx: number;
722
706
  doctype: string;
707
+ parent: string;
723
708
  parenttype: string;
724
709
  parentfield: string;
725
710
  delivery_note: string;
@@ -737,6 +722,7 @@ export declare class ERPNextShipment {
737
722
  modified_by: string;
738
723
  idx: number;
739
724
  doctype: string;
725
+ parent: string;
740
726
  parenttype: string;
741
727
  parentfield: string;
742
728
  count: number;
@@ -748,21 +734,17 @@ export declare class ERPNextShipment {
748
734
  shipment_type: string;
749
735
  tracking_status: string;
750
736
  value_of_goods: number;
751
- description_of_content: string;
752
- pickup_date: string;
737
+ custom_delivery_country: string;
753
738
  amended_from?: string | null | undefined;
754
739
  _user_tags?: string | null | undefined;
755
- __onload?: {
756
- load_after_mapping: boolean;
757
- } | null | undefined;
758
740
  shipping_provider?: string | null | undefined;
759
- delivery_contact?: string | null | undefined;
760
741
  awb_number?: string | null | undefined;
761
742
  carrier_service?: string | null | undefined;
762
743
  carrier?: string | null | undefined;
763
744
  delivery_company?: string | null | undefined;
764
745
  delivery_contact_email?: string | null | undefined;
765
746
  delivery_contact_name?: string | null | undefined;
747
+ delivery_contact?: string | null | undefined;
766
748
  delivery_supplier?: string | null | undefined;
767
749
  delivery_to?: string | null | undefined;
768
750
  parcel_template?: string | null | undefined;
@@ -776,17 +758,19 @@ export declare class ERPNextShipment {
776
758
  custom_return_shipping_provider?: string | null | undefined;
777
759
  tracking_status_info?: string | null | undefined;
778
760
  tracking_url?: string | null | undefined;
779
- custom_delivery_country?: string | null | undefined;
780
761
  custom_is_export?: number | null | undefined;
781
762
  custom_export_status?: "Open" | "Customs Declaration in Progress" | "Customs Declaration Submitted" | "Customs Declaration Confirmed" | null | undefined;
782
763
  }>;
783
764
  constructor(temporalClient: TemporalClient);
784
765
  createShipmentDraft(deliveryNoteName: string): Promise<{
785
766
  status: string;
767
+ incoterm: string;
768
+ shipment_id: string;
786
769
  delivery_address_name: string;
787
770
  delivery_address: string;
788
771
  delivery_customer: string;
789
772
  delivery_to_type: string;
773
+ description_of_content: string;
790
774
  pallets: string;
791
775
  pickup_address_name: string;
792
776
  pickup_address: string;
@@ -794,28 +778,52 @@ export declare class ERPNextShipment {
794
778
  pickup_contact_email: string;
795
779
  pickup_contact_person: string;
796
780
  pickup_contact: string;
781
+ pickup_date: string;
797
782
  pickup_from_type: string;
798
783
  pickup_from: string;
799
784
  pickup_to: string;
800
785
  pickup_type: string;
801
786
  shipment_amount: number;
802
- shipment_delivery_note: ({
787
+ shipment_delivery_note: {
803
788
  delivery_note: string;
804
- grand_total: number;
805
789
  __unsaved?: number | null | undefined;
806
- __islocal?: number | null | undefined;
807
- } | undefined)[];
808
- shipment_parcel: any[];
790
+ grand_total?: number | undefined;
791
+ }[];
792
+ shipment_parcel: {
793
+ length: number;
794
+ count: number;
795
+ width: number;
796
+ height: number;
797
+ weight: number;
798
+ }[];
809
799
  shipment_type: string;
810
800
  tracking_status: string;
811
801
  value_of_goods: number;
812
- __onload?: {
813
- load_after_mapping: boolean;
814
- } | null | undefined;
815
- __unsaved?: number | null | undefined;
816
- incoterm?: string | null | undefined;
817
- __islocal?: number | null | undefined;
818
- delivery_contact?: string | undefined;
802
+ docstatus?: number | undefined;
803
+ shipping_provider?: string | null | undefined;
804
+ awb_number?: string | null | undefined;
805
+ carrier_service?: string | null | undefined;
806
+ carrier?: string | null | undefined;
807
+ delivery_company?: string | null | undefined;
808
+ delivery_contact_email?: string | null | undefined;
809
+ delivery_contact_name?: string | null | undefined;
810
+ delivery_contact?: string | null | undefined;
811
+ delivery_supplier?: string | null | undefined;
812
+ delivery_to?: string | null | undefined;
813
+ parcel_template?: string | null | undefined;
814
+ pickup_contact_name?: string | null | undefined;
815
+ pickup_customer?: string | null | undefined;
816
+ pickup_supplier?: string | null | undefined;
817
+ pickup?: string | null | undefined;
818
+ service_provider?: string | null | undefined;
819
+ shipping_label?: string | null | undefined;
820
+ custom_return_label?: string | null | undefined;
821
+ custom_return_shipping_provider?: string | null | undefined;
822
+ tracking_status_info?: string | null | undefined;
823
+ tracking_url?: string | null | undefined;
824
+ custom_delivery_country?: string | undefined;
825
+ custom_is_export?: number | null | undefined;
826
+ custom_export_status?: "Open" | "Customs Declaration in Progress" | "Customs Declaration Submitted" | "Customs Declaration Confirmed" | null | undefined;
819
827
  }>;
820
828
  getShipmentInfoByOrderNumber(orderNumber: string): Promise<{
821
829
  name: string;
@@ -849,6 +857,7 @@ export declare class ERPNextShipment {
849
857
  delivery_address: string;
850
858
  delivery_customer: string;
851
859
  delivery_to_type: string;
860
+ description_of_content: string;
852
861
  pallets: string;
853
862
  pickup_address_name: string;
854
863
  pickup_address: string;
@@ -856,6 +865,7 @@ export declare class ERPNextShipment {
856
865
  pickup_contact_email: string;
857
866
  pickup_contact_person: string;
858
867
  pickup_contact: string;
868
+ pickup_date: string;
859
869
  pickup_from_type: string;
860
870
  pickup_from: string;
861
871
  pickup_to: string;
@@ -870,6 +880,7 @@ export declare class ERPNextShipment {
870
880
  modified_by: string;
871
881
  idx: number;
872
882
  doctype: string;
883
+ parent: string;
873
884
  parenttype: string;
874
885
  parentfield: string;
875
886
  delivery_note: string;
@@ -887,6 +898,7 @@ export declare class ERPNextShipment {
887
898
  modified_by: string;
888
899
  idx: number;
889
900
  doctype: string;
901
+ parent: string;
890
902
  parenttype: string;
891
903
  parentfield: string;
892
904
  count: number;
@@ -898,21 +910,17 @@ export declare class ERPNextShipment {
898
910
  shipment_type: string;
899
911
  tracking_status: string;
900
912
  value_of_goods: number;
901
- description_of_content: string;
902
- pickup_date: string;
913
+ custom_delivery_country: string;
903
914
  amended_from?: string | null | undefined;
904
915
  _user_tags?: string | null | undefined;
905
- __onload?: {
906
- load_after_mapping: boolean;
907
- } | null | undefined;
908
916
  shipping_provider?: string | null | undefined;
909
- delivery_contact?: string | null | undefined;
910
917
  awb_number?: string | null | undefined;
911
918
  carrier_service?: string | null | undefined;
912
919
  carrier?: string | null | undefined;
913
920
  delivery_company?: string | null | undefined;
914
921
  delivery_contact_email?: string | null | undefined;
915
922
  delivery_contact_name?: string | null | undefined;
923
+ delivery_contact?: string | null | undefined;
916
924
  delivery_supplier?: string | null | undefined;
917
925
  delivery_to?: string | null | undefined;
918
926
  parcel_template?: string | null | undefined;
@@ -926,7 +934,6 @@ export declare class ERPNextShipment {
926
934
  custom_return_shipping_provider?: string | null | undefined;
927
935
  tracking_status_info?: string | null | undefined;
928
936
  tracking_url?: string | null | undefined;
929
- custom_delivery_country?: string | null | undefined;
930
937
  custom_is_export?: number | null | undefined;
931
938
  custom_export_status?: "Open" | "Customs Declaration in Progress" | "Customs Declaration Submitted" | "Customs Declaration Confirmed" | null | undefined;
932
939
  }>;