erpnext-queue-client 1.14.1 → 1.16.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.
@@ -275,7 +275,10 @@ export declare class ERPNextServicecase {
275
275
  customer_message?: string | null | undefined;
276
276
  agreed_terms?: string | null | undefined;
277
277
  }>;
278
- getServicecaseByEmailOrId(email?: string, id?: string): Promise<{
278
+ getServicecaseByEmailOrId({ email, id, }: {
279
+ email?: string;
280
+ id?: string;
281
+ }): Promise<{
279
282
  status: "EDITING" | "SUBMITTING" | "VALIDATING" | "REJECTED" | "SHIPPING" | "COMPLETED";
280
283
  name: string;
281
284
  country: "Afghanistan" | "Åland Islands" | "Albania" | "Algeria" | "American Samoa" | "Andorra" | "Angola" | "Anguilla" | "Antarctica" | "Antigua and Barbuda" | "Argentina" | "Armenia" | "Aruba" | "Australia" | "Austria" | "Azerbaijan" | "Bahamas" | "Bahrain" | "Bangladesh" | "Barbados" | "Belarus" | "Belgium" | "Belize" | "Benin" | "Bermuda" | "Bhutan" | "Bolivia, Plurinational State of" | "Bonaire, Sint Eustatius and Saba" | "Bosnia and Herzegovina" | "Botswana" | "Bouvet Island" | "Brazil" | "British Indian Ocean Territory" | "Brunei Darussalam" | "Bulgaria" | "Burkina Faso" | "Burundi" | "Cambodia" | "Cameroon" | "Canada" | "Cape Verde" | "Cayman Islands" | "Central African Republic" | "Chad" | "Chile" | "China" | "Christmas Island" | "Cocos (Keeling) Islands" | "Colombia" | "Comoros" | "Congo" | "Congo, The Democratic Republic of the" | "Cook Islands" | "Costa Rica" | "Croatia" | "Cuba" | "Curaçao" | "Cyprus" | "Czech Republic" | "Denmark" | "Djibouti" | "Dominica" | "Dominican Republic" | "Ecuador" | "Egypt" | "El Salvador" | "Equatorial Guinea" | "Eritrea" | "Estonia" | "Ethiopia" | "Falkland Islands (Malvinas)" | "Faroe Islands" | "Fiji" | "Finland" | "France" | "French Guiana" | "French Polynesia" | "French Southern Territories" | "Gabon" | "Gambia" | "Georgia" | "Germany" | "Ghana" | "Gibraltar" | "Greece" | "Greenland" | "Grenada" | "Guadeloupe" | "Guam" | "Guatemala" | "Guernsey" | "Guinea" | "Guinea-Bissau" | "Guyana" | "Haiti" | "Heard Island and McDonald Islands" | "Holy See (Vatican City State)" | "Honduras" | "Hong Kong" | "Hungary" | "Iceland" | "India" | "Indonesia" | "Iran" | "Iraq" | "Ireland" | "Isle of Man" | "Israel" | "Italy" | "Ivory Coast" | "Jamaica" | "Japan" | "Jersey" | "Jordan" | "Kazakhstan" | "Kenya" | "Kiribati" | "Korea, Democratic Peoples Republic of" | "Korea, Republic of" | "Kuwait" | "Kyrgyzstan" | "Lao Peoples Democratic Republic" | "Latvia" | "Lebanon" | "Lesotho" | "Liberia" | "Libya" | "Liechtenstein" | "Lithuania" | "Luxembourg" | "Macao" | "Macedonia" | "Madagascar" | "Malawi" | "Malaysia" | "Maldives" | "Mali" | "Malta" | "Marshall Islands" | "Martinique" | "Mauritania" | "Mauritius" | "Mayotte" | "Mexico" | "Micronesia, Federated States of" | "Moldova, Republic of" | "Monaco" | "Mongolia" | "Montenegro" | "Montserrat" | "Morocco" | "Mozambique" | "Myanmar" | "Namibia" | "Nauru" | "Nepal" | "Netherlands" | "New Caledonia" | "New Zealand" | "Nicaragua" | "Niger" | "Nigeria" | "Niue" | "Norfolk Island" | "Northern Mariana Islands" | "Norway" | "Oman" | "Pakistan" | "Palau" | "Palestinian Territory, Occupied" | "Panama" | "Papua New Guinea" | "Paraguay" | "Peru" | "Philippines" | "Pitcairn" | "Poland" | "Portugal" | "Puerto Rico" | "Qatar" | "Réunion" | "Romania" | "Russian Federation" | "Rwanda" | "Saint Barthélemy" | "Saint Helena, Ascension and Tristan da Cunha" | "Saint Kitts and Nevis" | "Saint Lucia" | "Saint Martin (French part)" | "Saint Pierre and Miquelon" | "Saint Vincent and the Grenadines" | "Samoa" | "San Marino" | "Sao Tome and Principe" | "Saudi Arabia" | "Senegal" | "Serbia" | "Seychelles" | "Sierra Leone" | "Singapore" | "Sint Maarten (Dutch part)" | "Slovakia" | "Slovenia" | "Solomon Islands" | "Somalia" | "South Africa" | "South Georgia and the South Sandwich Islands" | "South Sudan" | "Spain" | "Sri Lanka" | "Sudan" | "Suriname" | "Svalbard and Jan Mayen" | "Swaziland" | "Sweden" | "Switzerland" | "Syria" | "Taiwan" | "Tajikistan" | "Tanzania" | "Thailand" | "Timor-Leste" | "Togo" | "Tokelau" | "Tonga" | "Trinidad and Tobago" | "Tunisia" | "Turkey" | "Turkmenistan" | "Turks and Caicos Islands" | "Tuvalu" | "Uganda" | "Ukraine" | "United Arab Emirates" | "United Kingdom" | "United States" | "United States Minor Outlying Islands" | "Uruguay" | "Uzbekistan" | "Vanuatu" | "Venezuela, Bolivarian Republic of" | "Vietnam" | "Virgin Islands, British" | "Virgin Islands, U.S." | "Wallis and Futuna" | "Western Sahara" | "Yemen" | "Zambia" | "Zimbabwe";
@@ -67,8 +67,8 @@ class ERPNextServicecase {
67
67
  return updatedServicecase;
68
68
  });
69
69
  }
70
- getServicecaseByEmailOrId(email, id) {
71
- return __awaiter(this, void 0, void 0, function* () {
70
+ getServicecaseByEmailOrId(_a) {
71
+ return __awaiter(this, arguments, void 0, function* ({ email, id, }) {
72
72
  const servicecases = yield this.methodRequest.request({
73
73
  requestMethod: "GET",
74
74
  methodName: "servicecase_by_id",
@@ -0,0 +1,396 @@
1
+ import { z } from "zod";
2
+ export declare const InternalReasonList: z.ZodObject<{
3
+ name: z.ZodString;
4
+ owner: z.ZodString;
5
+ creation: z.ZodString;
6
+ modified: z.ZodString;
7
+ modified_by: z.ZodString;
8
+ docstatus: z.ZodNumber;
9
+ idx: z.ZodNumber;
10
+ internal_reason: z.ZodString;
11
+ parent: z.ZodString;
12
+ parentfield: z.ZodString;
13
+ parenttype: z.ZodString;
14
+ doctype: z.ZodLiteral<"Internal Reasons List">;
15
+ }, "strip", z.ZodTypeAny, {
16
+ name: string;
17
+ doctype: "Internal Reasons List";
18
+ owner: string;
19
+ creation: string;
20
+ modified: string;
21
+ modified_by: string;
22
+ parent: string;
23
+ parentfield: string;
24
+ parenttype: string;
25
+ idx: number;
26
+ docstatus: number;
27
+ internal_reason: string;
28
+ }, {
29
+ name: string;
30
+ doctype: "Internal Reasons List";
31
+ owner: string;
32
+ creation: string;
33
+ modified: string;
34
+ modified_by: string;
35
+ parent: string;
36
+ parentfield: string;
37
+ parenttype: string;
38
+ idx: number;
39
+ docstatus: number;
40
+ internal_reason: string;
41
+ }>;
42
+ export declare const ServiceportalProductConfiguration: z.ZodObject<{
43
+ name: z.ZodString;
44
+ owner: z.ZodString;
45
+ creation: z.ZodString;
46
+ modified: z.ZodString;
47
+ modified_by: z.ZodString;
48
+ title: z.ZodString;
49
+ return_fee: z.ZodNumber;
50
+ return_fee_explanation: z.ZodString;
51
+ is_ask_for_batch_number: z.ZodNumber;
52
+ batch_number_location_description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
53
+ return_conditions: z.ZodString;
54
+ doctype: z.ZodLiteral<"Serviceportal Product Configuration">;
55
+ batch_numbers: z.ZodArray<z.ZodObject<{
56
+ name: z.ZodString;
57
+ owner: z.ZodString;
58
+ creation: z.ZodString;
59
+ modified: z.ZodString;
60
+ modified_by: z.ZodString;
61
+ docstatus: z.ZodNumber;
62
+ idx: z.ZodNumber;
63
+ batch_number: z.ZodString;
64
+ parent: z.ZodString;
65
+ parentfield: z.ZodString;
66
+ parenttype: z.ZodString;
67
+ doctype: z.ZodLiteral<"Batch Number List">;
68
+ }, "strip", z.ZodTypeAny, {
69
+ name: string;
70
+ doctype: "Batch Number List";
71
+ owner: string;
72
+ creation: string;
73
+ modified: string;
74
+ modified_by: string;
75
+ parent: string;
76
+ parentfield: string;
77
+ parenttype: string;
78
+ idx: number;
79
+ docstatus: number;
80
+ batch_number: string;
81
+ }, {
82
+ name: string;
83
+ doctype: "Batch Number List";
84
+ owner: string;
85
+ creation: string;
86
+ modified: string;
87
+ modified_by: string;
88
+ parent: string;
89
+ parentfield: string;
90
+ parenttype: string;
91
+ idx: number;
92
+ docstatus: number;
93
+ batch_number: string;
94
+ }>, "many">;
95
+ internal_reasons: z.ZodArray<z.ZodObject<{
96
+ name: z.ZodString;
97
+ owner: z.ZodString;
98
+ creation: z.ZodString;
99
+ modified: z.ZodString;
100
+ modified_by: z.ZodString;
101
+ docstatus: z.ZodNumber;
102
+ idx: z.ZodNumber;
103
+ internal_reason: z.ZodString;
104
+ parent: z.ZodString;
105
+ parentfield: z.ZodString;
106
+ parenttype: z.ZodString;
107
+ doctype: z.ZodLiteral<"Internal Reasons List">;
108
+ }, "strip", z.ZodTypeAny, {
109
+ name: string;
110
+ doctype: "Internal Reasons List";
111
+ owner: string;
112
+ creation: string;
113
+ modified: string;
114
+ modified_by: string;
115
+ parent: string;
116
+ parentfield: string;
117
+ parenttype: string;
118
+ idx: number;
119
+ docstatus: number;
120
+ internal_reason: string;
121
+ }, {
122
+ name: string;
123
+ doctype: "Internal Reasons List";
124
+ owner: string;
125
+ creation: string;
126
+ modified: string;
127
+ modified_by: string;
128
+ parent: string;
129
+ parentfield: string;
130
+ parenttype: string;
131
+ idx: number;
132
+ docstatus: number;
133
+ internal_reason: string;
134
+ }>, "many">;
135
+ return_shipping_provider: z.ZodNullable<z.ZodOptional<z.ZodString>>;
136
+ return_instructions: z.ZodNullable<z.ZodOptional<z.ZodString>>;
137
+ internal_reasons_section: z.ZodNullable<z.ZodOptional<z.ZodString>>;
138
+ }, "strip", z.ZodTypeAny, {
139
+ name: string;
140
+ doctype: "Serviceportal Product Configuration";
141
+ owner: string;
142
+ creation: string;
143
+ modified: string;
144
+ modified_by: string;
145
+ title: string;
146
+ internal_reasons: {
147
+ name: string;
148
+ doctype: "Internal Reasons List";
149
+ owner: string;
150
+ creation: string;
151
+ modified: string;
152
+ modified_by: string;
153
+ parent: string;
154
+ parentfield: string;
155
+ parenttype: string;
156
+ idx: number;
157
+ docstatus: number;
158
+ internal_reason: string;
159
+ }[];
160
+ return_fee: number;
161
+ return_fee_explanation: string;
162
+ is_ask_for_batch_number: number;
163
+ return_conditions: string;
164
+ batch_numbers: {
165
+ name: string;
166
+ doctype: "Batch Number List";
167
+ owner: string;
168
+ creation: string;
169
+ modified: string;
170
+ modified_by: string;
171
+ parent: string;
172
+ parentfield: string;
173
+ parenttype: string;
174
+ idx: number;
175
+ docstatus: number;
176
+ batch_number: string;
177
+ }[];
178
+ batch_number_location_description?: string | null | undefined;
179
+ return_shipping_provider?: string | null | undefined;
180
+ return_instructions?: string | null | undefined;
181
+ internal_reasons_section?: string | null | undefined;
182
+ }, {
183
+ name: string;
184
+ doctype: "Serviceportal Product Configuration";
185
+ owner: string;
186
+ creation: string;
187
+ modified: string;
188
+ modified_by: string;
189
+ title: string;
190
+ internal_reasons: {
191
+ name: string;
192
+ doctype: "Internal Reasons List";
193
+ owner: string;
194
+ creation: string;
195
+ modified: string;
196
+ modified_by: string;
197
+ parent: string;
198
+ parentfield: string;
199
+ parenttype: string;
200
+ idx: number;
201
+ docstatus: number;
202
+ internal_reason: string;
203
+ }[];
204
+ return_fee: number;
205
+ return_fee_explanation: string;
206
+ is_ask_for_batch_number: number;
207
+ return_conditions: string;
208
+ batch_numbers: {
209
+ name: string;
210
+ doctype: "Batch Number List";
211
+ owner: string;
212
+ creation: string;
213
+ modified: string;
214
+ modified_by: string;
215
+ parent: string;
216
+ parentfield: string;
217
+ parenttype: string;
218
+ idx: number;
219
+ docstatus: number;
220
+ batch_number: string;
221
+ }[];
222
+ batch_number_location_description?: string | null | undefined;
223
+ return_shipping_provider?: string | null | undefined;
224
+ return_instructions?: string | null | undefined;
225
+ internal_reasons_section?: string | null | undefined;
226
+ }>;
227
+ export type ServiceportalProductConfigurationType = z.infer<typeof ServiceportalProductConfiguration>;
228
+ export declare const ServiceportalProductConfigurationInput: z.ZodObject<z.objectUtil.extendShape<Omit<{
229
+ name: z.ZodString;
230
+ owner: z.ZodString;
231
+ creation: z.ZodString;
232
+ modified: z.ZodString;
233
+ modified_by: z.ZodString;
234
+ title: z.ZodString;
235
+ return_fee: z.ZodNumber;
236
+ return_fee_explanation: z.ZodString;
237
+ is_ask_for_batch_number: z.ZodNumber;
238
+ batch_number_location_description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
239
+ return_conditions: z.ZodString;
240
+ doctype: z.ZodLiteral<"Serviceportal Product Configuration">;
241
+ batch_numbers: z.ZodArray<z.ZodObject<{
242
+ name: z.ZodString;
243
+ owner: z.ZodString;
244
+ creation: z.ZodString;
245
+ modified: z.ZodString;
246
+ modified_by: z.ZodString;
247
+ docstatus: z.ZodNumber;
248
+ idx: z.ZodNumber;
249
+ batch_number: z.ZodString;
250
+ parent: z.ZodString;
251
+ parentfield: z.ZodString;
252
+ parenttype: z.ZodString;
253
+ doctype: z.ZodLiteral<"Batch Number List">;
254
+ }, "strip", z.ZodTypeAny, {
255
+ name: string;
256
+ doctype: "Batch Number List";
257
+ owner: string;
258
+ creation: string;
259
+ modified: string;
260
+ modified_by: string;
261
+ parent: string;
262
+ parentfield: string;
263
+ parenttype: string;
264
+ idx: number;
265
+ docstatus: number;
266
+ batch_number: string;
267
+ }, {
268
+ name: string;
269
+ doctype: "Batch Number List";
270
+ owner: string;
271
+ creation: string;
272
+ modified: string;
273
+ modified_by: string;
274
+ parent: string;
275
+ parentfield: string;
276
+ parenttype: string;
277
+ idx: number;
278
+ docstatus: number;
279
+ batch_number: string;
280
+ }>, "many">;
281
+ internal_reasons: z.ZodArray<z.ZodObject<{
282
+ name: z.ZodString;
283
+ owner: z.ZodString;
284
+ creation: z.ZodString;
285
+ modified: z.ZodString;
286
+ modified_by: z.ZodString;
287
+ docstatus: z.ZodNumber;
288
+ idx: z.ZodNumber;
289
+ internal_reason: z.ZodString;
290
+ parent: z.ZodString;
291
+ parentfield: z.ZodString;
292
+ parenttype: z.ZodString;
293
+ doctype: z.ZodLiteral<"Internal Reasons List">;
294
+ }, "strip", z.ZodTypeAny, {
295
+ name: string;
296
+ doctype: "Internal Reasons List";
297
+ owner: string;
298
+ creation: string;
299
+ modified: string;
300
+ modified_by: string;
301
+ parent: string;
302
+ parentfield: string;
303
+ parenttype: string;
304
+ idx: number;
305
+ docstatus: number;
306
+ internal_reason: string;
307
+ }, {
308
+ name: string;
309
+ doctype: "Internal Reasons List";
310
+ owner: string;
311
+ creation: string;
312
+ modified: string;
313
+ modified_by: string;
314
+ parent: string;
315
+ parentfield: string;
316
+ parenttype: string;
317
+ idx: number;
318
+ docstatus: number;
319
+ internal_reason: string;
320
+ }>, "many">;
321
+ return_shipping_provider: z.ZodNullable<z.ZodOptional<z.ZodString>>;
322
+ return_instructions: z.ZodNullable<z.ZodOptional<z.ZodString>>;
323
+ internal_reasons_section: z.ZodNullable<z.ZodOptional<z.ZodString>>;
324
+ }, "name" | "owner" | "creation" | "modified" | "modified_by" | "internal_reasons" | "batch_numbers">, {
325
+ batch_numbers: z.ZodArray<z.ZodObject<Pick<{
326
+ name: z.ZodString;
327
+ owner: z.ZodString;
328
+ creation: z.ZodString;
329
+ modified: z.ZodString;
330
+ modified_by: z.ZodString;
331
+ docstatus: z.ZodNumber;
332
+ idx: z.ZodNumber;
333
+ batch_number: z.ZodString;
334
+ parent: z.ZodString;
335
+ parentfield: z.ZodString;
336
+ parenttype: z.ZodString;
337
+ doctype: z.ZodLiteral<"Batch Number List">;
338
+ }, "batch_number">, "strip", z.ZodTypeAny, {
339
+ batch_number: string;
340
+ }, {
341
+ batch_number: string;
342
+ }>, "many">;
343
+ internal_reasons: z.ZodArray<z.ZodObject<Pick<{
344
+ name: z.ZodString;
345
+ owner: z.ZodString;
346
+ creation: z.ZodString;
347
+ modified: z.ZodString;
348
+ modified_by: z.ZodString;
349
+ docstatus: z.ZodNumber;
350
+ idx: z.ZodNumber;
351
+ internal_reason: z.ZodString;
352
+ parent: z.ZodString;
353
+ parentfield: z.ZodString;
354
+ parenttype: z.ZodString;
355
+ doctype: z.ZodLiteral<"Internal Reasons List">;
356
+ }, "internal_reason">, "strip", z.ZodTypeAny, {
357
+ internal_reason: string;
358
+ }, {
359
+ internal_reason: string;
360
+ }>, "many">;
361
+ }>, "strip", z.ZodTypeAny, {
362
+ doctype: "Serviceportal Product Configuration";
363
+ title: string;
364
+ internal_reasons: {
365
+ internal_reason: string;
366
+ }[];
367
+ return_fee: number;
368
+ return_fee_explanation: string;
369
+ is_ask_for_batch_number: number;
370
+ return_conditions: string;
371
+ batch_numbers: {
372
+ batch_number: string;
373
+ }[];
374
+ batch_number_location_description?: string | null | undefined;
375
+ return_shipping_provider?: string | null | undefined;
376
+ return_instructions?: string | null | undefined;
377
+ internal_reasons_section?: string | null | undefined;
378
+ }, {
379
+ doctype: "Serviceportal Product Configuration";
380
+ title: string;
381
+ internal_reasons: {
382
+ internal_reason: string;
383
+ }[];
384
+ return_fee: number;
385
+ return_fee_explanation: string;
386
+ is_ask_for_batch_number: number;
387
+ return_conditions: string;
388
+ batch_numbers: {
389
+ batch_number: string;
390
+ }[];
391
+ batch_number_location_description?: string | null | undefined;
392
+ return_shipping_provider?: string | null | undefined;
393
+ return_instructions?: string | null | undefined;
394
+ internal_reasons_section?: string | null | undefined;
395
+ }>;
396
+ export type ServiceportalProductConfigurationInputType = z.infer<typeof ServiceportalProductConfigurationInput>;
@@ -0,0 +1,67 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ServiceportalProductConfigurationInput = exports.ServiceportalProductConfiguration = exports.InternalReasonList = void 0;
4
+ const zod_1 = require("zod");
5
+ const BatchNumberList = zod_1.z
6
+ .object({
7
+ name: zod_1.z.string(),
8
+ owner: zod_1.z.string(),
9
+ creation: zod_1.z.string(),
10
+ modified: zod_1.z.string(),
11
+ modified_by: zod_1.z.string(),
12
+ docstatus: zod_1.z.number(),
13
+ idx: zod_1.z.number(),
14
+ batch_number: zod_1.z.string(),
15
+ parent: zod_1.z.string(),
16
+ parentfield: zod_1.z.string(),
17
+ parenttype: zod_1.z.string(),
18
+ doctype: zod_1.z.literal("Batch Number List"),
19
+ })
20
+ .describe("BatchNumberList");
21
+ exports.InternalReasonList = zod_1.z.object({
22
+ name: zod_1.z.string(),
23
+ owner: zod_1.z.string(),
24
+ creation: zod_1.z.string(),
25
+ modified: zod_1.z.string(),
26
+ modified_by: zod_1.z.string(),
27
+ docstatus: zod_1.z.number(),
28
+ idx: zod_1.z.number(),
29
+ internal_reason: zod_1.z.string(),
30
+ parent: zod_1.z.string(),
31
+ parentfield: zod_1.z.string(),
32
+ parenttype: zod_1.z.string(),
33
+ doctype: zod_1.z.literal("Internal Reasons List"),
34
+ });
35
+ exports.ServiceportalProductConfiguration = zod_1.z
36
+ .object({
37
+ name: zod_1.z.string(),
38
+ owner: zod_1.z.string(),
39
+ creation: zod_1.z.string(),
40
+ modified: zod_1.z.string(),
41
+ modified_by: zod_1.z.string(),
42
+ title: zod_1.z.string(),
43
+ return_fee: zod_1.z.number(),
44
+ return_fee_explanation: zod_1.z.string(),
45
+ is_ask_for_batch_number: zod_1.z.number(),
46
+ batch_number_location_description: zod_1.z.string().optional().nullable(),
47
+ return_conditions: zod_1.z.string(),
48
+ doctype: zod_1.z.literal("Serviceportal Product Configuration"),
49
+ batch_numbers: zod_1.z.array(BatchNumberList),
50
+ internal_reasons: zod_1.z.array(exports.InternalReasonList),
51
+ return_shipping_provider: zod_1.z.string().optional().nullable(),
52
+ return_instructions: zod_1.z.string().optional().nullable(),
53
+ internal_reasons_section: zod_1.z.string().optional().nullable(),
54
+ })
55
+ .describe("ServiceportalProductConfiguration");
56
+ exports.ServiceportalProductConfigurationInput = exports.ServiceportalProductConfiguration.omit({
57
+ batch_numbers: true,
58
+ internal_reasons: true,
59
+ name: true,
60
+ owner: true,
61
+ creation: true,
62
+ modified: true,
63
+ modified_by: true,
64
+ }).extend({
65
+ batch_numbers: zod_1.z.array(BatchNumberList.pick({ batch_number: true })),
66
+ internal_reasons: zod_1.z.array(exports.InternalReasonList.pick({ internal_reason: true })),
67
+ });
package/dist/index.d.ts CHANGED
@@ -27,6 +27,7 @@ import { Waitlist } from "./erpnext/model/Waitlist";
27
27
  import { ERPNextReports } from "./erpnext/reports";
28
28
  import { ERPNextResourceRequest } from "./erpnext/resourceRequest";
29
29
  import { ERPNextServicecase } from "./erpnext/doctypes/servicecase";
30
+ import { ServiceportalProductConfiguration } from "./erpnext/model/ServiceportalProductConfiguration";
30
31
  export declare class ERPNextQueueClient {
31
32
  temporalClient: TemporalClient;
32
33
  private credentials?;
@@ -55,6 +56,7 @@ export declare class ERPNextQueueClient {
55
56
  compliance: ERPNextDoctypeResourceRequest<typeof Compliance>;
56
57
  partList: ERPNextDoctypeResourceRequest<typeof PartList>;
57
58
  servicecase: ERPNextServicecase;
59
+ serviceportalProductConfiguration: ERPNextDoctypeResourceRequest<typeof ServiceportalProductConfiguration>;
58
60
  /**
59
61
  * @description Provide either a temporal client or connection details to create a new client
60
62
  */
package/dist/index.js CHANGED
@@ -30,6 +30,7 @@ const Waitlist_1 = require("./erpnext/model/Waitlist");
30
30
  const reports_1 = require("./erpnext/reports");
31
31
  const resourceRequest_1 = require("./erpnext/resourceRequest");
32
32
  const servicecase_1 = require("./erpnext/doctypes/servicecase");
33
+ const ServiceportalProductConfiguration_1 = require("./erpnext/model/ServiceportalProductConfiguration");
33
34
  class ERPNextQueueClient {
34
35
  /**
35
36
  * @description Provide either a temporal client or connection details to create a new client
@@ -66,6 +67,7 @@ class ERPNextQueueClient {
66
67
  this.compliance = new doctypeResourceRequest_1.ERPNextDoctypeResourceRequest(this.temporalClient, "Compliance", Compliance_1.Compliance);
67
68
  this.partList = new doctypeResourceRequest_1.ERPNextDoctypeResourceRequest(this.temporalClient, "Part List", PartList_1.PartList);
68
69
  this.servicecase = new servicecase_1.ERPNextServicecase(this.temporalClient);
70
+ this.serviceportalProductConfiguration = new doctypeResourceRequest_1.ERPNextDoctypeResourceRequest(this.temporalClient, "Serviceportal Product Configuration", ServiceportalProductConfiguration_1.ServiceportalProductConfiguration);
69
71
  }
70
72
  }
71
73
  exports.ERPNextQueueClient = ERPNextQueueClient;
package/package.json CHANGED
@@ -25,7 +25,7 @@
25
25
  "winston": "^3.15.0",
26
26
  "zod": "3.24.1"
27
27
  },
28
- "version": "1.14.1",
28
+ "version": "1.16.0",
29
29
  "devDependencies": {
30
30
  "@types/crypto-js": "^4.2.2",
31
31
  "@types/lodash": "^4.17.13",