@seamapi/types 1.395.0 → 1.395.2

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.
Files changed (71) hide show
  1. package/dist/connect.cjs +58 -80
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +705 -778
  4. package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +0 -71
  5. package/lib/seam/connect/models/access-codes/managed-access-code.js +0 -9
  6. package/lib/seam/connect/models/access-codes/managed-access-code.js.map +1 -1
  7. package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +0 -26
  8. package/lib/seam/connect/models/access-grants/access-grant.d.ts +2 -2
  9. package/lib/seam/connect/models/access-grants/access-method.d.ts +2 -2
  10. package/lib/seam/connect/models/acs/acs-access-group.d.ts +4 -4
  11. package/lib/seam/connect/models/acs/acs-credential-pool.d.ts +2 -2
  12. package/lib/seam/connect/models/acs/acs-credential-provisioning-automation.d.ts +4 -4
  13. package/lib/seam/connect/models/acs/acs-credential.d.ts +4 -4
  14. package/lib/seam/connect/models/acs/acs-encoder.d.ts +2 -2
  15. package/lib/seam/connect/models/acs/acs-system.d.ts +2 -2
  16. package/lib/seam/connect/models/acs/acs-users/acs-user.d.ts +4 -4
  17. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +24 -24
  18. package/lib/seam/connect/models/action-attempts/encode-access-method.d.ts +4 -4
  19. package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +8 -8
  20. package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +12 -12
  21. package/lib/seam/connect/models/bridges/bridge-connected-system.d.ts +2 -2
  22. package/lib/seam/connect/models/bridges/bridge.d.ts +2 -2
  23. package/lib/seam/connect/models/client-sessions/client-session.d.ts +2 -2
  24. package/lib/seam/connect/models/connect-webviews/connect-webview.d.ts +2 -2
  25. package/lib/seam/connect/models/devices/capability-properties/index.d.ts +25 -20
  26. package/lib/seam/connect/models/devices/capability-properties/thermostat.d.ts +25 -20
  27. package/lib/seam/connect/models/devices/capability-properties/thermostat.js +2 -7
  28. package/lib/seam/connect/models/devices/capability-properties/thermostat.js.map +1 -1
  29. package/lib/seam/connect/models/devices/device.d.ts +37 -30
  30. package/lib/seam/connect/models/devices/phone.d.ts +2 -2
  31. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +28 -23
  32. package/lib/seam/connect/models/events/access-codes.d.ts +68 -68
  33. package/lib/seam/connect/models/events/access-grants.d.ts +20 -20
  34. package/lib/seam/connect/models/events/access-methods.d.ts +12 -12
  35. package/lib/seam/connect/models/events/acs/access-groups.d.ts +4 -4
  36. package/lib/seam/connect/models/events/acs/common.d.ts +2 -2
  37. package/lib/seam/connect/models/events/acs/credentials.d.ts +16 -16
  38. package/lib/seam/connect/models/events/acs/encoders.d.ts +8 -8
  39. package/lib/seam/connect/models/events/acs/entrances.d.ts +8 -8
  40. package/lib/seam/connect/models/events/acs/index.d.ts +28 -28
  41. package/lib/seam/connect/models/events/acs/systems.d.ts +12 -12
  42. package/lib/seam/connect/models/events/acs/users.d.ts +8 -8
  43. package/lib/seam/connect/models/events/action-attempts.d.ts +16 -16
  44. package/lib/seam/connect/models/events/client-sessions.d.ts +4 -4
  45. package/lib/seam/connect/models/events/common.d.ts +2 -2
  46. package/lib/seam/connect/models/events/connect-webviews.d.ts +8 -8
  47. package/lib/seam/connect/models/events/connected-accounts.d.ts +28 -28
  48. package/lib/seam/connect/models/events/devices.d.ts +132 -132
  49. package/lib/seam/connect/models/events/enrollment-automations.d.ts +4 -4
  50. package/lib/seam/connect/models/events/phones.d.ts +4 -4
  51. package/lib/seam/connect/models/events/seam-event.d.ts +176 -176
  52. package/lib/seam/connect/models/instant-keys/instant-key.d.ts +2 -2
  53. package/lib/seam/connect/models/locations/location.d.ts +2 -2
  54. package/lib/seam/connect/models/thermostats/thermostat-program.d.ts +6 -6
  55. package/lib/seam/connect/models/thermostats/thermostat-program.js +5 -5
  56. package/lib/seam/connect/models/thermostats/thermostat-program.js.map +1 -1
  57. package/lib/seam/connect/models/thermostats/thermostat-schedule.d.ts +6 -3
  58. package/lib/seam/connect/models/thermostats/thermostat-schedule.js +5 -1
  59. package/lib/seam/connect/models/thermostats/thermostat-schedule.js.map +1 -1
  60. package/lib/seam/connect/models/user-identities/user-identity.d.ts +2 -2
  61. package/lib/seam/connect/openapi.d.ts +35 -8
  62. package/lib/seam/connect/openapi.js +43 -65
  63. package/lib/seam/connect/openapi.js.map +1 -1
  64. package/lib/seam/connect/route-types.d.ts +136 -183
  65. package/package.json +2 -2
  66. package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +0 -12
  67. package/src/lib/seam/connect/models/devices/capability-properties/thermostat.ts +2 -7
  68. package/src/lib/seam/connect/models/thermostats/thermostat-program.ts +7 -5
  69. package/src/lib/seam/connect/models/thermostats/thermostat-schedule.ts +7 -1
  70. package/src/lib/seam/connect/openapi.ts +47 -74
  71. package/src/lib/seam/connect/route-types.ts +617 -595
@@ -330,34 +330,6 @@ export default {
330
330
  required: ['message', 'is_access_code_error', 'error_code'],
331
331
  type: 'object',
332
332
  },
333
- {
334
- description: 'Lock has reached maximum amount of codes.',
335
- properties: {
336
- created_at: {
337
- description: 'Date and time at which Seam created the error.',
338
- format: 'date-time',
339
- type: 'string',
340
- },
341
- error_code: {
342
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
343
- enum: [
344
- 'schlage_lock_exceeds_maximum_number_of_access_codes',
345
- ],
346
- type: 'string',
347
- },
348
- is_access_code_error: {
349
- description: 'Indicates that this is an access code error.',
350
- enum: [true],
351
- type: 'boolean',
352
- },
353
- message: {
354
- description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
355
- type: 'string',
356
- },
357
- },
358
- required: ['message', 'is_access_code_error', 'error_code'],
359
- type: 'object',
360
- },
361
333
  {
362
334
  description: 'Unable to confirm that the access code is set on Kwikset device.',
363
335
  properties: {
@@ -8132,6 +8104,7 @@ export default {
8132
8104
  },
8133
8105
  name: {
8134
8106
  description: 'User-friendly name to identify the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules).',
8107
+ nullable: true,
8135
8108
  type: 'string',
8136
8109
  },
8137
8110
  starts_at: {
@@ -8144,13 +8117,20 @@ export default {
8144
8117
  format: 'uuid',
8145
8118
  type: 'string',
8146
8119
  },
8120
+ workspace_id: {
8121
+ description: 'ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat schedule.',
8122
+ format: 'uuid',
8123
+ type: 'string',
8124
+ },
8147
8125
  },
8148
8126
  required: [
8149
8127
  'thermostat_schedule_id',
8150
8128
  'device_id',
8129
+ 'name',
8151
8130
  'climate_preset_key',
8152
8131
  'starts_at',
8153
8132
  'ends_at',
8133
+ 'workspace_id',
8154
8134
  'created_at',
8155
8135
  'errors',
8156
8136
  ],
@@ -8484,7 +8464,6 @@ export default {
8484
8464
  type: 'object',
8485
8465
  },
8486
8466
  thermostat_daily_programs: {
8487
- default: null,
8488
8467
  items: {
8489
8468
  properties: {
8490
8469
  created_at: {
@@ -8499,6 +8478,7 @@ export default {
8499
8478
  },
8500
8479
  name: {
8501
8480
  description: 'User-friendly name to identify the thermostat daily program.',
8481
+ nullable: true,
8502
8482
  type: 'string',
8503
8483
  },
8504
8484
  periods: {
@@ -8528,20 +8508,25 @@ export default {
8528
8508
  format: 'uuid',
8529
8509
  type: 'string',
8530
8510
  },
8511
+ workspace_id: {
8512
+ description: 'ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat daily program.',
8513
+ format: 'uuid',
8514
+ type: 'string',
8515
+ },
8531
8516
  },
8532
8517
  required: [
8533
8518
  'thermostat_daily_program_id',
8534
8519
  'device_id',
8520
+ 'name',
8535
8521
  'periods',
8522
+ 'workspace_id',
8536
8523
  'created_at',
8537
8524
  ],
8538
8525
  type: 'object',
8539
8526
  },
8540
- nullable: true,
8541
8527
  type: 'array',
8542
8528
  },
8543
8529
  thermostat_weekly_program: {
8544
- default: null,
8545
8530
  nullable: true,
8546
8531
  properties: {
8547
8532
  created_at: {
@@ -8549,11 +8534,6 @@ export default {
8549
8534
  format: 'date-time',
8550
8535
  type: 'string',
8551
8536
  },
8552
- device_id: {
8553
- description: 'ID of the thermostat device the weekly program is for.',
8554
- format: 'uuid',
8555
- type: 'string',
8556
- },
8557
8537
  friday_program_id: {
8558
8538
  description: 'ID of the thermostat daily program to run on Fridays.',
8559
8539
  format: 'uuid',
@@ -8598,7 +8578,6 @@ export default {
8598
8578
  },
8599
8579
  },
8600
8580
  required: [
8601
- 'device_id',
8602
8581
  'monday_program_id',
8603
8582
  'tuesday_program_id',
8604
8583
  'wednesday_program_id',
@@ -13908,6 +13887,7 @@ export default {
13908
13887
  },
13909
13888
  name: {
13910
13889
  description: 'User-friendly name to identify the [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules).',
13890
+ nullable: true,
13911
13891
  type: 'string',
13912
13892
  },
13913
13893
  starts_at: {
@@ -13920,13 +13900,20 @@ export default {
13920
13900
  format: 'uuid',
13921
13901
  type: 'string',
13922
13902
  },
13903
+ workspace_id: {
13904
+ description: 'ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat schedule.',
13905
+ format: 'uuid',
13906
+ type: 'string',
13907
+ },
13923
13908
  },
13924
13909
  required: [
13925
13910
  'thermostat_schedule_id',
13926
13911
  'device_id',
13912
+ 'name',
13927
13913
  'climate_preset_key',
13928
13914
  'starts_at',
13929
13915
  'ends_at',
13916
+ 'workspace_id',
13930
13917
  'created_at',
13931
13918
  'errors',
13932
13919
  ],
@@ -14257,34 +14244,6 @@ export default {
14257
14244
  required: ['message', 'is_access_code_error', 'error_code'],
14258
14245
  type: 'object',
14259
14246
  },
14260
- {
14261
- description: 'Lock has reached maximum amount of codes.',
14262
- properties: {
14263
- created_at: {
14264
- description: 'Date and time at which Seam created the error.',
14265
- format: 'date-time',
14266
- type: 'string',
14267
- },
14268
- error_code: {
14269
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
14270
- enum: [
14271
- 'schlage_lock_exceeds_maximum_number_of_access_codes',
14272
- ],
14273
- type: 'string',
14274
- },
14275
- is_access_code_error: {
14276
- description: 'Indicates that this is an access code error.',
14277
- enum: [true],
14278
- type: 'boolean',
14279
- },
14280
- message: {
14281
- description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
14282
- type: 'string',
14283
- },
14284
- },
14285
- required: ['message', 'is_access_code_error', 'error_code'],
14286
- type: 'object',
14287
- },
14288
14247
  {
14289
14248
  description: 'Unable to confirm that the access code is set on Kwikset device.',
14290
14249
  properties: {
@@ -23725,6 +23684,7 @@ export default {
23725
23684
  'x-fern-sdk-group-name': ['connected_accounts'],
23726
23685
  'x-fern-sdk-method-name': 'delete',
23727
23686
  'x-response-key': null,
23687
+ 'x-title': 'Delete a Connected Account',
23728
23688
  },
23729
23689
  },
23730
23690
  '/connected_accounts/get': {
@@ -23785,6 +23745,7 @@ export default {
23785
23745
  'x-fern-sdk-method-name': 'get',
23786
23746
  'x-fern-sdk-return-value': 'connected_account',
23787
23747
  'x-response-key': 'connected_account',
23748
+ 'x-title': 'Get a Connected Account',
23788
23749
  },
23789
23750
  },
23790
23751
  '/connected_accounts/list': {
@@ -23858,6 +23819,7 @@ export default {
23858
23819
  'x-fern-sdk-method-name': 'list',
23859
23820
  'x-fern-sdk-return-value': 'connected_accounts',
23860
23821
  'x-response-key': 'connected_accounts',
23822
+ 'x-title': 'List Connected Accounts',
23861
23823
  },
23862
23824
  },
23863
23825
  '/connected_accounts/update': {
@@ -23918,6 +23880,7 @@ export default {
23918
23880
  'x-fern-sdk-group-name': ['connected_accounts'],
23919
23881
  'x-fern-sdk-method-name': 'update',
23920
23882
  'x-response-key': null,
23883
+ 'x-title': 'Update a Connected Account',
23921
23884
  },
23922
23885
  },
23923
23886
  '/devices/delete': {
@@ -28095,36 +28058,43 @@ export default {
28095
28058
  friday_program_id: {
28096
28059
  description: 'ID of the thermostat daily program to run on Fridays.',
28097
28060
  format: 'uuid',
28061
+ nullable: true,
28098
28062
  type: 'string',
28099
28063
  },
28100
28064
  monday_program_id: {
28101
28065
  description: 'ID of the thermostat daily program to run on Mondays.',
28102
28066
  format: 'uuid',
28067
+ nullable: true,
28103
28068
  type: 'string',
28104
28069
  },
28105
28070
  saturday_program_id: {
28106
28071
  description: 'ID of the thermostat daily program to run on Saturdays.',
28107
28072
  format: 'uuid',
28073
+ nullable: true,
28108
28074
  type: 'string',
28109
28075
  },
28110
28076
  sunday_program_id: {
28111
28077
  description: 'ID of the thermostat daily program to run on Sundays.',
28112
28078
  format: 'uuid',
28079
+ nullable: true,
28113
28080
  type: 'string',
28114
28081
  },
28115
28082
  thursday_program_id: {
28116
28083
  description: 'ID of the thermostat daily program to run on Thursdays.',
28117
28084
  format: 'uuid',
28085
+ nullable: true,
28118
28086
  type: 'string',
28119
28087
  },
28120
28088
  tuesday_program_id: {
28121
28089
  description: 'ID of the thermostat daily program to run on Tuesdays.',
28122
28090
  format: 'uuid',
28091
+ nullable: true,
28123
28092
  type: 'string',
28124
28093
  },
28125
28094
  wednesday_program_id: {
28126
28095
  description: 'ID of the thermostat daily program to run on Wednesdays.',
28127
28096
  format: 'uuid',
28097
+ nullable: true,
28128
28098
  type: 'string',
28129
28099
  },
28130
28100
  },
@@ -28467,6 +28437,7 @@ export default {
28467
28437
  },
28468
28438
  name: {
28469
28439
  description: 'User-friendly name to identify the thermostat daily program.',
28440
+ nullable: true,
28470
28441
  type: 'string',
28471
28442
  },
28472
28443
  periods: {
@@ -28493,11 +28464,18 @@ export default {
28493
28464
  format: 'uuid',
28494
28465
  type: 'string',
28495
28466
  },
28467
+ workspace_id: {
28468
+ description: 'ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the thermostat daily program.',
28469
+ format: 'uuid',
28470
+ type: 'string',
28471
+ },
28496
28472
  },
28497
28473
  required: [
28498
28474
  'thermostat_daily_program_id',
28499
28475
  'device_id',
28476
+ 'name',
28500
28477
  'periods',
28478
+ 'workspace_id',
28501
28479
  'created_at',
28502
28480
  ],
28503
28481
  type: 'object',