@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.
@@ -1765,6 +1765,13 @@ export type Routes = {
1765
1765
  created_at?: string | undefined;
1766
1766
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
1767
1767
  warning_code: 'schlage_creation_outage';
1768
+ } | {
1769
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
1770
+ message: string;
1771
+ /** Date and time at which Seam created the warning. */
1772
+ created_at?: string | undefined;
1773
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
1774
+ warning_code: 'schlage_access_code_ambiguous_timezone_dst_risk';
1768
1775
  } | {
1769
1776
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
1770
1777
  message: string;
@@ -2393,6 +2400,13 @@ export type Routes = {
2393
2400
  created_at?: string | undefined;
2394
2401
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
2395
2402
  warning_code: 'schlage_creation_outage';
2403
+ } | {
2404
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
2405
+ message: string;
2406
+ /** Date and time at which Seam created the warning. */
2407
+ created_at?: string | undefined;
2408
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
2409
+ warning_code: 'schlage_access_code_ambiguous_timezone_dst_risk';
2396
2410
  } | {
2397
2411
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
2398
2412
  message: string;
@@ -4369,6 +4383,13 @@ export type Routes = {
4369
4383
  created_at?: string | undefined;
4370
4384
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
4371
4385
  warning_code: 'schlage_creation_outage';
4386
+ } | {
4387
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
4388
+ message: string;
4389
+ /** Date and time at which Seam created the warning. */
4390
+ created_at?: string | undefined;
4391
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
4392
+ warning_code: 'schlage_access_code_ambiguous_timezone_dst_risk';
4372
4393
  } | {
4373
4394
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
4374
4395
  message: string;
@@ -5045,6 +5066,13 @@ export type Routes = {
5045
5066
  created_at?: string | undefined;
5046
5067
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
5047
5068
  warning_code: 'schlage_creation_outage';
5069
+ } | {
5070
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
5071
+ message: string;
5072
+ /** Date and time at which Seam created the warning. */
5073
+ created_at?: string | undefined;
5074
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
5075
+ warning_code: 'schlage_access_code_ambiguous_timezone_dst_risk';
5048
5076
  } | {
5049
5077
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
5050
5078
  message: string;
@@ -5664,6 +5692,13 @@ export type Routes = {
5664
5692
  created_at?: string | undefined;
5665
5693
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
5666
5694
  warning_code: 'schlage_creation_outage';
5695
+ } | {
5696
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
5697
+ message: string;
5698
+ /** Date and time at which Seam created the warning. */
5699
+ created_at?: string | undefined;
5700
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
5701
+ warning_code: 'schlage_access_code_ambiguous_timezone_dst_risk';
5667
5702
  } | {
5668
5703
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
5669
5704
  message: string;
@@ -6260,6 +6295,13 @@ export type Routes = {
6260
6295
  created_at?: string | undefined;
6261
6296
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
6262
6297
  warning_code: 'schlage_creation_outage';
6298
+ } | {
6299
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
6300
+ message: string;
6301
+ /** Date and time at which Seam created the warning. */
6302
+ created_at?: string | undefined;
6303
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
6304
+ warning_code: 'schlage_access_code_ambiguous_timezone_dst_risk';
6263
6305
  } | {
6264
6306
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
6265
6307
  message: string;
@@ -6891,6 +6933,13 @@ export type Routes = {
6891
6933
  created_at?: string | undefined;
6892
6934
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
6893
6935
  warning_code: 'schlage_creation_outage';
6936
+ } | {
6937
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
6938
+ message: string;
6939
+ /** Date and time at which Seam created the warning. */
6940
+ created_at?: string | undefined;
6941
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
6942
+ warning_code: 'schlage_access_code_ambiguous_timezone_dst_risk';
6894
6943
  } | {
6895
6944
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
6896
6945
  message: string;
@@ -8774,6 +8823,13 @@ export type Routes = {
8774
8823
  created_at?: string | undefined;
8775
8824
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
8776
8825
  warning_code: 'schlage_creation_outage';
8826
+ } | {
8827
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
8828
+ message: string;
8829
+ /** Date and time at which Seam created the warning. */
8830
+ created_at?: string | undefined;
8831
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
8832
+ warning_code: 'schlage_access_code_ambiguous_timezone_dst_risk';
8777
8833
  } | {
8778
8834
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
8779
8835
  message: string;
@@ -9287,6 +9343,13 @@ export type Routes = {
9287
9343
  created_at?: string | undefined;
9288
9344
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
9289
9345
  warning_code: 'schlage_creation_outage';
9346
+ } | {
9347
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
9348
+ message: string;
9349
+ /** Date and time at which Seam created the warning. */
9350
+ created_at?: string | undefined;
9351
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
9352
+ warning_code: 'schlage_access_code_ambiguous_timezone_dst_risk';
9290
9353
  } | {
9291
9354
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
9292
9355
  message: string;
@@ -61324,6 +61387,49 @@ export type Routes = {
61324
61387
  };
61325
61388
  maxDuration: undefined;
61326
61389
  };
61390
+ '/seam/connect_webview/v1/get_current_pane': {
61391
+ route: '/seam/connect_webview/v1/get_current_pane';
61392
+ method: 'GET' | 'POST';
61393
+ queryParams: {};
61394
+ jsonBody: {};
61395
+ commonParams: {
61396
+ connect_webview_id: string;
61397
+ };
61398
+ formData: {};
61399
+ jsonResponse: {
61400
+ pane?: any;
61401
+ };
61402
+ maxDuration: undefined;
61403
+ };
61404
+ '/seam/connect_webview/v1/reset': {
61405
+ route: '/seam/connect_webview/v1/reset';
61406
+ method: 'POST';
61407
+ queryParams: {};
61408
+ jsonBody: {
61409
+ connect_webview_id: string;
61410
+ };
61411
+ commonParams: {};
61412
+ formData: {};
61413
+ jsonResponse: {
61414
+ ok: boolean;
61415
+ };
61416
+ maxDuration: undefined;
61417
+ };
61418
+ '/seam/connect_webview/v1/submit': {
61419
+ route: '/seam/connect_webview/v1/submit';
61420
+ method: 'POST';
61421
+ queryParams: {};
61422
+ jsonBody: {
61423
+ connect_webview_id: string;
61424
+ submit_args?: any;
61425
+ };
61426
+ commonParams: {};
61427
+ formData: {};
61428
+ jsonResponse: {
61429
+ ok: boolean;
61430
+ };
61431
+ maxDuration: undefined;
61432
+ };
61327
61433
  '/seam/console/v1/get_resource_locator': {
61328
61434
  route: '/seam/console/v1/get_resource_locator';
61329
61435
  method: 'GET' | 'POST';
@@ -99626,6 +99732,13 @@ export type Routes = {
99626
99732
  created_at?: string | undefined;
99627
99733
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
99628
99734
  warning_code: 'schlage_creation_outage';
99735
+ } | {
99736
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
99737
+ message: string;
99738
+ /** Date and time at which Seam created the warning. */
99739
+ created_at?: string | undefined;
99740
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
99741
+ warning_code: 'schlage_access_code_ambiguous_timezone_dst_risk';
99629
99742
  } | {
99630
99743
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
99631
99744
  message: string;
@@ -100123,6 +100236,13 @@ export type Routes = {
100123
100236
  created_at?: string | undefined;
100124
100237
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
100125
100238
  warning_code: 'schlage_creation_outage';
100239
+ } | {
100240
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
100241
+ message: string;
100242
+ /** Date and time at which Seam created the warning. */
100243
+ created_at?: string | undefined;
100244
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
100245
+ warning_code: 'schlage_access_code_ambiguous_timezone_dst_risk';
100126
100246
  } | {
100127
100247
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
100128
100248
  message: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.800.0",
3
+ "version": "1.802.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -368,6 +368,17 @@ const schlage_creation_outage = common_access_code_warning
368
368
  })
369
369
  .describe('Received an error when attempting to create this code.')
370
370
 
371
+ const schlage_access_code_ambiguous_timezone_dst_risk =
372
+ common_access_code_warning
373
+ .extend({
374
+ warning_code: z
375
+ .literal('schlage_access_code_ambiguous_timezone_dst_risk')
376
+ .describe(warning_code_description),
377
+ })
378
+ .describe(
379
+ "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 — 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.",
380
+ )
381
+
371
382
  const delay_in_setting_on_device = common_access_code_warning
372
383
  .extend({
373
384
  warning_code: z
@@ -449,6 +460,7 @@ const access_code_warning = z
449
460
  smartthings_failed_to_set_access_code_warning,
450
461
  schlage_detected_duplicate,
451
462
  schlage_creation_outage,
463
+ schlage_access_code_ambiguous_timezone_dst_risk,
452
464
  code_modified_external_to_seam_warning,
453
465
  delay_in_setting_on_device,
454
466
  delay_in_removing_from_device,
@@ -473,6 +485,8 @@ const _access_code_warning_map = z.object({
473
485
  smartthings_failed_to_set_access_code_warning.optional().nullable(),
474
486
  schlage_detected_duplicate: schlage_detected_duplicate.optional().nullable(),
475
487
  schlage_creation_outage: schlage_creation_outage.optional().nullable(),
488
+ schlage_access_code_ambiguous_timezone_dst_risk:
489
+ schlage_access_code_ambiguous_timezone_dst_risk.optional().nullable(),
476
490
  code_modified_external_to_seam_warning: code_modified_external_to_seam_warning
477
491
  .optional()
478
492
  .nullable(),
@@ -1753,6 +1753,31 @@ export default {
1753
1753
  required: ['message', 'warning_code'],
1754
1754
  type: 'object',
1755
1755
  },
1756
+ {
1757
+ description:
1758
+ "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 — 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.",
1759
+ properties: {
1760
+ created_at: {
1761
+ description:
1762
+ 'Date and time at which Seam created the warning.',
1763
+ format: 'date-time',
1764
+ type: 'string',
1765
+ },
1766
+ message: {
1767
+ description:
1768
+ 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
1769
+ type: 'string',
1770
+ },
1771
+ warning_code: {
1772
+ description:
1773
+ 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
1774
+ enum: ['schlage_access_code_ambiguous_timezone_dst_risk'],
1775
+ type: 'string',
1776
+ },
1777
+ },
1778
+ required: ['message', 'warning_code'],
1779
+ type: 'object',
1780
+ },
1756
1781
  {
1757
1782
  description:
1758
1783
  'Code was modified or removed externally after Seam successfully set it on the device.',
@@ -27457,6 +27482,31 @@ export default {
27457
27482
  required: ['message', 'warning_code'],
27458
27483
  type: 'object',
27459
27484
  },
27485
+ {
27486
+ description:
27487
+ "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 — 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.",
27488
+ properties: {
27489
+ created_at: {
27490
+ description:
27491
+ 'Date and time at which Seam created the warning.',
27492
+ format: 'date-time',
27493
+ type: 'string',
27494
+ },
27495
+ message: {
27496
+ description:
27497
+ 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
27498
+ type: 'string',
27499
+ },
27500
+ warning_code: {
27501
+ description:
27502
+ 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
27503
+ enum: ['schlage_access_code_ambiguous_timezone_dst_risk'],
27504
+ type: 'string',
27505
+ },
27506
+ },
27507
+ required: ['message', 'warning_code'],
27508
+ type: 'object',
27509
+ },
27460
27510
  {
27461
27511
  description:
27462
27512
  'Code was modified or removed externally after Seam successfully set it on the device.',
@@ -61305,6 +61355,190 @@ export default {
61305
61355
  'x-undocumented': 'Seam Bridge Client only.',
61306
61356
  },
61307
61357
  },
61358
+ '/seam/connect_webview/v1/get_current_pane': {
61359
+ get: {
61360
+ description:
61361
+ 'Returns the current render pane for a [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews).',
61362
+ operationId: 'seamConnectWebviewV1GetCurrentPaneGet',
61363
+ parameters: [
61364
+ {
61365
+ in: 'query',
61366
+ name: 'connect_webview_id',
61367
+ required: true,
61368
+ schema: { format: 'uuid', type: 'string' },
61369
+ },
61370
+ ],
61371
+ responses: {
61372
+ 200: {
61373
+ content: {
61374
+ 'application/json': {
61375
+ schema: {
61376
+ properties: {
61377
+ ok: { type: 'boolean' },
61378
+ pane: { $ref: '#/components/schemas/access_code' },
61379
+ },
61380
+ required: ['ok'],
61381
+ type: 'object',
61382
+ },
61383
+ },
61384
+ },
61385
+ description: 'OK',
61386
+ },
61387
+ 400: { description: 'Bad Request' },
61388
+ 401: { description: 'Unauthorized' },
61389
+ },
61390
+ security: [{ console_session_with_workspace: [] }],
61391
+ summary: '/seam/connect_webview/v1/get_current_pane',
61392
+ tags: [],
61393
+ 'x-fern-sdk-group-name': ['seam', 'connect_webview', 'v1'],
61394
+ 'x-fern-sdk-method-name': 'get_current_pane',
61395
+ 'x-fern-sdk-return-value': 'pane',
61396
+ 'x-response-key': 'pane',
61397
+ 'x-title': 'Get Current Pane',
61398
+ 'x-undocumented':
61399
+ 'Internal endpoint for driving Connect Webview flows programmatically.',
61400
+ },
61401
+ post: {
61402
+ description:
61403
+ 'Returns the current render pane for a [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews).',
61404
+ operationId: 'seamConnectWebviewV1GetCurrentPanePost',
61405
+ requestBody: {
61406
+ content: {
61407
+ 'application/json': {
61408
+ schema: {
61409
+ properties: {
61410
+ connect_webview_id: { format: 'uuid', type: 'string' },
61411
+ },
61412
+ required: ['connect_webview_id'],
61413
+ type: 'object',
61414
+ },
61415
+ },
61416
+ },
61417
+ },
61418
+ responses: {
61419
+ 200: {
61420
+ content: {
61421
+ 'application/json': {
61422
+ schema: {
61423
+ properties: {
61424
+ ok: { type: 'boolean' },
61425
+ pane: { $ref: '#/components/schemas/access_code' },
61426
+ },
61427
+ required: ['ok'],
61428
+ type: 'object',
61429
+ },
61430
+ },
61431
+ },
61432
+ description: 'OK',
61433
+ },
61434
+ 400: { description: 'Bad Request' },
61435
+ 401: { description: 'Unauthorized' },
61436
+ },
61437
+ security: [{ console_session_with_workspace: [] }],
61438
+ summary: '/seam/connect_webview/v1/get_current_pane',
61439
+ tags: [],
61440
+ 'x-fern-sdk-group-name': ['seam', 'connect_webview', 'v1'],
61441
+ 'x-fern-sdk-method-name': 'get_current_pane',
61442
+ 'x-fern-sdk-return-value': 'pane',
61443
+ 'x-response-key': 'pane',
61444
+ 'x-title': 'Get Current Pane',
61445
+ 'x-undocumented':
61446
+ 'Internal endpoint for driving Connect Webview flows programmatically.',
61447
+ },
61448
+ },
61449
+ '/seam/connect_webview/v1/reset': {
61450
+ post: {
61451
+ description:
61452
+ 'Resets an errored [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews) so its login flow can be retried.',
61453
+ operationId: 'seamConnectWebviewV1ResetPost',
61454
+ requestBody: {
61455
+ content: {
61456
+ 'application/json': {
61457
+ schema: {
61458
+ properties: {
61459
+ connect_webview_id: { format: 'uuid', type: 'string' },
61460
+ },
61461
+ required: ['connect_webview_id'],
61462
+ type: 'object',
61463
+ },
61464
+ },
61465
+ },
61466
+ },
61467
+ responses: {
61468
+ 200: {
61469
+ content: {
61470
+ 'application/json': {
61471
+ schema: {
61472
+ properties: { ok: { type: 'boolean' } },
61473
+ required: ['ok'],
61474
+ type: 'object',
61475
+ },
61476
+ },
61477
+ },
61478
+ description: 'OK',
61479
+ },
61480
+ 400: { description: 'Bad Request' },
61481
+ 401: { description: 'Unauthorized' },
61482
+ },
61483
+ security: [{ console_session_with_workspace: [] }],
61484
+ summary: '/seam/connect_webview/v1/reset',
61485
+ tags: [],
61486
+ 'x-fern-sdk-group-name': ['seam', 'connect_webview', 'v1'],
61487
+ 'x-fern-sdk-method-name': 'reset',
61488
+ 'x-fern-sdk-return-value': 'ok',
61489
+ 'x-response-key': 'ok',
61490
+ 'x-title': 'Reset Connect Webview',
61491
+ 'x-undocumented':
61492
+ 'Internal endpoint for driving Connect Webview flows programmatically.',
61493
+ },
61494
+ },
61495
+ '/seam/connect_webview/v1/submit': {
61496
+ post: {
61497
+ description:
61498
+ 'Submits pane arguments to advance a [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews) login state machine.',
61499
+ operationId: 'seamConnectWebviewV1SubmitPost',
61500
+ requestBody: {
61501
+ content: {
61502
+ 'application/json': {
61503
+ schema: {
61504
+ properties: {
61505
+ connect_webview_id: { format: 'uuid', type: 'string' },
61506
+ submit_args: {},
61507
+ },
61508
+ required: ['connect_webview_id'],
61509
+ type: 'object',
61510
+ },
61511
+ },
61512
+ },
61513
+ },
61514
+ responses: {
61515
+ 200: {
61516
+ content: {
61517
+ 'application/json': {
61518
+ schema: {
61519
+ properties: { ok: { type: 'boolean' } },
61520
+ required: ['ok'],
61521
+ type: 'object',
61522
+ },
61523
+ },
61524
+ },
61525
+ description: 'OK',
61526
+ },
61527
+ 400: { description: 'Bad Request' },
61528
+ 401: { description: 'Unauthorized' },
61529
+ },
61530
+ security: [{ console_session_with_workspace: [] }],
61531
+ summary: '/seam/connect_webview/v1/submit',
61532
+ tags: [],
61533
+ 'x-fern-sdk-group-name': ['seam', 'connect_webview', 'v1'],
61534
+ 'x-fern-sdk-method-name': 'submit',
61535
+ 'x-fern-sdk-return-value': 'ok',
61536
+ 'x-response-key': 'ok',
61537
+ 'x-title': 'Submit Connect Webview Pane',
61538
+ 'x-undocumented':
61539
+ 'Internal endpoint for driving Connect Webview flows programmatically.',
61540
+ },
61541
+ },
61308
61542
  '/seam/console/v1/get_resource_locator': {
61309
61543
  get: {
61310
61544
  description: