@seamapi/types 1.80.1 → 1.82.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.
@@ -1198,6 +1198,24 @@ export interface Routes {
1198
1198
  }>;
1199
1199
  };
1200
1200
  };
1201
+ '/acs/users/list_accessible_entrances': {
1202
+ route: '/acs/users/list_accessible_entrances';
1203
+ method: 'GET' | 'POST';
1204
+ queryParams: {};
1205
+ jsonBody: {};
1206
+ commonParams: {
1207
+ acs_user_id: string;
1208
+ };
1209
+ formData: {};
1210
+ jsonResponse: {
1211
+ acs_entrances: Array<{
1212
+ acs_entrance_id: string;
1213
+ display_name: string;
1214
+ acs_system_id: string;
1215
+ created_at: string;
1216
+ }>;
1217
+ };
1218
+ };
1201
1219
  '/acs/users/remove_from_access_group': {
1202
1220
  route: '/acs/users/remove_from_access_group';
1203
1221
  method: 'DELETE' | 'POST';
@@ -1475,7 +1493,7 @@ export interface Routes {
1475
1493
  custom_redirect_failure_url?: string | undefined;
1476
1494
  accepted_providers?: Array<'akuvox' | 'august' | 'avigilon_alta' | 'brivo' | 'butterflymx' | 'schlage' | 'smartthings' | 'yale' | 'genie' | 'doorking' | 'salto' | 'lockly' | 'ttlock' | 'linear' | 'noiseaware' | 'nuki' | 'seam_relay_admin' | 'igloo' | 'kwikset' | 'minut' | 'my_2n' | 'controlbyweb' | 'nest' | 'igloohome' | 'ecobee' | 'hubitat' | 'four_suites' | 'dormakaba_oracode' | 'pti' | 'wyze' | 'seam_passport' | 'visionline' | 'assa_abloy_credential_service' | 'seam_bridge' | 'yale_access' | 'hid_cm'> | undefined;
1477
1495
  provider_category?: ('stable' | 'consumer_smartlocks' | 'internal_beta') | undefined;
1478
- custom_metadata?: Record<string, string | number | null | boolean> | undefined;
1496
+ custom_metadata?: Record<string, string | boolean> | undefined;
1479
1497
  automatically_manage_new_devices?: boolean | undefined;
1480
1498
  wait_for_device_creation?: boolean | undefined;
1481
1499
  };
@@ -1497,7 +1515,7 @@ export interface Routes {
1497
1515
  status: 'pending' | 'failed' | 'authorized';
1498
1516
  custom_redirect_url: string | null;
1499
1517
  custom_redirect_failure_url: string | null;
1500
- custom_metadata: Record<string, string | number | null | boolean>;
1518
+ custom_metadata: Record<string, string | boolean>;
1501
1519
  automatically_manage_new_devices: boolean;
1502
1520
  wait_for_device_creation: boolean;
1503
1521
  authorized_at: string | null;
@@ -1541,7 +1559,7 @@ export interface Routes {
1541
1559
  status: 'pending' | 'failed' | 'authorized';
1542
1560
  custom_redirect_url: string | null;
1543
1561
  custom_redirect_failure_url: string | null;
1544
- custom_metadata: Record<string, string | number | null | boolean>;
1562
+ custom_metadata: Record<string, string | boolean>;
1545
1563
  automatically_manage_new_devices: boolean;
1546
1564
  wait_for_device_creation: boolean;
1547
1565
  authorized_at: string | null;
@@ -1574,7 +1592,7 @@ export interface Routes {
1574
1592
  status: 'pending' | 'failed' | 'authorized';
1575
1593
  custom_redirect_url: string | null;
1576
1594
  custom_redirect_failure_url: string | null;
1577
- custom_metadata: Record<string, string | number | null | boolean>;
1595
+ custom_metadata: Record<string, string | boolean>;
1578
1596
  automatically_manage_new_devices: boolean;
1579
1597
  wait_for_device_creation: boolean;
1580
1598
  authorized_at: string | null;
@@ -1632,7 +1650,7 @@ export interface Routes {
1632
1650
  account_type_display_name: string;
1633
1651
  errors?: any;
1634
1652
  warnings?: any;
1635
- custom_metadata?: Record<string, string | number | boolean | null> | undefined;
1653
+ custom_metadata?: Record<string, string | boolean> | undefined;
1636
1654
  automatically_manage_new_devices: boolean;
1637
1655
  };
1638
1656
  };
@@ -1659,7 +1677,7 @@ export interface Routes {
1659
1677
  account_type_display_name: string;
1660
1678
  errors?: any;
1661
1679
  warnings?: any;
1662
- custom_metadata?: Record<string, string | number | boolean | null> | undefined;
1680
+ custom_metadata?: Record<string, string | boolean> | undefined;
1663
1681
  automatically_manage_new_devices: boolean;
1664
1682
  }>;
1665
1683
  };
@@ -1689,7 +1707,7 @@ export interface Routes {
1689
1707
  account_type_display_name: string;
1690
1708
  errors?: any;
1691
1709
  warnings?: any;
1692
- custom_metadata?: Record<string, string | number | boolean | null> | undefined;
1710
+ custom_metadata?: Record<string, string | boolean> | undefined;
1693
1711
  automatically_manage_new_devices: boolean;
1694
1712
  };
1695
1713
  };
@@ -7251,6 +7269,7 @@ export interface Routes {
7251
7269
  commonParams: {
7252
7270
  user_identity_key?: (string | null) | undefined;
7253
7271
  email_address?: (string | null) | undefined;
7272
+ phone_number?: (string | null) | undefined;
7254
7273
  full_name?: (string | null) | undefined;
7255
7274
  };
7256
7275
  formData: {};
@@ -7259,6 +7278,7 @@ export interface Routes {
7259
7278
  user_identity_id: string;
7260
7279
  user_identity_key: string | null;
7261
7280
  email_address: string | null;
7281
+ phone_number: string | null;
7262
7282
  display_name: string;
7263
7283
  full_name: string | null;
7264
7284
  created_at: string;
@@ -7344,6 +7364,7 @@ export interface Routes {
7344
7364
  user_identity_id: string;
7345
7365
  user_identity_key: string | null;
7346
7366
  email_address: string | null;
7367
+ phone_number: string | null;
7347
7368
  display_name: string;
7348
7369
  full_name: string | null;
7349
7370
  created_at: string;
@@ -7375,6 +7396,7 @@ export interface Routes {
7375
7396
  user_identity_id: string;
7376
7397
  user_identity_key: string | null;
7377
7398
  email_address: string | null;
7399
+ phone_number: string | null;
7378
7400
  display_name: string;
7379
7401
  full_name: string | null;
7380
7402
  created_at: string;
@@ -7845,6 +7867,31 @@ export interface Routes {
7845
7867
  }>;
7846
7868
  };
7847
7869
  };
7870
+ '/user_identities/list_acs_systems': {
7871
+ route: '/user_identities/list_acs_systems';
7872
+ method: 'GET' | 'POST';
7873
+ queryParams: {};
7874
+ jsonBody: {};
7875
+ commonParams: {
7876
+ user_identity_id: string;
7877
+ };
7878
+ formData: {};
7879
+ jsonResponse: {
7880
+ acs_systems: Array<{
7881
+ acs_system_id: string;
7882
+ external_type: 'pti_site' | 'alta_org' | 'salto_site' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service';
7883
+ external_type_display_name: string;
7884
+ /** deprecated: use external_type */
7885
+ system_type: 'pti_site' | 'alta_org' | 'salto_site' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service';
7886
+ /** deprecated: use external_type_display_name */
7887
+ system_type_display_name: string;
7888
+ name: string;
7889
+ created_at: string;
7890
+ workspace_id: string;
7891
+ connected_account_ids: string[];
7892
+ }>;
7893
+ };
7894
+ };
7848
7895
  '/user_identities/list_acs_users': {
7849
7896
  route: '/user_identities/list_acs_users';
7850
7897
  method: 'GET' | 'POST';
@@ -14,7 +14,7 @@ export declare const connect_webview: z.ZodObject<{
14
14
  status: z.ZodEnum<["pending", "failed", "authorized"]>;
15
15
  custom_redirect_url: z.ZodNullable<z.ZodString>;
16
16
  custom_redirect_failure_url: z.ZodNullable<z.ZodString>;
17
- custom_metadata: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodNull, z.ZodBoolean]>>, Record<string, string | number | boolean | null>, Record<string, string | number | boolean | null>>;
17
+ custom_metadata: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>, Record<string, string | boolean>, Record<string, string | boolean>>;
18
18
  automatically_manage_new_devices: z.ZodBoolean;
19
19
  wait_for_device_creation: z.ZodBoolean;
20
20
  authorized_at: z.ZodNullable<z.ZodString>;
@@ -33,7 +33,7 @@ export declare const connect_webview: z.ZodObject<{
33
33
  login_successful: boolean;
34
34
  custom_redirect_url: string | null;
35
35
  custom_redirect_failure_url: string | null;
36
- custom_metadata: Record<string, string | number | boolean | null>;
36
+ custom_metadata: Record<string, string | boolean>;
37
37
  automatically_manage_new_devices: boolean;
38
38
  wait_for_device_creation: boolean;
39
39
  authorized_at: string | null;
@@ -53,7 +53,7 @@ export declare const connect_webview: z.ZodObject<{
53
53
  login_successful: boolean;
54
54
  custom_redirect_url: string | null;
55
55
  custom_redirect_failure_url: string | null;
56
- custom_metadata: Record<string, string | number | boolean | null>;
56
+ custom_metadata: Record<string, string | boolean>;
57
57
  automatically_manage_new_devices: boolean;
58
58
  wait_for_device_creation: boolean;
59
59
  authorized_at: string | null;
@@ -1,3 +1,3 @@
1
1
  import { z } from 'zod';
2
- export declare const custom_metadata: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodNull, z.ZodBoolean]>>, Record<string, string | number | boolean | null>, Record<string, string | number | boolean | null>>;
2
+ export declare const custom_metadata: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>, Record<string, string | boolean>, Record<string, string | boolean>>;
3
3
  export type CustomMetadata = z.infer<typeof custom_metadata>;
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
2
  export const custom_metadata = z
3
- .record(z.string().max(40), z.union([z.string().max(500), z.number(), z.null(), z.boolean()]))
3
+ .record(z.string().max(40), z.union([z.string().max(500), z.boolean()]))
4
4
  .refine((val) => Object.keys(val).length <= 50, {
5
5
  message: 'Custom metadata is limited to a maximum of 50 keys',
6
6
  });
@@ -1 +1 @@
1
- {"version":3,"file":"custom-metadata.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/stable/models/custom-metadata.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC;KAC7B,MAAM,CACL,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,EAClB,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC,CAClE;KACA,MAAM,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,MAAM,IAAI,EAAE,EAAE;IAC9C,OAAO,EAAE,oDAAoD;CAC9D,CAAC,CAAA"}
1
+ {"version":3,"file":"custom-metadata.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/stable/models/custom-metadata.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC;KAC7B,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC;KACvE,MAAM,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,MAAM,IAAI,EAAE,EAAE;IAC9C,OAAO,EAAE,oDAAoD;CAC9D,CAAC,CAAA"}
@@ -1,4 +1,5 @@
1
1
  import { z } from 'zod';
2
+ import { phone_number } from '../phone-number.js';
2
3
  import { schedule } from '../schedule.js';
3
4
  export const acs_user_external_type = z.enum([
4
5
  'pti_user',
@@ -6,15 +7,6 @@ export const acs_user_external_type = z.enum([
6
7
  'hid_credential_manager_user',
7
8
  'salto_site_user',
8
9
  ]);
9
- const phone_number = z.coerce
10
- .string()
11
- .trim()
12
- .refine((val) => {
13
- // https://www.twilio.com/docs/glossary/what-e164
14
- return /^\+[1-9]\d{1,14}$/.test(val);
15
- }, {
16
- message: 'Phone number must be in E.164 format: +14155552671',
17
- });
18
10
  const user_fields = z.object({
19
11
  full_name: z.string().optional(),
20
12
  email: z
@@ -1 +1 @@
1
- {"version":3,"file":"user.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/acs/user.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,M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AI,EAAE,CAAC,QAAQ,EAAE;IAC/C,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC/B,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;IACxB,aAAa,EAAE,sBAAsB,CAAC,QAAQ,EAAE;IAChD,0BAA0B,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjD,YAAY,EAAE,CAAC,CAAC,OAAO,EAAE;IACzB,eAAe,EAAE,QAAQ,CAAC,QAAQ,EAAE;CACrC,CAAC;KACD,KAAK,CAAC,WAAW,CAAC,CAAA"}
@@ -0,0 +1,2 @@
1
+ import { z } from 'zod';
2
+ export declare const phone_number: z.ZodEffects<z.ZodString, string, string>;
@@ -0,0 +1,11 @@
1
+ import { z } from 'zod';
2
+ export const phone_number = z.coerce
3
+ .string()
4
+ .trim()
5
+ .refine((val) => {
6
+ // https://www.twilio.com/docs/glossary/what-e164
7
+ return /^\+[1-9]\d{1,14}$/.test(val);
8
+ }, {
9
+ message: 'Phone number must be in E.164 format: +14155552671',
10
+ });
11
+ //# sourceMappingURL=phone-number.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"phone-number.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/unstable/models/phone-number.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,CAAC,MAAM;KACjC,MAAM,EAAE;KACR,IAAI,EAAE;KACN,MAAM,CACL,CAAC,GAAG,EAAE,EAAE;IACN,iDAAiD;IACjD,OAAO,mBAAmB,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA;AACtC,CAAC,EACD;IACE,OAAO,EAAE,oDAAoD;CAC9D,CACF,CAAA"}
@@ -3,6 +3,7 @@ export declare const user_identity: z.ZodObject<{
3
3
  user_identity_id: z.ZodString;
4
4
  user_identity_key: z.ZodNullable<z.ZodString>;
5
5
  email_address: z.ZodNullable<z.ZodString>;
6
+ phone_number: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>;
6
7
  display_name: z.ZodString;
7
8
  full_name: z.ZodNullable<z.ZodString>;
8
9
  created_at: z.ZodString;
@@ -14,6 +15,7 @@ export declare const user_identity: z.ZodObject<{
14
15
  user_identity_id: string;
15
16
  user_identity_key: string | null;
16
17
  email_address: string | null;
18
+ phone_number: string | null;
17
19
  full_name: string | null;
18
20
  }, {
19
21
  workspace_id: string;
@@ -22,6 +24,7 @@ export declare const user_identity: z.ZodObject<{
22
24
  user_identity_id: string;
23
25
  user_identity_key: string | null;
24
26
  email_address: string | null;
27
+ phone_number: string | null;
25
28
  full_name: string | null;
26
29
  }>;
27
30
  export type UserIdentity = z.output<typeof user_identity>;
@@ -1,8 +1,10 @@
1
1
  import { z } from 'zod';
2
+ import { phone_number } from './phone-number.js';
2
3
  export const user_identity = z.object({
3
4
  user_identity_id: z.string().uuid(),
4
5
  user_identity_key: z.string().nonempty().nullable(),
5
6
  email_address: z.string().email().nullable(),
7
+ phone_number: phone_number.nullable(),
6
8
  display_name: z.string().nonempty(),
7
9
  full_name: z.string().nonempty().nullable(),
8
10
  created_at: z.string().datetime(),
@@ -1 +1 @@
1
- {"version":3,"file":"user-identity.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/unstable/models/user-identity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,CAAC,MAAM,CAAC;IACpC,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACnC,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IACnD,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE;IAC5C,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACnC,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAC3C,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;CAChC,CAAC,CAAA"}
1
+ {"version":3,"file":"user-identity.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/unstable/models/user-identity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AAEhD,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,CAAC,MAAM,CAAC;IACpC,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACnC,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IACnD,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE;IAC5C,YAAY,EAAE,YAAY,CAAC,QAAQ,EAAE;IACrC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACnC,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAC3C,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;CAChC,CAAC,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.80.1",
3
+ "version": "1.82.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -423,13 +423,7 @@ export default {
423
423
  created_at: { format: 'date-time', type: 'string' },
424
424
  custom_metadata: {
425
425
  additionalProperties: {
426
- nullable: true,
427
- oneOf: [
428
- { maxLength: 500, type: 'string' },
429
- { type: 'number' },
430
- { format: 'null', nullable: true, type: 'string' },
431
- { type: 'boolean' },
432
- ],
426
+ oneOf: [{ maxLength: 500, type: 'string' }, { type: 'boolean' }],
433
427
  },
434
428
  type: 'object',
435
429
  },
@@ -485,13 +479,7 @@ export default {
485
479
  created_at: { format: 'date-time', type: 'string' },
486
480
  custom_metadata: {
487
481
  additionalProperties: {
488
- nullable: true,
489
- oneOf: [
490
- { type: 'string' },
491
- { type: 'number' },
492
- { type: 'boolean' },
493
- { format: 'null', nullable: true, type: 'string' },
494
- ],
482
+ oneOf: [{ maxLength: 500, type: 'string' }, { type: 'boolean' }],
495
483
  },
496
484
  type: 'object',
497
485
  },
@@ -6383,6 +6371,68 @@ export default {
6383
6371
  'x-fern-sdk-method-name': 'list',
6384
6372
  },
6385
6373
  },
6374
+ '/acs/users/list_accessible_entrances': {
6375
+ post: {
6376
+ operationId: 'acsUsersListAccessibleEntrancesPost',
6377
+ requestBody: {
6378
+ content: {
6379
+ 'application/json': {
6380
+ schema: {
6381
+ properties: { acs_user_id: { format: 'uuid', type: 'string' } },
6382
+ required: ['acs_user_id'],
6383
+ type: 'object',
6384
+ },
6385
+ },
6386
+ },
6387
+ },
6388
+ responses: {
6389
+ 200: {
6390
+ content: {
6391
+ 'application/json': {
6392
+ schema: {
6393
+ properties: {
6394
+ acs_entrances: {
6395
+ items: {
6396
+ properties: {
6397
+ acs_entrance_id: { format: 'uuid', type: 'string' },
6398
+ acs_system_id: { format: 'uuid', type: 'string' },
6399
+ created_at: { format: 'date-time', type: 'string' },
6400
+ display_name: { type: 'string' },
6401
+ },
6402
+ required: [
6403
+ 'acs_entrance_id',
6404
+ 'display_name',
6405
+ 'acs_system_id',
6406
+ 'created_at',
6407
+ ],
6408
+ type: 'object',
6409
+ },
6410
+ type: 'array',
6411
+ },
6412
+ ok: { type: 'boolean' },
6413
+ },
6414
+ required: ['acs_entrances', 'ok'],
6415
+ type: 'object',
6416
+ },
6417
+ },
6418
+ },
6419
+ description: 'OK',
6420
+ },
6421
+ 400: { description: 'Bad Request' },
6422
+ 401: { description: 'Unauthorized' },
6423
+ },
6424
+ security: [
6425
+ { client_session: [] },
6426
+ { pat_with_workspace: [] },
6427
+ { console_session: [] },
6428
+ { api_key: [] },
6429
+ ],
6430
+ summary: '/acs/users/list_accessible_entrances',
6431
+ tags: ['/acs'],
6432
+ 'x-fern-sdk-group-name': ['acs', 'users'],
6433
+ 'x-fern-sdk-method-name': 'list_accessible_entrances',
6434
+ },
6435
+ },
6386
6436
  '/acs/users/remove_from_access_group': {
6387
6437
  post: {
6388
6438
  operationId: 'acsUsersRemoveFromAccessGroupPost',
@@ -7309,11 +7359,8 @@ export default {
7309
7359
  automatically_manage_new_devices: { type: 'boolean' },
7310
7360
  custom_metadata: {
7311
7361
  additionalProperties: {
7312
- nullable: true,
7313
7362
  oneOf: [
7314
7363
  { maxLength: 500, type: 'string' },
7315
- { type: 'number' },
7316
- { format: 'null', nullable: true, type: 'string' },
7317
7364
  { type: 'boolean' },
7318
7365
  ],
7319
7366
  },
@@ -11079,6 +11126,7 @@ export default {
11079
11126
  type: 'string',
11080
11127
  },
11081
11128
  full_name: { minLength: 1, nullable: true, type: 'string' },
11129
+ phone_number: { nullable: true, type: 'string' },
11082
11130
  user_identity_key: {
11083
11131
  minLength: 1,
11084
11132
  nullable: true,
@@ -11111,6 +11159,7 @@ export default {
11111
11159
  nullable: true,
11112
11160
  type: 'string',
11113
11161
  },
11162
+ phone_number: { nullable: true, type: 'string' },
11114
11163
  user_identity_id: { format: 'uuid', type: 'string' },
11115
11164
  user_identity_key: {
11116
11165
  minLength: 1,
@@ -11123,6 +11172,7 @@ export default {
11123
11172
  'user_identity_id',
11124
11173
  'user_identity_key',
11125
11174
  'email_address',
11175
+ 'phone_number',
11126
11176
  'display_name',
11127
11177
  'full_name',
11128
11178
  'created_at',
@@ -11385,6 +11435,7 @@ export default {
11385
11435
  nullable: true,
11386
11436
  type: 'string',
11387
11437
  },
11438
+ phone_number: { nullable: true, type: 'string' },
11388
11439
  user_identity_id: { format: 'uuid', type: 'string' },
11389
11440
  user_identity_key: {
11390
11441
  minLength: 1,
@@ -11397,6 +11448,7 @@ export default {
11397
11448
  'user_identity_id',
11398
11449
  'user_identity_key',
11399
11450
  'email_address',
11451
+ 'phone_number',
11400
11452
  'display_name',
11401
11453
  'full_name',
11402
11454
  'created_at',
@@ -11536,6 +11588,7 @@ export default {
11536
11588
  nullable: true,
11537
11589
  type: 'string',
11538
11590
  },
11591
+ phone_number: { nullable: true, type: 'string' },
11539
11592
  user_identity_id: { format: 'uuid', type: 'string' },
11540
11593
  user_identity_key: {
11541
11594
  minLength: 1,
@@ -11548,6 +11601,7 @@ export default {
11548
11601
  'user_identity_id',
11549
11602
  'user_identity_key',
11550
11603
  'email_address',
11604
+ 'phone_number',
11551
11605
  'display_name',
11552
11606
  'full_name',
11553
11607
  'created_at',
@@ -11602,6 +11656,7 @@ export default {
11602
11656
  nullable: true,
11603
11657
  type: 'string',
11604
11658
  },
11659
+ phone_number: { nullable: true, type: 'string' },
11605
11660
  user_identity_id: { format: 'uuid', type: 'string' },
11606
11661
  user_identity_key: {
11607
11662
  minLength: 1,
@@ -11614,6 +11669,7 @@ export default {
11614
11669
  'user_identity_id',
11615
11670
  'user_identity_key',
11616
11671
  'email_address',
11672
+ 'phone_number',
11617
11673
  'display_name',
11618
11674
  'full_name',
11619
11675
  'created_at',
@@ -11696,6 +11752,56 @@ export default {
11696
11752
  'x-fern-sdk-method-name': 'list_accessible_devices',
11697
11753
  },
11698
11754
  },
11755
+ '/user_identities/list_acs_systems': {
11756
+ post: {
11757
+ operationId: 'userIdentitiesListAcsSystemsPost',
11758
+ requestBody: {
11759
+ content: {
11760
+ 'application/json': {
11761
+ schema: {
11762
+ properties: {
11763
+ user_identity_id: { format: 'uuid', type: 'string' },
11764
+ },
11765
+ required: ['user_identity_id'],
11766
+ type: 'object',
11767
+ },
11768
+ },
11769
+ },
11770
+ },
11771
+ responses: {
11772
+ 200: {
11773
+ content: {
11774
+ 'application/json': {
11775
+ schema: {
11776
+ properties: {
11777
+ acs_systems: {
11778
+ items: { $ref: '#/components/schemas/acs_system' },
11779
+ type: 'array',
11780
+ },
11781
+ ok: { type: 'boolean' },
11782
+ },
11783
+ required: ['acs_systems', 'ok'],
11784
+ type: 'object',
11785
+ },
11786
+ },
11787
+ },
11788
+ description: 'OK',
11789
+ },
11790
+ 400: { description: 'Bad Request' },
11791
+ 401: { description: 'Unauthorized' },
11792
+ },
11793
+ security: [
11794
+ { client_session: [] },
11795
+ { pat_with_workspace: [] },
11796
+ { console_session: [] },
11797
+ { api_key: [] },
11798
+ ],
11799
+ summary: '/user_identities/list_acs_systems',
11800
+ tags: ['/user_identities'],
11801
+ 'x-fern-sdk-group-name': ['user_identities'],
11802
+ 'x-fern-sdk-method-name': 'list_acs_systems',
11803
+ },
11804
+ },
11699
11805
  '/user_identities/list_acs_users': {
11700
11806
  post: {
11701
11807
  operationId: 'userIdentitiesListAcsUsersPost',