@seamapi/types 1.1005.0 → 1.1006.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/lib/seam/connect/models/access-grants/access-grant.d.ts +5 -1
- package/lib/seam/connect/models/access-grants/access-grant.js +6 -0
- package/lib/seam/connect/models/access-grants/access-grant.js.map +1 -1
- package/lib/seam/connect/models/access-grants/access-method.d.ts +4 -4
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +4 -4
- package/lib/seam/connect/models/action-attempts/assign-credential.d.ts +4 -4
- package/lib/seam/connect/openapi.js +5 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +18 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-grants/access-grant.ts +8 -0
- package/src/lib/seam/connect/openapi.ts +6 -0
- package/src/lib/seam/connect/route-types.ts +18 -0
|
@@ -11509,6 +11509,8 @@ export type Routes = {
|
|
|
11509
11509
|
starts_at: string;
|
|
11510
11510
|
/** Date and time at which the Access Grant ends. */
|
|
11511
11511
|
ends_at: string | null;
|
|
11512
|
+
/** Human-readable sentence answering whether the user can currently get in, for example `Awaiting encoding` on an access method or `Upcoming` here. For display only. The wording is not stable and is not an enumeration — it may change at any time, so never compare against or branch on it. To make decisions, read `starts_at`, `ends_at`, `errors`, and the access methods' own fields. */
|
|
11513
|
+
display_status: string;
|
|
11512
11514
|
/** Warnings associated with the [access grant](https://docs.seam.co/use-cases/granting-access). */
|
|
11513
11515
|
warnings: ({
|
|
11514
11516
|
/** Date and time at which Seam created the warning. */
|
|
@@ -11719,6 +11721,8 @@ export type Routes = {
|
|
|
11719
11721
|
starts_at: string;
|
|
11720
11722
|
/** Date and time at which the Access Grant ends. */
|
|
11721
11723
|
ends_at: string | null;
|
|
11724
|
+
/** Human-readable sentence answering whether the user can currently get in, for example `Awaiting encoding` on an access method or `Upcoming` here. For display only. The wording is not stable and is not an enumeration — it may change at any time, so never compare against or branch on it. To make decisions, read `starts_at`, `ends_at`, `errors`, and the access methods' own fields. */
|
|
11725
|
+
display_status: string;
|
|
11722
11726
|
/** Warnings associated with the [access grant](https://docs.seam.co/use-cases/granting-access). */
|
|
11723
11727
|
warnings: ({
|
|
11724
11728
|
/** Date and time at which Seam created the warning. */
|
|
@@ -14373,6 +14377,8 @@ export type Routes = {
|
|
|
14373
14377
|
starts_at: string;
|
|
14374
14378
|
/** Date and time at which the Access Grant ends. */
|
|
14375
14379
|
ends_at: string | null;
|
|
14380
|
+
/** Human-readable sentence answering whether the user can currently get in, for example `Awaiting encoding` on an access method or `Upcoming` here. For display only. The wording is not stable and is not an enumeration — it may change at any time, so never compare against or branch on it. To make decisions, read `starts_at`, `ends_at`, `errors`, and the access methods' own fields. */
|
|
14381
|
+
display_status: string;
|
|
14376
14382
|
/** Warnings associated with the [access grant](https://docs.seam.co/use-cases/granting-access). */
|
|
14377
14383
|
warnings: ({
|
|
14378
14384
|
/** Date and time at which Seam created the warning. */
|
|
@@ -14585,6 +14591,8 @@ export type Routes = {
|
|
|
14585
14591
|
starts_at: string;
|
|
14586
14592
|
/** Date and time at which the Access Grant ends. */
|
|
14587
14593
|
ends_at: string | null;
|
|
14594
|
+
/** Human-readable sentence answering whether the user can currently get in, for example `Awaiting encoding` on an access method or `Upcoming` here. For display only. The wording is not stable and is not an enumeration — it may change at any time, so never compare against or branch on it. To make decisions, read `starts_at`, `ends_at`, `errors`, and the access methods' own fields. */
|
|
14595
|
+
display_status: string;
|
|
14588
14596
|
/** Warnings associated with the [access grant](https://docs.seam.co/use-cases/granting-access). */
|
|
14589
14597
|
warnings: ({
|
|
14590
14598
|
/** Date and time at which Seam created the warning. */
|
|
@@ -20709,6 +20717,8 @@ export type Routes = {
|
|
|
20709
20717
|
starts_at: string;
|
|
20710
20718
|
/** Date and time at which the Access Grant ends. */
|
|
20711
20719
|
ends_at: string | null;
|
|
20720
|
+
/** Human-readable sentence answering whether the user can currently get in, for example `Awaiting encoding` on an access method or `Upcoming` here. For display only. The wording is not stable and is not an enumeration — it may change at any time, so never compare against or branch on it. To make decisions, read `starts_at`, `ends_at`, `errors`, and the access methods' own fields. */
|
|
20721
|
+
display_status: string;
|
|
20712
20722
|
/** Warnings associated with the [access grant](https://docs.seam.co/use-cases/granting-access). */
|
|
20713
20723
|
warnings: ({
|
|
20714
20724
|
/** Date and time at which Seam created the warning. */
|
|
@@ -78926,6 +78936,8 @@ export type Routes = {
|
|
|
78926
78936
|
starts_at: string;
|
|
78927
78937
|
/** Date and time at which the Access Grant ends. */
|
|
78928
78938
|
ends_at: string | null;
|
|
78939
|
+
/** Human-readable sentence answering whether the user can currently get in, for example `Awaiting encoding` on an access method or `Upcoming` here. For display only. The wording is not stable and is not an enumeration — it may change at any time, so never compare against or branch on it. To make decisions, read `starts_at`, `ends_at`, `errors`, and the access methods' own fields. */
|
|
78940
|
+
display_status: string;
|
|
78929
78941
|
/** Warnings associated with the [access grant](https://docs.seam.co/use-cases/granting-access). */
|
|
78930
78942
|
warnings: ({
|
|
78931
78943
|
/** Date and time at which Seam created the warning. */
|
|
@@ -85459,6 +85471,8 @@ export type Routes = {
|
|
|
85459
85471
|
starts_at: string;
|
|
85460
85472
|
/** Date and time at which the Access Grant ends. */
|
|
85461
85473
|
ends_at: string | null;
|
|
85474
|
+
/** Human-readable sentence answering whether the user can currently get in, for example `Awaiting encoding` on an access method or `Upcoming` here. For display only. The wording is not stable and is not an enumeration — it may change at any time, so never compare against or branch on it. To make decisions, read `starts_at`, `ends_at`, `errors`, and the access methods' own fields. */
|
|
85475
|
+
display_status: string;
|
|
85462
85476
|
/** Warnings associated with the [access grant](https://docs.seam.co/use-cases/granting-access). */
|
|
85463
85477
|
warnings: ({
|
|
85464
85478
|
/** Date and time at which Seam created the warning. */
|
|
@@ -85960,6 +85974,8 @@ export type Routes = {
|
|
|
85960
85974
|
starts_at: string;
|
|
85961
85975
|
/** Date and time at which the Access Grant ends. */
|
|
85962
85976
|
ends_at: string | null;
|
|
85977
|
+
/** Human-readable sentence answering whether the user can currently get in, for example `Awaiting encoding` on an access method or `Upcoming` here. For display only. The wording is not stable and is not an enumeration — it may change at any time, so never compare against or branch on it. To make decisions, read `starts_at`, `ends_at`, `errors`, and the access methods' own fields. */
|
|
85978
|
+
display_status: string;
|
|
85963
85979
|
/** Warnings associated with the [access grant](https://docs.seam.co/use-cases/granting-access). */
|
|
85964
85980
|
warnings: ({
|
|
85965
85981
|
/** Date and time at which Seam created the warning. */
|
|
@@ -120983,6 +120999,8 @@ export type Routes = {
|
|
|
120983
120999
|
starts_at: string;
|
|
120984
121000
|
/** Date and time at which the Access Grant ends. */
|
|
120985
121001
|
ends_at: string | null;
|
|
121002
|
+
/** Human-readable sentence answering whether the user can currently get in, for example `Awaiting encoding` on an access method or `Upcoming` here. For display only. The wording is not stable and is not an enumeration — it may change at any time, so never compare against or branch on it. To make decisions, read `starts_at`, `ends_at`, `errors`, and the access methods' own fields. */
|
|
121003
|
+
display_status: string;
|
|
120986
121004
|
/** Warnings associated with the [access grant](https://docs.seam.co/use-cases/granting-access). */
|
|
120987
121005
|
warnings: ({
|
|
120988
121006
|
/** Date and time at which Seam created the warning. */
|
package/package.json
CHANGED
|
@@ -285,6 +285,11 @@ export const access_grant = z.object({
|
|
|
285
285
|
.datetime()
|
|
286
286
|
.nullable()
|
|
287
287
|
.describe('Date and time at which the Access Grant ends.'),
|
|
288
|
+
display_status: z
|
|
289
|
+
.string()
|
|
290
|
+
.describe(
|
|
291
|
+
"Human-readable sentence answering whether the user can currently get in, for example `Awaiting encoding` on an access method or `Upcoming` here. For display only. The wording is not stable and is not an enumeration — it may change at any time, so never compare against or branch on it. To make decisions, read `starts_at`, `ends_at`, `errors`, and the access methods' own fields.",
|
|
292
|
+
),
|
|
288
293
|
warnings: z
|
|
289
294
|
.array(access_grant_warning)
|
|
290
295
|
.describe(
|
|
@@ -325,6 +330,9 @@ export const unmanaged_access_grant = access_grant
|
|
|
325
330
|
customization_profile_id: true,
|
|
326
331
|
access_grant_key: true,
|
|
327
332
|
user_identity_id: true,
|
|
333
|
+
// Seam does not provision these grants, so it has no basis for saying
|
|
334
|
+
// whether access works — "blocked" would be a claim about another system.
|
|
335
|
+
display_status: true,
|
|
328
336
|
})
|
|
329
337
|
.extend({
|
|
330
338
|
user_identity_id: access_grant.shape.user_identity_id.optional(),
|
|
@@ -1659,6 +1659,11 @@ const openapi: OpenAPISpec = {
|
|
|
1659
1659
|
description: 'Display name of the Access Grant.',
|
|
1660
1660
|
type: 'string',
|
|
1661
1661
|
},
|
|
1662
|
+
display_status: {
|
|
1663
|
+
description:
|
|
1664
|
+
"Human-readable sentence answering whether the user can currently get in, for example `Awaiting encoding` on an access method or `Upcoming` here. For display only. The wording is not stable and is not an enumeration — it may change at any time, so never compare against or branch on it. To make decisions, read `starts_at`, `ends_at`, `errors`, and the access methods' own fields.",
|
|
1665
|
+
type: 'string',
|
|
1666
|
+
},
|
|
1662
1667
|
ends_at: {
|
|
1663
1668
|
description: 'Date and time at which the Access Grant ends.',
|
|
1664
1669
|
format: 'date-time',
|
|
@@ -2244,6 +2249,7 @@ const openapi: OpenAPISpec = {
|
|
|
2244
2249
|
'created_at',
|
|
2245
2250
|
'starts_at',
|
|
2246
2251
|
'ends_at',
|
|
2252
|
+
'display_status',
|
|
2247
2253
|
'warnings',
|
|
2248
2254
|
'errors',
|
|
2249
2255
|
'pending_mutations',
|
|
@@ -13185,6 +13185,8 @@ export type Routes = {
|
|
|
13185
13185
|
starts_at: string
|
|
13186
13186
|
/** Date and time at which the Access Grant ends. */
|
|
13187
13187
|
ends_at: string | null
|
|
13188
|
+
/** Human-readable sentence answering whether the user can currently get in, for example `Awaiting encoding` on an access method or `Upcoming` here. For display only. The wording is not stable and is not an enumeration — it may change at any time, so never compare against or branch on it. To make decisions, read `starts_at`, `ends_at`, `errors`, and the access methods' own fields. */
|
|
13189
|
+
display_status: string
|
|
13188
13190
|
/** Warnings associated with the [access grant](https://docs.seam.co/use-cases/granting-access). */
|
|
13189
13191
|
warnings: (
|
|
13190
13192
|
| {
|
|
@@ -13413,6 +13415,8 @@ export type Routes = {
|
|
|
13413
13415
|
starts_at: string
|
|
13414
13416
|
/** Date and time at which the Access Grant ends. */
|
|
13415
13417
|
ends_at: string | null
|
|
13418
|
+
/** Human-readable sentence answering whether the user can currently get in, for example `Awaiting encoding` on an access method or `Upcoming` here. For display only. The wording is not stable and is not an enumeration — it may change at any time, so never compare against or branch on it. To make decisions, read `starts_at`, `ends_at`, `errors`, and the access methods' own fields. */
|
|
13419
|
+
display_status: string
|
|
13416
13420
|
/** Warnings associated with the [access grant](https://docs.seam.co/use-cases/granting-access). */
|
|
13417
13421
|
warnings: (
|
|
13418
13422
|
| {
|
|
@@ -16749,6 +16753,8 @@ export type Routes = {
|
|
|
16749
16753
|
starts_at: string
|
|
16750
16754
|
/** Date and time at which the Access Grant ends. */
|
|
16751
16755
|
ends_at: string | null
|
|
16756
|
+
/** Human-readable sentence answering whether the user can currently get in, for example `Awaiting encoding` on an access method or `Upcoming` here. For display only. The wording is not stable and is not an enumeration — it may change at any time, so never compare against or branch on it. To make decisions, read `starts_at`, `ends_at`, `errors`, and the access methods' own fields. */
|
|
16757
|
+
display_status: string
|
|
16752
16758
|
/** Warnings associated with the [access grant](https://docs.seam.co/use-cases/granting-access). */
|
|
16753
16759
|
warnings: (
|
|
16754
16760
|
| {
|
|
@@ -16977,6 +16983,8 @@ export type Routes = {
|
|
|
16977
16983
|
starts_at: string
|
|
16978
16984
|
/** Date and time at which the Access Grant ends. */
|
|
16979
16985
|
ends_at: string | null
|
|
16986
|
+
/** Human-readable sentence answering whether the user can currently get in, for example `Awaiting encoding` on an access method or `Upcoming` here. For display only. The wording is not stable and is not an enumeration — it may change at any time, so never compare against or branch on it. To make decisions, read `starts_at`, `ends_at`, `errors`, and the access methods' own fields. */
|
|
16987
|
+
display_status: string
|
|
16980
16988
|
/** Warnings associated with the [access grant](https://docs.seam.co/use-cases/granting-access). */
|
|
16981
16989
|
warnings: (
|
|
16982
16990
|
| {
|
|
@@ -24286,6 +24294,8 @@ export type Routes = {
|
|
|
24286
24294
|
starts_at: string
|
|
24287
24295
|
/** Date and time at which the Access Grant ends. */
|
|
24288
24296
|
ends_at: string | null
|
|
24297
|
+
/** Human-readable sentence answering whether the user can currently get in, for example `Awaiting encoding` on an access method or `Upcoming` here. For display only. The wording is not stable and is not an enumeration — it may change at any time, so never compare against or branch on it. To make decisions, read `starts_at`, `ends_at`, `errors`, and the access methods' own fields. */
|
|
24298
|
+
display_status: string
|
|
24289
24299
|
/** Warnings associated with the [access grant](https://docs.seam.co/use-cases/granting-access). */
|
|
24290
24300
|
warnings: (
|
|
24291
24301
|
| {
|
|
@@ -94932,6 +94942,8 @@ export type Routes = {
|
|
|
94932
94942
|
starts_at: string
|
|
94933
94943
|
/** Date and time at which the Access Grant ends. */
|
|
94934
94944
|
ends_at: string | null
|
|
94945
|
+
/** Human-readable sentence answering whether the user can currently get in, for example `Awaiting encoding` on an access method or `Upcoming` here. For display only. The wording is not stable and is not an enumeration — it may change at any time, so never compare against or branch on it. To make decisions, read `starts_at`, `ends_at`, `errors`, and the access methods' own fields. */
|
|
94946
|
+
display_status: string
|
|
94935
94947
|
/** Warnings associated with the [access grant](https://docs.seam.co/use-cases/granting-access). */
|
|
94936
94948
|
warnings: (
|
|
94937
94949
|
| {
|
|
@@ -102684,6 +102696,8 @@ export type Routes = {
|
|
|
102684
102696
|
starts_at: string
|
|
102685
102697
|
/** Date and time at which the Access Grant ends. */
|
|
102686
102698
|
ends_at: string | null
|
|
102699
|
+
/** Human-readable sentence answering whether the user can currently get in, for example `Awaiting encoding` on an access method or `Upcoming` here. For display only. The wording is not stable and is not an enumeration — it may change at any time, so never compare against or branch on it. To make decisions, read `starts_at`, `ends_at`, `errors`, and the access methods' own fields. */
|
|
102700
|
+
display_status: string
|
|
102687
102701
|
/** Warnings associated with the [access grant](https://docs.seam.co/use-cases/granting-access). */
|
|
102688
102702
|
warnings: (
|
|
102689
102703
|
| {
|
|
@@ -103241,6 +103255,8 @@ export type Routes = {
|
|
|
103241
103255
|
starts_at: string
|
|
103242
103256
|
/** Date and time at which the Access Grant ends. */
|
|
103243
103257
|
ends_at: string | null
|
|
103258
|
+
/** Human-readable sentence answering whether the user can currently get in, for example `Awaiting encoding` on an access method or `Upcoming` here. For display only. The wording is not stable and is not an enumeration — it may change at any time, so never compare against or branch on it. To make decisions, read `starts_at`, `ends_at`, `errors`, and the access methods' own fields. */
|
|
103259
|
+
display_status: string
|
|
103244
103260
|
/** Warnings associated with the [access grant](https://docs.seam.co/use-cases/granting-access). */
|
|
103245
103261
|
warnings: (
|
|
103246
103262
|
| {
|
|
@@ -145105,6 +145121,8 @@ export type Routes = {
|
|
|
145105
145121
|
starts_at: string
|
|
145106
145122
|
/** Date and time at which the Access Grant ends. */
|
|
145107
145123
|
ends_at: string | null
|
|
145124
|
+
/** Human-readable sentence answering whether the user can currently get in, for example `Awaiting encoding` on an access method or `Upcoming` here. For display only. The wording is not stable and is not an enumeration — it may change at any time, so never compare against or branch on it. To make decisions, read `starts_at`, `ends_at`, `errors`, and the access methods' own fields. */
|
|
145125
|
+
display_status: string
|
|
145108
145126
|
/** Warnings associated with the [access grant](https://docs.seam.co/use-cases/granting-access). */
|
|
145109
145127
|
warnings: (
|
|
145110
145128
|
| {
|