Skip to content

Commit c43f7b5

Browse files
authored
Fix: allow array of string for multi select custom attributes (#444)
1 parent ef3a937 commit c43f7b5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/management/types.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ export type Tenant = {
156156
name: string;
157157
selfProvisioningDomains: string[];
158158
createdTime: number;
159-
customAttributes?: Record<string, string | number | boolean>;
159+
customAttributes?: Record<string, string | number | boolean | string[]>;
160160
domains?: string[];
161161
authType?: 'none' | 'saml' | 'oidc';
162162
enforceSSO?: boolean;
@@ -349,7 +349,7 @@ export type GenerateEmbeddedLinkResponse = {
349349
token: string;
350350
};
351351

352-
export type AttributesTypes = string | boolean | number;
352+
export type AttributesTypes = string | boolean | number | string[];
353353

354354
export type TemplateOptions = Record<string, string>; // for providing messaging template options (templates that are being sent via email / text message)
355355

0 commit comments

Comments
 (0)