erpnext-queue-client 1.0.4 → 1.0.6
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.
- package/dist/client.d.ts +6 -16
- package/dist/client.js +14 -39
- package/dist/erpnext/decryptFromErpNext.server.js +1 -1
- package/dist/erpnext/decryptFromErpNext.server.test.js +3 -3
- package/dist/erpnext/doctypes/country.d.ts +9 -0
- package/dist/erpnext/doctypes/country.js +28 -0
- package/dist/erpnext/erpnextRequests.d.ts +1 -1786
- package/dist/erpnext/erpnextRequests.js +13 -337
- package/dist/erpnext/model/Address.d.ts +48 -48
- package/dist/erpnext/model/Contact.d.ts +106 -106
- package/dist/erpnext/model/Country.d.ts +2 -2
- package/dist/erpnext/model/Customer.d.ts +4 -4
- package/dist/erpnext/model/DeliveryNote.d.ts +176 -176
- package/dist/erpnext/model/DispatchRun.d.ts +90 -90
- package/dist/erpnext/model/DispatcherPreset.d.ts +26 -26
- package/dist/erpnext/model/ERPNextQueue.d.ts +8 -7
- package/dist/erpnext/model/ERPNextRequest.d.ts +17 -0
- package/dist/erpnext/model/File.d.ts +4 -4
- package/dist/erpnext/model/Fulfiller.d.ts +11 -11
- package/dist/erpnext/model/FulfillerSettings.d.ts +6 -6
- package/dist/erpnext/model/Item.d.ts +204 -204
- package/dist/erpnext/model/ProjectedQuantityReport.d.ts +14 -14
- package/dist/erpnext/model/PurchaseOrder.d.ts +112 -112
- package/dist/erpnext/model/Receipt.d.ts +104 -104
- package/dist/erpnext/model/ReceiptDraft.d.ts +88 -88
- package/dist/erpnext/model/Shipment.d.ts +157 -157
- package/dist/erpnext/model/ShippingProvider.d.ts +23 -23
- package/dist/erpnext/resourceRequest.d.ts +16 -0
- package/dist/erpnext/resourceRequest.js +34 -0
- package/dist/erpnext.d.ts +20 -0
- package/dist/erpnext.js +45 -0
- package/dist/index.d.ts +17 -1
- package/dist/index.js +21 -12
- package/package.json +1 -1
|
@@ -43,27 +43,27 @@ export declare const ShipmentDraftFromDeliveryNote: z.ZodObject<{
|
|
|
43
43
|
__islocal: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
44
44
|
__unsaved: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
45
45
|
}, "strip", z.ZodTypeAny, {
|
|
46
|
-
owner?: string;
|
|
47
|
-
parentfield?: string;
|
|
48
|
-
parenttype?: string;
|
|
49
46
|
idx?: number;
|
|
50
47
|
docstatus?: number;
|
|
51
48
|
doctype?: string;
|
|
52
|
-
delivery_note?: string;
|
|
53
|
-
grand_total?: number;
|
|
54
|
-
__islocal?: number;
|
|
55
|
-
__unsaved?: number;
|
|
56
|
-
}, {
|
|
57
49
|
owner?: string;
|
|
58
50
|
parentfield?: string;
|
|
59
51
|
parenttype?: string;
|
|
52
|
+
__unsaved?: number;
|
|
53
|
+
grand_total?: number;
|
|
54
|
+
__islocal?: number;
|
|
55
|
+
delivery_note?: string;
|
|
56
|
+
}, {
|
|
60
57
|
idx?: number;
|
|
61
58
|
docstatus?: number;
|
|
62
59
|
doctype?: string;
|
|
63
|
-
|
|
60
|
+
owner?: string;
|
|
61
|
+
parentfield?: string;
|
|
62
|
+
parenttype?: string;
|
|
63
|
+
__unsaved?: number;
|
|
64
64
|
grand_total?: number;
|
|
65
65
|
__islocal?: number;
|
|
66
|
-
|
|
66
|
+
delivery_note?: string;
|
|
67
67
|
}>>, "many">;
|
|
68
68
|
shipment_parcel: z.ZodArray<z.ZodOptional<z.ZodAny>, "many">;
|
|
69
69
|
shipment_type: z.ZodString;
|
|
@@ -72,15 +72,15 @@ export declare const ShipmentDraftFromDeliveryNote: z.ZodObject<{
|
|
|
72
72
|
value_of_goods: z.ZodNumber;
|
|
73
73
|
}, "strip", z.ZodTypeAny, {
|
|
74
74
|
status?: string;
|
|
75
|
-
owner?: string;
|
|
76
75
|
idx?: number;
|
|
77
76
|
docstatus?: number;
|
|
78
77
|
doctype?: string;
|
|
79
|
-
|
|
78
|
+
owner?: string;
|
|
80
79
|
__unsaved?: number;
|
|
81
80
|
__onload?: {
|
|
82
81
|
load_after_mapping?: boolean;
|
|
83
82
|
};
|
|
83
|
+
__islocal?: number;
|
|
84
84
|
delivery_address_name?: string;
|
|
85
85
|
delivery_address?: string;
|
|
86
86
|
delivery_contact?: string;
|
|
@@ -100,16 +100,16 @@ export declare const ShipmentDraftFromDeliveryNote: z.ZodObject<{
|
|
|
100
100
|
pickup_type?: string;
|
|
101
101
|
shipment_amount?: number;
|
|
102
102
|
shipment_delivery_note?: {
|
|
103
|
-
owner?: string;
|
|
104
|
-
parentfield?: string;
|
|
105
|
-
parenttype?: string;
|
|
106
103
|
idx?: number;
|
|
107
104
|
docstatus?: number;
|
|
108
105
|
doctype?: string;
|
|
109
|
-
|
|
106
|
+
owner?: string;
|
|
107
|
+
parentfield?: string;
|
|
108
|
+
parenttype?: string;
|
|
109
|
+
__unsaved?: number;
|
|
110
110
|
grand_total?: number;
|
|
111
111
|
__islocal?: number;
|
|
112
|
-
|
|
112
|
+
delivery_note?: string;
|
|
113
113
|
}[];
|
|
114
114
|
shipment_parcel?: any[];
|
|
115
115
|
shipment_type?: string;
|
|
@@ -117,15 +117,15 @@ export declare const ShipmentDraftFromDeliveryNote: z.ZodObject<{
|
|
|
117
117
|
value_of_goods?: number;
|
|
118
118
|
}, {
|
|
119
119
|
status?: string;
|
|
120
|
-
owner?: string;
|
|
121
120
|
idx?: number;
|
|
122
121
|
docstatus?: number;
|
|
123
122
|
doctype?: string;
|
|
124
|
-
|
|
123
|
+
owner?: string;
|
|
125
124
|
__unsaved?: number;
|
|
126
125
|
__onload?: {
|
|
127
126
|
load_after_mapping?: boolean;
|
|
128
127
|
};
|
|
128
|
+
__islocal?: number;
|
|
129
129
|
delivery_address_name?: string;
|
|
130
130
|
delivery_address?: string;
|
|
131
131
|
delivery_contact?: string;
|
|
@@ -145,16 +145,16 @@ export declare const ShipmentDraftFromDeliveryNote: z.ZodObject<{
|
|
|
145
145
|
pickup_type?: string;
|
|
146
146
|
shipment_amount?: number;
|
|
147
147
|
shipment_delivery_note?: {
|
|
148
|
-
owner?: string;
|
|
149
|
-
parentfield?: string;
|
|
150
|
-
parenttype?: string;
|
|
151
148
|
idx?: number;
|
|
152
149
|
docstatus?: number;
|
|
153
150
|
doctype?: string;
|
|
154
|
-
|
|
151
|
+
owner?: string;
|
|
152
|
+
parentfield?: string;
|
|
153
|
+
parenttype?: string;
|
|
154
|
+
__unsaved?: number;
|
|
155
155
|
grand_total?: number;
|
|
156
156
|
__islocal?: number;
|
|
157
|
-
|
|
157
|
+
delivery_note?: string;
|
|
158
158
|
}[];
|
|
159
159
|
shipment_parcel?: any[];
|
|
160
160
|
shipment_type?: string;
|
|
@@ -181,16 +181,16 @@ export declare const ShipmentParcel: z.ZodObject<{
|
|
|
181
181
|
}, "strip", z.ZodTypeAny, {
|
|
182
182
|
length?: number;
|
|
183
183
|
name?: string;
|
|
184
|
-
owner?: string;
|
|
185
184
|
creation?: string;
|
|
186
185
|
modified?: string;
|
|
187
186
|
modified_by?: string;
|
|
188
|
-
parent?: string;
|
|
189
|
-
parentfield?: string;
|
|
190
|
-
parenttype?: string;
|
|
191
187
|
idx?: number;
|
|
192
188
|
docstatus?: number;
|
|
193
189
|
doctype?: string;
|
|
190
|
+
owner?: string;
|
|
191
|
+
parent?: string;
|
|
192
|
+
parentfield?: string;
|
|
193
|
+
parenttype?: string;
|
|
194
194
|
width?: number;
|
|
195
195
|
height?: number;
|
|
196
196
|
weight?: number;
|
|
@@ -198,16 +198,16 @@ export declare const ShipmentParcel: z.ZodObject<{
|
|
|
198
198
|
}, {
|
|
199
199
|
length?: number;
|
|
200
200
|
name?: string;
|
|
201
|
-
owner?: string;
|
|
202
201
|
creation?: string;
|
|
203
202
|
modified?: string;
|
|
204
203
|
modified_by?: string;
|
|
205
|
-
parent?: string;
|
|
206
|
-
parentfield?: string;
|
|
207
|
-
parenttype?: string;
|
|
208
204
|
idx?: number;
|
|
209
205
|
docstatus?: number;
|
|
210
206
|
doctype?: string;
|
|
207
|
+
owner?: string;
|
|
208
|
+
parent?: string;
|
|
209
|
+
parentfield?: string;
|
|
210
|
+
parenttype?: string;
|
|
211
211
|
width?: number;
|
|
212
212
|
height?: number;
|
|
213
213
|
weight?: number;
|
|
@@ -303,34 +303,34 @@ export declare const Shipment: z.ZodObject<{
|
|
|
303
303
|
__unsaved: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
304
304
|
}, "strip", z.ZodTypeAny, {
|
|
305
305
|
name?: string;
|
|
306
|
-
owner?: string;
|
|
307
306
|
creation?: string;
|
|
308
307
|
modified?: string;
|
|
309
308
|
modified_by?: string;
|
|
310
|
-
parent?: string;
|
|
311
|
-
parentfield?: string;
|
|
312
|
-
parenttype?: string;
|
|
313
309
|
idx?: number;
|
|
314
310
|
docstatus?: number;
|
|
315
311
|
doctype?: string;
|
|
316
|
-
|
|
317
|
-
|
|
312
|
+
owner?: string;
|
|
313
|
+
parent?: string;
|
|
314
|
+
parentfield?: string;
|
|
315
|
+
parenttype?: string;
|
|
318
316
|
__unsaved?: number;
|
|
317
|
+
grand_total?: number;
|
|
318
|
+
delivery_note?: string;
|
|
319
319
|
}, {
|
|
320
320
|
name?: string;
|
|
321
|
-
owner?: string;
|
|
322
321
|
creation?: string;
|
|
323
322
|
modified?: string;
|
|
324
323
|
modified_by?: string;
|
|
325
|
-
parent?: string;
|
|
326
|
-
parentfield?: string;
|
|
327
|
-
parenttype?: string;
|
|
328
324
|
idx?: number;
|
|
329
325
|
docstatus?: number;
|
|
330
326
|
doctype?: string;
|
|
331
|
-
|
|
332
|
-
|
|
327
|
+
owner?: string;
|
|
328
|
+
parent?: string;
|
|
329
|
+
parentfield?: string;
|
|
330
|
+
parenttype?: string;
|
|
333
331
|
__unsaved?: number;
|
|
332
|
+
grand_total?: number;
|
|
333
|
+
delivery_note?: string;
|
|
334
334
|
}>, "many">;
|
|
335
335
|
shipment_id: z.ZodString;
|
|
336
336
|
shipment_parcel: z.ZodArray<z.ZodObject<{
|
|
@@ -353,16 +353,16 @@ export declare const Shipment: z.ZodObject<{
|
|
|
353
353
|
}, "strip", z.ZodTypeAny, {
|
|
354
354
|
length?: number;
|
|
355
355
|
name?: string;
|
|
356
|
-
owner?: string;
|
|
357
356
|
creation?: string;
|
|
358
357
|
modified?: string;
|
|
359
358
|
modified_by?: string;
|
|
360
|
-
parent?: string;
|
|
361
|
-
parentfield?: string;
|
|
362
|
-
parenttype?: string;
|
|
363
359
|
idx?: number;
|
|
364
360
|
docstatus?: number;
|
|
365
361
|
doctype?: string;
|
|
362
|
+
owner?: string;
|
|
363
|
+
parent?: string;
|
|
364
|
+
parentfield?: string;
|
|
365
|
+
parenttype?: string;
|
|
366
366
|
width?: number;
|
|
367
367
|
height?: number;
|
|
368
368
|
weight?: number;
|
|
@@ -370,16 +370,16 @@ export declare const Shipment: z.ZodObject<{
|
|
|
370
370
|
}, {
|
|
371
371
|
length?: number;
|
|
372
372
|
name?: string;
|
|
373
|
-
owner?: string;
|
|
374
373
|
creation?: string;
|
|
375
374
|
modified?: string;
|
|
376
375
|
modified_by?: string;
|
|
377
|
-
parent?: string;
|
|
378
|
-
parentfield?: string;
|
|
379
|
-
parenttype?: string;
|
|
380
376
|
idx?: number;
|
|
381
377
|
docstatus?: number;
|
|
382
378
|
doctype?: string;
|
|
379
|
+
owner?: string;
|
|
380
|
+
parent?: string;
|
|
381
|
+
parentfield?: string;
|
|
382
|
+
parenttype?: string;
|
|
383
383
|
width?: number;
|
|
384
384
|
height?: number;
|
|
385
385
|
weight?: number;
|
|
@@ -398,16 +398,18 @@ export declare const Shipment: z.ZodObject<{
|
|
|
398
398
|
}, "strip", z.ZodTypeAny, {
|
|
399
399
|
status?: string;
|
|
400
400
|
name?: string;
|
|
401
|
-
owner?: string;
|
|
402
401
|
creation?: string;
|
|
403
402
|
modified?: string;
|
|
404
403
|
modified_by?: string;
|
|
405
|
-
parent?: string;
|
|
406
|
-
parentfield?: string;
|
|
407
|
-
parenttype?: string;
|
|
408
404
|
idx?: number;
|
|
409
405
|
docstatus?: number;
|
|
410
406
|
doctype?: string;
|
|
407
|
+
owner?: string;
|
|
408
|
+
parent?: string;
|
|
409
|
+
parentfield?: string;
|
|
410
|
+
parenttype?: string;
|
|
411
|
+
amended_from?: string;
|
|
412
|
+
shipping_provider?: string;
|
|
411
413
|
__onload?: {
|
|
412
414
|
load_after_mapping?: boolean;
|
|
413
415
|
};
|
|
@@ -431,33 +433,33 @@ export declare const Shipment: z.ZodObject<{
|
|
|
431
433
|
shipment_amount?: number;
|
|
432
434
|
shipment_delivery_note?: {
|
|
433
435
|
name?: string;
|
|
434
|
-
owner?: string;
|
|
435
436
|
creation?: string;
|
|
436
437
|
modified?: string;
|
|
437
438
|
modified_by?: string;
|
|
438
|
-
parent?: string;
|
|
439
|
-
parentfield?: string;
|
|
440
|
-
parenttype?: string;
|
|
441
439
|
idx?: number;
|
|
442
440
|
docstatus?: number;
|
|
443
441
|
doctype?: string;
|
|
444
|
-
|
|
445
|
-
|
|
442
|
+
owner?: string;
|
|
443
|
+
parent?: string;
|
|
444
|
+
parentfield?: string;
|
|
445
|
+
parenttype?: string;
|
|
446
446
|
__unsaved?: number;
|
|
447
|
+
grand_total?: number;
|
|
448
|
+
delivery_note?: string;
|
|
447
449
|
}[];
|
|
448
450
|
shipment_parcel?: {
|
|
449
451
|
length?: number;
|
|
450
452
|
name?: string;
|
|
451
|
-
owner?: string;
|
|
452
453
|
creation?: string;
|
|
453
454
|
modified?: string;
|
|
454
455
|
modified_by?: string;
|
|
455
|
-
parent?: string;
|
|
456
|
-
parentfield?: string;
|
|
457
|
-
parenttype?: string;
|
|
458
456
|
idx?: number;
|
|
459
457
|
docstatus?: number;
|
|
460
458
|
doctype?: string;
|
|
459
|
+
owner?: string;
|
|
460
|
+
parent?: string;
|
|
461
|
+
parentfield?: string;
|
|
462
|
+
parenttype?: string;
|
|
461
463
|
width?: number;
|
|
462
464
|
height?: number;
|
|
463
465
|
weight?: number;
|
|
@@ -466,7 +468,6 @@ export declare const Shipment: z.ZodObject<{
|
|
|
466
468
|
shipment_type?: string;
|
|
467
469
|
tracking_status?: string;
|
|
468
470
|
value_of_goods?: number;
|
|
469
|
-
amended_from?: string;
|
|
470
471
|
awb_number?: string;
|
|
471
472
|
carrier_service?: string;
|
|
472
473
|
carrier?: string;
|
|
@@ -485,7 +486,6 @@ export declare const Shipment: z.ZodObject<{
|
|
|
485
486
|
service_provider?: string;
|
|
486
487
|
shipment_id?: string;
|
|
487
488
|
shipping_label?: string;
|
|
488
|
-
shipping_provider?: string;
|
|
489
489
|
custom_return_label?: string;
|
|
490
490
|
custom_return_shipping_provider?: string;
|
|
491
491
|
tracking_status_info?: string;
|
|
@@ -493,16 +493,18 @@ export declare const Shipment: z.ZodObject<{
|
|
|
493
493
|
}, {
|
|
494
494
|
status?: string;
|
|
495
495
|
name?: string;
|
|
496
|
-
owner?: string;
|
|
497
496
|
creation?: string;
|
|
498
497
|
modified?: string;
|
|
499
498
|
modified_by?: string;
|
|
500
|
-
parent?: string;
|
|
501
|
-
parentfield?: string;
|
|
502
|
-
parenttype?: string;
|
|
503
499
|
idx?: number;
|
|
504
500
|
docstatus?: number;
|
|
505
501
|
doctype?: string;
|
|
502
|
+
owner?: string;
|
|
503
|
+
parent?: string;
|
|
504
|
+
parentfield?: string;
|
|
505
|
+
parenttype?: string;
|
|
506
|
+
amended_from?: string;
|
|
507
|
+
shipping_provider?: string;
|
|
506
508
|
__onload?: {
|
|
507
509
|
load_after_mapping?: boolean;
|
|
508
510
|
};
|
|
@@ -526,33 +528,33 @@ export declare const Shipment: z.ZodObject<{
|
|
|
526
528
|
shipment_amount?: number;
|
|
527
529
|
shipment_delivery_note?: {
|
|
528
530
|
name?: string;
|
|
529
|
-
owner?: string;
|
|
530
531
|
creation?: string;
|
|
531
532
|
modified?: string;
|
|
532
533
|
modified_by?: string;
|
|
533
|
-
parent?: string;
|
|
534
|
-
parentfield?: string;
|
|
535
|
-
parenttype?: string;
|
|
536
534
|
idx?: number;
|
|
537
535
|
docstatus?: number;
|
|
538
536
|
doctype?: string;
|
|
539
|
-
|
|
540
|
-
|
|
537
|
+
owner?: string;
|
|
538
|
+
parent?: string;
|
|
539
|
+
parentfield?: string;
|
|
540
|
+
parenttype?: string;
|
|
541
541
|
__unsaved?: number;
|
|
542
|
+
grand_total?: number;
|
|
543
|
+
delivery_note?: string;
|
|
542
544
|
}[];
|
|
543
545
|
shipment_parcel?: {
|
|
544
546
|
length?: number;
|
|
545
547
|
name?: string;
|
|
546
|
-
owner?: string;
|
|
547
548
|
creation?: string;
|
|
548
549
|
modified?: string;
|
|
549
550
|
modified_by?: string;
|
|
550
|
-
parent?: string;
|
|
551
|
-
parentfield?: string;
|
|
552
|
-
parenttype?: string;
|
|
553
551
|
idx?: number;
|
|
554
552
|
docstatus?: number;
|
|
555
553
|
doctype?: string;
|
|
554
|
+
owner?: string;
|
|
555
|
+
parent?: string;
|
|
556
|
+
parentfield?: string;
|
|
557
|
+
parenttype?: string;
|
|
556
558
|
width?: number;
|
|
557
559
|
height?: number;
|
|
558
560
|
weight?: number;
|
|
@@ -561,7 +563,6 @@ export declare const Shipment: z.ZodObject<{
|
|
|
561
563
|
shipment_type?: string;
|
|
562
564
|
tracking_status?: string;
|
|
563
565
|
value_of_goods?: number;
|
|
564
|
-
amended_from?: string;
|
|
565
566
|
awb_number?: string;
|
|
566
567
|
carrier_service?: string;
|
|
567
568
|
carrier?: string;
|
|
@@ -580,7 +581,6 @@ export declare const Shipment: z.ZodObject<{
|
|
|
580
581
|
service_provider?: string;
|
|
581
582
|
shipment_id?: string;
|
|
582
583
|
shipping_label?: string;
|
|
583
|
-
shipping_provider?: string;
|
|
584
584
|
custom_return_label?: string;
|
|
585
585
|
custom_return_shipping_provider?: string;
|
|
586
586
|
tracking_status_info?: string;
|
|
@@ -657,34 +657,34 @@ export declare const ShipmentDraftPostBody: z.ZodObject<z.objectUtil.extendShape
|
|
|
657
657
|
__unsaved: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
658
658
|
}, "strip", z.ZodTypeAny, {
|
|
659
659
|
name?: string;
|
|
660
|
-
owner?: string;
|
|
661
660
|
creation?: string;
|
|
662
661
|
modified?: string;
|
|
663
662
|
modified_by?: string;
|
|
664
|
-
parent?: string;
|
|
665
|
-
parentfield?: string;
|
|
666
|
-
parenttype?: string;
|
|
667
663
|
idx?: number;
|
|
668
664
|
docstatus?: number;
|
|
669
665
|
doctype?: string;
|
|
670
|
-
|
|
671
|
-
|
|
666
|
+
owner?: string;
|
|
667
|
+
parent?: string;
|
|
668
|
+
parentfield?: string;
|
|
669
|
+
parenttype?: string;
|
|
672
670
|
__unsaved?: number;
|
|
671
|
+
grand_total?: number;
|
|
672
|
+
delivery_note?: string;
|
|
673
673
|
}, {
|
|
674
674
|
name?: string;
|
|
675
|
-
owner?: string;
|
|
676
675
|
creation?: string;
|
|
677
676
|
modified?: string;
|
|
678
677
|
modified_by?: string;
|
|
679
|
-
parent?: string;
|
|
680
|
-
parentfield?: string;
|
|
681
|
-
parenttype?: string;
|
|
682
678
|
idx?: number;
|
|
683
679
|
docstatus?: number;
|
|
684
680
|
doctype?: string;
|
|
685
|
-
|
|
686
|
-
|
|
681
|
+
owner?: string;
|
|
682
|
+
parent?: string;
|
|
683
|
+
parentfield?: string;
|
|
684
|
+
parenttype?: string;
|
|
687
685
|
__unsaved?: number;
|
|
686
|
+
grand_total?: number;
|
|
687
|
+
delivery_note?: string;
|
|
688
688
|
}>, "many">;
|
|
689
689
|
shipment_id: z.ZodString;
|
|
690
690
|
shipment_parcel: z.ZodArray<z.ZodObject<{
|
|
@@ -707,16 +707,16 @@ export declare const ShipmentDraftPostBody: z.ZodObject<z.objectUtil.extendShape
|
|
|
707
707
|
}, "strip", z.ZodTypeAny, {
|
|
708
708
|
length?: number;
|
|
709
709
|
name?: string;
|
|
710
|
-
owner?: string;
|
|
711
710
|
creation?: string;
|
|
712
711
|
modified?: string;
|
|
713
712
|
modified_by?: string;
|
|
714
|
-
parent?: string;
|
|
715
|
-
parentfield?: string;
|
|
716
|
-
parenttype?: string;
|
|
717
713
|
idx?: number;
|
|
718
714
|
docstatus?: number;
|
|
719
715
|
doctype?: string;
|
|
716
|
+
owner?: string;
|
|
717
|
+
parent?: string;
|
|
718
|
+
parentfield?: string;
|
|
719
|
+
parenttype?: string;
|
|
720
720
|
width?: number;
|
|
721
721
|
height?: number;
|
|
722
722
|
weight?: number;
|
|
@@ -724,16 +724,16 @@ export declare const ShipmentDraftPostBody: z.ZodObject<z.objectUtil.extendShape
|
|
|
724
724
|
}, {
|
|
725
725
|
length?: number;
|
|
726
726
|
name?: string;
|
|
727
|
-
owner?: string;
|
|
728
727
|
creation?: string;
|
|
729
728
|
modified?: string;
|
|
730
729
|
modified_by?: string;
|
|
731
|
-
parent?: string;
|
|
732
|
-
parentfield?: string;
|
|
733
|
-
parenttype?: string;
|
|
734
730
|
idx?: number;
|
|
735
731
|
docstatus?: number;
|
|
736
732
|
doctype?: string;
|
|
733
|
+
owner?: string;
|
|
734
|
+
parent?: string;
|
|
735
|
+
parentfield?: string;
|
|
736
|
+
parenttype?: string;
|
|
737
737
|
width?: number;
|
|
738
738
|
height?: number;
|
|
739
739
|
weight?: number;
|
|
@@ -762,27 +762,27 @@ export declare const ShipmentDraftPostBody: z.ZodObject<z.objectUtil.extendShape
|
|
|
762
762
|
__islocal: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
763
763
|
__unsaved: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
764
764
|
}, "strip", z.ZodTypeAny, {
|
|
765
|
-
owner?: string;
|
|
766
|
-
parentfield?: string;
|
|
767
|
-
parenttype?: string;
|
|
768
765
|
idx?: number;
|
|
769
766
|
docstatus?: number;
|
|
770
767
|
doctype?: string;
|
|
771
|
-
delivery_note?: string;
|
|
772
|
-
grand_total?: number;
|
|
773
|
-
__islocal?: number;
|
|
774
|
-
__unsaved?: number;
|
|
775
|
-
}, {
|
|
776
768
|
owner?: string;
|
|
777
769
|
parentfield?: string;
|
|
778
770
|
parenttype?: string;
|
|
771
|
+
__unsaved?: number;
|
|
772
|
+
grand_total?: number;
|
|
773
|
+
__islocal?: number;
|
|
774
|
+
delivery_note?: string;
|
|
775
|
+
}, {
|
|
779
776
|
idx?: number;
|
|
780
777
|
docstatus?: number;
|
|
781
778
|
doctype?: string;
|
|
782
|
-
|
|
779
|
+
owner?: string;
|
|
780
|
+
parentfield?: string;
|
|
781
|
+
parenttype?: string;
|
|
782
|
+
__unsaved?: number;
|
|
783
783
|
grand_total?: number;
|
|
784
784
|
__islocal?: number;
|
|
785
|
-
|
|
785
|
+
delivery_note?: string;
|
|
786
786
|
}>>, "many">;
|
|
787
787
|
}>, {
|
|
788
788
|
shipment_parcel: z.ZodArray<z.ZodObject<{
|
|
@@ -806,13 +806,15 @@ export declare const ShipmentDraftPostBody: z.ZodObject<z.objectUtil.extendShape
|
|
|
806
806
|
}>, "many">;
|
|
807
807
|
}>, "strip", z.ZodTypeAny, {
|
|
808
808
|
status?: string;
|
|
809
|
+
idx?: number;
|
|
810
|
+
docstatus?: number;
|
|
811
|
+
doctype?: string;
|
|
809
812
|
owner?: string;
|
|
810
813
|
parent?: string;
|
|
811
814
|
parentfield?: string;
|
|
812
815
|
parenttype?: string;
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
doctype?: string;
|
|
816
|
+
amended_from?: string;
|
|
817
|
+
shipping_provider?: string;
|
|
816
818
|
__onload?: {
|
|
817
819
|
load_after_mapping?: boolean;
|
|
818
820
|
};
|
|
@@ -835,16 +837,16 @@ export declare const ShipmentDraftPostBody: z.ZodObject<z.objectUtil.extendShape
|
|
|
835
837
|
pickup_type?: string;
|
|
836
838
|
shipment_amount?: number;
|
|
837
839
|
shipment_delivery_note?: {
|
|
838
|
-
owner?: string;
|
|
839
|
-
parentfield?: string;
|
|
840
|
-
parenttype?: string;
|
|
841
840
|
idx?: number;
|
|
842
841
|
docstatus?: number;
|
|
843
842
|
doctype?: string;
|
|
844
|
-
|
|
843
|
+
owner?: string;
|
|
844
|
+
parentfield?: string;
|
|
845
|
+
parenttype?: string;
|
|
846
|
+
__unsaved?: number;
|
|
845
847
|
grand_total?: number;
|
|
846
848
|
__islocal?: number;
|
|
847
|
-
|
|
849
|
+
delivery_note?: string;
|
|
848
850
|
}[];
|
|
849
851
|
shipment_parcel?: {
|
|
850
852
|
length?: number;
|
|
@@ -856,7 +858,6 @@ export declare const ShipmentDraftPostBody: z.ZodObject<z.objectUtil.extendShape
|
|
|
856
858
|
shipment_type?: string;
|
|
857
859
|
tracking_status?: string;
|
|
858
860
|
value_of_goods?: number;
|
|
859
|
-
amended_from?: string;
|
|
860
861
|
awb_number?: string;
|
|
861
862
|
carrier_service?: string;
|
|
862
863
|
carrier?: string;
|
|
@@ -875,20 +876,21 @@ export declare const ShipmentDraftPostBody: z.ZodObject<z.objectUtil.extendShape
|
|
|
875
876
|
service_provider?: string;
|
|
876
877
|
shipment_id?: string;
|
|
877
878
|
shipping_label?: string;
|
|
878
|
-
shipping_provider?: string;
|
|
879
879
|
custom_return_label?: string;
|
|
880
880
|
custom_return_shipping_provider?: string;
|
|
881
881
|
tracking_status_info?: string;
|
|
882
882
|
tracking_url?: string;
|
|
883
883
|
}, {
|
|
884
884
|
status?: string;
|
|
885
|
+
idx?: number;
|
|
886
|
+
docstatus?: number;
|
|
887
|
+
doctype?: string;
|
|
885
888
|
owner?: string;
|
|
886
889
|
parent?: string;
|
|
887
890
|
parentfield?: string;
|
|
888
891
|
parenttype?: string;
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
doctype?: string;
|
|
892
|
+
amended_from?: string;
|
|
893
|
+
shipping_provider?: string;
|
|
892
894
|
__onload?: {
|
|
893
895
|
load_after_mapping?: boolean;
|
|
894
896
|
};
|
|
@@ -911,16 +913,16 @@ export declare const ShipmentDraftPostBody: z.ZodObject<z.objectUtil.extendShape
|
|
|
911
913
|
pickup_type?: string;
|
|
912
914
|
shipment_amount?: number;
|
|
913
915
|
shipment_delivery_note?: {
|
|
914
|
-
owner?: string;
|
|
915
|
-
parentfield?: string;
|
|
916
|
-
parenttype?: string;
|
|
917
916
|
idx?: number;
|
|
918
917
|
docstatus?: number;
|
|
919
918
|
doctype?: string;
|
|
920
|
-
|
|
919
|
+
owner?: string;
|
|
920
|
+
parentfield?: string;
|
|
921
|
+
parenttype?: string;
|
|
922
|
+
__unsaved?: number;
|
|
921
923
|
grand_total?: number;
|
|
922
924
|
__islocal?: number;
|
|
923
|
-
|
|
925
|
+
delivery_note?: string;
|
|
924
926
|
}[];
|
|
925
927
|
shipment_parcel?: {
|
|
926
928
|
length?: number;
|
|
@@ -932,7 +934,6 @@ export declare const ShipmentDraftPostBody: z.ZodObject<z.objectUtil.extendShape
|
|
|
932
934
|
shipment_type?: string;
|
|
933
935
|
tracking_status?: string;
|
|
934
936
|
value_of_goods?: number;
|
|
935
|
-
amended_from?: string;
|
|
936
937
|
awb_number?: string;
|
|
937
938
|
carrier_service?: string;
|
|
938
939
|
carrier?: string;
|
|
@@ -951,7 +952,6 @@ export declare const ShipmentDraftPostBody: z.ZodObject<z.objectUtil.extendShape
|
|
|
951
952
|
service_provider?: string;
|
|
952
953
|
shipment_id?: string;
|
|
953
954
|
shipping_label?: string;
|
|
954
|
-
shipping_provider?: string;
|
|
955
955
|
custom_return_label?: string;
|
|
956
956
|
custom_return_shipping_provider?: string;
|
|
957
957
|
tracking_status_info?: string;
|
|
@@ -1031,34 +1031,34 @@ export declare const ShipmentAddShippingLabelAndSubmitBody: z.ZodObject<Pick<{
|
|
|
1031
1031
|
__unsaved: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
1032
1032
|
}, "strip", z.ZodTypeAny, {
|
|
1033
1033
|
name?: string;
|
|
1034
|
-
owner?: string;
|
|
1035
1034
|
creation?: string;
|
|
1036
1035
|
modified?: string;
|
|
1037
1036
|
modified_by?: string;
|
|
1038
|
-
parent?: string;
|
|
1039
|
-
parentfield?: string;
|
|
1040
|
-
parenttype?: string;
|
|
1041
1037
|
idx?: number;
|
|
1042
1038
|
docstatus?: number;
|
|
1043
1039
|
doctype?: string;
|
|
1044
|
-
|
|
1045
|
-
|
|
1040
|
+
owner?: string;
|
|
1041
|
+
parent?: string;
|
|
1042
|
+
parentfield?: string;
|
|
1043
|
+
parenttype?: string;
|
|
1046
1044
|
__unsaved?: number;
|
|
1045
|
+
grand_total?: number;
|
|
1046
|
+
delivery_note?: string;
|
|
1047
1047
|
}, {
|
|
1048
1048
|
name?: string;
|
|
1049
|
-
owner?: string;
|
|
1050
1049
|
creation?: string;
|
|
1051
1050
|
modified?: string;
|
|
1052
1051
|
modified_by?: string;
|
|
1053
|
-
parent?: string;
|
|
1054
|
-
parentfield?: string;
|
|
1055
|
-
parenttype?: string;
|
|
1056
1052
|
idx?: number;
|
|
1057
1053
|
docstatus?: number;
|
|
1058
1054
|
doctype?: string;
|
|
1059
|
-
|
|
1060
|
-
|
|
1055
|
+
owner?: string;
|
|
1056
|
+
parent?: string;
|
|
1057
|
+
parentfield?: string;
|
|
1058
|
+
parenttype?: string;
|
|
1061
1059
|
__unsaved?: number;
|
|
1060
|
+
grand_total?: number;
|
|
1061
|
+
delivery_note?: string;
|
|
1062
1062
|
}>, "many">;
|
|
1063
1063
|
shipment_id: z.ZodString;
|
|
1064
1064
|
shipment_parcel: z.ZodArray<z.ZodObject<{
|
|
@@ -1081,16 +1081,16 @@ export declare const ShipmentAddShippingLabelAndSubmitBody: z.ZodObject<Pick<{
|
|
|
1081
1081
|
}, "strip", z.ZodTypeAny, {
|
|
1082
1082
|
length?: number;
|
|
1083
1083
|
name?: string;
|
|
1084
|
-
owner?: string;
|
|
1085
1084
|
creation?: string;
|
|
1086
1085
|
modified?: string;
|
|
1087
1086
|
modified_by?: string;
|
|
1088
|
-
parent?: string;
|
|
1089
|
-
parentfield?: string;
|
|
1090
|
-
parenttype?: string;
|
|
1091
1087
|
idx?: number;
|
|
1092
1088
|
docstatus?: number;
|
|
1093
1089
|
doctype?: string;
|
|
1090
|
+
owner?: string;
|
|
1091
|
+
parent?: string;
|
|
1092
|
+
parentfield?: string;
|
|
1093
|
+
parenttype?: string;
|
|
1094
1094
|
width?: number;
|
|
1095
1095
|
height?: number;
|
|
1096
1096
|
weight?: number;
|
|
@@ -1098,16 +1098,16 @@ export declare const ShipmentAddShippingLabelAndSubmitBody: z.ZodObject<Pick<{
|
|
|
1098
1098
|
}, {
|
|
1099
1099
|
length?: number;
|
|
1100
1100
|
name?: string;
|
|
1101
|
-
owner?: string;
|
|
1102
1101
|
creation?: string;
|
|
1103
1102
|
modified?: string;
|
|
1104
1103
|
modified_by?: string;
|
|
1105
|
-
parent?: string;
|
|
1106
|
-
parentfield?: string;
|
|
1107
|
-
parenttype?: string;
|
|
1108
1104
|
idx?: number;
|
|
1109
1105
|
docstatus?: number;
|
|
1110
1106
|
doctype?: string;
|
|
1107
|
+
owner?: string;
|
|
1108
|
+
parent?: string;
|
|
1109
|
+
parentfield?: string;
|
|
1110
|
+
parenttype?: string;
|
|
1111
1111
|
width?: number;
|
|
1112
1112
|
height?: number;
|
|
1113
1113
|
weight?: number;
|
|
@@ -1123,16 +1123,16 @@ export declare const ShipmentAddShippingLabelAndSubmitBody: z.ZodObject<Pick<{
|
|
|
1123
1123
|
tracking_status: z.ZodString;
|
|
1124
1124
|
tracking_url: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1125
1125
|
value_of_goods: z.ZodNumber;
|
|
1126
|
-
}, "docstatus" | "
|
|
1126
|
+
}, "docstatus" | "shipping_provider" | "shipping_label" | "custom_return_label" | "custom_return_shipping_provider">, "strip", z.ZodTypeAny, {
|
|
1127
1127
|
docstatus?: number;
|
|
1128
|
-
shipping_label?: string;
|
|
1129
1128
|
shipping_provider?: string;
|
|
1129
|
+
shipping_label?: string;
|
|
1130
1130
|
custom_return_label?: string;
|
|
1131
1131
|
custom_return_shipping_provider?: string;
|
|
1132
1132
|
}, {
|
|
1133
1133
|
docstatus?: number;
|
|
1134
|
-
shipping_label?: string;
|
|
1135
1134
|
shipping_provider?: string;
|
|
1135
|
+
shipping_label?: string;
|
|
1136
1136
|
custom_return_label?: string;
|
|
1137
1137
|
custom_return_shipping_provider?: string;
|
|
1138
1138
|
}>;
|