@compassdigital/sdk.typescript 4.466.0 → 4.468.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@compassdigital/sdk.typescript",
3
- "version": "4.466.0",
3
+ "version": "4.468.0",
4
4
  "description": "Compass Digital Labs TypeScript SDK",
5
5
  "type": "commonjs",
6
6
  "main": "./lib/index.js",
package/src/index.ts CHANGED
@@ -1295,7 +1295,6 @@ import {
1295
1295
  PutCentricosDiscountVoucherifyPublishResponse,
1296
1296
  DeleteCentricosDiscountsVoucherifyResponse,
1297
1297
  GetCentricosDiscountResponse,
1298
- GetCentricosDiscountAllResponse,
1299
1298
  PostDiscountActiveBody,
1300
1299
  PostDiscountActiveResponse,
1301
1300
  GetCentricosDiscountsQuery,
@@ -14757,24 +14756,6 @@ export class ServiceClient extends BaseServiceClient {
14757
14756
  );
14758
14757
  }
14759
14758
 
14760
- /**
14761
- * GET /centricos/discount/all - Get all discounts
14762
- *
14763
- * @param options - additional request options
14764
- */
14765
- get_centricos_discount_all(
14766
- options?: RequestOptions,
14767
- ): ResponsePromise<GetCentricosDiscountAllResponse> {
14768
- return this.request(
14769
- 'centricos',
14770
- '/centricos/discount/all',
14771
- 'GET',
14772
- `/centricos/discount/all`,
14773
- null,
14774
- options,
14775
- );
14776
- }
14777
-
14778
14759
  /**
14779
14760
  * POST /centricos/discount/{id}/active - Set discount active status flag
14780
14761
  *
@@ -130,7 +130,8 @@ export interface Site {
130
130
  id: string;
131
131
  name: string;
132
132
  sector: string;
133
- app: 'thrive' | 'boost';
133
+ // Ordering app name; empty when integration-agnostic (Unlisted)
134
+ app: string;
134
135
  unit_number: string;
135
136
  visible_stations: number;
136
137
  local_menu_group?: LocalMenuGroup[];
@@ -640,19 +641,6 @@ export interface GetDiscountResponseDTO {
640
641
  brands: DiscountEntityDTO[];
641
642
  }
642
643
 
643
- export interface DiscountWithEntitiesDTO {
644
- // The discount information
645
- discount: DiscountDTO;
646
- // The sites associated with the discount
647
- sites: DiscountEntityDTO[];
648
- // The brands associated with the discount
649
- brands: DiscountEntityDTO[];
650
- }
651
-
652
- export interface GetAllDiscountsResponseDTO {
653
- discounts: DiscountWithEntitiesDTO[];
654
- }
655
-
656
644
  export interface PostDiscountActiveRequestDTO {
657
645
  // Set discount active status flag
658
646
  active: boolean;
@@ -1055,10 +1043,6 @@ export interface GetCentricosDiscountPath {
1055
1043
 
1056
1044
  export type GetCentricosDiscountResponse = GetDiscountResponseDTO;
1057
1045
 
1058
- // GET /centricos/discount/all - Get all discounts
1059
-
1060
- export type GetCentricosDiscountAllResponse = GetAllDiscountsResponseDTO;
1061
-
1062
1046
  // POST /centricos/discount/{id}/active - Set discount active status flag
1063
1047
 
1064
1048
  export interface PostDiscountActivePath {
@@ -8865,7 +8865,7 @@ export interface PostMenuV4BrandItemsSearchQuery {
8865
8865
 
8866
8866
  export interface PostMenuV4BrandItemsSearchResponse {
8867
8867
  meta?: FetchMetaDTO;
8868
- menuBrands?: FetchEntityWithMenusAndItemsDTO[];
8868
+ results?: FetchEntityWithMenusAndItemsDTO[];
8869
8869
  }
8870
8870
 
8871
8871
  export interface PostMenuV4BrandItemsSearchRequest
@@ -10952,7 +10952,7 @@ export interface PostMenuV4StationItemsSearchQuery {
10952
10952
 
10953
10953
  export interface PostMenuV4StationItemsSearchResponse {
10954
10954
  meta?: FetchMetaDTO;
10955
- sites?: FetchSiteWithStationsDTO[];
10955
+ results?: FetchSiteWithStationsDTO[];
10956
10956
  }
10957
10957
 
10958
10958
  export interface PostMenuV4StationItemsSearchRequest