@seamapi/types 1.477.0 → 1.479.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 +87 -8
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +271 -4
- package/dist/index.cjs +87 -8
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +236 -0
- package/lib/seam/connect/models/batch.js +3 -0
- package/lib/seam/connect/models/batch.js.map +1 -1
- package/lib/seam/connect/models/customization_profiles/customization_profile.d.ts +4 -1
- package/lib/seam/connect/models/customization_profiles/customization_profile.js +2 -1
- package/lib/seam/connect/models/customization_profiles/customization_profile.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +57 -0
- package/lib/seam/connect/openapi.js +34 -5
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +92 -3
- package/package.json +1 -1
- package/src/lib/seam/connect/models/batch.ts +3 -0
- package/src/lib/seam/connect/models/customization_profiles/customization_profile.ts +2 -1
- package/src/lib/seam/connect/openapi.ts +34 -5
- package/src/lib/seam/connect/route-types.ts +96 -3
package/dist/connect.d.cts
CHANGED
|
@@ -23870,6 +23870,80 @@ declare const batch: z.ZodObject<{
|
|
|
23870
23870
|
instant_key_url?: string | undefined;
|
|
23871
23871
|
is_encoding_required?: boolean | undefined;
|
|
23872
23872
|
}>, "many">>;
|
|
23873
|
+
access_grants: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
23874
|
+
workspace_id: z.ZodString;
|
|
23875
|
+
access_grant_id: z.ZodString;
|
|
23876
|
+
access_grant_key: z.ZodOptional<z.ZodString>;
|
|
23877
|
+
user_identity_id: z.ZodString;
|
|
23878
|
+
location_ids: z.ZodArray<z.ZodString, "many">;
|
|
23879
|
+
space_ids: z.ZodArray<z.ZodString, "many">;
|
|
23880
|
+
requested_access_methods: z.ZodArray<z.ZodObject<{
|
|
23881
|
+
display_name: z.ZodString;
|
|
23882
|
+
mode: z.ZodEnum<["code", "card", "mobile_key"]>;
|
|
23883
|
+
created_at: z.ZodString;
|
|
23884
|
+
created_access_method_ids: z.ZodArray<z.ZodString, "many">;
|
|
23885
|
+
}, "strip", z.ZodTypeAny, {
|
|
23886
|
+
display_name: string;
|
|
23887
|
+
created_at: string;
|
|
23888
|
+
mode: "code" | "card" | "mobile_key";
|
|
23889
|
+
created_access_method_ids: string[];
|
|
23890
|
+
}, {
|
|
23891
|
+
display_name: string;
|
|
23892
|
+
created_at: string;
|
|
23893
|
+
mode: "code" | "card" | "mobile_key";
|
|
23894
|
+
created_access_method_ids: string[];
|
|
23895
|
+
}>, "many">;
|
|
23896
|
+
access_method_ids: z.ZodArray<z.ZodString, "many">;
|
|
23897
|
+
client_session_token: z.ZodOptional<z.ZodString>;
|
|
23898
|
+
name: z.ZodNullable<z.ZodString>;
|
|
23899
|
+
display_name: z.ZodString;
|
|
23900
|
+
instant_key_url: z.ZodOptional<z.ZodString>;
|
|
23901
|
+
created_at: z.ZodString;
|
|
23902
|
+
starts_at: z.ZodString;
|
|
23903
|
+
ends_at: z.ZodNullable<z.ZodString>;
|
|
23904
|
+
}, "strip", z.ZodTypeAny, {
|
|
23905
|
+
name: string | null;
|
|
23906
|
+
display_name: string;
|
|
23907
|
+
workspace_id: string;
|
|
23908
|
+
created_at: string;
|
|
23909
|
+
starts_at: string;
|
|
23910
|
+
ends_at: string | null;
|
|
23911
|
+
access_grant_id: string;
|
|
23912
|
+
user_identity_id: string;
|
|
23913
|
+
location_ids: string[];
|
|
23914
|
+
space_ids: string[];
|
|
23915
|
+
requested_access_methods: {
|
|
23916
|
+
display_name: string;
|
|
23917
|
+
created_at: string;
|
|
23918
|
+
mode: "code" | "card" | "mobile_key";
|
|
23919
|
+
created_access_method_ids: string[];
|
|
23920
|
+
}[];
|
|
23921
|
+
access_method_ids: string[];
|
|
23922
|
+
access_grant_key?: string | undefined;
|
|
23923
|
+
client_session_token?: string | undefined;
|
|
23924
|
+
instant_key_url?: string | undefined;
|
|
23925
|
+
}, {
|
|
23926
|
+
name: string | null;
|
|
23927
|
+
display_name: string;
|
|
23928
|
+
workspace_id: string;
|
|
23929
|
+
created_at: string;
|
|
23930
|
+
starts_at: string;
|
|
23931
|
+
ends_at: string | null;
|
|
23932
|
+
access_grant_id: string;
|
|
23933
|
+
user_identity_id: string;
|
|
23934
|
+
location_ids: string[];
|
|
23935
|
+
space_ids: string[];
|
|
23936
|
+
requested_access_methods: {
|
|
23937
|
+
display_name: string;
|
|
23938
|
+
created_at: string;
|
|
23939
|
+
mode: "code" | "card" | "mobile_key";
|
|
23940
|
+
created_access_method_ids: string[];
|
|
23941
|
+
}[];
|
|
23942
|
+
access_method_ids: string[];
|
|
23943
|
+
access_grant_key?: string | undefined;
|
|
23944
|
+
client_session_token?: string | undefined;
|
|
23945
|
+
instant_key_url?: string | undefined;
|
|
23946
|
+
}>, "many">>;
|
|
23873
23947
|
}, "strip", z.ZodTypeAny, {
|
|
23874
23948
|
batch_type: "spaces" | "access_grants" | "access_methods" | "workspaces";
|
|
23875
23949
|
spaces?: {
|
|
@@ -24664,6 +24738,28 @@ declare const batch: z.ZodObject<{
|
|
|
24664
24738
|
system_type?: "assa_abloy_credential_service" | "assa_abloy_vostio" | "assa_abloy_vostio_credential_service" | "pti_site" | "alta_org" | "salto_ks_site" | "salto_space_system" | "brivo_account" | "hid_credential_manager_organization" | "visionline_system" | "latch_building" | "dormakaba_community_site" | "dormakaba_ambiance_site" | "legic_connect_credential_service" | undefined;
|
|
24665
24739
|
system_type_display_name?: string | undefined;
|
|
24666
24740
|
}[] | undefined;
|
|
24741
|
+
access_grants?: {
|
|
24742
|
+
name: string | null;
|
|
24743
|
+
display_name: string;
|
|
24744
|
+
workspace_id: string;
|
|
24745
|
+
created_at: string;
|
|
24746
|
+
starts_at: string;
|
|
24747
|
+
ends_at: string | null;
|
|
24748
|
+
access_grant_id: string;
|
|
24749
|
+
user_identity_id: string;
|
|
24750
|
+
location_ids: string[];
|
|
24751
|
+
space_ids: string[];
|
|
24752
|
+
requested_access_methods: {
|
|
24753
|
+
display_name: string;
|
|
24754
|
+
created_at: string;
|
|
24755
|
+
mode: "code" | "card" | "mobile_key";
|
|
24756
|
+
created_access_method_ids: string[];
|
|
24757
|
+
}[];
|
|
24758
|
+
access_method_ids: string[];
|
|
24759
|
+
access_grant_key?: string | undefined;
|
|
24760
|
+
client_session_token?: string | undefined;
|
|
24761
|
+
instant_key_url?: string | undefined;
|
|
24762
|
+
}[] | undefined;
|
|
24667
24763
|
user_identities?: {
|
|
24668
24764
|
display_name: string;
|
|
24669
24765
|
workspace_id: string;
|
|
@@ -26796,6 +26892,28 @@ declare const batch: z.ZodObject<{
|
|
|
26796
26892
|
system_type?: "assa_abloy_credential_service" | "assa_abloy_vostio" | "assa_abloy_vostio_credential_service" | "pti_site" | "alta_org" | "salto_ks_site" | "salto_space_system" | "brivo_account" | "hid_credential_manager_organization" | "visionline_system" | "latch_building" | "dormakaba_community_site" | "dormakaba_ambiance_site" | "legic_connect_credential_service" | undefined;
|
|
26797
26893
|
system_type_display_name?: string | undefined;
|
|
26798
26894
|
}[] | undefined;
|
|
26895
|
+
access_grants?: {
|
|
26896
|
+
name: string | null;
|
|
26897
|
+
display_name: string;
|
|
26898
|
+
workspace_id: string;
|
|
26899
|
+
created_at: string;
|
|
26900
|
+
starts_at: string;
|
|
26901
|
+
ends_at: string | null;
|
|
26902
|
+
access_grant_id: string;
|
|
26903
|
+
user_identity_id: string;
|
|
26904
|
+
location_ids: string[];
|
|
26905
|
+
space_ids: string[];
|
|
26906
|
+
requested_access_methods: {
|
|
26907
|
+
display_name: string;
|
|
26908
|
+
created_at: string;
|
|
26909
|
+
mode: "code" | "card" | "mobile_key";
|
|
26910
|
+
created_access_method_ids: string[];
|
|
26911
|
+
}[];
|
|
26912
|
+
access_method_ids: string[];
|
|
26913
|
+
access_grant_key?: string | undefined;
|
|
26914
|
+
client_session_token?: string | undefined;
|
|
26915
|
+
instant_key_url?: string | undefined;
|
|
26916
|
+
}[] | undefined;
|
|
26799
26917
|
user_identities?: {
|
|
26800
26918
|
display_name: string;
|
|
26801
26919
|
workspace_id: string;
|
|
@@ -28980,13 +29098,15 @@ declare const custom_metadata: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString,
|
|
|
28980
29098
|
type CustomMetadata = z.output<typeof custom_metadata>;
|
|
28981
29099
|
|
|
28982
29100
|
declare const customization_profile: z.ZodObject<{
|
|
28983
|
-
customization_profile_id: z.ZodString;
|
|
28984
29101
|
workspace_id: z.ZodString;
|
|
29102
|
+
name: z.ZodNullable<z.ZodString>;
|
|
29103
|
+
customization_profile_id: z.ZodString;
|
|
28985
29104
|
created_at: z.ZodString;
|
|
28986
29105
|
logo_url: z.ZodOptional<z.ZodString>;
|
|
28987
29106
|
primary_color: z.ZodOptional<z.ZodString>;
|
|
28988
29107
|
secondary_color: z.ZodOptional<z.ZodString>;
|
|
28989
29108
|
}, "strip", z.ZodTypeAny, {
|
|
29109
|
+
name: string | null;
|
|
28990
29110
|
workspace_id: string;
|
|
28991
29111
|
created_at: string;
|
|
28992
29112
|
customization_profile_id: string;
|
|
@@ -28994,6 +29114,7 @@ declare const customization_profile: z.ZodObject<{
|
|
|
28994
29114
|
primary_color?: string | undefined;
|
|
28995
29115
|
secondary_color?: string | undefined;
|
|
28996
29116
|
}, {
|
|
29117
|
+
name: string | null;
|
|
28997
29118
|
workspace_id: string;
|
|
28998
29119
|
created_at: string;
|
|
28999
29120
|
customization_profile_id: string;
|
|
@@ -58729,6 +58850,12 @@ declare const _default: {
|
|
|
58729
58850
|
batch: {
|
|
58730
58851
|
description: string;
|
|
58731
58852
|
properties: {
|
|
58853
|
+
access_grants: {
|
|
58854
|
+
items: {
|
|
58855
|
+
$ref: string;
|
|
58856
|
+
};
|
|
58857
|
+
type: string;
|
|
58858
|
+
};
|
|
58732
58859
|
access_methods: {
|
|
58733
58860
|
items: {
|
|
58734
58861
|
$ref: string;
|
|
@@ -58920,6 +59047,12 @@ declare const _default: {
|
|
|
58920
59047
|
batch: {
|
|
58921
59048
|
description: string;
|
|
58922
59049
|
properties: {
|
|
59050
|
+
access_grants: {
|
|
59051
|
+
items: {
|
|
59052
|
+
$ref: string;
|
|
59053
|
+
};
|
|
59054
|
+
type: string;
|
|
59055
|
+
};
|
|
58923
59056
|
access_methods: {
|
|
58924
59057
|
items: {
|
|
58925
59058
|
$ref: string;
|
|
@@ -88335,6 +88468,11 @@ declare const _default: {
|
|
|
88335
88468
|
'application/json': {
|
|
88336
88469
|
schema: {
|
|
88337
88470
|
properties: {
|
|
88471
|
+
name: {
|
|
88472
|
+
default: null;
|
|
88473
|
+
nullable: boolean;
|
|
88474
|
+
type: string;
|
|
88475
|
+
};
|
|
88338
88476
|
primary_color: {
|
|
88339
88477
|
type: string;
|
|
88340
88478
|
};
|
|
@@ -88369,6 +88507,10 @@ declare const _default: {
|
|
|
88369
88507
|
format: string;
|
|
88370
88508
|
type: string;
|
|
88371
88509
|
};
|
|
88510
|
+
name: {
|
|
88511
|
+
nullable: boolean;
|
|
88512
|
+
type: string;
|
|
88513
|
+
};
|
|
88372
88514
|
primary_color: {
|
|
88373
88515
|
type: string;
|
|
88374
88516
|
};
|
|
@@ -88451,6 +88593,10 @@ declare const _default: {
|
|
|
88451
88593
|
format: string;
|
|
88452
88594
|
type: string;
|
|
88453
88595
|
};
|
|
88596
|
+
name: {
|
|
88597
|
+
nullable: boolean;
|
|
88598
|
+
type: string;
|
|
88599
|
+
};
|
|
88454
88600
|
primary_color: {
|
|
88455
88601
|
type: string;
|
|
88456
88602
|
};
|
|
@@ -88538,6 +88684,10 @@ declare const _default: {
|
|
|
88538
88684
|
format: string;
|
|
88539
88685
|
type: string;
|
|
88540
88686
|
};
|
|
88687
|
+
name: {
|
|
88688
|
+
nullable: boolean;
|
|
88689
|
+
type: string;
|
|
88690
|
+
};
|
|
88541
88691
|
primary_color: {
|
|
88542
88692
|
type: string;
|
|
88543
88693
|
};
|
|
@@ -88612,6 +88762,10 @@ declare const _default: {
|
|
|
88612
88762
|
format: string;
|
|
88613
88763
|
type: string;
|
|
88614
88764
|
};
|
|
88765
|
+
name: {
|
|
88766
|
+
nullable: boolean;
|
|
88767
|
+
type: string;
|
|
88768
|
+
};
|
|
88615
88769
|
primary_color: {
|
|
88616
88770
|
type: string;
|
|
88617
88771
|
};
|
|
@@ -88686,6 +88840,10 @@ declare const _default: {
|
|
|
88686
88840
|
format: string;
|
|
88687
88841
|
type: string;
|
|
88688
88842
|
};
|
|
88843
|
+
name: {
|
|
88844
|
+
nullable: boolean;
|
|
88845
|
+
type: string;
|
|
88846
|
+
};
|
|
88689
88847
|
primary_color: {
|
|
88690
88848
|
type: string;
|
|
88691
88849
|
};
|
|
@@ -88749,6 +88907,10 @@ declare const _default: {
|
|
|
88749
88907
|
format: string;
|
|
88750
88908
|
type: string;
|
|
88751
88909
|
};
|
|
88910
|
+
name: {
|
|
88911
|
+
nullable: boolean;
|
|
88912
|
+
type: string;
|
|
88913
|
+
};
|
|
88752
88914
|
primary_color: {
|
|
88753
88915
|
type: string;
|
|
88754
88916
|
};
|
|
@@ -88809,6 +88971,10 @@ declare const _default: {
|
|
|
88809
88971
|
format: string;
|
|
88810
88972
|
type: string;
|
|
88811
88973
|
};
|
|
88974
|
+
name: {
|
|
88975
|
+
nullable: boolean;
|
|
88976
|
+
type: string;
|
|
88977
|
+
};
|
|
88812
88978
|
primary_color: {
|
|
88813
88979
|
type: string;
|
|
88814
88980
|
};
|
|
@@ -88920,6 +89086,12 @@ declare const _default: {
|
|
|
88920
89086
|
batch: {
|
|
88921
89087
|
description: string;
|
|
88922
89088
|
properties: {
|
|
89089
|
+
access_grants: {
|
|
89090
|
+
items: {
|
|
89091
|
+
$ref: string;
|
|
89092
|
+
};
|
|
89093
|
+
type: string;
|
|
89094
|
+
};
|
|
88923
89095
|
access_methods: {
|
|
88924
89096
|
items: {
|
|
88925
89097
|
$ref: string;
|
|
@@ -89086,6 +89258,12 @@ declare const _default: {
|
|
|
89086
89258
|
batch: {
|
|
89087
89259
|
description: string;
|
|
89088
89260
|
properties: {
|
|
89261
|
+
access_grants: {
|
|
89262
|
+
items: {
|
|
89263
|
+
$ref: string;
|
|
89264
|
+
};
|
|
89265
|
+
type: string;
|
|
89266
|
+
};
|
|
89089
89267
|
access_methods: {
|
|
89090
89268
|
items: {
|
|
89091
89269
|
$ref: string;
|
|
@@ -106681,6 +106859,48 @@ type Routes = {
|
|
|
106681
106859
|
/** The actual PIN code for code access methods. */
|
|
106682
106860
|
code?: string | undefined;
|
|
106683
106861
|
}[] | undefined;
|
|
106862
|
+
access_grants?: {
|
|
106863
|
+
/** ID of the Seam workspace associated with the Access Grant. */
|
|
106864
|
+
workspace_id: string;
|
|
106865
|
+
/** ID of the Access Grant. */
|
|
106866
|
+
access_grant_id: string;
|
|
106867
|
+
/** Unique key for the access grant within the workspace. */
|
|
106868
|
+
access_grant_key?: string | undefined;
|
|
106869
|
+
/** ID of user identity to which the Access Grant gives access. */
|
|
106870
|
+
user_identity_id: string;
|
|
106871
|
+
/**
|
|
106872
|
+
* @deprecated Use `space_ids`.*/
|
|
106873
|
+
location_ids: string[];
|
|
106874
|
+
/** IDs of the spaces to which the Access Grant gives access. */
|
|
106875
|
+
space_ids: string[];
|
|
106876
|
+
/** Access methods that the user requested for the Access Grant. */
|
|
106877
|
+
requested_access_methods: {
|
|
106878
|
+
/** Display name of the access method. */
|
|
106879
|
+
display_name: string;
|
|
106880
|
+
/** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
|
|
106881
|
+
mode: 'code' | 'card' | 'mobile_key';
|
|
106882
|
+
/** Date and time at which the requested access method was added to the Access Grant. */
|
|
106883
|
+
created_at: string;
|
|
106884
|
+
/** IDs of the access methods created for the requested access method. */
|
|
106885
|
+
created_access_method_ids: string[];
|
|
106886
|
+
}[];
|
|
106887
|
+
/** IDs of the access methods created for the Access Grant. */
|
|
106888
|
+
access_method_ids: string[];
|
|
106889
|
+
/** Client Session Token. Only returned if the Access Grant has a mobile_key access method. */
|
|
106890
|
+
client_session_token?: string | undefined;
|
|
106891
|
+
/** Name of the Access Grant. If not provided, the display name will be computed. */
|
|
106892
|
+
name: string | null;
|
|
106893
|
+
/** Display name of the Access Grant. */
|
|
106894
|
+
display_name: string;
|
|
106895
|
+
/** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */
|
|
106896
|
+
instant_key_url?: string | undefined;
|
|
106897
|
+
/** Date and time at which the Access Grant was created. */
|
|
106898
|
+
created_at: string;
|
|
106899
|
+
/** Date and time at which the Access Grant starts. */
|
|
106900
|
+
starts_at: string;
|
|
106901
|
+
/** Date and time at which the Access Grant ends. */
|
|
106902
|
+
ends_at: string | null;
|
|
106903
|
+
}[] | undefined;
|
|
106684
106904
|
};
|
|
106685
106905
|
};
|
|
106686
106906
|
};
|
|
@@ -165488,6 +165708,7 @@ type Routes = {
|
|
|
165488
165708
|
method: 'POST';
|
|
165489
165709
|
queryParams: {};
|
|
165490
165710
|
jsonBody: {
|
|
165711
|
+
name?: string | null;
|
|
165491
165712
|
primary_color: string;
|
|
165492
165713
|
secondary_color: string;
|
|
165493
165714
|
};
|
|
@@ -165496,8 +165717,9 @@ type Routes = {
|
|
|
165496
165717
|
jsonResponse: {
|
|
165497
165718
|
/** A customization profile. */
|
|
165498
165719
|
customization_profile: {
|
|
165499
|
-
customization_profile_id: string;
|
|
165500
165720
|
workspace_id: string;
|
|
165721
|
+
name: string | null;
|
|
165722
|
+
customization_profile_id: string;
|
|
165501
165723
|
created_at: string;
|
|
165502
165724
|
logo_url?: string | undefined;
|
|
165503
165725
|
primary_color?: string | undefined;
|
|
@@ -165517,8 +165739,9 @@ type Routes = {
|
|
|
165517
165739
|
jsonResponse: {
|
|
165518
165740
|
/** A customization profile. */
|
|
165519
165741
|
customization_profile: {
|
|
165520
|
-
customization_profile_id: string;
|
|
165521
165742
|
workspace_id: string;
|
|
165743
|
+
name: string | null;
|
|
165744
|
+
customization_profile_id: string;
|
|
165522
165745
|
created_at: string;
|
|
165523
165746
|
logo_url?: string | undefined;
|
|
165524
165747
|
primary_color?: string | undefined;
|
|
@@ -165535,8 +165758,9 @@ type Routes = {
|
|
|
165535
165758
|
formData: {};
|
|
165536
165759
|
jsonResponse: {
|
|
165537
165760
|
customization_profiles: {
|
|
165538
|
-
customization_profile_id: string;
|
|
165539
165761
|
workspace_id: string;
|
|
165762
|
+
name: string | null;
|
|
165763
|
+
customization_profile_id: string;
|
|
165540
165764
|
created_at: string;
|
|
165541
165765
|
logo_url?: string | undefined;
|
|
165542
165766
|
primary_color?: string | undefined;
|
|
@@ -165550,6 +165774,7 @@ type Routes = {
|
|
|
165550
165774
|
queryParams: {};
|
|
165551
165775
|
jsonBody: {
|
|
165552
165776
|
customization_profile_id: string;
|
|
165777
|
+
name?: (string | undefined) | null;
|
|
165553
165778
|
primary_color?: string | undefined;
|
|
165554
165779
|
secondary_color?: string | undefined;
|
|
165555
165780
|
};
|
|
@@ -169329,6 +169554,48 @@ type Routes = {
|
|
|
169329
169554
|
/** The actual PIN code for code access methods. */
|
|
169330
169555
|
code?: string | undefined;
|
|
169331
169556
|
}[] | undefined;
|
|
169557
|
+
access_grants?: {
|
|
169558
|
+
/** ID of the Seam workspace associated with the Access Grant. */
|
|
169559
|
+
workspace_id: string;
|
|
169560
|
+
/** ID of the Access Grant. */
|
|
169561
|
+
access_grant_id: string;
|
|
169562
|
+
/** Unique key for the access grant within the workspace. */
|
|
169563
|
+
access_grant_key?: string | undefined;
|
|
169564
|
+
/** ID of user identity to which the Access Grant gives access. */
|
|
169565
|
+
user_identity_id: string;
|
|
169566
|
+
/**
|
|
169567
|
+
* @deprecated Use `space_ids`.*/
|
|
169568
|
+
location_ids: string[];
|
|
169569
|
+
/** IDs of the spaces to which the Access Grant gives access. */
|
|
169570
|
+
space_ids: string[];
|
|
169571
|
+
/** Access methods that the user requested for the Access Grant. */
|
|
169572
|
+
requested_access_methods: {
|
|
169573
|
+
/** Display name of the access method. */
|
|
169574
|
+
display_name: string;
|
|
169575
|
+
/** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
|
|
169576
|
+
mode: 'code' | 'card' | 'mobile_key';
|
|
169577
|
+
/** Date and time at which the requested access method was added to the Access Grant. */
|
|
169578
|
+
created_at: string;
|
|
169579
|
+
/** IDs of the access methods created for the requested access method. */
|
|
169580
|
+
created_access_method_ids: string[];
|
|
169581
|
+
}[];
|
|
169582
|
+
/** IDs of the access methods created for the Access Grant. */
|
|
169583
|
+
access_method_ids: string[];
|
|
169584
|
+
/** Client Session Token. Only returned if the Access Grant has a mobile_key access method. */
|
|
169585
|
+
client_session_token?: string | undefined;
|
|
169586
|
+
/** Name of the Access Grant. If not provided, the display name will be computed. */
|
|
169587
|
+
name: string | null;
|
|
169588
|
+
/** Display name of the Access Grant. */
|
|
169589
|
+
display_name: string;
|
|
169590
|
+
/** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */
|
|
169591
|
+
instant_key_url?: string | undefined;
|
|
169592
|
+
/** Date and time at which the Access Grant was created. */
|
|
169593
|
+
created_at: string;
|
|
169594
|
+
/** Date and time at which the Access Grant starts. */
|
|
169595
|
+
starts_at: string;
|
|
169596
|
+
/** Date and time at which the Access Grant ends. */
|
|
169597
|
+
ends_at: string | null;
|
|
169598
|
+
}[] | undefined;
|
|
169332
169599
|
};
|
|
169333
169600
|
};
|
|
169334
169601
|
};
|