erpnext-queue-client 1.0.6 → 1.1.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.
- package/dist/client.js +41 -16
- package/dist/erpnext/decryptFromErpNext.server.d.ts +1 -1
- package/dist/erpnext/doctypeResourceRequest.d.ts +38 -0
- package/dist/erpnext/doctypeResourceRequest.js +59 -0
- package/dist/erpnext/doctypeSubmittableResourceRequest.d.ts +8 -0
- package/dist/erpnext/doctypeSubmittableResourceRequest.js +39 -0
- package/dist/erpnext/doctypes/address.d.ts +263 -0
- package/dist/erpnext/doctypes/address.js +46 -0
- package/dist/erpnext/doctypes/contact.d.ts +383 -0
- package/dist/erpnext/doctypes/contact.js +46 -0
- package/dist/erpnext/doctypes/deliveryNote.d.ts +985 -0
- package/dist/erpnext/doctypes/deliveryNote.js +38 -0
- package/dist/erpnext/doctypes/item.d.ts +572 -0
- package/dist/erpnext/doctypes/item.js +95 -0
- package/dist/erpnext/doctypes/purchaseReceipt.d.ts +743 -0
- package/dist/erpnext/doctypes/purchaseReceipt.js +50 -0
- package/dist/erpnext/doctypes/shipment.d.ts +752 -0
- package/dist/erpnext/doctypes/shipment.js +51 -0
- package/dist/erpnext/erpnextRequestWrapper.js +15 -13
- package/dist/erpnext/fileRequests.d.ts +10 -0
- package/dist/erpnext/fileRequests.js +42 -0
- package/dist/erpnext/methodRequest.d.ts +15 -0
- package/dist/erpnext/methodRequest.js +32 -0
- package/dist/erpnext/model/Address.d.ts +200 -198
- package/dist/erpnext/model/Address.js +3 -2
- package/dist/erpnext/model/Contact.d.ts +343 -344
- package/dist/erpnext/model/Contact.js +2 -2
- package/dist/erpnext/model/Country.d.ts +83 -31
- package/dist/erpnext/model/Country.js +2 -6
- package/dist/erpnext/model/Customer.d.ts +64 -65
- package/dist/erpnext/model/Customer.js +2 -2
- package/dist/erpnext/model/DeliveryNote.d.ts +1048 -1048
- package/dist/erpnext/model/DispatchRun.d.ts +399 -399
- package/dist/erpnext/model/DispatcherPreset.d.ts +94 -94
- package/dist/erpnext/model/ERPNextRequest.d.ts +47 -30
- package/dist/erpnext/model/ERPNextResponse.d.ts +4 -4
- package/dist/erpnext/model/File.d.ts +88 -88
- package/dist/erpnext/model/Fulfiller.d.ts +97 -97
- package/dist/erpnext/model/FulfillerSettings.d.ts +66 -66
- package/dist/erpnext/model/FulfillmentStation.d.ts +2 -2
- package/dist/erpnext/model/Item.d.ts +819 -819
- package/dist/erpnext/model/Item.js +2 -2
- package/dist/erpnext/model/PaymentEntry.d.ts +197 -0
- package/dist/erpnext/model/PaymentEntry.js +63 -0
- package/dist/erpnext/model/ProjectedQuantityReport.d.ts +178 -178
- package/dist/erpnext/model/PurchaseOrder.d.ts +528 -528
- package/dist/erpnext/model/Receipt.d.ts +448 -448
- package/dist/erpnext/model/Receipt.js +2 -2
- package/dist/erpnext/model/ReceiptDraft.d.ts +392 -392
- package/dist/erpnext/model/Shipment.d.ts +709 -709
- package/dist/erpnext/model/ShippingProvider.d.ts +198 -198
- package/dist/erpnext/model/StockEntry.d.ts +248 -0
- package/dist/erpnext/model/StockEntry.js +76 -0
- package/dist/erpnext/model/StockReconciliation.d.ts +187 -0
- package/dist/erpnext/model/StockReconciliation.js +44 -0
- package/dist/erpnext/model/Supplier.d.ts +105 -0
- package/dist/erpnext/model/Supplier.js +39 -0
- package/dist/erpnext/model/Waitlist.d.ts +32 -0
- package/dist/erpnext/model/Waitlist.js +19 -0
- package/dist/erpnext/model/WarehouseCategory.d.ts +6 -6
- package/dist/erpnext/resourceRequest.d.ts +39 -10
- package/dist/erpnext/resourceRequest.js +115 -14
- package/dist/index.d.ts +39 -4
- package/dist/index.js +43 -8
- package/dist/utils/fernet.server.d.ts +11 -11
- package/dist/utils/fernet.server.js +0 -1
- package/dist/utils/request.js +2 -2
- package/dist/utils/zodUtils.d.ts +2 -1
- package/dist/utils/zodUtils.js +14 -1
- package/package.json +4 -1
- package/dist/erpnext/doctypes/country.d.ts +0 -9
- package/dist/erpnext/doctypes/country.js +0 -28
- package/dist/erpnext/erpnextRequests.d.ts +0 -1
- package/dist/erpnext/erpnextRequests.js +0 -15
- package/dist/erpnext.d.ts +0 -20
- package/dist/erpnext.js +0 -45
|
@@ -4,9 +4,9 @@ export declare const ShipmentDraftFromDeliveryNote: z.ZodObject<{
|
|
|
4
4
|
__onload: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
5
5
|
load_after_mapping: z.ZodBoolean;
|
|
6
6
|
}, "strip", z.ZodTypeAny, {
|
|
7
|
-
load_after_mapping
|
|
7
|
+
load_after_mapping: boolean;
|
|
8
8
|
}, {
|
|
9
|
-
load_after_mapping
|
|
9
|
+
load_after_mapping: boolean;
|
|
10
10
|
}>>>;
|
|
11
11
|
__unsaved: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
12
12
|
delivery_address_name: z.ZodString;
|
|
@@ -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
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
46
|
+
owner: string;
|
|
47
|
+
parentfield: string;
|
|
48
|
+
parenttype: string;
|
|
49
|
+
idx: number;
|
|
50
|
+
docstatus: number;
|
|
51
|
+
doctype: string;
|
|
52
|
+
grand_total: number;
|
|
53
|
+
delivery_note: string;
|
|
54
|
+
__unsaved?: number | null | undefined;
|
|
55
|
+
__islocal?: number | null | undefined;
|
|
56
56
|
}, {
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
57
|
+
owner: string;
|
|
58
|
+
parentfield: string;
|
|
59
|
+
parenttype: string;
|
|
60
|
+
idx: number;
|
|
61
|
+
docstatus: number;
|
|
62
|
+
doctype: string;
|
|
63
|
+
grand_total: number;
|
|
64
|
+
delivery_note: string;
|
|
65
|
+
__unsaved?: number | null | undefined;
|
|
66
|
+
__islocal?: number | null | undefined;
|
|
67
67
|
}>>, "many">;
|
|
68
68
|
shipment_parcel: z.ZodArray<z.ZodOptional<z.ZodAny>, "many">;
|
|
69
69
|
shipment_type: z.ZodString;
|
|
@@ -71,95 +71,95 @@ export declare const ShipmentDraftFromDeliveryNote: z.ZodObject<{
|
|
|
71
71
|
tracking_status: z.ZodString;
|
|
72
72
|
value_of_goods: z.ZodNumber;
|
|
73
73
|
}, "strip", z.ZodTypeAny, {
|
|
74
|
-
status
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
74
|
+
status: string;
|
|
75
|
+
owner: string;
|
|
76
|
+
idx: number;
|
|
77
|
+
docstatus: number;
|
|
78
|
+
doctype: string;
|
|
79
|
+
delivery_address_name: string;
|
|
80
|
+
delivery_address: string;
|
|
81
|
+
delivery_customer: string;
|
|
82
|
+
delivery_to_type: string;
|
|
83
|
+
pallets: string;
|
|
84
|
+
pickup_address_name: string;
|
|
85
|
+
pickup_address: string;
|
|
86
|
+
pickup_company: string;
|
|
87
|
+
pickup_contact_email: string;
|
|
88
|
+
pickup_contact_person: string;
|
|
89
|
+
pickup_contact: string;
|
|
90
|
+
pickup_from_type: string;
|
|
91
|
+
pickup_from: string;
|
|
92
|
+
pickup_to: string;
|
|
93
|
+
pickup_type: string;
|
|
94
|
+
shipment_amount: number;
|
|
95
|
+
shipment_delivery_note: ({
|
|
96
|
+
owner: string;
|
|
97
|
+
parentfield: string;
|
|
98
|
+
parenttype: string;
|
|
99
|
+
idx: number;
|
|
100
|
+
docstatus: number;
|
|
101
|
+
doctype: string;
|
|
102
|
+
grand_total: number;
|
|
103
|
+
delivery_note: string;
|
|
104
|
+
__unsaved?: number | null | undefined;
|
|
105
|
+
__islocal?: number | null | undefined;
|
|
106
|
+
} | undefined)[];
|
|
107
|
+
shipment_parcel: any[];
|
|
108
|
+
shipment_type: string;
|
|
109
|
+
tracking_status: string;
|
|
110
|
+
value_of_goods: number;
|
|
111
|
+
__unsaved?: number | null | undefined;
|
|
80
112
|
__onload?: {
|
|
81
|
-
load_after_mapping
|
|
82
|
-
};
|
|
83
|
-
__islocal?: number;
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
delivery_contact?: string;
|
|
87
|
-
delivery_customer?: string;
|
|
88
|
-
delivery_to_type?: string;
|
|
89
|
-
incoterm?: string;
|
|
90
|
-
pallets?: string;
|
|
91
|
-
pickup_address_name?: string;
|
|
92
|
-
pickup_address?: string;
|
|
93
|
-
pickup_company?: string;
|
|
94
|
-
pickup_contact_email?: string;
|
|
95
|
-
pickup_contact_person?: string;
|
|
96
|
-
pickup_contact?: string;
|
|
97
|
-
pickup_from_type?: string;
|
|
98
|
-
pickup_from?: string;
|
|
99
|
-
pickup_to?: string;
|
|
100
|
-
pickup_type?: string;
|
|
101
|
-
shipment_amount?: number;
|
|
102
|
-
shipment_delivery_note?: {
|
|
103
|
-
idx?: number;
|
|
104
|
-
docstatus?: number;
|
|
105
|
-
doctype?: string;
|
|
106
|
-
owner?: string;
|
|
107
|
-
parentfield?: string;
|
|
108
|
-
parenttype?: string;
|
|
109
|
-
__unsaved?: number;
|
|
110
|
-
grand_total?: number;
|
|
111
|
-
__islocal?: number;
|
|
112
|
-
delivery_note?: string;
|
|
113
|
-
}[];
|
|
114
|
-
shipment_parcel?: any[];
|
|
115
|
-
shipment_type?: string;
|
|
116
|
-
tracking_status?: string;
|
|
117
|
-
value_of_goods?: number;
|
|
113
|
+
load_after_mapping: boolean;
|
|
114
|
+
} | null | undefined;
|
|
115
|
+
__islocal?: number | null | undefined;
|
|
116
|
+
delivery_contact?: string | undefined;
|
|
117
|
+
incoterm?: string | null | undefined;
|
|
118
118
|
}, {
|
|
119
|
-
status
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
119
|
+
status: string;
|
|
120
|
+
owner: string;
|
|
121
|
+
idx: number;
|
|
122
|
+
docstatus: number;
|
|
123
|
+
doctype: string;
|
|
124
|
+
delivery_address_name: string;
|
|
125
|
+
delivery_address: string;
|
|
126
|
+
delivery_customer: string;
|
|
127
|
+
delivery_to_type: string;
|
|
128
|
+
pallets: string;
|
|
129
|
+
pickup_address_name: string;
|
|
130
|
+
pickup_address: string;
|
|
131
|
+
pickup_company: string;
|
|
132
|
+
pickup_contact_email: string;
|
|
133
|
+
pickup_contact_person: string;
|
|
134
|
+
pickup_contact: string;
|
|
135
|
+
pickup_from_type: string;
|
|
136
|
+
pickup_from: string;
|
|
137
|
+
pickup_to: string;
|
|
138
|
+
pickup_type: string;
|
|
139
|
+
shipment_amount: number;
|
|
140
|
+
shipment_delivery_note: ({
|
|
141
|
+
owner: string;
|
|
142
|
+
parentfield: string;
|
|
143
|
+
parenttype: string;
|
|
144
|
+
idx: number;
|
|
145
|
+
docstatus: number;
|
|
146
|
+
doctype: string;
|
|
147
|
+
grand_total: number;
|
|
148
|
+
delivery_note: string;
|
|
149
|
+
__unsaved?: number | null | undefined;
|
|
150
|
+
__islocal?: number | null | undefined;
|
|
151
|
+
} | undefined)[];
|
|
152
|
+
shipment_parcel: any[];
|
|
153
|
+
shipment_type: string;
|
|
154
|
+
tracking_status: string;
|
|
155
|
+
value_of_goods: number;
|
|
156
|
+
__unsaved?: number | null | undefined;
|
|
125
157
|
__onload?: {
|
|
126
|
-
load_after_mapping
|
|
127
|
-
};
|
|
128
|
-
__islocal?: number;
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
delivery_contact?: string;
|
|
132
|
-
delivery_customer?: string;
|
|
133
|
-
delivery_to_type?: string;
|
|
134
|
-
incoterm?: string;
|
|
135
|
-
pallets?: string;
|
|
136
|
-
pickup_address_name?: string;
|
|
137
|
-
pickup_address?: string;
|
|
138
|
-
pickup_company?: string;
|
|
139
|
-
pickup_contact_email?: string;
|
|
140
|
-
pickup_contact_person?: string;
|
|
141
|
-
pickup_contact?: string;
|
|
142
|
-
pickup_from_type?: string;
|
|
143
|
-
pickup_from?: string;
|
|
144
|
-
pickup_to?: string;
|
|
145
|
-
pickup_type?: string;
|
|
146
|
-
shipment_amount?: number;
|
|
147
|
-
shipment_delivery_note?: {
|
|
148
|
-
idx?: number;
|
|
149
|
-
docstatus?: number;
|
|
150
|
-
doctype?: string;
|
|
151
|
-
owner?: string;
|
|
152
|
-
parentfield?: string;
|
|
153
|
-
parenttype?: string;
|
|
154
|
-
__unsaved?: number;
|
|
155
|
-
grand_total?: number;
|
|
156
|
-
__islocal?: number;
|
|
157
|
-
delivery_note?: string;
|
|
158
|
-
}[];
|
|
159
|
-
shipment_parcel?: any[];
|
|
160
|
-
shipment_type?: string;
|
|
161
|
-
tracking_status?: string;
|
|
162
|
-
value_of_goods?: number;
|
|
158
|
+
load_after_mapping: boolean;
|
|
159
|
+
} | null | undefined;
|
|
160
|
+
__islocal?: number | null | undefined;
|
|
161
|
+
delivery_contact?: string | undefined;
|
|
162
|
+
incoterm?: string | null | undefined;
|
|
163
163
|
}>;
|
|
164
164
|
export declare const ShipmentParcel: z.ZodObject<{
|
|
165
165
|
name: z.ZodString;
|
|
@@ -179,39 +179,39 @@ export declare const ShipmentParcel: z.ZodObject<{
|
|
|
179
179
|
count: z.ZodNumber;
|
|
180
180
|
doctype: z.ZodString;
|
|
181
181
|
}, "strip", z.ZodTypeAny, {
|
|
182
|
-
length
|
|
183
|
-
name
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
width
|
|
195
|
-
height
|
|
196
|
-
weight
|
|
197
|
-
count
|
|
182
|
+
length: number;
|
|
183
|
+
name: string;
|
|
184
|
+
owner: string;
|
|
185
|
+
creation: string;
|
|
186
|
+
modified: string;
|
|
187
|
+
modified_by: string;
|
|
188
|
+
parent: string;
|
|
189
|
+
parentfield: string;
|
|
190
|
+
parenttype: string;
|
|
191
|
+
idx: number;
|
|
192
|
+
docstatus: number;
|
|
193
|
+
doctype: string;
|
|
194
|
+
width: number;
|
|
195
|
+
height: number;
|
|
196
|
+
weight: number;
|
|
197
|
+
count: number;
|
|
198
198
|
}, {
|
|
199
|
-
length
|
|
200
|
-
name
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
width
|
|
212
|
-
height
|
|
213
|
-
weight
|
|
214
|
-
count
|
|
199
|
+
length: number;
|
|
200
|
+
name: string;
|
|
201
|
+
owner: string;
|
|
202
|
+
creation: string;
|
|
203
|
+
modified: string;
|
|
204
|
+
modified_by: string;
|
|
205
|
+
parent: string;
|
|
206
|
+
parentfield: string;
|
|
207
|
+
parenttype: string;
|
|
208
|
+
idx: number;
|
|
209
|
+
docstatus: number;
|
|
210
|
+
doctype: string;
|
|
211
|
+
width: number;
|
|
212
|
+
height: number;
|
|
213
|
+
weight: number;
|
|
214
|
+
count: number;
|
|
215
215
|
}>;
|
|
216
216
|
export declare const ShipmentParcelPostBody: z.ZodObject<{
|
|
217
217
|
length: z.ZodNumber;
|
|
@@ -220,25 +220,25 @@ export declare const ShipmentParcelPostBody: z.ZodObject<{
|
|
|
220
220
|
weight: z.ZodNumber;
|
|
221
221
|
count: z.ZodNumber;
|
|
222
222
|
}, "strip", z.ZodTypeAny, {
|
|
223
|
-
length
|
|
224
|
-
width
|
|
225
|
-
height
|
|
226
|
-
weight
|
|
227
|
-
count
|
|
223
|
+
length: number;
|
|
224
|
+
width: number;
|
|
225
|
+
height: number;
|
|
226
|
+
weight: number;
|
|
227
|
+
count: number;
|
|
228
228
|
}, {
|
|
229
|
-
length
|
|
230
|
-
width
|
|
231
|
-
height
|
|
232
|
-
weight
|
|
233
|
-
count
|
|
229
|
+
length: number;
|
|
230
|
+
width: number;
|
|
231
|
+
height: number;
|
|
232
|
+
weight: number;
|
|
233
|
+
count: number;
|
|
234
234
|
}>;
|
|
235
235
|
export declare const Shipment: z.ZodObject<{
|
|
236
236
|
__onload: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
237
237
|
load_after_mapping: z.ZodBoolean;
|
|
238
238
|
}, "strip", z.ZodTypeAny, {
|
|
239
|
-
load_after_mapping
|
|
239
|
+
load_after_mapping: boolean;
|
|
240
240
|
}, {
|
|
241
|
-
load_after_mapping
|
|
241
|
+
load_after_mapping: boolean;
|
|
242
242
|
}>>>;
|
|
243
243
|
amended_from: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
244
244
|
awb_number: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -302,35 +302,35 @@ export declare const Shipment: z.ZodObject<{
|
|
|
302
302
|
doctype: z.ZodString;
|
|
303
303
|
__unsaved: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
304
304
|
}, "strip", z.ZodTypeAny, {
|
|
305
|
-
name
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
305
|
+
name: string;
|
|
306
|
+
owner: string;
|
|
307
|
+
creation: string;
|
|
308
|
+
modified: string;
|
|
309
|
+
modified_by: string;
|
|
310
|
+
parent: string;
|
|
311
|
+
parentfield: string;
|
|
312
|
+
parenttype: string;
|
|
313
|
+
idx: number;
|
|
314
|
+
docstatus: number;
|
|
315
|
+
doctype: string;
|
|
316
|
+
grand_total: number;
|
|
317
|
+
delivery_note: string;
|
|
318
|
+
__unsaved?: number | null | undefined;
|
|
319
319
|
}, {
|
|
320
|
-
name
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
320
|
+
name: string;
|
|
321
|
+
owner: string;
|
|
322
|
+
creation: string;
|
|
323
|
+
modified: string;
|
|
324
|
+
modified_by: string;
|
|
325
|
+
parent: string;
|
|
326
|
+
parentfield: string;
|
|
327
|
+
parenttype: string;
|
|
328
|
+
idx: number;
|
|
329
|
+
docstatus: number;
|
|
330
|
+
doctype: string;
|
|
331
|
+
grand_total: number;
|
|
332
|
+
delivery_note: string;
|
|
333
|
+
__unsaved?: number | null | undefined;
|
|
334
334
|
}>, "many">;
|
|
335
335
|
shipment_id: z.ZodString;
|
|
336
336
|
shipment_parcel: z.ZodArray<z.ZodObject<{
|
|
@@ -351,39 +351,39 @@ export declare const Shipment: z.ZodObject<{
|
|
|
351
351
|
count: z.ZodNumber;
|
|
352
352
|
doctype: z.ZodString;
|
|
353
353
|
}, "strip", z.ZodTypeAny, {
|
|
354
|
-
length
|
|
355
|
-
name
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
width
|
|
367
|
-
height
|
|
368
|
-
weight
|
|
369
|
-
count
|
|
354
|
+
length: number;
|
|
355
|
+
name: string;
|
|
356
|
+
owner: string;
|
|
357
|
+
creation: string;
|
|
358
|
+
modified: string;
|
|
359
|
+
modified_by: string;
|
|
360
|
+
parent: string;
|
|
361
|
+
parentfield: string;
|
|
362
|
+
parenttype: string;
|
|
363
|
+
idx: number;
|
|
364
|
+
docstatus: number;
|
|
365
|
+
doctype: string;
|
|
366
|
+
width: number;
|
|
367
|
+
height: number;
|
|
368
|
+
weight: number;
|
|
369
|
+
count: number;
|
|
370
370
|
}, {
|
|
371
|
-
length
|
|
372
|
-
name
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
width
|
|
384
|
-
height
|
|
385
|
-
weight
|
|
386
|
-
count
|
|
371
|
+
length: number;
|
|
372
|
+
name: string;
|
|
373
|
+
owner: string;
|
|
374
|
+
creation: string;
|
|
375
|
+
modified: string;
|
|
376
|
+
modified_by: string;
|
|
377
|
+
parent: string;
|
|
378
|
+
parentfield: string;
|
|
379
|
+
parenttype: string;
|
|
380
|
+
idx: number;
|
|
381
|
+
docstatus: number;
|
|
382
|
+
doctype: string;
|
|
383
|
+
width: number;
|
|
384
|
+
height: number;
|
|
385
|
+
weight: number;
|
|
386
|
+
count: number;
|
|
387
387
|
}>, "many">;
|
|
388
388
|
shipment_type: z.ZodString;
|
|
389
389
|
shipping_label: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -396,203 +396,203 @@ export declare const Shipment: z.ZodObject<{
|
|
|
396
396
|
tracking_url: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
397
397
|
value_of_goods: z.ZodNumber;
|
|
398
398
|
}, "strip", z.ZodTypeAny, {
|
|
399
|
-
status
|
|
400
|
-
name
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
docstatus?: number;
|
|
441
|
-
doctype?: string;
|
|
442
|
-
owner?: string;
|
|
443
|
-
parent?: string;
|
|
444
|
-
parentfield?: string;
|
|
445
|
-
parenttype?: string;
|
|
446
|
-
__unsaved?: number;
|
|
447
|
-
grand_total?: number;
|
|
448
|
-
delivery_note?: string;
|
|
399
|
+
status: string;
|
|
400
|
+
name: string;
|
|
401
|
+
owner: string;
|
|
402
|
+
creation: string;
|
|
403
|
+
modified: string;
|
|
404
|
+
modified_by: string;
|
|
405
|
+
idx: number;
|
|
406
|
+
docstatus: number;
|
|
407
|
+
doctype: string;
|
|
408
|
+
delivery_address_name: string;
|
|
409
|
+
delivery_address: string;
|
|
410
|
+
delivery_customer: string;
|
|
411
|
+
delivery_to_type: string;
|
|
412
|
+
incoterm: string;
|
|
413
|
+
pallets: string;
|
|
414
|
+
pickup_address_name: string;
|
|
415
|
+
pickup_address: string;
|
|
416
|
+
pickup_company: string;
|
|
417
|
+
pickup_contact_email: string;
|
|
418
|
+
pickup_contact_person: string;
|
|
419
|
+
pickup_contact: string;
|
|
420
|
+
pickup_from_type: string;
|
|
421
|
+
pickup_from: string;
|
|
422
|
+
pickup_to: string;
|
|
423
|
+
pickup_type: string;
|
|
424
|
+
shipment_amount: number;
|
|
425
|
+
shipment_delivery_note: {
|
|
426
|
+
name: string;
|
|
427
|
+
owner: string;
|
|
428
|
+
creation: string;
|
|
429
|
+
modified: string;
|
|
430
|
+
modified_by: string;
|
|
431
|
+
parent: string;
|
|
432
|
+
parentfield: string;
|
|
433
|
+
parenttype: string;
|
|
434
|
+
idx: number;
|
|
435
|
+
docstatus: number;
|
|
436
|
+
doctype: string;
|
|
437
|
+
grand_total: number;
|
|
438
|
+
delivery_note: string;
|
|
439
|
+
__unsaved?: number | null | undefined;
|
|
449
440
|
}[];
|
|
450
|
-
shipment_parcel
|
|
451
|
-
length
|
|
452
|
-
name
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
width
|
|
464
|
-
height
|
|
465
|
-
weight
|
|
466
|
-
count
|
|
441
|
+
shipment_parcel: {
|
|
442
|
+
length: number;
|
|
443
|
+
name: string;
|
|
444
|
+
owner: string;
|
|
445
|
+
creation: string;
|
|
446
|
+
modified: string;
|
|
447
|
+
modified_by: string;
|
|
448
|
+
parent: string;
|
|
449
|
+
parentfield: string;
|
|
450
|
+
parenttype: string;
|
|
451
|
+
idx: number;
|
|
452
|
+
docstatus: number;
|
|
453
|
+
doctype: string;
|
|
454
|
+
width: number;
|
|
455
|
+
height: number;
|
|
456
|
+
weight: number;
|
|
457
|
+
count: number;
|
|
467
458
|
}[];
|
|
468
|
-
shipment_type
|
|
469
|
-
tracking_status
|
|
470
|
-
value_of_goods
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
delivery_to?: string;
|
|
479
|
-
description_of_content?: string;
|
|
480
|
-
parcel_template?: string;
|
|
481
|
-
pickup_contact_name?: string;
|
|
482
|
-
pickup_customer?: string;
|
|
483
|
-
pickup_date?: string;
|
|
484
|
-
pickup_supplier?: string;
|
|
485
|
-
pickup?: string;
|
|
486
|
-
service_provider?: string;
|
|
487
|
-
shipment_id?: string;
|
|
488
|
-
shipping_label?: string;
|
|
489
|
-
custom_return_label?: string;
|
|
490
|
-
custom_return_shipping_provider?: string;
|
|
491
|
-
tracking_status_info?: string;
|
|
492
|
-
tracking_url?: string;
|
|
493
|
-
}, {
|
|
494
|
-
status?: string;
|
|
495
|
-
name?: string;
|
|
496
|
-
creation?: string;
|
|
497
|
-
modified?: string;
|
|
498
|
-
modified_by?: string;
|
|
499
|
-
idx?: number;
|
|
500
|
-
docstatus?: number;
|
|
501
|
-
doctype?: string;
|
|
502
|
-
owner?: string;
|
|
503
|
-
parent?: string;
|
|
504
|
-
parentfield?: string;
|
|
505
|
-
parenttype?: string;
|
|
506
|
-
amended_from?: string;
|
|
507
|
-
shipping_provider?: string;
|
|
459
|
+
shipment_type: string;
|
|
460
|
+
tracking_status: string;
|
|
461
|
+
value_of_goods: number;
|
|
462
|
+
description_of_content: string;
|
|
463
|
+
pickup_date: string;
|
|
464
|
+
shipment_id: string;
|
|
465
|
+
parent?: string | null | undefined;
|
|
466
|
+
parentfield?: string | null | undefined;
|
|
467
|
+
parenttype?: string | null | undefined;
|
|
468
|
+
amended_from?: string | null | undefined;
|
|
508
469
|
__onload?: {
|
|
509
|
-
load_after_mapping
|
|
510
|
-
};
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
470
|
+
load_after_mapping: boolean;
|
|
471
|
+
} | null | undefined;
|
|
472
|
+
delivery_contact?: string | null | undefined;
|
|
473
|
+
awb_number?: string | null | undefined;
|
|
474
|
+
carrier_service?: string | null | undefined;
|
|
475
|
+
carrier?: string | null | undefined;
|
|
476
|
+
delivery_company?: string | null | undefined;
|
|
477
|
+
delivery_contact_email?: string | null | undefined;
|
|
478
|
+
delivery_contact_name?: string | null | undefined;
|
|
479
|
+
delivery_supplier?: string | null | undefined;
|
|
480
|
+
delivery_to?: string | null | undefined;
|
|
481
|
+
parcel_template?: string | null | undefined;
|
|
482
|
+
pickup_contact_name?: string | null | undefined;
|
|
483
|
+
pickup_customer?: string | null | undefined;
|
|
484
|
+
pickup_supplier?: string | null | undefined;
|
|
485
|
+
pickup?: string | null | undefined;
|
|
486
|
+
service_provider?: string | null | undefined;
|
|
487
|
+
shipping_label?: string | null | undefined;
|
|
488
|
+
shipping_provider?: string | null | undefined;
|
|
489
|
+
custom_return_label?: string | null | undefined;
|
|
490
|
+
custom_return_shipping_provider?: string | null | undefined;
|
|
491
|
+
tracking_status_info?: string | null | undefined;
|
|
492
|
+
tracking_url?: string | null | undefined;
|
|
493
|
+
}, {
|
|
494
|
+
status: string;
|
|
495
|
+
name: string;
|
|
496
|
+
owner: string;
|
|
497
|
+
creation: string;
|
|
498
|
+
modified: string;
|
|
499
|
+
modified_by: string;
|
|
500
|
+
idx: number;
|
|
501
|
+
docstatus: number;
|
|
502
|
+
doctype: string;
|
|
503
|
+
delivery_address_name: string;
|
|
504
|
+
delivery_address: string;
|
|
505
|
+
delivery_customer: string;
|
|
506
|
+
delivery_to_type: string;
|
|
507
|
+
incoterm: string;
|
|
508
|
+
pallets: string;
|
|
509
|
+
pickup_address_name: string;
|
|
510
|
+
pickup_address: string;
|
|
511
|
+
pickup_company: string;
|
|
512
|
+
pickup_contact_email: string;
|
|
513
|
+
pickup_contact_person: string;
|
|
514
|
+
pickup_contact: string;
|
|
515
|
+
pickup_from_type: string;
|
|
516
|
+
pickup_from: string;
|
|
517
|
+
pickup_to: string;
|
|
518
|
+
pickup_type: string;
|
|
519
|
+
shipment_amount: number;
|
|
520
|
+
shipment_delivery_note: {
|
|
521
|
+
name: string;
|
|
522
|
+
owner: string;
|
|
523
|
+
creation: string;
|
|
524
|
+
modified: string;
|
|
525
|
+
modified_by: string;
|
|
526
|
+
parent: string;
|
|
527
|
+
parentfield: string;
|
|
528
|
+
parenttype: string;
|
|
529
|
+
idx: number;
|
|
530
|
+
docstatus: number;
|
|
531
|
+
doctype: string;
|
|
532
|
+
grand_total: number;
|
|
533
|
+
delivery_note: string;
|
|
534
|
+
__unsaved?: number | null | undefined;
|
|
544
535
|
}[];
|
|
545
|
-
shipment_parcel
|
|
546
|
-
length
|
|
547
|
-
name
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
width
|
|
559
|
-
height
|
|
560
|
-
weight
|
|
561
|
-
count
|
|
536
|
+
shipment_parcel: {
|
|
537
|
+
length: number;
|
|
538
|
+
name: string;
|
|
539
|
+
owner: string;
|
|
540
|
+
creation: string;
|
|
541
|
+
modified: string;
|
|
542
|
+
modified_by: string;
|
|
543
|
+
parent: string;
|
|
544
|
+
parentfield: string;
|
|
545
|
+
parenttype: string;
|
|
546
|
+
idx: number;
|
|
547
|
+
docstatus: number;
|
|
548
|
+
doctype: string;
|
|
549
|
+
width: number;
|
|
550
|
+
height: number;
|
|
551
|
+
weight: number;
|
|
552
|
+
count: number;
|
|
562
553
|
}[];
|
|
563
|
-
shipment_type
|
|
564
|
-
tracking_status
|
|
565
|
-
value_of_goods
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
554
|
+
shipment_type: string;
|
|
555
|
+
tracking_status: string;
|
|
556
|
+
value_of_goods: number;
|
|
557
|
+
description_of_content: string;
|
|
558
|
+
pickup_date: string;
|
|
559
|
+
shipment_id: string;
|
|
560
|
+
parent?: string | null | undefined;
|
|
561
|
+
parentfield?: string | null | undefined;
|
|
562
|
+
parenttype?: string | null | undefined;
|
|
563
|
+
amended_from?: string | null | undefined;
|
|
564
|
+
__onload?: {
|
|
565
|
+
load_after_mapping: boolean;
|
|
566
|
+
} | null | undefined;
|
|
567
|
+
delivery_contact?: string | null | undefined;
|
|
568
|
+
awb_number?: string | null | undefined;
|
|
569
|
+
carrier_service?: string | null | undefined;
|
|
570
|
+
carrier?: string | null | undefined;
|
|
571
|
+
delivery_company?: string | null | undefined;
|
|
572
|
+
delivery_contact_email?: string | null | undefined;
|
|
573
|
+
delivery_contact_name?: string | null | undefined;
|
|
574
|
+
delivery_supplier?: string | null | undefined;
|
|
575
|
+
delivery_to?: string | null | undefined;
|
|
576
|
+
parcel_template?: string | null | undefined;
|
|
577
|
+
pickup_contact_name?: string | null | undefined;
|
|
578
|
+
pickup_customer?: string | null | undefined;
|
|
579
|
+
pickup_supplier?: string | null | undefined;
|
|
580
|
+
pickup?: string | null | undefined;
|
|
581
|
+
service_provider?: string | null | undefined;
|
|
582
|
+
shipping_label?: string | null | undefined;
|
|
583
|
+
shipping_provider?: string | null | undefined;
|
|
584
|
+
custom_return_label?: string | null | undefined;
|
|
585
|
+
custom_return_shipping_provider?: string | null | undefined;
|
|
586
|
+
tracking_status_info?: string | null | undefined;
|
|
587
|
+
tracking_url?: string | null | undefined;
|
|
588
588
|
}>;
|
|
589
589
|
export declare const ShipmentDraftPostBody: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<Omit<{
|
|
590
590
|
__onload: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
591
591
|
load_after_mapping: z.ZodBoolean;
|
|
592
592
|
}, "strip", z.ZodTypeAny, {
|
|
593
|
-
load_after_mapping
|
|
593
|
+
load_after_mapping: boolean;
|
|
594
594
|
}, {
|
|
595
|
-
load_after_mapping
|
|
595
|
+
load_after_mapping: boolean;
|
|
596
596
|
}>>>;
|
|
597
597
|
amended_from: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
598
598
|
awb_number: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -656,35 +656,35 @@ export declare const ShipmentDraftPostBody: z.ZodObject<z.objectUtil.extendShape
|
|
|
656
656
|
doctype: z.ZodString;
|
|
657
657
|
__unsaved: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
658
658
|
}, "strip", z.ZodTypeAny, {
|
|
659
|
-
name
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
659
|
+
name: string;
|
|
660
|
+
owner: string;
|
|
661
|
+
creation: string;
|
|
662
|
+
modified: string;
|
|
663
|
+
modified_by: string;
|
|
664
|
+
parent: string;
|
|
665
|
+
parentfield: string;
|
|
666
|
+
parenttype: string;
|
|
667
|
+
idx: number;
|
|
668
|
+
docstatus: number;
|
|
669
|
+
doctype: string;
|
|
670
|
+
grand_total: number;
|
|
671
|
+
delivery_note: string;
|
|
672
|
+
__unsaved?: number | null | undefined;
|
|
673
673
|
}, {
|
|
674
|
-
name
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
674
|
+
name: string;
|
|
675
|
+
owner: string;
|
|
676
|
+
creation: string;
|
|
677
|
+
modified: string;
|
|
678
|
+
modified_by: string;
|
|
679
|
+
parent: string;
|
|
680
|
+
parentfield: string;
|
|
681
|
+
parenttype: string;
|
|
682
|
+
idx: number;
|
|
683
|
+
docstatus: number;
|
|
684
|
+
doctype: string;
|
|
685
|
+
grand_total: number;
|
|
686
|
+
delivery_note: string;
|
|
687
|
+
__unsaved?: number | null | undefined;
|
|
688
688
|
}>, "many">;
|
|
689
689
|
shipment_id: z.ZodString;
|
|
690
690
|
shipment_parcel: z.ZodArray<z.ZodObject<{
|
|
@@ -705,39 +705,39 @@ export declare const ShipmentDraftPostBody: z.ZodObject<z.objectUtil.extendShape
|
|
|
705
705
|
count: z.ZodNumber;
|
|
706
706
|
doctype: z.ZodString;
|
|
707
707
|
}, "strip", z.ZodTypeAny, {
|
|
708
|
-
length
|
|
709
|
-
name
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
width
|
|
721
|
-
height
|
|
722
|
-
weight
|
|
723
|
-
count
|
|
708
|
+
length: number;
|
|
709
|
+
name: string;
|
|
710
|
+
owner: string;
|
|
711
|
+
creation: string;
|
|
712
|
+
modified: string;
|
|
713
|
+
modified_by: string;
|
|
714
|
+
parent: string;
|
|
715
|
+
parentfield: string;
|
|
716
|
+
parenttype: string;
|
|
717
|
+
idx: number;
|
|
718
|
+
docstatus: number;
|
|
719
|
+
doctype: string;
|
|
720
|
+
width: number;
|
|
721
|
+
height: number;
|
|
722
|
+
weight: number;
|
|
723
|
+
count: number;
|
|
724
724
|
}, {
|
|
725
|
-
length
|
|
726
|
-
name
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
width
|
|
738
|
-
height
|
|
739
|
-
weight
|
|
740
|
-
count
|
|
725
|
+
length: number;
|
|
726
|
+
name: string;
|
|
727
|
+
owner: string;
|
|
728
|
+
creation: string;
|
|
729
|
+
modified: string;
|
|
730
|
+
modified_by: string;
|
|
731
|
+
parent: string;
|
|
732
|
+
parentfield: string;
|
|
733
|
+
parenttype: string;
|
|
734
|
+
idx: number;
|
|
735
|
+
docstatus: number;
|
|
736
|
+
doctype: string;
|
|
737
|
+
width: number;
|
|
738
|
+
height: number;
|
|
739
|
+
weight: number;
|
|
740
|
+
count: number;
|
|
741
741
|
}>, "many">;
|
|
742
742
|
shipment_type: z.ZodString;
|
|
743
743
|
shipping_label: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -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
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
765
|
+
owner: string;
|
|
766
|
+
parentfield: string;
|
|
767
|
+
parenttype: string;
|
|
768
|
+
idx: number;
|
|
769
|
+
docstatus: number;
|
|
770
|
+
doctype: string;
|
|
771
|
+
grand_total: number;
|
|
772
|
+
delivery_note: string;
|
|
773
|
+
__unsaved?: number | null | undefined;
|
|
774
|
+
__islocal?: number | null | undefined;
|
|
775
775
|
}, {
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
776
|
+
owner: string;
|
|
777
|
+
parentfield: string;
|
|
778
|
+
parenttype: string;
|
|
779
|
+
idx: number;
|
|
780
|
+
docstatus: number;
|
|
781
|
+
doctype: string;
|
|
782
|
+
grand_total: number;
|
|
783
|
+
delivery_note: string;
|
|
784
|
+
__unsaved?: number | null | undefined;
|
|
785
|
+
__islocal?: number | null | undefined;
|
|
786
786
|
}>>, "many">;
|
|
787
787
|
}>, {
|
|
788
788
|
shipment_parcel: z.ZodArray<z.ZodObject<{
|
|
@@ -792,170 +792,170 @@ export declare const ShipmentDraftPostBody: z.ZodObject<z.objectUtil.extendShape
|
|
|
792
792
|
weight: z.ZodNumber;
|
|
793
793
|
count: z.ZodNumber;
|
|
794
794
|
}, "strip", z.ZodTypeAny, {
|
|
795
|
-
length
|
|
796
|
-
width
|
|
797
|
-
height
|
|
798
|
-
weight
|
|
799
|
-
count
|
|
795
|
+
length: number;
|
|
796
|
+
width: number;
|
|
797
|
+
height: number;
|
|
798
|
+
weight: number;
|
|
799
|
+
count: number;
|
|
800
800
|
}, {
|
|
801
|
-
length
|
|
802
|
-
width
|
|
803
|
-
height
|
|
804
|
-
weight
|
|
805
|
-
count
|
|
801
|
+
length: number;
|
|
802
|
+
width: number;
|
|
803
|
+
height: number;
|
|
804
|
+
weight: number;
|
|
805
|
+
count: number;
|
|
806
806
|
}>, "many">;
|
|
807
807
|
}>, "strip", z.ZodTypeAny, {
|
|
808
|
-
status
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
__islocal?: number;
|
|
849
|
-
delivery_note?: string;
|
|
850
|
-
}[];
|
|
851
|
-
shipment_parcel?: {
|
|
852
|
-
length?: number;
|
|
853
|
-
width?: number;
|
|
854
|
-
height?: number;
|
|
855
|
-
weight?: number;
|
|
856
|
-
count?: number;
|
|
808
|
+
status: string;
|
|
809
|
+
owner: string;
|
|
810
|
+
idx: number;
|
|
811
|
+
docstatus: number;
|
|
812
|
+
doctype: string;
|
|
813
|
+
delivery_address_name: string;
|
|
814
|
+
delivery_address: string;
|
|
815
|
+
delivery_customer: string;
|
|
816
|
+
delivery_to_type: string;
|
|
817
|
+
incoterm: string;
|
|
818
|
+
pallets: string;
|
|
819
|
+
pickup_address_name: string;
|
|
820
|
+
pickup_address: string;
|
|
821
|
+
pickup_company: string;
|
|
822
|
+
pickup_contact_email: string;
|
|
823
|
+
pickup_contact_person: string;
|
|
824
|
+
pickup_contact: string;
|
|
825
|
+
pickup_from_type: string;
|
|
826
|
+
pickup_from: string;
|
|
827
|
+
pickup_to: string;
|
|
828
|
+
pickup_type: string;
|
|
829
|
+
shipment_amount: number;
|
|
830
|
+
shipment_delivery_note: ({
|
|
831
|
+
owner: string;
|
|
832
|
+
parentfield: string;
|
|
833
|
+
parenttype: string;
|
|
834
|
+
idx: number;
|
|
835
|
+
docstatus: number;
|
|
836
|
+
doctype: string;
|
|
837
|
+
grand_total: number;
|
|
838
|
+
delivery_note: string;
|
|
839
|
+
__unsaved?: number | null | undefined;
|
|
840
|
+
__islocal?: number | null | undefined;
|
|
841
|
+
} | undefined)[];
|
|
842
|
+
shipment_parcel: {
|
|
843
|
+
length: number;
|
|
844
|
+
width: number;
|
|
845
|
+
height: number;
|
|
846
|
+
weight: number;
|
|
847
|
+
count: number;
|
|
857
848
|
}[];
|
|
858
|
-
shipment_type
|
|
859
|
-
tracking_status
|
|
860
|
-
value_of_goods
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
delivery_to?: string;
|
|
869
|
-
description_of_content?: string;
|
|
870
|
-
parcel_template?: string;
|
|
871
|
-
pickup_contact_name?: string;
|
|
872
|
-
pickup_customer?: string;
|
|
873
|
-
pickup_date?: string;
|
|
874
|
-
pickup_supplier?: string;
|
|
875
|
-
pickup?: string;
|
|
876
|
-
service_provider?: string;
|
|
877
|
-
shipment_id?: string;
|
|
878
|
-
shipping_label?: string;
|
|
879
|
-
custom_return_label?: string;
|
|
880
|
-
custom_return_shipping_provider?: string;
|
|
881
|
-
tracking_status_info?: string;
|
|
882
|
-
tracking_url?: string;
|
|
883
|
-
}, {
|
|
884
|
-
status?: string;
|
|
885
|
-
idx?: number;
|
|
886
|
-
docstatus?: number;
|
|
887
|
-
doctype?: string;
|
|
888
|
-
owner?: string;
|
|
889
|
-
parent?: string;
|
|
890
|
-
parentfield?: string;
|
|
891
|
-
parenttype?: string;
|
|
892
|
-
amended_from?: string;
|
|
893
|
-
shipping_provider?: string;
|
|
849
|
+
shipment_type: string;
|
|
850
|
+
tracking_status: string;
|
|
851
|
+
value_of_goods: number;
|
|
852
|
+
description_of_content: string;
|
|
853
|
+
pickup_date: string;
|
|
854
|
+
shipment_id: string;
|
|
855
|
+
parent?: string | null | undefined;
|
|
856
|
+
parentfield?: string | null | undefined;
|
|
857
|
+
parenttype?: string | null | undefined;
|
|
858
|
+
amended_from?: string | null | undefined;
|
|
894
859
|
__onload?: {
|
|
895
|
-
load_after_mapping
|
|
896
|
-
};
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
860
|
+
load_after_mapping: boolean;
|
|
861
|
+
} | null | undefined;
|
|
862
|
+
delivery_contact?: string | null | undefined;
|
|
863
|
+
awb_number?: string | null | undefined;
|
|
864
|
+
carrier_service?: string | null | undefined;
|
|
865
|
+
carrier?: string | null | undefined;
|
|
866
|
+
delivery_company?: string | null | undefined;
|
|
867
|
+
delivery_contact_email?: string | null | undefined;
|
|
868
|
+
delivery_contact_name?: string | null | undefined;
|
|
869
|
+
delivery_supplier?: string | null | undefined;
|
|
870
|
+
delivery_to?: string | null | undefined;
|
|
871
|
+
parcel_template?: string | null | undefined;
|
|
872
|
+
pickup_contact_name?: string | null | undefined;
|
|
873
|
+
pickup_customer?: string | null | undefined;
|
|
874
|
+
pickup_supplier?: string | null | undefined;
|
|
875
|
+
pickup?: string | null | undefined;
|
|
876
|
+
service_provider?: string | null | undefined;
|
|
877
|
+
shipping_label?: string | null | undefined;
|
|
878
|
+
shipping_provider?: string | null | undefined;
|
|
879
|
+
custom_return_label?: string | null | undefined;
|
|
880
|
+
custom_return_shipping_provider?: string | null | undefined;
|
|
881
|
+
tracking_status_info?: string | null | undefined;
|
|
882
|
+
tracking_url?: string | null | undefined;
|
|
883
|
+
}, {
|
|
884
|
+
status: string;
|
|
885
|
+
owner: string;
|
|
886
|
+
idx: number;
|
|
887
|
+
docstatus: number;
|
|
888
|
+
doctype: string;
|
|
889
|
+
delivery_address_name: string;
|
|
890
|
+
delivery_address: string;
|
|
891
|
+
delivery_customer: string;
|
|
892
|
+
delivery_to_type: string;
|
|
893
|
+
incoterm: string;
|
|
894
|
+
pallets: string;
|
|
895
|
+
pickup_address_name: string;
|
|
896
|
+
pickup_address: string;
|
|
897
|
+
pickup_company: string;
|
|
898
|
+
pickup_contact_email: string;
|
|
899
|
+
pickup_contact_person: string;
|
|
900
|
+
pickup_contact: string;
|
|
901
|
+
pickup_from_type: string;
|
|
902
|
+
pickup_from: string;
|
|
903
|
+
pickup_to: string;
|
|
904
|
+
pickup_type: string;
|
|
905
|
+
shipment_amount: number;
|
|
906
|
+
shipment_delivery_note: ({
|
|
907
|
+
owner: string;
|
|
908
|
+
parentfield: string;
|
|
909
|
+
parenttype: string;
|
|
910
|
+
idx: number;
|
|
911
|
+
docstatus: number;
|
|
912
|
+
doctype: string;
|
|
913
|
+
grand_total: number;
|
|
914
|
+
delivery_note: string;
|
|
915
|
+
__unsaved?: number | null | undefined;
|
|
916
|
+
__islocal?: number | null | undefined;
|
|
917
|
+
} | undefined)[];
|
|
918
|
+
shipment_parcel: {
|
|
919
|
+
length: number;
|
|
920
|
+
width: number;
|
|
921
|
+
height: number;
|
|
922
|
+
weight: number;
|
|
923
|
+
count: number;
|
|
933
924
|
}[];
|
|
934
|
-
shipment_type
|
|
935
|
-
tracking_status
|
|
936
|
-
value_of_goods
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
925
|
+
shipment_type: string;
|
|
926
|
+
tracking_status: string;
|
|
927
|
+
value_of_goods: number;
|
|
928
|
+
description_of_content: string;
|
|
929
|
+
pickup_date: string;
|
|
930
|
+
shipment_id: string;
|
|
931
|
+
parent?: string | null | undefined;
|
|
932
|
+
parentfield?: string | null | undefined;
|
|
933
|
+
parenttype?: string | null | undefined;
|
|
934
|
+
amended_from?: string | null | undefined;
|
|
935
|
+
__onload?: {
|
|
936
|
+
load_after_mapping: boolean;
|
|
937
|
+
} | null | undefined;
|
|
938
|
+
delivery_contact?: string | null | undefined;
|
|
939
|
+
awb_number?: string | null | undefined;
|
|
940
|
+
carrier_service?: string | null | undefined;
|
|
941
|
+
carrier?: string | null | undefined;
|
|
942
|
+
delivery_company?: string | null | undefined;
|
|
943
|
+
delivery_contact_email?: string | null | undefined;
|
|
944
|
+
delivery_contact_name?: string | null | undefined;
|
|
945
|
+
delivery_supplier?: string | null | undefined;
|
|
946
|
+
delivery_to?: string | null | undefined;
|
|
947
|
+
parcel_template?: string | null | undefined;
|
|
948
|
+
pickup_contact_name?: string | null | undefined;
|
|
949
|
+
pickup_customer?: string | null | undefined;
|
|
950
|
+
pickup_supplier?: string | null | undefined;
|
|
951
|
+
pickup?: string | null | undefined;
|
|
952
|
+
service_provider?: string | null | undefined;
|
|
953
|
+
shipping_label?: string | null | undefined;
|
|
954
|
+
shipping_provider?: string | null | undefined;
|
|
955
|
+
custom_return_label?: string | null | undefined;
|
|
956
|
+
custom_return_shipping_provider?: string | null | undefined;
|
|
957
|
+
tracking_status_info?: string | null | undefined;
|
|
958
|
+
tracking_url?: string | null | undefined;
|
|
959
959
|
}>;
|
|
960
960
|
export type ShipmentType = z.infer<typeof Shipment>;
|
|
961
961
|
export type ShipmentDraftFromDeliveryNoteType = z.infer<typeof ShipmentDraftFromDeliveryNote>;
|
|
@@ -964,9 +964,9 @@ export declare const ShipmentAddShippingLabelAndSubmitBody: z.ZodObject<Pick<{
|
|
|
964
964
|
__onload: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
965
965
|
load_after_mapping: z.ZodBoolean;
|
|
966
966
|
}, "strip", z.ZodTypeAny, {
|
|
967
|
-
load_after_mapping
|
|
967
|
+
load_after_mapping: boolean;
|
|
968
968
|
}, {
|
|
969
|
-
load_after_mapping
|
|
969
|
+
load_after_mapping: boolean;
|
|
970
970
|
}>>>;
|
|
971
971
|
amended_from: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
972
972
|
awb_number: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -1030,35 +1030,35 @@ export declare const ShipmentAddShippingLabelAndSubmitBody: z.ZodObject<Pick<{
|
|
|
1030
1030
|
doctype: z.ZodString;
|
|
1031
1031
|
__unsaved: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
1032
1032
|
}, "strip", z.ZodTypeAny, {
|
|
1033
|
-
name
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1033
|
+
name: string;
|
|
1034
|
+
owner: string;
|
|
1035
|
+
creation: string;
|
|
1036
|
+
modified: string;
|
|
1037
|
+
modified_by: string;
|
|
1038
|
+
parent: string;
|
|
1039
|
+
parentfield: string;
|
|
1040
|
+
parenttype: string;
|
|
1041
|
+
idx: number;
|
|
1042
|
+
docstatus: number;
|
|
1043
|
+
doctype: string;
|
|
1044
|
+
grand_total: number;
|
|
1045
|
+
delivery_note: string;
|
|
1046
|
+
__unsaved?: number | null | undefined;
|
|
1047
1047
|
}, {
|
|
1048
|
-
name
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1048
|
+
name: string;
|
|
1049
|
+
owner: string;
|
|
1050
|
+
creation: string;
|
|
1051
|
+
modified: string;
|
|
1052
|
+
modified_by: string;
|
|
1053
|
+
parent: string;
|
|
1054
|
+
parentfield: string;
|
|
1055
|
+
parenttype: string;
|
|
1056
|
+
idx: number;
|
|
1057
|
+
docstatus: number;
|
|
1058
|
+
doctype: string;
|
|
1059
|
+
grand_total: number;
|
|
1060
|
+
delivery_note: string;
|
|
1061
|
+
__unsaved?: number | null | undefined;
|
|
1062
1062
|
}>, "many">;
|
|
1063
1063
|
shipment_id: z.ZodString;
|
|
1064
1064
|
shipment_parcel: z.ZodArray<z.ZodObject<{
|
|
@@ -1079,39 +1079,39 @@ export declare const ShipmentAddShippingLabelAndSubmitBody: z.ZodObject<Pick<{
|
|
|
1079
1079
|
count: z.ZodNumber;
|
|
1080
1080
|
doctype: z.ZodString;
|
|
1081
1081
|
}, "strip", z.ZodTypeAny, {
|
|
1082
|
-
length
|
|
1083
|
-
name
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
width
|
|
1095
|
-
height
|
|
1096
|
-
weight
|
|
1097
|
-
count
|
|
1082
|
+
length: number;
|
|
1083
|
+
name: string;
|
|
1084
|
+
owner: string;
|
|
1085
|
+
creation: string;
|
|
1086
|
+
modified: string;
|
|
1087
|
+
modified_by: string;
|
|
1088
|
+
parent: string;
|
|
1089
|
+
parentfield: string;
|
|
1090
|
+
parenttype: string;
|
|
1091
|
+
idx: number;
|
|
1092
|
+
docstatus: number;
|
|
1093
|
+
doctype: string;
|
|
1094
|
+
width: number;
|
|
1095
|
+
height: number;
|
|
1096
|
+
weight: number;
|
|
1097
|
+
count: number;
|
|
1098
1098
|
}, {
|
|
1099
|
-
length
|
|
1100
|
-
name
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
width
|
|
1112
|
-
height
|
|
1113
|
-
weight
|
|
1114
|
-
count
|
|
1099
|
+
length: number;
|
|
1100
|
+
name: string;
|
|
1101
|
+
owner: string;
|
|
1102
|
+
creation: string;
|
|
1103
|
+
modified: string;
|
|
1104
|
+
modified_by: string;
|
|
1105
|
+
parent: string;
|
|
1106
|
+
parentfield: string;
|
|
1107
|
+
parenttype: string;
|
|
1108
|
+
idx: number;
|
|
1109
|
+
docstatus: number;
|
|
1110
|
+
doctype: string;
|
|
1111
|
+
width: number;
|
|
1112
|
+
height: number;
|
|
1113
|
+
weight: number;
|
|
1114
|
+
count: number;
|
|
1115
1115
|
}>, "many">;
|
|
1116
1116
|
shipment_type: z.ZodString;
|
|
1117
1117
|
shipping_label: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -1123,17 +1123,17 @@ 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" | "
|
|
1127
|
-
docstatus
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
custom_return_label?: string;
|
|
1131
|
-
custom_return_shipping_provider?: string;
|
|
1126
|
+
}, "docstatus" | "shipping_label" | "shipping_provider" | "custom_return_label" | "custom_return_shipping_provider">, "strip", z.ZodTypeAny, {
|
|
1127
|
+
docstatus: number;
|
|
1128
|
+
shipping_label?: string | null | undefined;
|
|
1129
|
+
shipping_provider?: string | null | undefined;
|
|
1130
|
+
custom_return_label?: string | null | undefined;
|
|
1131
|
+
custom_return_shipping_provider?: string | null | undefined;
|
|
1132
1132
|
}, {
|
|
1133
|
-
docstatus
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
custom_return_label?: string;
|
|
1137
|
-
custom_return_shipping_provider?: string;
|
|
1133
|
+
docstatus: number;
|
|
1134
|
+
shipping_label?: string | null | undefined;
|
|
1135
|
+
shipping_provider?: string | null | undefined;
|
|
1136
|
+
custom_return_label?: string | null | undefined;
|
|
1137
|
+
custom_return_shipping_provider?: string | null | undefined;
|
|
1138
1138
|
}>;
|
|
1139
1139
|
export type ShipmentAddShippingLabelAndSubmitBodyType = z.infer<typeof ShipmentAddShippingLabelAndSubmitBody>;
|