erpnext-queue-client 2.3.6 → 2.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. package/dist/erpnext/doctypeResourceRequest.d.ts +1 -1
  2. package/dist/erpnext/doctypeSubmittableResourceRequest.d.ts +6 -159
  3. package/dist/erpnext/doctypeSubmittableResourceRequest.js +2 -2
  4. package/dist/erpnext/doctypes/address.d.ts +75 -3
  5. package/dist/erpnext/doctypes/consolidatedCustomsInvoice.d.ts +64 -54
  6. package/dist/erpnext/doctypes/contact.d.ts +219 -3
  7. package/dist/erpnext/doctypes/deliveryNote.d.ts +205 -200
  8. package/dist/erpnext/doctypes/item.d.ts +17 -2
  9. package/dist/erpnext/doctypes/paymentEntry.d.ts +112 -4
  10. package/dist/erpnext/doctypes/productBundle.d.ts +4 -2
  11. package/dist/erpnext/doctypes/purchaseInvoice.d.ts +140 -4
  12. package/dist/erpnext/doctypes/purchaseReceipt.d.ts +10 -4
  13. package/dist/erpnext/doctypes/salesInvoice.d.ts +398 -4
  14. package/dist/erpnext/doctypes/servicecase.d.ts +38 -2
  15. package/dist/erpnext/doctypes/shipment.d.ts +98 -91
  16. package/dist/erpnext/doctypes/shipment.js +2 -1
  17. package/dist/erpnext/erpnextRequestWrapper.d.ts +4 -2
  18. package/dist/erpnext/erpnextRequestWrapper.js +1 -1
  19. package/dist/erpnext/fileRequests.d.ts +2 -2
  20. package/dist/erpnext/fileRequests.js +2 -1
  21. package/dist/erpnext/model/ConsolidatedCustomsInvoice.d.ts +61 -23
  22. package/dist/erpnext/model/ConsolidatedCustomsInvoice.js +20 -11
  23. package/dist/erpnext/model/Contact.d.ts +29 -0
  24. package/dist/erpnext/model/Contact.js +5 -5
  25. package/dist/erpnext/model/DeliveryNote.d.ts +300 -100
  26. package/dist/erpnext/model/DeliveryNote.js +101 -100
  27. package/dist/erpnext/model/DispatchRun.d.ts +3 -0
  28. package/dist/erpnext/model/DispatchRun.js +1 -0
  29. package/dist/erpnext/model/DocTypeHelpers.d.ts +12 -7
  30. package/dist/erpnext/model/DocTypeHelpers.js +43 -19
  31. package/dist/erpnext/model/ERPNextDocTypeMeta.d.ts +3 -0
  32. package/dist/erpnext/model/ERPNextDocTypeMeta.js +3 -2
  33. package/dist/erpnext/model/File.d.ts +50 -0
  34. package/dist/erpnext/model/File.js +3 -1
  35. package/dist/erpnext/model/FulfillerSettings.d.ts +52 -24
  36. package/dist/erpnext/model/FulfillerSettings.js +19 -7
  37. package/dist/erpnext/model/Item.d.ts +43 -0
  38. package/dist/erpnext/model/Item.js +2 -1
  39. package/dist/erpnext/model/PurchaseInvoice.d.ts +75 -1
  40. package/dist/erpnext/model/PurchaseOrder.d.ts +52 -63
  41. package/dist/erpnext/model/PurchaseOrder.js +20 -38
  42. package/dist/erpnext/model/SalesInvoice.d.ts +196 -3
  43. package/dist/erpnext/model/Servicecase.d.ts +8 -0
  44. package/dist/erpnext/model/Shipment.d.ts +119 -162
  45. package/dist/erpnext/model/Shipment.js +17 -47
  46. package/dist/erpnext/model/ShippingProvider.d.ts +55 -65
  47. package/dist/erpnext/model/ShippingProvider.js +6 -10
  48. package/dist/erpnext/resourceRequest.d.ts +1 -1
  49. package/dist/utils/zodContextOptionals.js +7 -3
  50. package/dist/utils/zodUtils.js +3 -2
  51. package/package.json +1 -1
@@ -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
  }