@seamapi/types 1.422.0 → 1.422.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 +8 -8
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +28 -4
- package/lib/seam/connect/openapi.js +8 -8
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +28 -4
- package/package.json +2 -2
- package/src/lib/seam/connect/openapi.ts +8 -8
- package/src/lib/seam/connect/route-types.ts +28 -4
package/dist/connect.d.cts
CHANGED
|
@@ -68388,7 +68388,13 @@ interface Routes {
|
|
|
68388
68388
|
jsonBody: {
|
|
68389
68389
|
/** ID of the device for which you want to create the new access code. */
|
|
68390
68390
|
device_id: string;
|
|
68391
|
-
/** Name of the new access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes.
|
|
68391
|
+
/** Name of the new access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes.
|
|
68392
|
+
|
|
68393
|
+
Note that the name provided on Seam is used to identify the code on Seam and is not necessarily the name that will appear in the lock provider's app or on the device. This is because lock providers may have constraints on names, such as length, uniqueness, or characters that can be used. In addition, some lock providers may break down names into components such as `first_name` and `last_name`.
|
|
68394
|
+
|
|
68395
|
+
To provide a consistent experience, Seam identifies the code on Seam by its name but may modify the name that appears on the lock provider's app or on the device. For example, Seam may add additional characters or truncate the name to meet provider constraints.
|
|
68396
|
+
|
|
68397
|
+
To help your users identify codes set by Seam, Seam provides the name exactly as it appears on the lock provider's app or on the device as a separate property called `appearance`. This is an object with a `name` property and, optionally, `first_name` and `last_name` properties (for providers that break down a name into components). */
|
|
68392
68398
|
name?: string | undefined;
|
|
68393
68399
|
/** Date and time at which the validity of the new access code starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
68394
68400
|
starts_at?: string | undefined;
|
|
@@ -70247,7 +70253,13 @@ interface Routes {
|
|
|
70247
70253
|
behavior_when_code_cannot_be_shared?: 'throw' | 'create_random_code';
|
|
70248
70254
|
/** Preferred code length. Only applicable if you do not specify a `code`. If the affected device does not support the preferred code length, Seam reverts to using the shortest supported code length. */
|
|
70249
70255
|
preferred_code_length?: number | undefined;
|
|
70250
|
-
/** Name of the new access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes.
|
|
70256
|
+
/** Name of the new access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes.
|
|
70257
|
+
|
|
70258
|
+
Note that the name provided on Seam is used to identify the code on Seam and is not necessarily the name that will appear in the lock provider's app or on the device. This is because lock providers may have constraints on names, such as length, uniqueness, or characters that can be used. In addition, some lock providers may break down names into components such as `first_name` and `last_name`.
|
|
70259
|
+
|
|
70260
|
+
To provide a consistent experience, Seam identifies the code on Seam by its name but may modify the name that appears on the lock provider's app or on the device. For example, Seam may add additional characters or truncate the name to meet provider constraints.
|
|
70261
|
+
|
|
70262
|
+
To help your users identify codes set by Seam, Seam provides the name exactly as it appears on the lock provider's app or on the device as a separate property called `appearance`. This is an object with a `name` property and, optionally, `first_name` and `last_name` properties (for providers that break down a name into components). */
|
|
70251
70263
|
name?: string | undefined;
|
|
70252
70264
|
/** Date and time at which the validity of the new access code starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
70253
70265
|
starts_at?: string | undefined;
|
|
@@ -77127,7 +77139,13 @@ interface Routes {
|
|
|
77127
77139
|
method: 'POST' | 'PATCH' | 'PUT';
|
|
77128
77140
|
queryParams: {};
|
|
77129
77141
|
jsonBody: {
|
|
77130
|
-
/** Name of the new access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes.
|
|
77142
|
+
/** Name of the new access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes.
|
|
77143
|
+
|
|
77144
|
+
Note that the name provided on Seam is used to identify the code on Seam and is not necessarily the name that will appear in the lock provider's app or on the device. This is because lock providers may have constraints on names, such as length, uniqueness, or characters that can be used. In addition, some lock providers may break down names into components such as `first_name` and `last_name`.
|
|
77145
|
+
|
|
77146
|
+
To provide a consistent experience, Seam identifies the code on Seam by its name but may modify the name that appears on the lock provider's app or on the device. For example, Seam may add additional characters or truncate the name to meet provider constraints.
|
|
77147
|
+
|
|
77148
|
+
To help your users identify codes set by Seam, Seam provides the name exactly as it appears on the lock provider's app or on the device as a separate property called `appearance`. This is an object with a `name` property and, optionally, `first_name` and `last_name` properties (for providers that break down a name into components). */
|
|
77131
77149
|
name?: string | undefined;
|
|
77132
77150
|
/** Date and time at which the validity of the new access code starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
77133
77151
|
starts_at?: string | undefined;
|
|
@@ -78478,7 +78496,13 @@ interface Routes {
|
|
|
78478
78496
|
ends_at?: string | undefined;
|
|
78479
78497
|
/** Date and time at which the validity of the new access code starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
78480
78498
|
starts_at?: string | undefined;
|
|
78481
|
-
/** Name of the new access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes.
|
|
78499
|
+
/** Name of the new access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes.
|
|
78500
|
+
|
|
78501
|
+
Note that the name provided on Seam is used to identify the code on Seam and is not necessarily the name that will appear in the lock provider's app or on the device. This is because lock providers may have constraints on names, such as length, uniqueness, or characters that can be used. In addition, some lock providers may break down names into components such as `first_name` and `last_name`.
|
|
78502
|
+
|
|
78503
|
+
To provide a consistent experience, Seam identifies the code on Seam by its name but may modify the name that appears on the lock provider's app or on the device. For example, Seam may add additional characters or truncate the name to meet provider constraints.
|
|
78504
|
+
|
|
78505
|
+
To help your users identify codes set by Seam, Seam provides the name exactly as it appears on the lock provider's app or on the device as a separate property called `appearance`. This is an object with a `name` property and, optionally, `first_name` and `last_name` properties (for providers that break down a name into components). */
|
|
78482
78506
|
name?: string | undefined;
|
|
78483
78507
|
/** Key that links the group of access codes, assigned on creation by `/access_codes/create_multiple`. */
|
|
78484
78508
|
common_code_key: string;
|
|
@@ -21569,7 +21569,7 @@ export default {
|
|
|
21569
21569
|
type: 'string',
|
|
21570
21570
|
},
|
|
21571
21571
|
name: {
|
|
21572
|
-
description: "Name of the new access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes
|
|
21572
|
+
description: "Name of the new access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes.\n\n Note that the name provided on Seam is used to identify the code on Seam and is not necessarily the name that will appear in the lock provider's app or on the device. This is because lock providers may have constraints on names, such as length, uniqueness, or characters that can be used. In addition, some lock providers may break down names into components such as `first_name` and `last_name`.\n\n To provide a consistent experience, Seam identifies the code on Seam by its name but may modify the name that appears on the lock provider's app or on the device. For example, Seam may add additional characters or truncate the name to meet provider constraints.\n\n To help your users identify codes set by Seam, Seam provides the name exactly as it appears on the lock provider's app or on the device as a separate property called `appearance`. This is an object with a `name` property and, optionally, `first_name` and `last_name` properties (for providers that break down a name into components).",
|
|
21573
21573
|
type: 'string',
|
|
21574
21574
|
},
|
|
21575
21575
|
prefer_native_scheduling: {
|
|
@@ -21699,7 +21699,7 @@ export default {
|
|
|
21699
21699
|
type: 'string',
|
|
21700
21700
|
},
|
|
21701
21701
|
name: {
|
|
21702
|
-
description: "Name of the new access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes
|
|
21702
|
+
description: "Name of the new access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes.\n\n Note that the name provided on Seam is used to identify the code on Seam and is not necessarily the name that will appear in the lock provider's app or on the device. This is because lock providers may have constraints on names, such as length, uniqueness, or characters that can be used. In addition, some lock providers may break down names into components such as `first_name` and `last_name`.\n\n To provide a consistent experience, Seam identifies the code on Seam by its name but may modify the name that appears on the lock provider's app or on the device. For example, Seam may add additional characters or truncate the name to meet provider constraints.\n\n To help your users identify codes set by Seam, Seam provides the name exactly as it appears on the lock provider's app or on the device as a separate property called `appearance`. This is an object with a `name` property and, optionally, `first_name` and `last_name` properties (for providers that break down a name into components).",
|
|
21703
21703
|
type: 'string',
|
|
21704
21704
|
},
|
|
21705
21705
|
prefer_native_scheduling: {
|
|
@@ -21820,7 +21820,7 @@ export default {
|
|
|
21820
21820
|
type: 'string',
|
|
21821
21821
|
},
|
|
21822
21822
|
name: {
|
|
21823
|
-
description: "Name of the new access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes
|
|
21823
|
+
description: "Name of the new access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes.\n\n Note that the name provided on Seam is used to identify the code on Seam and is not necessarily the name that will appear in the lock provider's app or on the device. This is because lock providers may have constraints on names, such as length, uniqueness, or characters that can be used. In addition, some lock providers may break down names into components such as `first_name` and `last_name`.\n\n To provide a consistent experience, Seam identifies the code on Seam by its name but may modify the name that appears on the lock provider's app or on the device. For example, Seam may add additional characters or truncate the name to meet provider constraints.\n\n To help your users identify codes set by Seam, Seam provides the name exactly as it appears on the lock provider's app or on the device as a separate property called `appearance`. This is an object with a `name` property and, optionally, `first_name` and `last_name` properties (for providers that break down a name into components).",
|
|
21824
21824
|
type: 'string',
|
|
21825
21825
|
},
|
|
21826
21826
|
prefer_native_scheduling: {
|
|
@@ -23336,7 +23336,7 @@ export default {
|
|
|
23336
23336
|
type: 'string',
|
|
23337
23337
|
},
|
|
23338
23338
|
name: {
|
|
23339
|
-
description: "Name of the new access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes
|
|
23339
|
+
description: "Name of the new access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes.\n\n Note that the name provided on Seam is used to identify the code on Seam and is not necessarily the name that will appear in the lock provider's app or on the device. This is because lock providers may have constraints on names, such as length, uniqueness, or characters that can be used. In addition, some lock providers may break down names into components such as `first_name` and `last_name`.\n\n To provide a consistent experience, Seam identifies the code on Seam by its name but may modify the name that appears on the lock provider's app or on the device. For example, Seam may add additional characters or truncate the name to meet provider constraints.\n\n To help your users identify codes set by Seam, Seam provides the name exactly as it appears on the lock provider's app or on the device as a separate property called `appearance`. This is an object with a `name` property and, optionally, `first_name` and `last_name` properties (for providers that break down a name into components).",
|
|
23340
23340
|
type: 'string',
|
|
23341
23341
|
},
|
|
23342
23342
|
prefer_native_scheduling: {
|
|
@@ -23470,7 +23470,7 @@ export default {
|
|
|
23470
23470
|
type: 'string',
|
|
23471
23471
|
},
|
|
23472
23472
|
name: {
|
|
23473
|
-
description: "Name of the new access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes
|
|
23473
|
+
description: "Name of the new access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes.\n\n Note that the name provided on Seam is used to identify the code on Seam and is not necessarily the name that will appear in the lock provider's app or on the device. This is because lock providers may have constraints on names, such as length, uniqueness, or characters that can be used. In addition, some lock providers may break down names into components such as `first_name` and `last_name`.\n\n To provide a consistent experience, Seam identifies the code on Seam by its name but may modify the name that appears on the lock provider's app or on the device. For example, Seam may add additional characters or truncate the name to meet provider constraints.\n\n To help your users identify codes set by Seam, Seam provides the name exactly as it appears on the lock provider's app or on the device as a separate property called `appearance`. This is an object with a `name` property and, optionally, `first_name` and `last_name` properties (for providers that break down a name into components).",
|
|
23474
23474
|
type: 'string',
|
|
23475
23475
|
},
|
|
23476
23476
|
prefer_native_scheduling: {
|
|
@@ -23604,7 +23604,7 @@ export default {
|
|
|
23604
23604
|
type: 'string',
|
|
23605
23605
|
},
|
|
23606
23606
|
name: {
|
|
23607
|
-
description: "Name of the new access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes
|
|
23607
|
+
description: "Name of the new access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes.\n\n Note that the name provided on Seam is used to identify the code on Seam and is not necessarily the name that will appear in the lock provider's app or on the device. This is because lock providers may have constraints on names, such as length, uniqueness, or characters that can be used. In addition, some lock providers may break down names into components such as `first_name` and `last_name`.\n\n To provide a consistent experience, Seam identifies the code on Seam by its name but may modify the name that appears on the lock provider's app or on the device. For example, Seam may add additional characters or truncate the name to meet provider constraints.\n\n To help your users identify codes set by Seam, Seam provides the name exactly as it appears on the lock provider's app or on the device as a separate property called `appearance`. This is an object with a `name` property and, optionally, `first_name` and `last_name` properties (for providers that break down a name into components).",
|
|
23608
23608
|
type: 'string',
|
|
23609
23609
|
},
|
|
23610
23610
|
prefer_native_scheduling: {
|
|
@@ -23697,7 +23697,7 @@ export default {
|
|
|
23697
23697
|
type: 'string',
|
|
23698
23698
|
},
|
|
23699
23699
|
name: {
|
|
23700
|
-
description: "Name of the new access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes
|
|
23700
|
+
description: "Name of the new access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes.\n\n Note that the name provided on Seam is used to identify the code on Seam and is not necessarily the name that will appear in the lock provider's app or on the device. This is because lock providers may have constraints on names, such as length, uniqueness, or characters that can be used. In addition, some lock providers may break down names into components such as `first_name` and `last_name`.\n\n To provide a consistent experience, Seam identifies the code on Seam by its name but may modify the name that appears on the lock provider's app or on the device. For example, Seam may add additional characters or truncate the name to meet provider constraints.\n\n To help your users identify codes set by Seam, Seam provides the name exactly as it appears on the lock provider's app or on the device as a separate property called `appearance`. This is an object with a `name` property and, optionally, `first_name` and `last_name` properties (for providers that break down a name into components).",
|
|
23701
23701
|
type: 'string',
|
|
23702
23702
|
},
|
|
23703
23703
|
starts_at: {
|
|
@@ -23757,7 +23757,7 @@ export default {
|
|
|
23757
23757
|
type: 'string',
|
|
23758
23758
|
},
|
|
23759
23759
|
name: {
|
|
23760
|
-
description: "Name of the new access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes
|
|
23760
|
+
description: "Name of the new access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes.\n\n Note that the name provided on Seam is used to identify the code on Seam and is not necessarily the name that will appear in the lock provider's app or on the device. This is because lock providers may have constraints on names, such as length, uniqueness, or characters that can be used. In addition, some lock providers may break down names into components such as `first_name` and `last_name`.\n\n To provide a consistent experience, Seam identifies the code on Seam by its name but may modify the name that appears on the lock provider's app or on the device. For example, Seam may add additional characters or truncate the name to meet provider constraints.\n\n To help your users identify codes set by Seam, Seam provides the name exactly as it appears on the lock provider's app or on the device as a separate property called `appearance`. This is an object with a `name` property and, optionally, `first_name` and `last_name` properties (for providers that break down a name into components).",
|
|
23761
23761
|
type: 'string',
|
|
23762
23762
|
},
|
|
23763
23763
|
starts_at: {
|