erpnext-queue-client 2.3.6 → 2.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/erpnext/doctypeResourceRequest.d.ts +1 -1
- package/dist/erpnext/doctypeSubmittableResourceRequest.d.ts +6 -159
- package/dist/erpnext/doctypeSubmittableResourceRequest.js +2 -2
- package/dist/erpnext/doctypes/address.d.ts +75 -3
- package/dist/erpnext/doctypes/consolidatedCustomsInvoice.d.ts +64 -54
- package/dist/erpnext/doctypes/contact.d.ts +219 -3
- package/dist/erpnext/doctypes/deliveryNote.d.ts +205 -200
- package/dist/erpnext/doctypes/item.d.ts +17 -2
- package/dist/erpnext/doctypes/paymentEntry.d.ts +112 -4
- package/dist/erpnext/doctypes/productBundle.d.ts +4 -2
- package/dist/erpnext/doctypes/purchaseInvoice.d.ts +140 -4
- package/dist/erpnext/doctypes/purchaseReceipt.d.ts +10 -4
- package/dist/erpnext/doctypes/salesInvoice.d.ts +398 -4
- package/dist/erpnext/doctypes/servicecase.d.ts +38 -2
- package/dist/erpnext/doctypes/shipment.d.ts +98 -91
- package/dist/erpnext/doctypes/shipment.js +2 -1
- package/dist/erpnext/erpnextRequestWrapper.d.ts +4 -2
- package/dist/erpnext/erpnextRequestWrapper.js +1 -1
- package/dist/erpnext/fileRequests.d.ts +2 -2
- package/dist/erpnext/fileRequests.js +2 -1
- package/dist/erpnext/model/ConsolidatedCustomsInvoice.d.ts +61 -23
- package/dist/erpnext/model/ConsolidatedCustomsInvoice.js +20 -11
- package/dist/erpnext/model/Contact.d.ts +29 -0
- package/dist/erpnext/model/Contact.js +5 -5
- package/dist/erpnext/model/DeliveryNote.d.ts +300 -100
- package/dist/erpnext/model/DeliveryNote.js +101 -100
- package/dist/erpnext/model/DispatchRun.d.ts +3 -0
- package/dist/erpnext/model/DispatchRun.js +1 -0
- package/dist/erpnext/model/DocTypeHelpers.d.ts +12 -7
- package/dist/erpnext/model/DocTypeHelpers.js +43 -19
- package/dist/erpnext/model/ERPNextDocTypeMeta.d.ts +3 -0
- package/dist/erpnext/model/ERPNextDocTypeMeta.js +3 -2
- package/dist/erpnext/model/File.d.ts +50 -0
- package/dist/erpnext/model/File.js +3 -1
- package/dist/erpnext/model/FulfillerSettings.d.ts +52 -24
- package/dist/erpnext/model/FulfillerSettings.js +19 -7
- package/dist/erpnext/model/Item.d.ts +43 -0
- package/dist/erpnext/model/Item.js +2 -1
- package/dist/erpnext/model/PurchaseInvoice.d.ts +75 -1
- package/dist/erpnext/model/PurchaseOrder.d.ts +52 -63
- package/dist/erpnext/model/PurchaseOrder.js +20 -38
- package/dist/erpnext/model/SalesInvoice.d.ts +196 -3
- package/dist/erpnext/model/Servicecase.d.ts +8 -0
- package/dist/erpnext/model/Shipment.d.ts +119 -162
- package/dist/erpnext/model/Shipment.js +17 -47
- package/dist/erpnext/model/ShippingProvider.d.ts +55 -65
- package/dist/erpnext/model/ShippingProvider.js +6 -10
- package/dist/erpnext/resourceRequest.d.ts +1 -1
- package/dist/utils/zodContextOptionals.js +7 -3
- package/dist/utils/zodUtils.js +3 -2
- package/package.json +1 -1
|
@@ -36,6 +36,7 @@ export declare class ERPNextServicecase {
|
|
|
36
36
|
modified_by: string;
|
|
37
37
|
idx: number;
|
|
38
38
|
doctype: string;
|
|
39
|
+
parent: string;
|
|
39
40
|
parenttype: string;
|
|
40
41
|
parentfield: string;
|
|
41
42
|
item: string;
|
|
@@ -62,6 +63,7 @@ export declare class ERPNextServicecase {
|
|
|
62
63
|
modified_by: string;
|
|
63
64
|
idx: number;
|
|
64
65
|
doctype: string;
|
|
66
|
+
parent: string;
|
|
65
67
|
parenttype: string;
|
|
66
68
|
parentfield: string;
|
|
67
69
|
quantity: number;
|
|
@@ -80,7 +82,7 @@ export declare class ERPNextServicecase {
|
|
|
80
82
|
customer_message?: string | null | undefined;
|
|
81
83
|
agreed_terms?: string | null | undefined;
|
|
82
84
|
}>;
|
|
83
|
-
getList: <TFieldOptions extends ("status" | "docstatus" | "name" | "owner" | "creation" | "modified" | "modified_by" | "idx" | "country" | "title" | "order_number" | "shop" | "is_sent_to_client" | "is_sent_to_cc" | "created_with") | ("_user_tags" | "external_id" | "customer_email" | "complaint_date" | "customer_message" | "agreed_terms"), TSelectedFields extends readonly ["*"] | TFieldOptions[] | undefined = undefined, TAsDict extends boolean | undefined = undefined>({ fields, filters, skip, limit, priority, asDict, params, }?: {
|
|
85
|
+
getList: <TFieldOptions extends ("status" | "docstatus" | "name" | "owner" | "creation" | "modified" | "modified_by" | "idx" | "country" | "title" | "order_number" | "shop" | "is_sent_to_client" | "is_sent_to_cc" | "created_with") | ("_user_tags" | "external_id" | "customer_email" | "complaint_date" | "customer_message" | "agreed_terms"), TSelectedFields extends readonly ["*"] | readonly TFieldOptions[] | undefined = undefined, TAsDict extends boolean | undefined = undefined>({ fields, filters, skip, limit, priority, asDict, params, }?: {
|
|
84
86
|
fields?: TSelectedFields;
|
|
85
87
|
filters?: (string | string[])[][];
|
|
86
88
|
skip?: number;
|
|
@@ -112,7 +114,7 @@ export declare class ERPNextServicecase {
|
|
|
112
114
|
complaint_date?: string | null | undefined;
|
|
113
115
|
customer_message?: string | null | undefined;
|
|
114
116
|
agreed_terms?: string | null | undefined;
|
|
115
|
-
}[] : TSelectedFields extends TFieldOptions[] ? { [K_1 in TSelectedFields[number] as K_1 extends `${infer _Before} as ${infer Alias}` ? Alias : K_1]: (K_1 extends `${infer _Before} as ${infer Alias}` ? Alias : K_1) extends ("status" | "docstatus" | "name" | "owner" | "creation" | "modified" | "modified_by" | "idx" | "country" | "title" | "order_number" | "shop" | "is_sent_to_client" | "is_sent_to_cc" | "created_with") | ("_user_tags" | "external_id" | "customer_email" | "complaint_date" | "customer_message" | "agreed_terms") ? {
|
|
117
|
+
}[] : TSelectedFields extends readonly TFieldOptions[] ? { [K_1 in TSelectedFields[number] as K_1 extends `${infer _Before} as ${infer Alias}` ? Alias : K_1]: (K_1 extends `${infer _Before} as ${infer Alias}` ? Alias : K_1) extends ("status" | "docstatus" | "name" | "owner" | "creation" | "modified" | "modified_by" | "idx" | "country" | "title" | "order_number" | "shop" | "is_sent_to_client" | "is_sent_to_cc" | "created_with") | ("_user_tags" | "external_id" | "customer_email" | "complaint_date" | "customer_message" | "agreed_terms") ? {
|
|
116
118
|
status: "EDITING" | "SUBMITTED" | "COMPLETED";
|
|
117
119
|
docstatus: number;
|
|
118
120
|
name: string;
|
|
@@ -164,6 +166,7 @@ export declare class ERPNextServicecase {
|
|
|
164
166
|
modified_by: string;
|
|
165
167
|
idx: number;
|
|
166
168
|
doctype: string;
|
|
169
|
+
parent: string;
|
|
167
170
|
parenttype: string;
|
|
168
171
|
parentfield: string;
|
|
169
172
|
item: string;
|
|
@@ -190,6 +193,7 @@ export declare class ERPNextServicecase {
|
|
|
190
193
|
modified_by: string;
|
|
191
194
|
idx: number;
|
|
192
195
|
doctype: string;
|
|
196
|
+
parent: string;
|
|
193
197
|
parenttype: string;
|
|
194
198
|
parentfield: string;
|
|
195
199
|
quantity: number;
|
|
@@ -236,6 +240,7 @@ export declare class ERPNextServicecase {
|
|
|
236
240
|
modified_by: string;
|
|
237
241
|
idx: number;
|
|
238
242
|
doctype: string;
|
|
243
|
+
parent: string;
|
|
239
244
|
parenttype: string;
|
|
240
245
|
parentfield: string;
|
|
241
246
|
item: string;
|
|
@@ -262,6 +267,7 @@ export declare class ERPNextServicecase {
|
|
|
262
267
|
modified_by: string;
|
|
263
268
|
idx: number;
|
|
264
269
|
doctype: string;
|
|
270
|
+
parent: string;
|
|
265
271
|
parenttype: string;
|
|
266
272
|
parentfield: string;
|
|
267
273
|
quantity: number;
|
|
@@ -313,6 +319,7 @@ export declare class ERPNextServicecase {
|
|
|
313
319
|
modified_by: string;
|
|
314
320
|
idx: number;
|
|
315
321
|
doctype: string;
|
|
322
|
+
parent: string;
|
|
316
323
|
parenttype: string;
|
|
317
324
|
parentfield: string;
|
|
318
325
|
item: string;
|
|
@@ -339,6 +346,7 @@ export declare class ERPNextServicecase {
|
|
|
339
346
|
modified_by: string;
|
|
340
347
|
idx: number;
|
|
341
348
|
doctype: string;
|
|
349
|
+
parent: string;
|
|
342
350
|
parenttype: string;
|
|
343
351
|
parentfield: string;
|
|
344
352
|
quantity: number;
|
|
@@ -385,6 +393,7 @@ export declare class ERPNextServicecase {
|
|
|
385
393
|
modified_by: string;
|
|
386
394
|
idx: number;
|
|
387
395
|
doctype: string;
|
|
396
|
+
parent: string;
|
|
388
397
|
parenttype: string;
|
|
389
398
|
parentfield: string;
|
|
390
399
|
item: string;
|
|
@@ -411,6 +420,7 @@ export declare class ERPNextServicecase {
|
|
|
411
420
|
modified_by: string;
|
|
412
421
|
idx: number;
|
|
413
422
|
doctype: string;
|
|
423
|
+
parent: string;
|
|
414
424
|
parenttype: string;
|
|
415
425
|
parentfield: string;
|
|
416
426
|
quantity: number;
|
|
@@ -462,6 +472,7 @@ export declare class ERPNextServicecase {
|
|
|
462
472
|
modified_by: string;
|
|
463
473
|
idx: number;
|
|
464
474
|
doctype: string;
|
|
475
|
+
parent: string;
|
|
465
476
|
parenttype: string;
|
|
466
477
|
parentfield: string;
|
|
467
478
|
_user_tags?: string | null | undefined;
|
|
@@ -475,6 +486,7 @@ export declare class ERPNextServicecase {
|
|
|
475
486
|
modified_by: string;
|
|
476
487
|
idx: number;
|
|
477
488
|
doctype: string;
|
|
489
|
+
parent: string;
|
|
478
490
|
parenttype: string;
|
|
479
491
|
parentfield: string;
|
|
480
492
|
title_de: string | null;
|
|
@@ -526,6 +538,18 @@ export declare class ERPNextServicecase {
|
|
|
526
538
|
attachments?: {
|
|
527
539
|
type: "image" | "video";
|
|
528
540
|
url: string;
|
|
541
|
+
docstatus: number;
|
|
542
|
+
name: string;
|
|
543
|
+
owner: string;
|
|
544
|
+
creation: string;
|
|
545
|
+
modified: string;
|
|
546
|
+
modified_by: string;
|
|
547
|
+
idx: number;
|
|
548
|
+
doctype: string;
|
|
549
|
+
parent: string;
|
|
550
|
+
parenttype: string;
|
|
551
|
+
parentfield: string;
|
|
552
|
+
_user_tags?: string | null | undefined;
|
|
529
553
|
}[] | undefined;
|
|
530
554
|
}>;
|
|
531
555
|
internalReasonUpdate(resourceId: string, body: InternalReasonCollectionType, options?: {
|
|
@@ -541,7 +565,19 @@ export declare class ERPNextServicecase {
|
|
|
541
565
|
doctype: string;
|
|
542
566
|
_user_tags?: string | null | undefined;
|
|
543
567
|
internal_reasons?: {
|
|
568
|
+
docstatus: number;
|
|
569
|
+
name: string;
|
|
570
|
+
owner: string;
|
|
571
|
+
creation: string;
|
|
572
|
+
modified: string;
|
|
573
|
+
modified_by: string;
|
|
574
|
+
idx: number;
|
|
575
|
+
doctype: string;
|
|
576
|
+
parent: string;
|
|
577
|
+
parenttype: string;
|
|
578
|
+
parentfield: string;
|
|
544
579
|
internal_reason: string;
|
|
580
|
+
_user_tags?: string | null | undefined;
|
|
545
581
|
}[] | undefined;
|
|
546
582
|
}>;
|
|
547
583
|
}
|