@compassdigital/sdk.typescript 4.109.0 → 4.110.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/src/index.ts CHANGED
@@ -1058,6 +1058,34 @@ import {
1058
1058
  PostFrictionlessAmazonJwoConnectorV1OrderPurchasesResponse,
1059
1059
  } from './interface/frictionless';
1060
1060
 
1061
+ import {
1062
+ HealthCheckControllerExecuteQuery,
1063
+ HealthCheckControllerExecuteResponse,
1064
+ GetPaymentListByBrandQuery,
1065
+ GetPaymentListByBrandResponse,
1066
+ GetCustomerOrdersQuery,
1067
+ GetCustomerOrdersResponse,
1068
+ PostReviewOrderItemsBody,
1069
+ PostReviewOrderItemsResponse,
1070
+ PostHomePageBody,
1071
+ PostHomePageResponse,
1072
+ GetConsumerFrictionlessCheckinQuery,
1073
+ GetConsumerFrictionlessCheckinResponse,
1074
+ PostFrictionlessQrcodeBody,
1075
+ PostFrictionlessQrcodeResponse,
1076
+ PostConsumerForgotPasswordBody,
1077
+ PostConsumerForgotPasswordResponse,
1078
+ PostConsumerAddSecretResponse,
1079
+ GetConsumerLocationGroupQuery,
1080
+ GetConsumerLocationGroupResponse$0,
1081
+ GetConsumerLocationMultigroupQuery,
1082
+ GetConsumerLocationMultigroupResponse,
1083
+ GetConsumerActiveMenusQuery,
1084
+ GetConsumerActiveMenusResponse,
1085
+ GetConsumerMenuQuery,
1086
+ GetConsumerMenuResponse$0,
1087
+ } from './interface/consumer';
1088
+
1061
1089
  import {
1062
1090
  PostAiLanguageGenerateBody,
1063
1091
  PostAiLanguageGenerateResponse,
@@ -11202,6 +11230,262 @@ export class ServiceClient extends BaseServiceClient {
11202
11230
  );
11203
11231
  }
11204
11232
 
11233
+ /**
11234
+ * GET /consumer/v1/health-check
11235
+ *
11236
+ * @param options - additional request options
11237
+ */
11238
+ HealthCheckController_execute(
11239
+ options?: {
11240
+ query?: HealthCheckControllerExecuteQuery;
11241
+ } & RequestOptions,
11242
+ ): ResponsePromise<HealthCheckControllerExecuteResponse> {
11243
+ return this.request(
11244
+ 'consumer',
11245
+ '/consumer/v1/health-check',
11246
+ 'get',
11247
+ `/consumer/v1/health-check`,
11248
+ null,
11249
+ options,
11250
+ );
11251
+ }
11252
+
11253
+ /**
11254
+ * GET /consumer/v1/payment-methods - List payment methods available in a given brand
11255
+ *
11256
+ * @param options - additional request options
11257
+ */
11258
+ get_payment_list_by_brand(
11259
+ options?: {
11260
+ query?: GetPaymentListByBrandQuery;
11261
+ } & RequestOptions,
11262
+ ): ResponsePromise<GetPaymentListByBrandResponse> {
11263
+ return this.request(
11264
+ 'consumer',
11265
+ '/consumer/v1/payment-methods',
11266
+ 'get',
11267
+ `/consumer/v1/payment-methods`,
11268
+ null,
11269
+ options,
11270
+ );
11271
+ }
11272
+
11273
+ /**
11274
+ * GET /consumer/customer-orders/{userId} - Get customer orders
11275
+ *
11276
+ * @param userId - a valid CDL user id
11277
+ * @param options - additional request options
11278
+ */
11279
+ get_customer_orders(
11280
+ userId: string,
11281
+ options?: {
11282
+ query?: GetCustomerOrdersQuery;
11283
+ } & RequestOptions,
11284
+ ): ResponsePromise<GetCustomerOrdersResponse> {
11285
+ return this.request(
11286
+ 'consumer',
11287
+ '/consumer/customer-orders/{userId}',
11288
+ 'get',
11289
+ `/consumer/customer-orders/${userId}`,
11290
+ null,
11291
+ options,
11292
+ );
11293
+ }
11294
+
11295
+ /**
11296
+ * POST /consumer/review/order-items - Submit reviews for order items
11297
+ *
11298
+ * @param body
11299
+ * @param options - additional request options
11300
+ */
11301
+ post_review_order_items(
11302
+ body: PostReviewOrderItemsBody,
11303
+ options?: RequestOptions,
11304
+ ): ResponsePromise<PostReviewOrderItemsResponse> {
11305
+ return this.request(
11306
+ 'consumer',
11307
+ '/consumer/review/order-items',
11308
+ 'post',
11309
+ `/consumer/review/order-items`,
11310
+ body,
11311
+ options,
11312
+ );
11313
+ }
11314
+
11315
+ /**
11316
+ * POST /consumer/home - Provide the front end all the data required to render the home page
11317
+ *
11318
+ * @param body
11319
+ * @param options - additional request options
11320
+ */
11321
+ post_home_page(
11322
+ body: PostHomePageBody,
11323
+ options?: RequestOptions,
11324
+ ): ResponsePromise<PostHomePageResponse> {
11325
+ return this.request('consumer', '/consumer/home', 'post', `/consumer/home`, body, options);
11326
+ }
11327
+
11328
+ /**
11329
+ * GET /consumer/frictionless/checkin/{id} - Allow a user to check in to a location using frictionless technology
11330
+ *
11331
+ * @param id
11332
+ * @param options - additional request options
11333
+ */
11334
+ get_consumer_frictionless_checkin(
11335
+ id: string,
11336
+ options?: {
11337
+ query?: GetConsumerFrictionlessCheckinQuery;
11338
+ } & RequestOptions,
11339
+ ): ResponsePromise<GetConsumerFrictionlessCheckinResponse> {
11340
+ return this.request(
11341
+ 'consumer',
11342
+ '/consumer/frictionless/checkin/{id}',
11343
+ 'get',
11344
+ `/consumer/frictionless/checkin/${id}`,
11345
+ null,
11346
+ options,
11347
+ );
11348
+ }
11349
+
11350
+ /**
11351
+ * POST /consumer/frictionless/qrCode - Create a QR code for a frictionless checkin
11352
+ *
11353
+ * @param body
11354
+ * @param options - additional request options
11355
+ */
11356
+ post_frictionless_qrcode(
11357
+ body: PostFrictionlessQrcodeBody,
11358
+ options?: RequestOptions,
11359
+ ): ResponsePromise<PostFrictionlessQrcodeResponse> {
11360
+ return this.request(
11361
+ 'consumer',
11362
+ '/consumer/frictionless/qrCode',
11363
+ 'post',
11364
+ `/consumer/frictionless/qrCode`,
11365
+ body,
11366
+ options,
11367
+ );
11368
+ }
11369
+
11370
+ /**
11371
+ * POST /consumer/forgotpassword - Forgot password
11372
+ *
11373
+ * @param body
11374
+ * @param options - additional request options
11375
+ */
11376
+ post_consumer_forgot_password(
11377
+ body: PostConsumerForgotPasswordBody,
11378
+ options?: RequestOptions,
11379
+ ): ResponsePromise<PostConsumerForgotPasswordResponse> {
11380
+ return this.request(
11381
+ 'consumer',
11382
+ '/consumer/forgotpassword',
11383
+ 'post',
11384
+ `/consumer/forgotpassword`,
11385
+ body,
11386
+ options,
11387
+ );
11388
+ }
11389
+
11390
+ /**
11391
+ * POST /consumer/secret - Add user secret
11392
+ *
11393
+ * @param options - additional request options
11394
+ */
11395
+ post_consumer_add_secret(
11396
+ options?: RequestOptions,
11397
+ ): ResponsePromise<PostConsumerAddSecretResponse> {
11398
+ return this.request('consumer', '/consumer/secret', 'post', `/consumer/secret`, null, options);
11399
+ }
11400
+
11401
+ /**
11402
+ * GET /consumer/location-group/{id} - Get location group
11403
+ *
11404
+ * @param id - TODO: add parameter to swagger.json
11405
+ * @param options - additional request options
11406
+ */
11407
+ get_consumer_location_group(
11408
+ id: string,
11409
+ options?: {
11410
+ query?: GetConsumerLocationGroupQuery;
11411
+ } & RequestOptions,
11412
+ ): ResponsePromise<GetConsumerLocationGroupResponse$0> {
11413
+ return this.request(
11414
+ 'consumer',
11415
+ '/consumer/location-group/{id}',
11416
+ 'get',
11417
+ `/consumer/location-group/${id}`,
11418
+ null,
11419
+ options,
11420
+ );
11421
+ }
11422
+
11423
+ /**
11424
+ * GET /consumer/location-multigroup/{id} - Get location multi group
11425
+ *
11426
+ * @param id - TODO: add parameter to swagger.json
11427
+ * @param options - additional request options
11428
+ */
11429
+ get_consumer_location_multigroup(
11430
+ id: string,
11431
+ options?: {
11432
+ query?: GetConsumerLocationMultigroupQuery;
11433
+ } & RequestOptions,
11434
+ ): ResponsePromise<GetConsumerLocationMultigroupResponse> {
11435
+ return this.request(
11436
+ 'consumer',
11437
+ '/consumer/location-multigroup/{id}',
11438
+ 'get',
11439
+ `/consumer/location-multigroup/${id}`,
11440
+ null,
11441
+ options,
11442
+ );
11443
+ }
11444
+
11445
+ /**
11446
+ * GET /consumer/active-menus/{stationId} - Get current menu
11447
+ *
11448
+ * @param stationId - TODO: add parameter to swagger.json
11449
+ * @param options - additional request options
11450
+ */
11451
+ get_consumer_active_menus(
11452
+ stationId: string,
11453
+ options: {
11454
+ query: GetConsumerActiveMenusQuery;
11455
+ } & RequestOptions,
11456
+ ): ResponsePromise<GetConsumerActiveMenusResponse> {
11457
+ return this.request(
11458
+ 'consumer',
11459
+ '/consumer/active-menus/{stationId}',
11460
+ 'get',
11461
+ `/consumer/active-menus/${stationId}`,
11462
+ null,
11463
+ options,
11464
+ );
11465
+ }
11466
+
11467
+ /**
11468
+ * GET /consumer/menu/{id} - Provide the front end all the data required to render the home page
11469
+ *
11470
+ * @param id
11471
+ * @param options - additional request options
11472
+ */
11473
+ get_consumer_menu(
11474
+ id: string,
11475
+ options?: {
11476
+ query?: GetConsumerMenuQuery;
11477
+ } & RequestOptions,
11478
+ ): ResponsePromise<GetConsumerMenuResponse$0> {
11479
+ return this.request(
11480
+ 'consumer',
11481
+ '/consumer/menu/{id}',
11482
+ 'get',
11483
+ `/consumer/menu/${id}`,
11484
+ null,
11485
+ options,
11486
+ );
11487
+ }
11488
+
11205
11489
  /**
11206
11490
  * POST /ai/language/generate - Generate text from a given prompt
11207
11491
  *
@@ -71,26 +71,14 @@ export type PostAiLanguageGenerateBody = GenerateTextRequest;
71
71
 
72
72
  export type PostAiLanguageGenerateResponse = GenerateTextResponse;
73
73
 
74
- export interface PostAiLanguageGenerateRequest extends BaseRequest {
75
- body: PostAiLanguageGenerateBody;
76
- }
77
-
78
74
  // POST /ai/image/generate - Generate image from a given prompt
79
75
 
80
76
  export type PostAiImageGenerateBody = GenerateImageRequest;
81
77
 
82
78
  export type PostAiImageGenerateResponse = GenerateImageResponse;
83
79
 
84
- export interface PostAiImageGenerateRequest extends BaseRequest {
85
- body: PostAiImageGenerateBody;
86
- }
87
-
88
80
  // POST /ai/translate - Translate strings
89
81
 
90
82
  export type PostAiTranslateBody = TranslateRequest;
91
83
 
92
84
  export type PostAiTranslateResponse = TranslateResponse;
93
-
94
- export interface PostAiTranslateRequest extends BaseRequest {
95
- body: PostAiTranslateBody;
96
- }
@@ -126,10 +126,6 @@ export type PostAuthFlowBody = SSOFlowRequestDTO;
126
126
 
127
127
  export type PostAuthFlowResponse = SSOFlowResponseDTO;
128
128
 
129
- export interface PostAuthFlowRequest extends BaseRequest {
130
- body: PostAuthFlowBody;
131
- }
132
-
133
129
  // GET /auth/sso-configs - Returns all available SSO configurations
134
130
 
135
131
  export interface GetAuthSsoConfigsQuery {
@@ -139,30 +135,18 @@ export interface GetAuthSsoConfigsQuery {
139
135
 
140
136
  export type GetAuthSsoConfigsResponse = SSOConfigsResponseDTO[];
141
137
 
142
- export interface GetAuthSsoConfigsRequest
143
- extends BaseRequest,
144
- RequestQuery<GetAuthSsoConfigsQuery> {}
145
-
146
138
  // POST /auth/sso-config - Create a new SSO configuration
147
139
 
148
140
  export type PostAuthSsoConfigBody = SSOConfigRequestDTO;
149
141
 
150
142
  export type PostAuthSsoConfigResponse = SSOConfigResponseDTO;
151
143
 
152
- export interface PostAuthSsoConfigRequest extends BaseRequest {
153
- body: PostAuthSsoConfigBody;
154
- }
155
-
156
144
  // PUT /auth/sso-config - Update an SSO configuration
157
145
 
158
146
  export type PutAuthSsoConfigBody = SSOConfigUpdateRequestDTO;
159
147
 
160
148
  export type PutAuthSsoConfigResponse = SSOConfigResponseDTO;
161
149
 
162
- export interface PutAuthSsoConfigRequest extends BaseRequest {
163
- body: PutAuthSsoConfigBody;
164
- }
165
-
166
150
  // DELETE /auth/sso-config/{name}/{clientId} - Delete a SSO configuration
167
151
 
168
152
  export interface DeleteAuthSsoConfigPath {
@@ -172,18 +156,12 @@ export interface DeleteAuthSsoConfigPath {
172
156
 
173
157
  export type DeleteAuthSsoConfigResponse = SSOConfigResponseDTO;
174
158
 
175
- export interface DeleteAuthSsoConfigRequest extends BaseRequest, DeleteAuthSsoConfigPath {}
176
-
177
159
  // POST /auth/sso - Authenticates a user using a SSO provider.
178
160
 
179
161
  export type PostAuthSsoBody = SSOAuthRequestDTO;
180
162
 
181
163
  export type PostAuthSsoResponse = SSOAuthResponseDTO;
182
164
 
183
- export interface PostAuthSsoRequest extends BaseRequest {
184
- body: PostAuthSsoBody;
185
- }
186
-
187
165
  // POST /auth/sso/exchange - exchange idP information for short lived exchange token
188
166
  // (only required for web clients)
189
167
 
@@ -191,10 +169,6 @@ export type PostAuthSsoExchangeBody = SSOAuthRequestDTO;
191
169
 
192
170
  export type PostAuthSsoExchangeResponse = SSOExchangeDTO;
193
171
 
194
- export interface PostAuthSsoExchangeRequest extends BaseRequest {
195
- body: PostAuthSsoExchangeBody;
196
- }
197
-
198
172
  // GET /auth/sso/exchange - Exchange short lived JWT for access & refresh
199
173
 
200
174
  export interface GetAuthSsoExchangeQuery {
@@ -204,7 +178,3 @@ export interface GetAuthSsoExchangeQuery {
204
178
  }
205
179
 
206
180
  export type GetAuthSsoExchangeResponse = SSOAuthResponseDTO;
207
-
208
- export interface GetAuthSsoExchangeRequest
209
- extends BaseRequest,
210
- RequestQuery<GetAuthSsoExchangeQuery> {}
@@ -214,6 +214,15 @@ export interface GetStationResponse {
214
214
  closure_schedules: ClosureSchedule[];
215
215
  }
216
216
 
217
+ export interface CentricVoucherifyMetaData {
218
+ // The type of the voucherify discount
219
+ type: string;
220
+ // The numeric value of discount for amount off
221
+ amountOff?: number;
222
+ // The percentage value of discount for percent off
223
+ percentOff?: number;
224
+ }
225
+
217
226
  export interface DiscountRequestDTO {
218
227
  // name of the discount
219
228
  name: string;
@@ -227,22 +236,16 @@ export interface DiscountRequestDTO {
227
236
  createdAt?: string;
228
237
  // last update timestamp
229
238
  updatedAt?: string;
230
- // Voucherify metadata
231
- meta?: Record<string, any>;
239
+ meta?: {
240
+ [index: string]: any;
241
+ } & CentricVoucherifyMetaData;
232
242
  id?: string;
233
243
  is?: Record<string, any>;
234
244
  }
235
245
 
236
- export interface SiteDTO {
237
- // The ID of the site
238
- id: string;
239
- // The name of the site
240
- name: string;
241
- }
242
-
243
246
  export interface PutDiscountVoucherifyRequestDTO {
244
247
  discount: DiscountRequestDTO;
245
- sites?: SiteDTO[];
248
+ sites?: string[];
246
249
  }
247
250
 
248
251
  export interface DiscountResponseDTO {
@@ -254,8 +257,9 @@ export interface DiscountResponseDTO {
254
257
  name: string;
255
258
  // status of the discount
256
259
  status?: Record<string, any>;
257
- // Voucherify metadata
258
- meta?: Record<string, any>;
260
+ meta?: {
261
+ [index: string]: any;
262
+ } & CentricVoucherifyMetaData;
259
263
  id: string;
260
264
  createdAt: string;
261
265
  updatedAt: string;
@@ -264,13 +268,20 @@ export interface DiscountResponseDTO {
264
268
 
265
269
  export interface PutDiscountVoucherifyResponseDTO {
266
270
  discount: DiscountResponseDTO;
267
- sites?: SiteDTO[];
271
+ sites?: string[];
268
272
  }
269
273
 
270
274
  export type DiscountValidationError = Record<string, any>;
271
275
 
272
276
  export type DiscountCreateError = Record<string, any>;
273
277
 
278
+ export interface SiteDTO {
279
+ // The ID of the site
280
+ id: string;
281
+ // The name of the site
282
+ name: string;
283
+ }
284
+
274
285
  export interface PutDiscountVoucherifyPublishResponseDTO {
275
286
  // user is of discount creator
276
287
  createdBy: string;
@@ -280,8 +291,9 @@ export interface PutDiscountVoucherifyPublishResponseDTO {
280
291
  name: string;
281
292
  // status of the discount
282
293
  status?: Record<string, any>;
283
- // Voucherify metadata
284
- meta?: Record<string, any>;
294
+ meta?: {
295
+ [index: string]: any;
296
+ } & CentricVoucherifyMetaData;
285
297
  // List of sites where discount is published
286
298
  sites?: SiteDTO[];
287
299
  id: string;
@@ -323,20 +335,12 @@ export type PostCentricosAiItemDescriptionBody = AIItemDescriptionRequest;
323
335
 
324
336
  export type PostCentricosAiItemDescriptionResponse = AIItemDescriptionResponse;
325
337
 
326
- export interface PostCentricosAiItemDescriptionRequest extends BaseRequest {
327
- body: PostCentricosAiItemDescriptionBody;
328
- }
329
-
330
338
  // POST /centricos/ai/item/image - Generate item image
331
339
 
332
340
  export type PostCentricosAiItemImageBody = AIItemImageRequest;
333
341
 
334
342
  export type PostCentricosAiItemImageResponse = AIItemImageResponse;
335
343
 
336
- export interface PostCentricosAiItemImageRequest extends BaseRequest {
337
- body: PostCentricosAiItemImageBody;
338
- }
339
-
340
344
  // GET /centricos/orders/export - Get orders in csv format
341
345
 
342
346
  export interface PostCentricosOrdersExportQuery {
@@ -386,10 +390,6 @@ export interface PostCentricosOrdersExportQuery {
386
390
 
387
391
  export type PostCentricosOrdersExportResponse = OrdersExportResponse;
388
392
 
389
- export interface PostCentricosOrdersExportRequest
390
- extends BaseRequest,
391
- RequestQuery<PostCentricosOrdersExportQuery> {}
392
-
393
393
  // GET /centricos/report/group/{location_group}/config - Get report configuration for a location group. Times are in site's local timezone.
394
394
 
395
395
  export interface GetCentricosReportGroupConfigPath {
@@ -404,11 +404,6 @@ export interface GetCentricosReportGroupConfigQuery {
404
404
 
405
405
  export type GetCentricosReportGroupConfigResponse = ReportGroupConfigResponse;
406
406
 
407
- export interface GetCentricosReportGroupConfigRequest
408
- extends BaseRequest,
409
- RequestQuery<GetCentricosReportGroupConfigQuery>,
410
- GetCentricosReportGroupConfigPath {}
411
-
412
407
  // PUT /centricos/report/group/{location_group}/config - Update report configuration for a location group. Times are in site's local timezone.
413
408
 
414
409
  export interface PutCentricosReportGroupConfigPath {
@@ -420,12 +415,6 @@ export type PutCentricosReportGroupConfigBody = ReportGroupConfigRequest;
420
415
 
421
416
  export type PutCentricosReportGroupConfigResponse = ReportGroupConfigResponse;
422
417
 
423
- export interface PutCentricosReportGroupConfigRequest
424
- extends BaseRequest,
425
- PutCentricosReportGroupConfigPath {
426
- body: PutCentricosReportGroupConfigBody;
427
- }
428
-
429
418
  // DELETE /centricos/report/group/{location_group}/config - Delete report configuration for a location group. Times are in site's local timezone.
430
419
 
431
420
  export interface DeleteCentricosReportGroupConfigPath {
@@ -435,10 +424,6 @@ export interface DeleteCentricosReportGroupConfigPath {
435
424
 
436
425
  export type DeleteCentricosReportGroupConfigResponse = ReportGroupConfigResponse;
437
426
 
438
- export interface DeleteCentricosReportGroupConfigRequest
439
- extends BaseRequest,
440
- DeleteCentricosReportGroupConfigPath {}
441
-
442
427
  // GET /centricos/report/group/{location_group}/config/default - Get default report configuration. Times are in site's local timezone.
443
428
 
444
429
  export interface GetCentricosReportConfigDefaultPath {
@@ -453,11 +438,6 @@ export interface GetCentricosReportConfigDefaultQuery {
453
438
 
454
439
  export type GetCentricosReportConfigDefaultResponse = ReportGroupConfigResponse;
455
440
 
456
- export interface GetCentricosReportConfigDefaultRequest
457
- extends BaseRequest,
458
- RequestQuery<GetCentricosReportConfigDefaultQuery>,
459
- GetCentricosReportConfigDefaultPath {}
460
-
461
441
  // GET /centricos/looker/embedurl - Get a signed URL for looker embeding
462
442
 
463
443
  export interface GetCentricosLookerEmbedurlQuery {
@@ -468,10 +448,6 @@ export interface GetCentricosLookerEmbedurlQuery {
468
448
 
469
449
  export type GetCentricosLookerEmbedurlResponse = LookerEmbedURLResponse;
470
450
 
471
- export interface GetCentricosLookerEmbedurlRequest
472
- extends BaseRequest,
473
- RequestQuery<GetCentricosLookerEmbedurlQuery> {}
474
-
475
451
  // GET /centricos/devices/{site_id} - Get site devices
476
452
 
477
453
  export interface GetSiteDevicesPath {
@@ -486,11 +462,6 @@ export interface GetSiteDevicesQuery {
486
462
 
487
463
  export type GetSiteDevicesResponse = SiteDevicesResponse;
488
464
 
489
- export interface GetSiteDevicesRequest
490
- extends BaseRequest,
491
- RequestQuery<GetSiteDevicesQuery>,
492
- GetSiteDevicesPath {}
493
-
494
465
  // GET /centricos/sites - Get a list of sites. This endpoint is paginated and supports filtering, sorting, and searching.
495
466
 
496
467
  export interface GetCentricosSitesQuery {
@@ -506,10 +477,6 @@ export interface GetCentricosSitesQuery {
506
477
 
507
478
  export type GetCentricosSitesResponse = GetSitesResponse;
508
479
 
509
- export interface GetCentricosSitesRequest
510
- extends BaseRequest,
511
- RequestQuery<GetCentricosSitesQuery> {}
512
-
513
480
  // GET /centricos/sites/price-level/{price_level} - This returns specific properties from sites, locations, and stations connected to a menu price level. This does not support pagination, filtering, sorting, or searching.
514
481
 
515
482
  export interface GetSitesFromPriceLevelPath {
@@ -525,11 +492,6 @@ export interface GetSitesFromPriceLevelQuery {
525
492
 
526
493
  export type GetSitesFromPriceLevelResponse = GetPriceLevelSitesResponse;
527
494
 
528
- export interface GetSitesFromPriceLevelRequest
529
- extends BaseRequest,
530
- RequestQuery<GetSitesFromPriceLevelQuery>,
531
- GetSitesFromPriceLevelPath {}
532
-
533
495
  // GET /centricos/review/{orderId}/order-items - Get reviews for items in a given order in an array format
534
496
 
535
497
  export interface GetReviewOrderItemsPath {
@@ -543,11 +505,6 @@ export interface GetReviewOrderItemsQuery {
543
505
 
544
506
  export type GetReviewOrderItemsResponse = ReviewOrderItemsResponseDTO;
545
507
 
546
- export interface GetReviewOrderItemsRequest
547
- extends BaseRequest,
548
- RequestQuery<GetReviewOrderItemsQuery>,
549
- GetReviewOrderItemsPath {}
550
-
551
508
  // GET /centricos/station/{station_id} - Get station details
552
509
 
553
510
  export interface GetCentricosStationPath {
@@ -562,21 +519,12 @@ export interface GetCentricosStationQuery {
562
519
 
563
520
  export type GetCentricosStationResponse = GetStationResponse;
564
521
 
565
- export interface GetCentricosStationRequest
566
- extends BaseRequest,
567
- RequestQuery<GetCentricosStationQuery>,
568
- GetCentricosStationPath {}
569
-
570
522
  // PUT /centricos/discount/voucherify - Add or Update a voucherify discount and assign it to multiple sites
571
523
 
572
524
  export type PutCentricosDiscountVoucherifyBody = PutDiscountVoucherifyRequestDTO;
573
525
 
574
526
  export type PutCentricosDiscountVoucherifyResponse = PutDiscountVoucherifyResponseDTO;
575
527
 
576
- export interface PutCentricosDiscountVoucherifyRequest extends BaseRequest {
577
- body: PutCentricosDiscountVoucherifyBody;
578
- }
579
-
580
528
  // PUT /centricos/discount/{id}/voucherify/publish - Update and publish a voucherify discount and assign it to multiple sites
581
529
 
582
530
  export interface PutCentricosDiscountVoucherifyPublishPath {
@@ -586,10 +534,6 @@ export interface PutCentricosDiscountVoucherifyPublishPath {
586
534
 
587
535
  export type PutCentricosDiscountVoucherifyPublishResponse = PutDiscountVoucherifyPublishResponseDTO;
588
536
 
589
- export interface PutCentricosDiscountVoucherifyPublishRequest
590
- extends BaseRequest,
591
- PutCentricosDiscountVoucherifyPublishPath {}
592
-
593
537
  // DELETE /centricos/discount/{id}/voucherify - Delete a discount from voucherify and all of its entity associations
594
538
 
595
539
  export interface DeleteCentricosDiscountsVoucherifyPath {
@@ -599,10 +543,6 @@ export interface DeleteCentricosDiscountsVoucherifyPath {
599
543
 
600
544
  export type DeleteCentricosDiscountsVoucherifyResponse = DeleteDiscountsVoucherifyResponseDTO;
601
545
 
602
- export interface DeleteCentricosDiscountsVoucherifyRequest
603
- extends BaseRequest,
604
- DeleteCentricosDiscountsVoucherifyPath {}
605
-
606
546
  // GET /centricos/discount/{id} - Get discount information by ID
607
547
 
608
548
  export interface GetCentricosDiscountPath {
@@ -616,8 +556,3 @@ export interface GetCentricosDiscountQuery {
616
556
  }
617
557
 
618
558
  export type GetCentricosDiscountResponse = GetDiscountResponseDTO;
619
-
620
- export interface GetCentricosDiscountRequest
621
- extends BaseRequest,
622
- RequestQuery<GetCentricosDiscountQuery>,
623
- GetCentricosDiscountPath {}