@seamapi/types 1.425.0 → 1.427.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 +67 -22
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +101 -18
- package/lib/seam/connect/models/access-grants/access-grant.d.ts +3 -0
- package/lib/seam/connect/models/access-grants/access-grant.js +5 -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 +2 -2
- package/lib/seam/connect/models/access-grants/access-method.js +1 -0
- package/lib/seam/connect/models/access-grants/access-method.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-entrance.d.ts +4 -4
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +4 -4
- package/lib/seam/connect/models/action-attempts/encode-access-method.d.ts +4 -4
- package/lib/seam/connect/models/devices/device-provider.d.ts +3 -0
- package/lib/seam/connect/models/devices/device.d.ts +6 -0
- package/lib/seam/connect/models/devices/device.js +1 -0
- package/lib/seam/connect/models/devices/device.js.map +1 -1
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +4 -0
- package/lib/seam/connect/models/phones/phone-session.d.ts +14 -14
- package/lib/seam/connect/openapi.d.ts +40 -0
- package/lib/seam/connect/openapi.js +44 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +40 -10
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-grants/access-grant.ts +7 -0
- package/src/lib/seam/connect/models/access-grants/access-method.ts +1 -0
- package/src/lib/seam/connect/models/devices/device.ts +1 -0
- package/src/lib/seam/connect/openapi.ts +47 -0
- package/src/lib/seam/connect/route-types.ts +40 -0
package/dist/connect.d.cts
CHANGED
|
@@ -3639,6 +3639,7 @@ declare const access_grant: z.ZodObject<{
|
|
|
3639
3639
|
}>, "many">;
|
|
3640
3640
|
access_method_ids: z.ZodArray<z.ZodString, "many">;
|
|
3641
3641
|
display_name: z.ZodString;
|
|
3642
|
+
instant_key_url: z.ZodOptional<z.ZodString>;
|
|
3642
3643
|
created_at: z.ZodString;
|
|
3643
3644
|
starts_at: z.ZodOptional<z.ZodString>;
|
|
3644
3645
|
ends_at: z.ZodOptional<z.ZodString>;
|
|
@@ -3659,6 +3660,7 @@ declare const access_grant: z.ZodObject<{
|
|
|
3659
3660
|
access_method_ids: string[];
|
|
3660
3661
|
starts_at?: string | undefined;
|
|
3661
3662
|
ends_at?: string | undefined;
|
|
3663
|
+
instant_key_url?: string | undefined;
|
|
3662
3664
|
}, {
|
|
3663
3665
|
display_name: string;
|
|
3664
3666
|
workspace_id: string;
|
|
@@ -3676,6 +3678,7 @@ declare const access_grant: z.ZodObject<{
|
|
|
3676
3678
|
access_method_ids: string[];
|
|
3677
3679
|
starts_at?: string | undefined;
|
|
3678
3680
|
ends_at?: string | undefined;
|
|
3681
|
+
instant_key_url?: string | undefined;
|
|
3679
3682
|
}>;
|
|
3680
3683
|
type AccessGrant = z.infer<typeof access_grant>;
|
|
3681
3684
|
|
|
@@ -3694,8 +3697,8 @@ declare const access_method: z.ZodObject<{
|
|
|
3694
3697
|
created_at: string;
|
|
3695
3698
|
mode: "code" | "card" | "mobile_key";
|
|
3696
3699
|
access_method_id: string;
|
|
3697
|
-
issued_at?: string | undefined;
|
|
3698
3700
|
instant_key_url?: string | undefined;
|
|
3701
|
+
issued_at?: string | undefined;
|
|
3699
3702
|
is_card_encoding_required?: boolean | undefined;
|
|
3700
3703
|
}, {
|
|
3701
3704
|
display_name: string;
|
|
@@ -3703,8 +3706,8 @@ declare const access_method: z.ZodObject<{
|
|
|
3703
3706
|
created_at: string;
|
|
3704
3707
|
mode: "code" | "card" | "mobile_key";
|
|
3705
3708
|
access_method_id: string;
|
|
3706
|
-
issued_at?: string | undefined;
|
|
3707
3709
|
instant_key_url?: string | undefined;
|
|
3710
|
+
issued_at?: string | undefined;
|
|
3708
3711
|
is_card_encoding_required?: boolean | undefined;
|
|
3709
3712
|
}>;
|
|
3710
3713
|
type AccessMethod = z.infer<typeof access_method>;
|
|
@@ -4671,9 +4674,9 @@ declare const acs_entrance: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
4671
4674
|
stand_open?: boolean | undefined;
|
|
4672
4675
|
pms_id?: string | undefined;
|
|
4673
4676
|
} | undefined;
|
|
4677
|
+
can_unlock_with_code?: boolean | undefined;
|
|
4674
4678
|
can_unlock_with_mobile_key?: boolean | undefined;
|
|
4675
4679
|
can_unlock_with_card?: boolean | undefined;
|
|
4676
|
-
can_unlock_with_code?: boolean | undefined;
|
|
4677
4680
|
latch_metadata?: {
|
|
4678
4681
|
door_name: string;
|
|
4679
4682
|
is_connected: boolean;
|
|
@@ -4723,9 +4726,9 @@ declare const acs_entrance: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
4723
4726
|
stand_open?: boolean | undefined;
|
|
4724
4727
|
pms_id?: string | undefined;
|
|
4725
4728
|
} | undefined;
|
|
4729
|
+
can_unlock_with_code?: boolean | undefined;
|
|
4726
4730
|
can_unlock_with_mobile_key?: boolean | undefined;
|
|
4727
4731
|
can_unlock_with_card?: boolean | undefined;
|
|
4728
|
-
can_unlock_with_code?: boolean | undefined;
|
|
4729
4732
|
latch_metadata?: {
|
|
4730
4733
|
door_name: string;
|
|
4731
4734
|
is_connected: boolean;
|
|
@@ -7981,8 +7984,8 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
|
|
|
7981
7984
|
created_at: string;
|
|
7982
7985
|
mode: "code" | "card" | "mobile_key";
|
|
7983
7986
|
access_method_id: string;
|
|
7984
|
-
issued_at?: string | undefined;
|
|
7985
7987
|
instant_key_url?: string | undefined;
|
|
7988
|
+
issued_at?: string | undefined;
|
|
7986
7989
|
is_card_encoding_required?: boolean | undefined;
|
|
7987
7990
|
}, {
|
|
7988
7991
|
display_name: string;
|
|
@@ -7990,8 +7993,8 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
|
|
|
7990
7993
|
created_at: string;
|
|
7991
7994
|
mode: "code" | "card" | "mobile_key";
|
|
7992
7995
|
access_method_id: string;
|
|
7993
|
-
issued_at?: string | undefined;
|
|
7994
7996
|
instant_key_url?: string | undefined;
|
|
7997
|
+
issued_at?: string | undefined;
|
|
7995
7998
|
is_card_encoding_required?: boolean | undefined;
|
|
7996
7999
|
}>;
|
|
7997
8000
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -8004,8 +8007,8 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
|
|
|
8004
8007
|
created_at: string;
|
|
8005
8008
|
mode: "code" | "card" | "mobile_key";
|
|
8006
8009
|
access_method_id: string;
|
|
8007
|
-
issued_at?: string | undefined;
|
|
8008
8010
|
instant_key_url?: string | undefined;
|
|
8011
|
+
issued_at?: string | undefined;
|
|
8009
8012
|
is_card_encoding_required?: boolean | undefined;
|
|
8010
8013
|
};
|
|
8011
8014
|
action_type: "ENCODE_ACCESS_METHOD";
|
|
@@ -8019,8 +8022,8 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
|
|
|
8019
8022
|
created_at: string;
|
|
8020
8023
|
mode: "code" | "card" | "mobile_key";
|
|
8021
8024
|
access_method_id: string;
|
|
8022
|
-
issued_at?: string | undefined;
|
|
8023
8025
|
instant_key_url?: string | undefined;
|
|
8026
|
+
issued_at?: string | undefined;
|
|
8024
8027
|
is_card_encoding_required?: boolean | undefined;
|
|
8025
8028
|
};
|
|
8026
8029
|
action_type: "ENCODE_ACCESS_METHOD";
|
|
@@ -14266,6 +14269,7 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
14266
14269
|
can_simulate_removal: z.ZodOptional<z.ZodBoolean>;
|
|
14267
14270
|
can_simulate_connection: z.ZodOptional<z.ZodBoolean>;
|
|
14268
14271
|
can_simulate_disconnection: z.ZodOptional<z.ZodBoolean>;
|
|
14272
|
+
can_unlock_with_code: z.ZodOptional<z.ZodBoolean>;
|
|
14269
14273
|
}>>, "strip", z.ZodTypeAny, {
|
|
14270
14274
|
display_name: string;
|
|
14271
14275
|
device_id: string;
|
|
@@ -14879,6 +14883,7 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
14879
14883
|
can_simulate_removal?: boolean | undefined;
|
|
14880
14884
|
can_simulate_connection?: boolean | undefined;
|
|
14881
14885
|
can_simulate_disconnection?: boolean | undefined;
|
|
14886
|
+
can_unlock_with_code?: boolean | undefined;
|
|
14882
14887
|
nickname?: string | undefined;
|
|
14883
14888
|
}, {
|
|
14884
14889
|
display_name: string;
|
|
@@ -15493,6 +15498,7 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
15493
15498
|
can_simulate_removal?: boolean | undefined;
|
|
15494
15499
|
can_simulate_connection?: boolean | undefined;
|
|
15495
15500
|
can_simulate_disconnection?: boolean | undefined;
|
|
15501
|
+
can_unlock_with_code?: boolean | undefined;
|
|
15496
15502
|
nickname?: string | undefined;
|
|
15497
15503
|
}>;
|
|
15498
15504
|
type Device = z.infer<typeof device>;
|
|
@@ -15565,6 +15571,7 @@ declare const device_provider: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
15565
15571
|
can_simulate_removal: z.ZodOptional<z.ZodBoolean>;
|
|
15566
15572
|
can_simulate_connection: z.ZodOptional<z.ZodBoolean>;
|
|
15567
15573
|
can_simulate_disconnection: z.ZodOptional<z.ZodBoolean>;
|
|
15574
|
+
can_unlock_with_code: z.ZodOptional<z.ZodBoolean>;
|
|
15568
15575
|
}>>, "strip", z.ZodTypeAny, {
|
|
15569
15576
|
display_name: string;
|
|
15570
15577
|
image_url: string;
|
|
@@ -15581,6 +15588,7 @@ declare const device_provider: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
15581
15588
|
can_simulate_removal?: boolean | undefined;
|
|
15582
15589
|
can_simulate_connection?: boolean | undefined;
|
|
15583
15590
|
can_simulate_disconnection?: boolean | undefined;
|
|
15591
|
+
can_unlock_with_code?: boolean | undefined;
|
|
15584
15592
|
}, {
|
|
15585
15593
|
display_name: string;
|
|
15586
15594
|
image_url: string;
|
|
@@ -15597,6 +15605,7 @@ declare const device_provider: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
15597
15605
|
can_simulate_removal?: boolean | undefined;
|
|
15598
15606
|
can_simulate_connection?: boolean | undefined;
|
|
15599
15607
|
can_simulate_disconnection?: boolean | undefined;
|
|
15608
|
+
can_unlock_with_code?: boolean | undefined;
|
|
15600
15609
|
}>;
|
|
15601
15610
|
type DeviceProvider = z.infer<typeof device_provider>;
|
|
15602
15611
|
|
|
@@ -18219,6 +18228,7 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
18219
18228
|
can_simulate_removal: z.ZodOptional<z.ZodBoolean>;
|
|
18220
18229
|
can_simulate_connection: z.ZodOptional<z.ZodBoolean>;
|
|
18221
18230
|
can_simulate_disconnection: z.ZodOptional<z.ZodBoolean>;
|
|
18231
|
+
can_unlock_with_code: z.ZodOptional<z.ZodBoolean>;
|
|
18222
18232
|
}>>, "device_id" | "workspace_id" | "created_at" | "errors" | "connected_account_id" | "warnings" | "device_type" | "capabilities_supported" | "location">, {
|
|
18223
18233
|
is_managed: z.ZodLiteral<false>;
|
|
18224
18234
|
properties: z.ZodObject<Pick<{
|
|
@@ -18368,6 +18378,7 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
18368
18378
|
can_simulate_removal: z.ZodOptional<z.ZodBoolean>;
|
|
18369
18379
|
can_simulate_connection: z.ZodOptional<z.ZodBoolean>;
|
|
18370
18380
|
can_simulate_disconnection: z.ZodOptional<z.ZodBoolean>;
|
|
18381
|
+
can_unlock_with_code: z.ZodOptional<z.ZodBoolean>;
|
|
18371
18382
|
}>>, "strip", z.ZodTypeAny, {
|
|
18372
18383
|
device_id: string;
|
|
18373
18384
|
workspace_id: string;
|
|
@@ -18598,6 +18609,7 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
18598
18609
|
can_simulate_removal?: boolean | undefined;
|
|
18599
18610
|
can_simulate_connection?: boolean | undefined;
|
|
18600
18611
|
can_simulate_disconnection?: boolean | undefined;
|
|
18612
|
+
can_unlock_with_code?: boolean | undefined;
|
|
18601
18613
|
}, {
|
|
18602
18614
|
device_id: string;
|
|
18603
18615
|
workspace_id: string;
|
|
@@ -18828,6 +18840,7 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
18828
18840
|
can_simulate_removal?: boolean | undefined;
|
|
18829
18841
|
can_simulate_connection?: boolean | undefined;
|
|
18830
18842
|
can_simulate_disconnection?: boolean | undefined;
|
|
18843
|
+
can_unlock_with_code?: boolean | undefined;
|
|
18831
18844
|
}>;
|
|
18832
18845
|
type UnmanagedDevice = z.infer<typeof unmanaged_device>;
|
|
18833
18846
|
|
|
@@ -22222,6 +22235,11 @@ declare const _default: {
|
|
|
22222
22235
|
format: string;
|
|
22223
22236
|
type: string;
|
|
22224
22237
|
};
|
|
22238
|
+
instant_key_url: {
|
|
22239
|
+
description: string;
|
|
22240
|
+
format: string;
|
|
22241
|
+
type: string;
|
|
22242
|
+
};
|
|
22225
22243
|
location_ids: {
|
|
22226
22244
|
deprecated: boolean;
|
|
22227
22245
|
items: {
|
|
@@ -22311,6 +22329,7 @@ declare const _default: {
|
|
|
22311
22329
|
};
|
|
22312
22330
|
instant_key_url: {
|
|
22313
22331
|
description: string;
|
|
22332
|
+
format: string;
|
|
22314
22333
|
type: string;
|
|
22315
22334
|
};
|
|
22316
22335
|
is_card_encoding_required: {
|
|
@@ -24626,6 +24645,7 @@ declare const _default: {
|
|
|
24626
24645
|
};
|
|
24627
24646
|
instant_key_url: {
|
|
24628
24647
|
description: string;
|
|
24648
|
+
format: string;
|
|
24629
24649
|
type: string;
|
|
24630
24650
|
};
|
|
24631
24651
|
is_card_encoding_required: {
|
|
@@ -26147,6 +26167,9 @@ declare const _default: {
|
|
|
26147
26167
|
can_turn_off_hvac: {
|
|
26148
26168
|
type: string;
|
|
26149
26169
|
};
|
|
26170
|
+
can_unlock_with_code: {
|
|
26171
|
+
type: string;
|
|
26172
|
+
};
|
|
26150
26173
|
capabilities_supported: {
|
|
26151
26174
|
description: string;
|
|
26152
26175
|
items: {
|
|
@@ -28486,6 +28509,9 @@ declare const _default: {
|
|
|
28486
28509
|
can_turn_off_hvac: {
|
|
28487
28510
|
type: string;
|
|
28488
28511
|
};
|
|
28512
|
+
can_unlock_with_code: {
|
|
28513
|
+
type: string;
|
|
28514
|
+
};
|
|
28489
28515
|
device_provider_name: {
|
|
28490
28516
|
enum: string[];
|
|
28491
28517
|
type: string;
|
|
@@ -33829,6 +33855,9 @@ declare const _default: {
|
|
|
33829
33855
|
can_turn_off_hvac: {
|
|
33830
33856
|
type: string;
|
|
33831
33857
|
};
|
|
33858
|
+
can_unlock_with_code: {
|
|
33859
|
+
type: string;
|
|
33860
|
+
};
|
|
33832
33861
|
capabilities_supported: {
|
|
33833
33862
|
description: string;
|
|
33834
33863
|
items: {
|
|
@@ -48358,6 +48387,7 @@ declare const _default: {
|
|
|
48358
48387
|
type: string;
|
|
48359
48388
|
additionalProperties?: never;
|
|
48360
48389
|
items?: never;
|
|
48390
|
+
minLength?: never;
|
|
48361
48391
|
default?: never;
|
|
48362
48392
|
exclusiveMinimum?: never;
|
|
48363
48393
|
minimum?: never;
|
|
@@ -48375,6 +48405,7 @@ declare const _default: {
|
|
|
48375
48405
|
description: string;
|
|
48376
48406
|
type: string;
|
|
48377
48407
|
items?: never;
|
|
48408
|
+
minLength?: never;
|
|
48378
48409
|
default?: never;
|
|
48379
48410
|
exclusiveMinimum?: never;
|
|
48380
48411
|
minimum?: never;
|
|
@@ -48391,6 +48422,21 @@ declare const _default: {
|
|
|
48391
48422
|
type: string;
|
|
48392
48423
|
description?: never;
|
|
48393
48424
|
additionalProperties?: never;
|
|
48425
|
+
minLength?: never;
|
|
48426
|
+
default?: never;
|
|
48427
|
+
exclusiveMinimum?: never;
|
|
48428
|
+
minimum?: never;
|
|
48429
|
+
nullable?: never;
|
|
48430
|
+
};
|
|
48431
|
+
} | {
|
|
48432
|
+
in: string;
|
|
48433
|
+
name: string;
|
|
48434
|
+
schema: {
|
|
48435
|
+
description: string;
|
|
48436
|
+
minLength: number;
|
|
48437
|
+
type: string;
|
|
48438
|
+
additionalProperties?: never;
|
|
48439
|
+
items?: never;
|
|
48394
48440
|
default?: never;
|
|
48395
48441
|
exclusiveMinimum?: never;
|
|
48396
48442
|
minimum?: never;
|
|
@@ -48407,6 +48453,7 @@ declare const _default: {
|
|
|
48407
48453
|
type: string;
|
|
48408
48454
|
additionalProperties?: never;
|
|
48409
48455
|
items?: never;
|
|
48456
|
+
minLength?: never;
|
|
48410
48457
|
nullable?: never;
|
|
48411
48458
|
};
|
|
48412
48459
|
} | {
|
|
@@ -48418,6 +48465,7 @@ declare const _default: {
|
|
|
48418
48465
|
type: string;
|
|
48419
48466
|
additionalProperties?: never;
|
|
48420
48467
|
items?: never;
|
|
48468
|
+
minLength?: never;
|
|
48421
48469
|
default?: never;
|
|
48422
48470
|
exclusiveMinimum?: never;
|
|
48423
48471
|
minimum?: never;
|
|
@@ -48521,6 +48569,11 @@ declare const _default: {
|
|
|
48521
48569
|
nullable: boolean;
|
|
48522
48570
|
type: string;
|
|
48523
48571
|
};
|
|
48572
|
+
search: {
|
|
48573
|
+
description: string;
|
|
48574
|
+
minLength: number;
|
|
48575
|
+
type: string;
|
|
48576
|
+
};
|
|
48524
48577
|
user_identifier_key: {
|
|
48525
48578
|
description: string;
|
|
48526
48579
|
type: string;
|
|
@@ -78876,6 +78929,8 @@ interface Routes {
|
|
|
78876
78929
|
access_method_ids: string[];
|
|
78877
78930
|
/** Display name of the access grant. */
|
|
78878
78931
|
display_name: string;
|
|
78932
|
+
/** Instant Key URL. Only returned if the access grant has a single mobile_key access_method. */
|
|
78933
|
+
instant_key_url?: string | undefined;
|
|
78879
78934
|
/** Date and time at which the access grant was created. */
|
|
78880
78935
|
created_at: string;
|
|
78881
78936
|
/** Date and time at which the access grant starts. */
|
|
@@ -78936,6 +78991,8 @@ interface Routes {
|
|
|
78936
78991
|
access_method_ids: string[];
|
|
78937
78992
|
/** Display name of the access grant. */
|
|
78938
78993
|
display_name: string;
|
|
78994
|
+
/** Instant Key URL. Only returned if the access grant has a single mobile_key access_method. */
|
|
78995
|
+
instant_key_url?: string | undefined;
|
|
78939
78996
|
/** Date and time at which the access grant was created. */
|
|
78940
78997
|
created_at: string;
|
|
78941
78998
|
/** Date and time at which the access grant starts. */
|
|
@@ -78992,6 +79049,8 @@ interface Routes {
|
|
|
78992
79049
|
access_method_ids: string[];
|
|
78993
79050
|
/** Display name of the access grant. */
|
|
78994
79051
|
display_name: string;
|
|
79052
|
+
/** Instant Key URL. Only returned if the access grant has a single mobile_key access_method. */
|
|
79053
|
+
instant_key_url?: string | undefined;
|
|
78995
79054
|
/** Date and time at which the access grant was created. */
|
|
78996
79055
|
created_at: string;
|
|
78997
79056
|
/** Date and time at which the access grant starts. */
|
|
@@ -90969,6 +91028,8 @@ interface Routes {
|
|
|
90969
91028
|
/** Custom metadata pairs by which you want to filter connected accounts. Returns connected accounts with `custom_metadata` that contains all of the provided key:value pairs. */
|
|
90970
91029
|
custom_metadata_has?: Record<string, string | boolean> | undefined;
|
|
90971
91030
|
customer_ids?: string[] | undefined;
|
|
91031
|
+
/** String for which to search. Filters returned connected accounts to include all records that satisfy a partial match using `connected_account_id`, `account_type`, `customer_key`, `custom_metadata`, `user_identifier.username`, `user_identifier.email` or `user_identifier.phone`. */
|
|
91032
|
+
search?: string | undefined;
|
|
90972
91033
|
/** Maximum number of records to return per page. */
|
|
90973
91034
|
limit?: number;
|
|
90974
91035
|
/** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
|
|
@@ -92930,6 +92991,7 @@ interface Routes {
|
|
|
92930
92991
|
can_simulate_removal?: boolean | undefined;
|
|
92931
92992
|
can_simulate_connection?: boolean | undefined;
|
|
92932
92993
|
can_simulate_disconnection?: boolean | undefined;
|
|
92994
|
+
can_unlock_with_code?: boolean | undefined;
|
|
92933
92995
|
};
|
|
92934
92996
|
};
|
|
92935
92997
|
};
|
|
@@ -92965,9 +93027,9 @@ interface Routes {
|
|
|
92965
93027
|
/** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
|
|
92966
93028
|
page_cursor?: (string | undefined) | null;
|
|
92967
93029
|
/** */
|
|
92968
|
-
include_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection'> | undefined;
|
|
93030
|
+
include_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code'> | undefined;
|
|
92969
93031
|
/** */
|
|
92970
|
-
exclude_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection'> | undefined;
|
|
93032
|
+
exclude_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code'> | undefined;
|
|
92971
93033
|
/**
|
|
92972
93034
|
* @deprecated Use `space_id`. */
|
|
92973
93035
|
unstable_location_id?: (string | null) | undefined;
|
|
@@ -94087,6 +94149,7 @@ interface Routes {
|
|
|
94087
94149
|
can_simulate_removal?: boolean | undefined;
|
|
94088
94150
|
can_simulate_connection?: boolean | undefined;
|
|
94089
94151
|
can_simulate_disconnection?: boolean | undefined;
|
|
94152
|
+
can_unlock_with_code?: boolean | undefined;
|
|
94090
94153
|
}>;
|
|
94091
94154
|
/** Information about the current page of results. */
|
|
94092
94155
|
pagination: {
|
|
@@ -94126,6 +94189,7 @@ interface Routes {
|
|
|
94126
94189
|
can_simulate_removal?: boolean | undefined;
|
|
94127
94190
|
can_simulate_connection?: boolean | undefined;
|
|
94128
94191
|
can_simulate_disconnection?: boolean | undefined;
|
|
94192
|
+
can_unlock_with_code?: boolean | undefined;
|
|
94129
94193
|
}>;
|
|
94130
94194
|
};
|
|
94131
94195
|
};
|
|
@@ -94565,6 +94629,7 @@ interface Routes {
|
|
|
94565
94629
|
can_simulate_removal?: boolean | undefined;
|
|
94566
94630
|
can_simulate_connection?: boolean | undefined;
|
|
94567
94631
|
can_simulate_disconnection?: boolean | undefined;
|
|
94632
|
+
can_unlock_with_code?: boolean | undefined;
|
|
94568
94633
|
};
|
|
94569
94634
|
};
|
|
94570
94635
|
};
|
|
@@ -94600,9 +94665,9 @@ interface Routes {
|
|
|
94600
94665
|
/** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
|
|
94601
94666
|
page_cursor?: (string | undefined) | null;
|
|
94602
94667
|
/** */
|
|
94603
|
-
include_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection'> | undefined;
|
|
94668
|
+
include_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code'> | undefined;
|
|
94604
94669
|
/** */
|
|
94605
|
-
exclude_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection'> | undefined;
|
|
94670
|
+
exclude_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code'> | undefined;
|
|
94606
94671
|
/**
|
|
94607
94672
|
* @deprecated Use `space_id`. */
|
|
94608
94673
|
unstable_location_id?: (string | null) | undefined;
|
|
@@ -94999,6 +95064,7 @@ interface Routes {
|
|
|
94999
95064
|
can_simulate_removal?: boolean | undefined;
|
|
95000
95065
|
can_simulate_connection?: boolean | undefined;
|
|
95001
95066
|
can_simulate_disconnection?: boolean | undefined;
|
|
95067
|
+
can_unlock_with_code?: boolean | undefined;
|
|
95002
95068
|
}>;
|
|
95003
95069
|
};
|
|
95004
95070
|
};
|
|
@@ -99005,6 +99071,7 @@ interface Routes {
|
|
|
99005
99071
|
can_simulate_removal?: boolean | undefined;
|
|
99006
99072
|
can_simulate_connection?: boolean | undefined;
|
|
99007
99073
|
can_simulate_disconnection?: boolean | undefined;
|
|
99074
|
+
can_unlock_with_code?: boolean | undefined;
|
|
99008
99075
|
};
|
|
99009
99076
|
/** Represents a [device](https://docs.seam.co/latest/core-concepts/devices) that has been connected to Seam. */
|
|
99010
99077
|
device: {
|
|
@@ -100116,6 +100183,7 @@ interface Routes {
|
|
|
100116
100183
|
can_simulate_removal?: boolean | undefined;
|
|
100117
100184
|
can_simulate_connection?: boolean | undefined;
|
|
100118
100185
|
can_simulate_disconnection?: boolean | undefined;
|
|
100186
|
+
can_unlock_with_code?: boolean | undefined;
|
|
100119
100187
|
};
|
|
100120
100188
|
};
|
|
100121
100189
|
};
|
|
@@ -100151,9 +100219,9 @@ interface Routes {
|
|
|
100151
100219
|
/** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
|
|
100152
100220
|
page_cursor?: (string | undefined) | null;
|
|
100153
100221
|
/** */
|
|
100154
|
-
include_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection'> | undefined;
|
|
100222
|
+
include_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code'> | undefined;
|
|
100155
100223
|
/** */
|
|
100156
|
-
exclude_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection'> | undefined;
|
|
100224
|
+
exclude_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code'> | undefined;
|
|
100157
100225
|
/**
|
|
100158
100226
|
* @deprecated Use `space_id`. */
|
|
100159
100227
|
unstable_location_id?: (string | null) | undefined;
|
|
@@ -101273,6 +101341,7 @@ interface Routes {
|
|
|
101273
101341
|
can_simulate_removal?: boolean | undefined;
|
|
101274
101342
|
can_simulate_connection?: boolean | undefined;
|
|
101275
101343
|
can_simulate_disconnection?: boolean | undefined;
|
|
101344
|
+
can_unlock_with_code?: boolean | undefined;
|
|
101276
101345
|
}>;
|
|
101277
101346
|
devices: Array<{
|
|
101278
101347
|
/** ID of the device. */
|
|
@@ -102383,6 +102452,7 @@ interface Routes {
|
|
|
102383
102452
|
can_simulate_removal?: boolean | undefined;
|
|
102384
102453
|
can_simulate_connection?: boolean | undefined;
|
|
102385
102454
|
can_simulate_disconnection?: boolean | undefined;
|
|
102455
|
+
can_unlock_with_code?: boolean | undefined;
|
|
102386
102456
|
}>;
|
|
102387
102457
|
};
|
|
102388
102458
|
};
|
|
@@ -107743,9 +107813,9 @@ interface Routes {
|
|
|
107743
107813
|
/** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
|
|
107744
107814
|
page_cursor?: (string | undefined) | null;
|
|
107745
107815
|
/** */
|
|
107746
|
-
include_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection'> | undefined;
|
|
107816
|
+
include_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code'> | undefined;
|
|
107747
107817
|
/** */
|
|
107748
|
-
exclude_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection'> | undefined;
|
|
107818
|
+
exclude_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code'> | undefined;
|
|
107749
107819
|
/**
|
|
107750
107820
|
* @deprecated Use `space_id`. */
|
|
107751
107821
|
unstable_location_id?: (string | null) | undefined;
|
|
@@ -108865,6 +108935,7 @@ interface Routes {
|
|
|
108865
108935
|
can_simulate_removal?: boolean | undefined;
|
|
108866
108936
|
can_simulate_connection?: boolean | undefined;
|
|
108867
108937
|
can_simulate_disconnection?: boolean | undefined;
|
|
108938
|
+
can_unlock_with_code?: boolean | undefined;
|
|
108868
108939
|
}>;
|
|
108869
108940
|
devices: Array<{
|
|
108870
108941
|
/** ID of the device. */
|
|
@@ -109975,6 +110046,7 @@ interface Routes {
|
|
|
109975
110046
|
can_simulate_removal?: boolean | undefined;
|
|
109976
110047
|
can_simulate_connection?: boolean | undefined;
|
|
109977
110048
|
can_simulate_disconnection?: boolean | undefined;
|
|
110049
|
+
can_unlock_with_code?: boolean | undefined;
|
|
109978
110050
|
}>;
|
|
109979
110051
|
};
|
|
109980
110052
|
};
|
|
@@ -120513,6 +120585,7 @@ interface Routes {
|
|
|
120513
120585
|
can_simulate_removal?: boolean | undefined;
|
|
120514
120586
|
can_simulate_connection?: boolean | undefined;
|
|
120515
120587
|
can_simulate_disconnection?: boolean | undefined;
|
|
120588
|
+
can_unlock_with_code?: boolean | undefined;
|
|
120516
120589
|
};
|
|
120517
120590
|
};
|
|
120518
120591
|
};
|
|
@@ -123206,9 +123279,9 @@ interface Routes {
|
|
|
123206
123279
|
/** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
|
|
123207
123280
|
page_cursor?: (string | undefined) | null;
|
|
123208
123281
|
/** */
|
|
123209
|
-
include_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection'> | undefined;
|
|
123282
|
+
include_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code'> | undefined;
|
|
123210
123283
|
/** */
|
|
123211
|
-
exclude_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection'> | undefined;
|
|
123284
|
+
exclude_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code'> | undefined;
|
|
123212
123285
|
/**
|
|
123213
123286
|
* @deprecated Use `space_id`. */
|
|
123214
123287
|
unstable_location_id?: (string | null) | undefined;
|
|
@@ -124328,6 +124401,7 @@ interface Routes {
|
|
|
124328
124401
|
can_simulate_removal?: boolean | undefined;
|
|
124329
124402
|
can_simulate_connection?: boolean | undefined;
|
|
124330
124403
|
can_simulate_disconnection?: boolean | undefined;
|
|
124404
|
+
can_unlock_with_code?: boolean | undefined;
|
|
124331
124405
|
}>;
|
|
124332
124406
|
devices: Array<{
|
|
124333
124407
|
/** ID of the device. */
|
|
@@ -125438,6 +125512,7 @@ interface Routes {
|
|
|
125438
125512
|
can_simulate_removal?: boolean | undefined;
|
|
125439
125513
|
can_simulate_connection?: boolean | undefined;
|
|
125440
125514
|
can_simulate_disconnection?: boolean | undefined;
|
|
125515
|
+
can_unlock_with_code?: boolean | undefined;
|
|
125441
125516
|
}>;
|
|
125442
125517
|
};
|
|
125443
125518
|
};
|
|
@@ -131158,6 +131233,8 @@ interface Routes {
|
|
|
131158
131233
|
access_method_ids: string[];
|
|
131159
131234
|
/** Display name of the access grant. */
|
|
131160
131235
|
display_name: string;
|
|
131236
|
+
/** Instant Key URL. Only returned if the access grant has a single mobile_key access_method. */
|
|
131237
|
+
instant_key_url?: string | undefined;
|
|
131161
131238
|
/** Date and time at which the access grant was created. */
|
|
131162
131239
|
created_at: string;
|
|
131163
131240
|
/** Date and time at which the access grant starts. */
|
|
@@ -131218,6 +131295,8 @@ interface Routes {
|
|
|
131218
131295
|
access_method_ids: string[];
|
|
131219
131296
|
/** Display name of the access grant. */
|
|
131220
131297
|
display_name: string;
|
|
131298
|
+
/** Instant Key URL. Only returned if the access grant has a single mobile_key access_method. */
|
|
131299
|
+
instant_key_url?: string | undefined;
|
|
131221
131300
|
/** Date and time at which the access grant was created. */
|
|
131222
131301
|
created_at: string;
|
|
131223
131302
|
/** Date and time at which the access grant starts. */
|
|
@@ -131274,6 +131353,8 @@ interface Routes {
|
|
|
131274
131353
|
access_method_ids: string[];
|
|
131275
131354
|
/** Display name of the access grant. */
|
|
131276
131355
|
display_name: string;
|
|
131356
|
+
/** Instant Key URL. Only returned if the access grant has a single mobile_key access_method. */
|
|
131357
|
+
instant_key_url?: string | undefined;
|
|
131277
131358
|
/** Date and time at which the access grant was created. */
|
|
131278
131359
|
created_at: string;
|
|
131279
131360
|
/** Date and time at which the access grant starts. */
|
|
@@ -133160,6 +133241,7 @@ interface Routes {
|
|
|
133160
133241
|
can_simulate_removal?: boolean | undefined;
|
|
133161
133242
|
can_simulate_connection?: boolean | undefined;
|
|
133162
133243
|
can_simulate_disconnection?: boolean | undefined;
|
|
133244
|
+
can_unlock_with_code?: boolean | undefined;
|
|
133163
133245
|
}>;
|
|
133164
133246
|
/**
|
|
133165
133247
|
* @deprecated Use devices. */
|
|
@@ -134272,6 +134354,7 @@ interface Routes {
|
|
|
134272
134354
|
can_simulate_removal?: boolean | undefined;
|
|
134273
134355
|
can_simulate_connection?: boolean | undefined;
|
|
134274
134356
|
can_simulate_disconnection?: boolean | undefined;
|
|
134357
|
+
can_unlock_with_code?: boolean | undefined;
|
|
134275
134358
|
}>;
|
|
134276
134359
|
};
|
|
134277
134360
|
};
|
|
@@ -23,6 +23,7 @@ export declare const access_grant: z.ZodObject<{
|
|
|
23
23
|
}>, "many">;
|
|
24
24
|
access_method_ids: z.ZodArray<z.ZodString, "many">;
|
|
25
25
|
display_name: z.ZodString;
|
|
26
|
+
instant_key_url: z.ZodOptional<z.ZodString>;
|
|
26
27
|
created_at: z.ZodString;
|
|
27
28
|
starts_at: z.ZodOptional<z.ZodString>;
|
|
28
29
|
ends_at: z.ZodOptional<z.ZodString>;
|
|
@@ -43,6 +44,7 @@ export declare const access_grant: z.ZodObject<{
|
|
|
43
44
|
access_method_ids: string[];
|
|
44
45
|
starts_at?: string | undefined;
|
|
45
46
|
ends_at?: string | undefined;
|
|
47
|
+
instant_key_url?: string | undefined;
|
|
46
48
|
}, {
|
|
47
49
|
display_name: string;
|
|
48
50
|
workspace_id: string;
|
|
@@ -60,5 +62,6 @@ export declare const access_grant: z.ZodObject<{
|
|
|
60
62
|
access_method_ids: string[];
|
|
61
63
|
starts_at?: string | undefined;
|
|
62
64
|
ends_at?: string | undefined;
|
|
65
|
+
instant_key_url?: string | undefined;
|
|
63
66
|
}>;
|
|
64
67
|
export type AccessGrant = z.infer<typeof access_grant>;
|
|
@@ -25,6 +25,11 @@ export const access_grant = z.object({
|
|
|
25
25
|
.array(z.string().uuid())
|
|
26
26
|
.describe('IDs of the access methods created for the access grant.'),
|
|
27
27
|
display_name: z.string().describe('Display name of the access grant.'),
|
|
28
|
+
instant_key_url: z
|
|
29
|
+
.string()
|
|
30
|
+
.url()
|
|
31
|
+
.optional()
|
|
32
|
+
.describe('Instant Key URL. Only returned if the access grant has a single mobile_key access_method. '),
|
|
28
33
|
created_at: z
|
|
29
34
|
.string()
|
|
30
35
|
.datetime()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"access-grant.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/access-grants/access-grant.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAA;AAEtE,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,CAAC,MAAM,CAAC;IACnC,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CAAC,4DAA4D,CAAC;IACzE,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC,yBAAyB,CAAC;IACtE,gBAAgB,EAAE,CAAC;SAChB,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CAAC,6DAA6D,CAAC;IAC1E,YAAY,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,CAAC,QAAQ,CAAC;;;;GAIjD,CAAC;IACF,SAAS,EAAE,CAAC;SACT,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC;SACxB,QAAQ,CAAC,2DAA2D,CAAC;IACxE,wBAAwB,EAAE,CAAC;SACxB,KAAK,CAAC,uBAAuB,CAAC;SAC9B,QAAQ,CAAC,8DAA8D,CAAC;IAC3E,iBAAiB,EAAE,CAAC;SACjB,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC;SACxB,QAAQ,CAAC,yDAAyD,CAAC;IACtE,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,mCAAmC,CAAC;IACtE,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,sDAAsD,CAAC;IACnE,SAAS,EAAE,CAAC;SACT,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,EAAE;SACV,QAAQ,CAAC,iDAAiD,CAAC;IAC9D,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,EAAE;SACV,QAAQ,CAAC,+CAA+C,CAAC;CAC7D,CAAC,CAAC,QAAQ,CAAC;;;;;;GAMT,CAAC,CAAA"}
|
|
1
|
+
{"version":3,"file":"access-grant.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/access-grants/access-grant.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAA;AAEtE,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,CAAC,MAAM,CAAC;IACnC,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CAAC,4DAA4D,CAAC;IACzE,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC,yBAAyB,CAAC;IACtE,gBAAgB,EAAE,CAAC;SAChB,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CAAC,6DAA6D,CAAC;IAC1E,YAAY,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,CAAC,QAAQ,CAAC;;;;GAIjD,CAAC;IACF,SAAS,EAAE,CAAC;SACT,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC;SACxB,QAAQ,CAAC,2DAA2D,CAAC;IACxE,wBAAwB,EAAE,CAAC;SACxB,KAAK,CAAC,uBAAuB,CAAC;SAC9B,QAAQ,CAAC,8DAA8D,CAAC;IAC3E,iBAAiB,EAAE,CAAC;SACjB,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC;SACxB,QAAQ,CAAC,yDAAyD,CAAC;IACtE,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,mCAAmC,CAAC;IACtE,eAAe,EAAE,CAAC;SACf,MAAM,EAAE;SACR,GAAG,EAAE;SACL,QAAQ,EAAE;SACV,QAAQ,CACP,4FAA4F,CAC7F;IACH,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,sDAAsD,CAAC;IACnE,SAAS,EAAE,CAAC;SACT,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,EAAE;SACV,QAAQ,CAAC,iDAAiD,CAAC;IAC9D,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,EAAE;SACV,QAAQ,CAAC,+CAA+C,CAAC;CAC7D,CAAC,CAAC,QAAQ,CAAC;;;;;;GAMT,CAAC,CAAA"}
|
|
@@ -14,8 +14,8 @@ export declare const access_method: z.ZodObject<{
|
|
|
14
14
|
created_at: string;
|
|
15
15
|
mode: "code" | "card" | "mobile_key";
|
|
16
16
|
access_method_id: string;
|
|
17
|
-
issued_at?: string | undefined;
|
|
18
17
|
instant_key_url?: string | undefined;
|
|
18
|
+
issued_at?: string | undefined;
|
|
19
19
|
is_card_encoding_required?: boolean | undefined;
|
|
20
20
|
}, {
|
|
21
21
|
display_name: string;
|
|
@@ -23,8 +23,8 @@ export declare const access_method: z.ZodObject<{
|
|
|
23
23
|
created_at: string;
|
|
24
24
|
mode: "code" | "card" | "mobile_key";
|
|
25
25
|
access_method_id: string;
|
|
26
|
-
issued_at?: string | undefined;
|
|
27
26
|
instant_key_url?: string | undefined;
|
|
27
|
+
issued_at?: string | undefined;
|
|
28
28
|
is_card_encoding_required?: boolean | undefined;
|
|
29
29
|
}>;
|
|
30
30
|
export type AccessMethod = z.infer<typeof access_method>;
|
|
@@ -20,6 +20,7 @@ export const access_method = z.object({
|
|
|
20
20
|
.describe('Date and time at which the access method was issued.'),
|
|
21
21
|
instant_key_url: z
|
|
22
22
|
.string()
|
|
23
|
+
.url()
|
|
23
24
|
.optional()
|
|
24
25
|
.describe('URL of the Instant Key for mobile key access methods.'),
|
|
25
26
|
is_card_encoding_required: z
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"access-method.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/access-grants/access-method.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,CAAC,MAAM,CAAC;IACpC,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CAAC,6DAA6D,CAAC;IAC1E,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC,0BAA0B,CAAC;IACxE,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,oCAAoC,CAAC;IACvE,IAAI,EAAE,CAAC;SACJ,IAAI,CAAC,CAAC,MAAM,EAAE,MAAM,EAAE,YAAY,CAAC,CAAC;SACpC,QAAQ,CACP,qEAAqE,CACtE;IACH,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,uDAAuD,CAAC;IACpE,SAAS,EAAE,CAAC;SACT,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,EAAE;SACV,QAAQ,CAAC,sDAAsD,CAAC;IACnE,eAAe,EAAE,CAAC;SACf,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,uDAAuD,CAAC;IACpE,yBAAyB,EAAE,CAAC;SACzB,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CACP,8EAA8E,CAC/E;CACJ,CAAC,CAAC,QAAQ,CAAC;;;;;;GAMT,CAAC,CAAA"}
|
|
1
|
+
{"version":3,"file":"access-method.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/access-grants/access-method.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,CAAC,MAAM,CAAC;IACpC,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CAAC,6DAA6D,CAAC;IAC1E,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC,0BAA0B,CAAC;IACxE,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,oCAAoC,CAAC;IACvE,IAAI,EAAE,CAAC;SACJ,IAAI,CAAC,CAAC,MAAM,EAAE,MAAM,EAAE,YAAY,CAAC,CAAC;SACpC,QAAQ,CACP,qEAAqE,CACtE;IACH,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,uDAAuD,CAAC;IACpE,SAAS,EAAE,CAAC;SACT,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,EAAE;SACV,QAAQ,CAAC,sDAAsD,CAAC;IACnE,eAAe,EAAE,CAAC;SACf,MAAM,EAAE;SACR,GAAG,EAAE;SACL,QAAQ,EAAE;SACV,QAAQ,CAAC,uDAAuD,CAAC;IACpE,yBAAyB,EAAE,CAAC;SACzB,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CACP,8EAA8E,CAC/E;CACJ,CAAC,CAAC,QAAQ,CAAC;;;;;;GAMT,CAAC,CAAA"}
|