@seamapi/types 1.887.0 → 1.889.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 +71 -11
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +176 -10
- package/dist/index.cjs +71 -11
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-codes/managed-access-code.js +2 -0
- package/lib/seam/connect/models/access-codes/managed-access-code.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-credential.js +2 -0
- package/lib/seam/connect/models/acs/acs-credential.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-system.d.ts +45 -0
- package/lib/seam/connect/models/acs/acs-system.js +9 -0
- package/lib/seam/connect/models/acs/acs-system.js.map +1 -1
- package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +58 -0
- package/lib/seam/connect/models/connected-accounts/connected-account.js +9 -0
- package/lib/seam/connect/models/connected-accounts/connected-account.js.map +1 -1
- package/lib/seam/connect/openapi.js +49 -7
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +121 -10
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +2 -0
- package/src/lib/seam/connect/models/acs/acs-credential.ts +2 -0
- package/src/lib/seam/connect/models/acs/acs-system.ts +12 -0
- package/src/lib/seam/connect/models/connected-accounts/connected-account.ts +12 -0
- package/src/lib/seam/connect/openapi.ts +57 -7
- package/src/lib/seam/connect/route-types.ts +134 -10
|
@@ -1711,7 +1711,9 @@ export type Routes = {
|
|
|
1711
1711
|
|
|
1712
1712
|
Seam supports programming two types of access codes: [ongoing](https://docs.seam.co/low-level-apis/smart-locks/access-codes#ongoing-access-codes) and [time-bound](https://docs.seam.co/low-level-apis/smart-locks/access-codes#time-bound-access-codes). To differentiate between the two, refer to the `type` property of the access code. Ongoing codes display as `ongoing`, whereas time-bound codes are labeled `time_bound`. An ongoing access code is active, until it has been removed from the device. To specify an ongoing access code, leave both `starts_at` and `ends_at` empty. A time-bound access code will be programmed at the `starts_at` time and removed at the `ends_at` time.
|
|
1713
1713
|
|
|
1714
|
-
In addition, for certain devices, Seam also supports [offline access codes](https://docs.seam.co/low-level-apis/smart-locks/access-codes#offline-access-codes). Offline access (PIN) codes are designed for door locks that might not always maintain an internet connection. For this type of access code, the device manufacturer uses encryption keys (tokens) to create server-based registries of algorithmically-generated offline PIN codes. Because the tokens remain synchronized with the managed devices, the locks do not require an active internet connection—and you do not need to be near the locks—to create an offline access code. Then, owners or managers can share these offline codes with users through a variety of mechanisms, such as messaging applications. That is, lock users do not need to install a smartphone application to receive an offline access code.
|
|
1714
|
+
In addition, for certain devices, Seam also supports [offline access codes](https://docs.seam.co/low-level-apis/smart-locks/access-codes#offline-access-codes). Offline access (PIN) codes are designed for door locks that might not always maintain an internet connection. For this type of access code, the device manufacturer uses encryption keys (tokens) to create server-based registries of algorithmically-generated offline PIN codes. Because the tokens remain synchronized with the managed devices, the locks do not require an active internet connection—and you do not need to be near the locks—to create an offline access code. Then, owners or managers can share these offline codes with users through a variety of mechanisms, such as messaging applications. That is, lock users do not need to install a smartphone application to receive an offline access code.
|
|
1715
|
+
|
|
1716
|
+
For granting a person access to a space, [Access Grants](https://docs.seam.co/use-cases/granting-access) are the default and recommended approach and work across both standalone smart locks and access systems. Use the lower-level Access Codes API directly only when you specifically need to manage individual PIN codes. */
|
|
1715
1717
|
access_code: {
|
|
1716
1718
|
/** Unique identifier for the Seam workspace associated with the access code. */
|
|
1717
1719
|
workspace_id: string;
|
|
@@ -4746,7 +4748,9 @@ export type Routes = {
|
|
|
4746
4748
|
|
|
4747
4749
|
Seam supports programming two types of access codes: [ongoing](https://docs.seam.co/low-level-apis/smart-locks/access-codes#ongoing-access-codes) and [time-bound](https://docs.seam.co/low-level-apis/smart-locks/access-codes#time-bound-access-codes). To differentiate between the two, refer to the `type` property of the access code. Ongoing codes display as `ongoing`, whereas time-bound codes are labeled `time_bound`. An ongoing access code is active, until it has been removed from the device. To specify an ongoing access code, leave both `starts_at` and `ends_at` empty. A time-bound access code will be programmed at the `starts_at` time and removed at the `ends_at` time.
|
|
4748
4750
|
|
|
4749
|
-
In addition, for certain devices, Seam also supports [offline access codes](https://docs.seam.co/low-level-apis/smart-locks/access-codes#offline-access-codes). Offline access (PIN) codes are designed for door locks that might not always maintain an internet connection. For this type of access code, the device manufacturer uses encryption keys (tokens) to create server-based registries of algorithmically-generated offline PIN codes. Because the tokens remain synchronized with the managed devices, the locks do not require an active internet connection—and you do not need to be near the locks—to create an offline access code. Then, owners or managers can share these offline codes with users through a variety of mechanisms, such as messaging applications. That is, lock users do not need to install a smartphone application to receive an offline access code.
|
|
4751
|
+
In addition, for certain devices, Seam also supports [offline access codes](https://docs.seam.co/low-level-apis/smart-locks/access-codes#offline-access-codes). Offline access (PIN) codes are designed for door locks that might not always maintain an internet connection. For this type of access code, the device manufacturer uses encryption keys (tokens) to create server-based registries of algorithmically-generated offline PIN codes. Because the tokens remain synchronized with the managed devices, the locks do not require an active internet connection—and you do not need to be near the locks—to create an offline access code. Then, owners or managers can share these offline codes with users through a variety of mechanisms, such as messaging applications. That is, lock users do not need to install a smartphone application to receive an offline access code.
|
|
4752
|
+
|
|
4753
|
+
For granting a person access to a space, [Access Grants](https://docs.seam.co/use-cases/granting-access) are the default and recommended approach and work across both standalone smart locks and access systems. Use the lower-level Access Codes API directly only when you specifically need to manage individual PIN codes. */
|
|
4750
4754
|
access_code: {
|
|
4751
4755
|
/** Unique identifier for the Seam workspace associated with the access code. */
|
|
4752
4756
|
workspace_id: string;
|
|
@@ -6139,7 +6143,9 @@ export type Routes = {
|
|
|
6139
6143
|
|
|
6140
6144
|
Seam supports programming two types of access codes: [ongoing](https://docs.seam.co/low-level-apis/smart-locks/access-codes#ongoing-access-codes) and [time-bound](https://docs.seam.co/low-level-apis/smart-locks/access-codes#time-bound-access-codes). To differentiate between the two, refer to the `type` property of the access code. Ongoing codes display as `ongoing`, whereas time-bound codes are labeled `time_bound`. An ongoing access code is active, until it has been removed from the device. To specify an ongoing access code, leave both `starts_at` and `ends_at` empty. A time-bound access code will be programmed at the `starts_at` time and removed at the `ends_at` time.
|
|
6141
6145
|
|
|
6142
|
-
In addition, for certain devices, Seam also supports [offline access codes](https://docs.seam.co/low-level-apis/smart-locks/access-codes#offline-access-codes). Offline access (PIN) codes are designed for door locks that might not always maintain an internet connection. For this type of access code, the device manufacturer uses encryption keys (tokens) to create server-based registries of algorithmically-generated offline PIN codes. Because the tokens remain synchronized with the managed devices, the locks do not require an active internet connection—and you do not need to be near the locks—to create an offline access code. Then, owners or managers can share these offline codes with users through a variety of mechanisms, such as messaging applications. That is, lock users do not need to install a smartphone application to receive an offline access code.
|
|
6146
|
+
In addition, for certain devices, Seam also supports [offline access codes](https://docs.seam.co/low-level-apis/smart-locks/access-codes#offline-access-codes). Offline access (PIN) codes are designed for door locks that might not always maintain an internet connection. For this type of access code, the device manufacturer uses encryption keys (tokens) to create server-based registries of algorithmically-generated offline PIN codes. Because the tokens remain synchronized with the managed devices, the locks do not require an active internet connection—and you do not need to be near the locks—to create an offline access code. Then, owners or managers can share these offline codes with users through a variety of mechanisms, such as messaging applications. That is, lock users do not need to install a smartphone application to receive an offline access code.
|
|
6147
|
+
|
|
6148
|
+
For granting a person access to a space, [Access Grants](https://docs.seam.co/use-cases/granting-access) are the default and recommended approach and work across both standalone smart locks and access systems. Use the lower-level Access Codes API directly only when you specifically need to manage individual PIN codes. */
|
|
6143
6149
|
backup_access_code: {
|
|
6144
6150
|
/** Unique identifier for the Seam workspace associated with the access code. */
|
|
6145
6151
|
workspace_id: string;
|
|
@@ -6784,7 +6790,9 @@ export type Routes = {
|
|
|
6784
6790
|
|
|
6785
6791
|
Seam supports programming two types of access codes: [ongoing](https://docs.seam.co/low-level-apis/smart-locks/access-codes#ongoing-access-codes) and [time-bound](https://docs.seam.co/low-level-apis/smart-locks/access-codes#time-bound-access-codes). To differentiate between the two, refer to the `type` property of the access code. Ongoing codes display as `ongoing`, whereas time-bound codes are labeled `time_bound`. An ongoing access code is active, until it has been removed from the device. To specify an ongoing access code, leave both `starts_at` and `ends_at` empty. A time-bound access code will be programmed at the `starts_at` time and removed at the `ends_at` time.
|
|
6786
6792
|
|
|
6787
|
-
In addition, for certain devices, Seam also supports [offline access codes](https://docs.seam.co/low-level-apis/smart-locks/access-codes#offline-access-codes). Offline access (PIN) codes are designed for door locks that might not always maintain an internet connection. For this type of access code, the device manufacturer uses encryption keys (tokens) to create server-based registries of algorithmically-generated offline PIN codes. Because the tokens remain synchronized with the managed devices, the locks do not require an active internet connection—and you do not need to be near the locks—to create an offline access code. Then, owners or managers can share these offline codes with users through a variety of mechanisms, such as messaging applications. That is, lock users do not need to install a smartphone application to receive an offline access code.
|
|
6793
|
+
In addition, for certain devices, Seam also supports [offline access codes](https://docs.seam.co/low-level-apis/smart-locks/access-codes#offline-access-codes). Offline access (PIN) codes are designed for door locks that might not always maintain an internet connection. For this type of access code, the device manufacturer uses encryption keys (tokens) to create server-based registries of algorithmically-generated offline PIN codes. Because the tokens remain synchronized with the managed devices, the locks do not require an active internet connection—and you do not need to be near the locks—to create an offline access code. Then, owners or managers can share these offline codes with users through a variety of mechanisms, such as messaging applications. That is, lock users do not need to install a smartphone application to receive an offline access code.
|
|
6794
|
+
|
|
6795
|
+
For granting a person access to a space, [Access Grants](https://docs.seam.co/use-cases/granting-access) are the default and recommended approach and work across both standalone smart locks and access systems. Use the lower-level Access Codes API directly only when you specifically need to manage individual PIN codes. */
|
|
6788
6796
|
access_code: {
|
|
6789
6797
|
/** Unique identifier for the Seam workspace associated with the access code. */
|
|
6790
6798
|
workspace_id: string;
|
|
@@ -14800,6 +14808,13 @@ export type Routes = {
|
|
|
14800
14808
|
message: string;
|
|
14801
14809
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
14802
14810
|
warning_code: 'provider_service_unavailable';
|
|
14811
|
+
} | {
|
|
14812
|
+
/** Date and time at which Seam created the warning. */
|
|
14813
|
+
created_at: string;
|
|
14814
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
14815
|
+
message: string;
|
|
14816
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
14817
|
+
warning_code: 'setup_required';
|
|
14803
14818
|
})[];
|
|
14804
14819
|
/** Set of key:value pairs. Adding custom metadata to a resource, such as a [Connect Webview](https://docs.seam.co/core-concepts/connect-webviews/attaching-custom-data-to-the-connect-webview), [connected account](https://docs.seam.co/core-concepts/connected-accounts/adding-custom-metadata-to-a-connected-account), or [device](https://docs.seam.co/core-concepts/devices/adding-custom-metadata-to-a-device), enables you to store custom information, like customer details or internal IDs from your application. */
|
|
14805
14820
|
custom_metadata: {
|
|
@@ -14945,6 +14960,13 @@ export type Routes = {
|
|
|
14945
14960
|
/**
|
|
14946
14961
|
* @deprecated this field is deprecated.*/
|
|
14947
14962
|
misconfigured_acs_entrance_ids?: string[] | undefined;
|
|
14963
|
+
} | {
|
|
14964
|
+
/** Date and time at which Seam created the warning. */
|
|
14965
|
+
created_at: string;
|
|
14966
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
14967
|
+
message: string;
|
|
14968
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
14969
|
+
warning_code: 'setup_required';
|
|
14948
14970
|
})[];
|
|
14949
14971
|
}[] | undefined;
|
|
14950
14972
|
user_identities?: {
|
|
@@ -25066,7 +25088,9 @@ export type Routes = {
|
|
|
25066
25088
|
|
|
25067
25089
|
An access control system generally uses digital means of access to authorize a user trying to get through a specific entrance. Examples of credentials include plastic key cards, mobile keys, biometric identifiers, and PIN codes. The electronic nature of these credentials, as well as the fact that access is centralized, enables both the rapid provisioning and rescinding of access and the ability to compile access audit logs.
|
|
25068
25090
|
|
|
25069
|
-
For each `acs_credential`, you define the access method. You can also specify additional properties, such as a PIN code, depending on the credential type.
|
|
25091
|
+
For each `acs_credential`, you define the access method. You can also specify additional properties, such as a PIN code, depending on the credential type.
|
|
25092
|
+
|
|
25093
|
+
For granting a person access to a space, [Access Grants](https://docs.seam.co/use-cases/granting-access) are the default and recommended approach. Use the lower-level ACS credential API directly only when you specifically need to manage individual credentials. */
|
|
25070
25094
|
acs_credential: {
|
|
25071
25095
|
/** ID of the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials). */
|
|
25072
25096
|
acs_credential_id: string;
|
|
@@ -25267,7 +25291,9 @@ export type Routes = {
|
|
|
25267
25291
|
|
|
25268
25292
|
An access control system generally uses digital means of access to authorize a user trying to get through a specific entrance. Examples of credentials include plastic key cards, mobile keys, biometric identifiers, and PIN codes. The electronic nature of these credentials, as well as the fact that access is centralized, enables both the rapid provisioning and rescinding of access and the ability to compile access audit logs.
|
|
25269
25293
|
|
|
25270
|
-
For each `acs_credential`, you define the access method. You can also specify additional properties, such as a PIN code, depending on the credential type.
|
|
25294
|
+
For each `acs_credential`, you define the access method. You can also specify additional properties, such as a PIN code, depending on the credential type.
|
|
25295
|
+
|
|
25296
|
+
For granting a person access to a space, [Access Grants](https://docs.seam.co/use-cases/granting-access) are the default and recommended approach. Use the lower-level ACS credential API directly only when you specifically need to manage individual credentials. */
|
|
25271
25297
|
acs_credential: {
|
|
25272
25298
|
/** ID of the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials). */
|
|
25273
25299
|
acs_credential_id: string;
|
|
@@ -25425,7 +25451,9 @@ export type Routes = {
|
|
|
25425
25451
|
|
|
25426
25452
|
An access control system generally uses digital means of access to authorize a user trying to get through a specific entrance. Examples of credentials include plastic key cards, mobile keys, biometric identifiers, and PIN codes. The electronic nature of these credentials, as well as the fact that access is centralized, enables both the rapid provisioning and rescinding of access and the ability to compile access audit logs.
|
|
25427
25453
|
|
|
25428
|
-
For each `acs_credential`, you define the access method. You can also specify additional properties, such as a PIN code, depending on the credential type.
|
|
25454
|
+
For each `acs_credential`, you define the access method. You can also specify additional properties, such as a PIN code, depending on the credential type.
|
|
25455
|
+
|
|
25456
|
+
For granting a person access to a space, [Access Grants](https://docs.seam.co/use-cases/granting-access) are the default and recommended approach. Use the lower-level ACS credential API directly only when you specifically need to manage individual credentials. */
|
|
25429
25457
|
acs_credential: {
|
|
25430
25458
|
/** ID of the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials). */
|
|
25431
25459
|
acs_credential_id: string;
|
|
@@ -25588,7 +25616,9 @@ export type Routes = {
|
|
|
25588
25616
|
|
|
25589
25617
|
An access control system generally uses digital means of access to authorize a user trying to get through a specific entrance. Examples of credentials include plastic key cards, mobile keys, biometric identifiers, and PIN codes. The electronic nature of these credentials, as well as the fact that access is centralized, enables both the rapid provisioning and rescinding of access and the ability to compile access audit logs.
|
|
25590
25618
|
|
|
25591
|
-
For each `acs_credential`, you define the access method. You can also specify additional properties, such as a PIN code, depending on the credential type.
|
|
25619
|
+
For each `acs_credential`, you define the access method. You can also specify additional properties, such as a PIN code, depending on the credential type.
|
|
25620
|
+
|
|
25621
|
+
For granting a person access to a space, [Access Grants](https://docs.seam.co/use-cases/granting-access) are the default and recommended approach. Use the lower-level ACS credential API directly only when you specifically need to manage individual credentials. */
|
|
25592
25622
|
acs_credential: {
|
|
25593
25623
|
/** ID of the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials). */
|
|
25594
25624
|
acs_credential_id: string;
|
|
@@ -26112,7 +26142,9 @@ export type Routes = {
|
|
|
26112
26142
|
|
|
26113
26143
|
An access control system generally uses digital means of access to authorize a user trying to get through a specific entrance. Examples of credentials include plastic key cards, mobile keys, biometric identifiers, and PIN codes. The electronic nature of these credentials, as well as the fact that access is centralized, enables both the rapid provisioning and rescinding of access and the ability to compile access audit logs.
|
|
26114
26144
|
|
|
26115
|
-
For each `acs_credential`, you define the access method. You can also specify additional properties, such as a PIN code, depending on the credential type.
|
|
26145
|
+
For each `acs_credential`, you define the access method. You can also specify additional properties, such as a PIN code, depending on the credential type.
|
|
26146
|
+
|
|
26147
|
+
For granting a person access to a space, [Access Grants](https://docs.seam.co/use-cases/granting-access) are the default and recommended approach. Use the lower-level ACS credential API directly only when you specifically need to manage individual credentials. */
|
|
26116
26148
|
acs_credential: {
|
|
26117
26149
|
/** ID of the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials). */
|
|
26118
26150
|
acs_credential_id: string;
|
|
@@ -26571,7 +26603,9 @@ export type Routes = {
|
|
|
26571
26603
|
|
|
26572
26604
|
An access control system generally uses digital means of access to authorize a user trying to get through a specific entrance. Examples of credentials include plastic key cards, mobile keys, biometric identifiers, and PIN codes. The electronic nature of these credentials, as well as the fact that access is centralized, enables both the rapid provisioning and rescinding of access and the ability to compile access audit logs.
|
|
26573
26605
|
|
|
26574
|
-
For each `acs_credential`, you define the access method. You can also specify additional properties, such as a PIN code, depending on the credential type.
|
|
26606
|
+
For each `acs_credential`, you define the access method. You can also specify additional properties, such as a PIN code, depending on the credential type.
|
|
26607
|
+
|
|
26608
|
+
For granting a person access to a space, [Access Grants](https://docs.seam.co/use-cases/granting-access) are the default and recommended approach. Use the lower-level ACS credential API directly only when you specifically need to manage individual credentials. */
|
|
26575
26609
|
acs_credential: {
|
|
26576
26610
|
/** ID of the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials). */
|
|
26577
26611
|
acs_credential_id: string;
|
|
@@ -34323,6 +34357,13 @@ export type Routes = {
|
|
|
34323
34357
|
/**
|
|
34324
34358
|
* @deprecated this field is deprecated.*/
|
|
34325
34359
|
misconfigured_acs_entrance_ids?: string[] | undefined;
|
|
34360
|
+
} | {
|
|
34361
|
+
/** Date and time at which Seam created the warning. */
|
|
34362
|
+
created_at: string;
|
|
34363
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
34364
|
+
message: string;
|
|
34365
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
34366
|
+
warning_code: 'setup_required';
|
|
34326
34367
|
})[];
|
|
34327
34368
|
};
|
|
34328
34369
|
};
|
|
@@ -34466,6 +34507,13 @@ export type Routes = {
|
|
|
34466
34507
|
/**
|
|
34467
34508
|
* @deprecated this field is deprecated.*/
|
|
34468
34509
|
misconfigured_acs_entrance_ids?: string[] | undefined;
|
|
34510
|
+
} | {
|
|
34511
|
+
/** Date and time at which Seam created the warning. */
|
|
34512
|
+
created_at: string;
|
|
34513
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
34514
|
+
message: string;
|
|
34515
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
34516
|
+
warning_code: 'setup_required';
|
|
34469
34517
|
})[];
|
|
34470
34518
|
}[];
|
|
34471
34519
|
};
|
|
@@ -34605,6 +34653,13 @@ export type Routes = {
|
|
|
34605
34653
|
/**
|
|
34606
34654
|
* @deprecated this field is deprecated.*/
|
|
34607
34655
|
misconfigured_acs_entrance_ids?: string[] | undefined;
|
|
34656
|
+
} | {
|
|
34657
|
+
/** Date and time at which Seam created the warning. */
|
|
34658
|
+
created_at: string;
|
|
34659
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
34660
|
+
message: string;
|
|
34661
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
34662
|
+
warning_code: 'setup_required';
|
|
34608
34663
|
})[];
|
|
34609
34664
|
}[];
|
|
34610
34665
|
};
|
|
@@ -40508,6 +40563,13 @@ export type Routes = {
|
|
|
40508
40563
|
message: string;
|
|
40509
40564
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
40510
40565
|
warning_code: 'provider_service_unavailable';
|
|
40566
|
+
} | {
|
|
40567
|
+
/** Date and time at which Seam created the warning. */
|
|
40568
|
+
created_at: string;
|
|
40569
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
40570
|
+
message: string;
|
|
40571
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
40572
|
+
warning_code: 'setup_required';
|
|
40511
40573
|
})[];
|
|
40512
40574
|
/** Set of key:value pairs. Adding custom metadata to a resource, such as a [Connect Webview](https://docs.seam.co/core-concepts/connect-webviews/attaching-custom-data-to-the-connect-webview), [connected account](https://docs.seam.co/core-concepts/connected-accounts/adding-custom-metadata-to-a-connected-account), or [device](https://docs.seam.co/core-concepts/devices/adding-custom-metadata-to-a-device), enables you to store custom information, like customer details or internal IDs from your application. */
|
|
40513
40575
|
custom_metadata: {
|
|
@@ -40691,6 +40753,13 @@ export type Routes = {
|
|
|
40691
40753
|
message: string;
|
|
40692
40754
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
40693
40755
|
warning_code: 'provider_service_unavailable';
|
|
40756
|
+
} | {
|
|
40757
|
+
/** Date and time at which Seam created the warning. */
|
|
40758
|
+
created_at: string;
|
|
40759
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
40760
|
+
message: string;
|
|
40761
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
40762
|
+
warning_code: 'setup_required';
|
|
40694
40763
|
})[];
|
|
40695
40764
|
/** Set of key:value pairs. Adding custom metadata to a resource, such as a [Connect Webview](https://docs.seam.co/core-concepts/connect-webviews/attaching-custom-data-to-the-connect-webview), [connected account](https://docs.seam.co/core-concepts/connected-accounts/adding-custom-metadata-to-a-connected-account), or [device](https://docs.seam.co/core-concepts/devices/adding-custom-metadata-to-a-device), enables you to store custom information, like customer details or internal IDs from your application. */
|
|
40696
40765
|
custom_metadata: {
|
|
@@ -40908,6 +40977,13 @@ export type Routes = {
|
|
|
40908
40977
|
message: string;
|
|
40909
40978
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
40910
40979
|
warning_code: 'provider_service_unavailable';
|
|
40980
|
+
} | {
|
|
40981
|
+
/** Date and time at which Seam created the warning. */
|
|
40982
|
+
created_at: string;
|
|
40983
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
40984
|
+
message: string;
|
|
40985
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
40986
|
+
warning_code: 'setup_required';
|
|
40911
40987
|
})[];
|
|
40912
40988
|
/** Set of key:value pairs. Adding custom metadata to a resource, such as a [Connect Webview](https://docs.seam.co/core-concepts/connect-webviews/attaching-custom-data-to-the-connect-webview), [connected account](https://docs.seam.co/core-concepts/connected-accounts/adding-custom-metadata-to-a-connected-account), or [device](https://docs.seam.co/core-concepts/devices/adding-custom-metadata-to-a-device), enables you to store custom information, like customer details or internal IDs from your application. */
|
|
40913
40989
|
custom_metadata: {
|
|
@@ -83362,6 +83438,13 @@ export type Routes = {
|
|
|
83362
83438
|
message: string;
|
|
83363
83439
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
83364
83440
|
warning_code: 'provider_service_unavailable';
|
|
83441
|
+
} | {
|
|
83442
|
+
/** Date and time at which Seam created the warning. */
|
|
83443
|
+
created_at: string;
|
|
83444
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
83445
|
+
message: string;
|
|
83446
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
83447
|
+
warning_code: 'setup_required';
|
|
83365
83448
|
})[];
|
|
83366
83449
|
/** Set of key:value pairs. Adding custom metadata to a resource, such as a [Connect Webview](https://docs.seam.co/core-concepts/connect-webviews/attaching-custom-data-to-the-connect-webview), [connected account](https://docs.seam.co/core-concepts/connected-accounts/adding-custom-metadata-to-a-connected-account), or [device](https://docs.seam.co/core-concepts/devices/adding-custom-metadata-to-a-device), enables you to store custom information, like customer details or internal IDs from your application. */
|
|
83367
83450
|
custom_metadata: {
|
|
@@ -83507,6 +83590,13 @@ export type Routes = {
|
|
|
83507
83590
|
/**
|
|
83508
83591
|
* @deprecated this field is deprecated.*/
|
|
83509
83592
|
misconfigured_acs_entrance_ids?: string[] | undefined;
|
|
83593
|
+
} | {
|
|
83594
|
+
/** Date and time at which Seam created the warning. */
|
|
83595
|
+
created_at: string;
|
|
83596
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
83597
|
+
message: string;
|
|
83598
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
83599
|
+
warning_code: 'setup_required';
|
|
83510
83600
|
})[];
|
|
83511
83601
|
}[] | undefined;
|
|
83512
83602
|
access_methods?: {
|
|
@@ -107145,6 +107235,13 @@ export type Routes = {
|
|
|
107145
107235
|
/**
|
|
107146
107236
|
* @deprecated this field is deprecated.*/
|
|
107147
107237
|
misconfigured_acs_entrance_ids?: string[] | undefined;
|
|
107238
|
+
} | {
|
|
107239
|
+
/** Date and time at which Seam created the warning. */
|
|
107240
|
+
created_at: string;
|
|
107241
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
107242
|
+
message: string;
|
|
107243
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
107244
|
+
warning_code: 'setup_required';
|
|
107148
107245
|
})[];
|
|
107149
107246
|
}[];
|
|
107150
107247
|
};
|
|
@@ -109675,6 +109772,13 @@ export type Routes = {
|
|
|
109675
109772
|
/**
|
|
109676
109773
|
* @deprecated this field is deprecated.*/
|
|
109677
109774
|
misconfigured_acs_entrance_ids?: string[] | undefined;
|
|
109775
|
+
} | {
|
|
109776
|
+
/** Date and time at which Seam created the warning. */
|
|
109777
|
+
created_at: string;
|
|
109778
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
109779
|
+
message: string;
|
|
109780
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
109781
|
+
warning_code: 'setup_required';
|
|
109678
109782
|
})[];
|
|
109679
109783
|
}[] | undefined;
|
|
109680
109784
|
acs_users?: {
|
|
@@ -113171,6 +113275,13 @@ export type Routes = {
|
|
|
113171
113275
|
message: string;
|
|
113172
113276
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
113173
113277
|
warning_code: 'provider_service_unavailable';
|
|
113278
|
+
} | {
|
|
113279
|
+
/** Date and time at which Seam created the warning. */
|
|
113280
|
+
created_at: string;
|
|
113281
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
113282
|
+
message: string;
|
|
113283
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
113284
|
+
warning_code: 'setup_required';
|
|
113174
113285
|
})[];
|
|
113175
113286
|
/** Set of key:value pairs. Adding custom metadata to a resource, such as a [Connect Webview](https://docs.seam.co/core-concepts/connect-webviews/attaching-custom-data-to-the-connect-webview), [connected account](https://docs.seam.co/core-concepts/connected-accounts/adding-custom-metadata-to-a-connected-account), or [device](https://docs.seam.co/core-concepts/devices/adding-custom-metadata-to-a-device), enables you to store custom information, like customer details or internal IDs from your application. */
|
|
113176
113287
|
custom_metadata: {
|
package/package.json
CHANGED
|
@@ -914,6 +914,8 @@ export const access_code = z.object({
|
|
|
914
914
|
Seam supports programming two types of access codes: [ongoing](https://docs.seam.co/low-level-apis/smart-locks/access-codes#ongoing-access-codes) and [time-bound](https://docs.seam.co/low-level-apis/smart-locks/access-codes#time-bound-access-codes). To differentiate between the two, refer to the \`type\` property of the access code. Ongoing codes display as \`ongoing\`, whereas time-bound codes are labeled \`time_bound\`. An ongoing access code is active, until it has been removed from the device. To specify an ongoing access code, leave both \`starts_at\` and \`ends_at\` empty. A time-bound access code will be programmed at the \`starts_at\` time and removed at the \`ends_at\` time.
|
|
915
915
|
|
|
916
916
|
In addition, for certain devices, Seam also supports [offline access codes](https://docs.seam.co/low-level-apis/smart-locks/access-codes#offline-access-codes). Offline access (PIN) codes are designed for door locks that might not always maintain an internet connection. For this type of access code, the device manufacturer uses encryption keys (tokens) to create server-based registries of algorithmically-generated offline PIN codes. Because the tokens remain synchronized with the managed devices, the locks do not require an active internet connection—and you do not need to be near the locks—to create an offline access code. Then, owners or managers can share these offline codes with users through a variety of mechanisms, such as messaging applications. That is, lock users do not need to install a smartphone application to receive an offline access code.
|
|
917
|
+
|
|
918
|
+
For granting a person access to a space, [Access Grants](https://docs.seam.co/use-cases/granting-access) are the default and recommended approach and work across both standalone smart locks and access systems. Use the lower-level Access Codes API directly only when you specifically need to manage individual PIN codes.
|
|
917
919
|
`)
|
|
918
920
|
|
|
919
921
|
export type AccessCode = z.infer<typeof access_code>
|
|
@@ -315,6 +315,8 @@ export const acs_credential = common_acs_credential.merge(
|
|
|
315
315
|
An access control system generally uses digital means of access to authorize a user trying to get through a specific entrance. Examples of credentials include plastic key cards, mobile keys, biometric identifiers, and PIN codes. The electronic nature of these credentials, as well as the fact that access is centralized, enables both the rapid provisioning and rescinding of access and the ability to compile access audit logs.
|
|
316
316
|
|
|
317
317
|
For each \`acs_credential\`, you define the access method. You can also specify additional properties, such as a PIN code, depending on the credential type.
|
|
318
|
+
|
|
319
|
+
For granting a person access to a space, [Access Grants](https://docs.seam.co/use-cases/granting-access) are the default and recommended approach. Use the lower-level ACS credential API directly only when you specifically need to manage individual credentials.
|
|
318
320
|
`)
|
|
319
321
|
|
|
320
322
|
export const unmanaged_acs_credential = common_acs_credential.merge(
|
|
@@ -204,10 +204,21 @@ const time_zone_does_not_match_location = common_acs_system_warning
|
|
|
204
204
|
'Indicates the [access control system](https://docs.seam.co/low-level-apis/access-systems) time zone could not be determined because the reported physical location does not match the time zone configured on the physical [ACS entrances](https://docs.seam.co/low-level-apis/access-systems/retrieving-entrance-details).',
|
|
205
205
|
)
|
|
206
206
|
|
|
207
|
+
const setup_required = common_acs_system_warning
|
|
208
|
+
.extend({
|
|
209
|
+
warning_code: z
|
|
210
|
+
.literal('setup_required')
|
|
211
|
+
.describe(warning_code_description),
|
|
212
|
+
})
|
|
213
|
+
.describe(
|
|
214
|
+
'Indicates that the access control system requires additional setup before it can be fully operational. Follow the instructions in the warning message to complete the setup.',
|
|
215
|
+
)
|
|
216
|
+
|
|
207
217
|
const acs_system_warning = z
|
|
208
218
|
.discriminatedUnion('warning_code', [
|
|
209
219
|
salto_ks_subscription_limit_almost_reached,
|
|
210
220
|
time_zone_does_not_match_location,
|
|
221
|
+
setup_required,
|
|
211
222
|
])
|
|
212
223
|
.describe(
|
|
213
224
|
'Warning associated with the [access control system](https://docs.seam.co/low-level-apis/access-systems).',
|
|
@@ -219,6 +230,7 @@ const _acs_system_warning_map = z.object({
|
|
|
219
230
|
time_zone_does_not_match_location: time_zone_does_not_match_location
|
|
220
231
|
.optional()
|
|
221
232
|
.nullable(),
|
|
233
|
+
setup_required: setup_required.optional().nullable(),
|
|
222
234
|
})
|
|
223
235
|
|
|
224
236
|
export type AcsSystemWarningMap = z.infer<typeof _acs_system_warning_map>
|
|
@@ -240,6 +240,16 @@ const provider_service_unavailable = common_connected_account_warning
|
|
|
240
240
|
"Indicates that the connected account's provider service is temporarily unavailable. Seam will automatically retry and reconnect when the service becomes available again.",
|
|
241
241
|
)
|
|
242
242
|
|
|
243
|
+
const setup_required = common_connected_account_warning
|
|
244
|
+
.extend({
|
|
245
|
+
warning_code: z
|
|
246
|
+
.literal('setup_required')
|
|
247
|
+
.describe(warning_code_description),
|
|
248
|
+
})
|
|
249
|
+
.describe(
|
|
250
|
+
'Indicates that the connected account requires additional setup before it can be fully operational. Follow the instructions in the warning message to complete the setup.',
|
|
251
|
+
)
|
|
252
|
+
|
|
243
253
|
const connected_account_warning = z
|
|
244
254
|
.discriminatedUnion('warning_code', [
|
|
245
255
|
scheduled_maintenance_window,
|
|
@@ -248,6 +258,7 @@ const connected_account_warning = z
|
|
|
248
258
|
account_reauthorization_requested,
|
|
249
259
|
being_deleted,
|
|
250
260
|
provider_service_unavailable,
|
|
261
|
+
setup_required,
|
|
251
262
|
])
|
|
252
263
|
.describe('Warning associated with the connected account.')
|
|
253
264
|
|
|
@@ -267,6 +278,7 @@ export const connected_account_warning_map = z.object({
|
|
|
267
278
|
provider_service_unavailable: provider_service_unavailable
|
|
268
279
|
.nullable()
|
|
269
280
|
.optional(),
|
|
281
|
+
setup_required: setup_required.nullable().optional(),
|
|
270
282
|
})
|
|
271
283
|
|
|
272
284
|
export type ConnectedAccountWarningMap = z.infer<
|
|
@@ -10,7 +10,7 @@ const openapi: OpenAPISpec = {
|
|
|
10
10
|
schemas: {
|
|
11
11
|
access_code: {
|
|
12
12
|
description:
|
|
13
|
-
'Represents a smart lock [access code](https://docs.seam.co/low-level-apis/smart-locks/access-codes).\n\nAn access code is a code used for a keypad or pinpad device. Unlike physical keys, which can easily be lost or duplicated, PIN codes can be customized, tracked, and altered on the fly. Using the Seam Access Code API, you can easily generate access codes on the hundreds of door lock models with which we integrate.\n\nSeam supports programming two types of access codes: [ongoing](https://docs.seam.co/low-level-apis/smart-locks/access-codes#ongoing-access-codes) and [time-bound](https://docs.seam.co/low-level-apis/smart-locks/access-codes#time-bound-access-codes). To differentiate between the two, refer to the `type` property of the access code. Ongoing codes display as `ongoing`, whereas time-bound codes are labeled `time_bound`. An ongoing access code is active, until it has been removed from the device. To specify an ongoing access code, leave both `starts_at` and `ends_at` empty. A time-bound access code will be programmed at the `starts_at` time and removed at the `ends_at` time.\n\nIn addition, for certain devices, Seam also supports [offline access codes](https://docs.seam.co/low-level-apis/smart-locks/access-codes#offline-access-codes). Offline access (PIN) codes are designed for door locks that might not always maintain an internet connection. For this type of access code, the device manufacturer uses encryption keys (tokens) to create server-based registries of algorithmically-generated offline PIN codes. Because the tokens remain synchronized with the managed devices, the locks do not require an active internet connection—and you do not need to be near the locks—to create an offline access code. Then, owners or managers can share these offline codes with users through a variety of mechanisms, such as messaging applications. That is, lock users do not need to install a smartphone application to receive an offline access code.',
|
|
13
|
+
'Represents a smart lock [access code](https://docs.seam.co/low-level-apis/smart-locks/access-codes).\n\nAn access code is a code used for a keypad or pinpad device. Unlike physical keys, which can easily be lost or duplicated, PIN codes can be customized, tracked, and altered on the fly. Using the Seam Access Code API, you can easily generate access codes on the hundreds of door lock models with which we integrate.\n\nSeam supports programming two types of access codes: [ongoing](https://docs.seam.co/low-level-apis/smart-locks/access-codes#ongoing-access-codes) and [time-bound](https://docs.seam.co/low-level-apis/smart-locks/access-codes#time-bound-access-codes). To differentiate between the two, refer to the `type` property of the access code. Ongoing codes display as `ongoing`, whereas time-bound codes are labeled `time_bound`. An ongoing access code is active, until it has been removed from the device. To specify an ongoing access code, leave both `starts_at` and `ends_at` empty. A time-bound access code will be programmed at the `starts_at` time and removed at the `ends_at` time.\n\nIn addition, for certain devices, Seam also supports [offline access codes](https://docs.seam.co/low-level-apis/smart-locks/access-codes#offline-access-codes). Offline access (PIN) codes are designed for door locks that might not always maintain an internet connection. For this type of access code, the device manufacturer uses encryption keys (tokens) to create server-based registries of algorithmically-generated offline PIN codes. Because the tokens remain synchronized with the managed devices, the locks do not require an active internet connection—and you do not need to be near the locks—to create an offline access code. Then, owners or managers can share these offline codes with users through a variety of mechanisms, such as messaging applications. That is, lock users do not need to install a smartphone application to receive an offline access code.\n\nFor granting a person access to a space, [Access Grants](https://docs.seam.co/use-cases/granting-access) are the default and recommended approach and work across both standalone smart locks and access systems. Use the lower-level Access Codes API directly only when you specifically need to manage individual PIN codes.',
|
|
14
14
|
properties: {
|
|
15
15
|
access_code_id: {
|
|
16
16
|
description: 'Unique identifier for the access code.',
|
|
@@ -3879,7 +3879,7 @@ const openapi: OpenAPISpec = {
|
|
|
3879
3879
|
},
|
|
3880
3880
|
acs_credential: {
|
|
3881
3881
|
description:
|
|
3882
|
-
'Means by which an [access control system user](https://docs.seam.co/low-level-apis/access-systems/user-management) gains access at an [entrance](https://docs.seam.co/low-level-apis/access-systems/retrieving-entrance-details). The `acs_credential` object represents a [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) that provides an ACS user access within an [access control system](https://docs.seam.co/low-level-apis/access-systems).\n\nAn access control system generally uses digital means of access to authorize a user trying to get through a specific entrance. Examples of credentials include plastic key cards, mobile keys, biometric identifiers, and PIN codes. The electronic nature of these credentials, as well as the fact that access is centralized, enables both the rapid provisioning and rescinding of access and the ability to compile access audit logs.\n\nFor each `acs_credential`, you define the access method. You can also specify additional properties, such as a PIN code, depending on the credential type.',
|
|
3882
|
+
'Means by which an [access control system user](https://docs.seam.co/low-level-apis/access-systems/user-management) gains access at an [entrance](https://docs.seam.co/low-level-apis/access-systems/retrieving-entrance-details). The `acs_credential` object represents a [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) that provides an ACS user access within an [access control system](https://docs.seam.co/low-level-apis/access-systems).\n\nAn access control system generally uses digital means of access to authorize a user trying to get through a specific entrance. Examples of credentials include plastic key cards, mobile keys, biometric identifiers, and PIN codes. The electronic nature of these credentials, as well as the fact that access is centralized, enables both the rapid provisioning and rescinding of access and the ability to compile access audit logs.\n\nFor each `acs_credential`, you define the access method. You can also specify additional properties, such as a PIN code, depending on the credential type.\n\nFor granting a person access to a space, [Access Grants](https://docs.seam.co/use-cases/granting-access) are the default and recommended approach. Use the lower-level ACS credential API directly only when you specifically need to manage individual credentials.',
|
|
3883
3883
|
properties: {
|
|
3884
3884
|
access_method: {
|
|
3885
3885
|
description:
|
|
@@ -5381,6 +5381,31 @@ const openapi: OpenAPISpec = {
|
|
|
5381
5381
|
required: ['created_at', 'message', 'warning_code'],
|
|
5382
5382
|
type: 'object',
|
|
5383
5383
|
},
|
|
5384
|
+
{
|
|
5385
|
+
description:
|
|
5386
|
+
'Indicates that the access control system requires additional setup before it can be fully operational. Follow the instructions in the warning message to complete the setup.',
|
|
5387
|
+
properties: {
|
|
5388
|
+
created_at: {
|
|
5389
|
+
description:
|
|
5390
|
+
'Date and time at which Seam created the warning.',
|
|
5391
|
+
format: 'date-time',
|
|
5392
|
+
type: 'string',
|
|
5393
|
+
},
|
|
5394
|
+
message: {
|
|
5395
|
+
description:
|
|
5396
|
+
'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
5397
|
+
type: 'string',
|
|
5398
|
+
},
|
|
5399
|
+
warning_code: {
|
|
5400
|
+
description:
|
|
5401
|
+
'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
5402
|
+
enum: ['setup_required'],
|
|
5403
|
+
type: 'string',
|
|
5404
|
+
},
|
|
5405
|
+
},
|
|
5406
|
+
required: ['created_at', 'message', 'warning_code'],
|
|
5407
|
+
type: 'object',
|
|
5408
|
+
},
|
|
5384
5409
|
],
|
|
5385
5410
|
},
|
|
5386
5411
|
type: 'array',
|
|
@@ -6695,7 +6720,7 @@ const openapi: OpenAPISpec = {
|
|
|
6695
6720
|
oneOf: [
|
|
6696
6721
|
{
|
|
6697
6722
|
description:
|
|
6698
|
-
'Means by which an [access control system user](https://docs.seam.co/low-level-apis/access-systems/user-management) gains access at an [entrance](https://docs.seam.co/low-level-apis/access-systems/retrieving-entrance-details). The `acs_credential` object represents a [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) that provides an ACS user access within an [access control system](https://docs.seam.co/low-level-apis/access-systems).\n\nAn access control system generally uses digital means of access to authorize a user trying to get through a specific entrance. Examples of credentials include plastic key cards, mobile keys, biometric identifiers, and PIN codes. The electronic nature of these credentials, as well as the fact that access is centralized, enables both the rapid provisioning and rescinding of access and the ability to compile access audit logs.\n\nFor each `acs_credential`, you define the access method. You can also specify additional properties, such as a PIN code, depending on the credential type.',
|
|
6723
|
+
'Means by which an [access control system user](https://docs.seam.co/low-level-apis/access-systems/user-management) gains access at an [entrance](https://docs.seam.co/low-level-apis/access-systems/retrieving-entrance-details). The `acs_credential` object represents a [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) that provides an ACS user access within an [access control system](https://docs.seam.co/low-level-apis/access-systems).\n\nAn access control system generally uses digital means of access to authorize a user trying to get through a specific entrance. Examples of credentials include plastic key cards, mobile keys, biometric identifiers, and PIN codes. The electronic nature of these credentials, as well as the fact that access is centralized, enables both the rapid provisioning and rescinding of access and the ability to compile access audit logs.\n\nFor each `acs_credential`, you define the access method. You can also specify additional properties, such as a PIN code, depending on the credential type.\n\nFor granting a person access to a space, [Access Grants](https://docs.seam.co/use-cases/granting-access) are the default and recommended approach. Use the lower-level ACS credential API directly only when you specifically need to manage individual credentials.',
|
|
6699
6724
|
properties: {
|
|
6700
6725
|
access_method: {
|
|
6701
6726
|
description:
|
|
@@ -7868,7 +7893,7 @@ const openapi: OpenAPISpec = {
|
|
|
7868
7893
|
oneOf: [
|
|
7869
7894
|
{
|
|
7870
7895
|
description:
|
|
7871
|
-
'Means by which an [access control system user](https://docs.seam.co/low-level-apis/access-systems/user-management) gains access at an [entrance](https://docs.seam.co/low-level-apis/access-systems/retrieving-entrance-details). The `acs_credential` object represents a [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) that provides an ACS user access within an [access control system](https://docs.seam.co/low-level-apis/access-systems).\n\nAn access control system generally uses digital means of access to authorize a user trying to get through a specific entrance. Examples of credentials include plastic key cards, mobile keys, biometric identifiers, and PIN codes. The electronic nature of these credentials, as well as the fact that access is centralized, enables both the rapid provisioning and rescinding of access and the ability to compile access audit logs.\n\nFor each `acs_credential`, you define the access method. You can also specify additional properties, such as a PIN code, depending on the credential type.',
|
|
7896
|
+
'Means by which an [access control system user](https://docs.seam.co/low-level-apis/access-systems/user-management) gains access at an [entrance](https://docs.seam.co/low-level-apis/access-systems/retrieving-entrance-details). The `acs_credential` object represents a [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) that provides an ACS user access within an [access control system](https://docs.seam.co/low-level-apis/access-systems).\n\nAn access control system generally uses digital means of access to authorize a user trying to get through a specific entrance. Examples of credentials include plastic key cards, mobile keys, biometric identifiers, and PIN codes. The electronic nature of these credentials, as well as the fact that access is centralized, enables both the rapid provisioning and rescinding of access and the ability to compile access audit logs.\n\nFor each `acs_credential`, you define the access method. You can also specify additional properties, such as a PIN code, depending on the credential type.\n\nFor granting a person access to a space, [Access Grants](https://docs.seam.co/use-cases/granting-access) are the default and recommended approach. Use the lower-level ACS credential API directly only when you specifically need to manage individual credentials.',
|
|
7872
7897
|
properties: {
|
|
7873
7898
|
access_method: {
|
|
7874
7899
|
description:
|
|
@@ -12942,6 +12967,31 @@ const openapi: OpenAPISpec = {
|
|
|
12942
12967
|
required: ['created_at', 'message', 'warning_code'],
|
|
12943
12968
|
type: 'object',
|
|
12944
12969
|
},
|
|
12970
|
+
{
|
|
12971
|
+
description:
|
|
12972
|
+
'Indicates that the connected account requires additional setup before it can be fully operational. Follow the instructions in the warning message to complete the setup.',
|
|
12973
|
+
properties: {
|
|
12974
|
+
created_at: {
|
|
12975
|
+
description:
|
|
12976
|
+
'Date and time at which Seam created the warning.',
|
|
12977
|
+
format: 'date-time',
|
|
12978
|
+
type: 'string',
|
|
12979
|
+
},
|
|
12980
|
+
message: {
|
|
12981
|
+
description:
|
|
12982
|
+
'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
12983
|
+
type: 'string',
|
|
12984
|
+
},
|
|
12985
|
+
warning_code: {
|
|
12986
|
+
description:
|
|
12987
|
+
'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
12988
|
+
enum: ['setup_required'],
|
|
12989
|
+
type: 'string',
|
|
12990
|
+
},
|
|
12991
|
+
},
|
|
12992
|
+
required: ['created_at', 'message', 'warning_code'],
|
|
12993
|
+
type: 'object',
|
|
12994
|
+
},
|
|
12945
12995
|
],
|
|
12946
12996
|
},
|
|
12947
12997
|
type: 'array',
|
|
@@ -26552,7 +26602,7 @@ const openapi: OpenAPISpec = {
|
|
|
26552
26602
|
'Access system credentials associated with the phone provider session.',
|
|
26553
26603
|
items: {
|
|
26554
26604
|
description:
|
|
26555
|
-
'Means by which an [access control system user](https://docs.seam.co/low-level-apis/access-systems/user-management) gains access at an [entrance](https://docs.seam.co/low-level-apis/access-systems/retrieving-entrance-details). The `acs_credential` object represents a [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) that provides an ACS user access within an [access control system](https://docs.seam.co/low-level-apis/access-systems).\n\nAn access control system generally uses digital means of access to authorize a user trying to get through a specific entrance. Examples of credentials include plastic key cards, mobile keys, biometric identifiers, and PIN codes. The electronic nature of these credentials, as well as the fact that access is centralized, enables both the rapid provisioning and rescinding of access and the ability to compile access audit logs.\n\nFor each `acs_credential`, you define the access method. You can also specify additional properties, such as a PIN code, depending on the credential type.',
|
|
26605
|
+
'Means by which an [access control system user](https://docs.seam.co/low-level-apis/access-systems/user-management) gains access at an [entrance](https://docs.seam.co/low-level-apis/access-systems/retrieving-entrance-details). The `acs_credential` object represents a [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) that provides an ACS user access within an [access control system](https://docs.seam.co/low-level-apis/access-systems).\n\nAn access control system generally uses digital means of access to authorize a user trying to get through a specific entrance. Examples of credentials include plastic key cards, mobile keys, biometric identifiers, and PIN codes. The electronic nature of these credentials, as well as the fact that access is centralized, enables both the rapid provisioning and rescinding of access and the ability to compile access audit logs.\n\nFor each `acs_credential`, you define the access method. You can also specify additional properties, such as a PIN code, depending on the credential type.\n\nFor granting a person access to a space, [Access Grants](https://docs.seam.co/use-cases/granting-access) are the default and recommended approach. Use the lower-level ACS credential API directly only when you specifically need to manage individual credentials.',
|
|
26556
26606
|
properties: {
|
|
26557
26607
|
access_method: {
|
|
26558
26608
|
description:
|
|
@@ -34130,7 +34180,7 @@ const openapi: OpenAPISpec = {
|
|
|
34130
34180
|
'/access_codes/create_multiple': {
|
|
34131
34181
|
post: {
|
|
34132
34182
|
description:
|
|
34133
|
-
'Creates new [access codes](https://docs.seam.co/low-level-apis/smart-locks/access-codes) that share a common code across multiple devices.\n\nUsers with more than one door lock in a property may want to create groups of linked access codes, all of which have the same code (PIN). For example, a short-term rental host may want to provide guests the same PIN for both a front door lock and a back door lock.\n\nIf you specify a custom code, Seam assigns this custom code to each of the resulting access codes. However, in this case, Seam does not link these access codes together with a `common_code_key`. That is, `common_code_key` remains null for these access codes.\n\nIf you want to change these access codes that are not linked by a `common_code_key`, you cannot use `/access_codes/update_multiple`. However, you can update each of these access codes individually, using `/access_codes/update`.\n\nSee also [Creating and Updating Multiple Linked Access Codes](https://docs.seam.co/low-level-apis/smart-locks/access-codes/creating-and-updating-multiple-linked-access-codes).',
|
|
34183
|
+
'Creates new [access codes](https://docs.seam.co/low-level-apis/smart-locks/access-codes) that share a common code across multiple devices.\n\nUsers with more than one door lock in a property may want to create groups of linked access codes, all of which have the same code (PIN). For example, a short-term rental host may want to provide guests the same PIN for both a front door lock and a back door lock.\n\nIf you specify a custom code, Seam assigns this custom code to each of the resulting access codes. However, in this case, Seam does not link these access codes together with a `common_code_key`. That is, `common_code_key` remains null for these access codes.\n\nIf you want to change these access codes that are not linked by a `common_code_key`, you cannot use `/access_codes/update_multiple`. However, you can update each of these access codes individually, using `/access_codes/update`.\n\nSee also [Creating and Updating Multiple Linked Access Codes](https://docs.seam.co/low-level-apis/smart-locks/access-codes/creating-and-updating-multiple-linked-access-codes).\n\nFor granting a person access to a space, [Access Grants](https://docs.seam.co/use-cases/granting-access) are the default and recommended approach and work across both standalone smart locks and access systems. Use the lower-level Access Codes API directly only when you specifically need to manage individual PIN codes.',
|
|
34134
34184
|
operationId: 'accessCodesCreateMultiplePost',
|
|
34135
34185
|
requestBody: {
|
|
34136
34186
|
content: {
|
|
@@ -34248,7 +34298,7 @@ const openapi: OpenAPISpec = {
|
|
|
34248
34298
|
},
|
|
34249
34299
|
put: {
|
|
34250
34300
|
description:
|
|
34251
|
-
'Creates new [access codes](https://docs.seam.co/low-level-apis/smart-locks/access-codes) that share a common code across multiple devices.\n\nUsers with more than one door lock in a property may want to create groups of linked access codes, all of which have the same code (PIN). For example, a short-term rental host may want to provide guests the same PIN for both a front door lock and a back door lock.\n\nIf you specify a custom code, Seam assigns this custom code to each of the resulting access codes. However, in this case, Seam does not link these access codes together with a `common_code_key`. That is, `common_code_key` remains null for these access codes.\n\nIf you want to change these access codes that are not linked by a `common_code_key`, you cannot use `/access_codes/update_multiple`. However, you can update each of these access codes individually, using `/access_codes/update`.\n\nSee also [Creating and Updating Multiple Linked Access Codes](https://docs.seam.co/low-level-apis/smart-locks/access-codes/creating-and-updating-multiple-linked-access-codes).',
|
|
34301
|
+
'Creates new [access codes](https://docs.seam.co/low-level-apis/smart-locks/access-codes) that share a common code across multiple devices.\n\nUsers with more than one door lock in a property may want to create groups of linked access codes, all of which have the same code (PIN). For example, a short-term rental host may want to provide guests the same PIN for both a front door lock and a back door lock.\n\nIf you specify a custom code, Seam assigns this custom code to each of the resulting access codes. However, in this case, Seam does not link these access codes together with a `common_code_key`. That is, `common_code_key` remains null for these access codes.\n\nIf you want to change these access codes that are not linked by a `common_code_key`, you cannot use `/access_codes/update_multiple`. However, you can update each of these access codes individually, using `/access_codes/update`.\n\nSee also [Creating and Updating Multiple Linked Access Codes](https://docs.seam.co/low-level-apis/smart-locks/access-codes/creating-and-updating-multiple-linked-access-codes).\n\nFor granting a person access to a space, [Access Grants](https://docs.seam.co/use-cases/granting-access) are the default and recommended approach and work across both standalone smart locks and access systems. Use the lower-level Access Codes API directly only when you specifically need to manage individual PIN codes.',
|
|
34252
34302
|
operationId: 'accessCodesCreateMultiplePut',
|
|
34253
34303
|
requestBody: {
|
|
34254
34304
|
content: {
|