@seamapi/types 1.748.0 → 1.749.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 +27 -18
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +527 -527
- package/dist/index.cjs +27 -18
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/acs/acs-credential.d.ts +14 -14
- package/lib/seam/connect/models/acs/acs-credential.js +3 -1
- package/lib/seam/connect/models/acs/acs-credential.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +48 -48
- package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +20 -20
- package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +28 -28
- package/lib/seam/connect/models/batch.d.ts +84 -84
- package/lib/seam/connect/models/phones/phone-session.d.ts +24 -24
- package/lib/seam/connect/openapi.js +23 -16
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +383 -383
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-credential.ts +3 -1
- package/src/lib/seam/connect/openapi.ts +23 -16
- package/src/lib/seam/connect/route-types.ts +615 -256
package/dist/connect.cjs
CHANGED
|
@@ -3159,6 +3159,7 @@ var acs_credential_visionline_metadata = zod.z.object({
|
|
|
3159
3159
|
var acs_credential_external_type = zod.z.enum([
|
|
3160
3160
|
"pti_card",
|
|
3161
3161
|
"brivo_credential",
|
|
3162
|
+
"brivo_digital_credential",
|
|
3162
3163
|
"hid_credential",
|
|
3163
3164
|
"visionline_card",
|
|
3164
3165
|
"salto_ks_credential",
|
|
@@ -3171,7 +3172,8 @@ var acs_credential_external_type = zod.z.enum([
|
|
|
3171
3172
|
var acs_credential_access_method_type = zod.z.enum([
|
|
3172
3173
|
"code",
|
|
3173
3174
|
"card",
|
|
3174
|
-
"mobile_key"
|
|
3175
|
+
"mobile_key",
|
|
3176
|
+
"cloud_key"
|
|
3175
3177
|
]);
|
|
3176
3178
|
var common_acs_credential_warning = zod.z.object({
|
|
3177
3179
|
created_at: zod.z.string().datetime().describe("Date and time at which Seam created the warning."),
|
|
@@ -3267,7 +3269,7 @@ var common_acs_credential = zod.z.object({
|
|
|
3267
3269
|
"Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was encoded onto a card."
|
|
3268
3270
|
),
|
|
3269
3271
|
access_method: acs_credential_access_method_type.describe(
|
|
3270
|
-
"Access method for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). Supported values: `code`, `card`, `mobile_key`."
|
|
3272
|
+
"Access method for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). Supported values: `code`, `card`, `mobile_key`, `cloud_key`."
|
|
3271
3273
|
),
|
|
3272
3274
|
external_type: acs_credential_external_type.optional().describe(
|
|
3273
3275
|
"Brand-specific terminology for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) type. Supported values: `pti_card`, `brivo_credential`, `hid_credential`, `visionline_card`."
|
|
@@ -9411,8 +9413,8 @@ var openapi_default = {
|
|
|
9411
9413
|
description: "Means by which an [access control system user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) gains access at an [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). The `acs_credential` object represents a [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) that provides an ACS user access within an [access control system](https://docs.seam.co/latest/capability-guides/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.",
|
|
9412
9414
|
properties: {
|
|
9413
9415
|
access_method: {
|
|
9414
|
-
description: "Access method for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). Supported values: `code`, `card`, `mobile_key`.",
|
|
9415
|
-
enum: ["code", "card", "mobile_key"],
|
|
9416
|
+
description: "Access method for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). Supported values: `code`, `card`, `mobile_key`, `cloud_key`.",
|
|
9417
|
+
enum: ["code", "card", "mobile_key", "cloud_key"],
|
|
9416
9418
|
type: "string"
|
|
9417
9419
|
},
|
|
9418
9420
|
acs_credential_id: {
|
|
@@ -9509,6 +9511,7 @@ var openapi_default = {
|
|
|
9509
9511
|
enum: [
|
|
9510
9512
|
"pti_card",
|
|
9511
9513
|
"brivo_credential",
|
|
9514
|
+
"brivo_digital_credential",
|
|
9512
9515
|
"hid_credential",
|
|
9513
9516
|
"visionline_card",
|
|
9514
9517
|
"salto_ks_credential",
|
|
@@ -11667,8 +11670,8 @@ var openapi_default = {
|
|
|
11667
11670
|
description: "Means by which an [access control system user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) gains access at an [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). The `acs_credential` object represents a [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) that provides an ACS user access within an [access control system](https://docs.seam.co/latest/capability-guides/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.",
|
|
11668
11671
|
properties: {
|
|
11669
11672
|
access_method: {
|
|
11670
|
-
description: "Access method for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). Supported values: `code`, `card`, `mobile_key`.",
|
|
11671
|
-
enum: ["code", "card", "mobile_key"],
|
|
11673
|
+
description: "Access method for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). Supported values: `code`, `card`, `mobile_key`, `cloud_key`.",
|
|
11674
|
+
enum: ["code", "card", "mobile_key", "cloud_key"],
|
|
11672
11675
|
type: "string"
|
|
11673
11676
|
},
|
|
11674
11677
|
acs_credential_id: {
|
|
@@ -11768,6 +11771,7 @@ var openapi_default = {
|
|
|
11768
11771
|
enum: [
|
|
11769
11772
|
"pti_card",
|
|
11770
11773
|
"brivo_credential",
|
|
11774
|
+
"brivo_digital_credential",
|
|
11771
11775
|
"hid_credential",
|
|
11772
11776
|
"visionline_card",
|
|
11773
11777
|
"salto_ks_credential",
|
|
@@ -12057,8 +12061,8 @@ var openapi_default = {
|
|
|
12057
12061
|
description: "Means by which an [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) gains access at an [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). The `unmanaged_acs_credential` object, which is not managed by Seam, represents a [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) that provides an ACS user access within an [access control system](https://docs.seam.co/latest/capability-guides/access-systems). For each `acs_credential` object, you define the access method. You can also specify additional properties, such as a PIN code.",
|
|
12058
12062
|
properties: {
|
|
12059
12063
|
access_method: {
|
|
12060
|
-
description: "Access method for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). Supported values: `code`, `card`, `mobile_key`.",
|
|
12061
|
-
enum: ["code", "card", "mobile_key"],
|
|
12064
|
+
description: "Access method for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). Supported values: `code`, `card`, `mobile_key`, `cloud_key`.",
|
|
12065
|
+
enum: ["code", "card", "mobile_key", "cloud_key"],
|
|
12062
12066
|
type: "string"
|
|
12063
12067
|
},
|
|
12064
12068
|
acs_credential_id: {
|
|
@@ -12158,6 +12162,7 @@ var openapi_default = {
|
|
|
12158
12162
|
enum: [
|
|
12159
12163
|
"pti_card",
|
|
12160
12164
|
"brivo_credential",
|
|
12165
|
+
"brivo_digital_credential",
|
|
12161
12166
|
"hid_credential",
|
|
12162
12167
|
"visionline_card",
|
|
12163
12168
|
"salto_ks_credential",
|
|
@@ -12641,8 +12646,8 @@ var openapi_default = {
|
|
|
12641
12646
|
description: "Means by which an [access control system user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) gains access at an [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). The `acs_credential` object represents a [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) that provides an ACS user access within an [access control system](https://docs.seam.co/latest/capability-guides/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.",
|
|
12642
12647
|
properties: {
|
|
12643
12648
|
access_method: {
|
|
12644
|
-
description: "Access method for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). Supported values: `code`, `card`, `mobile_key`.",
|
|
12645
|
-
enum: ["code", "card", "mobile_key"],
|
|
12649
|
+
description: "Access method for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). Supported values: `code`, `card`, `mobile_key`, `cloud_key`.",
|
|
12650
|
+
enum: ["code", "card", "mobile_key", "cloud_key"],
|
|
12646
12651
|
type: "string"
|
|
12647
12652
|
},
|
|
12648
12653
|
acs_credential_id: {
|
|
@@ -12742,6 +12747,7 @@ var openapi_default = {
|
|
|
12742
12747
|
enum: [
|
|
12743
12748
|
"pti_card",
|
|
12744
12749
|
"brivo_credential",
|
|
12750
|
+
"brivo_digital_credential",
|
|
12745
12751
|
"hid_credential",
|
|
12746
12752
|
"visionline_card",
|
|
12747
12753
|
"salto_ks_credential",
|
|
@@ -13029,8 +13035,8 @@ var openapi_default = {
|
|
|
13029
13035
|
description: "Means by which an [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) gains access at an [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). The `unmanaged_acs_credential` object, which is not managed by Seam, represents a [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) that provides an ACS user access within an [access control system](https://docs.seam.co/latest/capability-guides/access-systems). For each `acs_credential` object, you define the access method. You can also specify additional properties, such as a PIN code.",
|
|
13030
13036
|
properties: {
|
|
13031
13037
|
access_method: {
|
|
13032
|
-
description: "Access method for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). Supported values: `code`, `card`, `mobile_key`.",
|
|
13033
|
-
enum: ["code", "card", "mobile_key"],
|
|
13038
|
+
description: "Access method for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). Supported values: `code`, `card`, `mobile_key`, `cloud_key`.",
|
|
13039
|
+
enum: ["code", "card", "mobile_key", "cloud_key"],
|
|
13034
13040
|
type: "string"
|
|
13035
13041
|
},
|
|
13036
13042
|
acs_credential_id: {
|
|
@@ -13130,6 +13136,7 @@ var openapi_default = {
|
|
|
13130
13136
|
enum: [
|
|
13131
13137
|
"pti_card",
|
|
13132
13138
|
"brivo_credential",
|
|
13139
|
+
"brivo_digital_credential",
|
|
13133
13140
|
"hid_credential",
|
|
13134
13141
|
"visionline_card",
|
|
13135
13142
|
"salto_ks_credential",
|
|
@@ -28144,8 +28151,8 @@ var openapi_default = {
|
|
|
28144
28151
|
description: "Means by which an [access control system user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) gains access at an [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). The `acs_credential` object represents a [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) that provides an ACS user access within an [access control system](https://docs.seam.co/latest/capability-guides/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.",
|
|
28145
28152
|
properties: {
|
|
28146
28153
|
access_method: {
|
|
28147
|
-
description: "Access method for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). Supported values: `code`, `card`, `mobile_key`.",
|
|
28148
|
-
enum: ["code", "card", "mobile_key"],
|
|
28154
|
+
description: "Access method for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). Supported values: `code`, `card`, `mobile_key`, `cloud_key`.",
|
|
28155
|
+
enum: ["code", "card", "mobile_key", "cloud_key"],
|
|
28149
28156
|
type: "string"
|
|
28150
28157
|
},
|
|
28151
28158
|
acs_credential_id: { nullable: true, type: "string" },
|
|
@@ -28567,6 +28574,7 @@ var openapi_default = {
|
|
|
28567
28574
|
enum: [
|
|
28568
28575
|
"pti_card",
|
|
28569
28576
|
"brivo_credential",
|
|
28577
|
+
"brivo_digital_credential",
|
|
28570
28578
|
"hid_credential",
|
|
28571
28579
|
"visionline_card",
|
|
28572
28580
|
"salto_ks_credential",
|
|
@@ -31333,8 +31341,8 @@ var openapi_default = {
|
|
|
31333
31341
|
description: "Means by which an [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) gains access at an [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). The `unmanaged_acs_credential` object, which is not managed by Seam, represents a [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) that provides an ACS user access within an [access control system](https://docs.seam.co/latest/capability-guides/access-systems). For each `acs_credential` object, you define the access method. You can also specify additional properties, such as a PIN code.",
|
|
31334
31342
|
properties: {
|
|
31335
31343
|
access_method: {
|
|
31336
|
-
description: "Access method for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). Supported values: `code`, `card`, `mobile_key`.",
|
|
31337
|
-
enum: ["code", "card", "mobile_key"],
|
|
31344
|
+
description: "Access method for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). Supported values: `code`, `card`, `mobile_key`, `cloud_key`.",
|
|
31345
|
+
enum: ["code", "card", "mobile_key", "cloud_key"],
|
|
31338
31346
|
type: "string"
|
|
31339
31347
|
},
|
|
31340
31348
|
acs_credential_id: {
|
|
@@ -31431,6 +31439,7 @@ var openapi_default = {
|
|
|
31431
31439
|
enum: [
|
|
31432
31440
|
"pti_card",
|
|
31433
31441
|
"brivo_credential",
|
|
31442
|
+
"brivo_digital_credential",
|
|
31434
31443
|
"hid_credential",
|
|
31435
31444
|
"visionline_card",
|
|
31436
31445
|
"salto_ks_credential",
|
|
@@ -44072,8 +44081,8 @@ var openapi_default = {
|
|
|
44072
44081
|
schema: {
|
|
44073
44082
|
properties: {
|
|
44074
44083
|
access_method: {
|
|
44075
|
-
description: "Access method for the new credential. Supported values: `code`, `card`, `mobile_key`.",
|
|
44076
|
-
enum: ["code", "card", "mobile_key"],
|
|
44084
|
+
description: "Access method for the new credential. Supported values: `code`, `card`, `mobile_key`, `cloud_key`.",
|
|
44085
|
+
enum: ["code", "card", "mobile_key", "cloud_key"],
|
|
44077
44086
|
type: "string"
|
|
44078
44087
|
},
|
|
44079
44088
|
acs_system_id: {
|