@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
|
@@ -203,8 +203,6 @@ export interface GetAnnouncementsQuery {
|
|
|
203
203
|
sort_order?: string;
|
|
204
204
|
// Filter by status - 'published', 'draft'
|
|
205
205
|
status?: string;
|
|
206
|
-
// Graphql query string
|
|
207
|
-
_query?: string;
|
|
208
206
|
}
|
|
209
207
|
|
|
210
208
|
export type GetAnnouncementsResponse = Announcements;
|
|
@@ -218,17 +216,9 @@ export interface GetAnnouncementPath {
|
|
|
218
216
|
id: string;
|
|
219
217
|
}
|
|
220
218
|
|
|
221
|
-
export interface GetAnnouncementQuery {
|
|
222
|
-
// Graphql query string
|
|
223
|
-
_query?: string;
|
|
224
|
-
}
|
|
225
|
-
|
|
226
219
|
export type GetAnnouncementResponse = Announcement;
|
|
227
220
|
|
|
228
|
-
export interface GetAnnouncementRequest
|
|
229
|
-
extends BaseRequest,
|
|
230
|
-
RequestQuery<GetAnnouncementQuery>,
|
|
231
|
-
GetAnnouncementPath {}
|
|
221
|
+
export interface GetAnnouncementRequest extends BaseRequest, GetAnnouncementPath {}
|
|
232
222
|
|
|
233
223
|
// PUT /announcement/{id} - Update Announcement
|
|
234
224
|
|
package/src/interface/auth.ts
CHANGED
|
@@ -169,19 +169,12 @@ export interface GetAuthSsoConfigPath {
|
|
|
169
169
|
|
|
170
170
|
export interface GetAuthSsoConfigQuery {
|
|
171
171
|
realm: string;
|
|
172
|
-
// Graphql query string
|
|
173
|
-
_query?: string;
|
|
174
172
|
}
|
|
175
173
|
|
|
176
174
|
export type GetAuthSsoConfigResponse = string;
|
|
177
175
|
|
|
178
176
|
// GET /auth/sso-configs - Returns all available SSO configurations
|
|
179
177
|
|
|
180
|
-
export interface GetAuthSsoConfigsQuery {
|
|
181
|
-
// Graphql query string
|
|
182
|
-
_query?: string;
|
|
183
|
-
}
|
|
184
|
-
|
|
185
178
|
export type GetAuthSsoConfigsResponse = SSOConfigsResponseDTO[];
|
|
186
179
|
|
|
187
180
|
// POST /auth/sso-config - Create a new SSO configuration
|
|
@@ -222,8 +215,6 @@ export type PostAuthSsoExchangeResponse = SSOExchangeDTO;
|
|
|
222
215
|
|
|
223
216
|
export interface GetAuthSsoExchangeQuery {
|
|
224
217
|
token: string;
|
|
225
|
-
// Graphql query string
|
|
226
|
-
_query?: string;
|
|
227
218
|
}
|
|
228
219
|
|
|
229
220
|
export type GetAuthSsoExchangeResponse = SSOAuthResponseDTO;
|
|
@@ -236,9 +227,4 @@ export type PostAuthJwtAssertionResponse = JwtAssertionResponse;
|
|
|
236
227
|
|
|
237
228
|
// GET /auth/jwt-assertion/jwk - Get the public JWK for JWT assertion
|
|
238
229
|
|
|
239
|
-
export interface GetAuthJwtAssertionJwkQuery {
|
|
240
|
-
// Graphql query string
|
|
241
|
-
_query?: string;
|
|
242
|
-
}
|
|
243
|
-
|
|
244
230
|
export type GetAuthJwtAssertionJwkResponse = JwtAssertionJwkResponse;
|
|
@@ -165,8 +165,6 @@ export interface GetCalendarPath {
|
|
|
165
165
|
}
|
|
166
166
|
|
|
167
167
|
export interface GetCalendarQuery {
|
|
168
|
-
// Graphql query string
|
|
169
|
-
_query?: string;
|
|
170
168
|
nocache?: boolean;
|
|
171
169
|
}
|
|
172
170
|
|
|
@@ -213,8 +211,6 @@ export interface GetCalendarCdlPath {
|
|
|
213
211
|
export interface GetCalendarCdlQuery {
|
|
214
212
|
// Start date in ms to get 7 day calendar from. Defaults now.
|
|
215
213
|
start_date?: number;
|
|
216
|
-
// Graphql query string
|
|
217
|
-
_query?: string;
|
|
218
214
|
}
|
|
219
215
|
|
|
220
216
|
export type GetCalendarCdlResponse = CDLCalendar;
|
|
@@ -226,18 +222,11 @@ export interface GetCalendarCdlRequest
|
|
|
226
222
|
|
|
227
223
|
// GET /calendar/swagger.json
|
|
228
224
|
|
|
229
|
-
export interface GetCalendarSwaggerQuery {
|
|
230
|
-
// Graphql query string
|
|
231
|
-
_query?: string;
|
|
232
|
-
}
|
|
233
|
-
|
|
234
225
|
export interface GetCalendarSwaggerResponse {
|
|
235
226
|
[index: string]: any;
|
|
236
227
|
}
|
|
237
228
|
|
|
238
|
-
export interface GetCalendarSwaggerRequest
|
|
239
|
-
extends BaseRequest,
|
|
240
|
-
RequestQuery<GetCalendarSwaggerQuery> {}
|
|
229
|
+
export interface GetCalendarSwaggerRequest extends BaseRequest {}
|
|
241
230
|
|
|
242
231
|
// POST /calendar/{id}/sync - Trigger synchronization of calendar to location API
|
|
243
232
|
|
|
@@ -252,24 +241,12 @@ export interface PostCalendarSyncRequest extends BaseRequest, PostCalendarSyncPa
|
|
|
252
241
|
|
|
253
242
|
// GET /calendar/ping - Service ping endpoint for basic connectivity check
|
|
254
243
|
|
|
255
|
-
export interface GetCalendarPingQuery {
|
|
256
|
-
// Graphql query string
|
|
257
|
-
_query?: string;
|
|
258
|
-
}
|
|
259
|
-
|
|
260
244
|
export type GetCalendarPingResponse = PingResponse;
|
|
261
245
|
|
|
262
|
-
export interface GetCalendarPingRequest extends BaseRequest
|
|
246
|
+
export interface GetCalendarPingRequest extends BaseRequest {}
|
|
263
247
|
|
|
264
248
|
// GET /calendar/health - Service health endpoint for dependency checks
|
|
265
249
|
|
|
266
|
-
export interface GetCalendarHealthQuery {
|
|
267
|
-
// Graphql query string
|
|
268
|
-
_query?: string;
|
|
269
|
-
}
|
|
270
|
-
|
|
271
250
|
export type GetCalendarHealthResponse = HealthResponse;
|
|
272
251
|
|
|
273
|
-
export interface GetCalendarHealthRequest
|
|
274
|
-
extends BaseRequest,
|
|
275
|
-
RequestQuery<GetCalendarHealthQuery> {}
|
|
252
|
+
export interface GetCalendarHealthRequest extends BaseRequest {}
|
package/src/interface/catalog.ts
CHANGED
|
@@ -179,49 +179,27 @@ export interface BaseItemResponseDTO {
|
|
|
179
179
|
|
|
180
180
|
// GET /catalog/ping - Catalog Service liveness check
|
|
181
181
|
|
|
182
|
-
export interface GetCatalogPingQuery {
|
|
183
|
-
// Graphql query string
|
|
184
|
-
_query?: string;
|
|
185
|
-
}
|
|
186
|
-
|
|
187
182
|
export type GetCatalogPingResponse = PingResponseDTO;
|
|
188
183
|
|
|
189
|
-
export interface GetCatalogPingRequest extends BaseRequest
|
|
184
|
+
export interface GetCatalogPingRequest extends BaseRequest {}
|
|
190
185
|
|
|
191
186
|
// GET /catalog/health - Catalog Service health check
|
|
192
187
|
|
|
193
|
-
export interface GetCatalogHealthQuery {
|
|
194
|
-
// Graphql query string
|
|
195
|
-
_query?: string;
|
|
196
|
-
}
|
|
197
|
-
|
|
198
188
|
export type GetCatalogHealthResponse = HealthResponseDTO;
|
|
199
189
|
|
|
200
|
-
export interface GetCatalogHealthRequest extends BaseRequest
|
|
190
|
+
export interface GetCatalogHealthRequest extends BaseRequest {}
|
|
201
191
|
|
|
202
192
|
// GET /catalog/status - Get the status of the Catalog service
|
|
203
193
|
|
|
204
|
-
export interface GetCatalogStatusQuery {
|
|
205
|
-
// Graphql query string
|
|
206
|
-
_query?: string;
|
|
207
|
-
}
|
|
208
|
-
|
|
209
194
|
export type GetCatalogStatusResponse = {};
|
|
210
195
|
|
|
211
|
-
export interface GetCatalogStatusRequest extends BaseRequest
|
|
196
|
+
export interface GetCatalogStatusRequest extends BaseRequest {}
|
|
212
197
|
|
|
213
198
|
// GET /catalog/status/connections - Get the status of Catalog database connections
|
|
214
199
|
|
|
215
|
-
export interface GetCatalogConnectionsStatusQuery {
|
|
216
|
-
// Graphql query string
|
|
217
|
-
_query?: string;
|
|
218
|
-
}
|
|
219
|
-
|
|
220
200
|
export type GetCatalogConnectionsStatusResponse = {};
|
|
221
201
|
|
|
222
|
-
export interface GetCatalogConnectionsStatusRequest
|
|
223
|
-
extends BaseRequest,
|
|
224
|
-
RequestQuery<GetCatalogConnectionsStatusQuery> {}
|
|
202
|
+
export interface GetCatalogConnectionsStatusRequest extends BaseRequest {}
|
|
225
203
|
|
|
226
204
|
// POST /catalog/v1/catalog - Create a new catalog
|
|
227
205
|
|
|
@@ -266,8 +244,6 @@ export interface GetCatalogPath {
|
|
|
266
244
|
export interface GetCatalogQuery {
|
|
267
245
|
// Comma-separated list of optional columns to include (e.g., "display,meta,created_at"). Required columns (id,name,parent_id) are always included.
|
|
268
246
|
select_columns?: string;
|
|
269
|
-
// Graphql query string
|
|
270
|
-
_query?: string;
|
|
271
247
|
}
|
|
272
248
|
|
|
273
249
|
export type GetCatalogResponse = CatalogResponseDTO;
|
|
@@ -444,8 +420,6 @@ export interface GetListCatalogItemsQuery {
|
|
|
444
420
|
filter: FilterQueryDTO;
|
|
445
421
|
// Comma-separated list of option keys to filter catalog items by. Items with any of these option keys will be included.
|
|
446
422
|
item_option_keys?: string;
|
|
447
|
-
// Graphql query string
|
|
448
|
-
_query?: string;
|
|
449
423
|
}
|
|
450
424
|
|
|
451
425
|
export type GetListCatalogItemsResponse = CatalogItemsListResponseDTO;
|
|
@@ -485,11 +459,6 @@ export interface PostCatalogBaseItemRequest extends BaseRequest {
|
|
|
485
459
|
|
|
486
460
|
// GET /catalog/v1/base-item - List base items
|
|
487
461
|
|
|
488
|
-
export interface GetCatalogBaseItemsQuery {
|
|
489
|
-
// Graphql query string
|
|
490
|
-
_query?: string;
|
|
491
|
-
}
|
|
492
|
-
|
|
493
462
|
export interface GetCatalogBaseItemsBody {
|
|
494
463
|
search?: string | null;
|
|
495
464
|
limit?: number;
|
|
@@ -498,9 +467,7 @@ export interface GetCatalogBaseItemsBody {
|
|
|
498
467
|
|
|
499
468
|
export type GetCatalogBaseItemsResponse = BaseItemResponseDTO[];
|
|
500
469
|
|
|
501
|
-
export interface GetCatalogBaseItemsRequest
|
|
502
|
-
extends BaseRequest,
|
|
503
|
-
RequestQuery<GetCatalogBaseItemsQuery> {
|
|
470
|
+
export interface GetCatalogBaseItemsRequest extends BaseRequest {
|
|
504
471
|
body: GetCatalogBaseItemsBody;
|
|
505
472
|
}
|
|
506
473
|
|
|
@@ -510,14 +477,6 @@ export interface GetCatalogBaseItemPath {
|
|
|
510
477
|
id: string;
|
|
511
478
|
}
|
|
512
479
|
|
|
513
|
-
export interface GetCatalogBaseItemQuery {
|
|
514
|
-
// Graphql query string
|
|
515
|
-
_query?: string;
|
|
516
|
-
}
|
|
517
|
-
|
|
518
480
|
export type GetCatalogBaseItemResponse = BaseItemResponseDTO;
|
|
519
481
|
|
|
520
|
-
export interface GetCatalogBaseItemRequest
|
|
521
|
-
extends BaseRequest,
|
|
522
|
-
RequestQuery<GetCatalogBaseItemQuery>,
|
|
523
|
-
GetCatalogBaseItemPath {}
|
|
482
|
+
export interface GetCatalogBaseItemRequest extends BaseRequest, GetCatalogBaseItemPath {}
|
|
@@ -697,8 +697,6 @@ export interface PostCentricosOrdersExportQuery {
|
|
|
697
697
|
sortOrder?: 'ASC' | 'DESC';
|
|
698
698
|
// Export Personal Identifiable Information
|
|
699
699
|
include_pii?: string;
|
|
700
|
-
// Graphql query string
|
|
701
|
-
_query?: string;
|
|
702
700
|
}
|
|
703
701
|
|
|
704
702
|
export type PostCentricosOrdersExportResponse = OrdersExportResponse;
|
|
@@ -710,11 +708,6 @@ export interface GetCentricosReportGroupConfigPath {
|
|
|
710
708
|
location_group: string;
|
|
711
709
|
}
|
|
712
710
|
|
|
713
|
-
export interface GetCentricosReportGroupConfigQuery {
|
|
714
|
-
// Graphql query string
|
|
715
|
-
_query?: string;
|
|
716
|
-
}
|
|
717
|
-
|
|
718
711
|
export type GetCentricosReportGroupConfigResponse = ReportGroupConfigResponse;
|
|
719
712
|
|
|
720
713
|
// PUT /centricos/report/group/{location_group}/config - Update report configuration for a location group. Times are in site's local timezone.
|
|
@@ -744,11 +737,6 @@ export interface GetCentricosReportConfigDefaultPath {
|
|
|
744
737
|
location_group: string;
|
|
745
738
|
}
|
|
746
739
|
|
|
747
|
-
export interface GetCentricosReportConfigDefaultQuery {
|
|
748
|
-
// Graphql query string
|
|
749
|
-
_query?: string;
|
|
750
|
-
}
|
|
751
|
-
|
|
752
740
|
export type GetCentricosReportConfigDefaultResponse = ReportGroupConfigResponse;
|
|
753
741
|
|
|
754
742
|
// GET /centricos/looker/embedurl - Get a signed URL for looker embeding
|
|
@@ -756,8 +744,6 @@ export type GetCentricosReportConfigDefaultResponse = ReportGroupConfigResponse;
|
|
|
756
744
|
export interface GetCentricosLookerEmbedurlQuery {
|
|
757
745
|
src: string;
|
|
758
746
|
locale?: string;
|
|
759
|
-
// Graphql query string
|
|
760
|
-
_query?: string;
|
|
761
747
|
}
|
|
762
748
|
|
|
763
749
|
export type GetCentricosLookerEmbedurlResponse = LookerEmbedURLResponse;
|
|
@@ -769,11 +755,6 @@ export interface GetSiteDevicesPath {
|
|
|
769
755
|
site_id: string;
|
|
770
756
|
}
|
|
771
757
|
|
|
772
|
-
export interface GetSiteDevicesQuery {
|
|
773
|
-
// Graphql query string
|
|
774
|
-
_query?: string;
|
|
775
|
-
}
|
|
776
|
-
|
|
777
758
|
export type GetSiteDevicesResponse = SiteDevicesResponse;
|
|
778
759
|
|
|
779
760
|
// GET /centricos/sites - Get a list of sites. This endpoint is paginated and supports filtering, sorting, and searching.
|
|
@@ -785,8 +766,6 @@ export interface GetCentricosSitesQuery {
|
|
|
785
766
|
page: number;
|
|
786
767
|
sortOrder: 'ASC' | 'DESC';
|
|
787
768
|
sortBy?: string;
|
|
788
|
-
// Graphql query string
|
|
789
|
-
_query?: string;
|
|
790
769
|
}
|
|
791
770
|
|
|
792
771
|
export type GetCentricosSitesResponse = GetSitesResponse;
|
|
@@ -800,8 +779,6 @@ export interface GetSitesFromPriceLevelPath {
|
|
|
800
779
|
|
|
801
780
|
export interface GetSitesFromPriceLevelQuery {
|
|
802
781
|
local_menu_group?: string;
|
|
803
|
-
// Graphql query string
|
|
804
|
-
_query?: string;
|
|
805
782
|
}
|
|
806
783
|
|
|
807
784
|
export type GetSitesFromPriceLevelResponse = GetPriceLevelSitesResponse;
|
|
@@ -812,11 +789,6 @@ export interface GetReviewOrderItemsPath {
|
|
|
812
789
|
orderId: string;
|
|
813
790
|
}
|
|
814
791
|
|
|
815
|
-
export interface GetReviewOrderItemsQuery {
|
|
816
|
-
// Graphql query string
|
|
817
|
-
_query?: string;
|
|
818
|
-
}
|
|
819
|
-
|
|
820
792
|
export type GetReviewOrderItemsResponse = ReviewOrderItemsResponseDTO;
|
|
821
793
|
|
|
822
794
|
// GET /centricos/yesterdays-snapshot/{siteId} - Get yesterdays snapshot for a site
|
|
@@ -826,11 +798,6 @@ export interface GetYesterdaysSnapshotPath {
|
|
|
826
798
|
siteId: string;
|
|
827
799
|
}
|
|
828
800
|
|
|
829
|
-
export interface GetYesterdaysSnapshotQuery {
|
|
830
|
-
// Graphql query string
|
|
831
|
-
_query?: string;
|
|
832
|
-
}
|
|
833
|
-
|
|
834
801
|
export type GetYesterdaysSnapshotResponse = GetYesterdaysSnapshotResponseDto;
|
|
835
802
|
|
|
836
803
|
// GET /centricos/station/{station_id} - Get station details
|
|
@@ -840,11 +807,6 @@ export interface GetCentricosStationPath {
|
|
|
840
807
|
station_id: string;
|
|
841
808
|
}
|
|
842
809
|
|
|
843
|
-
export interface GetCentricosStationQuery {
|
|
844
|
-
// Graphql query string
|
|
845
|
-
_query?: string;
|
|
846
|
-
}
|
|
847
|
-
|
|
848
810
|
export type GetCentricosStationResponse = GetStationResponse;
|
|
849
811
|
|
|
850
812
|
// PUT /centricos/discount/voucherify - Add or Update a voucherify discount and assign it to multiple sites
|
|
@@ -878,20 +840,10 @@ export interface GetCentricosDiscountPath {
|
|
|
878
840
|
id: string;
|
|
879
841
|
}
|
|
880
842
|
|
|
881
|
-
export interface GetCentricosDiscountQuery {
|
|
882
|
-
// Graphql query string
|
|
883
|
-
_query?: string;
|
|
884
|
-
}
|
|
885
|
-
|
|
886
843
|
export type GetCentricosDiscountResponse = GetDiscountResponseDTO;
|
|
887
844
|
|
|
888
845
|
// GET /centricos/discount/all - Get all discounts
|
|
889
846
|
|
|
890
|
-
export interface GetCentricosDiscountAllQuery {
|
|
891
|
-
// Graphql query string
|
|
892
|
-
_query?: string;
|
|
893
|
-
}
|
|
894
|
-
|
|
895
847
|
export type GetCentricosDiscountAllResponse = GetAllDiscountsResponseDTO;
|
|
896
848
|
|
|
897
849
|
// POST /centricos/discount/{id}/active - Set discount active status flag
|
|
@@ -944,8 +896,6 @@ export interface GetCentricosDiscountsQuery {
|
|
|
944
896
|
updatedAtStart?: string;
|
|
945
897
|
// Filter by updated date end (YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss)
|
|
946
898
|
updatedAtEnd?: string;
|
|
947
|
-
// Graphql query string
|
|
948
|
-
_query?: string;
|
|
949
899
|
}
|
|
950
900
|
|
|
951
901
|
export type GetCentricosDiscountsResponse = GetDiscountsResponseDTO;
|
|
@@ -956,11 +906,6 @@ export interface GetRecommendationsBySitePath {
|
|
|
956
906
|
siteId: string;
|
|
957
907
|
}
|
|
958
908
|
|
|
959
|
-
export interface GetRecommendationsBySiteQuery {
|
|
960
|
-
// Graphql query string
|
|
961
|
-
_query?: string;
|
|
962
|
-
}
|
|
963
|
-
|
|
964
909
|
export type GetRecommendationsBySiteResponse = GetRecommendationsV1ResponseDto[];
|
|
965
910
|
|
|
966
911
|
// GET /centricos/v2/recommendations/{siteId} - Get recommendations by site (V2 format)
|
|
@@ -969,11 +914,6 @@ export interface GetRecommendationsBySiteV2Path {
|
|
|
969
914
|
siteId: string;
|
|
970
915
|
}
|
|
971
916
|
|
|
972
|
-
export interface GetRecommendationsBySiteV2Query {
|
|
973
|
-
// Graphql query string
|
|
974
|
-
_query?: string;
|
|
975
|
-
}
|
|
976
|
-
|
|
977
917
|
export type GetRecommendationsBySiteV2Response = GetRecommendationsResponseDto[];
|
|
978
918
|
|
|
979
919
|
// POST /centricos/business-unit/{bu_id}/validate-vertex - Validate vertex for business unit
|
package/src/interface/config.ts
CHANGED
|
@@ -192,16 +192,9 @@ export interface PingResponse {
|
|
|
192
192
|
|
|
193
193
|
// GET /config/appconfig - get appconfig - an object with data for clients including minimum versions apps (boost, thrive, J&J) should be running and a link to the respective app store
|
|
194
194
|
|
|
195
|
-
export interface GetConfigAppconfigQuery {
|
|
196
|
-
// Graphql query string
|
|
197
|
-
_query?: string;
|
|
198
|
-
}
|
|
199
|
-
|
|
200
195
|
export type GetConfigAppconfigResponse = AppConfig;
|
|
201
196
|
|
|
202
|
-
export interface GetConfigAppconfigRequest
|
|
203
|
-
extends BaseRequest,
|
|
204
|
-
RequestQuery<GetConfigAppconfigQuery> {}
|
|
197
|
+
export interface GetConfigAppconfigRequest extends BaseRequest {}
|
|
205
198
|
|
|
206
199
|
// GET /config/{key} - get a configuration
|
|
207
200
|
|
|
@@ -210,17 +203,9 @@ export interface GetConfigPath {
|
|
|
210
203
|
key: string;
|
|
211
204
|
}
|
|
212
205
|
|
|
213
|
-
export interface GetConfigQuery {
|
|
214
|
-
// Graphql query string
|
|
215
|
-
_query?: string;
|
|
216
|
-
}
|
|
217
|
-
|
|
218
206
|
export type GetConfigResponse = Config;
|
|
219
207
|
|
|
220
|
-
export interface GetConfigRequest
|
|
221
|
-
extends BaseRequest,
|
|
222
|
-
RequestQuery<GetConfigQuery>,
|
|
223
|
-
GetConfigPath {}
|
|
208
|
+
export interface GetConfigRequest extends BaseRequest, GetConfigPath {}
|
|
224
209
|
|
|
225
210
|
// POST /config/{key} - Create a configuration
|
|
226
211
|
|
|
@@ -270,17 +255,9 @@ export interface GetConfigPublicPath {
|
|
|
270
255
|
key: string;
|
|
271
256
|
}
|
|
272
257
|
|
|
273
|
-
export interface GetConfigPublicQuery {
|
|
274
|
-
// Graphql query string
|
|
275
|
-
_query?: string;
|
|
276
|
-
}
|
|
277
|
-
|
|
278
258
|
export type GetConfigPublicResponse = Config;
|
|
279
259
|
|
|
280
|
-
export interface GetConfigPublicRequest
|
|
281
|
-
extends BaseRequest,
|
|
282
|
-
RequestQuery<GetConfigPublicQuery>,
|
|
283
|
-
GetConfigPublicPath {}
|
|
260
|
+
export interface GetConfigPublicRequest extends BaseRequest, GetConfigPublicPath {}
|
|
284
261
|
|
|
285
262
|
// POST /config/public/{key} - Create a public configuration
|
|
286
263
|
|
|
@@ -325,11 +302,6 @@ export interface DeleteConfigPublicRequest extends BaseRequest, DeleteConfigPubl
|
|
|
325
302
|
|
|
326
303
|
// GET /ping - Config Service liveness check
|
|
327
304
|
|
|
328
|
-
export interface GetConfigPingQuery {
|
|
329
|
-
// Graphql query string
|
|
330
|
-
_query?: string;
|
|
331
|
-
}
|
|
332
|
-
|
|
333
305
|
export type GetConfigPingResponse = PingResponse;
|
|
334
306
|
|
|
335
|
-
export interface GetConfigPingRequest extends BaseRequest
|
|
307
|
+
export interface GetConfigPingRequest extends BaseRequest {}
|
|
@@ -3303,11 +3303,6 @@ export interface OpenAiChatResponse {
|
|
|
3303
3303
|
|
|
3304
3304
|
// GET /consumer/v1/health-check
|
|
3305
3305
|
|
|
3306
|
-
export interface HealthCheckControllerExecuteQuery {
|
|
3307
|
-
// Graphql query string
|
|
3308
|
-
_query?: string;
|
|
3309
|
-
}
|
|
3310
|
-
|
|
3311
3306
|
export type HealthCheckControllerExecuteResponse = {};
|
|
3312
3307
|
|
|
3313
3308
|
// GET /consumer/v1/payment-methods - List payment methods available in a given brand
|
|
@@ -3317,8 +3312,6 @@ export interface GetPaymentListByBrandQuery {
|
|
|
3317
3312
|
brandID?: string;
|
|
3318
3313
|
// Site ID as Encoded CDL ID
|
|
3319
3314
|
siteID?: string;
|
|
3320
|
-
// Graphql query string
|
|
3321
|
-
_query?: string;
|
|
3322
3315
|
}
|
|
3323
3316
|
|
|
3324
3317
|
export type GetPaymentListByBrandResponse = ListAvailablePaymentsResponseDTO;
|
|
@@ -3335,8 +3328,6 @@ export interface GetCustomerOrdersQuery {
|
|
|
3335
3328
|
start?: number;
|
|
3336
3329
|
// Filter orders by their requested date. Only return orders that have a date less than or equal to the date. Default is 24 hours from the current time in milliseconds. Please ensure to use a millisecond timestamp, not just an epoch timestamp
|
|
3337
3330
|
end?: number;
|
|
3338
|
-
// Graphql query string
|
|
3339
|
-
_query?: string;
|
|
3340
3331
|
}
|
|
3341
3332
|
|
|
3342
3333
|
export type GetCustomerOrdersResponse = GetCustomerOrdersResponseDTO;
|
|
@@ -3382,8 +3373,6 @@ export interface GetConsumerHomePageQuery {
|
|
|
3382
3373
|
timezoneOffset: string;
|
|
3383
3374
|
// reorder eligible
|
|
3384
3375
|
reorderEligible: boolean;
|
|
3385
|
-
// Graphql query string
|
|
3386
|
-
_query?: string;
|
|
3387
3376
|
}
|
|
3388
3377
|
|
|
3389
3378
|
export type GetConsumerHomePageResponse = HomePageResponse;
|
|
@@ -3394,11 +3383,6 @@ export interface GetConsumerFrictionlessCheckinPath {
|
|
|
3394
3383
|
id: string;
|
|
3395
3384
|
}
|
|
3396
3385
|
|
|
3397
|
-
export interface GetConsumerFrictionlessCheckinQuery {
|
|
3398
|
-
// Graphql query string
|
|
3399
|
-
_query?: string;
|
|
3400
|
-
}
|
|
3401
|
-
|
|
3402
3386
|
export type GetConsumerFrictionlessCheckinResponse = FrictionlessCheckinResponse;
|
|
3403
3387
|
|
|
3404
3388
|
// POST /consumer/frictionless/qrCode - Create a QR code for a frictionless checkin
|
|
@@ -3454,7 +3438,7 @@ export interface GetConsumerLocationGroupQuery {
|
|
|
3454
3438
|
non_scan_go?: boolean;
|
|
3455
3439
|
// Include estimated wait time
|
|
3456
3440
|
include_estimated_wait_time?: boolean;
|
|
3457
|
-
// Graphql query
|
|
3441
|
+
// Graphql query
|
|
3458
3442
|
_query?: string;
|
|
3459
3443
|
// Latitude of the user
|
|
3460
3444
|
nocache?: boolean;
|
|
@@ -3488,7 +3472,6 @@ export interface GetConsumerLocationMultigroupQuery {
|
|
|
3488
3472
|
non_market_places?: boolean;
|
|
3489
3473
|
// Non scan go
|
|
3490
3474
|
non_scan_go?: boolean;
|
|
3491
|
-
// Graphql query string
|
|
3492
3475
|
_query?: string;
|
|
3493
3476
|
nocache?: boolean;
|
|
3494
3477
|
}
|
|
@@ -3511,8 +3494,6 @@ export interface GetConsumerActiveMenusQuery {
|
|
|
3511
3494
|
isPickUp?: boolean;
|
|
3512
3495
|
// is drop off
|
|
3513
3496
|
isDropOff?: boolean;
|
|
3514
|
-
// Graphql query string
|
|
3515
|
-
_query?: string;
|
|
3516
3497
|
}
|
|
3517
3498
|
|
|
3518
3499
|
export type GetConsumerActiveMenusResponse = ConsumerGetActiveMenusResponse;
|
|
@@ -3527,8 +3508,6 @@ export interface GetConsumerMenuRecommendedItemsPath {
|
|
|
3527
3508
|
export interface GetConsumerMenuRecommendedItemsQuery {
|
|
3528
3509
|
// Comma-separated list of item IDs to exclude from recommendations
|
|
3529
3510
|
excludedItems?: string;
|
|
3530
|
-
// Graphql query string
|
|
3531
|
-
_query?: string;
|
|
3532
3511
|
}
|
|
3533
3512
|
|
|
3534
3513
|
export type GetConsumerMenuRecommendedItemsResponse$0 = GetConsumerMenuRecommendedItemsResponse;
|
|
@@ -3540,11 +3519,6 @@ export interface GetConsumerMenuPath {
|
|
|
3540
3519
|
id: string;
|
|
3541
3520
|
}
|
|
3542
3521
|
|
|
3543
|
-
export interface GetConsumerMenuQuery {
|
|
3544
|
-
// Graphql query string
|
|
3545
|
-
_query?: string;
|
|
3546
|
-
}
|
|
3547
|
-
|
|
3548
3522
|
export type GetConsumerMenuResponse = GetMenuResponseConsumer;
|
|
3549
3523
|
|
|
3550
3524
|
// GET /consumer/menu/{id}/items - Provide the front end with menu items
|
|
@@ -3561,8 +3535,6 @@ export interface GetConsumerMenuItemsQuery {
|
|
|
3561
3535
|
brand_id: string;
|
|
3562
3536
|
// GraphQL query
|
|
3563
3537
|
query: string;
|
|
3564
|
-
// Graphql query string
|
|
3565
|
-
_query?: string;
|
|
3566
3538
|
}
|
|
3567
3539
|
|
|
3568
3540
|
export type GetConsumerMenuItemsResponse$0 = GetConsumerMenuItemsResponse;
|
|
@@ -3630,11 +3602,6 @@ export interface GetConsumerUserPath {
|
|
|
3630
3602
|
id: string;
|
|
3631
3603
|
}
|
|
3632
3604
|
|
|
3633
|
-
export interface GetConsumerUserQuery {
|
|
3634
|
-
// Graphql query string
|
|
3635
|
-
_query?: string;
|
|
3636
|
-
}
|
|
3637
|
-
|
|
3638
3605
|
export type GetConsumerUserResponse$0 = GetConsumerUserResponse;
|
|
3639
3606
|
|
|
3640
3607
|
// DELETE /consumer/user/logout - Delete user
|
|
@@ -3688,11 +3655,6 @@ export interface GetConsumerShoppingcartPath {
|
|
|
3688
3655
|
id: string;
|
|
3689
3656
|
}
|
|
3690
3657
|
|
|
3691
|
-
export interface GetConsumerShoppingcartQuery {
|
|
3692
|
-
// Graphql query string
|
|
3693
|
-
_query?: string;
|
|
3694
|
-
}
|
|
3695
|
-
|
|
3696
3658
|
export type GetConsumerShoppingcartResponse = GetConsumerShoppingCartResponse;
|
|
3697
3659
|
|
|
3698
3660
|
// PUT /consumer/shoppingcart/{id} - Update a shopping cart by ID
|
|
@@ -3771,11 +3733,6 @@ export interface GetMealplanConsumerPath {
|
|
|
3771
3733
|
mealplanId: string;
|
|
3772
3734
|
}
|
|
3773
3735
|
|
|
3774
|
-
export interface GetMealplanConsumerQuery {
|
|
3775
|
-
// Graphql query string
|
|
3776
|
-
_query?: string;
|
|
3777
|
-
}
|
|
3778
|
-
|
|
3779
3736
|
export type GetMealplanConsumerResponse = ConsumerGetMealplanResponse;
|
|
3780
3737
|
|
|
3781
3738
|
// POST /consumer/mealplan/{mealplanId} - add mealplan
|
|
@@ -3818,11 +3775,6 @@ export interface GetConsumerConfigAppconfigPath {
|
|
|
3818
3775
|
app: string;
|
|
3819
3776
|
}
|
|
3820
3777
|
|
|
3821
|
-
export interface GetConsumerConfigAppconfigQuery {
|
|
3822
|
-
// Graphql query string
|
|
3823
|
-
_query?: string;
|
|
3824
|
-
}
|
|
3825
|
-
|
|
3826
3778
|
export type GetConsumerConfigAppconfigResponse = GetConsumerAppConfigResponse;
|
|
3827
3779
|
|
|
3828
3780
|
// PATCH /consumer/order/{orderId}/checkin - Patch checkin customer order
|
|
@@ -3840,11 +3792,6 @@ export interface GetConsumerAppThemePath {
|
|
|
3840
3792
|
siteId: string;
|
|
3841
3793
|
}
|
|
3842
3794
|
|
|
3843
|
-
export interface GetConsumerAppThemeQuery {
|
|
3844
|
-
// Graphql query string
|
|
3845
|
-
_query?: string;
|
|
3846
|
-
}
|
|
3847
|
-
|
|
3848
3795
|
export type GetConsumerAppThemeResponse = GetAppThemeResponse;
|
|
3849
3796
|
|
|
3850
3797
|
// GET /consumer/location/brand/{brandId}/timeslots/menu/{menuId} - Get location brand menu timeslots
|
|
@@ -3859,8 +3806,6 @@ export interface GetConsumerBrandMenuTimeslotsPath {
|
|
|
3859
3806
|
export interface GetConsumerBrandMenuTimeslotsQuery {
|
|
3860
3807
|
// Date in milliseconds
|
|
3861
3808
|
date: number;
|
|
3862
|
-
// Graphql query string
|
|
3863
|
-
_query?: string;
|
|
3864
3809
|
}
|
|
3865
3810
|
|
|
3866
3811
|
export type GetConsumerBrandMenuTimeslotsResponse = GetConsumerLocationBrandMenuTimeslotsResponse;
|
|
@@ -3877,8 +3822,6 @@ export interface GetConsumerBrandMenuDeliveryTimeslotsPath {
|
|
|
3877
3822
|
export interface GetConsumerBrandMenuDeliveryTimeslotsQuery {
|
|
3878
3823
|
// Date in milliseconds
|
|
3879
3824
|
date: number;
|
|
3880
|
-
// Graphql query string
|
|
3881
|
-
_query?: string;
|
|
3882
3825
|
}
|
|
3883
3826
|
|
|
3884
3827
|
export type GetConsumerBrandMenuDeliveryTimeslotsResponse =
|
|
@@ -3891,11 +3834,6 @@ export interface GetConsumerConfigPublicPath {
|
|
|
3891
3834
|
id: string;
|
|
3892
3835
|
}
|
|
3893
3836
|
|
|
3894
|
-
export interface GetConsumerConfigPublicQuery {
|
|
3895
|
-
// Graphql query string
|
|
3896
|
-
_query?: string;
|
|
3897
|
-
}
|
|
3898
|
-
|
|
3899
3837
|
export type GetConsumerConfigPublicResponse$0 = GetConsumerConfigPublicResponse;
|
|
3900
3838
|
|
|
3901
3839
|
// PUT /consumer/shoppingcart/{id}/paymentmethod - Update a shopping cart by ID
|
|
@@ -3945,11 +3883,6 @@ export interface GetConsumerStationDiscountsPath {
|
|
|
3945
3883
|
siteId: string;
|
|
3946
3884
|
}
|
|
3947
3885
|
|
|
3948
|
-
export interface GetConsumerStationDiscountsQuery {
|
|
3949
|
-
// Graphql query string
|
|
3950
|
-
_query?: string;
|
|
3951
|
-
}
|
|
3952
|
-
|
|
3953
3886
|
export type GetConsumerStationDiscountsResponse = ConsumerGroup;
|
|
3954
3887
|
|
|
3955
3888
|
// POST /consumer/shoppingcart/{id}/clone - clone a shopping cart
|
|
@@ -3976,7 +3909,7 @@ export interface GetConsumerLocationBrandQuery {
|
|
|
3976
3909
|
extended?: boolean;
|
|
3977
3910
|
// Include estimated wait time
|
|
3978
3911
|
include_estimated_wait_time?: boolean;
|
|
3979
|
-
// Graphql query
|
|
3912
|
+
// Graphql query
|
|
3980
3913
|
_query?: string;
|
|
3981
3914
|
// No cache
|
|
3982
3915
|
nocache?: boolean;
|
|
@@ -27,13 +27,6 @@ export interface PostDatalakeSqlRequest extends BaseRequest {
|
|
|
27
27
|
|
|
28
28
|
// GET /swagger.json
|
|
29
29
|
|
|
30
|
-
export interface GetDatalakeSwaggerQuery {
|
|
31
|
-
// Graphql query string
|
|
32
|
-
_query?: string;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
30
|
export type GetDatalakeSwaggerResponse = Record<string, any>;
|
|
36
31
|
|
|
37
|
-
export interface GetDatalakeSwaggerRequest
|
|
38
|
-
extends BaseRequest,
|
|
39
|
-
RequestQuery<GetDatalakeSwaggerQuery> {}
|
|
32
|
+
export interface GetDatalakeSwaggerRequest extends BaseRequest {}
|