@seamapi/types 1.46.0 → 1.47.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 +204 -7
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +324 -10
- package/lib/seam/connect/openapi.d.ts +266 -0
- package/lib/seam/connect/openapi.js +204 -7
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +58 -10
- package/lib/seam/connect/unstable/models/acs/entrance.d.ts +18 -0
- package/lib/seam/connect/unstable/models/acs/entrance.js +8 -0
- package/lib/seam/connect/unstable/models/acs/entrance.js.map +1 -0
- package/lib/seam/connect/unstable/models/acs/index.d.ts +1 -0
- package/lib/seam/connect/unstable/models/acs/index.js +1 -0
- package/lib/seam/connect/unstable/models/acs/index.js.map +1 -1
- package/lib/seam/connect/unstable/models/acs/system.d.ts +7 -7
- package/lib/seam/connect/unstable/models/acs/system.js +1 -0
- package/lib/seam/connect/unstable/models/acs/system.js.map +1 -1
- package/lib/seam/connect/unstable/models/acs/user.d.ts +4 -4
- package/lib/seam/connect/unstable/models/acs/user.js +5 -1
- package/lib/seam/connect/unstable/models/acs/user.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 +204 -7
- package/src/lib/seam/connect/route-types.ts +78 -10
- package/src/lib/seam/connect/unstable/models/acs/entrance.ts +10 -0
- package/src/lib/seam/connect/unstable/models/acs/index.ts +1 -0
- package/src/lib/seam/connect/unstable/models/acs/system.ts +1 -0
- package/src/lib/seam/connect/unstable/models/acs/user.ts +5 -1
- package/src/lib/seam/connect/unstable/schemas.ts +1 -0
package/dist/connect.cjs
CHANGED
|
@@ -147,14 +147,26 @@ var openapi_default = {
|
|
|
147
147
|
connected_account_ids: { items: { type: "string" }, type: "array" },
|
|
148
148
|
created_at: { format: "date-time", type: "string" },
|
|
149
149
|
external_type: {
|
|
150
|
-
enum: [
|
|
150
|
+
enum: [
|
|
151
|
+
"pti_site",
|
|
152
|
+
"alta_org",
|
|
153
|
+
"salto_site",
|
|
154
|
+
"brivo_system",
|
|
155
|
+
"hid_cm_org"
|
|
156
|
+
],
|
|
151
157
|
type: "string"
|
|
152
158
|
},
|
|
153
159
|
external_type_display_name: { type: "string" },
|
|
154
160
|
name: { type: "string" },
|
|
155
161
|
system_type: {
|
|
156
162
|
description: "deprecated: use external_type",
|
|
157
|
-
enum: [
|
|
163
|
+
enum: [
|
|
164
|
+
"pti_site",
|
|
165
|
+
"alta_org",
|
|
166
|
+
"salto_site",
|
|
167
|
+
"brivo_system",
|
|
168
|
+
"hid_cm_org"
|
|
169
|
+
],
|
|
158
170
|
type: "string"
|
|
159
171
|
},
|
|
160
172
|
system_type_display_name: {
|
|
@@ -186,7 +198,10 @@ var openapi_default = {
|
|
|
186
198
|
type: "string"
|
|
187
199
|
},
|
|
188
200
|
email_address: { format: "email", type: "string" },
|
|
189
|
-
external_type: {
|
|
201
|
+
external_type: {
|
|
202
|
+
enum: ["pti_user", "brivo_user", "hid_cm_user"],
|
|
203
|
+
type: "string"
|
|
204
|
+
},
|
|
190
205
|
external_type_display_name: { type: "string" },
|
|
191
206
|
full_name: { type: "string" },
|
|
192
207
|
is_suspended: { type: "boolean" },
|
|
@@ -3417,8 +3432,37 @@ var openapi_default = {
|
|
|
3417
3432
|
content: {
|
|
3418
3433
|
"application/json": {
|
|
3419
3434
|
schema: {
|
|
3420
|
-
properties: {
|
|
3421
|
-
|
|
3435
|
+
properties: {
|
|
3436
|
+
acs_credential: {
|
|
3437
|
+
properties: {
|
|
3438
|
+
acs_credential_id: { format: "uuid", type: "string" },
|
|
3439
|
+
acs_system_id: { format: "uuid", type: "string" },
|
|
3440
|
+
acs_user_id: { format: "uuid", type: "string" },
|
|
3441
|
+
code: { nullable: true, type: "string" },
|
|
3442
|
+
created_at: { format: "date-time", type: "string" },
|
|
3443
|
+
display_name: { minLength: 1, type: "string" },
|
|
3444
|
+
external_type: {
|
|
3445
|
+
enum: ["pti_card", "brivo_credential"],
|
|
3446
|
+
type: "string"
|
|
3447
|
+
},
|
|
3448
|
+
external_type_display_name: { type: "string" },
|
|
3449
|
+
workspace_id: { format: "uuid", type: "string" }
|
|
3450
|
+
},
|
|
3451
|
+
required: [
|
|
3452
|
+
"acs_credential_id",
|
|
3453
|
+
"acs_system_id",
|
|
3454
|
+
"display_name",
|
|
3455
|
+
"code",
|
|
3456
|
+
"external_type",
|
|
3457
|
+
"external_type_display_name",
|
|
3458
|
+
"created_at",
|
|
3459
|
+
"workspace_id"
|
|
3460
|
+
],
|
|
3461
|
+
type: "object"
|
|
3462
|
+
},
|
|
3463
|
+
ok: { type: "boolean" }
|
|
3464
|
+
},
|
|
3465
|
+
required: ["acs_credential", "ok"],
|
|
3422
3466
|
type: "object"
|
|
3423
3467
|
}
|
|
3424
3468
|
}
|
|
@@ -3458,8 +3502,37 @@ var openapi_default = {
|
|
|
3458
3502
|
content: {
|
|
3459
3503
|
"application/json": {
|
|
3460
3504
|
schema: {
|
|
3461
|
-
properties: {
|
|
3462
|
-
|
|
3505
|
+
properties: {
|
|
3506
|
+
acs_credential: {
|
|
3507
|
+
properties: {
|
|
3508
|
+
acs_credential_id: { format: "uuid", type: "string" },
|
|
3509
|
+
acs_system_id: { format: "uuid", type: "string" },
|
|
3510
|
+
acs_user_id: { format: "uuid", type: "string" },
|
|
3511
|
+
code: { nullable: true, type: "string" },
|
|
3512
|
+
created_at: { format: "date-time", type: "string" },
|
|
3513
|
+
display_name: { minLength: 1, type: "string" },
|
|
3514
|
+
external_type: {
|
|
3515
|
+
enum: ["pti_card", "brivo_credential"],
|
|
3516
|
+
type: "string"
|
|
3517
|
+
},
|
|
3518
|
+
external_type_display_name: { type: "string" },
|
|
3519
|
+
workspace_id: { format: "uuid", type: "string" }
|
|
3520
|
+
},
|
|
3521
|
+
required: [
|
|
3522
|
+
"acs_credential_id",
|
|
3523
|
+
"acs_system_id",
|
|
3524
|
+
"display_name",
|
|
3525
|
+
"code",
|
|
3526
|
+
"external_type",
|
|
3527
|
+
"external_type_display_name",
|
|
3528
|
+
"created_at",
|
|
3529
|
+
"workspace_id"
|
|
3530
|
+
],
|
|
3531
|
+
type: "object"
|
|
3532
|
+
},
|
|
3533
|
+
ok: { type: "boolean" }
|
|
3534
|
+
},
|
|
3535
|
+
required: ["acs_credential", "ok"],
|
|
3463
3536
|
type: "object"
|
|
3464
3537
|
}
|
|
3465
3538
|
}
|
|
@@ -3480,6 +3553,130 @@ var openapi_default = {
|
|
|
3480
3553
|
"x-fern-sdk-method-name": "unassign"
|
|
3481
3554
|
}
|
|
3482
3555
|
},
|
|
3556
|
+
"/acs/entrances/get": {
|
|
3557
|
+
post: {
|
|
3558
|
+
operationId: "acsEntrancesGetPost",
|
|
3559
|
+
requestBody: {
|
|
3560
|
+
content: {
|
|
3561
|
+
"application/json": {
|
|
3562
|
+
schema: {
|
|
3563
|
+
properties: {
|
|
3564
|
+
acs_entrance_id: { format: "uuid", type: "string" }
|
|
3565
|
+
},
|
|
3566
|
+
required: ["acs_entrance_id"],
|
|
3567
|
+
type: "object"
|
|
3568
|
+
}
|
|
3569
|
+
}
|
|
3570
|
+
}
|
|
3571
|
+
},
|
|
3572
|
+
responses: {
|
|
3573
|
+
200: {
|
|
3574
|
+
content: {
|
|
3575
|
+
"application/json": {
|
|
3576
|
+
schema: {
|
|
3577
|
+
properties: {
|
|
3578
|
+
acs_entrance: {
|
|
3579
|
+
properties: {
|
|
3580
|
+
acs_entrance_id: { format: "uuid", type: "string" },
|
|
3581
|
+
acs_system_id: { format: "uuid", type: "string" },
|
|
3582
|
+
created_at: { format: "date-time", type: "string" },
|
|
3583
|
+
display_name: { type: "string" }
|
|
3584
|
+
},
|
|
3585
|
+
required: [
|
|
3586
|
+
"acs_entrance_id",
|
|
3587
|
+
"display_name",
|
|
3588
|
+
"acs_system_id",
|
|
3589
|
+
"created_at"
|
|
3590
|
+
],
|
|
3591
|
+
type: "object"
|
|
3592
|
+
},
|
|
3593
|
+
ok: { type: "boolean" }
|
|
3594
|
+
},
|
|
3595
|
+
required: ["acs_entrance", "ok"],
|
|
3596
|
+
type: "object"
|
|
3597
|
+
}
|
|
3598
|
+
}
|
|
3599
|
+
},
|
|
3600
|
+
description: "OK"
|
|
3601
|
+
},
|
|
3602
|
+
400: { description: "Bad Request" },
|
|
3603
|
+
401: { description: "Unauthorized" }
|
|
3604
|
+
},
|
|
3605
|
+
security: [
|
|
3606
|
+
{ api_key: [] },
|
|
3607
|
+
{ access_token: [] },
|
|
3608
|
+
{ user_session: [] },
|
|
3609
|
+
{ client_session: [] }
|
|
3610
|
+
],
|
|
3611
|
+
summary: "/acs/entrances/get",
|
|
3612
|
+
tags: [],
|
|
3613
|
+
"x-fern-sdk-group-name": ["acs", "entrances"],
|
|
3614
|
+
"x-fern-sdk-method-name": "get"
|
|
3615
|
+
}
|
|
3616
|
+
},
|
|
3617
|
+
"/acs/entrances/list": {
|
|
3618
|
+
post: {
|
|
3619
|
+
operationId: "acsEntrancesListPost",
|
|
3620
|
+
requestBody: {
|
|
3621
|
+
content: {
|
|
3622
|
+
"application/json": {
|
|
3623
|
+
schema: {
|
|
3624
|
+
properties: {
|
|
3625
|
+
acs_system_id: { format: "uuid", type: "string" }
|
|
3626
|
+
},
|
|
3627
|
+
type: "object"
|
|
3628
|
+
}
|
|
3629
|
+
}
|
|
3630
|
+
}
|
|
3631
|
+
},
|
|
3632
|
+
responses: {
|
|
3633
|
+
200: {
|
|
3634
|
+
content: {
|
|
3635
|
+
"application/json": {
|
|
3636
|
+
schema: {
|
|
3637
|
+
properties: {
|
|
3638
|
+
acs_entrances: {
|
|
3639
|
+
items: {
|
|
3640
|
+
properties: {
|
|
3641
|
+
acs_entrance_id: { format: "uuid", type: "string" },
|
|
3642
|
+
acs_system_id: { format: "uuid", type: "string" },
|
|
3643
|
+
created_at: { format: "date-time", type: "string" },
|
|
3644
|
+
display_name: { type: "string" }
|
|
3645
|
+
},
|
|
3646
|
+
required: [
|
|
3647
|
+
"acs_entrance_id",
|
|
3648
|
+
"display_name",
|
|
3649
|
+
"acs_system_id",
|
|
3650
|
+
"created_at"
|
|
3651
|
+
],
|
|
3652
|
+
type: "object"
|
|
3653
|
+
},
|
|
3654
|
+
type: "array"
|
|
3655
|
+
},
|
|
3656
|
+
ok: { type: "boolean" }
|
|
3657
|
+
},
|
|
3658
|
+
required: ["acs_entrances", "ok"],
|
|
3659
|
+
type: "object"
|
|
3660
|
+
}
|
|
3661
|
+
}
|
|
3662
|
+
},
|
|
3663
|
+
description: "OK"
|
|
3664
|
+
},
|
|
3665
|
+
400: { description: "Bad Request" },
|
|
3666
|
+
401: { description: "Unauthorized" }
|
|
3667
|
+
},
|
|
3668
|
+
security: [
|
|
3669
|
+
{ api_key: [] },
|
|
3670
|
+
{ access_token: [] },
|
|
3671
|
+
{ user_session: [] },
|
|
3672
|
+
{ client_session: [] }
|
|
3673
|
+
],
|
|
3674
|
+
summary: "/acs/entrances/list",
|
|
3675
|
+
tags: [],
|
|
3676
|
+
"x-fern-sdk-group-name": ["acs", "entrances"],
|
|
3677
|
+
"x-fern-sdk-method-name": "list"
|
|
3678
|
+
}
|
|
3679
|
+
},
|
|
3483
3680
|
"/acs/systems/get": {
|
|
3484
3681
|
post: {
|
|
3485
3682
|
operationId: "acsSystemsGetPost",
|