@seamapi/types 1.445.0 → 1.445.1
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 +65 -65
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +97 -97
- package/dist/index.cjs +65 -65
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-grants/access-grant.js +12 -12
- package/lib/seam/connect/models/access-grants/access-method.js +1 -1
- package/lib/seam/connect/models/access-grants/requested-access-method.js +1 -1
- package/lib/seam/connect/models/events/access-grants.js +6 -6
- package/lib/seam/connect/models/events/access-methods.js +1 -1
- package/lib/seam/connect/openapi.js +58 -58
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +97 -97
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-grants/access-grant.ts +12 -12
- package/src/lib/seam/connect/models/access-grants/access-method.ts +1 -1
- package/src/lib/seam/connect/models/access-grants/requested-access-method.ts +1 -1
- package/src/lib/seam/connect/models/events/access-grants.ts +6 -6
- package/src/lib/seam/connect/models/events/access-methods.ts +1 -1
- package/src/lib/seam/connect/openapi.ts +61 -58
- package/src/lib/seam/connect/route-types.ts +97 -97
package/dist/connect.d.cts
CHANGED
|
@@ -86721,41 +86721,41 @@ interface Routes {
|
|
|
86721
86721
|
};
|
|
86722
86722
|
formData: {};
|
|
86723
86723
|
jsonResponse: {
|
|
86724
|
-
/** Represents an
|
|
86724
|
+
/** 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. */
|
|
86725
86725
|
access_grant: {
|
|
86726
|
-
/** ID of the Seam workspace associated with the
|
|
86726
|
+
/** ID of the Seam workspace associated with the Access Grant. */
|
|
86727
86727
|
workspace_id: string;
|
|
86728
|
-
/** ID of the
|
|
86728
|
+
/** ID of the Access Grant. */
|
|
86729
86729
|
access_grant_id: string;
|
|
86730
|
-
/** ID of user identity to which the
|
|
86730
|
+
/** ID of user identity to which the Access Grant gives access. */
|
|
86731
86731
|
user_identity_id: string;
|
|
86732
86732
|
/**
|
|
86733
86733
|
* @deprecated Use `space_ids`. */
|
|
86734
86734
|
location_ids: string[];
|
|
86735
|
-
/** IDs of the spaces to which the
|
|
86735
|
+
/** IDs of the spaces to which the Access Grant gives access. */
|
|
86736
86736
|
space_ids: string[];
|
|
86737
|
-
/** Access methods that the user requested for the
|
|
86737
|
+
/** Access methods that the user requested for the Access Grant. */
|
|
86738
86738
|
requested_access_methods: Array<{
|
|
86739
86739
|
/** Display name of the access method. */
|
|
86740
86740
|
display_name: string;
|
|
86741
86741
|
/** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
|
|
86742
86742
|
mode: 'code' | 'card' | 'mobile_key';
|
|
86743
|
-
/** Date and time at which the requested access method was added to the
|
|
86743
|
+
/** Date and time at which the requested access method was added to the Access Grant. */
|
|
86744
86744
|
created_at: string;
|
|
86745
86745
|
/** IDs of the access methods created for the requested access method. */
|
|
86746
86746
|
created_access_method_ids: string[];
|
|
86747
86747
|
}>;
|
|
86748
|
-
/** IDs of the access methods created for the
|
|
86748
|
+
/** IDs of the access methods created for the Access Grant. */
|
|
86749
86749
|
access_method_ids: string[];
|
|
86750
|
-
/** Display name of the
|
|
86750
|
+
/** Display name of the Access Grant. */
|
|
86751
86751
|
display_name: string;
|
|
86752
|
-
/** Instant Key URL. Only returned if the
|
|
86752
|
+
/** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */
|
|
86753
86753
|
instant_key_url?: string | undefined;
|
|
86754
|
-
/** Date and time at which the
|
|
86754
|
+
/** Date and time at which the Access Grant was created. */
|
|
86755
86755
|
created_at: string;
|
|
86756
|
-
/** Date and time at which the
|
|
86756
|
+
/** Date and time at which the Access Grant starts. */
|
|
86757
86757
|
starts_at?: string | undefined;
|
|
86758
|
-
/** Date and time at which the
|
|
86758
|
+
/** Date and time at which the Access Grant ends. */
|
|
86759
86759
|
ends_at?: string | undefined;
|
|
86760
86760
|
};
|
|
86761
86761
|
};
|
|
@@ -86766,7 +86766,7 @@ interface Routes {
|
|
|
86766
86766
|
queryParams: {};
|
|
86767
86767
|
jsonBody: {};
|
|
86768
86768
|
commonParams: {
|
|
86769
|
-
/** ID of
|
|
86769
|
+
/** ID of Access Grant to delete. */
|
|
86770
86770
|
access_grant_id: string;
|
|
86771
86771
|
};
|
|
86772
86772
|
formData: {};
|
|
@@ -86778,46 +86778,46 @@ interface Routes {
|
|
|
86778
86778
|
queryParams: {};
|
|
86779
86779
|
jsonBody: {};
|
|
86780
86780
|
commonParams: {
|
|
86781
|
-
/** ID of
|
|
86781
|
+
/** ID of Access Grant to get. */
|
|
86782
86782
|
access_grant_id: string;
|
|
86783
86783
|
};
|
|
86784
86784
|
formData: {};
|
|
86785
86785
|
jsonResponse: {
|
|
86786
|
-
/** Represents an
|
|
86786
|
+
/** 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. */
|
|
86787
86787
|
access_grant: {
|
|
86788
|
-
/** ID of the Seam workspace associated with the
|
|
86788
|
+
/** ID of the Seam workspace associated with the Access Grant. */
|
|
86789
86789
|
workspace_id: string;
|
|
86790
|
-
/** ID of the
|
|
86790
|
+
/** ID of the Access Grant. */
|
|
86791
86791
|
access_grant_id: string;
|
|
86792
|
-
/** ID of user identity to which the
|
|
86792
|
+
/** ID of user identity to which the Access Grant gives access. */
|
|
86793
86793
|
user_identity_id: string;
|
|
86794
86794
|
/**
|
|
86795
86795
|
* @deprecated Use `space_ids`. */
|
|
86796
86796
|
location_ids: string[];
|
|
86797
|
-
/** IDs of the spaces to which the
|
|
86797
|
+
/** IDs of the spaces to which the Access Grant gives access. */
|
|
86798
86798
|
space_ids: string[];
|
|
86799
|
-
/** Access methods that the user requested for the
|
|
86799
|
+
/** Access methods that the user requested for the Access Grant. */
|
|
86800
86800
|
requested_access_methods: Array<{
|
|
86801
86801
|
/** Display name of the access method. */
|
|
86802
86802
|
display_name: string;
|
|
86803
86803
|
/** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
|
|
86804
86804
|
mode: 'code' | 'card' | 'mobile_key';
|
|
86805
|
-
/** Date and time at which the requested access method was added to the
|
|
86805
|
+
/** Date and time at which the requested access method was added to the Access Grant. */
|
|
86806
86806
|
created_at: string;
|
|
86807
86807
|
/** IDs of the access methods created for the requested access method. */
|
|
86808
86808
|
created_access_method_ids: string[];
|
|
86809
86809
|
}>;
|
|
86810
|
-
/** IDs of the access methods created for the
|
|
86810
|
+
/** IDs of the access methods created for the Access Grant. */
|
|
86811
86811
|
access_method_ids: string[];
|
|
86812
|
-
/** Display name of the
|
|
86812
|
+
/** Display name of the Access Grant. */
|
|
86813
86813
|
display_name: string;
|
|
86814
|
-
/** Instant Key URL. Only returned if the
|
|
86814
|
+
/** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */
|
|
86815
86815
|
instant_key_url?: string | undefined;
|
|
86816
|
-
/** Date and time at which the
|
|
86816
|
+
/** Date and time at which the Access Grant was created. */
|
|
86817
86817
|
created_at: string;
|
|
86818
|
-
/** Date and time at which the
|
|
86818
|
+
/** Date and time at which the Access Grant starts. */
|
|
86819
86819
|
starts_at?: string | undefined;
|
|
86820
|
-
/** Date and time at which the
|
|
86820
|
+
/** Date and time at which the Access Grant ends. */
|
|
86821
86821
|
ends_at?: string | undefined;
|
|
86822
86822
|
};
|
|
86823
86823
|
};
|
|
@@ -86828,54 +86828,54 @@ interface Routes {
|
|
|
86828
86828
|
queryParams: {};
|
|
86829
86829
|
jsonBody: {};
|
|
86830
86830
|
commonParams: {
|
|
86831
|
-
/** ID of user identity to filter list of
|
|
86831
|
+
/** ID of user identity by which you want to filter the list of Access Grants. */
|
|
86832
86832
|
user_identity_id?: string | undefined;
|
|
86833
|
-
/** ID of system to filter list of
|
|
86833
|
+
/** ID of the access system by which you want to filter the list of Access Grants. */
|
|
86834
86834
|
acs_system_id?: string | undefined;
|
|
86835
|
-
/** ID of entrance to filter list of
|
|
86835
|
+
/** ID of the entrance by which you want to filter the list of Access Grants. */
|
|
86836
86836
|
acs_entrance_id?: string | undefined;
|
|
86837
86837
|
/**
|
|
86838
86838
|
* @deprecated Use `space_id`. */
|
|
86839
86839
|
location_id?: string | undefined;
|
|
86840
|
-
/** ID of space to filter list of
|
|
86840
|
+
/** ID of the space by which you want to filter the list of Access Grants. */
|
|
86841
86841
|
space_id?: string | undefined;
|
|
86842
86842
|
};
|
|
86843
86843
|
formData: {};
|
|
86844
86844
|
jsonResponse: {
|
|
86845
86845
|
access_grants: Array<{
|
|
86846
|
-
/** ID of the Seam workspace associated with the
|
|
86846
|
+
/** ID of the Seam workspace associated with the Access Grant. */
|
|
86847
86847
|
workspace_id: string;
|
|
86848
|
-
/** ID of the
|
|
86848
|
+
/** ID of the Access Grant. */
|
|
86849
86849
|
access_grant_id: string;
|
|
86850
|
-
/** ID of user identity to which the
|
|
86850
|
+
/** ID of user identity to which the Access Grant gives access. */
|
|
86851
86851
|
user_identity_id: string;
|
|
86852
86852
|
/**
|
|
86853
86853
|
* @deprecated Use `space_ids`. */
|
|
86854
86854
|
location_ids: string[];
|
|
86855
|
-
/** IDs of the spaces to which the
|
|
86855
|
+
/** IDs of the spaces to which the Access Grant gives access. */
|
|
86856
86856
|
space_ids: string[];
|
|
86857
|
-
/** Access methods that the user requested for the
|
|
86857
|
+
/** Access methods that the user requested for the Access Grant. */
|
|
86858
86858
|
requested_access_methods: Array<{
|
|
86859
86859
|
/** Display name of the access method. */
|
|
86860
86860
|
display_name: string;
|
|
86861
86861
|
/** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
|
|
86862
86862
|
mode: 'code' | 'card' | 'mobile_key';
|
|
86863
|
-
/** Date and time at which the requested access method was added to the
|
|
86863
|
+
/** Date and time at which the requested access method was added to the Access Grant. */
|
|
86864
86864
|
created_at: string;
|
|
86865
86865
|
/** IDs of the access methods created for the requested access method. */
|
|
86866
86866
|
created_access_method_ids: string[];
|
|
86867
86867
|
}>;
|
|
86868
|
-
/** IDs of the access methods created for the
|
|
86868
|
+
/** IDs of the access methods created for the Access Grant. */
|
|
86869
86869
|
access_method_ids: string[];
|
|
86870
|
-
/** Display name of the
|
|
86870
|
+
/** Display name of the Access Grant. */
|
|
86871
86871
|
display_name: string;
|
|
86872
|
-
/** Instant Key URL. Only returned if the
|
|
86872
|
+
/** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */
|
|
86873
86873
|
instant_key_url?: string | undefined;
|
|
86874
|
-
/** Date and time at which the
|
|
86874
|
+
/** Date and time at which the Access Grant was created. */
|
|
86875
86875
|
created_at: string;
|
|
86876
|
-
/** Date and time at which the
|
|
86876
|
+
/** Date and time at which the Access Grant starts. */
|
|
86877
86877
|
starts_at?: string | undefined;
|
|
86878
|
-
/** Date and time at which the
|
|
86878
|
+
/** Date and time at which the Access Grant ends. */
|
|
86879
86879
|
ends_at?: string | undefined;
|
|
86880
86880
|
}>;
|
|
86881
86881
|
};
|
|
@@ -86886,7 +86886,7 @@ interface Routes {
|
|
|
86886
86886
|
queryParams: {};
|
|
86887
86887
|
jsonBody: {};
|
|
86888
86888
|
commonParams: {
|
|
86889
|
-
/** ID of the
|
|
86889
|
+
/** ID of the Access Grant to update. */
|
|
86890
86890
|
access_grant_id: string;
|
|
86891
86891
|
/** Date and time at which the validity of the grant starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
86892
86892
|
starts_at?: (string | null) | undefined;
|
|
@@ -86914,7 +86914,7 @@ interface Routes {
|
|
|
86914
86914
|
queryParams: {};
|
|
86915
86915
|
jsonBody: {};
|
|
86916
86916
|
commonParams: {
|
|
86917
|
-
/** ID of the `acs_encoder` to use to encode the `
|
|
86917
|
+
/** ID of the `acs_encoder` to use to encode the `access_method`. */
|
|
86918
86918
|
acs_encoder_id: string;
|
|
86919
86919
|
/** ID of the `access_method` to encode onto a card. */
|
|
86920
86920
|
access_method_id: string;
|
|
@@ -88179,7 +88179,7 @@ interface Routes {
|
|
|
88179
88179
|
};
|
|
88180
88180
|
formData: {};
|
|
88181
88181
|
jsonResponse: {
|
|
88182
|
-
/** Represents an access method for an
|
|
88182
|
+
/** Represents an access method for an Access Grant. Access methods describe the modes of access, such as PIN codes, plastic cards, and mobile keys. For a mobile key, the access method also stores the URL for the associated Instant Key. */
|
|
88183
88183
|
access_method: {
|
|
88184
88184
|
/** ID of the Seam workspace associated with the access method. */
|
|
88185
88185
|
workspace_id: string;
|
|
@@ -88208,7 +88208,7 @@ interface Routes {
|
|
|
88208
88208
|
queryParams: {};
|
|
88209
88209
|
jsonBody: {};
|
|
88210
88210
|
commonParams: {
|
|
88211
|
-
/** ID of
|
|
88211
|
+
/** ID of Access Grant to list access methods for. */
|
|
88212
88212
|
access_grant_id: string;
|
|
88213
88213
|
/** ID of the device for which you want to retrieve all access methods. */
|
|
88214
88214
|
device_id?: string | undefined;
|
|
@@ -103153,7 +103153,7 @@ interface Routes {
|
|
|
103153
103153
|
created_at: string;
|
|
103154
103154
|
/** Date and time at which the event occurred. */
|
|
103155
103155
|
occurred_at: string;
|
|
103156
|
-
/** ID of the affected
|
|
103156
|
+
/** ID of the affected Access Grant. */
|
|
103157
103157
|
access_grant_id: string;
|
|
103158
103158
|
event_type: 'access_grant.created';
|
|
103159
103159
|
} | {
|
|
@@ -103165,7 +103165,7 @@ interface Routes {
|
|
|
103165
103165
|
created_at: string;
|
|
103166
103166
|
/** Date and time at which the event occurred. */
|
|
103167
103167
|
occurred_at: string;
|
|
103168
|
-
/** ID of the affected
|
|
103168
|
+
/** ID of the affected Access Grant. */
|
|
103169
103169
|
access_grant_id: string;
|
|
103170
103170
|
event_type: 'access_grant.deleted';
|
|
103171
103171
|
} | {
|
|
@@ -103177,7 +103177,7 @@ interface Routes {
|
|
|
103177
103177
|
created_at: string;
|
|
103178
103178
|
/** Date and time at which the event occurred. */
|
|
103179
103179
|
occurred_at: string;
|
|
103180
|
-
/** ID of the affected
|
|
103180
|
+
/** ID of the affected Access Grant. */
|
|
103181
103181
|
access_grant_id: string;
|
|
103182
103182
|
event_type: 'access_grant.access_granted_to_all_doors';
|
|
103183
103183
|
} | {
|
|
@@ -103189,7 +103189,7 @@ interface Routes {
|
|
|
103189
103189
|
created_at: string;
|
|
103190
103190
|
/** Date and time at which the event occurred. */
|
|
103191
103191
|
occurred_at: string;
|
|
103192
|
-
/** ID of the affected
|
|
103192
|
+
/** ID of the affected Access Grant. */
|
|
103193
103193
|
access_grant_id: string;
|
|
103194
103194
|
event_type: 'access_grant.access_granted_to_door';
|
|
103195
103195
|
/** ID of the affected [entrance](https://docs.seam.co/latest/capability-guides/retrieving-entrance-details). */
|
|
@@ -103203,7 +103203,7 @@ interface Routes {
|
|
|
103203
103203
|
created_at: string;
|
|
103204
103204
|
/** Date and time at which the event occurred. */
|
|
103205
103205
|
occurred_at: string;
|
|
103206
|
-
/** ID of the affected
|
|
103206
|
+
/** ID of the affected Access Grant. */
|
|
103207
103207
|
access_grant_id: string;
|
|
103208
103208
|
event_type: 'access_grant.access_to_door_lost';
|
|
103209
103209
|
/** ID of the affected [entrance](https://docs.seam.co/latest/capability-guides/retrieving-entrance-details). */
|
|
@@ -104805,7 +104805,7 @@ interface Routes {
|
|
|
104805
104805
|
created_at: string;
|
|
104806
104806
|
/** Date and time at which the event occurred. */
|
|
104807
104807
|
occurred_at: string;
|
|
104808
|
-
/** ID of the affected
|
|
104808
|
+
/** ID of the affected Access Grant. */
|
|
104809
104809
|
access_grant_id: string;
|
|
104810
104810
|
event_type: 'access_grant.created';
|
|
104811
104811
|
} | {
|
|
@@ -104817,7 +104817,7 @@ interface Routes {
|
|
|
104817
104817
|
created_at: string;
|
|
104818
104818
|
/** Date and time at which the event occurred. */
|
|
104819
104819
|
occurred_at: string;
|
|
104820
|
-
/** ID of the affected
|
|
104820
|
+
/** ID of the affected Access Grant. */
|
|
104821
104821
|
access_grant_id: string;
|
|
104822
104822
|
event_type: 'access_grant.deleted';
|
|
104823
104823
|
} | {
|
|
@@ -104829,7 +104829,7 @@ interface Routes {
|
|
|
104829
104829
|
created_at: string;
|
|
104830
104830
|
/** Date and time at which the event occurred. */
|
|
104831
104831
|
occurred_at: string;
|
|
104832
|
-
/** ID of the affected
|
|
104832
|
+
/** ID of the affected Access Grant. */
|
|
104833
104833
|
access_grant_id: string;
|
|
104834
104834
|
event_type: 'access_grant.access_granted_to_all_doors';
|
|
104835
104835
|
} | {
|
|
@@ -104841,7 +104841,7 @@ interface Routes {
|
|
|
104841
104841
|
created_at: string;
|
|
104842
104842
|
/** Date and time at which the event occurred. */
|
|
104843
104843
|
occurred_at: string;
|
|
104844
|
-
/** ID of the affected
|
|
104844
|
+
/** ID of the affected Access Grant. */
|
|
104845
104845
|
access_grant_id: string;
|
|
104846
104846
|
event_type: 'access_grant.access_granted_to_door';
|
|
104847
104847
|
/** ID of the affected [entrance](https://docs.seam.co/latest/capability-guides/retrieving-entrance-details). */
|
|
@@ -104855,7 +104855,7 @@ interface Routes {
|
|
|
104855
104855
|
created_at: string;
|
|
104856
104856
|
/** Date and time at which the event occurred. */
|
|
104857
104857
|
occurred_at: string;
|
|
104858
|
-
/** ID of the affected
|
|
104858
|
+
/** ID of the affected Access Grant. */
|
|
104859
104859
|
access_grant_id: string;
|
|
104860
104860
|
event_type: 'access_grant.access_to_door_lost';
|
|
104861
104861
|
/** ID of the affected [entrance](https://docs.seam.co/latest/capability-guides/retrieving-entrance-details). */
|
|
@@ -140214,41 +140214,41 @@ interface Routes {
|
|
|
140214
140214
|
};
|
|
140215
140215
|
formData: {};
|
|
140216
140216
|
jsonResponse: {
|
|
140217
|
-
/** Represents an
|
|
140217
|
+
/** 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. */
|
|
140218
140218
|
access_grant: {
|
|
140219
|
-
/** ID of the Seam workspace associated with the
|
|
140219
|
+
/** ID of the Seam workspace associated with the Access Grant. */
|
|
140220
140220
|
workspace_id: string;
|
|
140221
|
-
/** ID of the
|
|
140221
|
+
/** ID of the Access Grant. */
|
|
140222
140222
|
access_grant_id: string;
|
|
140223
|
-
/** ID of user identity to which the
|
|
140223
|
+
/** ID of user identity to which the Access Grant gives access. */
|
|
140224
140224
|
user_identity_id: string;
|
|
140225
140225
|
/**
|
|
140226
140226
|
* @deprecated Use `space_ids`. */
|
|
140227
140227
|
location_ids: string[];
|
|
140228
|
-
/** IDs of the spaces to which the
|
|
140228
|
+
/** IDs of the spaces to which the Access Grant gives access. */
|
|
140229
140229
|
space_ids: string[];
|
|
140230
|
-
/** Access methods that the user requested for the
|
|
140230
|
+
/** Access methods that the user requested for the Access Grant. */
|
|
140231
140231
|
requested_access_methods: Array<{
|
|
140232
140232
|
/** Display name of the access method. */
|
|
140233
140233
|
display_name: string;
|
|
140234
140234
|
/** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
|
|
140235
140235
|
mode: 'code' | 'card' | 'mobile_key';
|
|
140236
|
-
/** Date and time at which the requested access method was added to the
|
|
140236
|
+
/** Date and time at which the requested access method was added to the Access Grant. */
|
|
140237
140237
|
created_at: string;
|
|
140238
140238
|
/** IDs of the access methods created for the requested access method. */
|
|
140239
140239
|
created_access_method_ids: string[];
|
|
140240
140240
|
}>;
|
|
140241
|
-
/** IDs of the access methods created for the
|
|
140241
|
+
/** IDs of the access methods created for the Access Grant. */
|
|
140242
140242
|
access_method_ids: string[];
|
|
140243
|
-
/** Display name of the
|
|
140243
|
+
/** Display name of the Access Grant. */
|
|
140244
140244
|
display_name: string;
|
|
140245
|
-
/** Instant Key URL. Only returned if the
|
|
140245
|
+
/** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */
|
|
140246
140246
|
instant_key_url?: string | undefined;
|
|
140247
|
-
/** Date and time at which the
|
|
140247
|
+
/** Date and time at which the Access Grant was created. */
|
|
140248
140248
|
created_at: string;
|
|
140249
|
-
/** Date and time at which the
|
|
140249
|
+
/** Date and time at which the Access Grant starts. */
|
|
140250
140250
|
starts_at?: string | undefined;
|
|
140251
|
-
/** Date and time at which the
|
|
140251
|
+
/** Date and time at which the Access Grant ends. */
|
|
140252
140252
|
ends_at?: string | undefined;
|
|
140253
140253
|
};
|
|
140254
140254
|
};
|
|
@@ -140276,41 +140276,41 @@ interface Routes {
|
|
|
140276
140276
|
};
|
|
140277
140277
|
formData: {};
|
|
140278
140278
|
jsonResponse: {
|
|
140279
|
-
/** Represents an
|
|
140279
|
+
/** 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. */
|
|
140280
140280
|
access_grant: {
|
|
140281
|
-
/** ID of the Seam workspace associated with the
|
|
140281
|
+
/** ID of the Seam workspace associated with the Access Grant. */
|
|
140282
140282
|
workspace_id: string;
|
|
140283
|
-
/** ID of the
|
|
140283
|
+
/** ID of the Access Grant. */
|
|
140284
140284
|
access_grant_id: string;
|
|
140285
|
-
/** ID of user identity to which the
|
|
140285
|
+
/** ID of user identity to which the Access Grant gives access. */
|
|
140286
140286
|
user_identity_id: string;
|
|
140287
140287
|
/**
|
|
140288
140288
|
* @deprecated Use `space_ids`. */
|
|
140289
140289
|
location_ids: string[];
|
|
140290
|
-
/** IDs of the spaces to which the
|
|
140290
|
+
/** IDs of the spaces to which the Access Grant gives access. */
|
|
140291
140291
|
space_ids: string[];
|
|
140292
|
-
/** Access methods that the user requested for the
|
|
140292
|
+
/** Access methods that the user requested for the Access Grant. */
|
|
140293
140293
|
requested_access_methods: Array<{
|
|
140294
140294
|
/** Display name of the access method. */
|
|
140295
140295
|
display_name: string;
|
|
140296
140296
|
/** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
|
|
140297
140297
|
mode: 'code' | 'card' | 'mobile_key';
|
|
140298
|
-
/** Date and time at which the requested access method was added to the
|
|
140298
|
+
/** Date and time at which the requested access method was added to the Access Grant. */
|
|
140299
140299
|
created_at: string;
|
|
140300
140300
|
/** IDs of the access methods created for the requested access method. */
|
|
140301
140301
|
created_access_method_ids: string[];
|
|
140302
140302
|
}>;
|
|
140303
|
-
/** IDs of the access methods created for the
|
|
140303
|
+
/** IDs of the access methods created for the Access Grant. */
|
|
140304
140304
|
access_method_ids: string[];
|
|
140305
|
-
/** Display name of the
|
|
140305
|
+
/** Display name of the Access Grant. */
|
|
140306
140306
|
display_name: string;
|
|
140307
|
-
/** Instant Key URL. Only returned if the
|
|
140307
|
+
/** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */
|
|
140308
140308
|
instant_key_url?: string | undefined;
|
|
140309
|
-
/** Date and time at which the
|
|
140309
|
+
/** Date and time at which the Access Grant was created. */
|
|
140310
140310
|
created_at: string;
|
|
140311
|
-
/** Date and time at which the
|
|
140311
|
+
/** Date and time at which the Access Grant starts. */
|
|
140312
140312
|
starts_at?: string | undefined;
|
|
140313
|
-
/** Date and time at which the
|
|
140313
|
+
/** Date and time at which the Access Grant ends. */
|
|
140314
140314
|
ends_at?: string | undefined;
|
|
140315
140315
|
};
|
|
140316
140316
|
};
|
|
@@ -140336,39 +140336,39 @@ interface Routes {
|
|
|
140336
140336
|
formData: {};
|
|
140337
140337
|
jsonResponse: {
|
|
140338
140338
|
access_grants: Array<{
|
|
140339
|
-
/** ID of the Seam workspace associated with the
|
|
140339
|
+
/** ID of the Seam workspace associated with the Access Grant. */
|
|
140340
140340
|
workspace_id: string;
|
|
140341
|
-
/** ID of the
|
|
140341
|
+
/** ID of the Access Grant. */
|
|
140342
140342
|
access_grant_id: string;
|
|
140343
|
-
/** ID of user identity to which the
|
|
140343
|
+
/** ID of user identity to which the Access Grant gives access. */
|
|
140344
140344
|
user_identity_id: string;
|
|
140345
140345
|
/**
|
|
140346
140346
|
* @deprecated Use `space_ids`. */
|
|
140347
140347
|
location_ids: string[];
|
|
140348
|
-
/** IDs of the spaces to which the
|
|
140348
|
+
/** IDs of the spaces to which the Access Grant gives access. */
|
|
140349
140349
|
space_ids: string[];
|
|
140350
|
-
/** Access methods that the user requested for the
|
|
140350
|
+
/** Access methods that the user requested for the Access Grant. */
|
|
140351
140351
|
requested_access_methods: Array<{
|
|
140352
140352
|
/** Display name of the access method. */
|
|
140353
140353
|
display_name: string;
|
|
140354
140354
|
/** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
|
|
140355
140355
|
mode: 'code' | 'card' | 'mobile_key';
|
|
140356
|
-
/** Date and time at which the requested access method was added to the
|
|
140356
|
+
/** Date and time at which the requested access method was added to the Access Grant. */
|
|
140357
140357
|
created_at: string;
|
|
140358
140358
|
/** IDs of the access methods created for the requested access method. */
|
|
140359
140359
|
created_access_method_ids: string[];
|
|
140360
140360
|
}>;
|
|
140361
|
-
/** IDs of the access methods created for the
|
|
140361
|
+
/** IDs of the access methods created for the Access Grant. */
|
|
140362
140362
|
access_method_ids: string[];
|
|
140363
|
-
/** Display name of the
|
|
140363
|
+
/** Display name of the Access Grant. */
|
|
140364
140364
|
display_name: string;
|
|
140365
|
-
/** Instant Key URL. Only returned if the
|
|
140365
|
+
/** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */
|
|
140366
140366
|
instant_key_url?: string | undefined;
|
|
140367
|
-
/** Date and time at which the
|
|
140367
|
+
/** Date and time at which the Access Grant was created. */
|
|
140368
140368
|
created_at: string;
|
|
140369
|
-
/** Date and time at which the
|
|
140369
|
+
/** Date and time at which the Access Grant starts. */
|
|
140370
140370
|
starts_at?: string | undefined;
|
|
140371
|
-
/** Date and time at which the
|
|
140371
|
+
/** Date and time at which the Access Grant ends. */
|
|
140372
140372
|
ends_at?: string | undefined;
|
|
140373
140373
|
}>;
|
|
140374
140374
|
};
|
|
@@ -140396,7 +140396,7 @@ interface Routes {
|
|
|
140396
140396
|
};
|
|
140397
140397
|
formData: {};
|
|
140398
140398
|
jsonResponse: {
|
|
140399
|
-
/** Represents an access method for an
|
|
140399
|
+
/** Represents an access method for an Access Grant. Access methods describe the modes of access, such as PIN codes, plastic cards, and mobile keys. For a mobile key, the access method also stores the URL for the associated Instant Key. */
|
|
140400
140400
|
access_method: {
|
|
140401
140401
|
/** ID of the Seam workspace associated with the access method. */
|
|
140402
140402
|
workspace_id: string;
|