@seamapi/types 1.800.0 → 1.802.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/index.cjs CHANGED
@@ -2382,6 +2382,11 @@ var schlage_detected_duplicate = common_access_code_warning.extend({
2382
2382
  var schlage_creation_outage = common_access_code_warning.extend({
2383
2383
  warning_code: zod.z.literal("schlage_creation_outage").describe(warning_code_description3)
2384
2384
  }).describe("Received an error when attempting to create this code.");
2385
+ var schlage_access_code_ambiguous_timezone_dst_risk = common_access_code_warning.extend({
2386
+ warning_code: zod.z.literal("schlage_access_code_ambiguous_timezone_dst_risk").describe(warning_code_description3)
2387
+ }).describe(
2388
+ "The Schlage device's timezone is ambiguous and this code's schedule crosses a daylight-saving transition in at least one plausible timezone. A 1-hour safety buffer has been applied to the side of the schedule affected by the transition (`ends_at` for spring-forward, `starts_at` for fall-back) so the code stays active through the shift \u2014 the code may be usable up to 1 hour beyond your requested window. Set the device's timezone via `/devices/report_provider_metadata` to clear the buffer and guarantee exact DST handling."
2389
+ );
2385
2390
  var delay_in_setting_on_device = common_access_code_warning.extend({
2386
2391
  warning_code: zod.z.literal("delay_in_setting_on_device").describe(warning_code_description3)
2387
2392
  }).describe("Delay in setting code on device.");
@@ -2419,6 +2424,7 @@ var access_code_warning = zod.z.discriminatedUnion("warning_code", [
2419
2424
  smartthings_failed_to_set_access_code_warning,
2420
2425
  schlage_detected_duplicate,
2421
2426
  schlage_creation_outage,
2427
+ schlage_access_code_ambiguous_timezone_dst_risk,
2422
2428
  code_modified_external_to_seam_warning,
2423
2429
  delay_in_setting_on_device,
2424
2430
  delay_in_removing_from_device,
@@ -2438,6 +2444,7 @@ zod.z.object({
2438
2444
  smartthings_failed_to_set_access_code: smartthings_failed_to_set_access_code_warning.optional().nullable(),
2439
2445
  schlage_detected_duplicate: schlage_detected_duplicate.optional().nullable(),
2440
2446
  schlage_creation_outage: schlage_creation_outage.optional().nullable(),
2447
+ schlage_access_code_ambiguous_timezone_dst_risk: schlage_access_code_ambiguous_timezone_dst_risk.optional().nullable(),
2441
2448
  code_modified_external_to_seam_warning: code_modified_external_to_seam_warning.optional().nullable(),
2442
2449
  delay_in_setting_on_device: delay_in_setting_on_device.optional().nullable(),
2443
2450
  delay_in_removing_from_device: delay_in_removing_from_device.optional().nullable(),
@@ -8343,6 +8350,27 @@ var openapi_default = {
8343
8350
  required: ["message", "warning_code"],
8344
8351
  type: "object"
8345
8352
  },
8353
+ {
8354
+ description: "The Schlage device's timezone is ambiguous and this code's schedule crosses a daylight-saving transition in at least one plausible timezone. A 1-hour safety buffer has been applied to the side of the schedule affected by the transition (`ends_at` for spring-forward, `starts_at` for fall-back) so the code stays active through the shift \u2014 the code may be usable up to 1 hour beyond your requested window. Set the device's timezone via `/devices/report_provider_metadata` to clear the buffer and guarantee exact DST handling.",
8355
+ properties: {
8356
+ created_at: {
8357
+ description: "Date and time at which Seam created the warning.",
8358
+ format: "date-time",
8359
+ type: "string"
8360
+ },
8361
+ message: {
8362
+ description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
8363
+ type: "string"
8364
+ },
8365
+ warning_code: {
8366
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
8367
+ enum: ["schlage_access_code_ambiguous_timezone_dst_risk"],
8368
+ type: "string"
8369
+ }
8370
+ },
8371
+ required: ["message", "warning_code"],
8372
+ type: "object"
8373
+ },
8346
8374
  {
8347
8375
  description: "Code was modified or removed externally after Seam successfully set it on the device.",
8348
8376
  properties: {
@@ -31439,6 +31467,27 @@ var openapi_default = {
31439
31467
  required: ["message", "warning_code"],
31440
31468
  type: "object"
31441
31469
  },
31470
+ {
31471
+ description: "The Schlage device's timezone is ambiguous and this code's schedule crosses a daylight-saving transition in at least one plausible timezone. A 1-hour safety buffer has been applied to the side of the schedule affected by the transition (`ends_at` for spring-forward, `starts_at` for fall-back) so the code stays active through the shift \u2014 the code may be usable up to 1 hour beyond your requested window. Set the device's timezone via `/devices/report_provider_metadata` to clear the buffer and guarantee exact DST handling.",
31472
+ properties: {
31473
+ created_at: {
31474
+ description: "Date and time at which Seam created the warning.",
31475
+ format: "date-time",
31476
+ type: "string"
31477
+ },
31478
+ message: {
31479
+ description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
31480
+ type: "string"
31481
+ },
31482
+ warning_code: {
31483
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
31484
+ enum: ["schlage_access_code_ambiguous_timezone_dst_risk"],
31485
+ type: "string"
31486
+ }
31487
+ },
31488
+ required: ["message", "warning_code"],
31489
+ type: "object"
31490
+ },
31442
31491
  {
31443
31492
  description: "Code was modified or removed externally after Seam successfully set it on the device.",
31444
31493
  properties: {
@@ -62902,6 +62951,182 @@ var openapi_default = {
62902
62951
  "x-undocumented": "Seam Bridge Client only."
62903
62952
  }
62904
62953
  },
62954
+ "/seam/connect_webview/v1/get_current_pane": {
62955
+ get: {
62956
+ description: "Returns the current render pane for a [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews).",
62957
+ operationId: "seamConnectWebviewV1GetCurrentPaneGet",
62958
+ parameters: [
62959
+ {
62960
+ in: "query",
62961
+ name: "connect_webview_id",
62962
+ required: true,
62963
+ schema: { format: "uuid", type: "string" }
62964
+ }
62965
+ ],
62966
+ responses: {
62967
+ 200: {
62968
+ content: {
62969
+ "application/json": {
62970
+ schema: {
62971
+ properties: {
62972
+ ok: { type: "boolean" },
62973
+ pane: { $ref: "#/components/schemas/access_code" }
62974
+ },
62975
+ required: ["ok"],
62976
+ type: "object"
62977
+ }
62978
+ }
62979
+ },
62980
+ description: "OK"
62981
+ },
62982
+ 400: { description: "Bad Request" },
62983
+ 401: { description: "Unauthorized" }
62984
+ },
62985
+ security: [{ console_session_with_workspace: [] }],
62986
+ summary: "/seam/connect_webview/v1/get_current_pane",
62987
+ tags: [],
62988
+ "x-fern-sdk-group-name": ["seam", "connect_webview", "v1"],
62989
+ "x-fern-sdk-method-name": "get_current_pane",
62990
+ "x-fern-sdk-return-value": "pane",
62991
+ "x-response-key": "pane",
62992
+ "x-title": "Get Current Pane",
62993
+ "x-undocumented": "Internal endpoint for driving Connect Webview flows programmatically."
62994
+ },
62995
+ post: {
62996
+ description: "Returns the current render pane for a [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews).",
62997
+ operationId: "seamConnectWebviewV1GetCurrentPanePost",
62998
+ requestBody: {
62999
+ content: {
63000
+ "application/json": {
63001
+ schema: {
63002
+ properties: {
63003
+ connect_webview_id: { format: "uuid", type: "string" }
63004
+ },
63005
+ required: ["connect_webview_id"],
63006
+ type: "object"
63007
+ }
63008
+ }
63009
+ }
63010
+ },
63011
+ responses: {
63012
+ 200: {
63013
+ content: {
63014
+ "application/json": {
63015
+ schema: {
63016
+ properties: {
63017
+ ok: { type: "boolean" },
63018
+ pane: { $ref: "#/components/schemas/access_code" }
63019
+ },
63020
+ required: ["ok"],
63021
+ type: "object"
63022
+ }
63023
+ }
63024
+ },
63025
+ description: "OK"
63026
+ },
63027
+ 400: { description: "Bad Request" },
63028
+ 401: { description: "Unauthorized" }
63029
+ },
63030
+ security: [{ console_session_with_workspace: [] }],
63031
+ summary: "/seam/connect_webview/v1/get_current_pane",
63032
+ tags: [],
63033
+ "x-fern-sdk-group-name": ["seam", "connect_webview", "v1"],
63034
+ "x-fern-sdk-method-name": "get_current_pane",
63035
+ "x-fern-sdk-return-value": "pane",
63036
+ "x-response-key": "pane",
63037
+ "x-title": "Get Current Pane",
63038
+ "x-undocumented": "Internal endpoint for driving Connect Webview flows programmatically."
63039
+ }
63040
+ },
63041
+ "/seam/connect_webview/v1/reset": {
63042
+ post: {
63043
+ description: "Resets an errored [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews) so its login flow can be retried.",
63044
+ operationId: "seamConnectWebviewV1ResetPost",
63045
+ requestBody: {
63046
+ content: {
63047
+ "application/json": {
63048
+ schema: {
63049
+ properties: {
63050
+ connect_webview_id: { format: "uuid", type: "string" }
63051
+ },
63052
+ required: ["connect_webview_id"],
63053
+ type: "object"
63054
+ }
63055
+ }
63056
+ }
63057
+ },
63058
+ responses: {
63059
+ 200: {
63060
+ content: {
63061
+ "application/json": {
63062
+ schema: {
63063
+ properties: { ok: { type: "boolean" } },
63064
+ required: ["ok"],
63065
+ type: "object"
63066
+ }
63067
+ }
63068
+ },
63069
+ description: "OK"
63070
+ },
63071
+ 400: { description: "Bad Request" },
63072
+ 401: { description: "Unauthorized" }
63073
+ },
63074
+ security: [{ console_session_with_workspace: [] }],
63075
+ summary: "/seam/connect_webview/v1/reset",
63076
+ tags: [],
63077
+ "x-fern-sdk-group-name": ["seam", "connect_webview", "v1"],
63078
+ "x-fern-sdk-method-name": "reset",
63079
+ "x-fern-sdk-return-value": "ok",
63080
+ "x-response-key": "ok",
63081
+ "x-title": "Reset Connect Webview",
63082
+ "x-undocumented": "Internal endpoint for driving Connect Webview flows programmatically."
63083
+ }
63084
+ },
63085
+ "/seam/connect_webview/v1/submit": {
63086
+ post: {
63087
+ description: "Submits pane arguments to advance a [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews) login state machine.",
63088
+ operationId: "seamConnectWebviewV1SubmitPost",
63089
+ requestBody: {
63090
+ content: {
63091
+ "application/json": {
63092
+ schema: {
63093
+ properties: {
63094
+ connect_webview_id: { format: "uuid", type: "string" },
63095
+ submit_args: {}
63096
+ },
63097
+ required: ["connect_webview_id"],
63098
+ type: "object"
63099
+ }
63100
+ }
63101
+ }
63102
+ },
63103
+ responses: {
63104
+ 200: {
63105
+ content: {
63106
+ "application/json": {
63107
+ schema: {
63108
+ properties: { ok: { type: "boolean" } },
63109
+ required: ["ok"],
63110
+ type: "object"
63111
+ }
63112
+ }
63113
+ },
63114
+ description: "OK"
63115
+ },
63116
+ 400: { description: "Bad Request" },
63117
+ 401: { description: "Unauthorized" }
63118
+ },
63119
+ security: [{ console_session_with_workspace: [] }],
63120
+ summary: "/seam/connect_webview/v1/submit",
63121
+ tags: [],
63122
+ "x-fern-sdk-group-name": ["seam", "connect_webview", "v1"],
63123
+ "x-fern-sdk-method-name": "submit",
63124
+ "x-fern-sdk-return-value": "ok",
63125
+ "x-response-key": "ok",
63126
+ "x-title": "Submit Connect Webview Pane",
63127
+ "x-undocumented": "Internal endpoint for driving Connect Webview flows programmatically."
63128
+ }
63129
+ },
62905
63130
  "/seam/console/v1/get_resource_locator": {
62906
63131
  get: {
62907
63132
  description: "Returns the type and system information of a resource given its UUID.",