@compassdigital/sdk.typescript 4.349.0 → 4.351.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.349.0",
3
+ "version": "4.351.0",
4
4
  "description": "Compass Digital Labs TypeScript SDK",
5
5
  "type": "commonjs",
6
6
  "main": "./lib/index.js",
package/src/index.ts CHANGED
@@ -1270,6 +1270,9 @@ import {
1270
1270
  GetConsumerCustomerRewardsQuery,
1271
1271
  GetConsumerCustomerRewardsResponse,
1272
1272
  PostConsumerSendEmailVerificationResponse,
1273
+ PostConsumerUserCaptchaQuery,
1274
+ PostConsumerUserCaptchaBody,
1275
+ PostConsumerUserCaptchaResponse$0,
1273
1276
  } from './interface/consumer';
1274
1277
 
1275
1278
  import {
@@ -13925,6 +13928,28 @@ export class ServiceClient extends BaseServiceClient {
13925
13928
  );
13926
13929
  }
13927
13930
 
13931
+ /**
13932
+ * POST /consumer/user/captcha - Create a new user with captcha
13933
+ *
13934
+ * @param body
13935
+ * @param options - additional request options
13936
+ */
13937
+ post_consumer_user_captcha(
13938
+ body: PostConsumerUserCaptchaBody,
13939
+ options: {
13940
+ query: PostConsumerUserCaptchaQuery;
13941
+ } & RequestOptions,
13942
+ ): ResponsePromise<PostConsumerUserCaptchaResponse$0> {
13943
+ return this.request(
13944
+ 'consumer',
13945
+ '/consumer/user/captcha',
13946
+ 'POST',
13947
+ `/consumer/user/captcha`,
13948
+ body,
13949
+ options,
13950
+ );
13951
+ }
13952
+
13928
13953
  /**
13929
13954
  * POST /ai/language/generate - Generate text from a given prompt
13930
13955
  *
@@ -2994,6 +2994,78 @@ export interface PostConsumerUserVerificationResponse {
2994
2994
  success: boolean;
2995
2995
  }
2996
2996
 
2997
+ export interface PostConsumerUserCaptchaRequest {
2998
+ id?: string;
2999
+ email?: string;
3000
+ name?: {
3001
+ first?: string;
3002
+ last?: string;
3003
+ };
3004
+ date?: {
3005
+ created?: string;
3006
+ modified?: string;
3007
+ };
3008
+ birthday?: string;
3009
+ password?: string;
3010
+ phone?: number;
3011
+ phone_country_code?: string;
3012
+ realm?: string;
3013
+ gender?: Record<string, any>;
3014
+ meta?: ConsumerUserMeta;
3015
+ is?: {
3016
+ disabled?: boolean;
3017
+ locked_out?: boolean;
3018
+ verified?: boolean;
3019
+ phone_verified?: boolean;
3020
+ deleted?: boolean;
3021
+ placeholder?: boolean;
3022
+ };
3023
+ permissions?: ConsumerScopes;
3024
+ location_group?: string;
3025
+ ssoId?: string;
3026
+ }
3027
+
3028
+ export interface PostConsumerUserCaptchaResponse {
3029
+ // The ID of the user
3030
+ id: string;
3031
+ // The email of the user
3032
+ email: string;
3033
+ name?: {
3034
+ first?: string;
3035
+ last?: string;
3036
+ };
3037
+ date?: {
3038
+ created?: string;
3039
+ modified?: string;
3040
+ };
3041
+ // The birthday of the user
3042
+ birthday?: string;
3043
+ // The phone of the user
3044
+ phone?: number;
3045
+ // The phone country code of the user
3046
+ phone_country_code?: string;
3047
+ // The realm of the user
3048
+ realm?: string;
3049
+ // The gender of the user
3050
+ gender?: Record<string, any>;
3051
+ // The meta of the user
3052
+ meta?: ConsumerUserMeta;
3053
+ is?: {
3054
+ disabled?: boolean;
3055
+ locked_out?: boolean;
3056
+ verified?: boolean;
3057
+ phone_verified?: boolean;
3058
+ deleted?: boolean;
3059
+ placeholder?: boolean;
3060
+ };
3061
+ // The permissions of the user
3062
+ permissions?: ConsumerScopes;
3063
+ // The location group of the user
3064
+ location_group?: string;
3065
+ // The ssoId of the user
3066
+ ssoId?: string;
3067
+ }
3068
+
2997
3069
  // GET /consumer/v1/health-check
2998
3070
 
2999
3071
  export interface HealthCheckControllerExecuteQuery {
@@ -3620,3 +3692,14 @@ export interface PostConsumerSendEmailVerificationPath {
3620
3692
  }
3621
3693
 
3622
3694
  export type PostConsumerSendEmailVerificationResponse = PostConsumerUserVerificationResponse;
3695
+
3696
+ // POST /consumer/user/captcha - Create a new user with captcha
3697
+
3698
+ export interface PostConsumerUserCaptchaQuery {
3699
+ // The captcha response key
3700
+ captchaResponseKey: string;
3701
+ }
3702
+
3703
+ export type PostConsumerUserCaptchaBody = PostConsumerUserCaptchaRequest;
3704
+
3705
+ export type PostConsumerUserCaptchaResponse$0 = PostConsumerUserCaptchaResponse;
@@ -210,6 +210,11 @@ export interface Item {
210
210
  featured?: boolean;
211
211
  };
212
212
  parent_id?: string;
213
+ menu_labels?: {
214
+ id?: string;
215
+ text?: string;
216
+ s3_link?: string;
217
+ }[];
213
218
  }
214
219
 
215
220
  export interface Group {
@@ -333,6 +338,11 @@ export interface Option {
333
338
  amount_off_exclusions?: AmountOffExclusionTypes[];
334
339
  line_route?: string;
335
340
  parent_id?: string;
341
+ menu_labels?: {
342
+ id?: string;
343
+ text?: string;
344
+ s3_link?: string;
345
+ }[];
336
346
  }
337
347
 
338
348
  export interface OptionsGroup {