@seamapi/types 1.541.0 → 1.543.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 +40 -9
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +27 -28
- package/dist/index.cjs +40 -9
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +10 -10
- package/lib/seam/connect/models/client-sessions/client-session.d.ts +3 -3
- package/lib/seam/connect/models/client-sessions/client-session.js +2 -3
- package/lib/seam/connect/models/client-sessions/client-session.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +1 -2
- package/lib/seam/connect/openapi.js +38 -7
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +18 -18
- package/package.json +1 -1
- package/src/lib/seam/connect/models/client-sessions/client-session.ts +2 -3
- package/src/lib/seam/connect/openapi.ts +38 -7
- package/src/lib/seam/connect/route-types.ts +38 -18
package/dist/connect.d.cts
CHANGED
|
@@ -20144,7 +20144,7 @@ declare const batch: z.ZodObject<{
|
|
|
20144
20144
|
token: z.ZodString;
|
|
20145
20145
|
user_identifier_key: z.ZodNullable<z.ZodString>;
|
|
20146
20146
|
device_count: z.ZodNumber;
|
|
20147
|
-
|
|
20147
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
20148
20148
|
connected_account_ids: z.ZodArray<z.ZodString, "many">;
|
|
20149
20149
|
connect_webview_ids: z.ZodArray<z.ZodString, "many">;
|
|
20150
20150
|
user_identity_ids: z.ZodArray<z.ZodString, "many">;
|
|
@@ -20160,8 +20160,8 @@ declare const batch: z.ZodObject<{
|
|
|
20160
20160
|
device_count: number;
|
|
20161
20161
|
connect_webview_ids: string[];
|
|
20162
20162
|
user_identity_ids: string[];
|
|
20163
|
+
customer_key?: string | undefined;
|
|
20163
20164
|
user_identity_id?: string | undefined;
|
|
20164
|
-
customer_id?: string | undefined;
|
|
20165
20165
|
}, {
|
|
20166
20166
|
workspace_id: string;
|
|
20167
20167
|
created_at: string;
|
|
@@ -20173,8 +20173,8 @@ declare const batch: z.ZodObject<{
|
|
|
20173
20173
|
device_count: number;
|
|
20174
20174
|
connect_webview_ids: string[];
|
|
20175
20175
|
user_identity_ids: string[];
|
|
20176
|
+
customer_key?: string | undefined;
|
|
20176
20177
|
user_identity_id?: string | undefined;
|
|
20177
|
-
customer_id?: string | undefined;
|
|
20178
20178
|
}>, "many">>;
|
|
20179
20179
|
unmanaged_acs_users: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
20180
20180
|
acs_user_id: z.ZodString;
|
|
@@ -32506,8 +32506,8 @@ declare const batch: z.ZodObject<{
|
|
|
32506
32506
|
device_count: number;
|
|
32507
32507
|
connect_webview_ids: string[];
|
|
32508
32508
|
user_identity_ids: string[];
|
|
32509
|
+
customer_key?: string | undefined;
|
|
32509
32510
|
user_identity_id?: string | undefined;
|
|
32510
|
-
customer_id?: string | undefined;
|
|
32511
32511
|
}[] | undefined;
|
|
32512
32512
|
unmanaged_acs_users?: {
|
|
32513
32513
|
display_name: string;
|
|
@@ -36365,8 +36365,8 @@ declare const batch: z.ZodObject<{
|
|
|
36365
36365
|
device_count: number;
|
|
36366
36366
|
connect_webview_ids: string[];
|
|
36367
36367
|
user_identity_ids: string[];
|
|
36368
|
+
customer_key?: string | undefined;
|
|
36368
36369
|
user_identity_id?: string | undefined;
|
|
36369
|
-
customer_id?: string | undefined;
|
|
36370
36370
|
}[] | undefined;
|
|
36371
36371
|
unmanaged_acs_users?: {
|
|
36372
36372
|
display_name: string;
|
|
@@ -38459,7 +38459,7 @@ declare const client_session: z.ZodObject<{
|
|
|
38459
38459
|
token: z.ZodString;
|
|
38460
38460
|
user_identifier_key: z.ZodNullable<z.ZodString>;
|
|
38461
38461
|
device_count: z.ZodNumber;
|
|
38462
|
-
|
|
38462
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
38463
38463
|
connected_account_ids: z.ZodArray<z.ZodString, "many">;
|
|
38464
38464
|
connect_webview_ids: z.ZodArray<z.ZodString, "many">;
|
|
38465
38465
|
user_identity_ids: z.ZodArray<z.ZodString, "many">;
|
|
@@ -38475,8 +38475,8 @@ declare const client_session: z.ZodObject<{
|
|
|
38475
38475
|
device_count: number;
|
|
38476
38476
|
connect_webview_ids: string[];
|
|
38477
38477
|
user_identity_ids: string[];
|
|
38478
|
+
customer_key?: string | undefined;
|
|
38478
38479
|
user_identity_id?: string | undefined;
|
|
38479
|
-
customer_id?: string | undefined;
|
|
38480
38480
|
}, {
|
|
38481
38481
|
workspace_id: string;
|
|
38482
38482
|
created_at: string;
|
|
@@ -38488,8 +38488,8 @@ declare const client_session: z.ZodObject<{
|
|
|
38488
38488
|
device_count: number;
|
|
38489
38489
|
connect_webview_ids: string[];
|
|
38490
38490
|
user_identity_ids: string[];
|
|
38491
|
+
customer_key?: string | undefined;
|
|
38491
38492
|
user_identity_id?: string | undefined;
|
|
38492
|
-
customer_id?: string | undefined;
|
|
38493
38493
|
}>;
|
|
38494
38494
|
type ClientSession = z.infer<typeof client_session>;
|
|
38495
38495
|
|
|
@@ -54547,9 +54547,8 @@ declare const _default: {
|
|
|
54547
54547
|
format: string;
|
|
54548
54548
|
type: string;
|
|
54549
54549
|
};
|
|
54550
|
-
|
|
54550
|
+
customer_key: {
|
|
54551
54551
|
description: string;
|
|
54552
|
-
format: string;
|
|
54553
54552
|
type: string;
|
|
54554
54553
|
};
|
|
54555
54554
|
device_count: {
|
|
@@ -115543,8 +115542,8 @@ type Routes = {
|
|
|
115543
115542
|
commonParams: {
|
|
115544
115543
|
/** IDs of the access methods that you want to get along with their related resources. */
|
|
115545
115544
|
access_method_ids: string[];
|
|
115546
|
-
include?: ('spaces' | 'devices' | 'acs_entrances')[] | undefined;
|
|
115547
|
-
exclude?: ('spaces' | 'devices' | 'acs_entrances')[] | undefined;
|
|
115545
|
+
include?: ('spaces' | 'devices' | 'acs_entrances' | 'access_grants' | 'access_methods' | 'instant_keys' | 'client_sessions')[] | undefined;
|
|
115546
|
+
exclude?: ('spaces' | 'devices' | 'acs_entrances' | 'access_grants' | 'access_methods' | 'instant_keys' | 'client_sessions')[] | undefined;
|
|
115548
115547
|
};
|
|
115549
115548
|
formData: {};
|
|
115550
115549
|
jsonResponse: {
|
|
@@ -118829,8 +118828,8 @@ type Routes = {
|
|
|
118829
118828
|
user_identifier_key: string | null;
|
|
118830
118829
|
/** Number of devices associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
|
|
118831
118830
|
device_count: number;
|
|
118832
|
-
/** Customer
|
|
118833
|
-
|
|
118831
|
+
/** Customer key associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
|
|
118832
|
+
customer_key?: string | undefined;
|
|
118834
118833
|
/** 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). */
|
|
118835
118834
|
connected_account_ids: string[];
|
|
118836
118835
|
/** 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). */
|
|
@@ -132383,8 +132382,8 @@ type Routes = {
|
|
|
132383
132382
|
user_identifier_key: string | null;
|
|
132384
132383
|
/** Number of devices associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
|
|
132385
132384
|
device_count: number;
|
|
132386
|
-
/** Customer
|
|
132387
|
-
|
|
132385
|
+
/** Customer key associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
|
|
132386
|
+
customer_key?: string | undefined;
|
|
132388
132387
|
/** 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). */
|
|
132389
132388
|
connected_account_ids: string[];
|
|
132390
132389
|
/** 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). */
|
|
@@ -132446,8 +132445,8 @@ type Routes = {
|
|
|
132446
132445
|
user_identifier_key: string | null;
|
|
132447
132446
|
/** Number of devices associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
|
|
132448
132447
|
device_count: number;
|
|
132449
|
-
/** Customer
|
|
132450
|
-
|
|
132448
|
+
/** Customer key associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
|
|
132449
|
+
customer_key?: string | undefined;
|
|
132451
132450
|
/** 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). */
|
|
132452
132451
|
connected_account_ids: string[];
|
|
132453
132452
|
/** 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). */
|
|
@@ -132506,8 +132505,8 @@ type Routes = {
|
|
|
132506
132505
|
user_identifier_key: string | null;
|
|
132507
132506
|
/** Number of devices associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
|
|
132508
132507
|
device_count: number;
|
|
132509
|
-
/** Customer
|
|
132510
|
-
|
|
132508
|
+
/** Customer key associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
|
|
132509
|
+
customer_key?: string | undefined;
|
|
132511
132510
|
/** 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). */
|
|
132512
132511
|
connected_account_ids: string[];
|
|
132513
132512
|
/** 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). */
|
|
@@ -132566,8 +132565,8 @@ type Routes = {
|
|
|
132566
132565
|
user_identifier_key: string | null;
|
|
132567
132566
|
/** Number of devices associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
|
|
132568
132567
|
device_count: number;
|
|
132569
|
-
/** Customer
|
|
132570
|
-
|
|
132568
|
+
/** Customer key associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
|
|
132569
|
+
customer_key?: string | undefined;
|
|
132571
132570
|
/** 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). */
|
|
132572
132571
|
connected_account_ids: string[];
|
|
132573
132572
|
/** 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). */
|
|
@@ -132614,8 +132613,8 @@ type Routes = {
|
|
|
132614
132613
|
user_identifier_key: string | null;
|
|
132615
132614
|
/** Number of devices associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
|
|
132616
132615
|
device_count: number;
|
|
132617
|
-
/** Customer
|
|
132618
|
-
|
|
132616
|
+
/** Customer key associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
|
|
132617
|
+
customer_key?: string | undefined;
|
|
132619
132618
|
/** 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). */
|
|
132620
132619
|
connected_account_ids: string[];
|
|
132621
132620
|
/** 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). */
|
|
@@ -160145,8 +160144,8 @@ type Routes = {
|
|
|
160145
160144
|
user_identifier_key: string | null;
|
|
160146
160145
|
/** Number of devices associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
|
|
160147
160146
|
device_count: number;
|
|
160148
|
-
/** Customer
|
|
160149
|
-
|
|
160147
|
+
/** Customer key associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
|
|
160148
|
+
customer_key?: string | undefined;
|
|
160150
160149
|
/** 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). */
|
|
160151
160150
|
connected_account_ids: string[];
|
|
160152
160151
|
/** 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). */
|
|
@@ -184755,8 +184754,8 @@ type Routes = {
|
|
|
184755
184754
|
user_identifier_key: string | null;
|
|
184756
184755
|
/** Number of devices associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
|
|
184757
184756
|
device_count: number;
|
|
184758
|
-
/** Customer
|
|
184759
|
-
|
|
184757
|
+
/** Customer key associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens). */
|
|
184758
|
+
customer_key?: string | undefined;
|
|
184760
184759
|
/** 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). */
|
|
184761
184760
|
connected_account_ids: string[];
|
|
184762
184761
|
/** 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). */
|
package/dist/index.cjs
CHANGED
|
@@ -3916,8 +3916,8 @@ var client_session = zod.z.object({
|
|
|
3916
3916
|
device_count: zod.z.number().describe(
|
|
3917
3917
|
"Number of devices associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens)."
|
|
3918
3918
|
),
|
|
3919
|
-
|
|
3920
|
-
"Customer
|
|
3919
|
+
customer_key: zod.z.string().optional().describe(
|
|
3920
|
+
"Customer key associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens)."
|
|
3921
3921
|
),
|
|
3922
3922
|
connected_account_ids: zod.z.array(zod.z.string().uuid()).describe(
|
|
3923
3923
|
"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)."
|
|
@@ -13168,9 +13168,8 @@ var openapi_default = {
|
|
|
13168
13168
|
format: "date-time",
|
|
13169
13169
|
type: "string"
|
|
13170
13170
|
},
|
|
13171
|
-
|
|
13172
|
-
description: "Customer
|
|
13173
|
-
format: "uuid",
|
|
13171
|
+
customer_key: {
|
|
13172
|
+
description: "Customer key associated with the [client session](https://docs.seam.co/latest/core-concepts/authentication/client-session-tokens).",
|
|
13174
13173
|
type: "string"
|
|
13175
13174
|
},
|
|
13176
13175
|
device_count: {
|
|
@@ -31952,7 +31951,15 @@ var openapi_default = {
|
|
|
31952
31951
|
required: false,
|
|
31953
31952
|
schema: {
|
|
31954
31953
|
items: {
|
|
31955
|
-
enum: [
|
|
31954
|
+
enum: [
|
|
31955
|
+
"spaces",
|
|
31956
|
+
"devices",
|
|
31957
|
+
"acs_entrances",
|
|
31958
|
+
"access_grants",
|
|
31959
|
+
"access_methods",
|
|
31960
|
+
"instant_keys",
|
|
31961
|
+
"client_sessions"
|
|
31962
|
+
],
|
|
31956
31963
|
type: "string"
|
|
31957
31964
|
},
|
|
31958
31965
|
type: "array"
|
|
@@ -31964,7 +31971,15 @@ var openapi_default = {
|
|
|
31964
31971
|
required: false,
|
|
31965
31972
|
schema: {
|
|
31966
31973
|
items: {
|
|
31967
|
-
enum: [
|
|
31974
|
+
enum: [
|
|
31975
|
+
"spaces",
|
|
31976
|
+
"devices",
|
|
31977
|
+
"acs_entrances",
|
|
31978
|
+
"access_grants",
|
|
31979
|
+
"access_methods",
|
|
31980
|
+
"instant_keys",
|
|
31981
|
+
"client_sessions"
|
|
31982
|
+
],
|
|
31968
31983
|
type: "string"
|
|
31969
31984
|
},
|
|
31970
31985
|
type: "array"
|
|
@@ -32171,14 +32186,30 @@ var openapi_default = {
|
|
|
32171
32186
|
},
|
|
32172
32187
|
exclude: {
|
|
32173
32188
|
items: {
|
|
32174
|
-
enum: [
|
|
32189
|
+
enum: [
|
|
32190
|
+
"spaces",
|
|
32191
|
+
"devices",
|
|
32192
|
+
"acs_entrances",
|
|
32193
|
+
"access_grants",
|
|
32194
|
+
"access_methods",
|
|
32195
|
+
"instant_keys",
|
|
32196
|
+
"client_sessions"
|
|
32197
|
+
],
|
|
32175
32198
|
type: "string"
|
|
32176
32199
|
},
|
|
32177
32200
|
type: "array"
|
|
32178
32201
|
},
|
|
32179
32202
|
include: {
|
|
32180
32203
|
items: {
|
|
32181
|
-
enum: [
|
|
32204
|
+
enum: [
|
|
32205
|
+
"spaces",
|
|
32206
|
+
"devices",
|
|
32207
|
+
"acs_entrances",
|
|
32208
|
+
"access_grants",
|
|
32209
|
+
"access_methods",
|
|
32210
|
+
"instant_keys",
|
|
32211
|
+
"client_sessions"
|
|
32212
|
+
],
|
|
32182
32213
|
type: "string"
|
|
32183
32214
|
},
|
|
32184
32215
|
type: "array"
|