@seamapi/types 1.634.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 +4 -5
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +4 -4
- package/dist/index.cjs +4 -5
- 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.js +0 -4
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +4 -4
- 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 +0 -4
- package/src/lib/seam/connect/route-types.ts +4 -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
|
};
|
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',
|
|
@@ -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
|
}
|