@zyphr-dev/node-sdk 0.1.41 → 0.1.42

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": "@zyphr-dev/node-sdk",
3
- "version": "0.1.41",
3
+ "version": "0.1.42",
4
4
  "description": "Official Zyphr SDK for Node.js, React, and React Native",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -329,6 +329,8 @@ src/models/SessionListResponse.ts
329
329
  src/models/SessionListResponseData.ts
330
330
  src/models/SessionListResponseDataSessionInfo.ts
331
331
  src/models/SetDomainInboundRequest.ts
332
+ src/models/SetEndUserClaims200Response.ts
333
+ src/models/SetEndUserClaims200ResponseData.ts
332
334
  src/models/SetEndUserClaimsRequest.ts
333
335
  src/models/SetPreferencesRequest.ts
334
336
  src/models/SetPreferencesRequestPreferencesInner.ts
package/src/client.ts CHANGED
@@ -27,6 +27,7 @@ import {
27
27
  AuthPhoneApi,
28
28
  AuthRegistrationApi,
29
29
  AuthSessionsApi,
30
+ AuthUserDirectoryApi,
30
31
  AuthUserProfileApi,
31
32
  AuthWebAuthnApi,
32
33
  DevicesApi,
@@ -111,6 +112,8 @@ export class Zyphr {
111
112
  readonly phone: AuthPhoneApi;
112
113
  readonly emailOtp: AuthEmailOTPApi;
113
114
  readonly profile: AuthUserProfileApi;
115
+ /** Server-side (secret-key) end-user directory: list/search/get/update/delete, invite, and the trusted claims store. */
116
+ readonly userDirectory: AuthUserDirectoryApi;
114
117
  readonly webauthn: AuthWebAuthnApi;
115
118
  };
116
119
 
@@ -166,6 +169,7 @@ export class Zyphr {
166
169
  phone: new AuthPhoneApi(config),
167
170
  emailOtp: new AuthEmailOTPApi(config),
168
171
  profile: new AuthUserProfileApi(config),
172
+ userDirectory: new AuthUserDirectoryApi(config),
169
173
  webauthn: new AuthWebAuthnApi(config),
170
174
  };
171
175
  }
@@ -16,12 +16,15 @@
16
16
  import * as runtime from '../runtime';
17
17
  import type {
18
18
  InviteEndUserRequest,
19
+ SetEndUserClaims200Response,
19
20
  SetEndUserClaimsRequest,
20
21
  UpdateEndUserByApplicationRequest,
21
22
  } from '../models/index';
22
23
  import {
23
24
  InviteEndUserRequestFromJSON,
24
25
  InviteEndUserRequestToJSON,
26
+ SetEndUserClaims200ResponseFromJSON,
27
+ SetEndUserClaims200ResponseToJSON,
25
28
  SetEndUserClaimsRequestFromJSON,
26
29
  SetEndUserClaimsRequestToJSON,
27
30
  UpdateEndUserByApplicationRequestFromJSON,
@@ -172,7 +175,7 @@ export interface AuthUserDirectoryApiInterface {
172
175
  listEndUsers(page?: number, perPage?: number, search?: string, environment?: ListEndUsersEnvironmentEnum, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
173
176
 
174
177
  /**
175
- * Secret-key-scoped upsert of the authoritative custom_claims for an end user. Set server-side only — clients cannot write these, which is what makes them safe for authorization (e.g. an account-type/admin flag). Claims are embedded into the user\'s JWTs on the next login/refresh. Max 4KB; reserved JWT/Zyphr claim names are rejected. To make a change take effect immediately on already-issued tokens (e.g. revoking admin), call POST /auth/sessions/revoke-all for the user after updating claims — that bumps the revocation epoch so outstanding access tokens stop verifying.
178
+ * Secret-key-scoped upsert of the authoritative custom_claims for an end user. Set server-side only — clients cannot write these, which is what makes them safe for authorization (e.g. an account-type/admin flag). Claims are embedded into the user\'s JWTs on the next login/refresh. Max 4KB; reserved JWT/Zyphr claim names are rejected. Each write bumps a monotonic `claims_version` (returned in the response). The change applies seamlessly on the user\'s next login or token refresh — a token carrying an older `claims_version` is rejected on verification and the client silently re-mints with the new claims, without a forced logout. For a hard cut-off (log the user out of all sessions immediately), call POST /auth/sessions/revoke-all after updating claims.
176
179
  * @summary Set an end user\'s stored custom claims (server-side admin)
177
180
  * @param {string} userId
178
181
  * @param {SetEndUserClaimsRequest} setEndUserClaimsRequest
@@ -180,13 +183,13 @@ export interface AuthUserDirectoryApiInterface {
180
183
  * @throws {RequiredError}
181
184
  * @memberof AuthUserDirectoryApiInterface
182
185
  */
183
- setEndUserClaimsRaw(requestParameters: AuthUserDirectoryApiSetEndUserClaimsOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
186
+ setEndUserClaimsRaw(requestParameters: AuthUserDirectoryApiSetEndUserClaimsOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SetEndUserClaims200Response>>;
184
187
 
185
188
  /**
186
- * Secret-key-scoped upsert of the authoritative custom_claims for an end user. Set server-side only — clients cannot write these, which is what makes them safe for authorization (e.g. an account-type/admin flag). Claims are embedded into the user\'s JWTs on the next login/refresh. Max 4KB; reserved JWT/Zyphr claim names are rejected. To make a change take effect immediately on already-issued tokens (e.g. revoking admin), call POST /auth/sessions/revoke-all for the user after updating claims — that bumps the revocation epoch so outstanding access tokens stop verifying.
189
+ * Secret-key-scoped upsert of the authoritative custom_claims for an end user. Set server-side only — clients cannot write these, which is what makes them safe for authorization (e.g. an account-type/admin flag). Claims are embedded into the user\'s JWTs on the next login/refresh. Max 4KB; reserved JWT/Zyphr claim names are rejected. Each write bumps a monotonic `claims_version` (returned in the response). The change applies seamlessly on the user\'s next login or token refresh — a token carrying an older `claims_version` is rejected on verification and the client silently re-mints with the new claims, without a forced logout. For a hard cut-off (log the user out of all sessions immediately), call POST /auth/sessions/revoke-all after updating claims.
187
190
  * Set an end user\'s stored custom claims (server-side admin)
188
191
  */
189
- setEndUserClaims(userId: string, setEndUserClaimsRequest: SetEndUserClaimsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
192
+ setEndUserClaims(userId: string, setEndUserClaimsRequest: SetEndUserClaimsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SetEndUserClaims200Response>;
190
193
 
191
194
  /**
192
195
  * Secret-key-scoped update of an arbitrary end user in the authenticating application. Updatable fields: email, name, avatar_url, metadata, status. Scoped to the application — a caller can never modify a user belonging to another application.
@@ -481,10 +484,10 @@ export class AuthUserDirectoryApi extends runtime.BaseAPI implements AuthUserDir
481
484
  }
482
485
 
483
486
  /**
484
- * Secret-key-scoped upsert of the authoritative custom_claims for an end user. Set server-side only — clients cannot write these, which is what makes them safe for authorization (e.g. an account-type/admin flag). Claims are embedded into the user\'s JWTs on the next login/refresh. Max 4KB; reserved JWT/Zyphr claim names are rejected. To make a change take effect immediately on already-issued tokens (e.g. revoking admin), call POST /auth/sessions/revoke-all for the user after updating claims — that bumps the revocation epoch so outstanding access tokens stop verifying.
487
+ * Secret-key-scoped upsert of the authoritative custom_claims for an end user. Set server-side only — clients cannot write these, which is what makes them safe for authorization (e.g. an account-type/admin flag). Claims are embedded into the user\'s JWTs on the next login/refresh. Max 4KB; reserved JWT/Zyphr claim names are rejected. Each write bumps a monotonic `claims_version` (returned in the response). The change applies seamlessly on the user\'s next login or token refresh — a token carrying an older `claims_version` is rejected on verification and the client silently re-mints with the new claims, without a forced logout. For a hard cut-off (log the user out of all sessions immediately), call POST /auth/sessions/revoke-all after updating claims.
485
488
  * Set an end user\'s stored custom claims (server-side admin)
486
489
  */
487
- async setEndUserClaimsRaw(requestParameters: AuthUserDirectoryApiSetEndUserClaimsOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
490
+ async setEndUserClaimsRaw(requestParameters: AuthUserDirectoryApiSetEndUserClaimsOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SetEndUserClaims200Response>> {
488
491
  if (requestParameters['userId'] == null) {
489
492
  throw new runtime.RequiredError(
490
493
  'userId',
@@ -521,15 +524,16 @@ export class AuthUserDirectoryApi extends runtime.BaseAPI implements AuthUserDir
521
524
  body: SetEndUserClaimsRequestToJSON(requestParameters['setEndUserClaimsRequest']),
522
525
  }, initOverrides);
523
526
 
524
- return new runtime.VoidApiResponse(response);
527
+ return new runtime.JSONApiResponse(response, (jsonValue) => SetEndUserClaims200ResponseFromJSON(jsonValue));
525
528
  }
526
529
 
527
530
  /**
528
- * Secret-key-scoped upsert of the authoritative custom_claims for an end user. Set server-side only — clients cannot write these, which is what makes them safe for authorization (e.g. an account-type/admin flag). Claims are embedded into the user\'s JWTs on the next login/refresh. Max 4KB; reserved JWT/Zyphr claim names are rejected. To make a change take effect immediately on already-issued tokens (e.g. revoking admin), call POST /auth/sessions/revoke-all for the user after updating claims — that bumps the revocation epoch so outstanding access tokens stop verifying.
531
+ * Secret-key-scoped upsert of the authoritative custom_claims for an end user. Set server-side only — clients cannot write these, which is what makes them safe for authorization (e.g. an account-type/admin flag). Claims are embedded into the user\'s JWTs on the next login/refresh. Max 4KB; reserved JWT/Zyphr claim names are rejected. Each write bumps a monotonic `claims_version` (returned in the response). The change applies seamlessly on the user\'s next login or token refresh — a token carrying an older `claims_version` is rejected on verification and the client silently re-mints with the new claims, without a forced logout. For a hard cut-off (log the user out of all sessions immediately), call POST /auth/sessions/revoke-all after updating claims.
529
532
  * Set an end user\'s stored custom claims (server-side admin)
530
533
  */
531
- async setEndUserClaims(userId: string, setEndUserClaimsRequest: SetEndUserClaimsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
532
- await this.setEndUserClaimsRaw({ userId: userId, setEndUserClaimsRequest: setEndUserClaimsRequest }, initOverrides);
534
+ async setEndUserClaims(userId: string, setEndUserClaimsRequest: SetEndUserClaimsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SetEndUserClaims200Response> {
535
+ const response = await this.setEndUserClaimsRaw({ userId: userId, setEndUserClaimsRequest: setEndUserClaimsRequest }, initOverrides);
536
+ return await response.value();
533
537
  }
534
538
 
535
539
  /**
@@ -235,7 +235,7 @@ export interface InboxApiInterface {
235
235
  deleteSubscriberNotification(id: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
236
236
 
237
237
  /**
238
- * Generate a JWT token for client-side inbox authentication. This is a server-side call that requires your API key. Pass the returned token to `@zyphr/inbox-react`\'s `<ZyphrProvider subscriberToken=\"...\">` or use it as `Authorization: Bearer <token>` for client-side inbox API calls and WebSocket connections. The token expires in 7 days.
238
+ * Generate a JWT token for client-side inbox authentication. This is a server-side call that requires your API key. Pass the returned token to `@zyphr-dev/inbox-react`\'s `<ZyphrProvider subscriberToken=\"...\">` or use it as `Authorization: Bearer <token>` for client-side inbox API calls and WebSocket connections. The token expires in 7 days.
239
239
  * @summary Generate a subscriber token
240
240
  * @param {GenerateSubscriberTokenRequest} generateSubscriberTokenRequest
241
241
  * @param {*} [options] Override http request option.
@@ -245,7 +245,7 @@ export interface InboxApiInterface {
245
245
  generateSubscriberTokenRaw(requestParameters: InboxApiGenerateSubscriberTokenOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GenerateSubscriberToken200Response>>;
246
246
 
247
247
  /**
248
- * Generate a JWT token for client-side inbox authentication. This is a server-side call that requires your API key. Pass the returned token to `@zyphr/inbox-react`\'s `<ZyphrProvider subscriberToken=\"...\">` or use it as `Authorization: Bearer <token>` for client-side inbox API calls and WebSocket connections. The token expires in 7 days.
248
+ * Generate a JWT token for client-side inbox authentication. This is a server-side call that requires your API key. Pass the returned token to `@zyphr-dev/inbox-react`\'s `<ZyphrProvider subscriberToken=\"...\">` or use it as `Authorization: Bearer <token>` for client-side inbox API calls and WebSocket connections. The token expires in 7 days.
249
249
  * Generate a subscriber token
250
250
  */
251
251
  generateSubscriberToken(generateSubscriberTokenRequest: GenerateSubscriberTokenRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GenerateSubscriberToken200Response>;
@@ -682,7 +682,7 @@ export class InboxApi extends runtime.BaseAPI implements InboxApiInterface {
682
682
  }
683
683
 
684
684
  /**
685
- * Generate a JWT token for client-side inbox authentication. This is a server-side call that requires your API key. Pass the returned token to `@zyphr/inbox-react`\'s `<ZyphrProvider subscriberToken=\"...\">` or use it as `Authorization: Bearer <token>` for client-side inbox API calls and WebSocket connections. The token expires in 7 days.
685
+ * Generate a JWT token for client-side inbox authentication. This is a server-side call that requires your API key. Pass the returned token to `@zyphr-dev/inbox-react`\'s `<ZyphrProvider subscriberToken=\"...\">` or use it as `Authorization: Bearer <token>` for client-side inbox API calls and WebSocket connections. The token expires in 7 days.
686
686
  * Generate a subscriber token
687
687
  */
688
688
  async generateSubscriberTokenRaw(requestParameters: InboxApiGenerateSubscriberTokenOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GenerateSubscriberToken200Response>> {
@@ -715,7 +715,7 @@ export class InboxApi extends runtime.BaseAPI implements InboxApiInterface {
715
715
  }
716
716
 
717
717
  /**
718
- * Generate a JWT token for client-side inbox authentication. This is a server-side call that requires your API key. Pass the returned token to `@zyphr/inbox-react`\'s `<ZyphrProvider subscriberToken=\"...\">` or use it as `Authorization: Bearer <token>` for client-side inbox API calls and WebSocket connections. The token expires in 7 days.
718
+ * Generate a JWT token for client-side inbox authentication. This is a server-side call that requires your API key. Pass the returned token to `@zyphr-dev/inbox-react`\'s `<ZyphrProvider subscriberToken=\"...\">` or use it as `Authorization: Bearer <token>` for client-side inbox API calls and WebSocket connections. The token expires in 7 days.
719
719
  * Generate a subscriber token
720
720
  */
721
721
  async generateSubscriberToken(generateSubscriberTokenRequest: GenerateSubscriberTokenRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GenerateSubscriberToken200Response> {
@@ -0,0 +1,73 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Zyphr API
5
+ * Zyphr is a multi-channel notification platform that enables developers to send emails, push notifications, SMS, and in-app messages through a unified API. ## Authentication All API requests require authentication using an API key. Include your API key in the `X-API-Key` header: ``` X-API-Key: zy_live_xxxxxxxxxxxx ``` API keys can be created in the Zyphr Dashboard. Use `zy_test_*` keys for testing and `zy_live_*` keys for production. ## Rate Limiting The API implements rate limiting to ensure fair usage. Rate limit information is included in response headers: - `X-RateLimit-Limit`: Maximum requests per window - `X-RateLimit-Remaining`: Remaining requests in current window - `X-RateLimit-Reset`: Unix timestamp when the window resets ## Account Sending Status Every authenticated response carries the account\'s current sending state so you can surface it in your own tooling without a separate call: - `X-Account-Sending-Status`: `active`, `throttled`, or `frozen` - `X-Account-Sending-Status-Reason`: human-readable reason (present only when the status is `throttled` or `frozen`) This header is informational and non-blocking on non-send endpoints (reads, billing, and deliverability stay available). Send-capable endpoints additionally enforce the state: a frozen account receives `403 account_frozen` and a throttled account receives `429 account_throttled`, both with the reason in the error message. ## Errors All errors follow a consistent format: ```json { \"error\": { \"code\": \"error_code\", \"message\": \"Human readable message\", \"details\": {} }, \"meta\": { \"request_id\": \"req_xxxx\" } } ```
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ * Contact: support@zyphr.dev
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ import type { SetEndUserClaims200ResponseData } from './SetEndUserClaims200ResponseData';
17
+ import {
18
+ SetEndUserClaims200ResponseDataFromJSON,
19
+ SetEndUserClaims200ResponseDataFromJSONTyped,
20
+ SetEndUserClaims200ResponseDataToJSON,
21
+ SetEndUserClaims200ResponseDataToJSONTyped,
22
+ } from './SetEndUserClaims200ResponseData';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface SetEndUserClaims200Response
28
+ */
29
+ export interface SetEndUserClaims200Response {
30
+ /**
31
+ *
32
+ * @type {SetEndUserClaims200ResponseData}
33
+ * @memberof SetEndUserClaims200Response
34
+ */
35
+ data?: SetEndUserClaims200ResponseData;
36
+ }
37
+
38
+ /**
39
+ * Check if a given object implements the SetEndUserClaims200Response interface.
40
+ */
41
+ export function instanceOfSetEndUserClaims200Response(value: object): value is SetEndUserClaims200Response {
42
+ return true;
43
+ }
44
+
45
+ export function SetEndUserClaims200ResponseFromJSON(json: any): SetEndUserClaims200Response {
46
+ return SetEndUserClaims200ResponseFromJSONTyped(json, false);
47
+ }
48
+
49
+ export function SetEndUserClaims200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SetEndUserClaims200Response {
50
+ if (json == null) {
51
+ return json;
52
+ }
53
+ return {
54
+
55
+ 'data': json['data'] == null ? undefined : SetEndUserClaims200ResponseDataFromJSON(json['data']),
56
+ };
57
+ }
58
+
59
+ export function SetEndUserClaims200ResponseToJSON(json: any): SetEndUserClaims200Response {
60
+ return SetEndUserClaims200ResponseToJSONTyped(json, false);
61
+ }
62
+
63
+ export function SetEndUserClaims200ResponseToJSONTyped(value?: SetEndUserClaims200Response | null, ignoreDiscriminator: boolean = false): any {
64
+ if (value == null) {
65
+ return value;
66
+ }
67
+
68
+ return {
69
+
70
+ 'data': SetEndUserClaims200ResponseDataToJSON(value['data']),
71
+ };
72
+ }
73
+
@@ -0,0 +1,73 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Zyphr API
5
+ * Zyphr is a multi-channel notification platform that enables developers to send emails, push notifications, SMS, and in-app messages through a unified API. ## Authentication All API requests require authentication using an API key. Include your API key in the `X-API-Key` header: ``` X-API-Key: zy_live_xxxxxxxxxxxx ``` API keys can be created in the Zyphr Dashboard. Use `zy_test_*` keys for testing and `zy_live_*` keys for production. ## Rate Limiting The API implements rate limiting to ensure fair usage. Rate limit information is included in response headers: - `X-RateLimit-Limit`: Maximum requests per window - `X-RateLimit-Remaining`: Remaining requests in current window - `X-RateLimit-Reset`: Unix timestamp when the window resets ## Account Sending Status Every authenticated response carries the account\'s current sending state so you can surface it in your own tooling without a separate call: - `X-Account-Sending-Status`: `active`, `throttled`, or `frozen` - `X-Account-Sending-Status-Reason`: human-readable reason (present only when the status is `throttled` or `frozen`) This header is informational and non-blocking on non-send endpoints (reads, billing, and deliverability stay available). Send-capable endpoints additionally enforce the state: a frozen account receives `403 account_frozen` and a throttled account receives `429 account_throttled`, both with the reason in the error message. ## Errors All errors follow a consistent format: ```json { \"error\": { \"code\": \"error_code\", \"message\": \"Human readable message\", \"details\": {} }, \"meta\": { \"request_id\": \"req_xxxx\" } } ```
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ * Contact: support@zyphr.dev
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface SetEndUserClaims200ResponseData
20
+ */
21
+ export interface SetEndUserClaims200ResponseData {
22
+ /**
23
+ *
24
+ * @type {object}
25
+ * @memberof SetEndUserClaims200ResponseData
26
+ */
27
+ claims?: object;
28
+ /**
29
+ * Monotonic version bumped on each write; embedded in issued tokens.
30
+ * @type {number}
31
+ * @memberof SetEndUserClaims200ResponseData
32
+ */
33
+ claimsVersion?: number;
34
+ }
35
+
36
+ /**
37
+ * Check if a given object implements the SetEndUserClaims200ResponseData interface.
38
+ */
39
+ export function instanceOfSetEndUserClaims200ResponseData(value: object): value is SetEndUserClaims200ResponseData {
40
+ return true;
41
+ }
42
+
43
+ export function SetEndUserClaims200ResponseDataFromJSON(json: any): SetEndUserClaims200ResponseData {
44
+ return SetEndUserClaims200ResponseDataFromJSONTyped(json, false);
45
+ }
46
+
47
+ export function SetEndUserClaims200ResponseDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): SetEndUserClaims200ResponseData {
48
+ if (json == null) {
49
+ return json;
50
+ }
51
+ return {
52
+
53
+ 'claims': json['claims'] == null ? undefined : json['claims'],
54
+ 'claimsVersion': json['claims_version'] == null ? undefined : json['claims_version'],
55
+ };
56
+ }
57
+
58
+ export function SetEndUserClaims200ResponseDataToJSON(json: any): SetEndUserClaims200ResponseData {
59
+ return SetEndUserClaims200ResponseDataToJSONTyped(json, false);
60
+ }
61
+
62
+ export function SetEndUserClaims200ResponseDataToJSONTyped(value?: SetEndUserClaims200ResponseData | null, ignoreDiscriminator: boolean = false): any {
63
+ if (value == null) {
64
+ return value;
65
+ }
66
+
67
+ return {
68
+
69
+ 'claims': value['claims'],
70
+ 'claims_version': value['claimsVersion'],
71
+ };
72
+ }
73
+
@@ -289,6 +289,8 @@ export * from './SessionListResponse';
289
289
  export * from './SessionListResponseData';
290
290
  export * from './SessionListResponseDataSessionInfo';
291
291
  export * from './SetDomainInboundRequest';
292
+ export * from './SetEndUserClaims200Response';
293
+ export * from './SetEndUserClaims200ResponseData';
292
294
  export * from './SetEndUserClaimsRequest';
293
295
  export * from './SetPreferencesRequest';
294
296
  export * from './SetPreferencesRequestPreferencesInner';