@seamapi/types 1.726.0 → 1.728.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 +73 -18
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +334 -50
- package/dist/index.cjs +73 -18
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/acs/acs-access-group.d.ts +36 -0
- package/lib/seam/connect/models/acs/acs-access-group.js +4 -0
- package/lib/seam/connect/models/acs/acs-access-group.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-users/acs-user.d.ts +16 -16
- package/lib/seam/connect/models/batch.d.ts +84 -32
- package/lib/seam/connect/openapi.d.ts +48 -0
- package/lib/seam/connect/openapi.js +50 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +150 -2
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-access-group.ts +7 -0
- package/src/lib/seam/connect/openapi.ts +56 -0
- package/src/lib/seam/connect/route-types.ts +173 -0
|
@@ -10456,8 +10456,8 @@ export type Routes = {
|
|
|
10456
10456
|
access_grant_ids?: string[] | undefined;
|
|
10457
10457
|
/** Keys of the access grants that you want to get along with their related resources. */
|
|
10458
10458
|
access_grant_keys?: string[] | undefined;
|
|
10459
|
-
include?: ('spaces' | 'devices' | 'acs_entrances' | 'connected_accounts' | 'acs_systems' | 'user_identities' | 'acs_access_groups')[] | undefined;
|
|
10460
|
-
exclude?: ('spaces' | 'devices' | 'acs_entrances' | 'connected_accounts' | 'acs_systems' | 'user_identities' | 'acs_access_groups')[] | undefined;
|
|
10459
|
+
include?: ('spaces' | 'devices' | 'acs_entrances' | 'connected_accounts' | 'acs_systems' | 'user_identities' | 'acs_access_groups' | 'access_methods')[] | undefined;
|
|
10460
|
+
exclude?: ('spaces' | 'devices' | 'acs_entrances' | 'connected_accounts' | 'acs_systems' | 'user_identities' | 'acs_access_groups' | 'access_methods')[] | undefined;
|
|
10461
10461
|
};
|
|
10462
10462
|
formData: {};
|
|
10463
10463
|
jsonResponse: {
|
|
@@ -12246,8 +12246,114 @@ export type Routes = {
|
|
|
12246
12246
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
12247
12247
|
warning_code: 'being_deleted';
|
|
12248
12248
|
})[];
|
|
12249
|
+
/** `starts_at` and `ends_at` timestamps for the access group's access. */
|
|
12250
|
+
access_schedule?: {
|
|
12251
|
+
/** Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
12252
|
+
starts_at: string;
|
|
12253
|
+
/** Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
12254
|
+
ends_at: string | null;
|
|
12255
|
+
} | undefined;
|
|
12249
12256
|
is_managed: true;
|
|
12250
12257
|
}[] | undefined;
|
|
12258
|
+
access_methods?: {
|
|
12259
|
+
/** ID of the Seam workspace associated with the access method. */
|
|
12260
|
+
workspace_id: string;
|
|
12261
|
+
/** ID of the access method. */
|
|
12262
|
+
access_method_id: string;
|
|
12263
|
+
/** Display name of the access method. */
|
|
12264
|
+
display_name: string;
|
|
12265
|
+
/** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
|
|
12266
|
+
mode: 'code' | 'card' | 'mobile_key';
|
|
12267
|
+
/** Date and time at which the access method was created. */
|
|
12268
|
+
created_at: string;
|
|
12269
|
+
/** Date and time at which the access method was issued. */
|
|
12270
|
+
issued_at: string | null;
|
|
12271
|
+
/** Indicates whether the access method has been issued. */
|
|
12272
|
+
is_issued: boolean;
|
|
12273
|
+
/** URL of the Instant Key for mobile key access methods. */
|
|
12274
|
+
instant_key_url?: string | undefined;
|
|
12275
|
+
/** Token of the client session associated with the access method. */
|
|
12276
|
+
client_session_token?: string | undefined;
|
|
12277
|
+
/** Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method. */
|
|
12278
|
+
is_encoding_required?: boolean | undefined;
|
|
12279
|
+
/** The actual PIN code for code access methods. */
|
|
12280
|
+
code?: (string | null) | undefined;
|
|
12281
|
+
/** Warnings associated with the [access method](https://docs.seam.co/latest/capability-guides/access-grants/delivering-access-methods). */
|
|
12282
|
+
warnings: ({
|
|
12283
|
+
/** Date and time at which Seam created the warning. */
|
|
12284
|
+
created_at: string;
|
|
12285
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
12286
|
+
message: string;
|
|
12287
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
12288
|
+
warning_code: 'being_deleted';
|
|
12289
|
+
} | {
|
|
12290
|
+
/** Date and time at which Seam created the warning. */
|
|
12291
|
+
created_at: string;
|
|
12292
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
12293
|
+
message: string;
|
|
12294
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
12295
|
+
warning_code: 'updating_access_times';
|
|
12296
|
+
})[];
|
|
12297
|
+
/** Pending mutations for the [access method](https://docs.seam.co/latest/capability-guides/access-grants/delivering-access-methods). Indicates operations that are in progress. */
|
|
12298
|
+
pending_mutations: ({
|
|
12299
|
+
/** Date and time at which the mutation was created. */
|
|
12300
|
+
created_at: string;
|
|
12301
|
+
/** Detailed description of the mutation. */
|
|
12302
|
+
message: string;
|
|
12303
|
+
/** Mutation code to indicate that Seam is in the process of provisioning access for this access method on new devices. */
|
|
12304
|
+
mutation_code: 'provisioning_access';
|
|
12305
|
+
/** Previous device configuration. */
|
|
12306
|
+
from: {
|
|
12307
|
+
/** Previous device IDs where access was provisioned. */
|
|
12308
|
+
device_ids: string[];
|
|
12309
|
+
};
|
|
12310
|
+
/** New device configuration. */
|
|
12311
|
+
to: {
|
|
12312
|
+
/** New device IDs where access is being provisioned. */
|
|
12313
|
+
device_ids: string[];
|
|
12314
|
+
};
|
|
12315
|
+
} | {
|
|
12316
|
+
/** Date and time at which the mutation was created. */
|
|
12317
|
+
created_at: string;
|
|
12318
|
+
/** Detailed description of the mutation. */
|
|
12319
|
+
message: string;
|
|
12320
|
+
/** Mutation code to indicate that Seam is in the process of revoking access for this access method from devices. */
|
|
12321
|
+
mutation_code: 'revoking_access';
|
|
12322
|
+
/** Previous device configuration. */
|
|
12323
|
+
from: {
|
|
12324
|
+
/** Previous device IDs where access existed. */
|
|
12325
|
+
device_ids: string[];
|
|
12326
|
+
};
|
|
12327
|
+
/** New device configuration. */
|
|
12328
|
+
to: {
|
|
12329
|
+
/** New device IDs where access should remain. */
|
|
12330
|
+
device_ids: string[];
|
|
12331
|
+
};
|
|
12332
|
+
} | {
|
|
12333
|
+
/** Date and time at which the mutation was created. */
|
|
12334
|
+
created_at: string;
|
|
12335
|
+
/** Detailed description of the mutation. */
|
|
12336
|
+
message: string;
|
|
12337
|
+
/** Mutation code to indicate that Seam is in the process of updating the access times for this access method. */
|
|
12338
|
+
mutation_code: 'updating_access_times';
|
|
12339
|
+
/** Previous access time configuration. */
|
|
12340
|
+
from: {
|
|
12341
|
+
/** Previous start time for access. */
|
|
12342
|
+
starts_at: string | null;
|
|
12343
|
+
/** Previous end time for access. */
|
|
12344
|
+
ends_at: string | null;
|
|
12345
|
+
};
|
|
12346
|
+
/** New access time configuration. */
|
|
12347
|
+
to: {
|
|
12348
|
+
/** New start time for access. */
|
|
12349
|
+
starts_at: string | null;
|
|
12350
|
+
/** New end time for access. */
|
|
12351
|
+
ends_at: string | null;
|
|
12352
|
+
};
|
|
12353
|
+
})[];
|
|
12354
|
+
/** ID of the customization profile associated with the access method. */
|
|
12355
|
+
customization_profile_id?: string | undefined;
|
|
12356
|
+
}[] | undefined;
|
|
12251
12357
|
};
|
|
12252
12358
|
};
|
|
12253
12359
|
maxDuration: undefined;
|
|
@@ -16733,6 +16839,13 @@ export type Routes = {
|
|
|
16733
16839
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
16734
16840
|
warning_code: 'being_deleted';
|
|
16735
16841
|
})[];
|
|
16842
|
+
/** `starts_at` and `ends_at` timestamps for the access group's access. */
|
|
16843
|
+
access_schedule?: {
|
|
16844
|
+
/** Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
16845
|
+
starts_at: string;
|
|
16846
|
+
/** Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
16847
|
+
ends_at: string | null;
|
|
16848
|
+
} | undefined;
|
|
16736
16849
|
is_managed: true;
|
|
16737
16850
|
};
|
|
16738
16851
|
};
|
|
@@ -16795,6 +16908,13 @@ export type Routes = {
|
|
|
16795
16908
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
16796
16909
|
warning_code: 'being_deleted';
|
|
16797
16910
|
})[];
|
|
16911
|
+
/** `starts_at` and `ends_at` timestamps for the access group's access. */
|
|
16912
|
+
access_schedule?: {
|
|
16913
|
+
/** Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
16914
|
+
starts_at: string;
|
|
16915
|
+
/** Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
16916
|
+
ends_at: string | null;
|
|
16917
|
+
} | undefined;
|
|
16798
16918
|
is_managed: true;
|
|
16799
16919
|
}[];
|
|
16800
16920
|
};
|
|
@@ -17241,6 +17361,13 @@ export type Routes = {
|
|
|
17241
17361
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
17242
17362
|
warning_code: 'being_deleted';
|
|
17243
17363
|
})[];
|
|
17364
|
+
/** `starts_at` and `ends_at` timestamps for the access group's access. */
|
|
17365
|
+
access_schedule?: {
|
|
17366
|
+
/** Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
17367
|
+
starts_at: string;
|
|
17368
|
+
/** Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
17369
|
+
ends_at: string | null;
|
|
17370
|
+
} | undefined;
|
|
17244
17371
|
is_managed: false;
|
|
17245
17372
|
};
|
|
17246
17373
|
};
|
|
@@ -17301,6 +17428,13 @@ export type Routes = {
|
|
|
17301
17428
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
17302
17429
|
warning_code: 'being_deleted';
|
|
17303
17430
|
})[];
|
|
17431
|
+
/** `starts_at` and `ends_at` timestamps for the access group's access. */
|
|
17432
|
+
access_schedule?: {
|
|
17433
|
+
/** Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
17434
|
+
starts_at: string;
|
|
17435
|
+
/** Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
17436
|
+
ends_at: string | null;
|
|
17437
|
+
} | undefined;
|
|
17304
17438
|
is_managed: false;
|
|
17305
17439
|
}[];
|
|
17306
17440
|
};
|
|
@@ -85782,6 +85916,13 @@ export type Routes = {
|
|
|
85782
85916
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
85783
85917
|
warning_code: 'being_deleted';
|
|
85784
85918
|
})[];
|
|
85919
|
+
/** `starts_at` and `ends_at` timestamps for the access group's access. */
|
|
85920
|
+
access_schedule?: {
|
|
85921
|
+
/** Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
85922
|
+
starts_at: string;
|
|
85923
|
+
/** Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
85924
|
+
ends_at: string | null;
|
|
85925
|
+
} | undefined;
|
|
85785
85926
|
is_managed: true;
|
|
85786
85927
|
}[] | undefined;
|
|
85787
85928
|
acs_encoders?: {
|
|
@@ -87354,6 +87495,13 @@ export type Routes = {
|
|
|
87354
87495
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
87355
87496
|
warning_code: 'being_deleted';
|
|
87356
87497
|
})[];
|
|
87498
|
+
/** `starts_at` and `ends_at` timestamps for the access group's access. */
|
|
87499
|
+
access_schedule?: {
|
|
87500
|
+
/** Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
87501
|
+
starts_at: string;
|
|
87502
|
+
/** Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
87503
|
+
ends_at: string | null;
|
|
87504
|
+
} | undefined;
|
|
87357
87505
|
is_managed: false;
|
|
87358
87506
|
}[] | undefined;
|
|
87359
87507
|
unmanaged_devices?: {
|
package/package.json
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { z } from 'zod'
|
|
2
2
|
|
|
3
|
+
import { schedule } from '../schedule.js'
|
|
4
|
+
|
|
3
5
|
// If changed, update seam.acs_access_group.external_type generated column
|
|
4
6
|
export const acs_access_group_external_type = z.enum([
|
|
5
7
|
'pti_unit',
|
|
@@ -111,6 +113,11 @@ const common_acs_access_group = z.object({
|
|
|
111
113
|
warnings: z
|
|
112
114
|
.array(acs_access_group_warning)
|
|
113
115
|
.describe('Warnings associated with the `acs_access_group`.'),
|
|
116
|
+
access_schedule: schedule
|
|
117
|
+
.optional()
|
|
118
|
+
.describe(
|
|
119
|
+
"`starts_at` and `ends_at` timestamps for the access group's access.",
|
|
120
|
+
),
|
|
114
121
|
})
|
|
115
122
|
|
|
116
123
|
export const acs_access_group = common_acs_access_group.extend({
|
|
@@ -2703,6 +2703,27 @@ export default {
|
|
|
2703
2703
|
type: 'string',
|
|
2704
2704
|
'x-deprecated': 'Use `external_type_display_name`.',
|
|
2705
2705
|
},
|
|
2706
|
+
access_schedule: {
|
|
2707
|
+
description:
|
|
2708
|
+
"`starts_at` and `ends_at` timestamps for the access group's access.",
|
|
2709
|
+
properties: {
|
|
2710
|
+
ends_at: {
|
|
2711
|
+
description:
|
|
2712
|
+
"Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
|
|
2713
|
+
format: 'date-time',
|
|
2714
|
+
nullable: true,
|
|
2715
|
+
type: 'string',
|
|
2716
|
+
},
|
|
2717
|
+
starts_at: {
|
|
2718
|
+
description:
|
|
2719
|
+
"Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
|
|
2720
|
+
format: 'date-time',
|
|
2721
|
+
type: 'string',
|
|
2722
|
+
},
|
|
2723
|
+
},
|
|
2724
|
+
required: ['starts_at', 'ends_at'],
|
|
2725
|
+
type: 'object',
|
|
2726
|
+
},
|
|
2706
2727
|
acs_access_group_id: {
|
|
2707
2728
|
description: 'ID of the access group.',
|
|
2708
2729
|
format: 'uuid',
|
|
@@ -26403,6 +26424,27 @@ export default {
|
|
|
26403
26424
|
type: 'string',
|
|
26404
26425
|
'x-deprecated': 'Use `external_type_display_name`.',
|
|
26405
26426
|
},
|
|
26427
|
+
access_schedule: {
|
|
26428
|
+
description:
|
|
26429
|
+
"`starts_at` and `ends_at` timestamps for the access group's access.",
|
|
26430
|
+
properties: {
|
|
26431
|
+
ends_at: {
|
|
26432
|
+
description:
|
|
26433
|
+
"Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
|
|
26434
|
+
format: 'date-time',
|
|
26435
|
+
nullable: true,
|
|
26436
|
+
type: 'string',
|
|
26437
|
+
},
|
|
26438
|
+
starts_at: {
|
|
26439
|
+
description:
|
|
26440
|
+
"Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
|
|
26441
|
+
format: 'date-time',
|
|
26442
|
+
type: 'string',
|
|
26443
|
+
},
|
|
26444
|
+
},
|
|
26445
|
+
required: ['starts_at', 'ends_at'],
|
|
26446
|
+
type: 'object',
|
|
26447
|
+
},
|
|
26406
26448
|
acs_access_group_id: {
|
|
26407
26449
|
description: 'ID of the access group.',
|
|
26408
26450
|
format: 'uuid',
|
|
@@ -33038,6 +33080,7 @@ export default {
|
|
|
33038
33080
|
'acs_systems',
|
|
33039
33081
|
'user_identities',
|
|
33040
33082
|
'acs_access_groups',
|
|
33083
|
+
'access_methods',
|
|
33041
33084
|
],
|
|
33042
33085
|
type: 'string',
|
|
33043
33086
|
},
|
|
@@ -33057,6 +33100,7 @@ export default {
|
|
|
33057
33100
|
'acs_systems',
|
|
33058
33101
|
'user_identities',
|
|
33059
33102
|
'acs_access_groups',
|
|
33103
|
+
'access_methods',
|
|
33060
33104
|
],
|
|
33061
33105
|
type: 'string',
|
|
33062
33106
|
},
|
|
@@ -33073,6 +33117,10 @@ export default {
|
|
|
33073
33117
|
batch: {
|
|
33074
33118
|
description: 'A batch of workspace resources.',
|
|
33075
33119
|
properties: {
|
|
33120
|
+
access_methods: {
|
|
33121
|
+
items: { $ref: '#/components/schemas/access_method' },
|
|
33122
|
+
type: 'array',
|
|
33123
|
+
},
|
|
33076
33124
|
acs_access_groups: {
|
|
33077
33125
|
items: {
|
|
33078
33126
|
$ref: '#/components/schemas/acs_access_group',
|
|
@@ -33136,6 +33184,7 @@ export default {
|
|
|
33136
33184
|
'acs_systems',
|
|
33137
33185
|
'user_identities',
|
|
33138
33186
|
'acs_access_groups',
|
|
33187
|
+
'access_methods',
|
|
33139
33188
|
],
|
|
33140
33189
|
'x-draft': 'Early access.',
|
|
33141
33190
|
'x-fern-sdk-group-name': ['access_grants'],
|
|
@@ -33175,6 +33224,7 @@ export default {
|
|
|
33175
33224
|
'acs_systems',
|
|
33176
33225
|
'user_identities',
|
|
33177
33226
|
'acs_access_groups',
|
|
33227
|
+
'access_methods',
|
|
33178
33228
|
],
|
|
33179
33229
|
type: 'string',
|
|
33180
33230
|
},
|
|
@@ -33190,6 +33240,7 @@ export default {
|
|
|
33190
33240
|
'acs_systems',
|
|
33191
33241
|
'user_identities',
|
|
33192
33242
|
'acs_access_groups',
|
|
33243
|
+
'access_methods',
|
|
33193
33244
|
],
|
|
33194
33245
|
type: 'string',
|
|
33195
33246
|
},
|
|
@@ -33210,6 +33261,10 @@ export default {
|
|
|
33210
33261
|
batch: {
|
|
33211
33262
|
description: 'A batch of workspace resources.',
|
|
33212
33263
|
properties: {
|
|
33264
|
+
access_methods: {
|
|
33265
|
+
items: { $ref: '#/components/schemas/access_method' },
|
|
33266
|
+
type: 'array',
|
|
33267
|
+
},
|
|
33213
33268
|
acs_access_groups: {
|
|
33214
33269
|
items: {
|
|
33215
33270
|
$ref: '#/components/schemas/acs_access_group',
|
|
@@ -33273,6 +33328,7 @@ export default {
|
|
|
33273
33328
|
'acs_systems',
|
|
33274
33329
|
'user_identities',
|
|
33275
33330
|
'acs_access_groups',
|
|
33331
|
+
'access_methods',
|
|
33276
33332
|
],
|
|
33277
33333
|
'x-draft': 'Early access.',
|
|
33278
33334
|
'x-fern-sdk-group-name': ['access_grants'],
|
|
@@ -11786,6 +11786,7 @@ export type Routes = {
|
|
|
11786
11786
|
| 'acs_systems'
|
|
11787
11787
|
| 'user_identities'
|
|
11788
11788
|
| 'acs_access_groups'
|
|
11789
|
+
| 'access_methods'
|
|
11789
11790
|
)[]
|
|
11790
11791
|
| undefined
|
|
11791
11792
|
exclude?:
|
|
@@ -11797,6 +11798,7 @@ export type Routes = {
|
|
|
11797
11798
|
| 'acs_systems'
|
|
11798
11799
|
| 'user_identities'
|
|
11799
11800
|
| 'acs_access_groups'
|
|
11801
|
+
| 'access_methods'
|
|
11800
11802
|
)[]
|
|
11801
11803
|
| undefined
|
|
11802
11804
|
}
|
|
@@ -14061,9 +14063,126 @@ export type Routes = {
|
|
|
14061
14063
|
warning_code: 'being_deleted'
|
|
14062
14064
|
}
|
|
14063
14065
|
)[]
|
|
14066
|
+
/** `starts_at` and `ends_at` timestamps for the access group's access. */
|
|
14067
|
+
access_schedule?:
|
|
14068
|
+
| {
|
|
14069
|
+
/** Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
14070
|
+
starts_at: string
|
|
14071
|
+
/** Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
14072
|
+
ends_at: string | null
|
|
14073
|
+
}
|
|
14074
|
+
| undefined
|
|
14064
14075
|
is_managed: true
|
|
14065
14076
|
}[]
|
|
14066
14077
|
| undefined
|
|
14078
|
+
access_methods?:
|
|
14079
|
+
| {
|
|
14080
|
+
/** ID of the Seam workspace associated with the access method. */
|
|
14081
|
+
workspace_id: string
|
|
14082
|
+
/** ID of the access method. */
|
|
14083
|
+
access_method_id: string
|
|
14084
|
+
/** Display name of the access method. */
|
|
14085
|
+
display_name: string
|
|
14086
|
+
/** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
|
|
14087
|
+
mode: 'code' | 'card' | 'mobile_key'
|
|
14088
|
+
/** Date and time at which the access method was created. */
|
|
14089
|
+
created_at: string
|
|
14090
|
+
/** Date and time at which the access method was issued. */
|
|
14091
|
+
issued_at: string | null
|
|
14092
|
+
/** Indicates whether the access method has been issued. */
|
|
14093
|
+
is_issued: boolean
|
|
14094
|
+
/** URL of the Instant Key for mobile key access methods. */
|
|
14095
|
+
instant_key_url?: string | undefined
|
|
14096
|
+
/** Token of the client session associated with the access method. */
|
|
14097
|
+
client_session_token?: string | undefined
|
|
14098
|
+
/** Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method. */
|
|
14099
|
+
is_encoding_required?: boolean | undefined
|
|
14100
|
+
/** The actual PIN code for code access methods. */
|
|
14101
|
+
code?: (string | null) | undefined
|
|
14102
|
+
/** Warnings associated with the [access method](https://docs.seam.co/latest/capability-guides/access-grants/delivering-access-methods). */
|
|
14103
|
+
warnings: (
|
|
14104
|
+
| {
|
|
14105
|
+
/** Date and time at which Seam created the warning. */
|
|
14106
|
+
created_at: string
|
|
14107
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
14108
|
+
message: string
|
|
14109
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
14110
|
+
warning_code: 'being_deleted'
|
|
14111
|
+
}
|
|
14112
|
+
| {
|
|
14113
|
+
/** Date and time at which Seam created the warning. */
|
|
14114
|
+
created_at: string
|
|
14115
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
14116
|
+
message: string
|
|
14117
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
14118
|
+
warning_code: 'updating_access_times'
|
|
14119
|
+
}
|
|
14120
|
+
)[]
|
|
14121
|
+
/** Pending mutations for the [access method](https://docs.seam.co/latest/capability-guides/access-grants/delivering-access-methods). Indicates operations that are in progress. */
|
|
14122
|
+
pending_mutations: (
|
|
14123
|
+
| {
|
|
14124
|
+
/** Date and time at which the mutation was created. */
|
|
14125
|
+
created_at: string
|
|
14126
|
+
/** Detailed description of the mutation. */
|
|
14127
|
+
message: string
|
|
14128
|
+
/** Mutation code to indicate that Seam is in the process of provisioning access for this access method on new devices. */
|
|
14129
|
+
mutation_code: 'provisioning_access'
|
|
14130
|
+
/** Previous device configuration. */
|
|
14131
|
+
from: {
|
|
14132
|
+
/** Previous device IDs where access was provisioned. */
|
|
14133
|
+
device_ids: string[]
|
|
14134
|
+
}
|
|
14135
|
+
/** New device configuration. */
|
|
14136
|
+
to: {
|
|
14137
|
+
/** New device IDs where access is being provisioned. */
|
|
14138
|
+
device_ids: string[]
|
|
14139
|
+
}
|
|
14140
|
+
}
|
|
14141
|
+
| {
|
|
14142
|
+
/** Date and time at which the mutation was created. */
|
|
14143
|
+
created_at: string
|
|
14144
|
+
/** Detailed description of the mutation. */
|
|
14145
|
+
message: string
|
|
14146
|
+
/** Mutation code to indicate that Seam is in the process of revoking access for this access method from devices. */
|
|
14147
|
+
mutation_code: 'revoking_access'
|
|
14148
|
+
/** Previous device configuration. */
|
|
14149
|
+
from: {
|
|
14150
|
+
/** Previous device IDs where access existed. */
|
|
14151
|
+
device_ids: string[]
|
|
14152
|
+
}
|
|
14153
|
+
/** New device configuration. */
|
|
14154
|
+
to: {
|
|
14155
|
+
/** New device IDs where access should remain. */
|
|
14156
|
+
device_ids: string[]
|
|
14157
|
+
}
|
|
14158
|
+
}
|
|
14159
|
+
| {
|
|
14160
|
+
/** Date and time at which the mutation was created. */
|
|
14161
|
+
created_at: string
|
|
14162
|
+
/** Detailed description of the mutation. */
|
|
14163
|
+
message: string
|
|
14164
|
+
/** Mutation code to indicate that Seam is in the process of updating the access times for this access method. */
|
|
14165
|
+
mutation_code: 'updating_access_times'
|
|
14166
|
+
/** Previous access time configuration. */
|
|
14167
|
+
from: {
|
|
14168
|
+
/** Previous start time for access. */
|
|
14169
|
+
starts_at: string | null
|
|
14170
|
+
/** Previous end time for access. */
|
|
14171
|
+
ends_at: string | null
|
|
14172
|
+
}
|
|
14173
|
+
/** New access time configuration. */
|
|
14174
|
+
to: {
|
|
14175
|
+
/** New start time for access. */
|
|
14176
|
+
starts_at: string | null
|
|
14177
|
+
/** New end time for access. */
|
|
14178
|
+
ends_at: string | null
|
|
14179
|
+
}
|
|
14180
|
+
}
|
|
14181
|
+
)[]
|
|
14182
|
+
/** ID of the customization profile associated with the access method. */
|
|
14183
|
+
customization_profile_id?: string | undefined
|
|
14184
|
+
}[]
|
|
14185
|
+
| undefined
|
|
14067
14186
|
}
|
|
14068
14187
|
}
|
|
14069
14188
|
maxDuration: undefined
|
|
@@ -19283,6 +19402,15 @@ export type Routes = {
|
|
|
19283
19402
|
warning_code: 'being_deleted'
|
|
19284
19403
|
}
|
|
19285
19404
|
)[]
|
|
19405
|
+
/** `starts_at` and `ends_at` timestamps for the access group's access. */
|
|
19406
|
+
access_schedule?:
|
|
19407
|
+
| {
|
|
19408
|
+
/** Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
19409
|
+
starts_at: string
|
|
19410
|
+
/** Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
19411
|
+
ends_at: string | null
|
|
19412
|
+
}
|
|
19413
|
+
| undefined
|
|
19286
19414
|
is_managed: true
|
|
19287
19415
|
}
|
|
19288
19416
|
}
|
|
@@ -19362,6 +19490,15 @@ export type Routes = {
|
|
|
19362
19490
|
warning_code: 'being_deleted'
|
|
19363
19491
|
}
|
|
19364
19492
|
)[]
|
|
19493
|
+
/** `starts_at` and `ends_at` timestamps for the access group's access. */
|
|
19494
|
+
access_schedule?:
|
|
19495
|
+
| {
|
|
19496
|
+
/** Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
19497
|
+
starts_at: string
|
|
19498
|
+
/** Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
19499
|
+
ends_at: string | null
|
|
19500
|
+
}
|
|
19501
|
+
| undefined
|
|
19365
19502
|
is_managed: true
|
|
19366
19503
|
}[]
|
|
19367
19504
|
}
|
|
@@ -19888,6 +20025,15 @@ export type Routes = {
|
|
|
19888
20025
|
warning_code: 'being_deleted'
|
|
19889
20026
|
}
|
|
19890
20027
|
)[]
|
|
20028
|
+
/** `starts_at` and `ends_at` timestamps for the access group's access. */
|
|
20029
|
+
access_schedule?:
|
|
20030
|
+
| {
|
|
20031
|
+
/** Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
20032
|
+
starts_at: string
|
|
20033
|
+
/** Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
20034
|
+
ends_at: string | null
|
|
20035
|
+
}
|
|
20036
|
+
| undefined
|
|
19891
20037
|
is_managed: false
|
|
19892
20038
|
}
|
|
19893
20039
|
}
|
|
@@ -19965,6 +20111,15 @@ export type Routes = {
|
|
|
19965
20111
|
warning_code: 'being_deleted'
|
|
19966
20112
|
}
|
|
19967
20113
|
)[]
|
|
20114
|
+
/** `starts_at` and `ends_at` timestamps for the access group's access. */
|
|
20115
|
+
access_schedule?:
|
|
20116
|
+
| {
|
|
20117
|
+
/** Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
20118
|
+
starts_at: string
|
|
20119
|
+
/** Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
20120
|
+
ends_at: string | null
|
|
20121
|
+
}
|
|
20122
|
+
| undefined
|
|
19968
20123
|
is_managed: false
|
|
19969
20124
|
}[]
|
|
19970
20125
|
}
|
|
@@ -101799,6 +101954,15 @@ export type Routes = {
|
|
|
101799
101954
|
warning_code: 'being_deleted'
|
|
101800
101955
|
}
|
|
101801
101956
|
)[]
|
|
101957
|
+
/** `starts_at` and `ends_at` timestamps for the access group's access. */
|
|
101958
|
+
access_schedule?:
|
|
101959
|
+
| {
|
|
101960
|
+
/** Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
101961
|
+
starts_at: string
|
|
101962
|
+
/** Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
101963
|
+
ends_at: string | null
|
|
101964
|
+
}
|
|
101965
|
+
| undefined
|
|
101802
101966
|
is_managed: true
|
|
101803
101967
|
}[]
|
|
101804
101968
|
| undefined
|
|
@@ -103650,6 +103814,15 @@ export type Routes = {
|
|
|
103650
103814
|
warning_code: 'being_deleted'
|
|
103651
103815
|
}
|
|
103652
103816
|
)[]
|
|
103817
|
+
/** `starts_at` and `ends_at` timestamps for the access group's access. */
|
|
103818
|
+
access_schedule?:
|
|
103819
|
+
| {
|
|
103820
|
+
/** Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
103821
|
+
starts_at: string
|
|
103822
|
+
/** Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
103823
|
+
ends_at: string | null
|
|
103824
|
+
}
|
|
103825
|
+
| undefined
|
|
103653
103826
|
is_managed: false
|
|
103654
103827
|
}[]
|
|
103655
103828
|
| undefined
|