@seamapi/types 1.340.1 → 1.341.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 CHANGED
@@ -1694,7 +1694,7 @@ var acs_credential = common_acs_credential.merge(
1694
1694
  ---
1695
1695
  route_path: /acs/credentials
1696
1696
  ---
1697
- ${getAcsCredentialDescription()}
1697
+ Means by which a user gains access at an entrance. The \`acs_credential\` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code.
1698
1698
  `);
1699
1699
  var unmanaged_acs_credential = common_acs_credential.merge(
1700
1700
  zod.z.object({
@@ -1704,14 +1704,8 @@ var unmanaged_acs_credential = common_acs_credential.merge(
1704
1704
  ---
1705
1705
  route_path: /acs/credentials/unmanaged
1706
1706
  ---
1707
- ${getAcsCredentialDescription(false)}
1707
+ Means by which a user gains access at an entrance. The \`unmanaged_acs_credential\` object, which is not managed by Seam, represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code.
1708
1708
  `);
1709
- function getAcsCredentialDescription(is_managed = true) {
1710
- const resource_name = is_managed ? "acs_credential" : "unmanaged_acs_credential";
1711
- const management_clause = is_managed ? "" : ", which is not managed by Seam,";
1712
- return `Means by which a user gains access at an entrance.
1713
- The \`${resource_name}\` object${management_clause} represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code.`.trim();
1714
- }
1715
1709
  var acs_credential_on_encoder = zod.z.object({
1716
1710
  created_at: zod.z.string().datetime().nullable().describe("Date and time the credential was created."),
1717
1711
  is_issued: zod.z.boolean().nullable(),
@@ -4512,7 +4506,7 @@ var openapi_default = {
4512
4506
  "x-route-path": "/acs/access_groups"
4513
4507
  },
4514
4508
  acs_credential: {
4515
- description: "Means by which a user gains access at an entrance.\nThe `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code.",
4509
+ description: "Means by which a user gains access at an entrance. The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code.",
4516
4510
  properties: {
4517
4511
  access_method: {
4518
4512
  description: "Access method for the credential. Supported values: `code`, `card`, `mobile_key`.",
@@ -5960,7 +5954,7 @@ var openapi_default = {
5960
5954
  nullable: true,
5961
5955
  oneOf: [
5962
5956
  {
5963
- description: "Means by which a user gains access at an entrance.\nThe `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code.",
5957
+ description: "Means by which a user gains access at an entrance. The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code.",
5964
5958
  properties: {
5965
5959
  access_method: {
5966
5960
  description: "Access method for the credential. Supported values: `code`, `card`, `mobile_key`.",
@@ -6296,7 +6290,7 @@ var openapi_default = {
6296
6290
  "x-route-path": "/acs/credentials"
6297
6291
  },
6298
6292
  {
6299
- description: "Means by which a user gains access at an entrance.\nThe `unmanaged_acs_credential` object, which is not managed by Seam, represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code.",
6293
+ description: "Means by which a user gains access at an entrance. The `unmanaged_acs_credential` object, which is not managed by Seam, represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code.",
6300
6294
  properties: {
6301
6295
  access_method: {
6302
6296
  description: "Access method for the credential. Supported values: `code`, `card`, `mobile_key`.",
@@ -6761,10 +6755,10 @@ var openapi_default = {
6761
6755
  action_type: { enum: ["ENCODE_CREDENTIAL"], type: "string" },
6762
6756
  error: { nullable: true },
6763
6757
  result: {
6764
- description: "Means by which a user gains access at an entrance.\nThe `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code.",
6758
+ description: "Means by which a user gains access at an entrance. The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code.",
6765
6759
  oneOf: [
6766
6760
  {
6767
- description: "Means by which a user gains access at an entrance.\nThe `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code.",
6761
+ description: "Means by which a user gains access at an entrance. The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code.",
6768
6762
  properties: {
6769
6763
  access_method: {
6770
6764
  description: "Access method for the credential. Supported values: `code`, `card`, `mobile_key`.",
@@ -7098,7 +7092,7 @@ var openapi_default = {
7098
7092
  "x-route-path": "/acs/credentials"
7099
7093
  },
7100
7094
  {
7101
- description: "Means by which a user gains access at an entrance.\nThe `unmanaged_acs_credential` object, which is not managed by Seam, represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code.",
7095
+ description: "Means by which a user gains access at an entrance. The `unmanaged_acs_credential` object, which is not managed by Seam, represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code.",
7102
7096
  properties: {
7103
7097
  access_method: {
7104
7098
  description: "Access method for the credential. Supported values: `code`, `card`, `mobile_key`.",
@@ -16095,7 +16089,7 @@ var openapi_default = {
16095
16089
  "x-route-path": "/acs/access_groups/unmanaged"
16096
16090
  },
16097
16091
  unmanaged_acs_credential: {
16098
- description: "Means by which a user gains access at an entrance.\nThe `unmanaged_acs_credential` object, which is not managed by Seam, represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code.",
16092
+ description: "Means by which a user gains access at an entrance. The `unmanaged_acs_credential` object, which is not managed by Seam, represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code.",
16099
16093
  properties: {
16100
16094
  access_method: {
16101
16095
  description: "Access method for the credential. Supported values: `code`, `card`, `mobile_key`.",
@@ -27872,6 +27866,52 @@ var openapi_default = {
27872
27866
  "x-title": "Set a Temperature Threshold"
27873
27867
  }
27874
27868
  },
27869
+ "/thermostats/simulate/temperature_reached": {
27870
+ post: {
27871
+ operationId: "thermostatsSimulateTemperatureReachedPost",
27872
+ requestBody: {
27873
+ content: {
27874
+ "application/json": {
27875
+ schema: {
27876
+ properties: {
27877
+ device_id: { format: "uuid", type: "string" },
27878
+ temperature_celsius: { format: "float", type: "number" },
27879
+ temperature_fahrenheit: { format: "float", type: "number" }
27880
+ },
27881
+ required: ["device_id"],
27882
+ type: "object"
27883
+ }
27884
+ }
27885
+ }
27886
+ },
27887
+ responses: {
27888
+ 200: {
27889
+ content: {
27890
+ "application/json": {
27891
+ schema: {
27892
+ properties: { ok: { type: "boolean" } },
27893
+ required: ["ok"],
27894
+ type: "object"
27895
+ }
27896
+ }
27897
+ },
27898
+ description: "OK"
27899
+ },
27900
+ 400: { description: "Bad Request" },
27901
+ 401: { description: "Unauthorized" }
27902
+ },
27903
+ security: [
27904
+ { api_key: [] },
27905
+ { pat_with_workspace: [] },
27906
+ { console_session_with_workspace: [] }
27907
+ ],
27908
+ summary: "/thermostats/simulate/temperature_reached",
27909
+ tags: ["/thermostats"],
27910
+ "x-fern-sdk-group-name": ["thermostats", "simulate"],
27911
+ "x-fern-sdk-method-name": "temperature_reached",
27912
+ "x-response-key": null
27913
+ }
27914
+ },
27875
27915
  "/thermostats/update_climate_preset": {
27876
27916
  patch: {
27877
27917
  description: "Updates a specified [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) for a specified [thermostat](https://docs.seam.co/latest/capability-guides/thermostats).",