erpnext-queue-client 1.22.1 → 1.22.3
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.
|
@@ -11,7 +11,7 @@ export declare class ERPNextServicecase {
|
|
|
11
11
|
create: (servicecase: ServicecaseInputType) => Promise<{
|
|
12
12
|
status: "EDITING" | "SUBMITTING" | "VALIDATING" | "REJECTED" | "SHIPPING" | "COMPLETED";
|
|
13
13
|
name: string;
|
|
14
|
-
country:
|
|
14
|
+
country: string;
|
|
15
15
|
owner: string;
|
|
16
16
|
creation: string;
|
|
17
17
|
modified: string;
|
|
@@ -19,6 +19,8 @@ export declare class ERPNextServicecase {
|
|
|
19
19
|
title: string;
|
|
20
20
|
order_number: string;
|
|
21
21
|
shop: "Shopify" | "Amazon FBA" | "Amazon FBM" | "Otto";
|
|
22
|
+
is_sent_to_client: boolean;
|
|
23
|
+
is_sent_to_cc: boolean;
|
|
22
24
|
created_with: "Amazon FBA" | "Amazon FBM" | "Serviceportal" | "Missive Sidebar";
|
|
23
25
|
return_items: {
|
|
24
26
|
name: string;
|
|
@@ -29,7 +31,7 @@ export declare class ERPNextServicecase {
|
|
|
29
31
|
idx: number;
|
|
30
32
|
item: string;
|
|
31
33
|
return_quantity: number;
|
|
32
|
-
is_complaint:
|
|
34
|
+
is_complaint: number;
|
|
33
35
|
attachments?: string | null | undefined;
|
|
34
36
|
internal_reasons?: string | null | undefined;
|
|
35
37
|
line_item_id?: string | null | undefined;
|
|
@@ -43,12 +45,10 @@ export declare class ERPNextServicecase {
|
|
|
43
45
|
external_id?: string | null | undefined;
|
|
44
46
|
customer_email?: string | null | undefined;
|
|
45
47
|
complaint_date?: string | null | undefined;
|
|
46
|
-
is_sent_to_client?: boolean | null | undefined;
|
|
47
|
-
is_sent_to_cc?: boolean | null | undefined;
|
|
48
48
|
customer_message?: string | null | undefined;
|
|
49
49
|
agreed_terms?: string | null | undefined;
|
|
50
50
|
}>;
|
|
51
|
-
getList: <TField extends ("status" | "name" | "country" | "owner" | "creation" | "modified" | "modified_by" | "title" | "order_number" | "shop" | "
|
|
51
|
+
getList: <TField extends ("status" | "name" | "country" | "owner" | "creation" | "modified" | "modified_by" | "title" | "order_number" | "shop" | "is_sent_to_client" | "is_sent_to_cc" | "created_with" | "return_items") | ("external_id" | "customer_email" | "complaint_date" | "customer_message" | "agreed_terms"), TAsDict extends boolean | undefined = undefined>({ fields, filters, skip, limit, priority, asDict, params, }?: {
|
|
52
52
|
fields?: TField[] | undefined;
|
|
53
53
|
filters?: (string | string[])[][];
|
|
54
54
|
skip?: number;
|
|
@@ -59,7 +59,7 @@ export declare class ERPNextServicecase {
|
|
|
59
59
|
}) => Promise<TAsDict extends false ? string[][] : Pick<{
|
|
60
60
|
status: "EDITING" | "SUBMITTING" | "VALIDATING" | "REJECTED" | "SHIPPING" | "COMPLETED";
|
|
61
61
|
name: string;
|
|
62
|
-
country:
|
|
62
|
+
country: string;
|
|
63
63
|
owner: string;
|
|
64
64
|
creation: string;
|
|
65
65
|
modified: string;
|
|
@@ -67,6 +67,8 @@ export declare class ERPNextServicecase {
|
|
|
67
67
|
title: string;
|
|
68
68
|
order_number: string;
|
|
69
69
|
shop: "Shopify" | "Amazon FBA" | "Amazon FBM" | "Otto";
|
|
70
|
+
is_sent_to_client: boolean;
|
|
71
|
+
is_sent_to_cc: boolean;
|
|
70
72
|
created_with: "Amazon FBA" | "Amazon FBM" | "Serviceportal" | "Missive Sidebar";
|
|
71
73
|
return_items: {
|
|
72
74
|
name: string;
|
|
@@ -77,7 +79,7 @@ export declare class ERPNextServicecase {
|
|
|
77
79
|
idx: number;
|
|
78
80
|
item: string;
|
|
79
81
|
return_quantity: number;
|
|
80
|
-
is_complaint:
|
|
82
|
+
is_complaint: number;
|
|
81
83
|
attachments?: string | null | undefined;
|
|
82
84
|
internal_reasons?: string | null | undefined;
|
|
83
85
|
line_item_id?: string | null | undefined;
|
|
@@ -91,8 +93,6 @@ export declare class ERPNextServicecase {
|
|
|
91
93
|
external_id?: string | null | undefined;
|
|
92
94
|
customer_email?: string | null | undefined;
|
|
93
95
|
complaint_date?: string | null | undefined;
|
|
94
|
-
is_sent_to_client?: boolean | null | undefined;
|
|
95
|
-
is_sent_to_cc?: boolean | null | undefined;
|
|
96
96
|
customer_message?: string | null | undefined;
|
|
97
97
|
agreed_terms?: string | null | undefined;
|
|
98
98
|
}, TField>[]>;
|
|
@@ -102,7 +102,7 @@ export declare class ERPNextServicecase {
|
|
|
102
102
|
}) => Promise<{
|
|
103
103
|
status: "EDITING" | "SUBMITTING" | "VALIDATING" | "REJECTED" | "SHIPPING" | "COMPLETED";
|
|
104
104
|
name: string;
|
|
105
|
-
country:
|
|
105
|
+
country: string;
|
|
106
106
|
owner: string;
|
|
107
107
|
creation: string;
|
|
108
108
|
modified: string;
|
|
@@ -110,6 +110,8 @@ export declare class ERPNextServicecase {
|
|
|
110
110
|
title: string;
|
|
111
111
|
order_number: string;
|
|
112
112
|
shop: "Shopify" | "Amazon FBA" | "Amazon FBM" | "Otto";
|
|
113
|
+
is_sent_to_client: boolean;
|
|
114
|
+
is_sent_to_cc: boolean;
|
|
113
115
|
created_with: "Amazon FBA" | "Amazon FBM" | "Serviceportal" | "Missive Sidebar";
|
|
114
116
|
return_items: {
|
|
115
117
|
name: string;
|
|
@@ -120,7 +122,7 @@ export declare class ERPNextServicecase {
|
|
|
120
122
|
idx: number;
|
|
121
123
|
item: string;
|
|
122
124
|
return_quantity: number;
|
|
123
|
-
is_complaint:
|
|
125
|
+
is_complaint: number;
|
|
124
126
|
attachments?: string | null | undefined;
|
|
125
127
|
internal_reasons?: string | null | undefined;
|
|
126
128
|
line_item_id?: string | null | undefined;
|
|
@@ -134,15 +136,13 @@ export declare class ERPNextServicecase {
|
|
|
134
136
|
external_id?: string | null | undefined;
|
|
135
137
|
customer_email?: string | null | undefined;
|
|
136
138
|
complaint_date?: string | null | undefined;
|
|
137
|
-
is_sent_to_client?: boolean | null | undefined;
|
|
138
|
-
is_sent_to_cc?: boolean | null | undefined;
|
|
139
139
|
customer_message?: string | null | undefined;
|
|
140
140
|
agreed_terms?: string | null | undefined;
|
|
141
141
|
}>;
|
|
142
142
|
updateById: (resourceId: string, servicecase: ServicecaseInputType) => Promise<{
|
|
143
143
|
status: "EDITING" | "SUBMITTING" | "VALIDATING" | "REJECTED" | "SHIPPING" | "COMPLETED";
|
|
144
144
|
name: string;
|
|
145
|
-
country:
|
|
145
|
+
country: string;
|
|
146
146
|
owner: string;
|
|
147
147
|
creation: string;
|
|
148
148
|
modified: string;
|
|
@@ -150,6 +150,8 @@ export declare class ERPNextServicecase {
|
|
|
150
150
|
title: string;
|
|
151
151
|
order_number: string;
|
|
152
152
|
shop: "Shopify" | "Amazon FBA" | "Amazon FBM" | "Otto";
|
|
153
|
+
is_sent_to_client: boolean;
|
|
154
|
+
is_sent_to_cc: boolean;
|
|
153
155
|
created_with: "Amazon FBA" | "Amazon FBM" | "Serviceportal" | "Missive Sidebar";
|
|
154
156
|
return_items: {
|
|
155
157
|
name: string;
|
|
@@ -160,7 +162,7 @@ export declare class ERPNextServicecase {
|
|
|
160
162
|
idx: number;
|
|
161
163
|
item: string;
|
|
162
164
|
return_quantity: number;
|
|
163
|
-
is_complaint:
|
|
165
|
+
is_complaint: number;
|
|
164
166
|
attachments?: string | null | undefined;
|
|
165
167
|
internal_reasons?: string | null | undefined;
|
|
166
168
|
line_item_id?: string | null | undefined;
|
|
@@ -174,8 +176,6 @@ export declare class ERPNextServicecase {
|
|
|
174
176
|
external_id?: string | null | undefined;
|
|
175
177
|
customer_email?: string | null | undefined;
|
|
176
178
|
complaint_date?: string | null | undefined;
|
|
177
|
-
is_sent_to_client?: boolean | null | undefined;
|
|
178
|
-
is_sent_to_cc?: boolean | null | undefined;
|
|
179
179
|
customer_message?: string | null | undefined;
|
|
180
180
|
agreed_terms?: string | null | undefined;
|
|
181
181
|
}>;
|
|
@@ -187,7 +187,7 @@ export declare class ERPNextServicecase {
|
|
|
187
187
|
createServicecase(servicecase: ServicecaseInputType): Promise<{
|
|
188
188
|
status: "EDITING" | "SUBMITTING" | "VALIDATING" | "REJECTED" | "SHIPPING" | "COMPLETED";
|
|
189
189
|
name: string;
|
|
190
|
-
country:
|
|
190
|
+
country: string;
|
|
191
191
|
owner: string;
|
|
192
192
|
creation: string;
|
|
193
193
|
modified: string;
|
|
@@ -195,6 +195,8 @@ export declare class ERPNextServicecase {
|
|
|
195
195
|
title: string;
|
|
196
196
|
order_number: string;
|
|
197
197
|
shop: "Shopify" | "Amazon FBA" | "Amazon FBM" | "Otto";
|
|
198
|
+
is_sent_to_client: boolean;
|
|
199
|
+
is_sent_to_cc: boolean;
|
|
198
200
|
created_with: "Amazon FBA" | "Amazon FBM" | "Serviceportal" | "Missive Sidebar";
|
|
199
201
|
return_items: {
|
|
200
202
|
name: string;
|
|
@@ -205,7 +207,7 @@ export declare class ERPNextServicecase {
|
|
|
205
207
|
idx: number;
|
|
206
208
|
item: string;
|
|
207
209
|
return_quantity: number;
|
|
208
|
-
is_complaint:
|
|
210
|
+
is_complaint: number;
|
|
209
211
|
attachments?: string | null | undefined;
|
|
210
212
|
internal_reasons?: string | null | undefined;
|
|
211
213
|
line_item_id?: string | null | undefined;
|
|
@@ -219,15 +221,13 @@ export declare class ERPNextServicecase {
|
|
|
219
221
|
external_id?: string | null | undefined;
|
|
220
222
|
customer_email?: string | null | undefined;
|
|
221
223
|
complaint_date?: string | null | undefined;
|
|
222
|
-
is_sent_to_client?: boolean | null | undefined;
|
|
223
|
-
is_sent_to_cc?: boolean | null | undefined;
|
|
224
224
|
customer_message?: string | null | undefined;
|
|
225
225
|
agreed_terms?: string | null | undefined;
|
|
226
226
|
}>;
|
|
227
227
|
updateServicecase(resourceId: string, servicecase: ServicecaseInputType): Promise<{
|
|
228
228
|
status: "EDITING" | "SUBMITTING" | "VALIDATING" | "REJECTED" | "SHIPPING" | "COMPLETED";
|
|
229
229
|
name: string;
|
|
230
|
-
country:
|
|
230
|
+
country: string;
|
|
231
231
|
owner: string;
|
|
232
232
|
creation: string;
|
|
233
233
|
modified: string;
|
|
@@ -235,6 +235,8 @@ export declare class ERPNextServicecase {
|
|
|
235
235
|
title: string;
|
|
236
236
|
order_number: string;
|
|
237
237
|
shop: "Shopify" | "Amazon FBA" | "Amazon FBM" | "Otto";
|
|
238
|
+
is_sent_to_client: boolean;
|
|
239
|
+
is_sent_to_cc: boolean;
|
|
238
240
|
created_with: "Amazon FBA" | "Amazon FBM" | "Serviceportal" | "Missive Sidebar";
|
|
239
241
|
return_items: {
|
|
240
242
|
name: string;
|
|
@@ -245,7 +247,7 @@ export declare class ERPNextServicecase {
|
|
|
245
247
|
idx: number;
|
|
246
248
|
item: string;
|
|
247
249
|
return_quantity: number;
|
|
248
|
-
is_complaint:
|
|
250
|
+
is_complaint: number;
|
|
249
251
|
attachments?: string | null | undefined;
|
|
250
252
|
internal_reasons?: string | null | undefined;
|
|
251
253
|
line_item_id?: string | null | undefined;
|
|
@@ -259,8 +261,6 @@ export declare class ERPNextServicecase {
|
|
|
259
261
|
external_id?: string | null | undefined;
|
|
260
262
|
customer_email?: string | null | undefined;
|
|
261
263
|
complaint_date?: string | null | undefined;
|
|
262
|
-
is_sent_to_client?: boolean | null | undefined;
|
|
263
|
-
is_sent_to_cc?: boolean | null | undefined;
|
|
264
264
|
customer_message?: string | null | undefined;
|
|
265
265
|
agreed_terms?: string | null | undefined;
|
|
266
266
|
}>;
|
|
@@ -270,7 +270,7 @@ export declare class ERPNextServicecase {
|
|
|
270
270
|
}): Promise<{
|
|
271
271
|
status: "EDITING" | "SUBMITTING" | "VALIDATING" | "REJECTED" | "SHIPPING" | "COMPLETED";
|
|
272
272
|
name: string;
|
|
273
|
-
country:
|
|
273
|
+
country: string;
|
|
274
274
|
owner: string;
|
|
275
275
|
creation: string;
|
|
276
276
|
modified: string;
|
|
@@ -278,6 +278,8 @@ export declare class ERPNextServicecase {
|
|
|
278
278
|
title: string;
|
|
279
279
|
order_number: string;
|
|
280
280
|
shop: "Shopify" | "Amazon FBA" | "Amazon FBM" | "Otto";
|
|
281
|
+
is_sent_to_client: boolean;
|
|
282
|
+
is_sent_to_cc: boolean;
|
|
281
283
|
created_with: "Amazon FBA" | "Amazon FBM" | "Serviceportal" | "Missive Sidebar";
|
|
282
284
|
return_items: {
|
|
283
285
|
name: string;
|
|
@@ -286,7 +288,10 @@ export declare class ERPNextServicecase {
|
|
|
286
288
|
modified: string;
|
|
287
289
|
modified_by: string;
|
|
288
290
|
idx: number;
|
|
289
|
-
attachments:
|
|
291
|
+
attachments: {
|
|
292
|
+
type: "image" | "video";
|
|
293
|
+
url: string;
|
|
294
|
+
}[];
|
|
290
295
|
internal_reasons: string[];
|
|
291
296
|
item: string;
|
|
292
297
|
return_quantity: number;
|
|
@@ -304,8 +309,6 @@ export declare class ERPNextServicecase {
|
|
|
304
309
|
external_id?: string | null | undefined;
|
|
305
310
|
customer_email?: string | null | undefined;
|
|
306
311
|
complaint_date?: string | null | undefined;
|
|
307
|
-
is_sent_to_client?: boolean | null | undefined;
|
|
308
|
-
is_sent_to_cc?: boolean | null | undefined;
|
|
309
312
|
customer_message?: string | null | undefined;
|
|
310
313
|
agreed_terms?: string | null | undefined;
|
|
311
314
|
}[]>;
|