erpnext-queue-client 1.38.0 → 2.0.0-beta.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 +2 -2
- package/dist/constants.d.ts +1 -1
- package/dist/constants.js +16 -2
- package/dist/erpnext/doctypeResourceRequest.d.ts +12 -11
- package/dist/erpnext/doctypeResourceRequest.js +3 -2
- package/dist/erpnext/doctypeSubmittableResourceRequest.d.ts +121 -4
- package/dist/erpnext/doctypeSubmittableResourceRequest.js +14 -1
- package/dist/erpnext/doctypes/address.d.ts +154 -219
- package/dist/erpnext/doctypes/address.js +0 -2
- package/dist/erpnext/doctypes/contact.d.ts +151 -308
- package/dist/erpnext/doctypes/contact.js +1 -1
- package/dist/erpnext/doctypes/deliveryNote.d.ts +644 -455
- package/dist/erpnext/doctypes/deliveryNote.js +4 -10
- package/dist/erpnext/doctypes/item.d.ts +215 -308
- package/dist/erpnext/doctypes/productBundle.d.ts +43 -53
- package/dist/erpnext/doctypes/purchaseInvoice.d.ts +669 -697
- package/dist/erpnext/doctypes/purchaseReceipt.d.ts +265 -314
- package/dist/erpnext/doctypes/salesInvoice.d.ts +3332 -0
- package/dist/erpnext/doctypes/salesInvoice.js +72 -0
- package/dist/erpnext/doctypes/servicecase.d.ts +197 -140
- package/dist/erpnext/doctypes/servicecase.js +4 -6
- package/dist/erpnext/doctypes/shipment.d.ts +168 -258
- package/dist/erpnext/doctypes/tags.d.ts +10 -0
- package/dist/erpnext/doctypes/tags.js +102 -0
- package/dist/erpnext/model/Account.d.ts +0 -33
- package/dist/erpnext/model/Account.js +0 -11
- package/dist/erpnext/model/Address.d.ts +112 -233
- package/dist/erpnext/model/Address.js +11 -49
- package/dist/erpnext/model/Attachment.d.ts +0 -3
- package/dist/erpnext/model/Attachment.js +0 -1
- package/dist/erpnext/model/Boolean.d.ts +4 -0
- package/dist/erpnext/model/Boolean.js +9 -0
- package/dist/erpnext/model/Compliance.d.ts +0 -112
- package/dist/erpnext/model/Compliance.js +0 -19
- package/dist/erpnext/model/Contact.d.ts +166 -416
- package/dist/erpnext/model/Contact.js +16 -69
- package/dist/erpnext/model/Country.d.ts +0 -64
- package/dist/erpnext/model/Country.js +0 -10
- package/dist/erpnext/model/Customer.d.ts +39 -64
- package/dist/erpnext/model/Customer.js +11 -25
- package/dist/erpnext/model/DeliveryNote.d.ts +124 -1170
- package/dist/erpnext/model/DeliveryNote.js +5 -52
- package/dist/erpnext/model/DispatchRun.d.ts +7 -113
- package/dist/erpnext/model/DispatchRun.js +2 -31
- package/dist/erpnext/model/DispatcherPreset.d.ts +0 -119
- package/dist/erpnext/model/DispatcherPreset.js +1 -27
- package/dist/erpnext/model/DocInfo.d.ts +41 -339
- package/dist/erpnext/model/DocInfo.js +5 -6
- package/dist/erpnext/model/DocTypeHelpers.d.ts +141 -2
- package/dist/erpnext/model/DocTypeHelpers.js +132 -1
- package/dist/erpnext/model/ERPNextDocTypeMeta.d.ts +124 -0
- package/dist/erpnext/model/ERPNextDocTypeMeta.js +37 -0
- package/dist/erpnext/model/ERPNextRequest.d.ts +5 -5
- package/dist/erpnext/model/File.d.ts +0 -48
- package/dist/erpnext/model/File.js +0 -8
- package/dist/erpnext/model/Fulfiller.d.ts +0 -121
- package/dist/erpnext/model/Fulfiller.js +1 -56
- package/dist/erpnext/model/FulfillerSettings.d.ts +0 -39
- package/dist/erpnext/model/FulfillerSettings.js +0 -6
- package/dist/erpnext/model/InternalReasons.d.ts +0 -3
- package/dist/erpnext/model/InternalReasons.js +0 -1
- package/dist/erpnext/model/Item.d.ts +478 -1847
- package/dist/erpnext/model/Item.js +18 -142
- package/dist/erpnext/model/Logs.d.ts +0 -9
- package/dist/erpnext/model/Logs.js +0 -3
- package/dist/erpnext/model/PartList.d.ts +0 -15
- package/dist/erpnext/model/PartList.js +0 -5
- package/dist/erpnext/model/PaymentEntry.d.ts +141 -128
- package/dist/erpnext/model/PaymentEntry.js +46 -47
- package/dist/erpnext/model/Permissions.d.ts +3 -3
- package/dist/erpnext/model/Permissions.js +1 -1
- package/dist/erpnext/model/ProductBundle.d.ts +6 -107
- package/dist/erpnext/model/ProductBundle.js +0 -17
- package/dist/erpnext/model/PurchaseInvoice.d.ts +290 -362
- package/dist/erpnext/model/PurchaseInvoice.js +5 -23
- package/dist/erpnext/model/PurchaseOrder.d.ts +34 -180
- package/dist/erpnext/model/PurchaseOrder.js +0 -34
- package/dist/erpnext/model/Receipt.d.ts +30 -121
- package/dist/erpnext/model/Receipt.js +2 -25
- package/dist/erpnext/model/ReceiptDraft.d.ts +28 -67
- package/dist/erpnext/model/ReceiptDraft.js +2 -11
- package/dist/erpnext/model/Report.d.ts +0 -40
- package/dist/erpnext/model/Report.js +0 -8
- package/dist/erpnext/model/SalesInvoice.d.ts +2441 -0
- package/dist/erpnext/model/SalesInvoice.js +326 -0
- package/dist/erpnext/model/SalesOrder.d.ts +1043 -0
- package/dist/erpnext/model/SalesOrder.js +271 -0
- package/dist/erpnext/model/SalesTaxesAndCharges.d.ts +47 -0
- package/dist/erpnext/model/SalesTaxesAndCharges.js +30 -0
- package/dist/erpnext/model/Servicecase.d.ts +295 -740
- package/dist/erpnext/model/Servicecase.js +31 -116
- package/dist/erpnext/model/ServicecaseReason.d.ts +0 -8
- package/dist/erpnext/model/ServicecaseReason.js +0 -2
- package/dist/erpnext/model/ServicecaseSolution.d.ts +0 -3
- package/dist/erpnext/model/ServicecaseSolution.js +0 -1
- package/dist/erpnext/model/ServiceportalProductConfiguration.d.ts +0 -575
- package/dist/erpnext/model/ServiceportalProductConfiguration.js +5 -50
- package/dist/erpnext/model/Shipment.d.ts +18 -729
- package/dist/erpnext/model/Shipment.js +1 -82
- package/dist/erpnext/model/ShippingLabel.d.ts +0 -32
- package/dist/erpnext/model/ShippingLabel.js +0 -8
- package/dist/erpnext/model/ShippingProvider.d.ts +6 -87
- package/dist/erpnext/model/ShippingProvider.js +3 -6
- package/dist/erpnext/model/Stock.d.ts +6 -46
- package/dist/erpnext/model/Stock.js +0 -8
- package/dist/erpnext/model/StockEntry.d.ts +12 -45
- package/dist/erpnext/model/StockEntry.js +0 -11
- package/dist/erpnext/model/StockReconciliation.d.ts +5 -32
- package/dist/erpnext/model/StockReconciliation.js +0 -10
- package/dist/erpnext/model/Supplier.d.ts +0 -79
- package/dist/erpnext/model/Supplier.js +0 -8
- package/dist/erpnext/model/Version.d.ts +0 -9
- package/dist/erpnext/model/Version.js +0 -3
- package/dist/erpnext/model/Waitlist.d.ts +0 -3
- package/dist/erpnext/model/Waitlist.js +0 -1
- package/dist/erpnext/model/WarehouseCategory.d.ts +0 -11
- package/dist/erpnext/model/WarehouseCategory.js +1 -7
- package/dist/erpnext/reports.js +3 -7
- package/dist/erpnext/resourceRequest.d.ts +13 -11
- package/dist/erpnext/resourceRequest.js +23 -18
- package/dist/index.d.ts +16 -10
- package/dist/index.js +24 -12
- package/dist/index.test.d.ts +1 -0
- package/dist/index.test.js +227 -0
- package/dist/utils/utils.d.ts +3 -0
- package/dist/utils/zodContextOptionals.d.ts +14 -0
- package/dist/utils/zodContextOptionals.js +42 -0
- package/dist/utils/zodUtils.js +2 -1
- package/package.json +2 -2
- package/dist/erpnext/model/ConsolidatedCustomsInvoice.d.ts +0 -433
- package/dist/erpnext/model/ConsolidatedCustomsInvoice.js +0 -102
- package/dist/erpnext/model/ShippingFees.d.ts +0 -36
- package/dist/erpnext/model/ShippingFees.js +0 -18
|
@@ -7,29 +7,31 @@ export declare class ERPNextShipment {
|
|
|
7
7
|
protected temporalClient: TemporalClient;
|
|
8
8
|
protected baseRequest: ERPNextDoctypeSubmittableResourceRequest<typeof Shipment>;
|
|
9
9
|
protected methodRequest: ERPNextMethodRequest;
|
|
10
|
-
getList: <
|
|
11
|
-
fields?:
|
|
10
|
+
getList: <TFieldOptions extends ("status" | "name" | "owner" | "creation" | "modified" | "modified_by" | "idx" | "docstatus" | "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"), TSelectedFields extends readonly ["*"] | TFieldOptions[] | undefined = undefined, TAsDict extends boolean | undefined = undefined>({ fields, filters, skip, limit, priority, asDict, params, }?: {
|
|
11
|
+
fields?: TSelectedFields;
|
|
12
12
|
filters?: (string | string[])[][];
|
|
13
13
|
skip?: number;
|
|
14
14
|
limit?: number;
|
|
15
15
|
priority?: number;
|
|
16
16
|
asDict?: TAsDict;
|
|
17
17
|
params?: Record<string, string>;
|
|
18
|
-
}) => Promise<TAsDict extends false ? string[][] :
|
|
18
|
+
}) => Promise<(TAsDict extends false ? string[][] : TSelectedFields extends undefined ? {
|
|
19
|
+
name: string;
|
|
20
|
+
}[] : TSelectedFields extends readonly ["*"] ? {
|
|
19
21
|
status: string;
|
|
20
22
|
name: string;
|
|
21
|
-
doctype: string;
|
|
22
23
|
owner: string;
|
|
23
24
|
creation: string;
|
|
24
25
|
modified: string;
|
|
25
26
|
modified_by: string;
|
|
26
27
|
idx: number;
|
|
27
28
|
docstatus: number;
|
|
29
|
+
incoterm: string;
|
|
30
|
+
shipment_id: string;
|
|
28
31
|
delivery_address_name: string;
|
|
29
32
|
delivery_address: string;
|
|
30
33
|
delivery_customer: string;
|
|
31
34
|
delivery_to_type: string;
|
|
32
|
-
incoterm: string;
|
|
33
35
|
pallets: string;
|
|
34
36
|
pickup_address_name: string;
|
|
35
37
|
pickup_address: string;
|
|
@@ -42,53 +44,17 @@ export declare class ERPNextShipment {
|
|
|
42
44
|
pickup_to: string;
|
|
43
45
|
pickup_type: string;
|
|
44
46
|
shipment_amount: number;
|
|
45
|
-
shipment_delivery_note: {
|
|
46
|
-
name: string;
|
|
47
|
-
doctype: string;
|
|
48
|
-
owner: string;
|
|
49
|
-
creation: string;
|
|
50
|
-
modified: string;
|
|
51
|
-
modified_by: string;
|
|
52
|
-
parent: string;
|
|
53
|
-
parentfield: string;
|
|
54
|
-
parenttype: string;
|
|
55
|
-
idx: number;
|
|
56
|
-
docstatus: number;
|
|
57
|
-
grand_total: number;
|
|
58
|
-
delivery_note: string;
|
|
59
|
-
__unsaved?: number | null | undefined;
|
|
60
|
-
}[];
|
|
61
|
-
shipment_parcel: {
|
|
62
|
-
length: number;
|
|
63
|
-
name: string;
|
|
64
|
-
doctype: string;
|
|
65
|
-
owner: string;
|
|
66
|
-
creation: string;
|
|
67
|
-
modified: string;
|
|
68
|
-
modified_by: string;
|
|
69
|
-
parent: string;
|
|
70
|
-
parentfield: string;
|
|
71
|
-
parenttype: string;
|
|
72
|
-
idx: number;
|
|
73
|
-
docstatus: number;
|
|
74
|
-
width: number;
|
|
75
|
-
height: number;
|
|
76
|
-
weight: number;
|
|
77
|
-
count: number;
|
|
78
|
-
}[];
|
|
79
47
|
shipment_type: string;
|
|
80
48
|
tracking_status: string;
|
|
81
49
|
value_of_goods: number;
|
|
82
50
|
description_of_content: string;
|
|
83
51
|
pickup_date: string;
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
parentfield?: string | null | undefined;
|
|
87
|
-
parenttype?: string | null | undefined;
|
|
52
|
+
amended_from?: string | null | undefined;
|
|
53
|
+
_user_tags?: string | undefined;
|
|
88
54
|
__onload?: {
|
|
89
55
|
load_after_mapping: boolean;
|
|
90
56
|
} | null | undefined;
|
|
91
|
-
|
|
57
|
+
shipping_provider?: string | null | undefined;
|
|
92
58
|
delivery_contact?: string | null | undefined;
|
|
93
59
|
awb_number?: string | null | undefined;
|
|
94
60
|
carrier_service?: string | null | undefined;
|
|
@@ -105,33 +71,88 @@ export declare class ERPNextShipment {
|
|
|
105
71
|
pickup?: string | null | undefined;
|
|
106
72
|
service_provider?: string | null | undefined;
|
|
107
73
|
shipping_label?: string | null | undefined;
|
|
74
|
+
custom_return_label?: string | null | undefined;
|
|
75
|
+
custom_return_shipping_provider?: string | null | undefined;
|
|
76
|
+
tracking_status_info?: string | null | undefined;
|
|
77
|
+
tracking_url?: string | null | undefined;
|
|
78
|
+
}[] : TSelectedFields extends TFieldOptions[] ? Pick<{
|
|
79
|
+
status: string;
|
|
80
|
+
name: string;
|
|
81
|
+
owner: string;
|
|
82
|
+
creation: string;
|
|
83
|
+
modified: string;
|
|
84
|
+
modified_by: string;
|
|
85
|
+
idx: number;
|
|
86
|
+
docstatus: number;
|
|
87
|
+
incoterm: string;
|
|
88
|
+
shipment_id: string;
|
|
89
|
+
delivery_address_name: string;
|
|
90
|
+
delivery_address: string;
|
|
91
|
+
delivery_customer: string;
|
|
92
|
+
delivery_to_type: string;
|
|
93
|
+
pallets: string;
|
|
94
|
+
pickup_address_name: string;
|
|
95
|
+
pickup_address: string;
|
|
96
|
+
pickup_company: string;
|
|
97
|
+
pickup_contact_email: string;
|
|
98
|
+
pickup_contact_person: string;
|
|
99
|
+
pickup_contact: string;
|
|
100
|
+
pickup_from_type: string;
|
|
101
|
+
pickup_from: string;
|
|
102
|
+
pickup_to: string;
|
|
103
|
+
pickup_type: string;
|
|
104
|
+
shipment_amount: number;
|
|
105
|
+
shipment_type: string;
|
|
106
|
+
tracking_status: string;
|
|
107
|
+
value_of_goods: number;
|
|
108
|
+
description_of_content: string;
|
|
109
|
+
pickup_date: string;
|
|
110
|
+
amended_from?: string | null | undefined;
|
|
111
|
+
_user_tags?: string | undefined;
|
|
112
|
+
__onload?: {
|
|
113
|
+
load_after_mapping: boolean;
|
|
114
|
+
} | null | undefined;
|
|
108
115
|
shipping_provider?: string | null | undefined;
|
|
116
|
+
delivery_contact?: string | null | undefined;
|
|
117
|
+
awb_number?: string | null | undefined;
|
|
118
|
+
carrier_service?: string | null | undefined;
|
|
119
|
+
carrier?: string | null | undefined;
|
|
120
|
+
delivery_company?: string | null | undefined;
|
|
121
|
+
delivery_contact_email?: string | null | undefined;
|
|
122
|
+
delivery_contact_name?: string | null | undefined;
|
|
123
|
+
delivery_supplier?: string | null | undefined;
|
|
124
|
+
delivery_to?: string | null | undefined;
|
|
125
|
+
parcel_template?: string | null | undefined;
|
|
126
|
+
pickup_contact_name?: string | null | undefined;
|
|
127
|
+
pickup_customer?: string | null | undefined;
|
|
128
|
+
pickup_supplier?: string | null | undefined;
|
|
129
|
+
pickup?: string | null | undefined;
|
|
130
|
+
service_provider?: string | null | undefined;
|
|
131
|
+
shipping_label?: string | null | undefined;
|
|
109
132
|
custom_return_label?: string | null | undefined;
|
|
110
133
|
custom_return_shipping_provider?: string | null | undefined;
|
|
111
134
|
tracking_status_info?: string | null | undefined;
|
|
112
135
|
tracking_url?: string | null | undefined;
|
|
113
|
-
|
|
114
|
-
custom_is_export?: number | null | undefined;
|
|
115
|
-
custom_export_status?: "Open" | "Customs Declaration in Progress" | "Customs Declaration Submitted" | "Customs Declaration Confirmed" | null | undefined;
|
|
116
|
-
}, TField>[]>;
|
|
136
|
+
}, TSelectedFields[number]>[] : any) extends infer T ? { [K in keyof T]: T[K]; } : never>;
|
|
117
137
|
getById: ({ resourceId, priority, }: {
|
|
118
138
|
resourceId: string;
|
|
119
139
|
priority?: number;
|
|
120
140
|
}) => Promise<{
|
|
121
141
|
status: string;
|
|
122
142
|
name: string;
|
|
123
|
-
doctype: string;
|
|
124
143
|
owner: string;
|
|
125
144
|
creation: string;
|
|
126
145
|
modified: string;
|
|
127
146
|
modified_by: string;
|
|
128
147
|
idx: number;
|
|
129
148
|
docstatus: number;
|
|
149
|
+
doctype: string;
|
|
150
|
+
incoterm: string;
|
|
151
|
+
shipment_id: string;
|
|
130
152
|
delivery_address_name: string;
|
|
131
153
|
delivery_address: string;
|
|
132
154
|
delivery_customer: string;
|
|
133
155
|
delivery_to_type: string;
|
|
134
|
-
incoterm: string;
|
|
135
156
|
pallets: string;
|
|
136
157
|
pickup_address_name: string;
|
|
137
158
|
pickup_address: string;
|
|
@@ -146,51 +167,49 @@ export declare class ERPNextShipment {
|
|
|
146
167
|
shipment_amount: number;
|
|
147
168
|
shipment_delivery_note: {
|
|
148
169
|
name: string;
|
|
149
|
-
doctype: string;
|
|
150
170
|
owner: string;
|
|
151
171
|
creation: string;
|
|
152
172
|
modified: string;
|
|
153
173
|
modified_by: string;
|
|
154
|
-
parent: string;
|
|
155
|
-
parentfield: string;
|
|
156
|
-
parenttype: string;
|
|
157
174
|
idx: number;
|
|
158
175
|
docstatus: number;
|
|
176
|
+
doctype: string;
|
|
177
|
+
parenttype: string;
|
|
178
|
+
parentfield: string;
|
|
159
179
|
grand_total: number;
|
|
160
180
|
delivery_note: string;
|
|
181
|
+
_user_tags?: string | undefined;
|
|
161
182
|
__unsaved?: number | null | undefined;
|
|
162
183
|
}[];
|
|
163
184
|
shipment_parcel: {
|
|
164
185
|
length: number;
|
|
165
186
|
name: string;
|
|
166
|
-
doctype: string;
|
|
167
187
|
owner: string;
|
|
168
188
|
creation: string;
|
|
169
189
|
modified: string;
|
|
170
190
|
modified_by: string;
|
|
171
|
-
parent: string;
|
|
172
|
-
parentfield: string;
|
|
173
|
-
parenttype: string;
|
|
174
191
|
idx: number;
|
|
175
192
|
docstatus: number;
|
|
193
|
+
doctype: string;
|
|
194
|
+
parenttype: string;
|
|
195
|
+
parentfield: string;
|
|
176
196
|
width: number;
|
|
177
197
|
height: number;
|
|
178
198
|
weight: number;
|
|
179
199
|
count: number;
|
|
200
|
+
_user_tags?: string | undefined;
|
|
180
201
|
}[];
|
|
181
202
|
shipment_type: string;
|
|
182
203
|
tracking_status: string;
|
|
183
204
|
value_of_goods: number;
|
|
184
205
|
description_of_content: string;
|
|
185
206
|
pickup_date: string;
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
parentfield?: string | null | undefined;
|
|
189
|
-
parenttype?: string | null | undefined;
|
|
207
|
+
amended_from?: string | null | undefined;
|
|
208
|
+
_user_tags?: string | undefined;
|
|
190
209
|
__onload?: {
|
|
191
210
|
load_after_mapping: boolean;
|
|
192
211
|
} | null | undefined;
|
|
193
|
-
|
|
212
|
+
shipping_provider?: string | null | undefined;
|
|
194
213
|
delivery_contact?: string | null | undefined;
|
|
195
214
|
awb_number?: string | null | undefined;
|
|
196
215
|
carrier_service?: string | null | undefined;
|
|
@@ -207,30 +226,20 @@ export declare class ERPNextShipment {
|
|
|
207
226
|
pickup?: string | null | undefined;
|
|
208
227
|
service_provider?: string | null | undefined;
|
|
209
228
|
shipping_label?: string | null | undefined;
|
|
210
|
-
shipping_provider?: string | null | undefined;
|
|
211
229
|
custom_return_label?: string | null | undefined;
|
|
212
230
|
custom_return_shipping_provider?: string | null | undefined;
|
|
213
231
|
tracking_status_info?: string | null | undefined;
|
|
214
232
|
tracking_url?: string | null | undefined;
|
|
215
|
-
custom_delivery_country?: string | null | undefined;
|
|
216
|
-
custom_is_export?: number | null | undefined;
|
|
217
|
-
custom_export_status?: "Open" | "Customs Declaration in Progress" | "Customs Declaration Submitted" | "Customs Declaration Confirmed" | null | undefined;
|
|
218
233
|
}>;
|
|
219
234
|
updateById: <TInput extends TInputModel extends undefined ? Partial<{
|
|
220
235
|
status: string;
|
|
221
|
-
name: string;
|
|
222
|
-
doctype: string;
|
|
223
|
-
owner: string;
|
|
224
236
|
creation: string;
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
idx: number;
|
|
228
|
-
docstatus: number;
|
|
237
|
+
incoterm: string;
|
|
238
|
+
shipment_id: string;
|
|
229
239
|
delivery_address_name: string;
|
|
230
240
|
delivery_address: string;
|
|
231
241
|
delivery_customer: string;
|
|
232
242
|
delivery_to_type: string;
|
|
233
|
-
incoterm: string;
|
|
234
243
|
pallets: string;
|
|
235
244
|
pickup_address_name: string;
|
|
236
245
|
pickup_address: string;
|
|
@@ -244,34 +253,12 @@ export declare class ERPNextShipment {
|
|
|
244
253
|
pickup_type: string;
|
|
245
254
|
shipment_amount: number;
|
|
246
255
|
shipment_delivery_note: {
|
|
247
|
-
name: string;
|
|
248
|
-
doctype: string;
|
|
249
|
-
owner: string;
|
|
250
|
-
creation: string;
|
|
251
|
-
modified: string;
|
|
252
|
-
modified_by: string;
|
|
253
|
-
parent: string;
|
|
254
|
-
parentfield: string;
|
|
255
|
-
parenttype: string;
|
|
256
|
-
idx: number;
|
|
257
|
-
docstatus: number;
|
|
258
256
|
grand_total: number;
|
|
259
257
|
delivery_note: string;
|
|
260
258
|
__unsaved?: number | null | undefined;
|
|
261
259
|
}[];
|
|
262
260
|
shipment_parcel: {
|
|
263
261
|
length: number;
|
|
264
|
-
name: string;
|
|
265
|
-
doctype: string;
|
|
266
|
-
owner: string;
|
|
267
|
-
creation: string;
|
|
268
|
-
modified: string;
|
|
269
|
-
modified_by: string;
|
|
270
|
-
parent: string;
|
|
271
|
-
parentfield: string;
|
|
272
|
-
parenttype: string;
|
|
273
|
-
idx: number;
|
|
274
|
-
docstatus: number;
|
|
275
262
|
width: number;
|
|
276
263
|
height: number;
|
|
277
264
|
weight: number;
|
|
@@ -282,14 +269,11 @@ export declare class ERPNextShipment {
|
|
|
282
269
|
value_of_goods: number;
|
|
283
270
|
description_of_content: string;
|
|
284
271
|
pickup_date: string;
|
|
285
|
-
|
|
286
|
-
parent?: string | null | undefined;
|
|
287
|
-
parentfield?: string | null | undefined;
|
|
288
|
-
parenttype?: string | null | undefined;
|
|
272
|
+
amended_from?: string | null | undefined;
|
|
289
273
|
__onload?: {
|
|
290
274
|
load_after_mapping: boolean;
|
|
291
275
|
} | null | undefined;
|
|
292
|
-
|
|
276
|
+
shipping_provider?: string | null | undefined;
|
|
293
277
|
delivery_contact?: string | null | undefined;
|
|
294
278
|
awb_number?: string | null | undefined;
|
|
295
279
|
carrier_service?: string | null | undefined;
|
|
@@ -306,15 +290,11 @@ export declare class ERPNextShipment {
|
|
|
306
290
|
pickup?: string | null | undefined;
|
|
307
291
|
service_provider?: string | null | undefined;
|
|
308
292
|
shipping_label?: string | null | undefined;
|
|
309
|
-
shipping_provider?: string | null | undefined;
|
|
310
293
|
custom_return_label?: string | null | undefined;
|
|
311
294
|
custom_return_shipping_provider?: string | null | undefined;
|
|
312
295
|
tracking_status_info?: string | null | undefined;
|
|
313
296
|
tracking_url?: string | null | undefined;
|
|
314
|
-
|
|
315
|
-
custom_is_export?: number | null | undefined;
|
|
316
|
-
custom_export_status?: "Open" | "Customs Declaration in Progress" | "Customs Declaration Submitted" | "Customs Declaration Confirmed" | null | undefined;
|
|
317
|
-
}> : TInputModel extends z.ZodTypeAny ? Partial<z.TypeOf<TInputModel>> : any, TInputModel extends z.ZodTypeAny | undefined = undefined>({ resourceId, inputValidationModel, body, priority, }: {
|
|
297
|
+
}> : TInputModel extends z.ZodTypeAny ? z.TypeOf<TInputModel> : any, TInputModel extends z.ZodTypeAny | undefined = undefined>({ resourceId, inputValidationModel, body, priority, }: {
|
|
318
298
|
resourceId: string;
|
|
319
299
|
inputValidationModel?: TInputModel;
|
|
320
300
|
priority?: number;
|
|
@@ -322,18 +302,19 @@ export declare class ERPNextShipment {
|
|
|
322
302
|
}) => Promise<{
|
|
323
303
|
status: string;
|
|
324
304
|
name: string;
|
|
325
|
-
doctype: string;
|
|
326
305
|
owner: string;
|
|
327
306
|
creation: string;
|
|
328
307
|
modified: string;
|
|
329
308
|
modified_by: string;
|
|
330
309
|
idx: number;
|
|
331
310
|
docstatus: number;
|
|
311
|
+
doctype: string;
|
|
312
|
+
incoterm: string;
|
|
313
|
+
shipment_id: string;
|
|
332
314
|
delivery_address_name: string;
|
|
333
315
|
delivery_address: string;
|
|
334
316
|
delivery_customer: string;
|
|
335
317
|
delivery_to_type: string;
|
|
336
|
-
incoterm: string;
|
|
337
318
|
pallets: string;
|
|
338
319
|
pickup_address_name: string;
|
|
339
320
|
pickup_address: string;
|
|
@@ -348,51 +329,49 @@ export declare class ERPNextShipment {
|
|
|
348
329
|
shipment_amount: number;
|
|
349
330
|
shipment_delivery_note: {
|
|
350
331
|
name: string;
|
|
351
|
-
doctype: string;
|
|
352
332
|
owner: string;
|
|
353
333
|
creation: string;
|
|
354
334
|
modified: string;
|
|
355
335
|
modified_by: string;
|
|
356
|
-
parent: string;
|
|
357
|
-
parentfield: string;
|
|
358
|
-
parenttype: string;
|
|
359
336
|
idx: number;
|
|
360
337
|
docstatus: number;
|
|
338
|
+
doctype: string;
|
|
339
|
+
parenttype: string;
|
|
340
|
+
parentfield: string;
|
|
361
341
|
grand_total: number;
|
|
362
342
|
delivery_note: string;
|
|
343
|
+
_user_tags?: string | undefined;
|
|
363
344
|
__unsaved?: number | null | undefined;
|
|
364
345
|
}[];
|
|
365
346
|
shipment_parcel: {
|
|
366
347
|
length: number;
|
|
367
348
|
name: string;
|
|
368
|
-
doctype: string;
|
|
369
349
|
owner: string;
|
|
370
350
|
creation: string;
|
|
371
351
|
modified: string;
|
|
372
352
|
modified_by: string;
|
|
373
|
-
parent: string;
|
|
374
|
-
parentfield: string;
|
|
375
|
-
parenttype: string;
|
|
376
353
|
idx: number;
|
|
377
354
|
docstatus: number;
|
|
355
|
+
doctype: string;
|
|
356
|
+
parenttype: string;
|
|
357
|
+
parentfield: string;
|
|
378
358
|
width: number;
|
|
379
359
|
height: number;
|
|
380
360
|
weight: number;
|
|
381
361
|
count: number;
|
|
362
|
+
_user_tags?: string | undefined;
|
|
382
363
|
}[];
|
|
383
364
|
shipment_type: string;
|
|
384
365
|
tracking_status: string;
|
|
385
366
|
value_of_goods: number;
|
|
386
367
|
description_of_content: string;
|
|
387
368
|
pickup_date: string;
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
parentfield?: string | null | undefined;
|
|
391
|
-
parenttype?: string | null | undefined;
|
|
369
|
+
amended_from?: string | null | undefined;
|
|
370
|
+
_user_tags?: string | undefined;
|
|
392
371
|
__onload?: {
|
|
393
372
|
load_after_mapping: boolean;
|
|
394
373
|
} | null | undefined;
|
|
395
|
-
|
|
374
|
+
shipping_provider?: string | null | undefined;
|
|
396
375
|
delivery_contact?: string | null | undefined;
|
|
397
376
|
awb_number?: string | null | undefined;
|
|
398
377
|
carrier_service?: string | null | undefined;
|
|
@@ -409,34 +388,24 @@ export declare class ERPNextShipment {
|
|
|
409
388
|
pickup?: string | null | undefined;
|
|
410
389
|
service_provider?: string | null | undefined;
|
|
411
390
|
shipping_label?: string | null | undefined;
|
|
412
|
-
shipping_provider?: string | null | undefined;
|
|
413
391
|
custom_return_label?: string | null | undefined;
|
|
414
392
|
custom_return_shipping_provider?: string | null | undefined;
|
|
415
393
|
tracking_status_info?: string | null | undefined;
|
|
416
394
|
tracking_url?: string | null | undefined;
|
|
417
|
-
custom_delivery_country?: string | null | undefined;
|
|
418
|
-
custom_is_export?: number | null | undefined;
|
|
419
|
-
custom_export_status?: "Open" | "Customs Declaration in Progress" | "Customs Declaration Submitted" | "Customs Declaration Confirmed" | null | undefined;
|
|
420
395
|
}>;
|
|
421
396
|
deleteById: ({ resourceId, priority, }: {
|
|
422
397
|
resourceId: string;
|
|
423
398
|
priority?: number;
|
|
424
399
|
}) => Promise<z.TypeOf<typeof import("../model/ERPNextResponse").DeleteResponseModel>>;
|
|
425
|
-
create: <TInput extends TInputModel extends undefined ?
|
|
400
|
+
create: <TInput extends TInputModel extends undefined ? {
|
|
426
401
|
status: string;
|
|
427
|
-
name: string;
|
|
428
|
-
doctype: string;
|
|
429
|
-
owner: string;
|
|
430
402
|
creation: string;
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
idx: number;
|
|
434
|
-
docstatus: number;
|
|
403
|
+
incoterm: string;
|
|
404
|
+
shipment_id: string;
|
|
435
405
|
delivery_address_name: string;
|
|
436
406
|
delivery_address: string;
|
|
437
407
|
delivery_customer: string;
|
|
438
408
|
delivery_to_type: string;
|
|
439
|
-
incoterm: string;
|
|
440
409
|
pallets: string;
|
|
441
410
|
pickup_address_name: string;
|
|
442
411
|
pickup_address: string;
|
|
@@ -450,34 +419,12 @@ export declare class ERPNextShipment {
|
|
|
450
419
|
pickup_type: string;
|
|
451
420
|
shipment_amount: number;
|
|
452
421
|
shipment_delivery_note: {
|
|
453
|
-
name: string;
|
|
454
|
-
doctype: string;
|
|
455
|
-
owner: string;
|
|
456
|
-
creation: string;
|
|
457
|
-
modified: string;
|
|
458
|
-
modified_by: string;
|
|
459
|
-
parent: string;
|
|
460
|
-
parentfield: string;
|
|
461
|
-
parenttype: string;
|
|
462
|
-
idx: number;
|
|
463
|
-
docstatus: number;
|
|
464
422
|
grand_total: number;
|
|
465
423
|
delivery_note: string;
|
|
466
424
|
__unsaved?: number | null | undefined;
|
|
467
425
|
}[];
|
|
468
426
|
shipment_parcel: {
|
|
469
427
|
length: number;
|
|
470
|
-
name: string;
|
|
471
|
-
doctype: string;
|
|
472
|
-
owner: string;
|
|
473
|
-
creation: string;
|
|
474
|
-
modified: string;
|
|
475
|
-
modified_by: string;
|
|
476
|
-
parent: string;
|
|
477
|
-
parentfield: string;
|
|
478
|
-
parenttype: string;
|
|
479
|
-
idx: number;
|
|
480
|
-
docstatus: number;
|
|
481
428
|
width: number;
|
|
482
429
|
height: number;
|
|
483
430
|
weight: number;
|
|
@@ -488,14 +435,11 @@ export declare class ERPNextShipment {
|
|
|
488
435
|
value_of_goods: number;
|
|
489
436
|
description_of_content: string;
|
|
490
437
|
pickup_date: string;
|
|
491
|
-
|
|
492
|
-
parent?: string | null | undefined;
|
|
493
|
-
parentfield?: string | null | undefined;
|
|
494
|
-
parenttype?: string | null | undefined;
|
|
438
|
+
amended_from?: string | null | undefined;
|
|
495
439
|
__onload?: {
|
|
496
440
|
load_after_mapping: boolean;
|
|
497
441
|
} | null | undefined;
|
|
498
|
-
|
|
442
|
+
shipping_provider?: string | null | undefined;
|
|
499
443
|
delivery_contact?: string | null | undefined;
|
|
500
444
|
awb_number?: string | null | undefined;
|
|
501
445
|
carrier_service?: string | null | undefined;
|
|
@@ -512,15 +456,11 @@ export declare class ERPNextShipment {
|
|
|
512
456
|
pickup?: string | null | undefined;
|
|
513
457
|
service_provider?: string | null | undefined;
|
|
514
458
|
shipping_label?: string | null | undefined;
|
|
515
|
-
shipping_provider?: string | null | undefined;
|
|
516
459
|
custom_return_label?: string | null | undefined;
|
|
517
460
|
custom_return_shipping_provider?: string | null | undefined;
|
|
518
461
|
tracking_status_info?: string | null | undefined;
|
|
519
462
|
tracking_url?: string | null | undefined;
|
|
520
|
-
|
|
521
|
-
custom_is_export?: number | null | undefined;
|
|
522
|
-
custom_export_status?: "Open" | "Customs Declaration in Progress" | "Customs Declaration Submitted" | "Customs Declaration Confirmed" | null | undefined;
|
|
523
|
-
}> : TInputModel extends z.ZodTypeAny ? z.TypeOf<TInputModel> : any, TInputModel extends z.ZodTypeAny | undefined = undefined>({ inputValidationModel, body, params, priority, }: {
|
|
463
|
+
} : TInputModel extends z.ZodTypeAny ? z.TypeOf<TInputModel> : any, TInputModel extends z.ZodTypeAny | undefined = undefined>({ inputValidationModel, body, params, priority, }: {
|
|
524
464
|
inputValidationModel?: TInputModel;
|
|
525
465
|
body: TInput;
|
|
526
466
|
params?: Record<string, string>;
|
|
@@ -528,18 +468,19 @@ export declare class ERPNextShipment {
|
|
|
528
468
|
}) => Promise<{
|
|
529
469
|
status: string;
|
|
530
470
|
name: string;
|
|
531
|
-
doctype: string;
|
|
532
471
|
owner: string;
|
|
533
472
|
creation: string;
|
|
534
473
|
modified: string;
|
|
535
474
|
modified_by: string;
|
|
536
475
|
idx: number;
|
|
537
476
|
docstatus: number;
|
|
477
|
+
doctype: string;
|
|
478
|
+
incoterm: string;
|
|
479
|
+
shipment_id: string;
|
|
538
480
|
delivery_address_name: string;
|
|
539
481
|
delivery_address: string;
|
|
540
482
|
delivery_customer: string;
|
|
541
483
|
delivery_to_type: string;
|
|
542
|
-
incoterm: string;
|
|
543
484
|
pallets: string;
|
|
544
485
|
pickup_address_name: string;
|
|
545
486
|
pickup_address: string;
|
|
@@ -554,51 +495,49 @@ export declare class ERPNextShipment {
|
|
|
554
495
|
shipment_amount: number;
|
|
555
496
|
shipment_delivery_note: {
|
|
556
497
|
name: string;
|
|
557
|
-
doctype: string;
|
|
558
498
|
owner: string;
|
|
559
499
|
creation: string;
|
|
560
500
|
modified: string;
|
|
561
501
|
modified_by: string;
|
|
562
|
-
parent: string;
|
|
563
|
-
parentfield: string;
|
|
564
|
-
parenttype: string;
|
|
565
502
|
idx: number;
|
|
566
503
|
docstatus: number;
|
|
504
|
+
doctype: string;
|
|
505
|
+
parenttype: string;
|
|
506
|
+
parentfield: string;
|
|
567
507
|
grand_total: number;
|
|
568
508
|
delivery_note: string;
|
|
509
|
+
_user_tags?: string | undefined;
|
|
569
510
|
__unsaved?: number | null | undefined;
|
|
570
511
|
}[];
|
|
571
512
|
shipment_parcel: {
|
|
572
513
|
length: number;
|
|
573
514
|
name: string;
|
|
574
|
-
doctype: string;
|
|
575
515
|
owner: string;
|
|
576
516
|
creation: string;
|
|
577
517
|
modified: string;
|
|
578
518
|
modified_by: string;
|
|
579
|
-
parent: string;
|
|
580
|
-
parentfield: string;
|
|
581
|
-
parenttype: string;
|
|
582
519
|
idx: number;
|
|
583
520
|
docstatus: number;
|
|
521
|
+
doctype: string;
|
|
522
|
+
parenttype: string;
|
|
523
|
+
parentfield: string;
|
|
584
524
|
width: number;
|
|
585
525
|
height: number;
|
|
586
526
|
weight: number;
|
|
587
527
|
count: number;
|
|
528
|
+
_user_tags?: string | undefined;
|
|
588
529
|
}[];
|
|
589
530
|
shipment_type: string;
|
|
590
531
|
tracking_status: string;
|
|
591
532
|
value_of_goods: number;
|
|
592
533
|
description_of_content: string;
|
|
593
534
|
pickup_date: string;
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
parentfield?: string | null | undefined;
|
|
597
|
-
parenttype?: string | null | undefined;
|
|
535
|
+
amended_from?: string | null | undefined;
|
|
536
|
+
_user_tags?: string | undefined;
|
|
598
537
|
__onload?: {
|
|
599
538
|
load_after_mapping: boolean;
|
|
600
539
|
} | null | undefined;
|
|
601
|
-
|
|
540
|
+
shipping_provider?: string | null | undefined;
|
|
602
541
|
delivery_contact?: string | null | undefined;
|
|
603
542
|
awb_number?: string | null | undefined;
|
|
604
543
|
carrier_service?: string | null | undefined;
|
|
@@ -615,32 +554,29 @@ export declare class ERPNextShipment {
|
|
|
615
554
|
pickup?: string | null | undefined;
|
|
616
555
|
service_provider?: string | null | undefined;
|
|
617
556
|
shipping_label?: string | null | undefined;
|
|
618
|
-
shipping_provider?: string | null | undefined;
|
|
619
557
|
custom_return_label?: string | null | undefined;
|
|
620
558
|
custom_return_shipping_provider?: string | null | undefined;
|
|
621
559
|
tracking_status_info?: string | null | undefined;
|
|
622
560
|
tracking_url?: string | null | undefined;
|
|
623
|
-
custom_delivery_country?: string | null | undefined;
|
|
624
|
-
custom_is_export?: number | null | undefined;
|
|
625
|
-
custom_export_status?: "Open" | "Customs Declaration in Progress" | "Customs Declaration Submitted" | "Customs Declaration Confirmed" | null | undefined;
|
|
626
561
|
}>;
|
|
627
562
|
cancel: ({ resourceId }: {
|
|
628
563
|
resourceId: string;
|
|
629
564
|
}) => Promise<{
|
|
630
565
|
status: string;
|
|
631
566
|
name: string;
|
|
632
|
-
doctype: string;
|
|
633
567
|
owner: string;
|
|
634
568
|
creation: string;
|
|
635
569
|
modified: string;
|
|
636
570
|
modified_by: string;
|
|
637
571
|
idx: number;
|
|
638
572
|
docstatus: number;
|
|
573
|
+
doctype: string;
|
|
574
|
+
incoterm: string;
|
|
575
|
+
shipment_id: string;
|
|
639
576
|
delivery_address_name: string;
|
|
640
577
|
delivery_address: string;
|
|
641
578
|
delivery_customer: string;
|
|
642
579
|
delivery_to_type: string;
|
|
643
|
-
incoterm: string;
|
|
644
580
|
pallets: string;
|
|
645
581
|
pickup_address_name: string;
|
|
646
582
|
pickup_address: string;
|
|
@@ -655,51 +591,49 @@ export declare class ERPNextShipment {
|
|
|
655
591
|
shipment_amount: number;
|
|
656
592
|
shipment_delivery_note: {
|
|
657
593
|
name: string;
|
|
658
|
-
doctype: string;
|
|
659
594
|
owner: string;
|
|
660
595
|
creation: string;
|
|
661
596
|
modified: string;
|
|
662
597
|
modified_by: string;
|
|
663
|
-
parent: string;
|
|
664
|
-
parentfield: string;
|
|
665
|
-
parenttype: string;
|
|
666
598
|
idx: number;
|
|
667
599
|
docstatus: number;
|
|
600
|
+
doctype: string;
|
|
601
|
+
parenttype: string;
|
|
602
|
+
parentfield: string;
|
|
668
603
|
grand_total: number;
|
|
669
604
|
delivery_note: string;
|
|
605
|
+
_user_tags?: string | undefined;
|
|
670
606
|
__unsaved?: number | null | undefined;
|
|
671
607
|
}[];
|
|
672
608
|
shipment_parcel: {
|
|
673
609
|
length: number;
|
|
674
610
|
name: string;
|
|
675
|
-
doctype: string;
|
|
676
611
|
owner: string;
|
|
677
612
|
creation: string;
|
|
678
613
|
modified: string;
|
|
679
614
|
modified_by: string;
|
|
680
|
-
parent: string;
|
|
681
|
-
parentfield: string;
|
|
682
|
-
parenttype: string;
|
|
683
615
|
idx: number;
|
|
684
616
|
docstatus: number;
|
|
617
|
+
doctype: string;
|
|
618
|
+
parenttype: string;
|
|
619
|
+
parentfield: string;
|
|
685
620
|
width: number;
|
|
686
621
|
height: number;
|
|
687
622
|
weight: number;
|
|
688
623
|
count: number;
|
|
624
|
+
_user_tags?: string | undefined;
|
|
689
625
|
}[];
|
|
690
626
|
shipment_type: string;
|
|
691
627
|
tracking_status: string;
|
|
692
628
|
value_of_goods: number;
|
|
693
629
|
description_of_content: string;
|
|
694
630
|
pickup_date: string;
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
parentfield?: string | null | undefined;
|
|
698
|
-
parenttype?: string | null | undefined;
|
|
631
|
+
amended_from?: string | null | undefined;
|
|
632
|
+
_user_tags?: string | undefined;
|
|
699
633
|
__onload?: {
|
|
700
634
|
load_after_mapping: boolean;
|
|
701
635
|
} | null | undefined;
|
|
702
|
-
|
|
636
|
+
shipping_provider?: string | null | undefined;
|
|
703
637
|
delivery_contact?: string | null | undefined;
|
|
704
638
|
awb_number?: string | null | undefined;
|
|
705
639
|
carrier_service?: string | null | undefined;
|
|
@@ -716,32 +650,29 @@ export declare class ERPNextShipment {
|
|
|
716
650
|
pickup?: string | null | undefined;
|
|
717
651
|
service_provider?: string | null | undefined;
|
|
718
652
|
shipping_label?: string | null | undefined;
|
|
719
|
-
shipping_provider?: string | null | undefined;
|
|
720
653
|
custom_return_label?: string | null | undefined;
|
|
721
654
|
custom_return_shipping_provider?: string | null | undefined;
|
|
722
655
|
tracking_status_info?: string | null | undefined;
|
|
723
656
|
tracking_url?: string | null | undefined;
|
|
724
|
-
custom_delivery_country?: string | null | undefined;
|
|
725
|
-
custom_is_export?: number | null | undefined;
|
|
726
|
-
custom_export_status?: "Open" | "Customs Declaration in Progress" | "Customs Declaration Submitted" | "Customs Declaration Confirmed" | null | undefined;
|
|
727
657
|
}>;
|
|
728
658
|
submit: ({ resourceId }: {
|
|
729
659
|
resourceId: string;
|
|
730
660
|
}) => Promise<{
|
|
731
661
|
status: string;
|
|
732
662
|
name: string;
|
|
733
|
-
doctype: string;
|
|
734
663
|
owner: string;
|
|
735
664
|
creation: string;
|
|
736
665
|
modified: string;
|
|
737
666
|
modified_by: string;
|
|
738
667
|
idx: number;
|
|
739
668
|
docstatus: number;
|
|
669
|
+
doctype: string;
|
|
670
|
+
incoterm: string;
|
|
671
|
+
shipment_id: string;
|
|
740
672
|
delivery_address_name: string;
|
|
741
673
|
delivery_address: string;
|
|
742
674
|
delivery_customer: string;
|
|
743
675
|
delivery_to_type: string;
|
|
744
|
-
incoterm: string;
|
|
745
676
|
pallets: string;
|
|
746
677
|
pickup_address_name: string;
|
|
747
678
|
pickup_address: string;
|
|
@@ -756,51 +687,49 @@ export declare class ERPNextShipment {
|
|
|
756
687
|
shipment_amount: number;
|
|
757
688
|
shipment_delivery_note: {
|
|
758
689
|
name: string;
|
|
759
|
-
doctype: string;
|
|
760
690
|
owner: string;
|
|
761
691
|
creation: string;
|
|
762
692
|
modified: string;
|
|
763
693
|
modified_by: string;
|
|
764
|
-
parent: string;
|
|
765
|
-
parentfield: string;
|
|
766
|
-
parenttype: string;
|
|
767
694
|
idx: number;
|
|
768
695
|
docstatus: number;
|
|
696
|
+
doctype: string;
|
|
697
|
+
parenttype: string;
|
|
698
|
+
parentfield: string;
|
|
769
699
|
grand_total: number;
|
|
770
700
|
delivery_note: string;
|
|
701
|
+
_user_tags?: string | undefined;
|
|
771
702
|
__unsaved?: number | null | undefined;
|
|
772
703
|
}[];
|
|
773
704
|
shipment_parcel: {
|
|
774
705
|
length: number;
|
|
775
706
|
name: string;
|
|
776
|
-
doctype: string;
|
|
777
707
|
owner: string;
|
|
778
708
|
creation: string;
|
|
779
709
|
modified: string;
|
|
780
710
|
modified_by: string;
|
|
781
|
-
parent: string;
|
|
782
|
-
parentfield: string;
|
|
783
|
-
parenttype: string;
|
|
784
711
|
idx: number;
|
|
785
712
|
docstatus: number;
|
|
713
|
+
doctype: string;
|
|
714
|
+
parenttype: string;
|
|
715
|
+
parentfield: string;
|
|
786
716
|
width: number;
|
|
787
717
|
height: number;
|
|
788
718
|
weight: number;
|
|
789
719
|
count: number;
|
|
720
|
+
_user_tags?: string | undefined;
|
|
790
721
|
}[];
|
|
791
722
|
shipment_type: string;
|
|
792
723
|
tracking_status: string;
|
|
793
724
|
value_of_goods: number;
|
|
794
725
|
description_of_content: string;
|
|
795
726
|
pickup_date: string;
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
parentfield?: string | null | undefined;
|
|
799
|
-
parenttype?: string | null | undefined;
|
|
727
|
+
amended_from?: string | null | undefined;
|
|
728
|
+
_user_tags?: string | undefined;
|
|
800
729
|
__onload?: {
|
|
801
730
|
load_after_mapping: boolean;
|
|
802
731
|
} | null | undefined;
|
|
803
|
-
|
|
732
|
+
shipping_provider?: string | null | undefined;
|
|
804
733
|
delivery_contact?: string | null | undefined;
|
|
805
734
|
awb_number?: string | null | undefined;
|
|
806
735
|
carrier_service?: string | null | undefined;
|
|
@@ -817,22 +746,14 @@ export declare class ERPNextShipment {
|
|
|
817
746
|
pickup?: string | null | undefined;
|
|
818
747
|
service_provider?: string | null | undefined;
|
|
819
748
|
shipping_label?: string | null | undefined;
|
|
820
|
-
shipping_provider?: string | null | undefined;
|
|
821
749
|
custom_return_label?: string | null | undefined;
|
|
822
750
|
custom_return_shipping_provider?: string | null | undefined;
|
|
823
751
|
tracking_status_info?: string | null | undefined;
|
|
824
752
|
tracking_url?: string | null | undefined;
|
|
825
|
-
custom_delivery_country?: string | null | undefined;
|
|
826
|
-
custom_is_export?: number | null | undefined;
|
|
827
|
-
custom_export_status?: "Open" | "Customs Declaration in Progress" | "Customs Declaration Submitted" | "Customs Declaration Confirmed" | null | undefined;
|
|
828
753
|
}>;
|
|
829
754
|
constructor(temporalClient: TemporalClient);
|
|
830
755
|
createShipmentDraft(deliveryNoteName: string): Promise<{
|
|
831
756
|
status: string;
|
|
832
|
-
doctype: string;
|
|
833
|
-
owner: string;
|
|
834
|
-
idx: number;
|
|
835
|
-
docstatus: number;
|
|
836
757
|
delivery_address_name: string;
|
|
837
758
|
delivery_address: string;
|
|
838
759
|
delivery_customer: string;
|
|
@@ -850,12 +771,6 @@ export declare class ERPNextShipment {
|
|
|
850
771
|
pickup_type: string;
|
|
851
772
|
shipment_amount: number;
|
|
852
773
|
shipment_delivery_note: ({
|
|
853
|
-
doctype: string;
|
|
854
|
-
owner: string;
|
|
855
|
-
parentfield: string;
|
|
856
|
-
parenttype: string;
|
|
857
|
-
idx: number;
|
|
858
|
-
docstatus: number;
|
|
859
774
|
grand_total: number;
|
|
860
775
|
delivery_note: string;
|
|
861
776
|
__unsaved?: number | null | undefined;
|
|
@@ -869,41 +784,42 @@ export declare class ERPNextShipment {
|
|
|
869
784
|
load_after_mapping: boolean;
|
|
870
785
|
} | null | undefined;
|
|
871
786
|
__unsaved?: number | null | undefined;
|
|
787
|
+
incoterm?: string | null | undefined;
|
|
872
788
|
__islocal?: number | null | undefined;
|
|
873
789
|
delivery_contact?: string | undefined;
|
|
874
|
-
incoterm?: string | null | undefined;
|
|
875
790
|
}>;
|
|
876
791
|
getShipmentInfoByOrderNumber(orderNumber: string): Promise<{
|
|
877
792
|
name: string;
|
|
878
|
-
address_title: string;
|
|
879
793
|
creation: string;
|
|
794
|
+
address_title: string;
|
|
880
795
|
item_code: string;
|
|
881
|
-
qty: number;
|
|
882
796
|
item_name: string;
|
|
797
|
+
qty: number;
|
|
883
798
|
address_line1?: string | null | undefined;
|
|
884
799
|
address_line2?: string | null | undefined;
|
|
885
|
-
city?: string | null | undefined;
|
|
886
800
|
pincode?: string | null | undefined;
|
|
801
|
+
city?: string | null | undefined;
|
|
887
802
|
country?: string | null | undefined;
|
|
888
803
|
image?: string | null | undefined;
|
|
889
|
-
shipping_label?: string | null | undefined;
|
|
890
804
|
shipping_provider?: string | null | undefined;
|
|
805
|
+
shipping_label?: string | null | undefined;
|
|
891
806
|
}[]>;
|
|
892
807
|
addShippingLabelAndSubmit(shipmentErpNextName: string, body: ShipmentAddShippingLabelAndSubmitBodyType): Promise<{
|
|
893
808
|
status: string;
|
|
894
809
|
name: string;
|
|
895
|
-
doctype: string;
|
|
896
810
|
owner: string;
|
|
897
811
|
creation: string;
|
|
898
812
|
modified: string;
|
|
899
813
|
modified_by: string;
|
|
900
814
|
idx: number;
|
|
901
815
|
docstatus: number;
|
|
816
|
+
doctype: string;
|
|
817
|
+
incoterm: string;
|
|
818
|
+
shipment_id: string;
|
|
902
819
|
delivery_address_name: string;
|
|
903
820
|
delivery_address: string;
|
|
904
821
|
delivery_customer: string;
|
|
905
822
|
delivery_to_type: string;
|
|
906
|
-
incoterm: string;
|
|
907
823
|
pallets: string;
|
|
908
824
|
pickup_address_name: string;
|
|
909
825
|
pickup_address: string;
|
|
@@ -918,51 +834,49 @@ export declare class ERPNextShipment {
|
|
|
918
834
|
shipment_amount: number;
|
|
919
835
|
shipment_delivery_note: {
|
|
920
836
|
name: string;
|
|
921
|
-
doctype: string;
|
|
922
837
|
owner: string;
|
|
923
838
|
creation: string;
|
|
924
839
|
modified: string;
|
|
925
840
|
modified_by: string;
|
|
926
|
-
parent: string;
|
|
927
|
-
parentfield: string;
|
|
928
|
-
parenttype: string;
|
|
929
841
|
idx: number;
|
|
930
842
|
docstatus: number;
|
|
843
|
+
doctype: string;
|
|
844
|
+
parenttype: string;
|
|
845
|
+
parentfield: string;
|
|
931
846
|
grand_total: number;
|
|
932
847
|
delivery_note: string;
|
|
848
|
+
_user_tags?: string | undefined;
|
|
933
849
|
__unsaved?: number | null | undefined;
|
|
934
850
|
}[];
|
|
935
851
|
shipment_parcel: {
|
|
936
852
|
length: number;
|
|
937
853
|
name: string;
|
|
938
|
-
doctype: string;
|
|
939
854
|
owner: string;
|
|
940
855
|
creation: string;
|
|
941
856
|
modified: string;
|
|
942
857
|
modified_by: string;
|
|
943
|
-
parent: string;
|
|
944
|
-
parentfield: string;
|
|
945
|
-
parenttype: string;
|
|
946
858
|
idx: number;
|
|
947
859
|
docstatus: number;
|
|
860
|
+
doctype: string;
|
|
861
|
+
parenttype: string;
|
|
862
|
+
parentfield: string;
|
|
948
863
|
width: number;
|
|
949
864
|
height: number;
|
|
950
865
|
weight: number;
|
|
951
866
|
count: number;
|
|
867
|
+
_user_tags?: string | undefined;
|
|
952
868
|
}[];
|
|
953
869
|
shipment_type: string;
|
|
954
870
|
tracking_status: string;
|
|
955
871
|
value_of_goods: number;
|
|
956
872
|
description_of_content: string;
|
|
957
873
|
pickup_date: string;
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
parentfield?: string | null | undefined;
|
|
961
|
-
parenttype?: string | null | undefined;
|
|
874
|
+
amended_from?: string | null | undefined;
|
|
875
|
+
_user_tags?: string | undefined;
|
|
962
876
|
__onload?: {
|
|
963
877
|
load_after_mapping: boolean;
|
|
964
878
|
} | null | undefined;
|
|
965
|
-
|
|
879
|
+
shipping_provider?: string | null | undefined;
|
|
966
880
|
delivery_contact?: string | null | undefined;
|
|
967
881
|
awb_number?: string | null | undefined;
|
|
968
882
|
carrier_service?: string | null | undefined;
|
|
@@ -979,13 +893,9 @@ export declare class ERPNextShipment {
|
|
|
979
893
|
pickup?: string | null | undefined;
|
|
980
894
|
service_provider?: string | null | undefined;
|
|
981
895
|
shipping_label?: string | null | undefined;
|
|
982
|
-
shipping_provider?: string | null | undefined;
|
|
983
896
|
custom_return_label?: string | null | undefined;
|
|
984
897
|
custom_return_shipping_provider?: string | null | undefined;
|
|
985
898
|
tracking_status_info?: string | null | undefined;
|
|
986
899
|
tracking_url?: string | null | undefined;
|
|
987
|
-
custom_delivery_country?: string | null | undefined;
|
|
988
|
-
custom_is_export?: number | null | undefined;
|
|
989
|
-
custom_export_status?: "Open" | "Customs Declaration in Progress" | "Customs Declaration Submitted" | "Customs Declaration Confirmed" | null | undefined;
|
|
990
900
|
}>;
|
|
991
901
|
}
|