@compassdigital/sdk.typescript 4.67.0 → 4.69.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/lib/index.d.ts +58 -57
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +503 -501
- package/lib/index.js.map +1 -1
- package/lib/interface/ai.d.ts +1 -1
- package/lib/interface/ai.d.ts.map +1 -1
- package/lib/interface/announcement.d.ts +1 -1
- package/lib/interface/announcement.d.ts.map +1 -1
- package/lib/interface/auth.d.ts +3 -3
- package/lib/interface/auth.d.ts.map +1 -1
- package/lib/interface/calendar.d.ts +2 -2
- package/lib/interface/calendar.d.ts.map +1 -1
- package/lib/interface/centricos.d.ts +11 -11
- package/lib/interface/centricos.d.ts.map +1 -1
- package/lib/interface/compassconnect.d.ts +1 -1
- package/lib/interface/compassconnect.d.ts.map +1 -1
- package/lib/interface/config.d.ts +1 -1
- package/lib/interface/config.d.ts.map +1 -1
- package/lib/interface/datalake.d.ts +1 -1
- package/lib/interface/datalake.d.ts.map +1 -1
- package/lib/interface/email.d.ts +1 -1
- package/lib/interface/email.d.ts.map +1 -1
- package/lib/interface/file.d.ts +2 -2
- package/lib/interface/file.d.ts.map +1 -1
- package/lib/interface/frictionless.d.ts +9 -9
- package/lib/interface/frictionless.d.ts.map +1 -1
- package/lib/interface/kds.d.ts +1 -1
- package/lib/interface/kds.d.ts.map +1 -1
- package/lib/interface/location.d.ts +6 -4
- package/lib/interface/location.d.ts.map +1 -1
- package/lib/interface/mealplan.d.ts +2 -1
- package/lib/interface/mealplan.d.ts.map +1 -1
- package/lib/interface/menu.d.ts +149 -109
- package/lib/interface/menu.d.ts.map +1 -1
- package/lib/interface/notification.d.ts +3 -3
- package/lib/interface/notification.d.ts.map +1 -1
- package/lib/interface/order.d.ts +7 -7
- package/lib/interface/order.d.ts.map +1 -1
- package/lib/interface/partner.d.ts +10 -10
- package/lib/interface/partner.d.ts.map +1 -1
- package/lib/interface/payment.d.ts +3 -3
- package/lib/interface/payment.d.ts.map +1 -1
- package/lib/interface/promo.d.ts +8 -8
- package/lib/interface/promo.d.ts.map +1 -1
- package/lib/interface/report.d.ts +10 -10
- package/lib/interface/report.d.ts.map +1 -1
- package/lib/interface/search.d.ts +8 -8
- package/lib/interface/search.d.ts.map +1 -1
- package/lib/interface/shoppingcart.d.ts +7 -7
- package/lib/interface/shoppingcart.d.ts.map +1 -1
- package/lib/interface/task.d.ts +8 -8
- package/lib/interface/task.d.ts.map +1 -1
- package/lib/interface/tax.d.ts +2 -2
- package/lib/interface/tax.d.ts.map +1 -1
- package/lib/interface/user.d.ts +16 -16
- package/lib/interface/user.d.ts.map +1 -1
- package/lib/interface/vendor.d.ts +6 -6
- package/lib/interface/vendor.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +10395 -10394
- package/src/interface/ai.ts +22 -22
- package/src/interface/announcement.ts +60 -60
- package/src/interface/auth.ts +68 -68
- package/src/interface/calendar.ts +94 -94
- package/src/interface/centricos.ts +145 -145
- package/src/interface/compassconnect.ts +59 -59
- package/src/interface/config.ts +166 -166
- package/src/interface/datalake.ts +13 -13
- package/src/interface/email.ts +13 -13
- package/src/interface/file.ts +18 -18
- package/src/interface/frictionless.ts +177 -177
- package/src/interface/kds.ts +49 -49
- package/src/interface/location.ts +771 -769
- package/src/interface/mealplan.ts +155 -154
- package/src/interface/menu.ts +4079 -4018
- package/src/interface/notification.ts +51 -51
- package/src/interface/order.ts +464 -464
- package/src/interface/partner.ts +823 -823
- package/src/interface/payment.ts +278 -278
- package/src/interface/promo.ts +373 -373
- package/src/interface/report.ts +348 -348
- package/src/interface/search.ts +135 -135
- package/src/interface/shoppingcart.ts +429 -429
- package/src/interface/task.ts +212 -212
- package/src/interface/tax.ts +69 -69
- package/src/interface/user.ts +410 -410
- package/src/interface/vendor.ts +215 -215
package/src/interface/task.ts
CHANGED
|
@@ -1,164 +1,164 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
2
|
// THIS FILE IS AUTOMATICALLY GENERATED, DO NOT MODIFY
|
|
3
3
|
|
|
4
|
-
import { RequestQuery, BaseRequest } from
|
|
4
|
+
import { RequestQuery, BaseRequest } from './util';
|
|
5
5
|
|
|
6
6
|
export interface TaskLocation {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
7
|
+
// Location ID
|
|
8
|
+
location_id: string;
|
|
9
|
+
// Location latitude
|
|
10
|
+
latitude: number;
|
|
11
|
+
// Location Longitude
|
|
12
|
+
longitude: number;
|
|
13
|
+
// Location Address
|
|
14
|
+
address: string;
|
|
15
|
+
// Pickup or Dropoff time
|
|
16
|
+
action_time: string;
|
|
17
|
+
// optional details
|
|
18
|
+
details?: Record<string, any>;
|
|
19
|
+
[index: string]: any;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
export interface Error {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
code?: number;
|
|
24
|
+
message?: string;
|
|
25
|
+
data?: Record<string, any>;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
export interface Task {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
29
|
+
// task
|
|
30
|
+
id?: string;
|
|
31
|
+
// order id
|
|
32
|
+
order_id?: string;
|
|
33
|
+
// shoppingcart id
|
|
34
|
+
shoppingcart_id?: string;
|
|
35
|
+
// customer id
|
|
36
|
+
customer_id?: string;
|
|
37
|
+
// location id for this task
|
|
38
|
+
location_id?: string;
|
|
39
|
+
// type of location id
|
|
40
|
+
location_type?: 'brand' | 'group';
|
|
41
|
+
order?: TaskOrder;
|
|
42
|
+
pickup_details?: TaskLocation;
|
|
43
|
+
dropoff_details?: TaskLocation;
|
|
44
|
+
status?: TaskStatus;
|
|
45
|
+
// Any related metadata information about this Task
|
|
46
|
+
meta?: {
|
|
47
|
+
[index: string]: any;
|
|
48
|
+
};
|
|
49
|
+
// Date when Task was created
|
|
50
|
+
created?: string;
|
|
51
|
+
// Date when Task expires
|
|
52
|
+
expires?: string;
|
|
53
|
+
// Date when task was last modified
|
|
54
|
+
modified?: string;
|
|
55
|
+
// Date when Task is scheduled to start
|
|
56
|
+
scheduled_start?: string;
|
|
57
|
+
// Date when task is out for delivery
|
|
58
|
+
started?: string;
|
|
59
|
+
// Date when task was delivered
|
|
60
|
+
completed?: string;
|
|
61
|
+
// runnerid
|
|
62
|
+
assignee?: string;
|
|
63
|
+
// Task Type
|
|
64
|
+
type?: 'bolter' | 'kds';
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
export interface Tasks {
|
|
68
|
-
|
|
68
|
+
tasks?: Task[];
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
export interface TaskCreate {
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
72
|
+
// order id
|
|
73
|
+
order_id: string;
|
|
74
|
+
// shoppingcart id
|
|
75
|
+
shoppingcart_id: string;
|
|
76
|
+
// customer id
|
|
77
|
+
customer_id: string;
|
|
78
|
+
// location id for this task
|
|
79
|
+
location_id: string;
|
|
80
|
+
// type of location id
|
|
81
|
+
location_type: 'brand' | 'group';
|
|
82
|
+
order: TaskOrder;
|
|
83
|
+
pickup_details: TaskLocation;
|
|
84
|
+
dropoff_details: TaskLocation;
|
|
85
|
+
status: TaskStatus;
|
|
86
|
+
// Any related metadata information about this Task
|
|
87
|
+
meta?: {
|
|
88
|
+
[index: string]: any;
|
|
89
|
+
};
|
|
90
|
+
// Task Type
|
|
91
|
+
type: 'bolter' | 'kds';
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
export interface TaskUpdate {
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
95
|
+
order_id?: string;
|
|
96
|
+
shoppingcart_id?: string;
|
|
97
|
+
// customer id
|
|
98
|
+
customer_id?: string;
|
|
99
|
+
// location id for this task
|
|
100
|
+
location_id?: string;
|
|
101
|
+
unit_id?: string;
|
|
102
|
+
// type of location id
|
|
103
|
+
location_type?: 'brand' | 'group';
|
|
104
|
+
order?: TaskOrder;
|
|
105
|
+
pickup_details?: TaskLocation;
|
|
106
|
+
dropoff_details?: TaskLocation;
|
|
107
|
+
status?: TaskStatus;
|
|
108
|
+
assignee?: string;
|
|
109
|
+
// Any related metadata information about this Task
|
|
110
|
+
meta?: {
|
|
111
|
+
[index: string]: any;
|
|
112
|
+
};
|
|
113
113
|
}
|
|
114
114
|
|
|
115
115
|
export interface OrderUpdate {
|
|
116
|
-
|
|
117
|
-
|
|
116
|
+
// This is the new status of the order that you are trying to update
|
|
117
|
+
order_status: 'ready';
|
|
118
118
|
}
|
|
119
119
|
|
|
120
120
|
export interface ActionResponse {
|
|
121
|
-
|
|
121
|
+
success?: boolean;
|
|
122
122
|
}
|
|
123
123
|
|
|
124
124
|
export interface TaskOrder {
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
125
|
+
order_id?: string;
|
|
126
|
+
customer_id?: string;
|
|
127
|
+
customer?: Record<string, any>;
|
|
128
|
+
order_details?: Record<string, any>;
|
|
129
|
+
delivery_instructions?: string;
|
|
130
|
+
issue?: OrderIssue;
|
|
131
|
+
past_issues?: OrderIssue[];
|
|
132
|
+
[index: string]: any;
|
|
133
133
|
}
|
|
134
134
|
|
|
135
135
|
export interface OrderIssue {
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
136
|
+
// issue
|
|
137
|
+
id?: string;
|
|
138
|
+
type?: string;
|
|
139
|
+
//@deprecated
|
|
140
|
+
item?: {
|
|
141
|
+
[index: string]: any;
|
|
142
|
+
};
|
|
143
|
+
// Array of Items with issues
|
|
144
|
+
items?: Record<string, any>[];
|
|
145
|
+
// Optional additional explanation for issue: 5,10,15 for late issues, SOLD_OUT, MODIFICATION, DIETARY_RESTRICTION for see kitchen issues
|
|
146
|
+
reason?: string;
|
|
147
|
+
meta?: {
|
|
148
|
+
created_at?: string;
|
|
149
|
+
[index: string]: any;
|
|
150
|
+
};
|
|
151
|
+
[index: string]: any;
|
|
152
152
|
}
|
|
153
153
|
|
|
154
154
|
export type TaskStatus =
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
155
|
+
| 'new'
|
|
156
|
+
| 'in_progress'
|
|
157
|
+
| 'ready'
|
|
158
|
+
| 'out_for_delivery'
|
|
159
|
+
| 'delivered'
|
|
160
|
+
| 'order_is_ready'
|
|
161
|
+
| 'accepted';
|
|
162
162
|
|
|
163
163
|
// POST /task - Create new Task
|
|
164
164
|
|
|
@@ -167,19 +167,19 @@ export type PostTaskBody = TaskCreate;
|
|
|
167
167
|
export type PostTaskResponse = Task;
|
|
168
168
|
|
|
169
169
|
export interface PostTaskRequest extends BaseRequest {
|
|
170
|
-
|
|
170
|
+
body: PostTaskBody;
|
|
171
171
|
}
|
|
172
172
|
|
|
173
173
|
// GET /task/{id} - Get task based on passed ID
|
|
174
174
|
|
|
175
175
|
export interface GetTaskPath {
|
|
176
|
-
|
|
177
|
-
|
|
176
|
+
// Task ID
|
|
177
|
+
id: string;
|
|
178
178
|
}
|
|
179
179
|
|
|
180
180
|
export interface GetTaskQuery {
|
|
181
|
-
|
|
182
|
-
|
|
181
|
+
// Graphql query string
|
|
182
|
+
_query?: string;
|
|
183
183
|
}
|
|
184
184
|
|
|
185
185
|
export type GetTaskResponse = Task;
|
|
@@ -189,8 +189,8 @@ export interface GetTaskRequest extends BaseRequest, RequestQuery<GetTaskQuery>,
|
|
|
189
189
|
// PATCH /task/{id} - Update Task
|
|
190
190
|
|
|
191
191
|
export interface PatchTaskPath {
|
|
192
|
-
|
|
193
|
-
|
|
192
|
+
// Task ID
|
|
193
|
+
id: string;
|
|
194
194
|
}
|
|
195
195
|
|
|
196
196
|
export type PatchTaskBody = TaskUpdate;
|
|
@@ -198,14 +198,14 @@ export type PatchTaskBody = TaskUpdate;
|
|
|
198
198
|
export type PatchTaskResponse = Task;
|
|
199
199
|
|
|
200
200
|
export interface PatchTaskRequest extends BaseRequest, PatchTaskPath {
|
|
201
|
-
|
|
201
|
+
body: PatchTaskBody;
|
|
202
202
|
}
|
|
203
203
|
|
|
204
204
|
// DELETE /task/{id} - Delete Task
|
|
205
205
|
|
|
206
206
|
export interface DeleteTaskPath {
|
|
207
|
-
|
|
208
|
-
|
|
207
|
+
// Task ID
|
|
208
|
+
id: string;
|
|
209
209
|
}
|
|
210
210
|
|
|
211
211
|
export type DeleteTaskResponse = ActionResponse;
|
|
@@ -215,46 +215,46 @@ export interface DeleteTaskRequest extends BaseRequest, DeleteTaskPath {}
|
|
|
215
215
|
// GET /task/order/{id} - Get task based on passed order ID
|
|
216
216
|
|
|
217
217
|
export interface GetTaskOrderPath {
|
|
218
|
-
|
|
219
|
-
|
|
218
|
+
// Order ID
|
|
219
|
+
id: string;
|
|
220
220
|
}
|
|
221
221
|
|
|
222
222
|
export interface GetTaskOrderQuery {
|
|
223
|
-
|
|
224
|
-
|
|
223
|
+
// Graphql query string
|
|
224
|
+
_query?: string;
|
|
225
225
|
}
|
|
226
226
|
|
|
227
227
|
export type GetTaskOrderResponse = Task;
|
|
228
228
|
|
|
229
229
|
export interface GetTaskOrderRequest
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
230
|
+
extends BaseRequest,
|
|
231
|
+
RequestQuery<GetTaskOrderQuery>,
|
|
232
|
+
GetTaskOrderPath {}
|
|
233
233
|
|
|
234
234
|
// GET /task/order/{id}/kds - Get KDS tasks based on passed order ID
|
|
235
235
|
|
|
236
236
|
export interface GetTaskOrderKdsPath {
|
|
237
|
-
|
|
238
|
-
|
|
237
|
+
// Order ID
|
|
238
|
+
id: string;
|
|
239
239
|
}
|
|
240
240
|
|
|
241
241
|
export interface GetTaskOrderKdsQuery {
|
|
242
|
-
|
|
243
|
-
|
|
242
|
+
// Graphql query string
|
|
243
|
+
_query?: string;
|
|
244
244
|
}
|
|
245
245
|
|
|
246
246
|
export type GetTaskOrderKdsResponse = Tasks;
|
|
247
247
|
|
|
248
248
|
export interface GetTaskOrderKdsRequest
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
249
|
+
extends BaseRequest,
|
|
250
|
+
RequestQuery<GetTaskOrderKdsQuery>,
|
|
251
|
+
GetTaskOrderKdsPath {}
|
|
252
252
|
|
|
253
253
|
// PATCH /task/order/{id}/kds - Update an order and its associated tasks
|
|
254
254
|
|
|
255
255
|
export interface PatchTaskOrderKdsPath {
|
|
256
|
-
|
|
257
|
-
|
|
256
|
+
// Order ID
|
|
257
|
+
id: string;
|
|
258
258
|
}
|
|
259
259
|
|
|
260
260
|
export type PatchTaskOrderKdsBody = OrderUpdate;
|
|
@@ -262,100 +262,100 @@ export type PatchTaskOrderKdsBody = OrderUpdate;
|
|
|
262
262
|
export type PatchTaskOrderKdsResponse = Tasks;
|
|
263
263
|
|
|
264
264
|
export interface PatchTaskOrderKdsRequest extends BaseRequest, PatchTaskOrderKdsPath {
|
|
265
|
-
|
|
265
|
+
body: PatchTaskOrderKdsBody;
|
|
266
266
|
}
|
|
267
267
|
|
|
268
268
|
// GET /task/assignee/{id} - Get Assignee tasks
|
|
269
269
|
|
|
270
270
|
export interface GetTaskAssigneePath {
|
|
271
|
-
|
|
272
|
-
|
|
271
|
+
// Assignee ID
|
|
272
|
+
id: string;
|
|
273
273
|
}
|
|
274
274
|
|
|
275
275
|
export interface GetTaskAssigneeQuery {
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
276
|
+
// Task Status
|
|
277
|
+
status?: string;
|
|
278
|
+
// Task Location ID
|
|
279
|
+
location_id?: string;
|
|
280
|
+
// Filter tasks by their created date. Only return tasks that have a date greater than or equal to the date.
|
|
281
|
+
created?: number;
|
|
282
|
+
// Filter tasks by their started date. Only return tasks that have a date greater than or equal to the date.
|
|
283
|
+
started?: number;
|
|
284
|
+
// Filter tasks by their completed date. Only return tasks that have a completed date less than or equal to the date.
|
|
285
|
+
completed?: number;
|
|
286
|
+
// Graphql query string
|
|
287
|
+
_query?: string;
|
|
288
288
|
}
|
|
289
289
|
|
|
290
290
|
export type GetTaskAssigneeResponse = Tasks;
|
|
291
291
|
|
|
292
292
|
export interface GetTaskAssigneeRequest
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
293
|
+
extends BaseRequest,
|
|
294
|
+
RequestQuery<GetTaskAssigneeQuery>,
|
|
295
|
+
GetTaskAssigneePath {}
|
|
296
296
|
|
|
297
297
|
// GET /task/location/brand/{id} - Get location brand tasks
|
|
298
298
|
|
|
299
299
|
export interface GetTaskLocationBrandPath {
|
|
300
|
-
|
|
301
|
-
|
|
300
|
+
// location brand ID
|
|
301
|
+
id: string;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
304
|
export interface GetTaskLocationBrandQuery {
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
305
|
+
// Task Status
|
|
306
|
+
status?: string;
|
|
307
|
+
// Task Location ID
|
|
308
|
+
location_id?: string;
|
|
309
|
+
// Filter tasks by their created date. Only return tasks that have a date greater than or equal to the date.
|
|
310
|
+
created?: number;
|
|
311
|
+
// Filter tasks by their started date. Only return tasks that have a date greater than or equal to the date.
|
|
312
|
+
started?: number;
|
|
313
|
+
// Filter tasks by their completed date. Only return tasks that have a completed date less than or equal to the date.
|
|
314
|
+
completed?: number;
|
|
315
|
+
// Filter tasks by the action_time in pickup_details. Only return tasks that have a pickup_time date greater than or equal to the date.
|
|
316
|
+
pickup_time?: number;
|
|
317
|
+
// The type of task that will be searched on. The default is: 'bolter'
|
|
318
|
+
query_type?: string;
|
|
319
|
+
// Graphql query string
|
|
320
|
+
_query?: string;
|
|
321
321
|
}
|
|
322
322
|
|
|
323
323
|
export type GetTaskLocationBrandResponse = Tasks;
|
|
324
324
|
|
|
325
325
|
export interface GetTaskLocationBrandRequest
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
326
|
+
extends BaseRequest,
|
|
327
|
+
RequestQuery<GetTaskLocationBrandQuery>,
|
|
328
|
+
GetTaskLocationBrandPath {}
|
|
329
329
|
|
|
330
330
|
// GET /task/location/group/{id} - Get location group tasks
|
|
331
331
|
|
|
332
332
|
export interface GetTaskLocationGroupPath {
|
|
333
|
-
|
|
334
|
-
|
|
333
|
+
// Location group ID
|
|
334
|
+
id: string;
|
|
335
335
|
}
|
|
336
336
|
|
|
337
337
|
export interface GetTaskLocationGroupQuery {
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
338
|
+
// Task Status
|
|
339
|
+
status?: string;
|
|
340
|
+
// Task Location ID
|
|
341
|
+
location_id?: string;
|
|
342
|
+
// Filter tasks by their created date. Only return tasks that have a date greater than or equal to the date.
|
|
343
|
+
created?: number;
|
|
344
|
+
// Filter tasks by their started date. Only return tasks that have a date greater than or equal to the date.
|
|
345
|
+
started?: number;
|
|
346
|
+
// Filter tasks by their completed date. Only return tasks that have a completed date less than or equal to the date.
|
|
347
|
+
completed?: number;
|
|
348
|
+
// Filter tasks by the action_time in pickup_details. Only return tasks that have a pickup_time date greater than or equal to the date.
|
|
349
|
+
pickup_time?: number;
|
|
350
|
+
// The type of task that will be searched on. The default is: 'bolter'
|
|
351
|
+
query_type?: string;
|
|
352
|
+
// Graphql query string
|
|
353
|
+
_query?: string;
|
|
354
354
|
}
|
|
355
355
|
|
|
356
356
|
export type GetTaskLocationGroupResponse = Tasks;
|
|
357
357
|
|
|
358
358
|
export interface GetTaskLocationGroupRequest
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
359
|
+
extends BaseRequest,
|
|
360
|
+
RequestQuery<GetTaskLocationGroupQuery>,
|
|
361
|
+
GetTaskLocationGroupPath {}
|