@seamapi/types 1.81.0 → 1.83.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 +84 -23
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +183 -37
- package/lib/seam/connect/openapi.d.ts +133 -26
- package/lib/seam/connect/openapi.js +82 -18
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +46 -7
- package/lib/seam/connect/stable/models/connect-webview.d.ts +3 -3
- package/lib/seam/connect/stable/models/custom-metadata.d.ts +1 -1
- package/lib/seam/connect/stable/models/custom-metadata.js +1 -1
- package/lib/seam/connect/stable/models/custom-metadata.js.map +1 -1
- package/lib/seam/connect/unstable/models/acs/user.d.ts +9 -0
- package/lib/seam/connect/unstable/models/acs/user.js +4 -9
- package/lib/seam/connect/unstable/models/acs/user.js.map +1 -1
- package/lib/seam/connect/unstable/models/index.d.ts +1 -0
- package/lib/seam/connect/unstable/models/index.js +1 -0
- package/lib/seam/connect/unstable/models/index.js.map +1 -1
- package/lib/seam/connect/unstable/models/phone-number.d.ts +2 -0
- package/lib/seam/connect/unstable/models/phone-number.js +11 -0
- package/lib/seam/connect/unstable/models/phone-number.js.map +1 -0
- package/lib/seam/connect/unstable/models/user-identity.d.ts +3 -0
- package/lib/seam/connect/unstable/models/user-identity.js +2 -0
- package/lib/seam/connect/unstable/models/user-identity.js.map +1 -1
- package/lib/seam/connect/unstable/schemas.d.ts +1 -1
- package/lib/seam/connect/unstable/schemas.js +1 -1
- package/lib/seam/connect/unstable/schemas.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +82 -18
- package/src/lib/seam/connect/route-types.ts +46 -15
- package/src/lib/seam/connect/stable/models/custom-metadata.ts +1 -4
- package/src/lib/seam/connect/unstable/models/acs/user.ts +4 -13
- package/src/lib/seam/connect/unstable/models/index.ts +1 -0
- package/src/lib/seam/connect/unstable/models/phone-number.ts +14 -0
- package/src/lib/seam/connect/unstable/models/user-identity.ts +3 -0
- package/src/lib/seam/connect/unstable/schemas.ts +1 -0
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
|
|
|
@@ -297,6 +294,9 @@ var openapi_default = {
|
|
|
297
294
|
hid_acs_system_id: { format: "uuid", type: "string" },
|
|
298
295
|
is_suspended: { type: "boolean" },
|
|
299
296
|
phone_number: { nullable: true, type: "string" },
|
|
297
|
+
user_identity_email_address: { type: "string" },
|
|
298
|
+
user_identity_id: { type: "string" },
|
|
299
|
+
user_identity_phone_number: { type: "string" },
|
|
300
300
|
workspace_id: { format: "uuid", type: "string" }
|
|
301
301
|
},
|
|
302
302
|
required: [
|
|
@@ -452,13 +452,7 @@ var openapi_default = {
|
|
|
452
452
|
created_at: { format: "date-time", type: "string" },
|
|
453
453
|
custom_metadata: {
|
|
454
454
|
additionalProperties: {
|
|
455
|
-
|
|
456
|
-
oneOf: [
|
|
457
|
-
{ maxLength: 500, type: "string" },
|
|
458
|
-
{ type: "number" },
|
|
459
|
-
{ format: "null", nullable: true, type: "string" },
|
|
460
|
-
{ type: "boolean" }
|
|
461
|
-
]
|
|
455
|
+
oneOf: [{ maxLength: 500, type: "string" }, { type: "boolean" }]
|
|
462
456
|
},
|
|
463
457
|
type: "object"
|
|
464
458
|
},
|
|
@@ -514,13 +508,7 @@ var openapi_default = {
|
|
|
514
508
|
created_at: { format: "date-time", type: "string" },
|
|
515
509
|
custom_metadata: {
|
|
516
510
|
additionalProperties: {
|
|
517
|
-
|
|
518
|
-
oneOf: [
|
|
519
|
-
{ type: "string" },
|
|
520
|
-
{ type: "number" },
|
|
521
|
-
{ type: "boolean" },
|
|
522
|
-
{ format: "null", nullable: true, type: "string" }
|
|
523
|
-
]
|
|
511
|
+
oneOf: [{ maxLength: 500, type: "string" }, { type: "boolean" }]
|
|
524
512
|
},
|
|
525
513
|
type: "object"
|
|
526
514
|
},
|
|
@@ -6303,7 +6291,12 @@ var openapi_default = {
|
|
|
6303
6291
|
schema: {
|
|
6304
6292
|
properties: {
|
|
6305
6293
|
acs_system_id: { format: "uuid", type: "string" },
|
|
6306
|
-
|
|
6294
|
+
user_identity_email_address: { type: "string" },
|
|
6295
|
+
user_identity_id: { format: "uuid", type: "string" },
|
|
6296
|
+
user_identity_phone_number: {
|
|
6297
|
+
nullable: true,
|
|
6298
|
+
type: "string"
|
|
6299
|
+
}
|
|
6307
6300
|
},
|
|
6308
6301
|
type: "object"
|
|
6309
6302
|
}
|
|
@@ -6344,6 +6337,68 @@ var openapi_default = {
|
|
|
6344
6337
|
"x-fern-sdk-method-name": "list"
|
|
6345
6338
|
}
|
|
6346
6339
|
},
|
|
6340
|
+
"/acs/users/list_accessible_entrances": {
|
|
6341
|
+
post: {
|
|
6342
|
+
operationId: "acsUsersListAccessibleEntrancesPost",
|
|
6343
|
+
requestBody: {
|
|
6344
|
+
content: {
|
|
6345
|
+
"application/json": {
|
|
6346
|
+
schema: {
|
|
6347
|
+
properties: { acs_user_id: { format: "uuid", type: "string" } },
|
|
6348
|
+
required: ["acs_user_id"],
|
|
6349
|
+
type: "object"
|
|
6350
|
+
}
|
|
6351
|
+
}
|
|
6352
|
+
}
|
|
6353
|
+
},
|
|
6354
|
+
responses: {
|
|
6355
|
+
200: {
|
|
6356
|
+
content: {
|
|
6357
|
+
"application/json": {
|
|
6358
|
+
schema: {
|
|
6359
|
+
properties: {
|
|
6360
|
+
acs_entrances: {
|
|
6361
|
+
items: {
|
|
6362
|
+
properties: {
|
|
6363
|
+
acs_entrance_id: { format: "uuid", type: "string" },
|
|
6364
|
+
acs_system_id: { format: "uuid", type: "string" },
|
|
6365
|
+
created_at: { format: "date-time", type: "string" },
|
|
6366
|
+
display_name: { type: "string" }
|
|
6367
|
+
},
|
|
6368
|
+
required: [
|
|
6369
|
+
"acs_entrance_id",
|
|
6370
|
+
"display_name",
|
|
6371
|
+
"acs_system_id",
|
|
6372
|
+
"created_at"
|
|
6373
|
+
],
|
|
6374
|
+
type: "object"
|
|
6375
|
+
},
|
|
6376
|
+
type: "array"
|
|
6377
|
+
},
|
|
6378
|
+
ok: { type: "boolean" }
|
|
6379
|
+
},
|
|
6380
|
+
required: ["acs_entrances", "ok"],
|
|
6381
|
+
type: "object"
|
|
6382
|
+
}
|
|
6383
|
+
}
|
|
6384
|
+
},
|
|
6385
|
+
description: "OK"
|
|
6386
|
+
},
|
|
6387
|
+
400: { description: "Bad Request" },
|
|
6388
|
+
401: { description: "Unauthorized" }
|
|
6389
|
+
},
|
|
6390
|
+
security: [
|
|
6391
|
+
{ client_session: [] },
|
|
6392
|
+
{ pat_with_workspace: [] },
|
|
6393
|
+
{ console_session: [] },
|
|
6394
|
+
{ api_key: [] }
|
|
6395
|
+
],
|
|
6396
|
+
summary: "/acs/users/list_accessible_entrances",
|
|
6397
|
+
tags: ["/acs"],
|
|
6398
|
+
"x-fern-sdk-group-name": ["acs", "users"],
|
|
6399
|
+
"x-fern-sdk-method-name": "list_accessible_entrances"
|
|
6400
|
+
}
|
|
6401
|
+
},
|
|
6347
6402
|
"/acs/users/remove_from_access_group": {
|
|
6348
6403
|
post: {
|
|
6349
6404
|
operationId: "acsUsersRemoveFromAccessGroupPost",
|
|
@@ -7270,11 +7325,8 @@ var openapi_default = {
|
|
|
7270
7325
|
automatically_manage_new_devices: { type: "boolean" },
|
|
7271
7326
|
custom_metadata: {
|
|
7272
7327
|
additionalProperties: {
|
|
7273
|
-
nullable: true,
|
|
7274
7328
|
oneOf: [
|
|
7275
7329
|
{ maxLength: 500, type: "string" },
|
|
7276
|
-
{ type: "number" },
|
|
7277
|
-
{ format: "null", nullable: true, type: "string" },
|
|
7278
7330
|
{ type: "boolean" }
|
|
7279
7331
|
]
|
|
7280
7332
|
},
|
|
@@ -11036,6 +11088,7 @@ var openapi_default = {
|
|
|
11036
11088
|
type: "string"
|
|
11037
11089
|
},
|
|
11038
11090
|
full_name: { minLength: 1, nullable: true, type: "string" },
|
|
11091
|
+
phone_number: { nullable: true, type: "string" },
|
|
11039
11092
|
user_identity_key: {
|
|
11040
11093
|
minLength: 1,
|
|
11041
11094
|
nullable: true,
|
|
@@ -11068,6 +11121,7 @@ var openapi_default = {
|
|
|
11068
11121
|
nullable: true,
|
|
11069
11122
|
type: "string"
|
|
11070
11123
|
},
|
|
11124
|
+
phone_number: { nullable: true, type: "string" },
|
|
11071
11125
|
user_identity_id: { format: "uuid", type: "string" },
|
|
11072
11126
|
user_identity_key: {
|
|
11073
11127
|
minLength: 1,
|
|
@@ -11080,6 +11134,7 @@ var openapi_default = {
|
|
|
11080
11134
|
"user_identity_id",
|
|
11081
11135
|
"user_identity_key",
|
|
11082
11136
|
"email_address",
|
|
11137
|
+
"phone_number",
|
|
11083
11138
|
"display_name",
|
|
11084
11139
|
"full_name",
|
|
11085
11140
|
"created_at",
|
|
@@ -11342,6 +11397,7 @@ var openapi_default = {
|
|
|
11342
11397
|
nullable: true,
|
|
11343
11398
|
type: "string"
|
|
11344
11399
|
},
|
|
11400
|
+
phone_number: { nullable: true, type: "string" },
|
|
11345
11401
|
user_identity_id: { format: "uuid", type: "string" },
|
|
11346
11402
|
user_identity_key: {
|
|
11347
11403
|
minLength: 1,
|
|
@@ -11354,6 +11410,7 @@ var openapi_default = {
|
|
|
11354
11410
|
"user_identity_id",
|
|
11355
11411
|
"user_identity_key",
|
|
11356
11412
|
"email_address",
|
|
11413
|
+
"phone_number",
|
|
11357
11414
|
"display_name",
|
|
11358
11415
|
"full_name",
|
|
11359
11416
|
"created_at",
|
|
@@ -11493,6 +11550,7 @@ var openapi_default = {
|
|
|
11493
11550
|
nullable: true,
|
|
11494
11551
|
type: "string"
|
|
11495
11552
|
},
|
|
11553
|
+
phone_number: { nullable: true, type: "string" },
|
|
11496
11554
|
user_identity_id: { format: "uuid", type: "string" },
|
|
11497
11555
|
user_identity_key: {
|
|
11498
11556
|
minLength: 1,
|
|
@@ -11505,6 +11563,7 @@ var openapi_default = {
|
|
|
11505
11563
|
"user_identity_id",
|
|
11506
11564
|
"user_identity_key",
|
|
11507
11565
|
"email_address",
|
|
11566
|
+
"phone_number",
|
|
11508
11567
|
"display_name",
|
|
11509
11568
|
"full_name",
|
|
11510
11569
|
"created_at",
|
|
@@ -11559,6 +11618,7 @@ var openapi_default = {
|
|
|
11559
11618
|
nullable: true,
|
|
11560
11619
|
type: "string"
|
|
11561
11620
|
},
|
|
11621
|
+
phone_number: { nullable: true, type: "string" },
|
|
11562
11622
|
user_identity_id: { format: "uuid", type: "string" },
|
|
11563
11623
|
user_identity_key: {
|
|
11564
11624
|
minLength: 1,
|
|
@@ -11571,6 +11631,7 @@ var openapi_default = {
|
|
|
11571
11631
|
"user_identity_id",
|
|
11572
11632
|
"user_identity_key",
|
|
11573
11633
|
"email_address",
|
|
11634
|
+
"phone_number",
|
|
11574
11635
|
"display_name",
|
|
11575
11636
|
"full_name",
|
|
11576
11637
|
"created_at",
|
|
@@ -11698,7 +11759,7 @@ var openapi_default = {
|
|
|
11698
11759
|
{ api_key: [] }
|
|
11699
11760
|
],
|
|
11700
11761
|
summary: "/user_identities/list_acs_systems",
|
|
11701
|
-
tags: [],
|
|
11762
|
+
tags: ["/user_identities"],
|
|
11702
11763
|
"x-fern-sdk-group-name": ["user_identities"],
|
|
11703
11764
|
"x-fern-sdk-method-name": "list_acs_systems"
|
|
11704
11765
|
}
|