@compassdigital/sdk.typescript 4.175.0 → 4.177.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.175.0",
3
+ "version": "4.177.0",
4
4
  "description": "Compass Digital Labs TypeScript SDK",
5
5
  "type": "commonjs",
6
6
  "main": "./lib/index.js",
package/src/index.ts CHANGED
@@ -1198,6 +1198,8 @@ import {
1198
1198
  PostConsumerPromoRedeemBody,
1199
1199
  PostConsumerPromoRedeemResponse,
1200
1200
  PutConsumerUserMealplanResponse,
1201
+ GetConsumerConfigAppconfigQuery,
1202
+ GetConsumerConfigAppconfigResponse,
1201
1203
  } from './interface/consumer';
1202
1204
 
1203
1205
  import {
@@ -12840,6 +12842,30 @@ export class ServiceClient extends BaseServiceClient {
12840
12842
  );
12841
12843
  }
12842
12844
 
12845
+ /**
12846
+ * GET /consumer/config/appconfig/{xCdlPlatform}/{app} - get appconfig - an object with data for clients including minimum versions apps (boost, thrive) should be running and a link to the respective app store
12847
+ *
12848
+ * @param xCdlPlatform
12849
+ * @param app
12850
+ * @param options - additional request options
12851
+ */
12852
+ get_consumer_config_appconfig(
12853
+ xCdlPlatform: string,
12854
+ app: string,
12855
+ options?: {
12856
+ query?: GetConsumerConfigAppconfigQuery;
12857
+ } & RequestOptions,
12858
+ ): ResponsePromise<GetConsumerConfigAppconfigResponse> {
12859
+ return this.request(
12860
+ 'consumer',
12861
+ '/consumer/config/appconfig/{xCdlPlatform}/{app}',
12862
+ 'GET',
12863
+ `/consumer/config/appconfig/${xCdlPlatform}/${app}`,
12864
+ null,
12865
+ options,
12866
+ );
12867
+ }
12868
+
12843
12869
  /**
12844
12870
  * POST /ai/language/generate - Generate text from a given prompt
12845
12871
  *
@@ -2126,6 +2126,13 @@ export interface ConsumerRedemption {
2126
2126
  app?: string;
2127
2127
  }
2128
2128
 
2129
+ export interface GetConsumerAppConfigResponse {
2130
+ // minimum version of the app
2131
+ min?: string;
2132
+ // url to the app store or play store
2133
+ url?: string;
2134
+ }
2135
+
2129
2136
  // GET /consumer/v1/health-check
2130
2137
 
2131
2138
  export interface HealthCheckControllerExecuteQuery {
@@ -2490,3 +2497,17 @@ export interface PutConsumerUserMealplanPath {
2490
2497
  }
2491
2498
 
2492
2499
  export type PutConsumerUserMealplanResponse = {};
2500
+
2501
+ // GET /consumer/config/appconfig/{xCdlPlatform}/{app} - get appconfig - an object with data for clients including minimum versions apps (boost, thrive) should be running and a link to the respective app store
2502
+
2503
+ export interface GetConsumerConfigAppconfigPath {
2504
+ xCdlPlatform: string;
2505
+ app: string;
2506
+ }
2507
+
2508
+ export interface GetConsumerConfigAppconfigQuery {
2509
+ // Graphql query string
2510
+ _query?: string;
2511
+ }
2512
+
2513
+ export type GetConsumerConfigAppconfigResponse = GetConsumerAppConfigResponse;
@@ -205,6 +205,7 @@ export interface Item {
205
205
  deleted?: boolean;
206
206
  featured?: boolean;
207
207
  };
208
+ parent_id?: string;
208
209
  }
209
210
 
210
211
  export interface Group {
@@ -325,6 +326,7 @@ export interface Option {
325
326
  };
326
327
  amount_off_exclusions?: AmountOffExclusionTypes[];
327
328
  line_route?: string;
329
+ parent_id?: string;
328
330
  }
329
331
 
330
332
  export interface OptionsGroup {