@seamapi/types 1.1057.0 → 1.1059.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-method.d.ts +132 -0
- package/lib/seam/connect/models/access-grants/access-method.js +20 -0
- package/lib/seam/connect/models/access-grants/access-method.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +58 -0
- package/lib/seam/connect/models/action-attempts/assign-credential.d.ts +58 -0
- package/lib/seam/connect/models/events/devices.d.ts +13 -13
- package/lib/seam/connect/models/events/devices.js +10 -2
- package/lib/seam/connect/models/events/devices.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.d.ts +6 -6
- package/lib/seam/connect/openapi.js +128 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +582 -8
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-grants/access-method.ts +27 -0
- package/src/lib/seam/connect/models/events/devices.ts +10 -2
- package/src/lib/seam/connect/openapi.ts +152 -0
- package/src/lib/seam/connect/route-types.ts +688 -4
|
@@ -5546,7 +5546,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
5546
5546
|
code: z.ZodOptional<z.ZodString>;
|
|
5547
5547
|
access_code_is_managed: z.ZodOptional<z.ZodBoolean>;
|
|
5548
5548
|
action_attempt_id: z.ZodOptional<z.ZodString>;
|
|
5549
|
-
method: z.ZodEnum<["keycode", "manual", "automatic", "unknown", "remote", "card"]>;
|
|
5549
|
+
method: z.ZodEnum<["keycode", "manual", "automatic", "unknown", "remote", "card", "mobile_key"]>;
|
|
5550
5550
|
user_identity_id: z.ZodOptional<z.ZodString>;
|
|
5551
5551
|
acs_system_id: z.ZodOptional<z.ZodString>;
|
|
5552
5552
|
acs_user_id: z.ZodOptional<z.ZodString>;
|
|
@@ -5561,7 +5561,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
5561
5561
|
event_id: string;
|
|
5562
5562
|
occurred_at: string;
|
|
5563
5563
|
event_type: "lock.locked";
|
|
5564
|
-
method: "unknown" | "card" | "keycode" | "manual" | "automatic" | "remote";
|
|
5564
|
+
method: "unknown" | "card" | "mobile_key" | "keycode" | "manual" | "automatic" | "remote";
|
|
5565
5565
|
code?: string | undefined;
|
|
5566
5566
|
customer_key?: string | undefined;
|
|
5567
5567
|
access_code_id?: string | undefined;
|
|
@@ -5584,7 +5584,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
5584
5584
|
event_id: string;
|
|
5585
5585
|
occurred_at: string;
|
|
5586
5586
|
event_type: "lock.locked";
|
|
5587
|
-
method: "unknown" | "card" | "keycode" | "manual" | "automatic" | "remote";
|
|
5587
|
+
method: "unknown" | "card" | "mobile_key" | "keycode" | "manual" | "automatic" | "remote";
|
|
5588
5588
|
code?: string | undefined;
|
|
5589
5589
|
customer_key?: string | undefined;
|
|
5590
5590
|
access_code_id?: string | undefined;
|
|
@@ -5615,7 +5615,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
5615
5615
|
code: z.ZodOptional<z.ZodString>;
|
|
5616
5616
|
access_code_is_managed: z.ZodOptional<z.ZodBoolean>;
|
|
5617
5617
|
action_attempt_id: z.ZodOptional<z.ZodString>;
|
|
5618
|
-
method: z.ZodEnum<["keycode", "manual", "automatic", "unknown", "remote", "card"]>;
|
|
5618
|
+
method: z.ZodEnum<["keycode", "manual", "automatic", "unknown", "remote", "card", "mobile_key"]>;
|
|
5619
5619
|
user_identity_id: z.ZodOptional<z.ZodString>;
|
|
5620
5620
|
acs_system_id: z.ZodOptional<z.ZodString>;
|
|
5621
5621
|
acs_user_id: z.ZodOptional<z.ZodString>;
|
|
@@ -5630,7 +5630,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
5630
5630
|
event_id: string;
|
|
5631
5631
|
occurred_at: string;
|
|
5632
5632
|
event_type: "lock.unlocked";
|
|
5633
|
-
method: "unknown" | "card" | "keycode" | "manual" | "automatic" | "remote";
|
|
5633
|
+
method: "unknown" | "card" | "mobile_key" | "keycode" | "manual" | "automatic" | "remote";
|
|
5634
5634
|
code?: string | undefined;
|
|
5635
5635
|
device_id?: string | undefined;
|
|
5636
5636
|
customer_key?: string | undefined;
|
|
@@ -5653,7 +5653,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
5653
5653
|
event_id: string;
|
|
5654
5654
|
occurred_at: string;
|
|
5655
5655
|
event_type: "lock.unlocked";
|
|
5656
|
-
method: "unknown" | "card" | "keycode" | "manual" | "automatic" | "remote";
|
|
5656
|
+
method: "unknown" | "card" | "mobile_key" | "keycode" | "manual" | "automatic" | "remote";
|
|
5657
5657
|
code?: string | undefined;
|
|
5658
5658
|
device_id?: string | undefined;
|
|
5659
5659
|
customer_key?: string | undefined;
|
|
@@ -2497,6 +2497,48 @@ const openapi = {
|
|
|
2497
2497
|
required: ['created_at', 'message', 'warning_code'],
|
|
2498
2498
|
type: 'object',
|
|
2499
2499
|
},
|
|
2500
|
+
{
|
|
2501
|
+
description: "Indicates that the access system delivers this mobile key through an app invitation sent to the recipient's email address, but the [user identity](https://docs.seam.co/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities) for this [access grant](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant) has no email address, so the mobile key cannot be delivered. Set an email address on the user identity when you create the access grant.",
|
|
2502
|
+
properties: {
|
|
2503
|
+
created_at: {
|
|
2504
|
+
description: 'Date and time at which Seam created the warning.',
|
|
2505
|
+
format: 'date-time',
|
|
2506
|
+
type: 'string',
|
|
2507
|
+
},
|
|
2508
|
+
message: {
|
|
2509
|
+
description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
2510
|
+
type: 'string',
|
|
2511
|
+
},
|
|
2512
|
+
warning_code: {
|
|
2513
|
+
description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
2514
|
+
enum: ['user_identity_missing_email_address'],
|
|
2515
|
+
type: 'string',
|
|
2516
|
+
},
|
|
2517
|
+
},
|
|
2518
|
+
required: ['created_at', 'message', 'warning_code'],
|
|
2519
|
+
type: 'object',
|
|
2520
|
+
},
|
|
2521
|
+
{
|
|
2522
|
+
description: "Indicates that the access system delivers this mobile key to the recipient's phone number, but the [user identity](https://docs.seam.co/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities) for this [access grant](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant) has no phone number, so the mobile key cannot be delivered. Set a phone number on the user identity when you create the access grant.",
|
|
2523
|
+
properties: {
|
|
2524
|
+
created_at: {
|
|
2525
|
+
description: 'Date and time at which Seam created the warning.',
|
|
2526
|
+
format: 'date-time',
|
|
2527
|
+
type: 'string',
|
|
2528
|
+
},
|
|
2529
|
+
message: {
|
|
2530
|
+
description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
2531
|
+
type: 'string',
|
|
2532
|
+
},
|
|
2533
|
+
warning_code: {
|
|
2534
|
+
description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
2535
|
+
enum: ['user_identity_missing_phone_number'],
|
|
2536
|
+
type: 'string',
|
|
2537
|
+
},
|
|
2538
|
+
},
|
|
2539
|
+
required: ['created_at', 'message', 'warning_code'],
|
|
2540
|
+
type: 'object',
|
|
2541
|
+
},
|
|
2500
2542
|
],
|
|
2501
2543
|
},
|
|
2502
2544
|
type: 'array',
|
|
@@ -8954,6 +8996,48 @@ const openapi = {
|
|
|
8954
8996
|
required: ['created_at', 'message', 'warning_code'],
|
|
8955
8997
|
type: 'object',
|
|
8956
8998
|
},
|
|
8999
|
+
{
|
|
9000
|
+
description: "Indicates that the access system delivers this mobile key through an app invitation sent to the recipient's email address, but the [user identity](https://docs.seam.co/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities) for this [access grant](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant) has no email address, so the mobile key cannot be delivered. Set an email address on the user identity when you create the access grant.",
|
|
9001
|
+
properties: {
|
|
9002
|
+
created_at: {
|
|
9003
|
+
description: 'Date and time at which Seam created the warning.',
|
|
9004
|
+
format: 'date-time',
|
|
9005
|
+
type: 'string',
|
|
9006
|
+
},
|
|
9007
|
+
message: {
|
|
9008
|
+
description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
9009
|
+
type: 'string',
|
|
9010
|
+
},
|
|
9011
|
+
warning_code: {
|
|
9012
|
+
description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
9013
|
+
enum: ['user_identity_missing_email_address'],
|
|
9014
|
+
type: 'string',
|
|
9015
|
+
},
|
|
9016
|
+
},
|
|
9017
|
+
required: ['created_at', 'message', 'warning_code'],
|
|
9018
|
+
type: 'object',
|
|
9019
|
+
},
|
|
9020
|
+
{
|
|
9021
|
+
description: "Indicates that the access system delivers this mobile key to the recipient's phone number, but the [user identity](https://docs.seam.co/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities) for this [access grant](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant) has no phone number, so the mobile key cannot be delivered. Set a phone number on the user identity when you create the access grant.",
|
|
9022
|
+
properties: {
|
|
9023
|
+
created_at: {
|
|
9024
|
+
description: 'Date and time at which Seam created the warning.',
|
|
9025
|
+
format: 'date-time',
|
|
9026
|
+
type: 'string',
|
|
9027
|
+
},
|
|
9028
|
+
message: {
|
|
9029
|
+
description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
9030
|
+
type: 'string',
|
|
9031
|
+
},
|
|
9032
|
+
warning_code: {
|
|
9033
|
+
description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
9034
|
+
enum: ['user_identity_missing_phone_number'],
|
|
9035
|
+
type: 'string',
|
|
9036
|
+
},
|
|
9037
|
+
},
|
|
9038
|
+
required: ['created_at', 'message', 'warning_code'],
|
|
9039
|
+
type: 'object',
|
|
9040
|
+
},
|
|
8957
9041
|
],
|
|
8958
9042
|
},
|
|
8959
9043
|
type: 'array',
|
|
@@ -24820,6 +24904,7 @@ const openapi = {
|
|
|
24820
24904
|
'unknown',
|
|
24821
24905
|
'remote',
|
|
24822
24906
|
'card',
|
|
24907
|
+
'mobile_key',
|
|
24823
24908
|
],
|
|
24824
24909
|
type: 'string',
|
|
24825
24910
|
},
|
|
@@ -24952,6 +25037,7 @@ const openapi = {
|
|
|
24952
25037
|
'unknown',
|
|
24953
25038
|
'remote',
|
|
24954
25039
|
'card',
|
|
25040
|
+
'mobile_key',
|
|
24955
25041
|
],
|
|
24956
25042
|
type: 'string',
|
|
24957
25043
|
},
|
|
@@ -30333,6 +30419,48 @@ const openapi = {
|
|
|
30333
30419
|
required: ['created_at', 'message', 'warning_code'],
|
|
30334
30420
|
type: 'object',
|
|
30335
30421
|
},
|
|
30422
|
+
{
|
|
30423
|
+
description: "Indicates that the access system delivers this mobile key through an app invitation sent to the recipient's email address, but the [user identity](https://docs.seam.co/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities) for this [access grant](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant) has no email address, so the mobile key cannot be delivered. Set an email address on the user identity when you create the access grant.",
|
|
30424
|
+
properties: {
|
|
30425
|
+
created_at: {
|
|
30426
|
+
description: 'Date and time at which Seam created the warning.',
|
|
30427
|
+
format: 'date-time',
|
|
30428
|
+
type: 'string',
|
|
30429
|
+
},
|
|
30430
|
+
message: {
|
|
30431
|
+
description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
30432
|
+
type: 'string',
|
|
30433
|
+
},
|
|
30434
|
+
warning_code: {
|
|
30435
|
+
description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
30436
|
+
enum: ['user_identity_missing_email_address'],
|
|
30437
|
+
type: 'string',
|
|
30438
|
+
},
|
|
30439
|
+
},
|
|
30440
|
+
required: ['created_at', 'message', 'warning_code'],
|
|
30441
|
+
type: 'object',
|
|
30442
|
+
},
|
|
30443
|
+
{
|
|
30444
|
+
description: "Indicates that the access system delivers this mobile key to the recipient's phone number, but the [user identity](https://docs.seam.co/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities) for this [access grant](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant) has no phone number, so the mobile key cannot be delivered. Set a phone number on the user identity when you create the access grant.",
|
|
30445
|
+
properties: {
|
|
30446
|
+
created_at: {
|
|
30447
|
+
description: 'Date and time at which Seam created the warning.',
|
|
30448
|
+
format: 'date-time',
|
|
30449
|
+
type: 'string',
|
|
30450
|
+
},
|
|
30451
|
+
message: {
|
|
30452
|
+
description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
30453
|
+
type: 'string',
|
|
30454
|
+
},
|
|
30455
|
+
warning_code: {
|
|
30456
|
+
description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
30457
|
+
enum: ['user_identity_missing_phone_number'],
|
|
30458
|
+
type: 'string',
|
|
30459
|
+
},
|
|
30460
|
+
},
|
|
30461
|
+
required: ['created_at', 'message', 'warning_code'],
|
|
30462
|
+
type: 'object',
|
|
30463
|
+
},
|
|
30336
30464
|
],
|
|
30337
30465
|
},
|
|
30338
30466
|
type: 'array',
|