@seamapi/types 1.264.2 → 1.265.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 -13
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +94 -33
- package/lib/seam/connect/models/acs/acs-credential.d.ts +10 -5
- package/lib/seam/connect/models/acs/acs-credential.js +3 -3
- package/lib/seam/connect/models/acs/acs-credential.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-system.d.ts +3 -0
- package/lib/seam/connect/models/acs/acs-system.js +3 -0
- package/lib/seam/connect/models/acs/acs-system.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +18 -9
- package/lib/seam/connect/models/action-attempts/scan-card.d.ts +18 -9
- package/lib/seam/connect/openapi.d.ts +24 -4
- package/lib/seam/connect/openapi.js +19 -5
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +49 -20
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-credential.ts +3 -3
- package/src/lib/seam/connect/models/acs/acs-system.ts +3 -0
- package/src/lib/seam/connect/openapi.ts +23 -5
- package/src/lib/seam/connect/route-types.ts +49 -20
package/dist/connect.cjs
CHANGED
|
@@ -1229,8 +1229,7 @@ var acs_credential_on_encoder = zod.z.object({
|
|
|
1229
1229
|
card_number: zod.z.string().nullable().describe("A number or string that physically identifies this card."),
|
|
1230
1230
|
visionline_metadata: zod.z.object({
|
|
1231
1231
|
card_id: zod.z.string(),
|
|
1232
|
-
card_function_type:
|
|
1233
|
-
// computed, looks at door ops, and checks is guest op is present.
|
|
1232
|
+
// TODO card_function_type: z.enum(["guest", "staff"]), // computed, looks at door ops, and checks is guest op is present.
|
|
1234
1233
|
cancelled: zod.z.boolean(),
|
|
1235
1234
|
discarded: zod.z.boolean(),
|
|
1236
1235
|
expired: zod.z.boolean(),
|
|
@@ -1239,9 +1238,9 @@ var acs_credential_on_encoder = zod.z.object({
|
|
|
1239
1238
|
pending_auto_update: zod.z.boolean(),
|
|
1240
1239
|
card_format: zod.z.enum(["TLCode", "rfid48"]),
|
|
1241
1240
|
card_holder: zod.z.string().optional(),
|
|
1242
|
-
number_of_issued_cards: zod.z.number()
|
|
1243
|
-
|
|
1244
|
-
|
|
1241
|
+
number_of_issued_cards: zod.z.number(),
|
|
1242
|
+
guest_acs_entrance_ids: zod.z.array(zod.z.string().uuid()).optional(),
|
|
1243
|
+
common_acs_entrance_ids: zod.z.array(zod.z.string().uuid()).optional()
|
|
1245
1244
|
}).optional()
|
|
1246
1245
|
});
|
|
1247
1246
|
var acs_entrance = zod.z.object({
|
|
@@ -1353,6 +1352,7 @@ var acs_system = zod.z.object({
|
|
|
1353
1352
|
external_type_display_name: zod.z.string().describe(
|
|
1354
1353
|
"Display name that corresponds to the brand-specific terminology for the `acs_system` type."
|
|
1355
1354
|
).optional(),
|
|
1355
|
+
is_credential_manager: zod.z.boolean().describe("Indicates if the `acs_system` is a credential manager."),
|
|
1356
1356
|
visionline_metadata: zod.z.object({
|
|
1357
1357
|
mobile_access_uuid: zod.z.string().describe(
|
|
1358
1358
|
"Keyset loaded into a reader. Mobile keys and reader administration tools securely authenticate only with readers programmed with a matching keyset."
|
|
@@ -3171,6 +3171,10 @@ var openapi_default = {
|
|
|
3171
3171
|
description: "URL for the image that represents the `acs_system`.",
|
|
3172
3172
|
type: "string"
|
|
3173
3173
|
},
|
|
3174
|
+
is_credential_manager: {
|
|
3175
|
+
description: "Indicates if the `acs_system` is a credential manager.",
|
|
3176
|
+
type: "boolean"
|
|
3177
|
+
},
|
|
3174
3178
|
name: { description: "Name of the `acs_system`.", type: "string" },
|
|
3175
3179
|
system_type: {
|
|
3176
3180
|
deprecated: true,
|
|
@@ -3243,6 +3247,7 @@ var openapi_default = {
|
|
|
3243
3247
|
},
|
|
3244
3248
|
required: [
|
|
3245
3249
|
"acs_system_id",
|
|
3250
|
+
"is_credential_manager",
|
|
3246
3251
|
"name",
|
|
3247
3252
|
"created_at",
|
|
3248
3253
|
"workspace_id",
|
|
@@ -3736,14 +3741,18 @@ var openapi_default = {
|
|
|
3736
3741
|
enum: ["TLCode", "rfid48"],
|
|
3737
3742
|
type: "string"
|
|
3738
3743
|
},
|
|
3739
|
-
card_function_type: {
|
|
3740
|
-
enum: ["guest", "staff"],
|
|
3741
|
-
type: "string"
|
|
3742
|
-
},
|
|
3743
3744
|
card_holder: { type: "string" },
|
|
3744
3745
|
card_id: { type: "string" },
|
|
3746
|
+
common_acs_entrance_ids: {
|
|
3747
|
+
items: { format: "uuid", type: "string" },
|
|
3748
|
+
type: "array"
|
|
3749
|
+
},
|
|
3745
3750
|
discarded: { type: "boolean" },
|
|
3746
3751
|
expired: { type: "boolean" },
|
|
3752
|
+
guest_acs_entrance_ids: {
|
|
3753
|
+
items: { format: "uuid", type: "string" },
|
|
3754
|
+
type: "array"
|
|
3755
|
+
},
|
|
3747
3756
|
number_of_issued_cards: {
|
|
3748
3757
|
format: "float",
|
|
3749
3758
|
type: "number"
|
|
@@ -3754,7 +3763,6 @@ var openapi_default = {
|
|
|
3754
3763
|
},
|
|
3755
3764
|
required: [
|
|
3756
3765
|
"card_id",
|
|
3757
|
-
"card_function_type",
|
|
3758
3766
|
"cancelled",
|
|
3759
3767
|
"discarded",
|
|
3760
3768
|
"expired",
|
|
@@ -10552,6 +10560,7 @@ var openapi_default = {
|
|
|
10552
10560
|
},
|
|
10553
10561
|
"/acs/entrances/get": {
|
|
10554
10562
|
post: {
|
|
10563
|
+
description: "Returns a specified [ACS entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).",
|
|
10555
10564
|
operationId: "acsEntrancesGetPost",
|
|
10556
10565
|
requestBody: {
|
|
10557
10566
|
content: {
|
|
@@ -10596,7 +10605,8 @@ var openapi_default = {
|
|
|
10596
10605
|
"x-fern-sdk-group-name": ["acs", "entrances"],
|
|
10597
10606
|
"x-fern-sdk-method-name": "get",
|
|
10598
10607
|
"x-fern-sdk-return-value": "acs_entrance",
|
|
10599
|
-
"x-response-key": "acs_entrance"
|
|
10608
|
+
"x-response-key": "acs_entrance",
|
|
10609
|
+
"x-title": "Get an Entrance"
|
|
10600
10610
|
}
|
|
10601
10611
|
},
|
|
10602
10612
|
"/acs/entrances/grant_access": {
|
|
@@ -10646,6 +10656,7 @@ var openapi_default = {
|
|
|
10646
10656
|
},
|
|
10647
10657
|
"/acs/entrances/list": {
|
|
10648
10658
|
post: {
|
|
10659
|
+
description: "Returns a list of all [ACS entrances](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).",
|
|
10649
10660
|
operationId: "acsEntrancesListPost",
|
|
10650
10661
|
requestBody: {
|
|
10651
10662
|
content: {
|
|
@@ -10693,11 +10704,13 @@ var openapi_default = {
|
|
|
10693
10704
|
"x-fern-sdk-group-name": ["acs", "entrances"],
|
|
10694
10705
|
"x-fern-sdk-method-name": "list",
|
|
10695
10706
|
"x-fern-sdk-return-value": "acs_entrances",
|
|
10696
|
-
"x-response-key": "acs_entrances"
|
|
10707
|
+
"x-response-key": "acs_entrances",
|
|
10708
|
+
"x-title": "List Entrances"
|
|
10697
10709
|
}
|
|
10698
10710
|
},
|
|
10699
10711
|
"/acs/entrances/list_credentials_with_access": {
|
|
10700
10712
|
post: {
|
|
10713
|
+
description: "Returns a list of all [credentials](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) with access to a specified [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).",
|
|
10701
10714
|
operationId: "acsEntrancesListCredentialsWithAccessPost",
|
|
10702
10715
|
requestBody: {
|
|
10703
10716
|
content: {
|
|
@@ -10752,7 +10765,8 @@ var openapi_default = {
|
|
|
10752
10765
|
"x-fern-sdk-group-name": ["acs", "entrances"],
|
|
10753
10766
|
"x-fern-sdk-method-name": "list_credentials_with_access",
|
|
10754
10767
|
"x-fern-sdk-return-value": "acs_credentials",
|
|
10755
|
-
"x-response-key": "acs_credentials"
|
|
10768
|
+
"x-response-key": "acs_credentials",
|
|
10769
|
+
"x-title": "List Credentials with Access to an Entrance"
|
|
10756
10770
|
}
|
|
10757
10771
|
},
|
|
10758
10772
|
"/acs/systems/get": {
|