@seamapi/types 1.340.0 → 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(),
@@ -2780,9 +2774,12 @@ var acs_credential_issued = acs_credential_event.extend({
2780
2774
  `);
2781
2775
  var acs_credential_reissued = acs_credential_event.extend({
2782
2776
  event_type: zod.z.literal("acs_credential.reissued")
2783
- }).describe(
2784
- "An [ACS credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was reissued."
2785
- );
2777
+ }).describe(`
2778
+ ---
2779
+ route_path: /acs/credentials
2780
+ ---
2781
+ An [ACS credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was reissued.
2782
+ `);
2786
2783
  var acs_credential_events = [
2787
2784
  acs_credential_deleted_event,
2788
2785
  acs_credential_issued,
@@ -4509,7 +4506,7 @@ var openapi_default = {
4509
4506
  "x-route-path": "/acs/access_groups"
4510
4507
  },
4511
4508
  acs_credential: {
4512
- 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.",
4513
4510
  properties: {
4514
4511
  access_method: {
4515
4512
  description: "Access method for the credential. Supported values: `code`, `card`, `mobile_key`.",
@@ -5957,7 +5954,7 @@ var openapi_default = {
5957
5954
  nullable: true,
5958
5955
  oneOf: [
5959
5956
  {
5960
- 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.",
5961
5958
  properties: {
5962
5959
  access_method: {
5963
5960
  description: "Access method for the credential. Supported values: `code`, `card`, `mobile_key`.",
@@ -6293,7 +6290,7 @@ var openapi_default = {
6293
6290
  "x-route-path": "/acs/credentials"
6294
6291
  },
6295
6292
  {
6296
- 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.",
6297
6294
  properties: {
6298
6295
  access_method: {
6299
6296
  description: "Access method for the credential. Supported values: `code`, `card`, `mobile_key`.",
@@ -6758,10 +6755,10 @@ var openapi_default = {
6758
6755
  action_type: { enum: ["ENCODE_CREDENTIAL"], type: "string" },
6759
6756
  error: { nullable: true },
6760
6757
  result: {
6761
- 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.",
6762
6759
  oneOf: [
6763
6760
  {
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.",
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.",
6765
6762
  properties: {
6766
6763
  access_method: {
6767
6764
  description: "Access method for the credential. Supported values: `code`, `card`, `mobile_key`.",
@@ -7095,7 +7092,7 @@ var openapi_default = {
7095
7092
  "x-route-path": "/acs/credentials"
7096
7093
  },
7097
7094
  {
7098
- 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.",
7099
7096
  properties: {
7100
7097
  access_method: {
7101
7098
  description: "Access method for the credential. Supported values: `code`, `card`, `mobile_key`.",
@@ -11769,7 +11766,8 @@ var openapi_default = {
11769
11766
  "acs_credential_id",
11770
11767
  "event_type"
11771
11768
  ],
11772
- type: "object"
11769
+ type: "object",
11770
+ "x-route-path": "/acs/credentials"
11773
11771
  },
11774
11772
  {
11775
11773
  description: "An [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) was deleted.",
@@ -16091,7 +16089,7 @@ var openapi_default = {
16091
16089
  "x-route-path": "/acs/access_groups/unmanaged"
16092
16090
  },
16093
16091
  unmanaged_acs_credential: {
16094
- 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.",
16095
16093
  properties: {
16096
16094
  access_method: {
16097
16095
  description: "Access method for the credential. Supported values: `code`, `card`, `mobile_key`.",
@@ -27868,6 +27866,52 @@ var openapi_default = {
27868
27866
  "x-title": "Set a Temperature Threshold"
27869
27867
  }
27870
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
+ },
27871
27915
  "/thermostats/update_climate_preset": {
27872
27916
  patch: {
27873
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).",