@seamapi/types 1.300.2 → 1.302.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 +79 -1
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +199 -0
- package/lib/seam/connect/models/devices/device-provider.d.ts +1 -1
- package/lib/seam/connect/models/devices/device-provider.js +1 -0
- package/lib/seam/connect/models/devices/device-provider.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +91 -0
- package/lib/seam/connect/openapi.js +77 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +108 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/devices/device-provider.ts +1 -0
- package/src/lib/seam/connect/openapi.ts +83 -0
- package/src/lib/seam/connect/route-types.ts +123 -0
package/dist/connect.cjs
CHANGED
|
@@ -989,7 +989,8 @@ var PROVIDER_CATEGORY_MAP = {
|
|
|
989
989
|
"honeywell_resideo",
|
|
990
990
|
"visionline",
|
|
991
991
|
"assa_abloy_credential_service",
|
|
992
|
-
"latch"
|
|
992
|
+
"latch",
|
|
993
|
+
"akiles"
|
|
993
994
|
],
|
|
994
995
|
consumer_smartlocks: [
|
|
995
996
|
"august",
|
|
@@ -11406,6 +11407,83 @@ var openapi_default = {
|
|
|
11406
11407
|
"x-title": "Create a Credential for an ACS User"
|
|
11407
11408
|
}
|
|
11408
11409
|
},
|
|
11410
|
+
"/acs/credentials/create_offline_code": {
|
|
11411
|
+
post: {
|
|
11412
|
+
description: "Creates a new offline [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) for a specified [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management).",
|
|
11413
|
+
operationId: "acsCredentialsCreateOfflineCodePost",
|
|
11414
|
+
requestBody: {
|
|
11415
|
+
content: {
|
|
11416
|
+
"application/json": {
|
|
11417
|
+
schema: {
|
|
11418
|
+
properties: {
|
|
11419
|
+
acs_user_id: {
|
|
11420
|
+
description: "ID of the ACS user to whom the new credential belongs.",
|
|
11421
|
+
format: "uuid",
|
|
11422
|
+
type: "string"
|
|
11423
|
+
},
|
|
11424
|
+
allowed_acs_entrance_id: {
|
|
11425
|
+
description: "IDs of the [`acs_entrance`s](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details) for which the new credential grants access.",
|
|
11426
|
+
format: "uuid",
|
|
11427
|
+
type: "string"
|
|
11428
|
+
},
|
|
11429
|
+
ends_at: {
|
|
11430
|
+
description: "Date and time at which the validity of the new credential ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. Must be a time in the future and after `starts_at`.",
|
|
11431
|
+
format: "date-time",
|
|
11432
|
+
type: "string"
|
|
11433
|
+
},
|
|
11434
|
+
is_one_time_use: {
|
|
11435
|
+
default: false,
|
|
11436
|
+
description: "Indicates whether the code is one-time-use or reusable.",
|
|
11437
|
+
type: "boolean"
|
|
11438
|
+
},
|
|
11439
|
+
starts_at: {
|
|
11440
|
+
description: "Date and time at which the validity of the new credential starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
|
|
11441
|
+
format: "date-time",
|
|
11442
|
+
type: "string"
|
|
11443
|
+
}
|
|
11444
|
+
},
|
|
11445
|
+
required: ["acs_user_id"],
|
|
11446
|
+
type: "object"
|
|
11447
|
+
}
|
|
11448
|
+
}
|
|
11449
|
+
}
|
|
11450
|
+
},
|
|
11451
|
+
responses: {
|
|
11452
|
+
200: {
|
|
11453
|
+
content: {
|
|
11454
|
+
"application/json": {
|
|
11455
|
+
schema: {
|
|
11456
|
+
properties: {
|
|
11457
|
+
acs_credential: {
|
|
11458
|
+
$ref: "#/components/schemas/acs_credential"
|
|
11459
|
+
},
|
|
11460
|
+
ok: { type: "boolean" }
|
|
11461
|
+
},
|
|
11462
|
+
required: ["acs_credential", "ok"],
|
|
11463
|
+
type: "object"
|
|
11464
|
+
}
|
|
11465
|
+
}
|
|
11466
|
+
},
|
|
11467
|
+
description: "OK"
|
|
11468
|
+
},
|
|
11469
|
+
400: { description: "Bad Request" },
|
|
11470
|
+
401: { description: "Unauthorized" }
|
|
11471
|
+
},
|
|
11472
|
+
security: [
|
|
11473
|
+
{ pat_with_workspace: [] },
|
|
11474
|
+
{ console_session: [] },
|
|
11475
|
+
{ api_key: [] }
|
|
11476
|
+
],
|
|
11477
|
+
summary: "/acs/credentials/create_offline_code",
|
|
11478
|
+
tags: ["/acs"],
|
|
11479
|
+
"x-fern-sdk-group-name": ["acs", "credentials"],
|
|
11480
|
+
"x-fern-sdk-method-name": "create_offline_code",
|
|
11481
|
+
"x-fern-sdk-return-value": "acs_credential",
|
|
11482
|
+
"x-response-key": "acs_credential",
|
|
11483
|
+
"x-title": "Create an Offline Credential for an ACS User",
|
|
11484
|
+
"x-undocumented": "Unreleased."
|
|
11485
|
+
}
|
|
11486
|
+
},
|
|
11409
11487
|
"/acs/credentials/delete": {
|
|
11410
11488
|
post: {
|
|
11411
11489
|
description: "Deletes a specified [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials).",
|