@seamapi/types 1.262.1 → 1.263.1
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 +118 -5
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +646 -0
- package/lib/seam/connect/openapi.d.ts +189 -0
- package/lib/seam/connect/openapi.js +118 -5
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +457 -0
- package/package.json +2 -2
- package/src/lib/seam/connect/openapi.ts +118 -5
- package/src/lib/seam/connect/route-types.ts +631 -0
package/dist/connect.cjs
CHANGED
|
@@ -8241,6 +8241,115 @@ var openapi_default = {
|
|
|
8241
8241
|
"x-response-key": null
|
|
8242
8242
|
}
|
|
8243
8243
|
},
|
|
8244
|
+
"/access_codes/update_multiple": {
|
|
8245
|
+
patch: {
|
|
8246
|
+
operationId: "accessCodesUpdateMultiplePatch",
|
|
8247
|
+
requestBody: {
|
|
8248
|
+
content: {
|
|
8249
|
+
"application/json": {
|
|
8250
|
+
schema: {
|
|
8251
|
+
properties: {
|
|
8252
|
+
allow_external_modification: { type: "boolean" },
|
|
8253
|
+
code: {
|
|
8254
|
+
maxLength: 9,
|
|
8255
|
+
minLength: 4,
|
|
8256
|
+
pattern: "^\\d+$",
|
|
8257
|
+
type: "string"
|
|
8258
|
+
},
|
|
8259
|
+
common_code_key: { type: "string" },
|
|
8260
|
+
ends_at: { type: "string" },
|
|
8261
|
+
is_external_modification_allowed: { type: "boolean" },
|
|
8262
|
+
name: { type: "string" },
|
|
8263
|
+
prefer_native_scheduling: { type: "boolean" },
|
|
8264
|
+
starts_at: { type: "string" }
|
|
8265
|
+
},
|
|
8266
|
+
required: ["common_code_key"],
|
|
8267
|
+
type: "object"
|
|
8268
|
+
}
|
|
8269
|
+
}
|
|
8270
|
+
}
|
|
8271
|
+
},
|
|
8272
|
+
responses: {
|
|
8273
|
+
200: {
|
|
8274
|
+
content: {
|
|
8275
|
+
"application/json": {
|
|
8276
|
+
schema: {
|
|
8277
|
+
properties: { ok: { type: "boolean" } },
|
|
8278
|
+
required: ["ok"],
|
|
8279
|
+
type: "object"
|
|
8280
|
+
}
|
|
8281
|
+
}
|
|
8282
|
+
},
|
|
8283
|
+
description: "OK"
|
|
8284
|
+
},
|
|
8285
|
+
400: { description: "Bad Request" },
|
|
8286
|
+
401: { description: "Unauthorized" }
|
|
8287
|
+
},
|
|
8288
|
+
security: [
|
|
8289
|
+
{ client_session: [] },
|
|
8290
|
+
{ pat_with_workspace: [] },
|
|
8291
|
+
{ console_session: [] },
|
|
8292
|
+
{ api_key: [] }
|
|
8293
|
+
],
|
|
8294
|
+
summary: "/access_codes/update_multiple",
|
|
8295
|
+
tags: ["/access_codes"],
|
|
8296
|
+
"x-fern-ignore": true
|
|
8297
|
+
},
|
|
8298
|
+
post: {
|
|
8299
|
+
operationId: "accessCodesUpdateMultiplePost",
|
|
8300
|
+
requestBody: {
|
|
8301
|
+
content: {
|
|
8302
|
+
"application/json": {
|
|
8303
|
+
schema: {
|
|
8304
|
+
properties: {
|
|
8305
|
+
allow_external_modification: { type: "boolean" },
|
|
8306
|
+
code: {
|
|
8307
|
+
maxLength: 9,
|
|
8308
|
+
minLength: 4,
|
|
8309
|
+
pattern: "^\\d+$",
|
|
8310
|
+
type: "string"
|
|
8311
|
+
},
|
|
8312
|
+
common_code_key: { type: "string" },
|
|
8313
|
+
ends_at: { type: "string" },
|
|
8314
|
+
is_external_modification_allowed: { type: "boolean" },
|
|
8315
|
+
name: { type: "string" },
|
|
8316
|
+
prefer_native_scheduling: { type: "boolean" },
|
|
8317
|
+
starts_at: { type: "string" }
|
|
8318
|
+
},
|
|
8319
|
+
required: ["common_code_key"],
|
|
8320
|
+
type: "object"
|
|
8321
|
+
}
|
|
8322
|
+
}
|
|
8323
|
+
}
|
|
8324
|
+
},
|
|
8325
|
+
responses: {
|
|
8326
|
+
200: {
|
|
8327
|
+
content: {
|
|
8328
|
+
"application/json": {
|
|
8329
|
+
schema: {
|
|
8330
|
+
properties: { ok: { type: "boolean" } },
|
|
8331
|
+
required: ["ok"],
|
|
8332
|
+
type: "object"
|
|
8333
|
+
}
|
|
8334
|
+
}
|
|
8335
|
+
},
|
|
8336
|
+
description: "OK"
|
|
8337
|
+
},
|
|
8338
|
+
400: { description: "Bad Request" },
|
|
8339
|
+
401: { description: "Unauthorized" }
|
|
8340
|
+
},
|
|
8341
|
+
security: [
|
|
8342
|
+
{ client_session: [] },
|
|
8343
|
+
{ pat_with_workspace: [] },
|
|
8344
|
+
{ console_session: [] },
|
|
8345
|
+
{ api_key: [] }
|
|
8346
|
+
],
|
|
8347
|
+
summary: "/access_codes/update_multiple",
|
|
8348
|
+
tags: ["/access_codes"],
|
|
8349
|
+
"x-fern-sdk-group-name": ["access_codes"],
|
|
8350
|
+
"x-fern-sdk-method-name": "update_multiple"
|
|
8351
|
+
}
|
|
8352
|
+
},
|
|
8244
8353
|
"/acs/access_groups/add_user": {
|
|
8245
8354
|
post: {
|
|
8246
8355
|
operationId: "acsAccessGroupsAddUserPost",
|
|
@@ -10342,7 +10451,7 @@ var openapi_default = {
|
|
|
10342
10451
|
},
|
|
10343
10452
|
"/acs/systems/list": {
|
|
10344
10453
|
post: {
|
|
10345
|
-
description: "Returns a list of all [access control systems](https://docs.seam.co/latest/capability-guides/access-systems).\n\nTo filter the list of returned access control systems by a specific connected account ID, include the
|
|
10454
|
+
description: "Returns a list of all [access control systems](https://docs.seam.co/latest/capability-guides/access-systems).\n\nTo filter the list of returned access control systems by a specific connected account ID, include the\n`connected_account_id` in the request body. If you omit the `connected_account_id` parameter, the\nresponse includes all access control systems connected to your workspace.",
|
|
10346
10455
|
operationId: "acsSystemsListPost",
|
|
10347
10456
|
requestBody: {
|
|
10348
10457
|
content: {
|
|
@@ -10399,7 +10508,7 @@ var openapi_default = {
|
|
|
10399
10508
|
},
|
|
10400
10509
|
"/acs/systems/list_compatible_credential_manager_acs_systems": {
|
|
10401
10510
|
post: {
|
|
10402
|
-
description: "Returns a list of all credential manager ACS systems that are compatible with a specified
|
|
10511
|
+
description: "Returns a list of all credential manager ACS systems that are compatible with a specified\n[access control system](https://docs.seam.co/latest/capability-guides/access-systems).\n\nSpecify the ACS system for which you want to retrieve all compatible credential manager ACS\nsystems by including the corresponding `acs_system_id` in the request body.",
|
|
10403
10512
|
operationId: "acsSystemsListCompatibleCredentialManagerAcsSystemsPost",
|
|
10404
10513
|
requestBody: {
|
|
10405
10514
|
content: {
|
|
@@ -16404,13 +16513,17 @@ var openapi_default = {
|
|
|
16404
16513
|
"application/json": {
|
|
16405
16514
|
schema: {
|
|
16406
16515
|
properties: {
|
|
16516
|
+
devices: {
|
|
16517
|
+
items: { $ref: "#/components/schemas/device" },
|
|
16518
|
+
type: "array"
|
|
16519
|
+
},
|
|
16407
16520
|
ok: { type: "boolean" },
|
|
16408
16521
|
thermostats: {
|
|
16409
16522
|
items: { $ref: "#/components/schemas/device" },
|
|
16410
16523
|
type: "array"
|
|
16411
16524
|
}
|
|
16412
16525
|
},
|
|
16413
|
-
required: ["thermostats", "ok"],
|
|
16526
|
+
required: ["thermostats", "devices", "ok"],
|
|
16414
16527
|
type: "object"
|
|
16415
16528
|
}
|
|
16416
16529
|
}
|
|
@@ -16430,8 +16543,8 @@ var openapi_default = {
|
|
|
16430
16543
|
tags: ["/thermostats"],
|
|
16431
16544
|
"x-fern-sdk-group-name": ["thermostats"],
|
|
16432
16545
|
"x-fern-sdk-method-name": "list",
|
|
16433
|
-
"x-fern-sdk-return-value": "
|
|
16434
|
-
"x-response-key": "
|
|
16546
|
+
"x-fern-sdk-return-value": "devices",
|
|
16547
|
+
"x-response-key": "devices"
|
|
16435
16548
|
}
|
|
16436
16549
|
},
|
|
16437
16550
|
"/thermostats/off": {
|