@seamapi/types 1.730.0 → 1.732.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 +92 -4
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +224 -10
- package/dist/index.cjs +92 -4
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/acs/acs-entrance.d.ts +23 -0
- package/lib/seam/connect/models/acs/acs-entrance.js +4 -1
- package/lib/seam/connect/models/acs/acs-entrance.js.map +1 -1
- package/lib/seam/connect/models/acs/metadata/brivo.d.ts +15 -0
- package/lib/seam/connect/models/acs/metadata/brivo.js +15 -0
- package/lib/seam/connect/models/acs/metadata/brivo.js.map +1 -0
- package/lib/seam/connect/models/acs/metadata/index.d.ts +1 -0
- package/lib/seam/connect/models/acs/metadata/index.js +1 -0
- package/lib/seam/connect/models/acs/metadata/index.js.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +33 -0
- package/lib/seam/connect/models/phones/phone-session.d.ts +96 -0
- package/lib/seam/connect/openapi.d.ts +74 -10
- package/lib/seam/connect/openapi.js +84 -4
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +94 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-entrance.ts +6 -0
- package/src/lib/seam/connect/models/acs/metadata/brivo.ts +19 -0
- package/src/lib/seam/connect/models/acs/metadata/index.ts +1 -0
- package/src/lib/seam/connect/openapi.ts +95 -4
- package/src/lib/seam/connect/route-types.ts +114 -0
package/dist/connect.cjs
CHANGED
|
@@ -2937,6 +2937,11 @@ var acs_credential_vostio_metadata = zod.z.object({
|
|
|
2937
2937
|
}).describe(
|
|
2938
2938
|
"ASSA ABLOY Vostio-specific metadata associated with the credential."
|
|
2939
2939
|
);
|
|
2940
|
+
var acs_entrance_brivo_metadata = zod.z.object({
|
|
2941
|
+
access_point_id: zod.z.string().describe("ID of the access point in the Brivo access system."),
|
|
2942
|
+
site_id: zod.z.number().describe("ID of the site that the access point belongs to."),
|
|
2943
|
+
site_name: zod.z.string().describe("Name of the site that the access point belongs to.")
|
|
2944
|
+
}).describe("Brivo-specific metadata associated with the entrance.");
|
|
2940
2945
|
var acs_entrance_dormakaba_ambiance_metadata = zod.z.object({
|
|
2941
2946
|
access_point_name: zod.z.string().describe(
|
|
2942
2947
|
"Name of the access point in the dormakaba Ambiance access system."
|
|
@@ -3379,6 +3384,9 @@ var acs_entrance = zod.z.object({
|
|
|
3379
3384
|
),
|
|
3380
3385
|
dormakaba_ambiance_metadata: acs_entrance_dormakaba_ambiance_metadata.optional().describe(
|
|
3381
3386
|
"dormakaba Ambiance-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details)."
|
|
3387
|
+
),
|
|
3388
|
+
brivo_metadata: acs_entrance_brivo_metadata.optional().describe(
|
|
3389
|
+
"Brivo-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details)."
|
|
3382
3390
|
)
|
|
3383
3391
|
}).merge(acs_entrance_capability_flags).describe(`
|
|
3384
3392
|
---
|
|
@@ -9387,6 +9395,26 @@ var openapi_default = {
|
|
|
9387
9395
|
required: ["door_type", "door_name"],
|
|
9388
9396
|
type: "object"
|
|
9389
9397
|
},
|
|
9398
|
+
brivo_metadata: {
|
|
9399
|
+
description: "Brivo-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).",
|
|
9400
|
+
properties: {
|
|
9401
|
+
access_point_id: {
|
|
9402
|
+
description: "ID of the access point in the Brivo access system.",
|
|
9403
|
+
type: "string"
|
|
9404
|
+
},
|
|
9405
|
+
site_id: {
|
|
9406
|
+
description: "ID of the site that the access point belongs to.",
|
|
9407
|
+
format: "float",
|
|
9408
|
+
type: "number"
|
|
9409
|
+
},
|
|
9410
|
+
site_name: {
|
|
9411
|
+
description: "Name of the site that the access point belongs to.",
|
|
9412
|
+
type: "string"
|
|
9413
|
+
}
|
|
9414
|
+
},
|
|
9415
|
+
required: ["access_point_id", "site_id", "site_name"],
|
|
9416
|
+
type: "object"
|
|
9417
|
+
},
|
|
9390
9418
|
can_belong_to_reservation: {
|
|
9391
9419
|
description: "Indicates whether the ACS entrance can belong to a reservation via an access_grant.reservation_key.",
|
|
9392
9420
|
type: "boolean"
|
|
@@ -27407,6 +27435,30 @@ var openapi_default = {
|
|
|
27407
27435
|
required: ["door_type", "door_name"],
|
|
27408
27436
|
type: "object"
|
|
27409
27437
|
},
|
|
27438
|
+
brivo_metadata: {
|
|
27439
|
+
description: "Brivo-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).",
|
|
27440
|
+
properties: {
|
|
27441
|
+
access_point_id: {
|
|
27442
|
+
description: "ID of the access point in the Brivo access system.",
|
|
27443
|
+
type: "string"
|
|
27444
|
+
},
|
|
27445
|
+
site_id: {
|
|
27446
|
+
description: "ID of the site that the access point belongs to.",
|
|
27447
|
+
format: "float",
|
|
27448
|
+
type: "number"
|
|
27449
|
+
},
|
|
27450
|
+
site_name: {
|
|
27451
|
+
description: "Name of the site that the access point belongs to.",
|
|
27452
|
+
type: "string"
|
|
27453
|
+
}
|
|
27454
|
+
},
|
|
27455
|
+
required: [
|
|
27456
|
+
"access_point_id",
|
|
27457
|
+
"site_id",
|
|
27458
|
+
"site_name"
|
|
27459
|
+
],
|
|
27460
|
+
type: "object"
|
|
27461
|
+
},
|
|
27410
27462
|
can_belong_to_reservation: {
|
|
27411
27463
|
description: "Indicates whether the ACS entrance can belong to a reservation via an access_grant.reservation_key.",
|
|
27412
27464
|
type: "boolean"
|
|
@@ -65072,6 +65124,14 @@ var openapi_default = {
|
|
|
65072
65124
|
description: "Returns a single reservation for a specific customer by reservation ID.",
|
|
65073
65125
|
operationId: "seamCustomerV1ReservationsGetGet",
|
|
65074
65126
|
parameters: [
|
|
65127
|
+
{
|
|
65128
|
+
in: "query",
|
|
65129
|
+
name: "customer_key",
|
|
65130
|
+
schema: {
|
|
65131
|
+
description: "The customer_key identifying the customer. Required when not using client_session_with_customer auth.",
|
|
65132
|
+
type: "string"
|
|
65133
|
+
}
|
|
65134
|
+
},
|
|
65075
65135
|
{
|
|
65076
65136
|
in: "query",
|
|
65077
65137
|
name: "reservation_id",
|
|
@@ -65218,7 +65278,10 @@ var openapi_default = {
|
|
|
65218
65278
|
400: { description: "Bad Request" },
|
|
65219
65279
|
401: { description: "Unauthorized" }
|
|
65220
65280
|
},
|
|
65221
|
-
security: [
|
|
65281
|
+
security: [
|
|
65282
|
+
{ client_session_with_customer: [] },
|
|
65283
|
+
{ console_session_with_workspace: [] }
|
|
65284
|
+
],
|
|
65222
65285
|
summary: "/seam/customer/v1/reservations/get",
|
|
65223
65286
|
tags: [],
|
|
65224
65287
|
"x-fern-sdk-group-name": ["seam", "customer", "v1", "reservations"],
|
|
@@ -65236,6 +65299,10 @@ var openapi_default = {
|
|
|
65236
65299
|
"application/json": {
|
|
65237
65300
|
schema: {
|
|
65238
65301
|
properties: {
|
|
65302
|
+
customer_key: {
|
|
65303
|
+
description: "The customer_key identifying the customer. Required when not using client_session_with_customer auth.",
|
|
65304
|
+
type: "string"
|
|
65305
|
+
},
|
|
65239
65306
|
reservation_id: {
|
|
65240
65307
|
description: "ID of the reservation to retrieve.",
|
|
65241
65308
|
format: "uuid",
|
|
@@ -65379,7 +65446,10 @@ var openapi_default = {
|
|
|
65379
65446
|
400: { description: "Bad Request" },
|
|
65380
65447
|
401: { description: "Unauthorized" }
|
|
65381
65448
|
},
|
|
65382
|
-
security: [
|
|
65449
|
+
security: [
|
|
65450
|
+
{ client_session_with_customer: [] },
|
|
65451
|
+
{ console_session_with_workspace: [] }
|
|
65452
|
+
],
|
|
65383
65453
|
summary: "/seam/customer/v1/reservations/get",
|
|
65384
65454
|
tags: [],
|
|
65385
65455
|
"x-fern-sdk-group-name": ["seam", "customer", "v1", "reservations"],
|
|
@@ -65395,6 +65465,14 @@ var openapi_default = {
|
|
|
65395
65465
|
description: "Returns a list of reservations for a specific customer. This endpoint is designed for customer portals and supports filtering by space_key.",
|
|
65396
65466
|
operationId: "seamCustomerV1ReservationsListGet",
|
|
65397
65467
|
parameters: [
|
|
65468
|
+
{
|
|
65469
|
+
in: "query",
|
|
65470
|
+
name: "customer_key",
|
|
65471
|
+
schema: {
|
|
65472
|
+
description: "The customer_key identifying the customer. Required when not using client_session_with_customer auth.",
|
|
65473
|
+
type: "string"
|
|
65474
|
+
}
|
|
65475
|
+
},
|
|
65398
65476
|
{
|
|
65399
65477
|
in: "query",
|
|
65400
65478
|
name: "space_key",
|
|
@@ -65617,7 +65695,10 @@ var openapi_default = {
|
|
|
65617
65695
|
400: { description: "Bad Request" },
|
|
65618
65696
|
401: { description: "Unauthorized" }
|
|
65619
65697
|
},
|
|
65620
|
-
security: [
|
|
65698
|
+
security: [
|
|
65699
|
+
{ client_session_with_customer: [] },
|
|
65700
|
+
{ console_session_with_workspace: [] }
|
|
65701
|
+
],
|
|
65621
65702
|
summary: "/seam/customer/v1/reservations/list",
|
|
65622
65703
|
tags: [],
|
|
65623
65704
|
"x-fern-sdk-group-name": ["seam", "customer", "v1", "reservations"],
|
|
@@ -65640,6 +65721,10 @@ var openapi_default = {
|
|
|
65640
65721
|
format: "date-time",
|
|
65641
65722
|
type: "string"
|
|
65642
65723
|
},
|
|
65724
|
+
customer_key: {
|
|
65725
|
+
description: "The customer_key identifying the customer. Required when not using client_session_with_customer auth.",
|
|
65726
|
+
type: "string"
|
|
65727
|
+
},
|
|
65643
65728
|
limit: {
|
|
65644
65729
|
default: 500,
|
|
65645
65730
|
description: "Maximum number of records to return per page.",
|
|
@@ -65838,7 +65923,10 @@ var openapi_default = {
|
|
|
65838
65923
|
400: { description: "Bad Request" },
|
|
65839
65924
|
401: { description: "Unauthorized" }
|
|
65840
65925
|
},
|
|
65841
|
-
security: [
|
|
65926
|
+
security: [
|
|
65927
|
+
{ client_session_with_customer: [] },
|
|
65928
|
+
{ console_session_with_workspace: [] }
|
|
65929
|
+
],
|
|
65842
65930
|
summary: "/seam/customer/v1/reservations/list",
|
|
65843
65931
|
tags: [],
|
|
65844
65932
|
"x-fern-sdk-group-name": ["seam", "customer", "v1", "reservations"],
|