@seamapi/types 1.731.0 → 1.733.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.
Files changed (30) hide show
  1. package/dist/connect.cjs +58 -0
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +195 -0
  4. package/dist/index.cjs +58 -0
  5. package/dist/index.cjs.map +1 -1
  6. package/lib/seam/connect/models/acs/acs-entrance.d.ts +23 -0
  7. package/lib/seam/connect/models/acs/acs-entrance.js +4 -1
  8. package/lib/seam/connect/models/acs/acs-entrance.js.map +1 -1
  9. package/lib/seam/connect/models/acs/metadata/brivo.d.ts +15 -0
  10. package/lib/seam/connect/models/acs/metadata/brivo.js +15 -0
  11. package/lib/seam/connect/models/acs/metadata/brivo.js.map +1 -0
  12. package/lib/seam/connect/models/acs/metadata/index.d.ts +1 -0
  13. package/lib/seam/connect/models/acs/metadata/index.js +1 -0
  14. package/lib/seam/connect/models/acs/metadata/index.js.map +1 -1
  15. package/lib/seam/connect/models/batch.d.ts +33 -0
  16. package/lib/seam/connect/models/customer/customer-portal.d.ts +4 -0
  17. package/lib/seam/connect/models/customer/customer-portal.js +8 -0
  18. package/lib/seam/connect/models/customer/customer-portal.js.map +1 -1
  19. package/lib/seam/connect/models/phones/phone-session.d.ts +96 -0
  20. package/lib/seam/connect/openapi.d.ts +47 -0
  21. package/lib/seam/connect/openapi.js +50 -0
  22. package/lib/seam/connect/openapi.js.map +1 -1
  23. package/lib/seam/connect/route-types.d.ts +92 -0
  24. package/package.json +1 -1
  25. package/src/lib/seam/connect/models/acs/acs-entrance.ts +6 -0
  26. package/src/lib/seam/connect/models/acs/metadata/brivo.ts +19 -0
  27. package/src/lib/seam/connect/models/acs/metadata/index.ts +1 -0
  28. package/src/lib/seam/connect/models/customer/customer-portal.ts +8 -0
  29. package/src/lib/seam/connect/openapi.ts +58 -0
  30. package/src/lib/seam/connect/route-types.ts +112 -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"
@@ -49921,6 +49973,12 @@ var openapi_default = {
49921
49973
  },
49922
49974
  description: "Configuration for a customer portal",
49923
49975
  properties: {
49976
+ _dev: {
49977
+ default: false,
49978
+ description: "Whether the portal is in developer mode. Only available for Seam employees.",
49979
+ type: "boolean",
49980
+ "x-undocumented": "Internal developer mode flag."
49981
+ },
49924
49982
  customer_resources_filters: {
49925
49983
  description: "Filter configuration for resources based on their custom_metadata. Each filter specifies a field, operation, and value to match against resource custom_metadata.",
49926
49984
  items: {