@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
|
@@ -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 {}
|