@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.
package/dist/connect.cjs CHANGED
@@ -14,10 +14,7 @@ __export(schemas_exports, {
14
14
  connect_webview: () => connect_webview,
15
15
  custom_metadata: () => custom_metadata
16
16
  });
17
- var custom_metadata = zod.z.record(
18
- zod.z.string().max(40),
19
- zod.z.union([zod.z.string().max(500), zod.z.number(), zod.z.null(), zod.z.boolean()])
20
- ).refine((val) => Object.keys(val).length <= 50, {
17
+ var custom_metadata = zod.z.record(zod.z.string().max(40), zod.z.union([zod.z.string().max(500), zod.z.boolean()])).refine((val) => Object.keys(val).length <= 50, {
21
18
  message: "Custom metadata is limited to a maximum of 50 keys"
22
19
  });
23
20
 
@@ -452,13 +449,7 @@ var openapi_default = {
452
449
  created_at: { format: "date-time", type: "string" },
453
450
  custom_metadata: {
454
451
  additionalProperties: {
455
- nullable: true,
456
- oneOf: [
457
- { maxLength: 500, type: "string" },
458
- { type: "number" },
459
- { format: "null", nullable: true, type: "string" },
460
- { type: "boolean" }
461
- ]
452
+ oneOf: [{ maxLength: 500, type: "string" }, { type: "boolean" }]
462
453
  },
463
454
  type: "object"
464
455
  },
@@ -514,13 +505,7 @@ var openapi_default = {
514
505
  created_at: { format: "date-time", type: "string" },
515
506
  custom_metadata: {
516
507
  additionalProperties: {
517
- nullable: true,
518
- oneOf: [
519
- { type: "string" },
520
- { type: "number" },
521
- { type: "boolean" },
522
- { format: "null", nullable: true, type: "string" }
523
- ]
508
+ oneOf: [{ maxLength: 500, type: "string" }, { type: "boolean" }]
524
509
  },
525
510
  type: "object"
526
511
  },
@@ -6344,6 +6329,68 @@ var openapi_default = {
6344
6329
  "x-fern-sdk-method-name": "list"
6345
6330
  }
6346
6331
  },
6332
+ "/acs/users/list_accessible_entrances": {
6333
+ post: {
6334
+ operationId: "acsUsersListAccessibleEntrancesPost",
6335
+ requestBody: {
6336
+ content: {
6337
+ "application/json": {
6338
+ schema: {
6339
+ properties: { acs_user_id: { format: "uuid", type: "string" } },
6340
+ required: ["acs_user_id"],
6341
+ type: "object"
6342
+ }
6343
+ }
6344
+ }
6345
+ },
6346
+ responses: {
6347
+ 200: {
6348
+ content: {
6349
+ "application/json": {
6350
+ schema: {
6351
+ properties: {
6352
+ acs_entrances: {
6353
+ items: {
6354
+ properties: {
6355
+ acs_entrance_id: { format: "uuid", type: "string" },
6356
+ acs_system_id: { format: "uuid", type: "string" },
6357
+ created_at: { format: "date-time", type: "string" },
6358
+ display_name: { type: "string" }
6359
+ },
6360
+ required: [
6361
+ "acs_entrance_id",
6362
+ "display_name",
6363
+ "acs_system_id",
6364
+ "created_at"
6365
+ ],
6366
+ type: "object"
6367
+ },
6368
+ type: "array"
6369
+ },
6370
+ ok: { type: "boolean" }
6371
+ },
6372
+ required: ["acs_entrances", "ok"],
6373
+ type: "object"
6374
+ }
6375
+ }
6376
+ },
6377
+ description: "OK"
6378
+ },
6379
+ 400: { description: "Bad Request" },
6380
+ 401: { description: "Unauthorized" }
6381
+ },
6382
+ security: [
6383
+ { client_session: [] },
6384
+ { pat_with_workspace: [] },
6385
+ { console_session: [] },
6386
+ { api_key: [] }
6387
+ ],
6388
+ summary: "/acs/users/list_accessible_entrances",
6389
+ tags: ["/acs"],
6390
+ "x-fern-sdk-group-name": ["acs", "users"],
6391
+ "x-fern-sdk-method-name": "list_accessible_entrances"
6392
+ }
6393
+ },
6347
6394
  "/acs/users/remove_from_access_group": {
6348
6395
  post: {
6349
6396
  operationId: "acsUsersRemoveFromAccessGroupPost",
@@ -7270,11 +7317,8 @@ var openapi_default = {
7270
7317
  automatically_manage_new_devices: { type: "boolean" },
7271
7318
  custom_metadata: {
7272
7319
  additionalProperties: {
7273
- nullable: true,
7274
7320
  oneOf: [
7275
7321
  { maxLength: 500, type: "string" },
7276
- { type: "number" },
7277
- { format: "null", nullable: true, type: "string" },
7278
7322
  { type: "boolean" }
7279
7323
  ]
7280
7324
  },
@@ -11036,6 +11080,7 @@ var openapi_default = {
11036
11080
  type: "string"
11037
11081
  },
11038
11082
  full_name: { minLength: 1, nullable: true, type: "string" },
11083
+ phone_number: { nullable: true, type: "string" },
11039
11084
  user_identity_key: {
11040
11085
  minLength: 1,
11041
11086
  nullable: true,
@@ -11068,6 +11113,7 @@ var openapi_default = {
11068
11113
  nullable: true,
11069
11114
  type: "string"
11070
11115
  },
11116
+ phone_number: { nullable: true, type: "string" },
11071
11117
  user_identity_id: { format: "uuid", type: "string" },
11072
11118
  user_identity_key: {
11073
11119
  minLength: 1,
@@ -11080,6 +11126,7 @@ var openapi_default = {
11080
11126
  "user_identity_id",
11081
11127
  "user_identity_key",
11082
11128
  "email_address",
11129
+ "phone_number",
11083
11130
  "display_name",
11084
11131
  "full_name",
11085
11132
  "created_at",
@@ -11342,6 +11389,7 @@ var openapi_default = {
11342
11389
  nullable: true,
11343
11390
  type: "string"
11344
11391
  },
11392
+ phone_number: { nullable: true, type: "string" },
11345
11393
  user_identity_id: { format: "uuid", type: "string" },
11346
11394
  user_identity_key: {
11347
11395
  minLength: 1,
@@ -11354,6 +11402,7 @@ var openapi_default = {
11354
11402
  "user_identity_id",
11355
11403
  "user_identity_key",
11356
11404
  "email_address",
11405
+ "phone_number",
11357
11406
  "display_name",
11358
11407
  "full_name",
11359
11408
  "created_at",
@@ -11493,6 +11542,7 @@ var openapi_default = {
11493
11542
  nullable: true,
11494
11543
  type: "string"
11495
11544
  },
11545
+ phone_number: { nullable: true, type: "string" },
11496
11546
  user_identity_id: { format: "uuid", type: "string" },
11497
11547
  user_identity_key: {
11498
11548
  minLength: 1,
@@ -11505,6 +11555,7 @@ var openapi_default = {
11505
11555
  "user_identity_id",
11506
11556
  "user_identity_key",
11507
11557
  "email_address",
11558
+ "phone_number",
11508
11559
  "display_name",
11509
11560
  "full_name",
11510
11561
  "created_at",
@@ -11559,6 +11610,7 @@ var openapi_default = {
11559
11610
  nullable: true,
11560
11611
  type: "string"
11561
11612
  },
11613
+ phone_number: { nullable: true, type: "string" },
11562
11614
  user_identity_id: { format: "uuid", type: "string" },
11563
11615
  user_identity_key: {
11564
11616
  minLength: 1,
@@ -11571,6 +11623,7 @@ var openapi_default = {
11571
11623
  "user_identity_id",
11572
11624
  "user_identity_key",
11573
11625
  "email_address",
11626
+ "phone_number",
11574
11627
  "display_name",
11575
11628
  "full_name",
11576
11629
  "created_at",
@@ -11653,6 +11706,56 @@ var openapi_default = {
11653
11706
  "x-fern-sdk-method-name": "list_accessible_devices"
11654
11707
  }
11655
11708
  },
11709
+ "/user_identities/list_acs_systems": {
11710
+ post: {
11711
+ operationId: "userIdentitiesListAcsSystemsPost",
11712
+ requestBody: {
11713
+ content: {
11714
+ "application/json": {
11715
+ schema: {
11716
+ properties: {
11717
+ user_identity_id: { format: "uuid", type: "string" }
11718
+ },
11719
+ required: ["user_identity_id"],
11720
+ type: "object"
11721
+ }
11722
+ }
11723
+ }
11724
+ },
11725
+ responses: {
11726
+ 200: {
11727
+ content: {
11728
+ "application/json": {
11729
+ schema: {
11730
+ properties: {
11731
+ acs_systems: {
11732
+ items: { $ref: "#/components/schemas/acs_system" },
11733
+ type: "array"
11734
+ },
11735
+ ok: { type: "boolean" }
11736
+ },
11737
+ required: ["acs_systems", "ok"],
11738
+ type: "object"
11739
+ }
11740
+ }
11741
+ },
11742
+ description: "OK"
11743
+ },
11744
+ 400: { description: "Bad Request" },
11745
+ 401: { description: "Unauthorized" }
11746
+ },
11747
+ security: [
11748
+ { client_session: [] },
11749
+ { pat_with_workspace: [] },
11750
+ { console_session: [] },
11751
+ { api_key: [] }
11752
+ ],
11753
+ summary: "/user_identities/list_acs_systems",
11754
+ tags: ["/user_identities"],
11755
+ "x-fern-sdk-group-name": ["user_identities"],
11756
+ "x-fern-sdk-method-name": "list_acs_systems"
11757
+ }
11758
+ },
11656
11759
  "/user_identities/list_acs_users": {
11657
11760
  post: {
11658
11761
  operationId: "userIdentitiesListAcsUsersPost",