@seamapi/types 1.633.0 → 1.635.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 +24 -15
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +58 -6
- package/dist/index.cjs +24 -15
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-grants/access-grant.d.ts +5 -3
- package/lib/seam/connect/models/access-grants/access-grant.js +6 -1
- package/lib/seam/connect/models/access-grants/access-grant.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +52 -0
- package/lib/seam/connect/openapi.js +10 -4
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +6 -6
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-grants/access-grant.ts +11 -6
- package/src/lib/seam/connect/openapi.ts +10 -4
- package/src/lib/seam/connect/route-types.ts +6 -4
|
@@ -12067,8 +12067,6 @@ export type Routes = {
|
|
|
12067
12067
|
access_grant_id: string;
|
|
12068
12068
|
/** Reservation key for the access grant. */
|
|
12069
12069
|
reservation_key?: string | undefined;
|
|
12070
|
-
/** ID of user identity to which the Access Grant gives access. */
|
|
12071
|
-
user_identity_id: string;
|
|
12072
12070
|
/**
|
|
12073
12071
|
* @deprecated Use `space_ids`.*/
|
|
12074
12072
|
location_ids: string[];
|
|
@@ -12108,6 +12106,8 @@ export type Routes = {
|
|
|
12108
12106
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
12109
12107
|
warning_code: 'being_deleted';
|
|
12110
12108
|
}[];
|
|
12109
|
+
/** ID of user identity to which the Access Grant gives access. */
|
|
12110
|
+
user_identity_id?: string | undefined;
|
|
12111
12111
|
};
|
|
12112
12112
|
};
|
|
12113
12113
|
};
|
|
@@ -12135,8 +12135,6 @@ export type Routes = {
|
|
|
12135
12135
|
access_grant_id: string;
|
|
12136
12136
|
/** Reservation key for the access grant. */
|
|
12137
12137
|
reservation_key?: string | undefined;
|
|
12138
|
-
/** ID of user identity to which the Access Grant gives access. */
|
|
12139
|
-
user_identity_id: string;
|
|
12140
12138
|
/**
|
|
12141
12139
|
* @deprecated Use `space_ids`.*/
|
|
12142
12140
|
location_ids: string[];
|
|
@@ -12176,6 +12174,8 @@ export type Routes = {
|
|
|
12176
12174
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
12177
12175
|
warning_code: 'being_deleted';
|
|
12178
12176
|
}[];
|
|
12177
|
+
/** ID of user identity to which the Access Grant gives access. */
|
|
12178
|
+
user_identity_id?: string | undefined;
|
|
12179
12179
|
}[];
|
|
12180
12180
|
};
|
|
12181
12181
|
};
|
|
@@ -13552,8 +13552,8 @@ export type Routes = {
|
|
|
13552
13552
|
commonParams: {
|
|
13553
13553
|
/** IDs of the access methods that you want to get along with their related resources. */
|
|
13554
13554
|
access_method_ids: string[];
|
|
13555
|
-
include?: ('spaces' | 'devices' | 'acs_entrances' | 'access_grants' | 'access_methods' | 'instant_keys' | 'client_sessions')[] | undefined;
|
|
13556
|
-
exclude?: ('spaces' | 'devices' | 'acs_entrances' | 'access_grants' | 'access_methods' | 'instant_keys' | 'client_sessions')[] | undefined;
|
|
13555
|
+
include?: ('spaces' | 'devices' | 'acs_entrances' | 'access_grants' | 'access_methods' | 'instant_keys' | 'client_sessions' | 'acs_credentials')[] | undefined;
|
|
13556
|
+
exclude?: ('spaces' | 'devices' | 'acs_entrances' | 'access_grants' | 'access_methods' | 'instant_keys' | 'client_sessions' | 'acs_credentials')[] | undefined;
|
|
13557
13557
|
};
|
|
13558
13558
|
formData: {};
|
|
13559
13559
|
jsonResponse: {
|
package/package.json
CHANGED
|
@@ -125,12 +125,17 @@ export const access_grant = z.object({
|
|
|
125
125
|
export type AccessGrant = z.infer<typeof access_grant>
|
|
126
126
|
|
|
127
127
|
// Unmanaged access grant schema - excludes client sessions, instant keys, customization profiles, and keys
|
|
128
|
-
export const unmanaged_access_grant = access_grant
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
128
|
+
export const unmanaged_access_grant = access_grant
|
|
129
|
+
.omit({
|
|
130
|
+
client_session_token: true,
|
|
131
|
+
instant_key_url: true,
|
|
132
|
+
customization_profile_id: true,
|
|
133
|
+
access_grant_key: true,
|
|
134
|
+
user_identity_id: true,
|
|
135
|
+
})
|
|
136
|
+
.extend({
|
|
137
|
+
user_identity_id: access_grant.shape.user_identity_id.optional(),
|
|
138
|
+
}).describe(`
|
|
134
139
|
---
|
|
135
140
|
draft: Early access.
|
|
136
141
|
route_path: /access_grants/unmanaged
|
|
@@ -29787,7 +29787,6 @@ export default {
|
|
|
29787
29787
|
required: [
|
|
29788
29788
|
'workspace_id',
|
|
29789
29789
|
'access_grant_id',
|
|
29790
|
-
'user_identity_id',
|
|
29791
29790
|
'location_ids',
|
|
29792
29791
|
'space_ids',
|
|
29793
29792
|
'requested_access_methods',
|
|
@@ -30021,7 +30020,6 @@ export default {
|
|
|
30021
30020
|
required: [
|
|
30022
30021
|
'workspace_id',
|
|
30023
30022
|
'access_grant_id',
|
|
30024
|
-
'user_identity_id',
|
|
30025
30023
|
'location_ids',
|
|
30026
30024
|
'space_ids',
|
|
30027
30025
|
'requested_access_methods',
|
|
@@ -30281,7 +30279,6 @@ export default {
|
|
|
30281
30279
|
required: [
|
|
30282
30280
|
'workspace_id',
|
|
30283
30281
|
'access_grant_id',
|
|
30284
|
-
'user_identity_id',
|
|
30285
30282
|
'location_ids',
|
|
30286
30283
|
'space_ids',
|
|
30287
30284
|
'requested_access_methods',
|
|
@@ -30535,7 +30532,6 @@ export default {
|
|
|
30535
30532
|
required: [
|
|
30536
30533
|
'workspace_id',
|
|
30537
30534
|
'access_grant_id',
|
|
30538
|
-
'user_identity_id',
|
|
30539
30535
|
'location_ids',
|
|
30540
30536
|
'space_ids',
|
|
30541
30537
|
'requested_access_methods',
|
|
@@ -31143,6 +31139,7 @@ export default {
|
|
|
31143
31139
|
'access_methods',
|
|
31144
31140
|
'instant_keys',
|
|
31145
31141
|
'client_sessions',
|
|
31142
|
+
'acs_credentials',
|
|
31146
31143
|
],
|
|
31147
31144
|
type: 'string',
|
|
31148
31145
|
},
|
|
@@ -31163,6 +31160,7 @@ export default {
|
|
|
31163
31160
|
'access_methods',
|
|
31164
31161
|
'instant_keys',
|
|
31165
31162
|
'client_sessions',
|
|
31163
|
+
'acs_credentials',
|
|
31166
31164
|
],
|
|
31167
31165
|
type: 'string',
|
|
31168
31166
|
},
|
|
@@ -31381,6 +31379,7 @@ export default {
|
|
|
31381
31379
|
'access_methods',
|
|
31382
31380
|
'instant_keys',
|
|
31383
31381
|
'client_sessions',
|
|
31382
|
+
'acs_credentials',
|
|
31384
31383
|
],
|
|
31385
31384
|
type: 'string',
|
|
31386
31385
|
},
|
|
@@ -31396,6 +31395,7 @@ export default {
|
|
|
31396
31395
|
'access_methods',
|
|
31397
31396
|
'instant_keys',
|
|
31398
31397
|
'client_sessions',
|
|
31398
|
+
'acs_credentials',
|
|
31399
31399
|
],
|
|
31400
31400
|
type: 'string',
|
|
31401
31401
|
},
|
|
@@ -35152,6 +35152,7 @@ export default {
|
|
|
35152
35152
|
{ pat_with_workspace: [] },
|
|
35153
35153
|
{ console_session_with_workspace: [] },
|
|
35154
35154
|
{ api_key: [] },
|
|
35155
|
+
{ client_session_with_customer: [] },
|
|
35155
35156
|
],
|
|
35156
35157
|
summary: '/acs/encoders/encode_credential',
|
|
35157
35158
|
tags: ['/acs'],
|
|
@@ -35298,6 +35299,7 @@ export default {
|
|
|
35298
35299
|
{ pat_with_workspace: [] },
|
|
35299
35300
|
{ console_session_with_workspace: [] },
|
|
35300
35301
|
{ api_key: [] },
|
|
35302
|
+
{ client_session_with_customer: [] },
|
|
35301
35303
|
],
|
|
35302
35304
|
summary: '/acs/encoders/list',
|
|
35303
35305
|
tags: ['/acs'],
|
|
@@ -35405,6 +35407,7 @@ export default {
|
|
|
35405
35407
|
{ pat_with_workspace: [] },
|
|
35406
35408
|
{ console_session_with_workspace: [] },
|
|
35407
35409
|
{ api_key: [] },
|
|
35410
|
+
{ client_session_with_customer: [] },
|
|
35408
35411
|
],
|
|
35409
35412
|
summary: '/acs/encoders/list',
|
|
35410
35413
|
tags: ['/acs'],
|
|
@@ -35610,6 +35613,7 @@ export default {
|
|
|
35610
35613
|
{ api_key: [] },
|
|
35611
35614
|
{ pat_with_workspace: [] },
|
|
35612
35615
|
{ console_session_with_workspace: [] },
|
|
35616
|
+
{ client_session_with_customer: [] },
|
|
35613
35617
|
],
|
|
35614
35618
|
summary: '/acs/encoders/simulate/next_credential_encode_will_succeed',
|
|
35615
35619
|
tags: ['/acs'],
|
|
@@ -38549,6 +38553,7 @@ export default {
|
|
|
38549
38553
|
{ pat_with_workspace: [] },
|
|
38550
38554
|
{ console_session_with_workspace: [] },
|
|
38551
38555
|
{ api_key: [] },
|
|
38556
|
+
{ client_session_with_customer: [] },
|
|
38552
38557
|
],
|
|
38553
38558
|
summary: '/action_attempts/get',
|
|
38554
38559
|
tags: ['/action_attempts'],
|
|
@@ -38606,6 +38611,7 @@ export default {
|
|
|
38606
38611
|
{ pat_with_workspace: [] },
|
|
38607
38612
|
{ console_session_with_workspace: [] },
|
|
38608
38613
|
{ api_key: [] },
|
|
38614
|
+
{ client_session_with_customer: [] },
|
|
38609
38615
|
],
|
|
38610
38616
|
summary: '/action_attempts/get',
|
|
38611
38617
|
tags: ['/action_attempts'],
|
|
@@ -13816,8 +13816,6 @@ export type Routes = {
|
|
|
13816
13816
|
access_grant_id: string
|
|
13817
13817
|
/** Reservation key for the access grant. */
|
|
13818
13818
|
reservation_key?: string | undefined
|
|
13819
|
-
/** ID of user identity to which the Access Grant gives access. */
|
|
13820
|
-
user_identity_id: string
|
|
13821
13819
|
/**
|
|
13822
13820
|
* @deprecated Use `space_ids`.*/
|
|
13823
13821
|
location_ids: string[]
|
|
@@ -13857,6 +13855,8 @@ export type Routes = {
|
|
|
13857
13855
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
13858
13856
|
warning_code: 'being_deleted'
|
|
13859
13857
|
}[]
|
|
13858
|
+
/** ID of user identity to which the Access Grant gives access. */
|
|
13859
|
+
user_identity_id?: string | undefined
|
|
13860
13860
|
}
|
|
13861
13861
|
}
|
|
13862
13862
|
}
|
|
@@ -13884,8 +13884,6 @@ export type Routes = {
|
|
|
13884
13884
|
access_grant_id: string
|
|
13885
13885
|
/** Reservation key for the access grant. */
|
|
13886
13886
|
reservation_key?: string | undefined
|
|
13887
|
-
/** ID of user identity to which the Access Grant gives access. */
|
|
13888
|
-
user_identity_id: string
|
|
13889
13887
|
/**
|
|
13890
13888
|
* @deprecated Use `space_ids`.*/
|
|
13891
13889
|
location_ids: string[]
|
|
@@ -13925,6 +13923,8 @@ export type Routes = {
|
|
|
13925
13923
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
13926
13924
|
warning_code: 'being_deleted'
|
|
13927
13925
|
}[]
|
|
13926
|
+
/** ID of user identity to which the Access Grant gives access. */
|
|
13927
|
+
user_identity_id?: string | undefined
|
|
13928
13928
|
}[]
|
|
13929
13929
|
}
|
|
13930
13930
|
}
|
|
@@ -15501,6 +15501,7 @@ export type Routes = {
|
|
|
15501
15501
|
| 'access_methods'
|
|
15502
15502
|
| 'instant_keys'
|
|
15503
15503
|
| 'client_sessions'
|
|
15504
|
+
| 'acs_credentials'
|
|
15504
15505
|
)[]
|
|
15505
15506
|
| undefined
|
|
15506
15507
|
exclude?:
|
|
@@ -15512,6 +15513,7 @@ export type Routes = {
|
|
|
15512
15513
|
| 'access_methods'
|
|
15513
15514
|
| 'instant_keys'
|
|
15514
15515
|
| 'client_sessions'
|
|
15516
|
+
| 'acs_credentials'
|
|
15515
15517
|
)[]
|
|
15516
15518
|
| undefined
|
|
15517
15519
|
}
|