@compassdigital/sdk.typescript 4.416.0 → 4.418.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 +121 -307
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js.map +1 -1
- package/lib/interface/announcement.d.ts +1 -5
- package/lib/interface/announcement.d.ts.map +1 -1
- package/lib/interface/auth.d.ts +0 -8
- package/lib/interface/auth.d.ts.map +1 -1
- package/lib/interface/calendar.d.ts +3 -14
- package/lib/interface/calendar.d.ts.map +1 -1
- package/lib/interface/catalog.d.ts +6 -26
- package/lib/interface/catalog.d.ts.map +1 -1
- package/lib/interface/centricos.d.ts +0 -35
- package/lib/interface/centricos.d.ts.map +1 -1
- package/lib/interface/compassconnect.d.ts +0 -1
- package/lib/interface/compassconnect.d.ts.map +1 -1
- package/lib/interface/config.d.ts +5 -17
- package/lib/interface/config.d.ts.map +1 -1
- package/lib/interface/consumer.d.ts +2 -40
- package/lib/interface/consumer.d.ts.map +1 -1
- package/lib/interface/datalake.d.ts +2 -5
- package/lib/interface/datalake.d.ts.map +1 -1
- package/lib/interface/discount.d.ts +0 -7
- package/lib/interface/discount.d.ts.map +1 -1
- package/lib/interface/forecasting.d.ts +0 -5
- package/lib/interface/forecasting.d.ts.map +1 -1
- package/lib/interface/frictionless.d.ts +0 -15
- package/lib/interface/frictionless.d.ts.map +1 -1
- package/lib/interface/kds.d.ts +1 -5
- package/lib/interface/kds.d.ts.map +1 -1
- package/lib/interface/location.d.ts +2 -25
- package/lib/interface/location.d.ts.map +1 -1
- package/lib/interface/mealplan.d.ts +2 -9
- package/lib/interface/mealplan.d.ts.map +1 -1
- package/lib/interface/menu.d.ts +42 -189
- package/lib/interface/menu.d.ts.map +1 -1
- package/lib/interface/notification.d.ts +1 -5
- package/lib/interface/notification.d.ts.map +1 -1
- package/lib/interface/order.d.ts +2 -6
- package/lib/interface/order.d.ts.map +1 -1
- package/lib/interface/partner.d.ts +1 -6
- package/lib/interface/partner.d.ts.map +1 -1
- package/lib/interface/payment.d.ts +1 -8
- package/lib/interface/payment.d.ts.map +1 -1
- package/lib/interface/promo.d.ts +1 -7
- package/lib/interface/promo.d.ts.map +1 -1
- package/lib/interface/report.d.ts +3 -16
- package/lib/interface/report.d.ts.map +1 -1
- package/lib/interface/review.d.ts +0 -4
- package/lib/interface/review.d.ts.map +1 -1
- package/lib/interface/search.d.ts +0 -7
- package/lib/interface/search.d.ts.map +1 -1
- package/lib/interface/shoppingcart.d.ts +4 -16
- package/lib/interface/shoppingcart.d.ts.map +1 -1
- package/lib/interface/task.d.ts +2 -10
- package/lib/interface/task.d.ts.map +1 -1
- package/lib/interface/tax.d.ts +0 -3
- package/lib/interface/tax.d.ts.map +1 -1
- package/lib/interface/timeslots.d.ts +0 -1
- package/lib/interface/timeslots.d.ts.map +1 -1
- package/lib/interface/user.d.ts +3 -18
- package/lib/interface/user.d.ts.map +1 -1
- package/lib/interface/vendor.d.ts +5 -22
- package/lib/interface/vendor.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/index.ts +94 -440
- package/src/interface/announcement.ts +1 -11
- package/src/interface/auth.ts +0 -14
- package/src/interface/calendar.ts +3 -26
- package/src/interface/catalog.ts +6 -47
- package/src/interface/centricos.ts +0 -60
- package/src/interface/compassconnect.ts +0 -2
- package/src/interface/config.ts +4 -32
- package/src/interface/consumer.ts +10 -73
- package/src/interface/datalake.ts +1 -8
- package/src/interface/discount.ts +0 -12
- package/src/interface/forecasting.ts +0 -9
- package/src/interface/frictionless.ts +0 -25
- package/src/interface/kds.ts +1 -8
- package/src/interface/location.ts +0 -46
- package/src/interface/mealplan.ts +2 -19
- package/src/interface/menu.ts +38 -355
- package/src/interface/notification.ts +1 -10
- package/src/interface/order.ts +2 -10
- package/src/interface/partner.ts +1 -12
- package/src/interface/payment.ts +1 -17
- package/src/interface/promo.ts +1 -14
- package/src/interface/report.ts +1 -29
- package/src/interface/review.ts +0 -7
- package/src/interface/search.ts +0 -13
- package/src/interface/shoppingcart.ts +3 -31
- package/src/interface/task.ts +2 -19
- package/src/interface/tax.ts +0 -5
- package/src/interface/timeslots.ts +0 -2
- package/src/interface/user.ts +3 -36
- package/src/interface/vendor.ts +5 -43
package/src/interface/vendor.ts
CHANGED
|
@@ -194,8 +194,6 @@ export interface GetVendorApplicationsQuery {
|
|
|
194
194
|
status?: 'pending' | 'approved' | 'rejected';
|
|
195
195
|
// Pagination token to start query from
|
|
196
196
|
last_evaluated_key?: string;
|
|
197
|
-
// Graphql query string
|
|
198
|
-
_query?: string;
|
|
199
197
|
}
|
|
200
198
|
|
|
201
199
|
export type GetVendorApplicationsResponse = Applications;
|
|
@@ -210,17 +208,9 @@ export interface GetVendorApplicationPath {
|
|
|
210
208
|
id: string;
|
|
211
209
|
}
|
|
212
210
|
|
|
213
|
-
export interface GetVendorApplicationQuery {
|
|
214
|
-
// Graphql query string
|
|
215
|
-
_query?: string;
|
|
216
|
-
}
|
|
217
|
-
|
|
218
211
|
export type GetVendorApplicationResponse = Application;
|
|
219
212
|
|
|
220
|
-
export interface GetVendorApplicationRequest
|
|
221
|
-
extends BaseRequest,
|
|
222
|
-
RequestQuery<GetVendorApplicationQuery>,
|
|
223
|
-
GetVendorApplicationPath {}
|
|
213
|
+
export interface GetVendorApplicationRequest extends BaseRequest, GetVendorApplicationPath {}
|
|
224
214
|
|
|
225
215
|
// PATCH /vendor/application/{id} - Update an application (or update status)
|
|
226
216
|
|
|
@@ -263,14 +253,9 @@ export interface PostVendorRequest extends BaseRequest, RequestQuery<PostVendorQ
|
|
|
263
253
|
|
|
264
254
|
// GET /vendor - Get all Vendors
|
|
265
255
|
|
|
266
|
-
export interface GetVendorsQuery {
|
|
267
|
-
// Graphql query string
|
|
268
|
-
_query?: string;
|
|
269
|
-
}
|
|
270
|
-
|
|
271
256
|
export type GetVendorsResponse = Vendors;
|
|
272
257
|
|
|
273
|
-
export interface GetVendorsRequest extends BaseRequest
|
|
258
|
+
export interface GetVendorsRequest extends BaseRequest {}
|
|
274
259
|
|
|
275
260
|
// GET /vendor/{id} - Get info about the Vendor
|
|
276
261
|
|
|
@@ -279,17 +264,9 @@ export interface GetVendorPath {
|
|
|
279
264
|
id: string;
|
|
280
265
|
}
|
|
281
266
|
|
|
282
|
-
export interface GetVendorQuery {
|
|
283
|
-
// Graphql query string
|
|
284
|
-
_query?: string;
|
|
285
|
-
}
|
|
286
|
-
|
|
287
267
|
export type GetVendorResponse = Vendor;
|
|
288
268
|
|
|
289
|
-
export interface GetVendorRequest
|
|
290
|
-
extends BaseRequest,
|
|
291
|
-
RequestQuery<GetVendorQuery>,
|
|
292
|
-
GetVendorPath {}
|
|
269
|
+
export interface GetVendorRequest extends BaseRequest, GetVendorPath {}
|
|
293
270
|
|
|
294
271
|
// PATCH /vendor/{id} - Update info about the Vendor
|
|
295
272
|
|
|
@@ -319,14 +296,9 @@ export interface DeleteVendorRequest extends BaseRequest, DeleteVendorPath {}
|
|
|
319
296
|
|
|
320
297
|
// GET /vendor/auth - Get access token for accessing our APIs
|
|
321
298
|
|
|
322
|
-
export interface GetVendorAuthQuery {
|
|
323
|
-
// Graphql query string
|
|
324
|
-
_query?: string;
|
|
325
|
-
}
|
|
326
|
-
|
|
327
299
|
export type GetVendorAuthResponse = Auth;
|
|
328
300
|
|
|
329
|
-
export interface GetVendorAuthRequest extends BaseRequest
|
|
301
|
+
export interface GetVendorAuthRequest extends BaseRequest {}
|
|
330
302
|
|
|
331
303
|
// GET /vendor/{id}/key - Get list of Vendor keys
|
|
332
304
|
|
|
@@ -338,8 +310,6 @@ export interface GetVendorKeysPath {
|
|
|
338
310
|
export interface GetVendorKeysQuery {
|
|
339
311
|
// Pagination token to start query from
|
|
340
312
|
last_evaluated_key?: string;
|
|
341
|
-
// Graphql query string
|
|
342
|
-
_query?: string;
|
|
343
313
|
}
|
|
344
314
|
|
|
345
315
|
export type GetVendorKeysResponse = Keys;
|
|
@@ -373,17 +343,9 @@ export interface GetVendorKeyPath {
|
|
|
373
343
|
key: string;
|
|
374
344
|
}
|
|
375
345
|
|
|
376
|
-
export interface GetVendorKeyQuery {
|
|
377
|
-
// Graphql query string
|
|
378
|
-
_query?: string;
|
|
379
|
-
}
|
|
380
|
-
|
|
381
346
|
export type GetVendorKeyResponse = Key;
|
|
382
347
|
|
|
383
|
-
export interface GetVendorKeyRequest
|
|
384
|
-
extends BaseRequest,
|
|
385
|
-
RequestQuery<GetVendorKeyQuery>,
|
|
386
|
-
GetVendorKeyPath {}
|
|
348
|
+
export interface GetVendorKeyRequest extends BaseRequest, GetVendorKeyPath {}
|
|
387
349
|
|
|
388
350
|
// PATCH /vendor/{id}/key/{key} - Update info for vendor key
|
|
389
351
|
|