@seamapi/types 1.554.0 → 1.556.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 +128 -108
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +376 -403
- package/dist/index.cjs +128 -108
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-grants/access-grant.d.ts +54 -0
- package/lib/seam/connect/models/access-grants/access-grant.js +24 -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 +54 -0
- package/lib/seam/connect/models/access-grants/access-method.js +24 -0
- package/lib/seam/connect/models/access-grants/access-method.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-credential.d.ts +10 -10
- package/lib/seam/connect/models/batch.d.ts +140 -110
- package/lib/seam/connect/models/events/access-methods.d.ts +4 -71
- package/lib/seam/connect/models/events/access-methods.js +2 -22
- package/lib/seam/connect/models/events/access-methods.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.d.ts +3 -36
- package/lib/seam/connect/openapi.d.ts +62 -110
- package/lib/seam/connect/openapi.js +65 -69
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +85 -94
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-grants/access-grant.ts +40 -0
- package/src/lib/seam/connect/models/access-grants/access-method.ts +40 -0
- package/src/lib/seam/connect/models/events/access-methods.ts +2 -29
- package/src/lib/seam/connect/openapi.ts +77 -74
- package/src/lib/seam/connect/route-types.ts +81 -99
package/dist/index.cjs
CHANGED
|
@@ -2310,6 +2310,24 @@ var requested_access_method = zod.z.object({
|
|
|
2310
2310
|
});
|
|
2311
2311
|
|
|
2312
2312
|
// src/lib/seam/connect/models/access-grants/access-grant.ts
|
|
2313
|
+
var common_access_grant_warning = zod.z.object({
|
|
2314
|
+
created_at: zod.z.string().datetime().describe("Date and time at which Seam created the warning."),
|
|
2315
|
+
message: zod.z.string().describe(
|
|
2316
|
+
"Detailed description of the warning. Provides insights into the issue and potentially how to rectify it."
|
|
2317
|
+
)
|
|
2318
|
+
});
|
|
2319
|
+
var warning_code_description4 = "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.";
|
|
2320
|
+
var being_deleted = common_access_grant_warning.extend({
|
|
2321
|
+
warning_code: zod.z.literal("being_deleted").describe(warning_code_description4)
|
|
2322
|
+
}).describe(
|
|
2323
|
+
"Indicates that the [access grant](https://docs.seam.co/latest/capability-guides/access-grants) is being deleted."
|
|
2324
|
+
);
|
|
2325
|
+
var access_grant_warning = zod.z.discriminatedUnion("warning_code", [being_deleted]).describe(
|
|
2326
|
+
"Warning associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants)."
|
|
2327
|
+
);
|
|
2328
|
+
zod.z.object({
|
|
2329
|
+
being_deleted: being_deleted.optional().nullable()
|
|
2330
|
+
});
|
|
2313
2331
|
var access_grant = zod.z.object({
|
|
2314
2332
|
workspace_id: zod.z.string().uuid().describe("ID of the Seam workspace associated with the Access Grant."),
|
|
2315
2333
|
access_grant_id: zod.z.string().uuid().describe("ID of the Access Grant."),
|
|
@@ -2336,6 +2354,9 @@ var access_grant = zod.z.object({
|
|
|
2336
2354
|
created_at: zod.z.string().datetime().describe("Date and time at which the Access Grant was created."),
|
|
2337
2355
|
starts_at: zod.z.string().datetime().describe("Date and time at which the Access Grant starts."),
|
|
2338
2356
|
ends_at: zod.z.string().datetime().nullable().describe("Date and time at which the Access Grant ends."),
|
|
2357
|
+
warnings: zod.z.array(access_grant_warning).describe(
|
|
2358
|
+
"Warnings associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants)."
|
|
2359
|
+
),
|
|
2339
2360
|
customization_profile_id: zod.z.string().uuid().optional().describe(
|
|
2340
2361
|
"ID of the customization profile associated with the Access Grant."
|
|
2341
2362
|
)
|
|
@@ -2346,6 +2367,24 @@ var access_grant = zod.z.object({
|
|
|
2346
2367
|
---
|
|
2347
2368
|
Represents an Access Grant. Access Grants enable you to grant a user identity access to spaces, entrances, and devices through one or more access methods, such as mobile keys, plastic cards, and PIN codes. You can create an Access Grant for an existing user identity, or you can create a new user identity *while* creating the new Access Grant.
|
|
2348
2369
|
`);
|
|
2370
|
+
var common_access_method_warning = zod.z.object({
|
|
2371
|
+
created_at: zod.z.string().datetime().describe("Date and time at which Seam created the warning."),
|
|
2372
|
+
message: zod.z.string().describe(
|
|
2373
|
+
"Detailed description of the warning. Provides insights into the issue and potentially how to rectify it."
|
|
2374
|
+
)
|
|
2375
|
+
});
|
|
2376
|
+
var warning_code_description5 = "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.";
|
|
2377
|
+
var being_deleted2 = common_access_method_warning.extend({
|
|
2378
|
+
warning_code: zod.z.literal("being_deleted").describe(warning_code_description5)
|
|
2379
|
+
}).describe(
|
|
2380
|
+
"Indicates that the [access method](https://docs.seam.co/latest/capability-guides/access-grants/delivering-access-methods) is being deleted."
|
|
2381
|
+
);
|
|
2382
|
+
var access_method_warning = zod.z.discriminatedUnion("warning_code", [being_deleted2]).describe(
|
|
2383
|
+
"Warning associated with the [access method](https://docs.seam.co/latest/capability-guides/access-grants/delivering-access-methods)."
|
|
2384
|
+
);
|
|
2385
|
+
zod.z.object({
|
|
2386
|
+
being_deleted: being_deleted2.optional().nullable()
|
|
2387
|
+
});
|
|
2349
2388
|
var access_method = zod.z.object({
|
|
2350
2389
|
workspace_id: zod.z.string().uuid().describe("ID of the Seam workspace associated with the access method."),
|
|
2351
2390
|
access_method_id: zod.z.string().uuid().describe("ID of the access method."),
|
|
@@ -2362,6 +2401,9 @@ var access_method = zod.z.object({
|
|
|
2362
2401
|
"Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method."
|
|
2363
2402
|
),
|
|
2364
2403
|
code: zod.z.string().nullable().optional().describe("The actual PIN code for code access methods."),
|
|
2404
|
+
warnings: zod.z.array(access_method_warning).describe(
|
|
2405
|
+
"Warnings associated with the [access method](https://docs.seam.co/latest/capability-guides/access-grants/delivering-access-methods)."
|
|
2406
|
+
),
|
|
2365
2407
|
customization_profile_id: zod.z.string().uuid().optional().describe(
|
|
2366
2408
|
"ID of the customization profile associated with the access method."
|
|
2367
2409
|
)
|
|
@@ -2387,9 +2429,9 @@ var common_acs_access_group_warning = zod.z.object({
|
|
|
2387
2429
|
"Detailed description of the warning. Provides insights into the issue and potentially how to rectify it."
|
|
2388
2430
|
)
|
|
2389
2431
|
});
|
|
2390
|
-
var
|
|
2432
|
+
var warning_code_description6 = "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.";
|
|
2391
2433
|
var unknown_issue_with_acs_access_group = common_acs_access_group_warning.extend({
|
|
2392
|
-
warning_code: zod.z.literal("unknown_issue_with_acs_access_group").describe(
|
|
2434
|
+
warning_code: zod.z.literal("unknown_issue_with_acs_access_group").describe(warning_code_description6)
|
|
2393
2435
|
}).describe(
|
|
2394
2436
|
"An unknown issue occurred while syncing the state of this access group with the provider. This issue may affect the proper functioning of this access group."
|
|
2395
2437
|
);
|
|
@@ -2562,34 +2604,34 @@ var common_acs_credential_warning = zod.z.object({
|
|
|
2562
2604
|
"Detailed description of the warning. Provides insights into the issue and potentially how to rectify it."
|
|
2563
2605
|
)
|
|
2564
2606
|
});
|
|
2565
|
-
var
|
|
2607
|
+
var warning_code_description7 = "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.";
|
|
2566
2608
|
var waiting_to_be_issued = common_acs_credential_warning.extend({
|
|
2567
|
-
warning_code: zod.z.literal("waiting_to_be_issued").describe(
|
|
2609
|
+
warning_code: zod.z.literal("waiting_to_be_issued").describe(warning_code_description7)
|
|
2568
2610
|
}).describe(
|
|
2569
2611
|
"Indicates that the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) is waiting to be issued."
|
|
2570
2612
|
);
|
|
2571
2613
|
var schedule_externally_modified = common_acs_credential_warning.extend({
|
|
2572
|
-
warning_code: zod.z.literal("schedule_externally_modified").describe(
|
|
2614
|
+
warning_code: zod.z.literal("schedule_externally_modified").describe(warning_code_description7)
|
|
2573
2615
|
}).describe(
|
|
2574
2616
|
"Indicates that the schedule of one of the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials)'s children was modified externally."
|
|
2575
2617
|
);
|
|
2576
2618
|
var schedule_modified = common_acs_credential_warning.extend({
|
|
2577
|
-
warning_code: zod.z.literal("schedule_modified").describe(
|
|
2619
|
+
warning_code: zod.z.literal("schedule_modified").describe(warning_code_description7)
|
|
2578
2620
|
}).describe(
|
|
2579
2621
|
"Indicates that the schedule of the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was modified to avoid creating a credential with a start date in the past."
|
|
2580
2622
|
);
|
|
2581
|
-
var
|
|
2582
|
-
warning_code: zod.z.literal("being_deleted").describe(
|
|
2623
|
+
var being_deleted3 = common_acs_credential_warning.extend({
|
|
2624
|
+
warning_code: zod.z.literal("being_deleted").describe(warning_code_description7)
|
|
2583
2625
|
}).describe(
|
|
2584
2626
|
"Indicates that the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) is being deleted."
|
|
2585
2627
|
);
|
|
2586
2628
|
var unknown_issue_with_acs_credential = common_acs_credential_warning.extend({
|
|
2587
|
-
warning_code: zod.z.literal("unknown_issue_with_acs_credential").describe(
|
|
2629
|
+
warning_code: zod.z.literal("unknown_issue_with_acs_credential").describe(warning_code_description7)
|
|
2588
2630
|
}).describe(
|
|
2589
2631
|
"An unknown issue occurred while syncing the state of the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) with the provider. This issue may affect the proper functioning of the credential."
|
|
2590
2632
|
);
|
|
2591
2633
|
var needs_to_be_reissued = common_acs_credential_warning.extend({
|
|
2592
|
-
warning_code: zod.z.literal("needs_to_be_reissued").describe(
|
|
2634
|
+
warning_code: zod.z.literal("needs_to_be_reissued").describe(warning_code_description7)
|
|
2593
2635
|
}).describe(
|
|
2594
2636
|
"Access permissions for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) have changed. [Reissue](https://docs.seam.co/latest/capability-guides/access-systems/working-with-card-encoders-and-scanners/creating-and-encoding-card-based-credentials) (re-encode) the credential. This issue may affect the proper functioning of the credential."
|
|
2595
2637
|
);
|
|
@@ -2597,7 +2639,7 @@ var acs_credential_warning = zod.z.discriminatedUnion("warning_code", [
|
|
|
2597
2639
|
waiting_to_be_issued,
|
|
2598
2640
|
schedule_externally_modified,
|
|
2599
2641
|
schedule_modified,
|
|
2600
|
-
|
|
2642
|
+
being_deleted3,
|
|
2601
2643
|
unknown_issue_with_acs_credential,
|
|
2602
2644
|
needs_to_be_reissued
|
|
2603
2645
|
]).describe(
|
|
@@ -2607,7 +2649,7 @@ zod.z.object({
|
|
|
2607
2649
|
waiting_to_be_issued: waiting_to_be_issued.optional().nullable(),
|
|
2608
2650
|
schedule_externally_modified: schedule_externally_modified.optional().nullable(),
|
|
2609
2651
|
schedule_modified: schedule_modified.optional().nullable(),
|
|
2610
|
-
being_deleted:
|
|
2652
|
+
being_deleted: being_deleted3.optional().nullable(),
|
|
2611
2653
|
unknown_issue_with_acs_credential: unknown_issue_with_acs_credential.optional().nullable(),
|
|
2612
2654
|
needs_to_be_reissued: needs_to_be_reissued.optional().nullable()
|
|
2613
2655
|
});
|
|
@@ -2956,7 +2998,7 @@ var common_acs_system_error = zod.z.object({
|
|
|
2956
2998
|
)
|
|
2957
2999
|
});
|
|
2958
3000
|
var error_code_description5 = "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.";
|
|
2959
|
-
var
|
|
3001
|
+
var warning_code_description8 = "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.";
|
|
2960
3002
|
var seam_bridge_disconnected = common_acs_system_error.extend({
|
|
2961
3003
|
error_code: zod.z.literal("seam_bridge_disconnected").describe(error_code_description5)
|
|
2962
3004
|
}).describe(`Indicates that the Seam API cannot communicate with [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge), for example, if Seam Bridge executable has stopped or if the computer running the Seam Bridge executable is offline.
|
|
@@ -3019,12 +3061,12 @@ var common_acs_system_warning = zod.z.object({
|
|
|
3019
3061
|
)
|
|
3020
3062
|
});
|
|
3021
3063
|
var salto_ks_subscription_limit_almost_reached3 = common_acs_system_warning.extend({
|
|
3022
|
-
warning_code: zod.z.literal("salto_ks_subscription_limit_almost_reached").describe(
|
|
3064
|
+
warning_code: zod.z.literal("salto_ks_subscription_limit_almost_reached").describe(warning_code_description8)
|
|
3023
3065
|
}).describe(
|
|
3024
3066
|
"Indicates that the Salto KS site has exceeded 80% of the maximum number of allowed users. Increase your subscription limit or delete some users from your site to rectify the issue."
|
|
3025
3067
|
);
|
|
3026
3068
|
var time_zone_does_not_match_location = common_acs_system_warning.extend({
|
|
3027
|
-
warning_code: zod.z.literal("time_zone_does_not_match_location").describe(
|
|
3069
|
+
warning_code: zod.z.literal("time_zone_does_not_match_location").describe(warning_code_description8),
|
|
3028
3070
|
misconfigured_acs_entrance_ids: zod.z.array(zod.z.string().uuid()).optional().describe(
|
|
3029
3071
|
`
|
|
3030
3072
|
---
|
|
@@ -4379,38 +4421,20 @@ var access_method_deleted_event = access_method_event.extend({
|
|
|
4379
4421
|
---
|
|
4380
4422
|
An access method was deleted.
|
|
4381
4423
|
`);
|
|
4382
|
-
var access_method_reissued_event =
|
|
4383
|
-
event_type: zod.z.literal("access_method.reissued")
|
|
4384
|
-
code: zod.z.string().optional().describe(
|
|
4385
|
-
"The actual PIN code for code access methods (only present when mode is 'code')."
|
|
4386
|
-
),
|
|
4387
|
-
is_backup_code: zod.z.boolean().optional().describe(
|
|
4388
|
-
"Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used)."
|
|
4389
|
-
)
|
|
4424
|
+
var access_method_reissued_event = access_method_issued_event.extend({
|
|
4425
|
+
event_type: zod.z.literal("access_method.reissued")
|
|
4390
4426
|
}).describe(`
|
|
4391
4427
|
---
|
|
4392
4428
|
route_path: /access_methods
|
|
4393
4429
|
---
|
|
4394
|
-
An access method was reissued
|
|
4395
|
-
`);
|
|
4396
|
-
var access_method_code_changed_event = access_method_event.extend({
|
|
4397
|
-
event_type: zod.z.literal("access_method.code_changed"),
|
|
4398
|
-
code: zod.z.string().describe(
|
|
4399
|
-
"The new PIN code for code access methods (only present when mode is 'code')."
|
|
4400
|
-
)
|
|
4401
|
-
}).describe(`
|
|
4402
|
-
---
|
|
4403
|
-
route_path: /access_methods
|
|
4404
|
-
---
|
|
4405
|
-
An access method's PIN code was changed.
|
|
4430
|
+
An access method was reissued.
|
|
4406
4431
|
`);
|
|
4407
4432
|
var access_method_events = [
|
|
4408
4433
|
access_method_issued_event,
|
|
4409
4434
|
access_method_revoked_event,
|
|
4410
4435
|
access_method_card_encoding_required_event,
|
|
4411
4436
|
access_method_deleted_event,
|
|
4412
|
-
access_method_reissued_event
|
|
4413
|
-
access_method_code_changed_event
|
|
4437
|
+
access_method_reissued_event
|
|
4414
4438
|
];
|
|
4415
4439
|
var common_acs_event = common_event.extend({
|
|
4416
4440
|
connected_account_id: zod.z.string().uuid().optional().describe("ID of the connected account."),
|
|
@@ -7327,6 +7351,37 @@ var openapi_default = {
|
|
|
7327
7351
|
format: "uuid",
|
|
7328
7352
|
type: "string"
|
|
7329
7353
|
},
|
|
7354
|
+
warnings: {
|
|
7355
|
+
description: "Warnings associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants).",
|
|
7356
|
+
items: {
|
|
7357
|
+
description: "Warning associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants).",
|
|
7358
|
+
discriminator: { propertyName: "warning_code" },
|
|
7359
|
+
oneOf: [
|
|
7360
|
+
{
|
|
7361
|
+
description: "Indicates that the [access grant](https://docs.seam.co/latest/capability-guides/access-grants) is being deleted.",
|
|
7362
|
+
properties: {
|
|
7363
|
+
created_at: {
|
|
7364
|
+
description: "Date and time at which Seam created the warning.",
|
|
7365
|
+
format: "date-time",
|
|
7366
|
+
type: "string"
|
|
7367
|
+
},
|
|
7368
|
+
message: {
|
|
7369
|
+
description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
|
|
7370
|
+
type: "string"
|
|
7371
|
+
},
|
|
7372
|
+
warning_code: {
|
|
7373
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
7374
|
+
enum: ["being_deleted"],
|
|
7375
|
+
type: "string"
|
|
7376
|
+
}
|
|
7377
|
+
},
|
|
7378
|
+
required: ["created_at", "message", "warning_code"],
|
|
7379
|
+
type: "object"
|
|
7380
|
+
}
|
|
7381
|
+
]
|
|
7382
|
+
},
|
|
7383
|
+
type: "array"
|
|
7384
|
+
},
|
|
7330
7385
|
workspace_id: {
|
|
7331
7386
|
description: "ID of the Seam workspace associated with the Access Grant.",
|
|
7332
7387
|
format: "uuid",
|
|
@@ -7345,7 +7400,8 @@ var openapi_default = {
|
|
|
7345
7400
|
"display_name",
|
|
7346
7401
|
"created_at",
|
|
7347
7402
|
"starts_at",
|
|
7348
|
-
"ends_at"
|
|
7403
|
+
"ends_at",
|
|
7404
|
+
"warnings"
|
|
7349
7405
|
],
|
|
7350
7406
|
type: "object",
|
|
7351
7407
|
"x-draft": "Early access.",
|
|
@@ -7406,6 +7462,37 @@ var openapi_default = {
|
|
|
7406
7462
|
enum: ["code", "card", "mobile_key"],
|
|
7407
7463
|
type: "string"
|
|
7408
7464
|
},
|
|
7465
|
+
warnings: {
|
|
7466
|
+
description: "Warnings associated with the [access method](https://docs.seam.co/latest/capability-guides/access-grants/delivering-access-methods).",
|
|
7467
|
+
items: {
|
|
7468
|
+
description: "Warning associated with the [access method](https://docs.seam.co/latest/capability-guides/access-grants/delivering-access-methods).",
|
|
7469
|
+
discriminator: { propertyName: "warning_code" },
|
|
7470
|
+
oneOf: [
|
|
7471
|
+
{
|
|
7472
|
+
description: "Indicates that the [access method](https://docs.seam.co/latest/capability-guides/access-grants/delivering-access-methods) is being deleted.",
|
|
7473
|
+
properties: {
|
|
7474
|
+
created_at: {
|
|
7475
|
+
description: "Date and time at which Seam created the warning.",
|
|
7476
|
+
format: "date-time",
|
|
7477
|
+
type: "string"
|
|
7478
|
+
},
|
|
7479
|
+
message: {
|
|
7480
|
+
description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
|
|
7481
|
+
type: "string"
|
|
7482
|
+
},
|
|
7483
|
+
warning_code: {
|
|
7484
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
7485
|
+
enum: ["being_deleted"],
|
|
7486
|
+
type: "string"
|
|
7487
|
+
}
|
|
7488
|
+
},
|
|
7489
|
+
required: ["created_at", "message", "warning_code"],
|
|
7490
|
+
type: "object"
|
|
7491
|
+
}
|
|
7492
|
+
]
|
|
7493
|
+
},
|
|
7494
|
+
type: "array"
|
|
7495
|
+
},
|
|
7409
7496
|
workspace_id: {
|
|
7410
7497
|
description: "ID of the Seam workspace associated with the access method.",
|
|
7411
7498
|
format: "uuid",
|
|
@@ -7419,7 +7506,8 @@ var openapi_default = {
|
|
|
7419
7506
|
"mode",
|
|
7420
7507
|
"created_at",
|
|
7421
7508
|
"issued_at",
|
|
7422
|
-
"is_issued"
|
|
7509
|
+
"is_issued",
|
|
7510
|
+
"warnings"
|
|
7423
7511
|
],
|
|
7424
7512
|
type: "object",
|
|
7425
7513
|
"x-draft": "Early access.",
|
|
@@ -19038,7 +19126,7 @@ var openapi_default = {
|
|
|
19038
19126
|
"x-route-path": "/access_methods"
|
|
19039
19127
|
},
|
|
19040
19128
|
{
|
|
19041
|
-
description: "An access method was reissued
|
|
19129
|
+
description: "An access method was reissued.",
|
|
19042
19130
|
properties: {
|
|
19043
19131
|
access_grant_ids: {
|
|
19044
19132
|
description: "IDs of the access grants associated with this access method.",
|
|
@@ -19097,66 +19185,6 @@ var openapi_default = {
|
|
|
19097
19185
|
type: "object",
|
|
19098
19186
|
"x-route-path": "/access_methods"
|
|
19099
19187
|
},
|
|
19100
|
-
{
|
|
19101
|
-
description: "An access method's PIN code was changed.",
|
|
19102
|
-
properties: {
|
|
19103
|
-
access_grant_ids: {
|
|
19104
|
-
description: "IDs of the access grants associated with this access method.",
|
|
19105
|
-
items: { format: "uuid", type: "string" },
|
|
19106
|
-
type: "array"
|
|
19107
|
-
},
|
|
19108
|
-
access_grant_keys: {
|
|
19109
|
-
description: "Keys of the access grants associated with this access method (if present).",
|
|
19110
|
-
items: { type: "string" },
|
|
19111
|
-
type: "array"
|
|
19112
|
-
},
|
|
19113
|
-
access_method_id: {
|
|
19114
|
-
description: "ID of the affected access method.",
|
|
19115
|
-
format: "uuid",
|
|
19116
|
-
type: "string"
|
|
19117
|
-
},
|
|
19118
|
-
code: {
|
|
19119
|
-
description: "The new PIN code for code access methods (only present when mode is 'code').",
|
|
19120
|
-
type: "string"
|
|
19121
|
-
},
|
|
19122
|
-
created_at: {
|
|
19123
|
-
description: "Date and time at which the event was created.",
|
|
19124
|
-
format: "date-time",
|
|
19125
|
-
type: "string"
|
|
19126
|
-
},
|
|
19127
|
-
event_id: {
|
|
19128
|
-
description: "ID of the event.",
|
|
19129
|
-
format: "uuid",
|
|
19130
|
-
type: "string"
|
|
19131
|
-
},
|
|
19132
|
-
event_type: {
|
|
19133
|
-
enum: ["access_method.code_changed"],
|
|
19134
|
-
type: "string"
|
|
19135
|
-
},
|
|
19136
|
-
occurred_at: {
|
|
19137
|
-
description: "Date and time at which the event occurred.",
|
|
19138
|
-
format: "date-time",
|
|
19139
|
-
type: "string"
|
|
19140
|
-
},
|
|
19141
|
-
workspace_id: {
|
|
19142
|
-
description: "ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event.",
|
|
19143
|
-
format: "uuid",
|
|
19144
|
-
type: "string"
|
|
19145
|
-
}
|
|
19146
|
-
},
|
|
19147
|
-
required: [
|
|
19148
|
-
"event_id",
|
|
19149
|
-
"workspace_id",
|
|
19150
|
-
"created_at",
|
|
19151
|
-
"occurred_at",
|
|
19152
|
-
"access_method_id",
|
|
19153
|
-
"access_grant_ids",
|
|
19154
|
-
"event_type",
|
|
19155
|
-
"code"
|
|
19156
|
-
],
|
|
19157
|
-
type: "object",
|
|
19158
|
-
"x-route-path": "/access_methods"
|
|
19159
|
-
},
|
|
19160
19188
|
{
|
|
19161
19189
|
description: "An [access system](https://docs.seam.co/latest/capability-guides/access-systems) was connected.",
|
|
19162
19190
|
properties: {
|
|
@@ -45464,7 +45492,6 @@ var openapi_default = {
|
|
|
45464
45492
|
"access_method.card_encoding_required",
|
|
45465
45493
|
"access_method.deleted",
|
|
45466
45494
|
"access_method.reissued",
|
|
45467
|
-
"access_method.code_changed",
|
|
45468
45495
|
"acs_system.connected",
|
|
45469
45496
|
"acs_system.added",
|
|
45470
45497
|
"acs_system.disconnected",
|
|
@@ -45567,7 +45594,6 @@ var openapi_default = {
|
|
|
45567
45594
|
"access_method.card_encoding_required",
|
|
45568
45595
|
"access_method.deleted",
|
|
45569
45596
|
"access_method.reissued",
|
|
45570
|
-
"access_method.code_changed",
|
|
45571
45597
|
"acs_system.connected",
|
|
45572
45598
|
"acs_system.added",
|
|
45573
45599
|
"acs_system.disconnected",
|
|
@@ -45812,7 +45838,6 @@ var openapi_default = {
|
|
|
45812
45838
|
"access_method.card_encoding_required",
|
|
45813
45839
|
"access_method.deleted",
|
|
45814
45840
|
"access_method.reissued",
|
|
45815
|
-
"access_method.code_changed",
|
|
45816
45841
|
"acs_system.connected",
|
|
45817
45842
|
"acs_system.added",
|
|
45818
45843
|
"acs_system.disconnected",
|
|
@@ -45911,7 +45936,6 @@ var openapi_default = {
|
|
|
45911
45936
|
"access_method.card_encoding_required",
|
|
45912
45937
|
"access_method.deleted",
|
|
45913
45938
|
"access_method.reissued",
|
|
45914
|
-
"access_method.code_changed",
|
|
45915
45939
|
"acs_system.connected",
|
|
45916
45940
|
"acs_system.added",
|
|
45917
45941
|
"acs_system.disconnected",
|
|
@@ -50884,7 +50908,6 @@ var openapi_default = {
|
|
|
50884
50908
|
"access_method.card_encoding_required",
|
|
50885
50909
|
"access_method.deleted",
|
|
50886
50910
|
"access_method.reissued",
|
|
50887
|
-
"access_method.code_changed",
|
|
50888
50911
|
"acs_system.connected",
|
|
50889
50912
|
"acs_system.added",
|
|
50890
50913
|
"acs_system.disconnected",
|
|
@@ -50988,7 +51011,6 @@ var openapi_default = {
|
|
|
50988
51011
|
"access_method.card_encoding_required",
|
|
50989
51012
|
"access_method.deleted",
|
|
50990
51013
|
"access_method.reissued",
|
|
50991
|
-
"access_method.code_changed",
|
|
50992
51014
|
"acs_system.connected",
|
|
50993
51015
|
"acs_system.added",
|
|
50994
51016
|
"acs_system.disconnected",
|
|
@@ -51153,7 +51175,6 @@ var openapi_default = {
|
|
|
51153
51175
|
"access_method.card_encoding_required",
|
|
51154
51176
|
"access_method.deleted",
|
|
51155
51177
|
"access_method.reissued",
|
|
51156
|
-
"access_method.code_changed",
|
|
51157
51178
|
"acs_system.connected",
|
|
51158
51179
|
"acs_system.added",
|
|
51159
51180
|
"acs_system.disconnected",
|
|
@@ -51252,7 +51273,6 @@ var openapi_default = {
|
|
|
51252
51273
|
"access_method.card_encoding_required",
|
|
51253
51274
|
"access_method.deleted",
|
|
51254
51275
|
"access_method.reissued",
|
|
51255
|
-
"access_method.code_changed",
|
|
51256
51276
|
"acs_system.connected",
|
|
51257
51277
|
"acs_system.added",
|
|
51258
51278
|
"acs_system.disconnected",
|