@seamapi/types 1.449.0 → 1.450.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 +32 -4
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +84 -0
- package/dist/index.cjs +32 -4
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-grants/access-grant.d.ts +3 -0
- package/lib/seam/connect/models/access-grants/access-grant.js +4 -0
- package/lib/seam/connect/models/access-grants/access-grant.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +66 -0
- package/lib/seam/connect/openapi.js +28 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +15 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-grants/access-grant.ts +6 -0
- package/src/lib/seam/connect/openapi.ts +31 -0
- package/src/lib/seam/connect/route-types.ts +15 -0
|
@@ -9994,6 +9994,8 @@ export interface Routes {
|
|
|
9994
9994
|
}>;
|
|
9995
9995
|
/** IDs of the access methods created for the Access Grant. */
|
|
9996
9996
|
access_method_ids: string[];
|
|
9997
|
+
/** Client Session Token. Only returned if the Access Grant has a mobile_key access method. */
|
|
9998
|
+
client_session_token?: string | undefined;
|
|
9997
9999
|
/** Display name of the Access Grant. */
|
|
9998
10000
|
display_name: string;
|
|
9999
10001
|
/** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */
|
|
@@ -10061,6 +10063,8 @@ export interface Routes {
|
|
|
10061
10063
|
}>;
|
|
10062
10064
|
/** IDs of the access methods created for the Access Grant. */
|
|
10063
10065
|
access_method_ids: string[];
|
|
10066
|
+
/** Client Session Token. Only returned if the Access Grant has a mobile_key access method. */
|
|
10067
|
+
client_session_token?: string | undefined;
|
|
10064
10068
|
/** Display name of the Access Grant. */
|
|
10065
10069
|
display_name: string;
|
|
10066
10070
|
/** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */
|
|
@@ -10123,6 +10127,8 @@ export interface Routes {
|
|
|
10123
10127
|
}>;
|
|
10124
10128
|
/** IDs of the access methods created for the Access Grant. */
|
|
10125
10129
|
access_method_ids: string[];
|
|
10130
|
+
/** Client Session Token. Only returned if the Access Grant has a mobile_key access method. */
|
|
10131
|
+
client_session_token?: string | undefined;
|
|
10126
10132
|
/** Display name of the Access Grant. */
|
|
10127
10133
|
display_name: string;
|
|
10128
10134
|
/** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */
|
|
@@ -46552,6 +46558,7 @@ export interface Routes {
|
|
|
46552
46558
|
name: string;
|
|
46553
46559
|
}>;
|
|
46554
46560
|
needs_review?: boolean | undefined;
|
|
46561
|
+
is_draft?: boolean | undefined;
|
|
46555
46562
|
}>;
|
|
46556
46563
|
};
|
|
46557
46564
|
};
|
|
@@ -47969,6 +47976,8 @@ export interface Routes {
|
|
|
47969
47976
|
commonParams: {
|
|
47970
47977
|
/** String for which to search. Filters returned spaces to include all records that satisfy a partial match using `name`. */
|
|
47971
47978
|
search?: string | undefined;
|
|
47979
|
+
/** Filter spaces to only include those that contain devices or access control systems belonging to the specified connected account. */
|
|
47980
|
+
connected_account_id?: string | undefined;
|
|
47972
47981
|
/** Filter spaces by space_key. */
|
|
47973
47982
|
space_key?: string | undefined;
|
|
47974
47983
|
};
|
|
@@ -63518,6 +63527,8 @@ export interface Routes {
|
|
|
63518
63527
|
}>;
|
|
63519
63528
|
/** IDs of the access methods created for the Access Grant. */
|
|
63520
63529
|
access_method_ids: string[];
|
|
63530
|
+
/** Client Session Token. Only returned if the Access Grant has a mobile_key access method. */
|
|
63531
|
+
client_session_token?: string | undefined;
|
|
63521
63532
|
/** Display name of the Access Grant. */
|
|
63522
63533
|
display_name: string;
|
|
63523
63534
|
/** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */
|
|
@@ -63582,6 +63593,8 @@ export interface Routes {
|
|
|
63582
63593
|
}>;
|
|
63583
63594
|
/** IDs of the access methods created for the Access Grant. */
|
|
63584
63595
|
access_method_ids: string[];
|
|
63596
|
+
/** Client Session Token. Only returned if the Access Grant has a mobile_key access method. */
|
|
63597
|
+
client_session_token?: string | undefined;
|
|
63585
63598
|
/** Display name of the Access Grant. */
|
|
63586
63599
|
display_name: string;
|
|
63587
63600
|
/** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */
|
|
@@ -63642,6 +63655,8 @@ export interface Routes {
|
|
|
63642
63655
|
}>;
|
|
63643
63656
|
/** IDs of the access methods created for the Access Grant. */
|
|
63644
63657
|
access_method_ids: string[];
|
|
63658
|
+
/** Client Session Token. Only returned if the Access Grant has a mobile_key access method. */
|
|
63659
|
+
client_session_token?: string | undefined;
|
|
63645
63660
|
/** Display name of the Access Grant. */
|
|
63646
63661
|
display_name: string;
|
|
63647
63662
|
/** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */
|
package/package.json
CHANGED
|
@@ -30,6 +30,12 @@ export const access_grant = z.object({
|
|
|
30
30
|
access_method_ids: z
|
|
31
31
|
.array(z.string().uuid())
|
|
32
32
|
.describe('IDs of the access methods created for the Access Grant.'),
|
|
33
|
+
client_session_token: z
|
|
34
|
+
.string()
|
|
35
|
+
.optional()
|
|
36
|
+
.describe(
|
|
37
|
+
'Client Session Token. Only returned if the Access Grant has a mobile_key access method.',
|
|
38
|
+
),
|
|
33
39
|
display_name: z.string().describe('Display name of the Access Grant.'),
|
|
34
40
|
instant_key_url: z
|
|
35
41
|
.string()
|
|
@@ -1833,6 +1833,11 @@ export default {
|
|
|
1833
1833
|
items: { format: 'uuid', type: 'string' },
|
|
1834
1834
|
type: 'array',
|
|
1835
1835
|
},
|
|
1836
|
+
client_session_token: {
|
|
1837
|
+
description:
|
|
1838
|
+
'Client Session Token. Only returned if the Access Grant has a mobile_key access method.',
|
|
1839
|
+
type: 'string',
|
|
1840
|
+
},
|
|
1836
1841
|
created_at: {
|
|
1837
1842
|
description: 'Date and time at which the Access Grant was created.',
|
|
1838
1843
|
format: 'date-time',
|
|
@@ -46674,6 +46679,7 @@ export default {
|
|
|
46674
46679
|
},
|
|
46675
46680
|
type: 'array',
|
|
46676
46681
|
},
|
|
46682
|
+
is_draft: { type: 'boolean' },
|
|
46677
46683
|
name: { type: 'string' },
|
|
46678
46684
|
needs_review: { type: 'boolean' },
|
|
46679
46685
|
partner_resource_key: { type: 'string' },
|
|
@@ -46770,6 +46776,7 @@ export default {
|
|
|
46770
46776
|
},
|
|
46771
46777
|
type: 'array',
|
|
46772
46778
|
},
|
|
46779
|
+
is_draft: { type: 'boolean' },
|
|
46773
46780
|
name: { type: 'string' },
|
|
46774
46781
|
needs_review: { type: 'boolean' },
|
|
46775
46782
|
partner_resource_key: { type: 'string' },
|
|
@@ -46862,6 +46869,7 @@ export default {
|
|
|
46862
46869
|
{ pat_with_workspace: [] },
|
|
46863
46870
|
{ console_session_with_workspace: [] },
|
|
46864
46871
|
{ api_key: [] },
|
|
46872
|
+
{ client_session_with_customer: [] },
|
|
46865
46873
|
],
|
|
46866
46874
|
summary: '/spaces/add_acs_entrances',
|
|
46867
46875
|
tags: [],
|
|
@@ -46920,6 +46928,7 @@ export default {
|
|
|
46920
46928
|
{ pat_with_workspace: [] },
|
|
46921
46929
|
{ console_session_with_workspace: [] },
|
|
46922
46930
|
{ api_key: [] },
|
|
46931
|
+
{ client_session_with_customer: [] },
|
|
46923
46932
|
],
|
|
46924
46933
|
summary: '/spaces/add_acs_entrances',
|
|
46925
46934
|
tags: [],
|
|
@@ -46979,6 +46988,7 @@ export default {
|
|
|
46979
46988
|
{ pat_with_workspace: [] },
|
|
46980
46989
|
{ console_session_with_workspace: [] },
|
|
46981
46990
|
{ api_key: [] },
|
|
46991
|
+
{ client_session_with_customer: [] },
|
|
46982
46992
|
],
|
|
46983
46993
|
summary: '/spaces/add_devices',
|
|
46984
46994
|
tags: [],
|
|
@@ -47036,6 +47046,7 @@ export default {
|
|
|
47036
47046
|
{ pat_with_workspace: [] },
|
|
47037
47047
|
{ console_session_with_workspace: [] },
|
|
47038
47048
|
{ api_key: [] },
|
|
47049
|
+
{ client_session_with_customer: [] },
|
|
47039
47050
|
],
|
|
47040
47051
|
summary: '/spaces/add_devices',
|
|
47041
47052
|
tags: [],
|
|
@@ -47524,6 +47535,18 @@ export default {
|
|
|
47524
47535
|
type: 'string',
|
|
47525
47536
|
},
|
|
47526
47537
|
},
|
|
47538
|
+
{
|
|
47539
|
+
in: 'query',
|
|
47540
|
+
name: 'connected_account_id',
|
|
47541
|
+
schema: {
|
|
47542
|
+
description:
|
|
47543
|
+
'Filter spaces to only include those that contain devices or access control systems belonging to the specified connected account.',
|
|
47544
|
+
format: 'uuid',
|
|
47545
|
+
type: 'string',
|
|
47546
|
+
'x-draft': 'Needs review.',
|
|
47547
|
+
'x-undocumented': 'Only used internally.',
|
|
47548
|
+
},
|
|
47549
|
+
},
|
|
47527
47550
|
{
|
|
47528
47551
|
in: 'query',
|
|
47529
47552
|
name: 'space_key',
|
|
@@ -47578,6 +47601,14 @@ export default {
|
|
|
47578
47601
|
'application/json': {
|
|
47579
47602
|
schema: {
|
|
47580
47603
|
properties: {
|
|
47604
|
+
connected_account_id: {
|
|
47605
|
+
description:
|
|
47606
|
+
'Filter spaces to only include those that contain devices or access control systems belonging to the specified connected account.',
|
|
47607
|
+
format: 'uuid',
|
|
47608
|
+
type: 'string',
|
|
47609
|
+
'x-draft': 'Needs review.',
|
|
47610
|
+
'x-undocumented': 'Only used internally.',
|
|
47611
|
+
},
|
|
47581
47612
|
search: {
|
|
47582
47613
|
description:
|
|
47583
47614
|
'String for which to search. Filters returned spaces to include all records that satisfy a partial match using `name`.',
|
|
@@ -11218,6 +11218,8 @@ export interface Routes {
|
|
|
11218
11218
|
}>
|
|
11219
11219
|
/** IDs of the access methods created for the Access Grant. */
|
|
11220
11220
|
access_method_ids: string[]
|
|
11221
|
+
/** Client Session Token. Only returned if the Access Grant has a mobile_key access method. */
|
|
11222
|
+
client_session_token?: string | undefined
|
|
11221
11223
|
/** Display name of the Access Grant. */
|
|
11222
11224
|
display_name: string
|
|
11223
11225
|
/** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */
|
|
@@ -11287,6 +11289,8 @@ export interface Routes {
|
|
|
11287
11289
|
}>
|
|
11288
11290
|
/** IDs of the access methods created for the Access Grant. */
|
|
11289
11291
|
access_method_ids: string[]
|
|
11292
|
+
/** Client Session Token. Only returned if the Access Grant has a mobile_key access method. */
|
|
11293
|
+
client_session_token?: string | undefined
|
|
11290
11294
|
/** Display name of the Access Grant. */
|
|
11291
11295
|
display_name: string
|
|
11292
11296
|
/** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */
|
|
@@ -11349,6 +11353,8 @@ export interface Routes {
|
|
|
11349
11353
|
}>
|
|
11350
11354
|
/** IDs of the access methods created for the Access Grant. */
|
|
11351
11355
|
access_method_ids: string[]
|
|
11356
|
+
/** Client Session Token. Only returned if the Access Grant has a mobile_key access method. */
|
|
11357
|
+
client_session_token?: string | undefined
|
|
11352
11358
|
/** Display name of the Access Grant. */
|
|
11353
11359
|
display_name: string
|
|
11354
11360
|
/** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */
|
|
@@ -54964,6 +54970,7 @@ export interface Routes {
|
|
|
54964
54970
|
name: string
|
|
54965
54971
|
}>
|
|
54966
54972
|
needs_review?: boolean | undefined
|
|
54973
|
+
is_draft?: boolean | undefined
|
|
54967
54974
|
}>
|
|
54968
54975
|
}
|
|
54969
54976
|
}
|
|
@@ -56728,6 +56735,8 @@ export interface Routes {
|
|
|
56728
56735
|
commonParams: {
|
|
56729
56736
|
/** String for which to search. Filters returned spaces to include all records that satisfy a partial match using `name`. */
|
|
56730
56737
|
search?: string | undefined
|
|
56738
|
+
/** Filter spaces to only include those that contain devices or access control systems belonging to the specified connected account. */
|
|
56739
|
+
connected_account_id?: string | undefined
|
|
56731
56740
|
/** Filter spaces by space_key. */
|
|
56732
56741
|
space_key?: string | undefined
|
|
56733
56742
|
}
|
|
@@ -74864,6 +74873,8 @@ export interface Routes {
|
|
|
74864
74873
|
}>
|
|
74865
74874
|
/** IDs of the access methods created for the Access Grant. */
|
|
74866
74875
|
access_method_ids: string[]
|
|
74876
|
+
/** Client Session Token. Only returned if the Access Grant has a mobile_key access method. */
|
|
74877
|
+
client_session_token?: string | undefined
|
|
74867
74878
|
/** Display name of the Access Grant. */
|
|
74868
74879
|
display_name: string
|
|
74869
74880
|
/** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */
|
|
@@ -74928,6 +74939,8 @@ export interface Routes {
|
|
|
74928
74939
|
}>
|
|
74929
74940
|
/** IDs of the access methods created for the Access Grant. */
|
|
74930
74941
|
access_method_ids: string[]
|
|
74942
|
+
/** Client Session Token. Only returned if the Access Grant has a mobile_key access method. */
|
|
74943
|
+
client_session_token?: string | undefined
|
|
74931
74944
|
/** Display name of the Access Grant. */
|
|
74932
74945
|
display_name: string
|
|
74933
74946
|
/** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */
|
|
@@ -74988,6 +75001,8 @@ export interface Routes {
|
|
|
74988
75001
|
}>
|
|
74989
75002
|
/** IDs of the access methods created for the Access Grant. */
|
|
74990
75003
|
access_method_ids: string[]
|
|
75004
|
+
/** Client Session Token. Only returned if the Access Grant has a mobile_key access method. */
|
|
75005
|
+
client_session_token?: string | undefined
|
|
74991
75006
|
/** Display name of the Access Grant. */
|
|
74992
75007
|
display_name: string
|
|
74993
75008
|
/** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */
|