@compassdigital/sdk.typescript 4.417.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 +0 -38
- 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 +2 -69
- 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
|
@@ -63,8 +63,6 @@ export interface GetNotificationsQuery {
|
|
|
63
63
|
start?: string;
|
|
64
64
|
// End date of the notifications. If not provided will default to current date.
|
|
65
65
|
end?: string;
|
|
66
|
-
// Graphql query string
|
|
67
|
-
_query?: string;
|
|
68
66
|
}
|
|
69
67
|
|
|
70
68
|
export interface GetNotificationsResponse {
|
|
@@ -146,15 +144,8 @@ export interface PostNotificationBatchDevicePushRequest extends BaseRequest {
|
|
|
146
144
|
|
|
147
145
|
// GET /notification/swagger.json - Get a swagger for notification service
|
|
148
146
|
|
|
149
|
-
export interface GetNotificationSwaggerQuery {
|
|
150
|
-
// Graphql query string
|
|
151
|
-
_query?: string;
|
|
152
|
-
}
|
|
153
|
-
|
|
154
147
|
export interface GetNotificationSwaggerResponse {
|
|
155
148
|
[index: string]: any;
|
|
156
149
|
}
|
|
157
150
|
|
|
158
|
-
export interface GetNotificationSwaggerRequest
|
|
159
|
-
extends BaseRequest,
|
|
160
|
-
RequestQuery<GetNotificationSwaggerQuery> {}
|
|
151
|
+
export interface GetNotificationSwaggerRequest extends BaseRequest {}
|
package/src/interface/order.ts
CHANGED
|
@@ -488,6 +488,8 @@ export interface OrderDiscount {
|
|
|
488
488
|
export interface PostOrderQuery {
|
|
489
489
|
// The language of the user ex en, fr
|
|
490
490
|
lang?: string;
|
|
491
|
+
// Graphql query string
|
|
492
|
+
_query?: string;
|
|
491
493
|
}
|
|
492
494
|
|
|
493
495
|
export type PostOrderBody = CreateOrder;
|
|
@@ -646,16 +648,10 @@ export interface GetOrderCustomerOrdersBrandPath {
|
|
|
646
648
|
location_brand: string;
|
|
647
649
|
}
|
|
648
650
|
|
|
649
|
-
export interface GetOrderCustomerOrdersBrandQuery {
|
|
650
|
-
// Graphql query string
|
|
651
|
-
_query?: string;
|
|
652
|
-
}
|
|
653
|
-
|
|
654
651
|
export type GetOrderCustomerOrdersBrandResponse = Orders;
|
|
655
652
|
|
|
656
653
|
export interface GetOrderCustomerOrdersBrandRequest
|
|
657
654
|
extends BaseRequest,
|
|
658
|
-
RequestQuery<GetOrderCustomerOrdersBrandQuery>,
|
|
659
655
|
GetOrderCustomerOrdersBrandPath {}
|
|
660
656
|
|
|
661
657
|
// GET /order/location/brand/{id} - Get all orders for a location Brand
|
|
@@ -717,8 +713,6 @@ export interface GetOrderLocationOrdersQuery {
|
|
|
717
713
|
order_type?: string;
|
|
718
714
|
// List of brands you want orders for inside this location. Example: 616kLp3ADNUE2RO8qqzdto8avzyRrOhXRDW5,or2ayBJePqUP4ORXeeGgTw96vKle47IgemPk
|
|
719
715
|
brands?: string;
|
|
720
|
-
// Graphql query string
|
|
721
|
-
_query?: string;
|
|
722
716
|
}
|
|
723
717
|
|
|
724
718
|
export type GetOrderLocationOrdersResponse = Orders;
|
|
@@ -777,8 +771,6 @@ export interface GetOrderUserOrdersQuery {
|
|
|
777
771
|
end?: number;
|
|
778
772
|
// show additional hidden properties/entities
|
|
779
773
|
extended?: boolean;
|
|
780
|
-
// Graphql query string
|
|
781
|
-
_query?: string;
|
|
782
774
|
}
|
|
783
775
|
|
|
784
776
|
export interface GetOrderUserOrdersResponse {
|
package/src/interface/partner.ts
CHANGED
|
@@ -72,18 +72,11 @@ export interface PostPartnerEventRequest extends BaseRequest, PostPartnerEventPa
|
|
|
72
72
|
|
|
73
73
|
// GET /partner/swagger.json
|
|
74
74
|
|
|
75
|
-
export interface GetPartnerSwaggerQuery {
|
|
76
|
-
// Graphql query string
|
|
77
|
-
_query?: string;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
75
|
export interface GetPartnerSwaggerResponse {
|
|
81
76
|
[index: string]: any;
|
|
82
77
|
}
|
|
83
78
|
|
|
84
|
-
export interface GetPartnerSwaggerRequest
|
|
85
|
-
extends BaseRequest,
|
|
86
|
-
RequestQuery<GetPartnerSwaggerQuery> {}
|
|
79
|
+
export interface GetPartnerSwaggerRequest extends BaseRequest {}
|
|
87
80
|
|
|
88
81
|
// POST /partner/{id}/menu - Create a Partner menu from files(only xls for now)
|
|
89
82
|
|
|
@@ -121,8 +114,6 @@ export interface GetPartnerExternalStationsPath {
|
|
|
121
114
|
export interface GetPartnerExternalStationsQuery {
|
|
122
115
|
// The cursor value for the next page of results
|
|
123
116
|
cursor?: string;
|
|
124
|
-
// Graphql query string
|
|
125
|
-
_query?: string;
|
|
126
117
|
nocache?: boolean;
|
|
127
118
|
}
|
|
128
119
|
|
|
@@ -147,8 +138,6 @@ export interface GetPartnerExternalMenuItemsPath {
|
|
|
147
138
|
export interface GetPartnerExternalMenuItemsQuery {
|
|
148
139
|
// The cursor value for the next page of results
|
|
149
140
|
cursor?: string;
|
|
150
|
-
// Graphql query string
|
|
151
|
-
_query?: string;
|
|
152
141
|
nocache?: boolean;
|
|
153
142
|
}
|
|
154
143
|
|
package/src/interface/payment.ts
CHANGED
|
@@ -301,8 +301,6 @@ export interface GetPaymentClienttokenPath {
|
|
|
301
301
|
export interface GetPaymentClienttokenQuery {
|
|
302
302
|
// hCaptcha response key
|
|
303
303
|
captchaResponseKey: string;
|
|
304
|
-
// Graphql query string
|
|
305
|
-
_query?: string;
|
|
306
304
|
}
|
|
307
305
|
|
|
308
306
|
export type GetPaymentClienttokenResponse = ClientToken;
|
|
@@ -384,8 +382,6 @@ export interface GetPaymentTokenQuery {
|
|
|
384
382
|
siteId: string;
|
|
385
383
|
// name on card
|
|
386
384
|
nameOnCard: string;
|
|
387
|
-
// Graphql query string
|
|
388
|
-
_query?: string;
|
|
389
385
|
}
|
|
390
386
|
|
|
391
387
|
export type GetPaymentTokenResponse = TokenInformation;
|
|
@@ -442,8 +438,6 @@ export interface DeletePaymentTokenRequest extends BaseRequest {
|
|
|
442
438
|
export interface GetPaymentMethodsQuery {
|
|
443
439
|
// CDL Site Id
|
|
444
440
|
siteId: string;
|
|
445
|
-
// Graphql query string
|
|
446
|
-
_query?: string;
|
|
447
441
|
}
|
|
448
442
|
|
|
449
443
|
export type GetPaymentMethodsResponse = PaymentCards;
|
|
@@ -459,8 +453,6 @@ export interface GetPaymentHpcQuery {
|
|
|
459
453
|
siteId: string;
|
|
460
454
|
// hCaptcha response key
|
|
461
455
|
captchaResponseKey: string;
|
|
462
|
-
// Graphql query string
|
|
463
|
-
_query?: string;
|
|
464
456
|
}
|
|
465
457
|
|
|
466
458
|
export type GetPaymentHpcResponse = HpcIframe;
|
|
@@ -474,19 +466,11 @@ export interface GetPaymentCashlessPath {
|
|
|
474
466
|
id: string;
|
|
475
467
|
}
|
|
476
468
|
|
|
477
|
-
export interface GetPaymentCashlessQuery {
|
|
478
|
-
// Graphql query string
|
|
479
|
-
_query?: string;
|
|
480
|
-
}
|
|
481
|
-
|
|
482
469
|
export interface GetPaymentCashlessResponse {
|
|
483
470
|
tenders?: CashlessTender[];
|
|
484
471
|
}
|
|
485
472
|
|
|
486
|
-
export interface GetPaymentCashlessRequest
|
|
487
|
-
extends BaseRequest,
|
|
488
|
-
RequestQuery<GetPaymentCashlessQuery>,
|
|
489
|
-
GetPaymentCashlessPath {}
|
|
473
|
+
export interface GetPaymentCashlessRequest extends BaseRequest, GetPaymentCashlessPath {}
|
|
490
474
|
|
|
491
475
|
// POST /payment/{id}/cashless
|
|
492
476
|
|
package/src/interface/promo.ts
CHANGED
|
@@ -506,8 +506,6 @@ export interface PostPromoRequest extends BaseRequest {
|
|
|
506
506
|
export interface GetPromosQuery {
|
|
507
507
|
// Limit to promotions in selected multigroup
|
|
508
508
|
multigroup?: string;
|
|
509
|
-
// Graphql query string
|
|
510
|
-
_query?: string;
|
|
511
509
|
}
|
|
512
510
|
|
|
513
511
|
export type GetPromosResponse = Promotions;
|
|
@@ -524,8 +522,6 @@ export interface GetPromoPath {
|
|
|
524
522
|
export interface GetPromoQuery {
|
|
525
523
|
// Show all props of the promotion(ex., location_group_ids)
|
|
526
524
|
extended?: boolean;
|
|
527
|
-
// Graphql query string
|
|
528
|
-
_query?: string;
|
|
529
525
|
}
|
|
530
526
|
|
|
531
527
|
export type GetPromoResponse = Promotion;
|
|
@@ -570,8 +566,6 @@ export interface GetPromoCompanyLocationGroupPath {
|
|
|
570
566
|
export interface GetPromoCompanyLocationGroupQuery {
|
|
571
567
|
// Return only promos of certain status.
|
|
572
568
|
status?: string;
|
|
573
|
-
// Graphql query string
|
|
574
|
-
_query?: string;
|
|
575
569
|
nocache?: boolean;
|
|
576
570
|
}
|
|
577
571
|
|
|
@@ -738,13 +732,6 @@ export interface PostPromoVoucherifyActivityExecuteRequest extends BaseRequest {
|
|
|
738
732
|
|
|
739
733
|
// GET /promo/voucherify/activity/config.json - Get SFMC Journey Custom Activity configuration
|
|
740
734
|
|
|
741
|
-
export interface GetPromoVoucherifyActivityConfigQuery {
|
|
742
|
-
// Graphql query string
|
|
743
|
-
_query?: string;
|
|
744
|
-
}
|
|
745
|
-
|
|
746
735
|
export type GetPromoVoucherifyActivityConfigResponse = SFMCConfig;
|
|
747
736
|
|
|
748
|
-
export interface GetPromoVoucherifyActivityConfigRequest
|
|
749
|
-
extends BaseRequest,
|
|
750
|
-
RequestQuery<GetPromoVoucherifyActivityConfigQuery> {}
|
|
737
|
+
export interface GetPromoVoucherifyActivityConfigRequest extends BaseRequest {}
|
package/src/interface/report.ts
CHANGED
|
@@ -352,8 +352,6 @@ export interface GetReportAnalyticsGroupQuery {
|
|
|
352
352
|
end_date: string;
|
|
353
353
|
time_frame: 'week' | 'month' | 'day';
|
|
354
354
|
order_type?: 'delivery' | 'pickup' | 'frictionless';
|
|
355
|
-
// Graphql query string
|
|
356
|
-
_query?: string;
|
|
357
355
|
}
|
|
358
356
|
|
|
359
357
|
export type GetReportAnalyticsGroupResponse = P2AnalyticsReport;
|
|
@@ -376,8 +374,6 @@ export interface GetReportAnalyticsCombinedGroupQuery {
|
|
|
376
374
|
end_date: string;
|
|
377
375
|
time_frame: 'week' | 'month' | 'day';
|
|
378
376
|
order_type?: 'delivery' | 'pickup' | 'frictionless';
|
|
379
|
-
// Graphql query string
|
|
380
|
-
_query?: string;
|
|
381
377
|
}
|
|
382
378
|
|
|
383
379
|
export type GetReportAnalyticsCombinedGroupResponse = SAReport;
|
|
@@ -402,8 +398,6 @@ export interface GetReportEodGroupQuery {
|
|
|
402
398
|
format?: 'json' | 'xslx';
|
|
403
399
|
// Location IDs, comma-separated
|
|
404
400
|
locations?: string;
|
|
405
|
-
// Graphql query string
|
|
406
|
-
_query?: string;
|
|
407
401
|
nocache?: boolean;
|
|
408
402
|
}
|
|
409
403
|
|
|
@@ -420,16 +414,10 @@ export interface GetReportEodGroupSubscribersPath {
|
|
|
420
414
|
id: string;
|
|
421
415
|
}
|
|
422
416
|
|
|
423
|
-
export interface GetReportEodGroupSubscribersQuery {
|
|
424
|
-
// Graphql query string
|
|
425
|
-
_query?: string;
|
|
426
|
-
}
|
|
427
|
-
|
|
428
417
|
export type GetReportEodGroupSubscribersResponse = EODSubscribers;
|
|
429
418
|
|
|
430
419
|
export interface GetReportEodGroupSubscribersRequest
|
|
431
420
|
extends BaseRequest,
|
|
432
|
-
RequestQuery<GetReportEodGroupSubscribersQuery>,
|
|
433
421
|
GetReportEodGroupSubscribersPath {}
|
|
434
422
|
|
|
435
423
|
// POST /report/eod/group/{id}/subscribers - Add emails to selected location group
|
|
@@ -493,8 +481,6 @@ export interface GetReportEodGroupItemsQuery {
|
|
|
493
481
|
partner: 'onemarket';
|
|
494
482
|
// Location IDs, comma-separated
|
|
495
483
|
locations: string;
|
|
496
|
-
// Graphql query string
|
|
497
|
-
_query?: string;
|
|
498
484
|
nocache?: boolean;
|
|
499
485
|
}
|
|
500
486
|
|
|
@@ -525,17 +511,9 @@ export interface GetReportGroupConfigPath {
|
|
|
525
511
|
location_group: string;
|
|
526
512
|
}
|
|
527
513
|
|
|
528
|
-
export interface GetReportGroupConfigQuery {
|
|
529
|
-
// Graphql query string
|
|
530
|
-
_query?: string;
|
|
531
|
-
}
|
|
532
|
-
|
|
533
514
|
export type GetReportGroupConfigResponse = ReportGroupConfigResponse;
|
|
534
515
|
|
|
535
|
-
export interface GetReportGroupConfigRequest
|
|
536
|
-
extends BaseRequest,
|
|
537
|
-
RequestQuery<GetReportGroupConfigQuery>,
|
|
538
|
-
GetReportGroupConfigPath {}
|
|
516
|
+
export interface GetReportGroupConfigRequest extends BaseRequest, GetReportGroupConfigPath {}
|
|
539
517
|
|
|
540
518
|
// DELETE /report/group/{location_group}/config - Delete report configuration for a location group
|
|
541
519
|
|
|
@@ -553,14 +531,8 @@ export interface GetReportGroupConfigDefaultPath {
|
|
|
553
531
|
location_group: string;
|
|
554
532
|
}
|
|
555
533
|
|
|
556
|
-
export interface GetReportGroupConfigDefaultQuery {
|
|
557
|
-
// Graphql query string
|
|
558
|
-
_query?: string;
|
|
559
|
-
}
|
|
560
|
-
|
|
561
534
|
export type GetReportGroupConfigDefaultResponse = ReportGroupConfigResponse;
|
|
562
535
|
|
|
563
536
|
export interface GetReportGroupConfigDefaultRequest
|
|
564
537
|
extends BaseRequest,
|
|
565
|
-
RequestQuery<GetReportGroupConfigDefaultQuery>,
|
|
566
538
|
GetReportGroupConfigDefaultPath {}
|
package/src/interface/review.ts
CHANGED
|
@@ -84,8 +84,6 @@ export interface DeleteReviewResponseDTO {
|
|
|
84
84
|
|
|
85
85
|
export interface GetReviewsQuery {
|
|
86
86
|
taxonomyFilter: string;
|
|
87
|
-
// Graphql query string
|
|
88
|
-
_query?: string;
|
|
89
87
|
}
|
|
90
88
|
|
|
91
89
|
export type GetReviewsResponse = GetReviewsResponseDTO;
|
|
@@ -102,11 +100,6 @@ export interface GetReviewPath {
|
|
|
102
100
|
id: string;
|
|
103
101
|
}
|
|
104
102
|
|
|
105
|
-
export interface GetReviewQuery {
|
|
106
|
-
// Graphql query string
|
|
107
|
-
_query?: string;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
103
|
export type GetReviewResponse = GetReviewResponseDTO;
|
|
111
104
|
|
|
112
105
|
// DELETE /review/{id} - Delete a review
|
package/src/interface/search.ts
CHANGED
|
@@ -301,8 +301,6 @@ export interface GetSearchOrderQuery {
|
|
|
301
301
|
| 'out_for_delivery'
|
|
302
302
|
| 'created'
|
|
303
303
|
)[];
|
|
304
|
-
// Graphql query string
|
|
305
|
-
_query?: string;
|
|
306
304
|
}
|
|
307
305
|
|
|
308
306
|
export type GetSearchOrderResponse = GetOrderPaginatedResult;
|
|
@@ -328,8 +326,6 @@ export interface GetSearchLocationQuery {
|
|
|
328
326
|
source_multigroup_parent?: string;
|
|
329
327
|
// Filter entities with specific unit id
|
|
330
328
|
unit_id?: string;
|
|
331
|
-
// Graphql query string
|
|
332
|
-
_query?: string;
|
|
333
329
|
}
|
|
334
330
|
|
|
335
331
|
export type GetSearchLocationResponse = GetLocationPaginatedResult;
|
|
@@ -349,8 +345,6 @@ export interface GetSearchUserQuery {
|
|
|
349
345
|
filter?: string;
|
|
350
346
|
// Filter entities by realm
|
|
351
347
|
realm?: string[];
|
|
352
|
-
// Graphql query string
|
|
353
|
-
_query?: string;
|
|
354
348
|
}
|
|
355
349
|
|
|
356
350
|
export type GetSearchUserResponse = GetUserPaginatedResult;
|
|
@@ -361,11 +355,6 @@ export interface GetSearchDiscountByIdPath {
|
|
|
361
355
|
id: string;
|
|
362
356
|
}
|
|
363
357
|
|
|
364
|
-
export interface GetSearchDiscountByIdQuery {
|
|
365
|
-
// Graphql query string
|
|
366
|
-
_query?: string;
|
|
367
|
-
}
|
|
368
|
-
|
|
369
358
|
export type GetSearchDiscountByIdResponse = GetSearchDiscountResponseDTO;
|
|
370
359
|
|
|
371
360
|
// GET /search/discounts - Get discounts with pagination and filtering
|
|
@@ -407,8 +396,6 @@ export interface GetSearchDiscountsQuery {
|
|
|
407
396
|
updatedAtStart?: string;
|
|
408
397
|
// Filter by updated date end (YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss)
|
|
409
398
|
updatedAtEnd?: string;
|
|
410
|
-
// Graphql query string
|
|
411
|
-
_query?: string;
|
|
412
399
|
}
|
|
413
400
|
|
|
414
401
|
export type GetSearchDiscountsResponse = GetDiscountsResponseDto;
|
|
@@ -799,17 +799,9 @@ export interface GetShoppingcartCartPath {
|
|
|
799
799
|
id: string;
|
|
800
800
|
}
|
|
801
801
|
|
|
802
|
-
export interface GetShoppingcartCartQuery {
|
|
803
|
-
// Graphql query string
|
|
804
|
-
_query?: string;
|
|
805
|
-
}
|
|
806
|
-
|
|
807
802
|
export type GetShoppingcartCartResponse = ShoppingCartResponse;
|
|
808
803
|
|
|
809
|
-
export interface GetShoppingcartCartRequest
|
|
810
|
-
extends BaseRequest,
|
|
811
|
-
RequestQuery<GetShoppingcartCartQuery>,
|
|
812
|
-
GetShoppingcartCartPath {}
|
|
804
|
+
export interface GetShoppingcartCartRequest extends BaseRequest, GetShoppingcartCartPath {}
|
|
813
805
|
|
|
814
806
|
// PATCH /shoppingcart/{id} - Update a ShoppingCart
|
|
815
807
|
|
|
@@ -878,16 +870,10 @@ export interface GetShoppingcartPaymentMethodsPath {
|
|
|
878
870
|
id: string;
|
|
879
871
|
}
|
|
880
872
|
|
|
881
|
-
export interface GetShoppingcartPaymentMethodsQuery {
|
|
882
|
-
// Graphql query string
|
|
883
|
-
_query?: string;
|
|
884
|
-
}
|
|
885
|
-
|
|
886
873
|
export type GetShoppingcartPaymentMethodsResponse = PaymentMethods;
|
|
887
874
|
|
|
888
875
|
export interface GetShoppingcartPaymentMethodsRequest
|
|
889
876
|
extends BaseRequest,
|
|
890
|
-
RequestQuery<GetShoppingcartPaymentMethodsQuery>,
|
|
891
877
|
GetShoppingcartPaymentMethodsPath {}
|
|
892
878
|
|
|
893
879
|
// PUT /shoppingcart/{id}/order - Store information about the order created with this shopping cart
|
|
@@ -1000,29 +986,15 @@ export interface PostShoppingcartBulkRequest extends BaseRequest {
|
|
|
1000
986
|
|
|
1001
987
|
// GET /shoppingcart/ping - Service ping endpoint for basic connectivity check
|
|
1002
988
|
|
|
1003
|
-
export interface GetShoppingcartPingQuery {
|
|
1004
|
-
// Graphql query string
|
|
1005
|
-
_query?: string;
|
|
1006
|
-
}
|
|
1007
|
-
|
|
1008
989
|
export type GetShoppingcartPingResponse = PingResponse;
|
|
1009
990
|
|
|
1010
|
-
export interface GetShoppingcartPingRequest
|
|
1011
|
-
extends BaseRequest,
|
|
1012
|
-
RequestQuery<GetShoppingcartPingQuery> {}
|
|
991
|
+
export interface GetShoppingcartPingRequest extends BaseRequest {}
|
|
1013
992
|
|
|
1014
993
|
// GET /shoppingcart/health - Service health endpoint for dependency checks
|
|
1015
994
|
|
|
1016
|
-
export interface GetShoppingcartHealthQuery {
|
|
1017
|
-
// Graphql query string
|
|
1018
|
-
_query?: string;
|
|
1019
|
-
}
|
|
1020
|
-
|
|
1021
995
|
export type GetShoppingcartHealthResponse = HealthResponse;
|
|
1022
996
|
|
|
1023
|
-
export interface GetShoppingcartHealthRequest
|
|
1024
|
-
extends BaseRequest,
|
|
1025
|
-
RequestQuery<GetShoppingcartHealthQuery> {}
|
|
997
|
+
export interface GetShoppingcartHealthRequest extends BaseRequest {}
|
|
1026
998
|
|
|
1027
999
|
// DELETE /shoppingcart/{id}/record - Delete a shopping cart record by ID
|
|
1028
1000
|
|
package/src/interface/task.ts
CHANGED
|
@@ -170,14 +170,9 @@ export interface GetTaskPath {
|
|
|
170
170
|
id: string;
|
|
171
171
|
}
|
|
172
172
|
|
|
173
|
-
export interface GetTaskQuery {
|
|
174
|
-
// Graphql query string
|
|
175
|
-
_query?: string;
|
|
176
|
-
}
|
|
177
|
-
|
|
178
173
|
export type GetTaskResponse = Task;
|
|
179
174
|
|
|
180
|
-
export interface GetTaskRequest extends BaseRequest,
|
|
175
|
+
export interface GetTaskRequest extends BaseRequest, GetTaskPath {}
|
|
181
176
|
|
|
182
177
|
// PATCH /task/{id} - Update Task
|
|
183
178
|
|
|
@@ -231,17 +226,9 @@ export interface GetTaskOrderKdsPath {
|
|
|
231
226
|
id: string;
|
|
232
227
|
}
|
|
233
228
|
|
|
234
|
-
export interface GetTaskOrderKdsQuery {
|
|
235
|
-
// Graphql query string
|
|
236
|
-
_query?: string;
|
|
237
|
-
}
|
|
238
|
-
|
|
239
229
|
export type GetTaskOrderKdsResponse = Tasks;
|
|
240
230
|
|
|
241
|
-
export interface GetTaskOrderKdsRequest
|
|
242
|
-
extends BaseRequest,
|
|
243
|
-
RequestQuery<GetTaskOrderKdsQuery>,
|
|
244
|
-
GetTaskOrderKdsPath {}
|
|
231
|
+
export interface GetTaskOrderKdsRequest extends BaseRequest, GetTaskOrderKdsPath {}
|
|
245
232
|
|
|
246
233
|
// PATCH /task/order/{id}/kds - Update an order and its associated tasks
|
|
247
234
|
|
|
@@ -276,8 +263,6 @@ export interface GetTaskAssigneeQuery {
|
|
|
276
263
|
started?: number;
|
|
277
264
|
// Filter tasks by their completed date. Only return tasks that have a completed date less than or equal to the date.
|
|
278
265
|
completed?: number;
|
|
279
|
-
// Graphql query string
|
|
280
|
-
_query?: string;
|
|
281
266
|
}
|
|
282
267
|
|
|
283
268
|
export type GetTaskAssigneeResponse = Tasks;
|
|
@@ -342,8 +327,6 @@ export interface GetTaskLocationGroupQuery {
|
|
|
342
327
|
pickup_time?: number;
|
|
343
328
|
// The type of task that will be searched on. The default is: 'bolter'
|
|
344
329
|
query_type?: string;
|
|
345
|
-
// Graphql query string
|
|
346
|
-
_query?: string;
|
|
347
330
|
}
|
|
348
331
|
|
|
349
332
|
export type GetTaskLocationGroupResponse = Tasks;
|
package/src/interface/tax.ts
CHANGED
|
@@ -111,11 +111,6 @@ export interface Error {
|
|
|
111
111
|
|
|
112
112
|
// GET /tax/v1/health-check - Health Check
|
|
113
113
|
|
|
114
|
-
export interface TaxHealthCheckQuery {
|
|
115
|
-
// Graphql query string
|
|
116
|
-
_query?: string;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
114
|
export type TaxHealthCheckResponse = {};
|
|
120
115
|
|
|
121
116
|
// POST /tax/quote - get tax quote from 3rd party tax library
|
package/src/interface/user.ts
CHANGED
|
@@ -314,8 +314,6 @@ export interface Pagination {
|
|
|
314
314
|
export interface GetUserAuthQuery {
|
|
315
315
|
// realm
|
|
316
316
|
realm?: string;
|
|
317
|
-
// Graphql query string
|
|
318
|
-
_query?: string;
|
|
319
317
|
}
|
|
320
318
|
|
|
321
319
|
export type GetUserAuthResponse = auth;
|
|
@@ -390,14 +388,9 @@ export interface GetUserPath {
|
|
|
390
388
|
id: string;
|
|
391
389
|
}
|
|
392
390
|
|
|
393
|
-
export interface GetUserQuery {
|
|
394
|
-
// Graphql query string
|
|
395
|
-
_query?: string;
|
|
396
|
-
}
|
|
397
|
-
|
|
398
391
|
export type GetUserResponse = User;
|
|
399
392
|
|
|
400
|
-
export interface GetUserRequest extends BaseRequest,
|
|
393
|
+
export interface GetUserRequest extends BaseRequest, GetUserPath {}
|
|
401
394
|
|
|
402
395
|
// PUT /user/{id} - Update an individual user
|
|
403
396
|
|
|
@@ -464,8 +457,6 @@ export interface PostUserKdsTokenRequest extends BaseRequest {
|
|
|
464
457
|
|
|
465
458
|
export interface GetUserKdsTokenQuery {
|
|
466
459
|
authorized?: boolean;
|
|
467
|
-
// Graphql query string
|
|
468
|
-
_query?: string;
|
|
469
460
|
}
|
|
470
461
|
|
|
471
462
|
export type GetUserKdsTokenResponse = KDSDevices;
|
|
@@ -548,19 +539,11 @@ export interface GetUserSecretPath {
|
|
|
548
539
|
key: string;
|
|
549
540
|
}
|
|
550
541
|
|
|
551
|
-
export interface GetUserSecretQuery {
|
|
552
|
-
// Graphql query string
|
|
553
|
-
_query?: string;
|
|
554
|
-
}
|
|
555
|
-
|
|
556
542
|
export interface GetUserSecretResponse {
|
|
557
543
|
[index: string]: any;
|
|
558
544
|
}
|
|
559
545
|
|
|
560
|
-
export interface GetUserSecretRequest
|
|
561
|
-
extends BaseRequest,
|
|
562
|
-
RequestQuery<GetUserSecretQuery>,
|
|
563
|
-
GetUserSecretPath {}
|
|
546
|
+
export interface GetUserSecretRequest extends BaseRequest, GetUserSecretPath {}
|
|
564
547
|
|
|
565
548
|
// POST /user/forgotpassword - Reset the users password
|
|
566
549
|
|
|
@@ -624,8 +607,6 @@ export interface GetUserRealmUsersQuery {
|
|
|
624
607
|
paginate?: boolean;
|
|
625
608
|
// The last key from the previous response for pagination
|
|
626
609
|
last_key?: string;
|
|
627
|
-
// Graphql query string
|
|
628
|
-
_query?: string;
|
|
629
610
|
}
|
|
630
611
|
|
|
631
612
|
export interface GetUserRealmUsersResponse {
|
|
@@ -645,17 +626,9 @@ export interface GetUserPermissionsPath {
|
|
|
645
626
|
id: string;
|
|
646
627
|
}
|
|
647
628
|
|
|
648
|
-
export interface GetUserPermissionsQuery {
|
|
649
|
-
// Graphql query string
|
|
650
|
-
_query?: string;
|
|
651
|
-
}
|
|
652
|
-
|
|
653
629
|
export type GetUserPermissionsResponse = User;
|
|
654
630
|
|
|
655
|
-
export interface GetUserPermissionsRequest
|
|
656
|
-
extends BaseRequest,
|
|
657
|
-
RequestQuery<GetUserPermissionsQuery>,
|
|
658
|
-
GetUserPermissionsPath {}
|
|
631
|
+
export interface GetUserPermissionsRequest extends BaseRequest, GetUserPermissionsPath {}
|
|
659
632
|
|
|
660
633
|
// PUT /user/{id}/permissions - Update user permissions
|
|
661
634
|
|
|
@@ -684,8 +657,6 @@ export interface GetUserScopesPath {
|
|
|
684
657
|
export interface GetUserScopesQuery {
|
|
685
658
|
// expand the scope roles (default true)
|
|
686
659
|
expand?: boolean;
|
|
687
|
-
// Graphql query string
|
|
688
|
-
_query?: string;
|
|
689
660
|
}
|
|
690
661
|
|
|
691
662
|
export interface GetUserScopesResponse {
|
|
@@ -719,8 +690,6 @@ export interface GetUserSearchCheckInQuery {
|
|
|
719
690
|
checkin_uuid?: string;
|
|
720
691
|
// Visit UUID that corresponds to the check-in
|
|
721
692
|
visit_uuid?: string;
|
|
722
|
-
// Graphql query string
|
|
723
|
-
_query?: string;
|
|
724
693
|
}
|
|
725
694
|
|
|
726
695
|
export type GetUserSearchCheckInResponse = Checkin;
|
|
@@ -802,8 +771,6 @@ export interface GetUserProfileQuery {
|
|
|
802
771
|
email: string;
|
|
803
772
|
// app realm
|
|
804
773
|
realm: string;
|
|
805
|
-
// Graphql query string
|
|
806
|
-
_query?: string;
|
|
807
774
|
}
|
|
808
775
|
|
|
809
776
|
export interface GetUserProfileResponse {
|