@seamapi/types 1.461.0 → 1.462.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 +395 -86
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +17849 -1242
- package/dist/index.cjs +395 -86
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +26164 -2844
- package/lib/seam/connect/models/batch.js +31 -11
- package/lib/seam/connect/models/batch.js.map +1 -1
- package/lib/seam/connect/models/client-sessions/client-session.d.ts +2 -2
- package/lib/seam/connect/models/devices/device-provider.d.ts +1 -1
- package/lib/seam/connect/models/devices/device-provider.js +1 -0
- package/lib/seam/connect/models/devices/device-provider.js.map +1 -1
- package/lib/seam/connect/models/spaces/space.d.ts +2 -2
- package/lib/seam/connect/openapi.d.ts +353 -4
- package/lib/seam/connect/openapi.js +307 -12
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +14994 -10396
- package/package.json +1 -1
- package/src/lib/seam/connect/models/batch.ts +44 -21
- package/src/lib/seam/connect/models/devices/device-provider.ts +1 -0
- package/src/lib/seam/connect/openapi.ts +310 -12
- package/src/lib/seam/connect/route-types.ts +6696 -1192
package/dist/index.cjs
CHANGED
|
@@ -1792,7 +1792,8 @@ var PROVIDER_CATEGORY_MAP = {
|
|
|
1792
1792
|
"latch",
|
|
1793
1793
|
"akiles",
|
|
1794
1794
|
"sensi",
|
|
1795
|
-
"assa_abloy_vostio"
|
|
1795
|
+
"assa_abloy_vostio",
|
|
1796
|
+
"avigilon_alta"
|
|
1796
1797
|
],
|
|
1797
1798
|
consumer_smartlocks: [
|
|
1798
1799
|
"akiles",
|
|
@@ -3789,6 +3790,60 @@ var action_attempt = zod.z.union([
|
|
|
3789
3790
|
|
|
3790
3791
|
See also [Action Attempts](https://docs.seam.co/latest/core-concepts/action-attempts).
|
|
3791
3792
|
`);
|
|
3793
|
+
var client_session = zod.z.object({
|
|
3794
|
+
client_session_id: zod.z.string().uuid().describe(
|
|
3795
|
+
"ID of the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens)."
|
|
3796
|
+
),
|
|
3797
|
+
workspace_id: zod.z.string().uuid().describe(
|
|
3798
|
+
"ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens)."
|
|
3799
|
+
),
|
|
3800
|
+
created_at: zod.z.string().datetime().describe(
|
|
3801
|
+
"Date and time at which the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens) was created."
|
|
3802
|
+
),
|
|
3803
|
+
expires_at: zod.z.string().datetime().describe(
|
|
3804
|
+
"Date and time at which the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens) expires."
|
|
3805
|
+
),
|
|
3806
|
+
token: zod.z.string().describe(
|
|
3807
|
+
"Client session token associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens)."
|
|
3808
|
+
),
|
|
3809
|
+
user_identifier_key: zod.z.string().nullable().describe(
|
|
3810
|
+
"Your user ID for the user associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens)."
|
|
3811
|
+
),
|
|
3812
|
+
device_count: zod.z.number().describe(
|
|
3813
|
+
"Number of devices associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens)."
|
|
3814
|
+
),
|
|
3815
|
+
customer_id: zod.z.string().uuid().optional().describe(
|
|
3816
|
+
"Customer ID associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens)."
|
|
3817
|
+
),
|
|
3818
|
+
connected_account_ids: zod.z.array(zod.z.string().uuid()).describe(
|
|
3819
|
+
"IDs of the [connected accounts](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens)."
|
|
3820
|
+
),
|
|
3821
|
+
connect_webview_ids: zod.z.array(zod.z.string().uuid()).describe(
|
|
3822
|
+
"IDs of the [Connect Webviews](https://docs.seam.co/latest/core-concepts/connect-webviews) associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens)."
|
|
3823
|
+
),
|
|
3824
|
+
user_identity_ids: zod.z.array(zod.z.string().uuid()).describe(`
|
|
3825
|
+
---
|
|
3826
|
+
deprecated: Use \`user_identity_id\` instead.
|
|
3827
|
+
---
|
|
3828
|
+
IDs of the [user identities](https://docs.seam.co/latest/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) associated with the client session.
|
|
3829
|
+
`),
|
|
3830
|
+
user_identity_id: zod.z.string().uuid().optional().describe(
|
|
3831
|
+
"ID of the [user identity](https://docs.seam.co/latest/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) associated with the client session."
|
|
3832
|
+
)
|
|
3833
|
+
}).describe(`
|
|
3834
|
+
---
|
|
3835
|
+
route_path: /client_sessions
|
|
3836
|
+
---
|
|
3837
|
+
Represents a [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). If you want to restrict your users' access to their own devices, use client sessions.
|
|
3838
|
+
|
|
3839
|
+
You create each client session with a custom \`user_identifier_key\`. Normally, the \`user_identifier_key\` is a user ID that your application provides.
|
|
3840
|
+
|
|
3841
|
+
When calling the Seam API from your backend using an API key, you can pass the \`user_identifier_key\` as a parameter to limit results to the associated client session. For example, \`/devices/list?user_identifier_key=123\` only returns devices associated with the client session created with the \`user_identifier_key\` \`123\`.
|
|
3842
|
+
|
|
3843
|
+
A client session has a token that you can use with the Seam JavaScript SDK to make requests from the client (browser) directly to the Seam API. The token restricts the user's access to only the devices that they own.
|
|
3844
|
+
|
|
3845
|
+
See also [Get Started with React](https://docs.seam.co/latest/ui-components/overview/getting-started-with-seam-components/get-started-with-react-components-and-client-session-tokens).
|
|
3846
|
+
`);
|
|
3792
3847
|
var space = zod.z.object({
|
|
3793
3848
|
space_id: zod.z.string().uuid().describe("ID of the space."),
|
|
3794
3849
|
workspace_id: zod.z.string().uuid().describe(
|
|
@@ -3969,26 +4024,39 @@ zod.z.object({
|
|
|
3969
4024
|
workspaces: workspace.array().optional(),
|
|
3970
4025
|
spaces: space.array().optional(),
|
|
3971
4026
|
devices: device.array().optional(),
|
|
3972
|
-
acs_entrances: acs_entrance.array().optional()
|
|
3973
|
-
|
|
4027
|
+
acs_entrances: acs_entrance.array().optional(),
|
|
4028
|
+
acs_systems: acs_system.array().optional(),
|
|
4029
|
+
acs_users: acs_user.array().optional(),
|
|
4030
|
+
acs_access_groups: acs_access_group.array().optional(),
|
|
4031
|
+
acs_encoders: acs_encoder.array().optional(),
|
|
4032
|
+
action_attempts: action_attempt.array().optional(),
|
|
4033
|
+
client_sessions: client_session.array().optional(),
|
|
4034
|
+
unmanaged_acs_users: unmanaged_acs_user.array().optional(),
|
|
4035
|
+
unmanaged_acs_access_groups: unmanaged_acs_access_group.array().optional(),
|
|
4036
|
+
unmanaged_devices: unmanaged_device.array().optional()
|
|
4037
|
+
}).describe("A batch of workspace resources.");
|
|
3974
4038
|
var batch = zod.z.object({
|
|
3975
4039
|
batch_type: zod.z.enum([
|
|
3976
4040
|
"workspaces",
|
|
4041
|
+
"spaces",
|
|
3977
4042
|
"access_grants",
|
|
3978
|
-
"access_methods"
|
|
3979
|
-
"spaces"
|
|
4043
|
+
"access_methods"
|
|
3980
4044
|
]),
|
|
3981
4045
|
user_identities: user_identity.array().optional(),
|
|
3982
4046
|
workspaces: workspace.array().optional(),
|
|
3983
4047
|
spaces: space.array().optional(),
|
|
3984
4048
|
devices: device.array().optional(),
|
|
3985
|
-
acs_entrances: acs_entrance.array().optional()
|
|
3986
|
-
|
|
3987
|
-
|
|
3988
|
-
|
|
3989
|
-
|
|
3990
|
-
|
|
3991
|
-
|
|
4049
|
+
acs_entrances: acs_entrance.array().optional(),
|
|
4050
|
+
acs_systems: acs_system.array().optional(),
|
|
4051
|
+
acs_users: acs_user.array().optional(),
|
|
4052
|
+
acs_access_groups: acs_access_group.array().optional(),
|
|
4053
|
+
acs_encoders: acs_encoder.array().optional(),
|
|
4054
|
+
action_attempts: action_attempt.array().optional(),
|
|
4055
|
+
client_sessions: client_session.array().optional(),
|
|
4056
|
+
unmanaged_acs_users: unmanaged_acs_user.array().optional(),
|
|
4057
|
+
unmanaged_acs_access_groups: unmanaged_acs_access_group.array().optional(),
|
|
4058
|
+
unmanaged_devices: unmanaged_device.array().optional()
|
|
4059
|
+
}).describe("A batch of workspace resources.");
|
|
3992
4060
|
var bridge = zod.z.object({
|
|
3993
4061
|
bridge_id: zod.z.string().uuid().describe("ID of Seam Bridge."),
|
|
3994
4062
|
workspace_id: zod.z.string().uuid().describe(
|
|
@@ -4066,60 +4134,6 @@ var bridge_client_session = zod.z.object({
|
|
|
4066
4134
|
---
|
|
4067
4135
|
Represents a [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge) client session.
|
|
4068
4136
|
`);
|
|
4069
|
-
var client_session = zod.z.object({
|
|
4070
|
-
client_session_id: zod.z.string().uuid().describe(
|
|
4071
|
-
"ID of the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens)."
|
|
4072
|
-
),
|
|
4073
|
-
workspace_id: zod.z.string().uuid().describe(
|
|
4074
|
-
"ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens)."
|
|
4075
|
-
),
|
|
4076
|
-
created_at: zod.z.string().datetime().describe(
|
|
4077
|
-
"Date and time at which the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens) was created."
|
|
4078
|
-
),
|
|
4079
|
-
expires_at: zod.z.string().datetime().describe(
|
|
4080
|
-
"Date and time at which the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens) expires."
|
|
4081
|
-
),
|
|
4082
|
-
token: zod.z.string().describe(
|
|
4083
|
-
"Client session token associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens)."
|
|
4084
|
-
),
|
|
4085
|
-
user_identifier_key: zod.z.string().nullable().describe(
|
|
4086
|
-
"Your user ID for the user associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens)."
|
|
4087
|
-
),
|
|
4088
|
-
device_count: zod.z.number().describe(
|
|
4089
|
-
"Number of devices associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens)."
|
|
4090
|
-
),
|
|
4091
|
-
customer_id: zod.z.string().uuid().optional().describe(
|
|
4092
|
-
"Customer ID associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens)."
|
|
4093
|
-
),
|
|
4094
|
-
connected_account_ids: zod.z.array(zod.z.string().uuid()).describe(
|
|
4095
|
-
"IDs of the [connected accounts](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens)."
|
|
4096
|
-
),
|
|
4097
|
-
connect_webview_ids: zod.z.array(zod.z.string().uuid()).describe(
|
|
4098
|
-
"IDs of the [Connect Webviews](https://docs.seam.co/latest/core-concepts/connect-webviews) associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens)."
|
|
4099
|
-
),
|
|
4100
|
-
user_identity_ids: zod.z.array(zod.z.string().uuid()).describe(`
|
|
4101
|
-
---
|
|
4102
|
-
deprecated: Use \`user_identity_id\` instead.
|
|
4103
|
-
---
|
|
4104
|
-
IDs of the [user identities](https://docs.seam.co/latest/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) associated with the client session.
|
|
4105
|
-
`),
|
|
4106
|
-
user_identity_id: zod.z.string().uuid().optional().describe(
|
|
4107
|
-
"ID of the [user identity](https://docs.seam.co/latest/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) associated with the client session."
|
|
4108
|
-
)
|
|
4109
|
-
}).describe(`
|
|
4110
|
-
---
|
|
4111
|
-
route_path: /client_sessions
|
|
4112
|
-
---
|
|
4113
|
-
Represents a [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). If you want to restrict your users' access to their own devices, use client sessions.
|
|
4114
|
-
|
|
4115
|
-
You create each client session with a custom \`user_identifier_key\`. Normally, the \`user_identifier_key\` is a user ID that your application provides.
|
|
4116
|
-
|
|
4117
|
-
When calling the Seam API from your backend using an API key, you can pass the \`user_identifier_key\` as a parameter to limit results to the associated client session. For example, \`/devices/list?user_identifier_key=123\` only returns devices associated with the client session created with the \`user_identifier_key\` \`123\`.
|
|
4118
|
-
|
|
4119
|
-
A client session has a token that you can use with the Seam JavaScript SDK to make requests from the client (browser) directly to the Seam API. The token restricts the user's access to only the devices that they own.
|
|
4120
|
-
|
|
4121
|
-
See also [Get Started with React](https://docs.seam.co/latest/ui-components/overview/getting-started-with-seam-components/get-started-with-react-components-and-client-session-tokens).
|
|
4122
|
-
`);
|
|
4123
4137
|
var connect_webview_device_selection_mode = zod.z.enum([
|
|
4124
4138
|
"none",
|
|
4125
4139
|
"single",
|
|
@@ -30492,6 +30506,12 @@ var openapi_default = {
|
|
|
30492
30506
|
description: "Unique phone number for the user identity in [E.164 format](https://www.itu.int/rec/T-REC-E.164/en) (for example, +15555550100).",
|
|
30493
30507
|
nullable: true,
|
|
30494
30508
|
type: "string"
|
|
30509
|
+
},
|
|
30510
|
+
user_identity_key: {
|
|
30511
|
+
description: "Unique key for the user identity.",
|
|
30512
|
+
minLength: 1,
|
|
30513
|
+
nullable: true,
|
|
30514
|
+
type: "string"
|
|
30495
30515
|
}
|
|
30496
30516
|
},
|
|
30497
30517
|
type: "object"
|
|
@@ -31696,21 +31716,51 @@ var openapi_default = {
|
|
|
31696
31716
|
schema: {
|
|
31697
31717
|
properties: {
|
|
31698
31718
|
batch: {
|
|
31699
|
-
description: "
|
|
31719
|
+
description: "A batch of workspace resources.",
|
|
31700
31720
|
properties: {
|
|
31721
|
+
acs_access_groups: {
|
|
31722
|
+
items: {
|
|
31723
|
+
$ref: "#/components/schemas/acs_access_group"
|
|
31724
|
+
},
|
|
31725
|
+
type: "array"
|
|
31726
|
+
},
|
|
31727
|
+
acs_encoders: {
|
|
31728
|
+
items: { $ref: "#/components/schemas/acs_encoder" },
|
|
31729
|
+
type: "array"
|
|
31730
|
+
},
|
|
31701
31731
|
acs_entrances: {
|
|
31702
31732
|
items: { $ref: "#/components/schemas/acs_entrance" },
|
|
31703
31733
|
type: "array"
|
|
31704
31734
|
},
|
|
31735
|
+
acs_systems: {
|
|
31736
|
+
items: { $ref: "#/components/schemas/acs_system" },
|
|
31737
|
+
type: "array"
|
|
31738
|
+
},
|
|
31739
|
+
acs_users: {
|
|
31740
|
+
items: { $ref: "#/components/schemas/acs_user" },
|
|
31741
|
+
type: "array"
|
|
31742
|
+
},
|
|
31743
|
+
action_attempts: {
|
|
31744
|
+
items: {
|
|
31745
|
+
$ref: "#/components/schemas/action_attempt"
|
|
31746
|
+
},
|
|
31747
|
+
type: "array"
|
|
31748
|
+
},
|
|
31705
31749
|
batch_type: {
|
|
31706
31750
|
enum: [
|
|
31707
31751
|
"workspaces",
|
|
31752
|
+
"spaces",
|
|
31708
31753
|
"access_grants",
|
|
31709
|
-
"access_methods"
|
|
31710
|
-
"spaces"
|
|
31754
|
+
"access_methods"
|
|
31711
31755
|
],
|
|
31712
31756
|
type: "string"
|
|
31713
31757
|
},
|
|
31758
|
+
client_sessions: {
|
|
31759
|
+
items: {
|
|
31760
|
+
$ref: "#/components/schemas/client_session"
|
|
31761
|
+
},
|
|
31762
|
+
type: "array"
|
|
31763
|
+
},
|
|
31714
31764
|
devices: {
|
|
31715
31765
|
items: { $ref: "#/components/schemas/device" },
|
|
31716
31766
|
type: "array"
|
|
@@ -31719,6 +31769,24 @@ var openapi_default = {
|
|
|
31719
31769
|
items: { $ref: "#/components/schemas/space" },
|
|
31720
31770
|
type: "array"
|
|
31721
31771
|
},
|
|
31772
|
+
unmanaged_acs_access_groups: {
|
|
31773
|
+
items: {
|
|
31774
|
+
$ref: "#/components/schemas/unmanaged_acs_access_group"
|
|
31775
|
+
},
|
|
31776
|
+
type: "array"
|
|
31777
|
+
},
|
|
31778
|
+
unmanaged_acs_users: {
|
|
31779
|
+
items: {
|
|
31780
|
+
$ref: "#/components/schemas/unmanaged_acs_user"
|
|
31781
|
+
},
|
|
31782
|
+
type: "array"
|
|
31783
|
+
},
|
|
31784
|
+
unmanaged_devices: {
|
|
31785
|
+
items: {
|
|
31786
|
+
$ref: "#/components/schemas/unmanaged_device"
|
|
31787
|
+
},
|
|
31788
|
+
type: "array"
|
|
31789
|
+
},
|
|
31722
31790
|
user_identities: {
|
|
31723
31791
|
items: { $ref: "#/components/schemas/user_identity" },
|
|
31724
31792
|
type: "array"
|
|
@@ -31729,8 +31797,7 @@ var openapi_default = {
|
|
|
31729
31797
|
}
|
|
31730
31798
|
},
|
|
31731
31799
|
required: ["batch_type"],
|
|
31732
|
-
type: "object"
|
|
31733
|
-
"x-route-path": "/"
|
|
31800
|
+
type: "object"
|
|
31734
31801
|
},
|
|
31735
31802
|
ok: { type: "boolean" }
|
|
31736
31803
|
},
|
|
@@ -31800,21 +31867,51 @@ var openapi_default = {
|
|
|
31800
31867
|
schema: {
|
|
31801
31868
|
properties: {
|
|
31802
31869
|
batch: {
|
|
31803
|
-
description: "
|
|
31870
|
+
description: "A batch of workspace resources.",
|
|
31804
31871
|
properties: {
|
|
31872
|
+
acs_access_groups: {
|
|
31873
|
+
items: {
|
|
31874
|
+
$ref: "#/components/schemas/acs_access_group"
|
|
31875
|
+
},
|
|
31876
|
+
type: "array"
|
|
31877
|
+
},
|
|
31878
|
+
acs_encoders: {
|
|
31879
|
+
items: { $ref: "#/components/schemas/acs_encoder" },
|
|
31880
|
+
type: "array"
|
|
31881
|
+
},
|
|
31805
31882
|
acs_entrances: {
|
|
31806
31883
|
items: { $ref: "#/components/schemas/acs_entrance" },
|
|
31807
31884
|
type: "array"
|
|
31808
31885
|
},
|
|
31886
|
+
acs_systems: {
|
|
31887
|
+
items: { $ref: "#/components/schemas/acs_system" },
|
|
31888
|
+
type: "array"
|
|
31889
|
+
},
|
|
31890
|
+
acs_users: {
|
|
31891
|
+
items: { $ref: "#/components/schemas/acs_user" },
|
|
31892
|
+
type: "array"
|
|
31893
|
+
},
|
|
31894
|
+
action_attempts: {
|
|
31895
|
+
items: {
|
|
31896
|
+
$ref: "#/components/schemas/action_attempt"
|
|
31897
|
+
},
|
|
31898
|
+
type: "array"
|
|
31899
|
+
},
|
|
31809
31900
|
batch_type: {
|
|
31810
31901
|
enum: [
|
|
31811
31902
|
"workspaces",
|
|
31903
|
+
"spaces",
|
|
31812
31904
|
"access_grants",
|
|
31813
|
-
"access_methods"
|
|
31814
|
-
"spaces"
|
|
31905
|
+
"access_methods"
|
|
31815
31906
|
],
|
|
31816
31907
|
type: "string"
|
|
31817
31908
|
},
|
|
31909
|
+
client_sessions: {
|
|
31910
|
+
items: {
|
|
31911
|
+
$ref: "#/components/schemas/client_session"
|
|
31912
|
+
},
|
|
31913
|
+
type: "array"
|
|
31914
|
+
},
|
|
31818
31915
|
devices: {
|
|
31819
31916
|
items: { $ref: "#/components/schemas/device" },
|
|
31820
31917
|
type: "array"
|
|
@@ -31823,6 +31920,24 @@ var openapi_default = {
|
|
|
31823
31920
|
items: { $ref: "#/components/schemas/space" },
|
|
31824
31921
|
type: "array"
|
|
31825
31922
|
},
|
|
31923
|
+
unmanaged_acs_access_groups: {
|
|
31924
|
+
items: {
|
|
31925
|
+
$ref: "#/components/schemas/unmanaged_acs_access_group"
|
|
31926
|
+
},
|
|
31927
|
+
type: "array"
|
|
31928
|
+
},
|
|
31929
|
+
unmanaged_acs_users: {
|
|
31930
|
+
items: {
|
|
31931
|
+
$ref: "#/components/schemas/unmanaged_acs_user"
|
|
31932
|
+
},
|
|
31933
|
+
type: "array"
|
|
31934
|
+
},
|
|
31935
|
+
unmanaged_devices: {
|
|
31936
|
+
items: {
|
|
31937
|
+
$ref: "#/components/schemas/unmanaged_device"
|
|
31938
|
+
},
|
|
31939
|
+
type: "array"
|
|
31940
|
+
},
|
|
31826
31941
|
user_identities: {
|
|
31827
31942
|
items: { $ref: "#/components/schemas/user_identity" },
|
|
31828
31943
|
type: "array"
|
|
@@ -31833,8 +31948,7 @@ var openapi_default = {
|
|
|
31833
31948
|
}
|
|
31834
31949
|
},
|
|
31835
31950
|
required: ["batch_type"],
|
|
31836
|
-
type: "object"
|
|
31837
|
-
"x-route-path": "/"
|
|
31951
|
+
type: "object"
|
|
31838
31952
|
},
|
|
31839
31953
|
ok: { type: "boolean" }
|
|
31840
31954
|
},
|
|
@@ -44523,6 +44637,107 @@ var openapi_default = {
|
|
|
44523
44637
|
"x-title": "List Events"
|
|
44524
44638
|
}
|
|
44525
44639
|
},
|
|
44640
|
+
"/instant_keys/get": {
|
|
44641
|
+
get: {
|
|
44642
|
+
description: "Gets an [instant key](https://docs.seam.co/latest/capability-guides/mobile-access/instant-keys).",
|
|
44643
|
+
operationId: "instantKeysGetGet",
|
|
44644
|
+
parameters: [
|
|
44645
|
+
{
|
|
44646
|
+
in: "query",
|
|
44647
|
+
name: "instant_key_id",
|
|
44648
|
+
required: true,
|
|
44649
|
+
schema: {
|
|
44650
|
+
description: "ID of the instant key to get.",
|
|
44651
|
+
format: "uuid",
|
|
44652
|
+
type: "string"
|
|
44653
|
+
}
|
|
44654
|
+
}
|
|
44655
|
+
],
|
|
44656
|
+
responses: {
|
|
44657
|
+
200: {
|
|
44658
|
+
content: {
|
|
44659
|
+
"application/json": {
|
|
44660
|
+
schema: {
|
|
44661
|
+
properties: {
|
|
44662
|
+
instant_key: { $ref: "#/components/schemas/instant_key" },
|
|
44663
|
+
ok: { type: "boolean" }
|
|
44664
|
+
},
|
|
44665
|
+
required: ["instant_key", "ok"],
|
|
44666
|
+
type: "object"
|
|
44667
|
+
}
|
|
44668
|
+
}
|
|
44669
|
+
},
|
|
44670
|
+
description: "OK"
|
|
44671
|
+
},
|
|
44672
|
+
400: { description: "Bad Request" },
|
|
44673
|
+
401: { description: "Unauthorized" }
|
|
44674
|
+
},
|
|
44675
|
+
security: [
|
|
44676
|
+
{ api_key: [] },
|
|
44677
|
+
{ pat_with_workspace: [] },
|
|
44678
|
+
{ console_session_with_workspace: [] }
|
|
44679
|
+
],
|
|
44680
|
+
summary: "/instant_keys/get",
|
|
44681
|
+
tags: [],
|
|
44682
|
+
"x-fern-sdk-group-name": ["instant_keys"],
|
|
44683
|
+
"x-fern-sdk-method-name": "get",
|
|
44684
|
+
"x-fern-sdk-return-value": "instant_key",
|
|
44685
|
+
"x-response-key": "instant_key",
|
|
44686
|
+
"x-title": "Get an Instant Key"
|
|
44687
|
+
},
|
|
44688
|
+
post: {
|
|
44689
|
+
description: "Gets an [instant key](https://docs.seam.co/latest/capability-guides/mobile-access/instant-keys).",
|
|
44690
|
+
operationId: "instantKeysGetPost",
|
|
44691
|
+
requestBody: {
|
|
44692
|
+
content: {
|
|
44693
|
+
"application/json": {
|
|
44694
|
+
schema: {
|
|
44695
|
+
properties: {
|
|
44696
|
+
instant_key_id: {
|
|
44697
|
+
description: "ID of the instant key to get.",
|
|
44698
|
+
format: "uuid",
|
|
44699
|
+
type: "string"
|
|
44700
|
+
}
|
|
44701
|
+
},
|
|
44702
|
+
required: ["instant_key_id"],
|
|
44703
|
+
type: "object"
|
|
44704
|
+
}
|
|
44705
|
+
}
|
|
44706
|
+
}
|
|
44707
|
+
},
|
|
44708
|
+
responses: {
|
|
44709
|
+
200: {
|
|
44710
|
+
content: {
|
|
44711
|
+
"application/json": {
|
|
44712
|
+
schema: {
|
|
44713
|
+
properties: {
|
|
44714
|
+
instant_key: { $ref: "#/components/schemas/instant_key" },
|
|
44715
|
+
ok: { type: "boolean" }
|
|
44716
|
+
},
|
|
44717
|
+
required: ["instant_key", "ok"],
|
|
44718
|
+
type: "object"
|
|
44719
|
+
}
|
|
44720
|
+
}
|
|
44721
|
+
},
|
|
44722
|
+
description: "OK"
|
|
44723
|
+
},
|
|
44724
|
+
400: { description: "Bad Request" },
|
|
44725
|
+
401: { description: "Unauthorized" }
|
|
44726
|
+
},
|
|
44727
|
+
security: [
|
|
44728
|
+
{ api_key: [] },
|
|
44729
|
+
{ pat_with_workspace: [] },
|
|
44730
|
+
{ console_session_with_workspace: [] }
|
|
44731
|
+
],
|
|
44732
|
+
summary: "/instant_keys/get",
|
|
44733
|
+
tags: [],
|
|
44734
|
+
"x-fern-sdk-group-name": ["instant_keys"],
|
|
44735
|
+
"x-fern-sdk-method-name": "get",
|
|
44736
|
+
"x-fern-sdk-return-value": "instant_key",
|
|
44737
|
+
"x-response-key": "instant_key",
|
|
44738
|
+
"x-title": "Get an Instant Key"
|
|
44739
|
+
}
|
|
44740
|
+
},
|
|
44526
44741
|
"/instant_keys/list": {
|
|
44527
44742
|
get: {
|
|
44528
44743
|
description: "Returns a list of all [instant keys](https://docs.seam.co/latest/capability-guides/mobile-access/instant-keys).",
|
|
@@ -58004,21 +58219,51 @@ var openapi_default = {
|
|
|
58004
58219
|
schema: {
|
|
58005
58220
|
properties: {
|
|
58006
58221
|
batch: {
|
|
58007
|
-
description: "
|
|
58222
|
+
description: "A batch of workspace resources.",
|
|
58008
58223
|
properties: {
|
|
58224
|
+
acs_access_groups: {
|
|
58225
|
+
items: {
|
|
58226
|
+
$ref: "#/components/schemas/acs_access_group"
|
|
58227
|
+
},
|
|
58228
|
+
type: "array"
|
|
58229
|
+
},
|
|
58230
|
+
acs_encoders: {
|
|
58231
|
+
items: { $ref: "#/components/schemas/acs_encoder" },
|
|
58232
|
+
type: "array"
|
|
58233
|
+
},
|
|
58009
58234
|
acs_entrances: {
|
|
58010
58235
|
items: { $ref: "#/components/schemas/acs_entrance" },
|
|
58011
58236
|
type: "array"
|
|
58012
58237
|
},
|
|
58238
|
+
acs_systems: {
|
|
58239
|
+
items: { $ref: "#/components/schemas/acs_system" },
|
|
58240
|
+
type: "array"
|
|
58241
|
+
},
|
|
58242
|
+
acs_users: {
|
|
58243
|
+
items: { $ref: "#/components/schemas/acs_user" },
|
|
58244
|
+
type: "array"
|
|
58245
|
+
},
|
|
58246
|
+
action_attempts: {
|
|
58247
|
+
items: {
|
|
58248
|
+
$ref: "#/components/schemas/action_attempt"
|
|
58249
|
+
},
|
|
58250
|
+
type: "array"
|
|
58251
|
+
},
|
|
58013
58252
|
batch_type: {
|
|
58014
58253
|
enum: [
|
|
58015
58254
|
"workspaces",
|
|
58255
|
+
"spaces",
|
|
58016
58256
|
"access_grants",
|
|
58017
|
-
"access_methods"
|
|
58018
|
-
"spaces"
|
|
58257
|
+
"access_methods"
|
|
58019
58258
|
],
|
|
58020
58259
|
type: "string"
|
|
58021
58260
|
},
|
|
58261
|
+
client_sessions: {
|
|
58262
|
+
items: {
|
|
58263
|
+
$ref: "#/components/schemas/client_session"
|
|
58264
|
+
},
|
|
58265
|
+
type: "array"
|
|
58266
|
+
},
|
|
58022
58267
|
devices: {
|
|
58023
58268
|
items: { $ref: "#/components/schemas/device" },
|
|
58024
58269
|
type: "array"
|
|
@@ -58027,6 +58272,24 @@ var openapi_default = {
|
|
|
58027
58272
|
items: { $ref: "#/components/schemas/space" },
|
|
58028
58273
|
type: "array"
|
|
58029
58274
|
},
|
|
58275
|
+
unmanaged_acs_access_groups: {
|
|
58276
|
+
items: {
|
|
58277
|
+
$ref: "#/components/schemas/unmanaged_acs_access_group"
|
|
58278
|
+
},
|
|
58279
|
+
type: "array"
|
|
58280
|
+
},
|
|
58281
|
+
unmanaged_acs_users: {
|
|
58282
|
+
items: {
|
|
58283
|
+
$ref: "#/components/schemas/unmanaged_acs_user"
|
|
58284
|
+
},
|
|
58285
|
+
type: "array"
|
|
58286
|
+
},
|
|
58287
|
+
unmanaged_devices: {
|
|
58288
|
+
items: {
|
|
58289
|
+
$ref: "#/components/schemas/unmanaged_device"
|
|
58290
|
+
},
|
|
58291
|
+
type: "array"
|
|
58292
|
+
},
|
|
58030
58293
|
user_identities: {
|
|
58031
58294
|
items: { $ref: "#/components/schemas/user_identity" },
|
|
58032
58295
|
type: "array"
|
|
@@ -58037,8 +58300,7 @@ var openapi_default = {
|
|
|
58037
58300
|
}
|
|
58038
58301
|
},
|
|
58039
58302
|
required: ["batch_type"],
|
|
58040
|
-
type: "object"
|
|
58041
|
-
"x-route-path": "/"
|
|
58303
|
+
type: "object"
|
|
58042
58304
|
},
|
|
58043
58305
|
ok: { type: "boolean" }
|
|
58044
58306
|
},
|
|
@@ -58085,21 +58347,51 @@ var openapi_default = {
|
|
|
58085
58347
|
schema: {
|
|
58086
58348
|
properties: {
|
|
58087
58349
|
batch: {
|
|
58088
|
-
description: "
|
|
58350
|
+
description: "A batch of workspace resources.",
|
|
58089
58351
|
properties: {
|
|
58352
|
+
acs_access_groups: {
|
|
58353
|
+
items: {
|
|
58354
|
+
$ref: "#/components/schemas/acs_access_group"
|
|
58355
|
+
},
|
|
58356
|
+
type: "array"
|
|
58357
|
+
},
|
|
58358
|
+
acs_encoders: {
|
|
58359
|
+
items: { $ref: "#/components/schemas/acs_encoder" },
|
|
58360
|
+
type: "array"
|
|
58361
|
+
},
|
|
58090
58362
|
acs_entrances: {
|
|
58091
58363
|
items: { $ref: "#/components/schemas/acs_entrance" },
|
|
58092
58364
|
type: "array"
|
|
58093
58365
|
},
|
|
58366
|
+
acs_systems: {
|
|
58367
|
+
items: { $ref: "#/components/schemas/acs_system" },
|
|
58368
|
+
type: "array"
|
|
58369
|
+
},
|
|
58370
|
+
acs_users: {
|
|
58371
|
+
items: { $ref: "#/components/schemas/acs_user" },
|
|
58372
|
+
type: "array"
|
|
58373
|
+
},
|
|
58374
|
+
action_attempts: {
|
|
58375
|
+
items: {
|
|
58376
|
+
$ref: "#/components/schemas/action_attempt"
|
|
58377
|
+
},
|
|
58378
|
+
type: "array"
|
|
58379
|
+
},
|
|
58094
58380
|
batch_type: {
|
|
58095
58381
|
enum: [
|
|
58096
58382
|
"workspaces",
|
|
58383
|
+
"spaces",
|
|
58097
58384
|
"access_grants",
|
|
58098
|
-
"access_methods"
|
|
58099
|
-
"spaces"
|
|
58385
|
+
"access_methods"
|
|
58100
58386
|
],
|
|
58101
58387
|
type: "string"
|
|
58102
58388
|
},
|
|
58389
|
+
client_sessions: {
|
|
58390
|
+
items: {
|
|
58391
|
+
$ref: "#/components/schemas/client_session"
|
|
58392
|
+
},
|
|
58393
|
+
type: "array"
|
|
58394
|
+
},
|
|
58103
58395
|
devices: {
|
|
58104
58396
|
items: { $ref: "#/components/schemas/device" },
|
|
58105
58397
|
type: "array"
|
|
@@ -58108,6 +58400,24 @@ var openapi_default = {
|
|
|
58108
58400
|
items: { $ref: "#/components/schemas/space" },
|
|
58109
58401
|
type: "array"
|
|
58110
58402
|
},
|
|
58403
|
+
unmanaged_acs_access_groups: {
|
|
58404
|
+
items: {
|
|
58405
|
+
$ref: "#/components/schemas/unmanaged_acs_access_group"
|
|
58406
|
+
},
|
|
58407
|
+
type: "array"
|
|
58408
|
+
},
|
|
58409
|
+
unmanaged_acs_users: {
|
|
58410
|
+
items: {
|
|
58411
|
+
$ref: "#/components/schemas/unmanaged_acs_user"
|
|
58412
|
+
},
|
|
58413
|
+
type: "array"
|
|
58414
|
+
},
|
|
58415
|
+
unmanaged_devices: {
|
|
58416
|
+
items: {
|
|
58417
|
+
$ref: "#/components/schemas/unmanaged_device"
|
|
58418
|
+
},
|
|
58419
|
+
type: "array"
|
|
58420
|
+
},
|
|
58111
58421
|
user_identities: {
|
|
58112
58422
|
items: { $ref: "#/components/schemas/user_identity" },
|
|
58113
58423
|
type: "array"
|
|
@@ -58118,8 +58428,7 @@ var openapi_default = {
|
|
|
58118
58428
|
}
|
|
58119
58429
|
},
|
|
58120
58430
|
required: ["batch_type"],
|
|
58121
|
-
type: "object"
|
|
58122
|
-
"x-route-path": "/"
|
|
58431
|
+
type: "object"
|
|
58123
58432
|
},
|
|
58124
58433
|
ok: { type: "boolean" }
|
|
58125
58434
|
},
|