@compassdigital/sdk.typescript 4.382.0 → 4.384.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.
@@ -2002,21 +2002,14 @@ export interface PostConsumerUserChangePasswordResponse {
2002
2002
  id: string;
2003
2003
  // The email of the user
2004
2004
  email: string;
2005
- name?: {
2006
- first?: string;
2007
- last?: string;
2008
- };
2009
- date?: {
2010
- created?: string;
2011
- modified?: string;
2012
- };
2005
+ // The name of the user
2006
+ name?: Record<string, any>;
2007
+ // The date the user was created
2008
+ date?: Record<string, any>;
2013
2009
  // The gender of the user
2014
2010
  gender?: Record<string, any>;
2015
2011
  meta?: ConsumerUserMeta;
2016
- is?: {
2017
- locked_out?: boolean;
2018
- verified?: boolean;
2019
- };
2012
+ is?: Record<string, any>;
2020
2013
  }
2021
2014
 
2022
2015
  export interface ConsumerScopes {
@@ -2024,33 +2017,33 @@ export interface ConsumerScopes {
2024
2017
  }
2025
2018
 
2026
2019
  export interface PutConsumerUserRequest {
2027
- id?: string;
2020
+ // The email of the user
2028
2021
  email?: string;
2029
- name?: {
2030
- first?: string;
2031
- last?: string;
2032
- };
2033
- date?: {
2034
- created?: string;
2035
- modified?: string;
2036
- };
2022
+ // The name of the user
2023
+ name?: Record<string, any>;
2024
+ // The date of the user
2025
+ date?: Record<string, any>;
2026
+ // The birthday of the user
2037
2027
  birthday?: string;
2028
+ // The password of the user
2038
2029
  password?: string;
2030
+ // The phone of the user
2039
2031
  phone?: number;
2032
+ // The phone country code of the user
2040
2033
  phone_country_code?: string;
2034
+ // The realm of the user
2041
2035
  realm?: string;
2042
- gender?: Record<string, any>;
2036
+ // The gender of the user
2037
+ gender?: 'male' | 'female' | 'non-binary';
2038
+ // The meta of the user
2043
2039
  meta?: ConsumerUserMeta;
2044
- is?: {
2045
- disabled?: boolean;
2046
- locked_out?: boolean;
2047
- verified?: boolean;
2048
- phone_verified?: boolean;
2049
- deleted?: boolean;
2050
- placeholder?: boolean;
2051
- };
2040
+ // The is of the user
2041
+ is?: Record<string, any>;
2042
+ // The permissions of the user
2052
2043
  permissions?: ConsumerScopes;
2044
+ // The location group of the user
2053
2045
  location_group?: string;
2046
+ // The ssoId of the user
2054
2047
  ssoId?: string;
2055
2048
  }
2056
2049
 
@@ -2059,14 +2052,10 @@ export interface PutConsumerUserResponse {
2059
2052
  id: string;
2060
2053
  // The email of the user
2061
2054
  email: string;
2062
- name?: {
2063
- first?: string;
2064
- last?: string;
2065
- };
2066
- date?: {
2067
- created?: string;
2068
- modified?: string;
2069
- };
2055
+ // The name of the user
2056
+ name?: Record<string, any>;
2057
+ // The date of the user
2058
+ date?: Record<string, any>;
2070
2059
  // The birthday of the user
2071
2060
  birthday?: string;
2072
2061
  // The password of the user
@@ -2081,14 +2070,8 @@ export interface PutConsumerUserResponse {
2081
2070
  gender?: Record<string, any>;
2082
2071
  // The meta of the user
2083
2072
  meta?: ConsumerUserMeta;
2084
- is?: {
2085
- disabled?: boolean;
2086
- locked_out?: boolean;
2087
- verified?: boolean;
2088
- phone_verified?: boolean;
2089
- deleted?: boolean;
2090
- placeholder?: boolean;
2091
- };
2073
+ // The is of the user
2074
+ is?: Record<string, any>;
2092
2075
  // The permissions of the user
2093
2076
  permissions?: ConsumerScopes;
2094
2077
  // The location group of the user
@@ -2098,47 +2081,41 @@ export interface PutConsumerUserResponse {
2098
2081
  }
2099
2082
 
2100
2083
  export interface PatchConsumerUserRequest {
2101
- id?: string;
2084
+ // The email of the user
2102
2085
  email?: string;
2103
- name?: {
2104
- first?: string;
2105
- last?: string;
2106
- };
2107
- date?: {
2108
- created?: string;
2109
- modified?: string;
2110
- };
2086
+ // The name of the user
2087
+ name?: Record<string, any>;
2088
+ // The date of the user
2089
+ date?: Record<string, any>;
2090
+ // The birthday of the user
2111
2091
  birthday?: string;
2092
+ // The password of the user
2112
2093
  password?: string;
2094
+ // The phone of the user
2113
2095
  phone?: number;
2096
+ // The phone country code of the user
2114
2097
  phone_country_code?: string;
2098
+ // The realm of the user
2115
2099
  realm?: string;
2116
- gender?: Record<string, any>;
2100
+ // The gender of the user
2101
+ gender?: 'male' | 'female' | 'non-binary';
2102
+ // The meta of the user
2117
2103
  meta?: ConsumerUserMeta;
2118
- is?: {
2119
- disabled?: boolean;
2120
- locked_out?: boolean;
2121
- verified?: boolean;
2122
- phone_verified?: boolean;
2123
- deleted?: boolean;
2124
- placeholder?: boolean;
2125
- };
2104
+ // The is of the user
2105
+ is?: Record<string, any>;
2106
+ // The permissions of the user
2126
2107
  permissions?: ConsumerScopes;
2108
+ // The location group of the user
2127
2109
  location_group?: string;
2110
+ // The ssoId of the user
2128
2111
  ssoId?: string;
2129
2112
  }
2130
2113
 
2131
2114
  export interface PatchConsumerUserResponse {
2132
2115
  id?: string;
2133
2116
  email?: string;
2134
- name?: {
2135
- first?: string;
2136
- last?: string;
2137
- };
2138
- date?: {
2139
- created?: string;
2140
- modified?: string;
2141
- };
2117
+ name?: Record<string, any>;
2118
+ date?: Record<string, any>;
2142
2119
  birthday?: string;
2143
2120
  password?: string;
2144
2121
  phone?: number;
@@ -2146,14 +2123,7 @@ export interface PatchConsumerUserResponse {
2146
2123
  realm?: string;
2147
2124
  gender?: Record<string, any>;
2148
2125
  meta?: ConsumerUserMeta;
2149
- is?: {
2150
- disabled?: boolean;
2151
- locked_out?: boolean;
2152
- verified?: boolean;
2153
- phone_verified?: boolean;
2154
- deleted?: boolean;
2155
- placeholder?: boolean;
2156
- };
2126
+ is?: Record<string, any>;
2157
2127
  permissions?: ConsumerScopes;
2158
2128
  location_group?: string;
2159
2129
  ssoId?: string;
@@ -2164,14 +2134,10 @@ export interface GetConsumerUserResponse {
2164
2134
  id: string;
2165
2135
  // The email of the user
2166
2136
  email: string;
2167
- name?: {
2168
- first?: string;
2169
- last?: string;
2170
- };
2171
- date?: {
2172
- created?: string;
2173
- modified?: string;
2174
- };
2137
+ // The name of the user
2138
+ name?: Record<string, any>;
2139
+ // The date of the user
2140
+ date?: Record<string, any>;
2175
2141
  // The birthday of the user
2176
2142
  birthday?: string;
2177
2143
  // The password of the user
@@ -2186,14 +2152,8 @@ export interface GetConsumerUserResponse {
2186
2152
  gender?: Record<string, any>;
2187
2153
  // The meta of the user
2188
2154
  meta?: ConsumerUserMeta;
2189
- is?: {
2190
- disabled?: boolean;
2191
- locked_out?: boolean;
2192
- verified?: boolean;
2193
- phone_verified?: boolean;
2194
- deleted?: boolean;
2195
- placeholder?: boolean;
2196
- };
2155
+ // The is of the user
2156
+ is?: Record<string, any>;
2197
2157
  // The permissions of the user
2198
2158
  permissions?: ConsumerScopes;
2199
2159
  // The location group of the user
@@ -2202,6 +2162,22 @@ export interface GetConsumerUserResponse {
2202
2162
  ssoId?: string;
2203
2163
  }
2204
2164
 
2165
+ export interface ConsumerCashlessTender {
2166
+ // Cashless tender balance
2167
+ balance?: number;
2168
+ // Cashless tender ID
2169
+ id?: string;
2170
+ // Cashless tender name
2171
+ name?: string;
2172
+ // Cashless tender type
2173
+ type?: 'badge_pay' | 'stipend' | 'voucher' | 'coupon_voucher';
2174
+ }
2175
+
2176
+ export interface ConsumerGetPaymentCashlessResponse {
2177
+ // list of cashless tenders
2178
+ tenders?: ConsumerCashlessTender[];
2179
+ }
2180
+
2205
2181
  export interface ConsumerGetPaymentClienttokenResponse {
2206
2182
  // Client token (BrainTree)
2207
2183
  clienttoken?: string;
@@ -2790,14 +2766,6 @@ export interface ConsumerMealExchange {
2790
2766
  type?: string;
2791
2767
  }
2792
2768
 
2793
- export interface ConsumerCashlessTender {
2794
- id?: string;
2795
- total?: number;
2796
- tender?: string;
2797
- name?: string;
2798
- type?: string;
2799
- }
2800
-
2801
2769
  export interface PutConsumerShoppingCartPaymentRequestDto {
2802
2770
  // The email to apply to the shopping cart
2803
2771
  email?: string;
@@ -3071,34 +3039,34 @@ export interface PostConsumerUserVerificationResponse {
3071
3039
  }
3072
3040
 
3073
3041
  export interface PostConsumerUserCaptchaRequest {
3074
- id?: string;
3042
+ // The email of the user
3075
3043
  email?: string;
3076
- name?: {
3077
- first?: string;
3078
- last?: string;
3079
- };
3080
- date?: {
3081
- created?: string;
3082
- modified?: string;
3083
- };
3084
- birthday?: string;
3044
+ // The name of the user
3045
+ name?: Record<string, any>;
3046
+ // The date of the user
3047
+ date?: Record<string, any>;
3048
+ // The birthday of the user
3049
+ birthday: string;
3050
+ // The password of the user
3085
3051
  password?: string;
3086
- phone?: number;
3087
- phone_country_code?: string;
3088
- realm?: string;
3089
- gender?: Record<string, any>;
3090
- meta?: ConsumerUserMeta;
3091
- is?: {
3092
- disabled?: boolean;
3093
- locked_out?: boolean;
3094
- verified?: boolean;
3095
- phone_verified?: boolean;
3096
- deleted?: boolean;
3097
- placeholder?: boolean;
3098
- };
3099
- permissions?: ConsumerScopes;
3100
- location_group?: string;
3101
- ssoId?: string;
3052
+ // The phone of the user
3053
+ phone: number;
3054
+ // The phone country code of the user
3055
+ phone_country_code: string;
3056
+ // The realm of the user
3057
+ realm: string;
3058
+ // The gender of the user
3059
+ gender: 'male' | 'female' | 'non-binary';
3060
+ // The meta of the user
3061
+ meta: ConsumerUserMeta;
3062
+ // The is of the user
3063
+ is?: Record<string, any>;
3064
+ // The permissions of the user
3065
+ permissions: ConsumerScopes;
3066
+ // The location group of the user
3067
+ location_group: string;
3068
+ // The ssoId of the user
3069
+ ssoId: string;
3102
3070
  }
3103
3071
 
3104
3072
  export interface PostConsumerUserCaptchaResponse {
@@ -3106,14 +3074,10 @@ export interface PostConsumerUserCaptchaResponse {
3106
3074
  id: string;
3107
3075
  // The email of the user
3108
3076
  email: string;
3109
- name?: {
3110
- first?: string;
3111
- last?: string;
3112
- };
3113
- date?: {
3114
- created?: string;
3115
- modified?: string;
3116
- };
3077
+ // The name of the user
3078
+ name?: Record<string, any>;
3079
+ // The date of the user
3080
+ date?: Record<string, any>;
3117
3081
  // The birthday of the user
3118
3082
  birthday?: string;
3119
3083
  // The phone of the user
@@ -3126,14 +3090,8 @@ export interface PostConsumerUserCaptchaResponse {
3126
3090
  gender?: Record<string, any>;
3127
3091
  // The meta of the user
3128
3092
  meta?: ConsumerUserMeta;
3129
- is?: {
3130
- disabled?: boolean;
3131
- locked_out?: boolean;
3132
- verified?: boolean;
3133
- phone_verified?: boolean;
3134
- deleted?: boolean;
3135
- placeholder?: boolean;
3136
- };
3093
+ // The is of the user
3094
+ is?: Record<string, any>;
3137
3095
  // The permissions of the user
3138
3096
  permissions?: ConsumerScopes;
3139
3097
  // The location group of the user
@@ -3161,10 +3119,8 @@ export interface PostConsumerUserGuestRequest {
3161
3119
  realm: string;
3162
3120
  // The email of the user
3163
3121
  email: string;
3164
- name: {
3165
- first: string;
3166
- last: string;
3167
- };
3122
+ // The name of the user
3123
+ name: Record<string, any>;
3168
3124
  }
3169
3125
 
3170
3126
  export interface PostConsumerUserGuestResponse {
@@ -3533,6 +3489,20 @@ export type PostConsumerChangePasswordBody = PostConsumerUserChangePasswordReque
3533
3489
 
3534
3490
  export type PostConsumerChangePasswordResponse = PostConsumerUserChangePasswordResponse;
3535
3491
 
3492
+ // GET /consumer/payment/{id}/cashless - get payment cashless tenders
3493
+
3494
+ export interface GetPaymentCashlessConsumerPath {
3495
+ // Payment ID
3496
+ id: string;
3497
+ }
3498
+
3499
+ export interface GetPaymentCashlessConsumerQuery {
3500
+ // Graphql query string
3501
+ _query?: string;
3502
+ }
3503
+
3504
+ export type GetPaymentCashlessConsumerResponse = ConsumerGetPaymentCashlessResponse;
3505
+
3536
3506
  // GET /consumer/payment/{id}/clienttoken - get payment client token
3537
3507
 
3538
3508
  export interface GetPaymentClienttokenConsumerPath {