erpnext-queue-client 1.24.4 → 1.25.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/index.d.ts +2 -0
- package/dist/index.js +2 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -32,6 +32,7 @@ import { ShippingLabel } from "./erpnext/model/ShippingLabel";
|
|
|
32
32
|
import { ServicecaseReason } from "./erpnext/model/ServicecaseReason";
|
|
33
33
|
import { ServiceCaseSolution } from "./erpnext/model/ServicecaseSolution";
|
|
34
34
|
import { InternalReason } from "./erpnext/model/InternalReasons";
|
|
35
|
+
import { ERPNextFile } from "./erpnext/model/File";
|
|
35
36
|
export declare class ERPNextQueueClient {
|
|
36
37
|
temporalClient: TemporalClient;
|
|
37
38
|
private credentials?;
|
|
@@ -65,6 +66,7 @@ export declare class ERPNextQueueClient {
|
|
|
65
66
|
servicecaseSolution: ERPNextDoctypeResourceRequest<typeof ServiceCaseSolution>;
|
|
66
67
|
internalReason: ERPNextDoctypeResourceRequest<typeof InternalReason>;
|
|
67
68
|
shippingLabel: ERPNextDoctypeResourceRequest<typeof ShippingLabel>;
|
|
69
|
+
file: ERPNextDoctypeResourceRequest<typeof ERPNextFile>;
|
|
68
70
|
/**
|
|
69
71
|
* @description Provide either a temporal client or connection details to create a new client
|
|
70
72
|
*/
|
package/dist/index.js
CHANGED
|
@@ -35,6 +35,7 @@ const ShippingLabel_1 = require("./erpnext/model/ShippingLabel");
|
|
|
35
35
|
const ServicecaseReason_1 = require("./erpnext/model/ServicecaseReason");
|
|
36
36
|
const ServicecaseSolution_1 = require("./erpnext/model/ServicecaseSolution");
|
|
37
37
|
const InternalReasons_1 = require("./erpnext/model/InternalReasons");
|
|
38
|
+
const File_1 = require("./erpnext/model/File");
|
|
38
39
|
class ERPNextQueueClient {
|
|
39
40
|
/**
|
|
40
41
|
* @description Provide either a temporal client or connection details to create a new client
|
|
@@ -52,6 +53,7 @@ class ERPNextQueueClient {
|
|
|
52
53
|
this.address = new address_1.ERPNextAddress(this.temporalClient);
|
|
53
54
|
this.contact = new contact_1.ERPNextContact(this.temporalClient);
|
|
54
55
|
this.customer = new doctypeResourceRequest_1.ERPNextDoctypeResourceRequest(this.temporalClient, "Customer", Customer_1.Customer);
|
|
56
|
+
this.file = new doctypeResourceRequest_1.ERPNextDoctypeResourceRequest(this.temporalClient, "File", File_1.ERPNextFile);
|
|
55
57
|
this.fileRequests = new fileRequests_1.ERPNextFileRequests(this.temporalClient, this.credentials);
|
|
56
58
|
this.deliveryNote = new deliveryNote_1.ERPNextDeliveryNote(this.temporalClient, this.fileRequests);
|
|
57
59
|
this.shipment = new shipment_1.ERPNextShipment(this.temporalClient);
|