@seamapi/types 1.463.0 → 1.464.3

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 (99) hide show
  1. package/LICENSE.txt +1 -1
  2. package/dist/connect.cjs +57 -55
  3. package/dist/connect.cjs.map +1 -1
  4. package/dist/connect.d.cts +2884 -2548
  5. package/dist/devicedb.d.cts +0 -4
  6. package/dist/index.cjs +57 -55
  7. package/dist/index.cjs.map +1 -1
  8. package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +8 -8
  9. package/lib/seam/connect/models/access-codes/managed-access-code.js +2 -2
  10. package/lib/seam/connect/models/access-codes/managed-access-code.js.map +1 -1
  11. package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +5 -5
  12. package/lib/seam/connect/models/access-grants/access-grant.d.ts +6 -6
  13. package/lib/seam/connect/models/access-grants/access-grant.js +1 -2
  14. package/lib/seam/connect/models/access-grants/access-grant.js.map +1 -1
  15. package/lib/seam/connect/models/acs/acs-access-group.d.ts +2 -2
  16. package/lib/seam/connect/models/acs/acs-access-group.js +1 -1
  17. package/lib/seam/connect/models/acs/acs-access-group.js.map +1 -1
  18. package/lib/seam/connect/models/acs/acs-credential.d.ts +6 -6
  19. package/lib/seam/connect/models/acs/acs-credential.js +1 -1
  20. package/lib/seam/connect/models/acs/acs-credential.js.map +1 -1
  21. package/lib/seam/connect/models/acs/acs-encoder.d.ts +2 -2
  22. package/lib/seam/connect/models/acs/acs-encoder.js +1 -1
  23. package/lib/seam/connect/models/acs/acs-encoder.js.map +1 -1
  24. package/lib/seam/connect/models/acs/acs-system.d.ts +11 -10
  25. package/lib/seam/connect/models/acs/acs-system.js +2 -2
  26. package/lib/seam/connect/models/acs/acs-system.js.map +1 -1
  27. package/lib/seam/connect/models/acs/acs-users/acs-user.d.ts +5 -4
  28. package/lib/seam/connect/models/acs/acs-users/acs-user.js +2 -2
  29. package/lib/seam/connect/models/acs/acs-users/acs-user.js.map +1 -1
  30. package/lib/seam/connect/models/acs/acs-users/pending-mutations.d.ts +3 -2
  31. package/lib/seam/connect/models/acs/acs-users/pending-mutations.js +1 -1
  32. package/lib/seam/connect/models/acs/acs-users/pending-mutations.js.map +1 -1
  33. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +248 -248
  34. package/lib/seam/connect/models/action-attempts/activate-climate-preset.d.ts +12 -12
  35. package/lib/seam/connect/models/action-attempts/common.d.ts +10 -10
  36. package/lib/seam/connect/models/action-attempts/deprecated.d.ts +84 -84
  37. package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +28 -28
  38. package/lib/seam/connect/models/action-attempts/lock-door.d.ts +12 -12
  39. package/lib/seam/connect/models/action-attempts/push-thermostat-programs.d.ts +12 -12
  40. package/lib/seam/connect/models/action-attempts/reset-sandbox-workspace.d.ts +12 -12
  41. package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +28 -28
  42. package/lib/seam/connect/models/action-attempts/set-fan-mode.d.ts +12 -12
  43. package/lib/seam/connect/models/action-attempts/set-hvac-mode.d.ts +12 -12
  44. package/lib/seam/connect/models/action-attempts/simulate-keypad-code-entry.d.ts +12 -12
  45. package/lib/seam/connect/models/action-attempts/simulate-manual-lock-via-keypad.d.ts +12 -12
  46. package/lib/seam/connect/models/action-attempts/unlock-door.d.ts +12 -12
  47. package/lib/seam/connect/models/batch.d.ts +2925 -3128
  48. package/lib/seam/connect/models/bridges/bridge-client-session.d.ts +2 -2
  49. package/lib/seam/connect/models/bridges/bridge-client-session.js +1 -1
  50. package/lib/seam/connect/models/bridges/bridge-client-session.js.map +1 -1
  51. package/lib/seam/connect/models/connect-webviews/connect-webview.d.ts +6 -6
  52. package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +16 -16
  53. package/lib/seam/connect/models/connected-accounts/connected-account.js +2 -2
  54. package/lib/seam/connect/models/connected-accounts/connected-account.js.map +1 -1
  55. package/lib/seam/connect/models/customer/customer-portal.d.ts +34 -0
  56. package/lib/seam/connect/models/customer/customer-portal.js +18 -0
  57. package/lib/seam/connect/models/customer/customer-portal.js.map +1 -1
  58. package/lib/seam/connect/models/devices/capability-properties/index.d.ts +12 -12
  59. package/lib/seam/connect/models/devices/capability-properties/thermostat.d.ts +12 -12
  60. package/lib/seam/connect/models/devices/device-metadata.d.ts +56 -56
  61. package/lib/seam/connect/models/devices/device.d.ts +136 -194
  62. package/lib/seam/connect/models/devices/device.js +2 -16
  63. package/lib/seam/connect/models/devices/device.js.map +1 -1
  64. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +100 -121
  65. package/lib/seam/connect/models/events/devices.d.ts +16 -16
  66. package/lib/seam/connect/models/events/seam-event.d.ts +8 -8
  67. package/lib/seam/connect/models/locations/location.d.ts +2 -2
  68. package/lib/seam/connect/models/partner/magic-link.d.ts +2 -2
  69. package/lib/seam/connect/models/thermostats/climate-preset.d.ts +2 -2
  70. package/lib/seam/connect/models/thermostats/thermostat-schedule.d.ts +2 -2
  71. package/lib/seam/connect/models/user-identities/user-identity.d.ts +5 -4
  72. package/lib/seam/connect/models/user-identities/user-identity.js +2 -2
  73. package/lib/seam/connect/models/user-identities/user-identity.js.map +1 -1
  74. package/lib/seam/connect/models/webhooks/webhook.d.ts +2 -2
  75. package/lib/seam/connect/models/workspaces/workspace.d.ts +4 -4
  76. package/lib/seam/connect/openapi.d.ts +58 -0
  77. package/lib/seam/connect/openapi.js +62 -50
  78. package/lib/seam/connect/openapi.js.map +1 -1
  79. package/lib/seam/connect/route-types.d.ts +2820 -2429
  80. package/lib/seam/devicedb/models/device-model.d.ts +116 -116
  81. package/lib/seam/devicedb/models/image-reference.d.ts +4 -4
  82. package/lib/seam/devicedb/models/manufacturer.d.ts +12 -12
  83. package/lib/seam/devicedb/route-specs.d.ts +210 -214
  84. package/package.json +12 -13
  85. package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +4 -4
  86. package/src/lib/seam/connect/models/access-grants/access-grant.ts +1 -2
  87. package/src/lib/seam/connect/models/acs/acs-access-group.ts +2 -2
  88. package/src/lib/seam/connect/models/acs/acs-credential.ts +4 -2
  89. package/src/lib/seam/connect/models/acs/acs-encoder.ts +2 -2
  90. package/src/lib/seam/connect/models/acs/acs-system.ts +4 -4
  91. package/src/lib/seam/connect/models/acs/acs-users/acs-user.ts +4 -4
  92. package/src/lib/seam/connect/models/acs/acs-users/pending-mutations.ts +2 -2
  93. package/src/lib/seam/connect/models/bridges/bridge-client-session.ts +2 -2
  94. package/src/lib/seam/connect/models/connected-accounts/connected-account.ts +4 -4
  95. package/src/lib/seam/connect/models/customer/customer-portal.ts +23 -0
  96. package/src/lib/seam/connect/models/devices/device.ts +4 -19
  97. package/src/lib/seam/connect/models/user-identities/user-identity.ts +4 -4
  98. package/src/lib/seam/connect/openapi.ts +60 -52
  99. package/src/lib/seam/connect/route-types.ts +3038 -2543
@@ -1601,6 +1601,7 @@ export default {
1601
1601
  ends_at: {
1602
1602
  description: 'Date and time at which the Access Grant ends.',
1603
1603
  format: 'date-time',
1604
+ nullable: true,
1604
1605
  type: 'string',
1605
1606
  },
1606
1607
  instant_key_url: {
@@ -1685,6 +1686,8 @@ export default {
1685
1686
  'name',
1686
1687
  'display_name',
1687
1688
  'created_at',
1689
+ 'starts_at',
1690
+ 'ends_at',
1688
1691
  ],
1689
1692
  type: 'object',
1690
1693
  'x-draft': 'Early access.',
@@ -11147,28 +11150,6 @@ export default {
11147
11150
  required: ['message', 'created_at', 'warning_code'],
11148
11151
  type: 'object',
11149
11152
  },
11150
- {
11151
- description: 'Indicates that the Nest thermostat is in manual eco mode.',
11152
- properties: {
11153
- created_at: {
11154
- description: 'Date and time at which Seam created the warning.',
11155
- format: 'date-time',
11156
- type: 'string',
11157
- },
11158
- message: {
11159
- description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
11160
- type: 'string',
11161
- },
11162
- warning_code: {
11163
- description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
11164
- enum: ['nest_thermostat_in_manual_eco_mode'],
11165
- type: 'string',
11166
- },
11167
- },
11168
- required: ['message', 'created_at', 'warning_code'],
11169
- type: 'object',
11170
- 'x-variant-group-key': 'thermostats',
11171
- },
11172
11153
  {
11173
11154
  description: 'Indicates that the Remote Unlock feature is not enabled in the settings."',
11174
11155
  properties: {
@@ -22073,28 +22054,6 @@ export default {
22073
22054
  required: ['message', 'created_at', 'warning_code'],
22074
22055
  type: 'object',
22075
22056
  },
22076
- {
22077
- description: 'Indicates that the Nest thermostat is in manual eco mode.',
22078
- properties: {
22079
- created_at: {
22080
- description: 'Date and time at which Seam created the warning.',
22081
- format: 'date-time',
22082
- type: 'string',
22083
- },
22084
- message: {
22085
- description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
22086
- type: 'string',
22087
- },
22088
- warning_code: {
22089
- description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
22090
- enum: ['nest_thermostat_in_manual_eco_mode'],
22091
- type: 'string',
22092
- },
22093
- },
22094
- required: ['message', 'created_at', 'warning_code'],
22095
- type: 'object',
22096
- 'x-variant-group-key': 'thermostats',
22097
- },
22098
22057
  {
22099
22058
  description: 'Indicates that the Remote Unlock feature is not enabled in the settings."',
22100
22059
  properties: {
@@ -23520,7 +23479,7 @@ export default {
23520
23479
  in: 'query',
23521
23480
  name: 'limit',
23522
23481
  schema: {
23523
- default: 55000,
23482
+ default: 55_000,
23524
23483
  description: 'Numerical limit on the number of access codes to return.',
23525
23484
  format: 'float',
23526
23485
  type: 'number',
@@ -23597,7 +23556,7 @@ export default {
23597
23556
  type: 'string',
23598
23557
  },
23599
23558
  limit: {
23600
- default: 55000,
23559
+ default: 55_000,
23601
23560
  description: 'Numerical limit on the number of access codes to return.',
23602
23561
  format: 'float',
23603
23562
  type: 'number',
@@ -24269,7 +24228,7 @@ export default {
24269
24228
  name: 'limit',
24270
24229
  required: false,
24271
24230
  schema: {
24272
- default: 300000,
24231
+ default: 300_000,
24273
24232
  description: 'Numerical limit on the number of unmanaged access codes to return.',
24274
24233
  format: 'float',
24275
24234
  type: 'number',
@@ -24339,7 +24298,7 @@ export default {
24339
24298
  type: 'string',
24340
24299
  },
24341
24300
  limit: {
24342
- default: 300000,
24301
+ default: 300_000,
24343
24302
  description: 'Numerical limit on the number of unmanaged access codes to return.',
24344
24303
  format: 'float',
24345
24304
  type: 'number',
@@ -25141,7 +25100,9 @@ export default {
25141
25100
  type: 'array',
25142
25101
  },
25143
25102
  ends_at: {
25103
+ default: null,
25144
25104
  description: 'Date and time at which the validity of the new grant ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. Must be a time in the future and after `starts_at`.',
25105
+ nullable: true,
25145
25106
  type: 'string',
25146
25107
  },
25147
25108
  location: {
@@ -34423,7 +34384,7 @@ export default {
34423
34384
  in: 'query',
34424
34385
  name: 'limit',
34425
34386
  schema: {
34426
- default: 11000,
34387
+ default: 11_000,
34427
34388
  description: 'Maximum number of records to return per page.',
34428
34389
  exclusiveMinimum: true,
34429
34390
  minimum: 0,
@@ -34497,7 +34458,7 @@ export default {
34497
34458
  type: 'string',
34498
34459
  },
34499
34460
  limit: {
34500
- default: 11000,
34461
+ default: 11_000,
34501
34462
  description: 'Maximum number of records to return per page.',
34502
34463
  exclusiveMinimum: true,
34503
34464
  minimum: 0,
@@ -34707,6 +34668,11 @@ export default {
34707
34668
  {
34708
34669
  default: {
34709
34670
  features: {
34671
+ configure: {
34672
+ allow_access_automation_rule_customization: false,
34673
+ allow_instant_key_customization: false,
34674
+ exclude: false,
34675
+ },
34710
34676
  connect: { exclude: false },
34711
34677
  manage_devices: { exclude: false },
34712
34678
  organize: { exclude: false },
@@ -34718,6 +34684,28 @@ export default {
34718
34684
  features: {
34719
34685
  default: {},
34720
34686
  properties: {
34687
+ configure: {
34688
+ default: {},
34689
+ description: 'Configuration for the configure feature.',
34690
+ properties: {
34691
+ allow_access_automation_rule_customization: {
34692
+ default: false,
34693
+ description: 'Indicates whether the customer can customize the access automation rules for their properties.',
34694
+ type: 'boolean',
34695
+ },
34696
+ allow_instant_key_customization: {
34697
+ default: false,
34698
+ description: 'Indicates whether the customer can customize the Instant Key profile for their properties.',
34699
+ type: 'boolean',
34700
+ },
34701
+ exclude: {
34702
+ default: false,
34703
+ description: 'Whether to exclude this feature from the portal.',
34704
+ type: 'boolean',
34705
+ },
34706
+ },
34707
+ type: 'object',
34708
+ },
34721
34709
  connect: {
34722
34710
  default: {},
34723
34711
  description: 'Configuration for the connect accounts feature.',
@@ -43399,6 +43387,18 @@ export default {
43399
43387
  },
43400
43388
  features: {
43401
43389
  properties: {
43390
+ configure: {
43391
+ properties: {
43392
+ allow_access_automation_rule_customization: {
43393
+ type: 'boolean',
43394
+ },
43395
+ allow_instant_key_customization: {
43396
+ type: 'boolean',
43397
+ },
43398
+ exclude: { type: 'boolean' },
43399
+ },
43400
+ type: 'object',
43401
+ },
43402
43402
  connect: {
43403
43403
  properties: { exclude: { type: 'boolean' } },
43404
43404
  type: 'object',
@@ -43480,6 +43480,18 @@ export default {
43480
43480
  },
43481
43481
  features: {
43482
43482
  properties: {
43483
+ configure: {
43484
+ properties: {
43485
+ allow_access_automation_rule_customization: {
43486
+ type: 'boolean',
43487
+ },
43488
+ allow_instant_key_customization: {
43489
+ type: 'boolean',
43490
+ },
43491
+ exclude: { type: 'boolean' },
43492
+ },
43493
+ type: 'object',
43494
+ },
43483
43495
  connect: {
43484
43496
  properties: { exclude: { type: 'boolean' } },
43485
43497
  type: 'object',