erpnext-queue-client 1.29.7 → 1.31.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.
- package/dist/erpnext/doctypes/productBundle.d.ts +157 -0
- package/dist/erpnext/doctypes/productBundle.js +34 -0
- package/dist/erpnext/doctypes/shipment.d.ts +1 -0
- package/dist/erpnext/model/PartList.d.ts +4 -4
- package/dist/erpnext/model/ProductBundle.d.ts +26 -0
- package/dist/erpnext/model/ProductBundle.js +7 -1
- package/dist/erpnext/model/Shipment.d.ts +3 -0
- package/dist/erpnext/model/Shipment.js +1 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/package.json +1 -1
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
import { TemporalClient } from "../../client";
|
|
2
|
+
import { ERPNextDoctypeResourceRequest } from "../doctypeResourceRequest";
|
|
3
|
+
import { ProductBundle } from "../model/ProductBundle";
|
|
4
|
+
export declare class ERPNextProductBundle {
|
|
5
|
+
protected temporalClient: TemporalClient;
|
|
6
|
+
protected baseRequest: ERPNextDoctypeResourceRequest<typeof ProductBundle>;
|
|
7
|
+
getList: <TField extends ("name" | "owner" | "creation" | "modified" | "idx" | "docstatus" | "disabled" | "items" | "new_item_code") | ("description" | "modified_by" | "custom_image" | "custom_parent_item_name" | "about"), TAsDict extends boolean | undefined = undefined>({ fields, filters, skip, limit, priority, asDict, params, }?: {
|
|
8
|
+
fields?: TField[] | undefined;
|
|
9
|
+
filters?: (string | string[])[][];
|
|
10
|
+
skip?: number;
|
|
11
|
+
limit?: number;
|
|
12
|
+
priority?: number;
|
|
13
|
+
asDict?: TAsDict;
|
|
14
|
+
params?: Record<string, string>;
|
|
15
|
+
}) => Promise<TAsDict extends false ? string[][] : Pick<{
|
|
16
|
+
name: string;
|
|
17
|
+
owner: string;
|
|
18
|
+
creation: string;
|
|
19
|
+
modified: string;
|
|
20
|
+
idx: number;
|
|
21
|
+
docstatus: number;
|
|
22
|
+
disabled: number;
|
|
23
|
+
items: {
|
|
24
|
+
name: string;
|
|
25
|
+
owner: string;
|
|
26
|
+
creation: string;
|
|
27
|
+
modified: string;
|
|
28
|
+
idx: number;
|
|
29
|
+
docstatus: number;
|
|
30
|
+
item_code: string;
|
|
31
|
+
qty: number;
|
|
32
|
+
description?: string | null | undefined;
|
|
33
|
+
doctype?: string | null | undefined;
|
|
34
|
+
modified_by?: string | null | undefined;
|
|
35
|
+
parent?: string | null | undefined;
|
|
36
|
+
parentfield?: string | null | undefined;
|
|
37
|
+
rate?: number | null | undefined;
|
|
38
|
+
uom?: string | null | undefined;
|
|
39
|
+
}[];
|
|
40
|
+
new_item_code: string;
|
|
41
|
+
description?: string | null | undefined;
|
|
42
|
+
modified_by?: string | null | undefined;
|
|
43
|
+
custom_image?: string | null | undefined;
|
|
44
|
+
custom_parent_item_name?: string | null | undefined;
|
|
45
|
+
about?: string | null | undefined;
|
|
46
|
+
}, TField>[]>;
|
|
47
|
+
getById: ({ resourceId, priority, }: {
|
|
48
|
+
resourceId: string;
|
|
49
|
+
priority?: number;
|
|
50
|
+
}) => Promise<{
|
|
51
|
+
name: string;
|
|
52
|
+
owner: string;
|
|
53
|
+
creation: string;
|
|
54
|
+
modified: string;
|
|
55
|
+
idx: number;
|
|
56
|
+
docstatus: number;
|
|
57
|
+
disabled: number;
|
|
58
|
+
items: {
|
|
59
|
+
name: string;
|
|
60
|
+
owner: string;
|
|
61
|
+
creation: string;
|
|
62
|
+
modified: string;
|
|
63
|
+
idx: number;
|
|
64
|
+
docstatus: number;
|
|
65
|
+
item_code: string;
|
|
66
|
+
qty: number;
|
|
67
|
+
description?: string | null | undefined;
|
|
68
|
+
doctype?: string | null | undefined;
|
|
69
|
+
modified_by?: string | null | undefined;
|
|
70
|
+
parent?: string | null | undefined;
|
|
71
|
+
parentfield?: string | null | undefined;
|
|
72
|
+
rate?: number | null | undefined;
|
|
73
|
+
uom?: string | null | undefined;
|
|
74
|
+
}[];
|
|
75
|
+
new_item_code: string;
|
|
76
|
+
description?: string | null | undefined;
|
|
77
|
+
modified_by?: string | null | undefined;
|
|
78
|
+
custom_image?: string | null | undefined;
|
|
79
|
+
custom_parent_item_name?: string | null | undefined;
|
|
80
|
+
about?: string | null | undefined;
|
|
81
|
+
}>;
|
|
82
|
+
updateById: <TInput extends TInputModel extends undefined ? Partial<{
|
|
83
|
+
name: string;
|
|
84
|
+
owner: string;
|
|
85
|
+
creation: string;
|
|
86
|
+
modified: string;
|
|
87
|
+
idx: number;
|
|
88
|
+
docstatus: number;
|
|
89
|
+
disabled: number;
|
|
90
|
+
items: {
|
|
91
|
+
name: string;
|
|
92
|
+
owner: string;
|
|
93
|
+
creation: string;
|
|
94
|
+
modified: string;
|
|
95
|
+
idx: number;
|
|
96
|
+
docstatus: number;
|
|
97
|
+
item_code: string;
|
|
98
|
+
qty: number;
|
|
99
|
+
description?: string | null | undefined;
|
|
100
|
+
doctype?: string | null | undefined;
|
|
101
|
+
modified_by?: string | null | undefined;
|
|
102
|
+
parent?: string | null | undefined;
|
|
103
|
+
parentfield?: string | null | undefined;
|
|
104
|
+
rate?: number | null | undefined;
|
|
105
|
+
uom?: string | null | undefined;
|
|
106
|
+
}[];
|
|
107
|
+
new_item_code: string;
|
|
108
|
+
description?: string | null | undefined;
|
|
109
|
+
modified_by?: string | null | undefined;
|
|
110
|
+
custom_image?: string | null | undefined;
|
|
111
|
+
custom_parent_item_name?: string | null | undefined;
|
|
112
|
+
about?: string | null | undefined;
|
|
113
|
+
}> : TInputModel extends import("zod").ZodTypeAny ? Partial<import("zod").TypeOf<TInputModel>> : any, TInputModel extends import("zod").ZodTypeAny | undefined = undefined>({ resourceId, inputValidationModel, body, priority, }: {
|
|
114
|
+
resourceId: string;
|
|
115
|
+
inputValidationModel?: TInputModel;
|
|
116
|
+
priority?: number;
|
|
117
|
+
body: TInput;
|
|
118
|
+
}) => Promise<{
|
|
119
|
+
name: string;
|
|
120
|
+
owner: string;
|
|
121
|
+
creation: string;
|
|
122
|
+
modified: string;
|
|
123
|
+
idx: number;
|
|
124
|
+
docstatus: number;
|
|
125
|
+
disabled: number;
|
|
126
|
+
items: {
|
|
127
|
+
name: string;
|
|
128
|
+
owner: string;
|
|
129
|
+
creation: string;
|
|
130
|
+
modified: string;
|
|
131
|
+
idx: number;
|
|
132
|
+
docstatus: number;
|
|
133
|
+
item_code: string;
|
|
134
|
+
qty: number;
|
|
135
|
+
description?: string | null | undefined;
|
|
136
|
+
doctype?: string | null | undefined;
|
|
137
|
+
modified_by?: string | null | undefined;
|
|
138
|
+
parent?: string | null | undefined;
|
|
139
|
+
parentfield?: string | null | undefined;
|
|
140
|
+
rate?: number | null | undefined;
|
|
141
|
+
uom?: string | null | undefined;
|
|
142
|
+
}[];
|
|
143
|
+
new_item_code: string;
|
|
144
|
+
description?: string | null | undefined;
|
|
145
|
+
modified_by?: string | null | undefined;
|
|
146
|
+
custom_image?: string | null | undefined;
|
|
147
|
+
custom_parent_item_name?: string | null | undefined;
|
|
148
|
+
about?: string | null | undefined;
|
|
149
|
+
}>;
|
|
150
|
+
deleteById: ({ resourceId, priority, }: {
|
|
151
|
+
resourceId: string;
|
|
152
|
+
priority?: number;
|
|
153
|
+
}) => Promise<import("zod").TypeOf<typeof import("../model/ERPNextResponse").DeleteResponseModel>>;
|
|
154
|
+
private methodRequest;
|
|
155
|
+
constructor(temporalClient: TemporalClient);
|
|
156
|
+
getBundleInfos: () => Promise<void>;
|
|
157
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.ERPNextProductBundle = void 0;
|
|
13
|
+
const doctypeResourceRequest_1 = require("../doctypeResourceRequest");
|
|
14
|
+
const methodRequest_1 = require("../methodRequest");
|
|
15
|
+
const ProductBundle_1 = require("../model/ProductBundle");
|
|
16
|
+
class ERPNextProductBundle {
|
|
17
|
+
constructor(temporalClient) {
|
|
18
|
+
this.getBundleInfos = () => __awaiter(this, void 0, void 0, function* () {
|
|
19
|
+
yield this.methodRequest.request({
|
|
20
|
+
methodName: "get_bundle_infos",
|
|
21
|
+
requestMethod: "GET",
|
|
22
|
+
responseValidationModel: ProductBundle_1.GetBundleInfosResponse,
|
|
23
|
+
});
|
|
24
|
+
});
|
|
25
|
+
this.temporalClient = temporalClient;
|
|
26
|
+
this.baseRequest = new doctypeResourceRequest_1.ERPNextDoctypeResourceRequest(temporalClient, "ProductBundle", ProductBundle_1.ProductBundle);
|
|
27
|
+
this.methodRequest = new methodRequest_1.ERPNextMethodRequest(temporalClient);
|
|
28
|
+
this.getList = this.baseRequest.getList;
|
|
29
|
+
this.getById = this.baseRequest.getById;
|
|
30
|
+
this.updateById = this.baseRequest.updateById;
|
|
31
|
+
this.deleteById = this.baseRequest.deleteById;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
exports.ERPNextProductBundle = ERPNextProductBundle;
|
|
@@ -863,6 +863,7 @@ export declare class ERPNextShipment {
|
|
|
863
863
|
country?: string | null | undefined;
|
|
864
864
|
image?: string | null | undefined;
|
|
865
865
|
shipping_label?: string | null | undefined;
|
|
866
|
+
shipping_provider?: string | null | undefined;
|
|
866
867
|
}[]>;
|
|
867
868
|
addShippingLabelAndSubmit(shipmentErpNextName: string, body: ShipmentAddShippingLabelAndSubmitBodyType): Promise<{
|
|
868
869
|
status: string;
|
|
@@ -36,8 +36,8 @@ export declare const PartList: z.ZodObject<{
|
|
|
36
36
|
}, "strip", z.ZodTypeAny, {
|
|
37
37
|
name: string;
|
|
38
38
|
idx: number;
|
|
39
|
-
part: string;
|
|
40
39
|
quantity: number;
|
|
40
|
+
part: string;
|
|
41
41
|
is_allow_customer_self_service: boolean;
|
|
42
42
|
part_number?: string | null | undefined;
|
|
43
43
|
part_image?: string | null | undefined;
|
|
@@ -47,10 +47,10 @@ export declare const PartList: z.ZodObject<{
|
|
|
47
47
|
name: string;
|
|
48
48
|
idx: number;
|
|
49
49
|
part: string;
|
|
50
|
+
quantity?: number | undefined;
|
|
50
51
|
part_number?: string | null | undefined;
|
|
51
52
|
part_image?: string | null | undefined;
|
|
52
53
|
part_name?: string | null | undefined;
|
|
53
|
-
quantity?: number | undefined;
|
|
54
54
|
comment?: string | null | undefined;
|
|
55
55
|
is_allow_customer_self_service?: number | undefined;
|
|
56
56
|
}>, "many">;
|
|
@@ -70,8 +70,8 @@ export declare const PartList: z.ZodObject<{
|
|
|
70
70
|
part_list: {
|
|
71
71
|
name: string;
|
|
72
72
|
idx: number;
|
|
73
|
-
part: string;
|
|
74
73
|
quantity: number;
|
|
74
|
+
part: string;
|
|
75
75
|
is_allow_customer_self_service: boolean;
|
|
76
76
|
part_number?: string | null | undefined;
|
|
77
77
|
part_image?: string | null | undefined;
|
|
@@ -96,10 +96,10 @@ export declare const PartList: z.ZodObject<{
|
|
|
96
96
|
name: string;
|
|
97
97
|
idx: number;
|
|
98
98
|
part: string;
|
|
99
|
+
quantity?: number | undefined;
|
|
99
100
|
part_number?: string | null | undefined;
|
|
100
101
|
part_image?: string | null | undefined;
|
|
101
102
|
part_name?: string | null | undefined;
|
|
102
|
-
quantity?: number | undefined;
|
|
103
103
|
comment?: string | null | undefined;
|
|
104
104
|
is_allow_customer_self_service?: number | undefined;
|
|
105
105
|
}[];
|
|
@@ -176,3 +176,29 @@ export declare const ProductBundle: z.ZodObject<{
|
|
|
176
176
|
about?: string | null | undefined;
|
|
177
177
|
}>;
|
|
178
178
|
export type ProductBundleType = z.infer<typeof ProductBundle>;
|
|
179
|
+
export declare const GetBundleInfosResponse: z.ZodArray<z.ZodObject<{
|
|
180
|
+
parent_item_code: z.ZodString;
|
|
181
|
+
items: z.ZodArray<z.ZodObject<{
|
|
182
|
+
item_code: z.ZodString;
|
|
183
|
+
quantity: z.ZodNumber;
|
|
184
|
+
}, "strip", z.ZodTypeAny, {
|
|
185
|
+
item_code: string;
|
|
186
|
+
quantity: number;
|
|
187
|
+
}, {
|
|
188
|
+
item_code: string;
|
|
189
|
+
quantity: number;
|
|
190
|
+
}>, "many">;
|
|
191
|
+
}, "strip", z.ZodTypeAny, {
|
|
192
|
+
items: {
|
|
193
|
+
item_code: string;
|
|
194
|
+
quantity: number;
|
|
195
|
+
}[];
|
|
196
|
+
parent_item_code: string;
|
|
197
|
+
}, {
|
|
198
|
+
items: {
|
|
199
|
+
item_code: string;
|
|
200
|
+
quantity: number;
|
|
201
|
+
}[];
|
|
202
|
+
parent_item_code: string;
|
|
203
|
+
}>, "many">;
|
|
204
|
+
export type GetBundleInfosResponseType = z.infer<typeof GetBundleInfosResponse>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ProductBundle = exports.ProductBundleItem = void 0;
|
|
3
|
+
exports.GetBundleInfosResponse = exports.ProductBundle = exports.ProductBundleItem = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
exports.ProductBundleItem = zod_1.z
|
|
6
6
|
.object({
|
|
@@ -39,3 +39,9 @@ exports.ProductBundle = zod_1.z
|
|
|
39
39
|
about: zod_1.z.string().optional().nullable(),
|
|
40
40
|
})
|
|
41
41
|
.describe("Product Bundle");
|
|
42
|
+
exports.GetBundleInfosResponse = zod_1.z
|
|
43
|
+
.array(zod_1.z.object({
|
|
44
|
+
parent_item_code: zod_1.z.string(),
|
|
45
|
+
items: zod_1.z.array(zod_1.z.object({ item_code: zod_1.z.string(), quantity: zod_1.z.number() })),
|
|
46
|
+
}))
|
|
47
|
+
.describe("Get Bundle Infos Response");
|
|
@@ -1145,6 +1145,7 @@ export declare const ShipmentInfoByOrderNumberMethodResponseData: z.ZodArray<z.Z
|
|
|
1145
1145
|
qty: z.ZodNumber;
|
|
1146
1146
|
address_title: z.ZodString;
|
|
1147
1147
|
shipping_label: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1148
|
+
shipping_provider: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1148
1149
|
address_line1: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1149
1150
|
address_line2: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1150
1151
|
city: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -1165,6 +1166,7 @@ export declare const ShipmentInfoByOrderNumberMethodResponseData: z.ZodArray<z.Z
|
|
|
1165
1166
|
country?: string | null | undefined;
|
|
1166
1167
|
image?: string | null | undefined;
|
|
1167
1168
|
shipping_label?: string | null | undefined;
|
|
1169
|
+
shipping_provider?: string | null | undefined;
|
|
1168
1170
|
}, {
|
|
1169
1171
|
name: string;
|
|
1170
1172
|
address_title: string;
|
|
@@ -1179,5 +1181,6 @@ export declare const ShipmentInfoByOrderNumberMethodResponseData: z.ZodArray<z.Z
|
|
|
1179
1181
|
country?: string | null | undefined;
|
|
1180
1182
|
image?: string | null | undefined;
|
|
1181
1183
|
shipping_label?: string | null | undefined;
|
|
1184
|
+
shipping_provider?: string | null | undefined;
|
|
1182
1185
|
}>, "many">;
|
|
1183
1186
|
export type ShipmentInfoByOrderNumberMethodResponseDataType = z.infer<typeof ShipmentInfoByOrderNumberMethodResponseData>;
|
|
@@ -198,6 +198,7 @@ exports.ShipmentInfoByOrderNumberMethodResponseData = zod_1.z
|
|
|
198
198
|
qty: zod_1.z.number(),
|
|
199
199
|
address_title: zod_1.z.string(),
|
|
200
200
|
shipping_label: zod_1.z.string().optional().nullable(),
|
|
201
|
+
shipping_provider: zod_1.z.string().optional().nullable(),
|
|
201
202
|
address_line1: zod_1.z.string().optional().nullable(),
|
|
202
203
|
address_line2: zod_1.z.string().optional().nullable(),
|
|
203
204
|
city: zod_1.z.string().optional().nullable(),
|
package/dist/index.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ import { ERPNextItem } from "./erpnext/doctypes/item";
|
|
|
7
7
|
import { ERPNextPurchaseInvoice } from "./erpnext/doctypes/purchaseInvoice";
|
|
8
8
|
import { ERPNextPurchaseReceipt } from "./erpnext/doctypes/purchaseReceipt";
|
|
9
9
|
import { ERPNextShipment } from "./erpnext/doctypes/shipment";
|
|
10
|
+
import { ERPNextProductBundle } from "./erpnext/doctypes/productBundle";
|
|
10
11
|
import { ERPNextStock } from "./erpnext/doctypes/stock";
|
|
11
12
|
import { ERPNextDoctypeSubmittableResourceRequest } from "./erpnext/doctypeSubmittableResourceRequest";
|
|
12
13
|
import { ERPNextFileRequests } from "./erpnext/fileRequests";
|
|
@@ -17,7 +18,6 @@ import { Customer } from "./erpnext/model/Customer";
|
|
|
17
18
|
import { ERPNextQueueClientContructorOptions } from "./erpnext/model/ERPNextQueue";
|
|
18
19
|
import { PartList } from "./erpnext/model/PartList";
|
|
19
20
|
import { PaymentEntry } from "./erpnext/model/PaymentEntry";
|
|
20
|
-
import { ProductBundle } from "./erpnext/model/ProductBundle";
|
|
21
21
|
import { PurchaseOrder } from "./erpnext/model/PurchaseOrder";
|
|
22
22
|
import { ShippingProvider } from "./erpnext/model/ShippingProvider";
|
|
23
23
|
import { StockEntry } from "./erpnext/model/StockEntry";
|
|
@@ -45,6 +45,7 @@ export declare class ERPNextQueueClient {
|
|
|
45
45
|
deliveryNote: ERPNextDeliveryNote;
|
|
46
46
|
fileRequests: ERPNextFileRequests;
|
|
47
47
|
shipment: ERPNextShipment;
|
|
48
|
+
productBundle: ERPNextProductBundle;
|
|
48
49
|
shippingProvider: ERPNextDoctypeResourceRequest<typeof ShippingProvider>;
|
|
49
50
|
item: ERPNextItem;
|
|
50
51
|
purchaseOrder: ERPNextDoctypeSubmittableResourceRequest<typeof PurchaseOrder>;
|
|
@@ -57,7 +58,6 @@ export declare class ERPNextQueueClient {
|
|
|
57
58
|
stockReconciliation: ERPNextDoctypeSubmittableResourceRequest<typeof StockReconciliation>;
|
|
58
59
|
stock: ERPNextStock;
|
|
59
60
|
reports: ERPNextReports;
|
|
60
|
-
productBundle: ERPNextDoctypeResourceRequest<typeof ProductBundle>;
|
|
61
61
|
compliance: ERPNextDoctypeResourceRequest<typeof Compliance>;
|
|
62
62
|
partList: ERPNextDoctypeResourceRequest<typeof PartList>;
|
|
63
63
|
servicecase: ERPNextServicecase;
|
package/dist/index.js
CHANGED
|
@@ -11,6 +11,7 @@ const item_1 = require("./erpnext/doctypes/item");
|
|
|
11
11
|
const purchaseInvoice_1 = require("./erpnext/doctypes/purchaseInvoice");
|
|
12
12
|
const purchaseReceipt_1 = require("./erpnext/doctypes/purchaseReceipt");
|
|
13
13
|
const shipment_1 = require("./erpnext/doctypes/shipment");
|
|
14
|
+
const productBundle_1 = require("./erpnext/doctypes/productBundle");
|
|
14
15
|
const stock_1 = require("./erpnext/doctypes/stock");
|
|
15
16
|
const doctypeSubmittableResourceRequest_1 = require("./erpnext/doctypeSubmittableResourceRequest");
|
|
16
17
|
const fileRequests_1 = require("./erpnext/fileRequests");
|
|
@@ -20,7 +21,6 @@ const Country_1 = require("./erpnext/model/Country");
|
|
|
20
21
|
const Customer_1 = require("./erpnext/model/Customer");
|
|
21
22
|
const PartList_1 = require("./erpnext/model/PartList");
|
|
22
23
|
const PaymentEntry_1 = require("./erpnext/model/PaymentEntry");
|
|
23
|
-
const ProductBundle_1 = require("./erpnext/model/ProductBundle");
|
|
24
24
|
const PurchaseOrder_1 = require("./erpnext/model/PurchaseOrder");
|
|
25
25
|
const ShippingProvider_1 = require("./erpnext/model/ShippingProvider");
|
|
26
26
|
const StockEntry_1 = require("./erpnext/model/StockEntry");
|
|
@@ -57,6 +57,7 @@ class ERPNextQueueClient {
|
|
|
57
57
|
this.fileRequests = new fileRequests_1.ERPNextFileRequests(this.temporalClient, this.credentials);
|
|
58
58
|
this.deliveryNote = new deliveryNote_1.ERPNextDeliveryNote(this.temporalClient, this.fileRequests);
|
|
59
59
|
this.shipment = new shipment_1.ERPNextShipment(this.temporalClient);
|
|
60
|
+
this.productBundle = new productBundle_1.ERPNextProductBundle(this.temporalClient);
|
|
60
61
|
this.shippingProvider = new doctypeResourceRequest_1.ERPNextDoctypeResourceRequest(this.temporalClient, "Shipping Provider", ShippingProvider_1.ShippingProvider);
|
|
61
62
|
this.item = new item_1.ERPNextItem(this.temporalClient);
|
|
62
63
|
this.purchaseOrder = new doctypeSubmittableResourceRequest_1.ERPNextDoctypeSubmittableResourceRequest(this.temporalClient, "Purchase Order", PurchaseOrder_1.PurchaseOrder);
|
|
@@ -69,7 +70,6 @@ class ERPNextQueueClient {
|
|
|
69
70
|
this.stockReconciliation = new doctypeSubmittableResourceRequest_1.ERPNextDoctypeSubmittableResourceRequest(this.temporalClient, "Stock Reconciliation", StockReconciliation_1.StockReconciliation);
|
|
70
71
|
this.reports = new reports_1.ERPNextReports(this.temporalClient);
|
|
71
72
|
this.stock = new stock_1.ERPNextStock(this.temporalClient);
|
|
72
|
-
this.productBundle = new doctypeResourceRequest_1.ERPNextDoctypeResourceRequest(this.temporalClient, "Product Bundle", ProductBundle_1.ProductBundle);
|
|
73
73
|
this.compliance = new doctypeResourceRequest_1.ERPNextDoctypeResourceRequest(this.temporalClient, "Compliance", Compliance_1.Compliance);
|
|
74
74
|
this.partList = new doctypeResourceRequest_1.ERPNextDoctypeResourceRequest(this.temporalClient, "Part List", PartList_1.PartList);
|
|
75
75
|
this.servicecase = new servicecase_1.ERPNextServicecase(this.temporalClient);
|