@seamapi/types 1.462.0 → 1.464.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.
Files changed (73) hide show
  1. package/dist/connect.cjs +179 -146
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +354 -316
  4. package/dist/index.cjs +179 -146
  5. package/dist/index.cjs.map +1 -1
  6. package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +4 -4
  7. package/lib/seam/connect/models/access-codes/managed-access-code.js +2 -2
  8. package/lib/seam/connect/models/access-codes/managed-access-code.js.map +1 -1
  9. package/lib/seam/connect/models/access-grants/access-grant.d.ts +6 -6
  10. package/lib/seam/connect/models/access-grants/access-grant.js +1 -2
  11. package/lib/seam/connect/models/access-grants/access-grant.js.map +1 -1
  12. package/lib/seam/connect/models/acs/acs-access-group.d.ts +2 -2
  13. package/lib/seam/connect/models/acs/acs-access-group.js +1 -1
  14. package/lib/seam/connect/models/acs/acs-access-group.js.map +1 -1
  15. package/lib/seam/connect/models/acs/acs-credential.d.ts +2 -2
  16. package/lib/seam/connect/models/acs/acs-credential.js +1 -1
  17. package/lib/seam/connect/models/acs/acs-credential.js.map +1 -1
  18. package/lib/seam/connect/models/acs/acs-encoder.d.ts +2 -2
  19. package/lib/seam/connect/models/acs/acs-encoder.js +1 -1
  20. package/lib/seam/connect/models/acs/acs-encoder.js.map +1 -1
  21. package/lib/seam/connect/models/acs/acs-system.d.ts +12 -11
  22. package/lib/seam/connect/models/acs/acs-system.js +3 -2
  23. package/lib/seam/connect/models/acs/acs-system.js.map +1 -1
  24. package/lib/seam/connect/models/acs/acs-users/acs-user.d.ts +5 -4
  25. package/lib/seam/connect/models/acs/acs-users/acs-user.js +2 -2
  26. package/lib/seam/connect/models/acs/acs-users/acs-user.js.map +1 -1
  27. package/lib/seam/connect/models/acs/acs-users/pending-mutations.d.ts +3 -2
  28. package/lib/seam/connect/models/acs/acs-users/pending-mutations.js +1 -1
  29. package/lib/seam/connect/models/acs/acs-users/pending-mutations.js.map +1 -1
  30. package/lib/seam/connect/models/batch.d.ts +266 -243
  31. package/lib/seam/connect/models/batch.js +3 -0
  32. package/lib/seam/connect/models/batch.js.map +1 -1
  33. package/lib/seam/connect/models/bridges/bridge-client-session.d.ts +2 -2
  34. package/lib/seam/connect/models/bridges/bridge-client-session.js +1 -1
  35. package/lib/seam/connect/models/bridges/bridge-client-session.js.map +1 -1
  36. package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +4 -4
  37. package/lib/seam/connect/models/connected-accounts/connected-account.js +2 -2
  38. package/lib/seam/connect/models/connected-accounts/connected-account.js.map +1 -1
  39. package/lib/seam/connect/models/customer/customer-portal.d.ts +34 -0
  40. package/lib/seam/connect/models/customer/customer-portal.js +18 -0
  41. package/lib/seam/connect/models/customer/customer-portal.js.map +1 -1
  42. package/lib/seam/connect/models/devices/device-provider.d.ts +2 -1
  43. package/lib/seam/connect/models/devices/device-provider.js +2 -0
  44. package/lib/seam/connect/models/devices/device-provider.js.map +1 -1
  45. package/lib/seam/connect/models/devices/device.d.ts +4 -62
  46. package/lib/seam/connect/models/devices/device.js +2 -16
  47. package/lib/seam/connect/models/devices/device.js.map +1 -1
  48. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +0 -21
  49. package/lib/seam/connect/models/user-identities/user-identity.d.ts +5 -4
  50. package/lib/seam/connect/models/user-identities/user-identity.js +2 -2
  51. package/lib/seam/connect/models/user-identities/user-identity.js.map +1 -1
  52. package/lib/seam/connect/openapi.d.ts +82 -2
  53. package/lib/seam/connect/openapi.js +84 -46
  54. package/lib/seam/connect/openapi.js.map +1 -1
  55. package/lib/seam/connect/route-types.d.ts +136 -179
  56. package/package.json +1 -1
  57. package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +4 -4
  58. package/src/lib/seam/connect/models/access-grants/access-grant.ts +1 -2
  59. package/src/lib/seam/connect/models/acs/acs-access-group.ts +2 -2
  60. package/src/lib/seam/connect/models/acs/acs-credential.ts +4 -2
  61. package/src/lib/seam/connect/models/acs/acs-encoder.ts +2 -2
  62. package/src/lib/seam/connect/models/acs/acs-system.ts +5 -4
  63. package/src/lib/seam/connect/models/acs/acs-users/acs-user.ts +4 -4
  64. package/src/lib/seam/connect/models/acs/acs-users/pending-mutations.ts +2 -2
  65. package/src/lib/seam/connect/models/batch.ts +3 -0
  66. package/src/lib/seam/connect/models/bridges/bridge-client-session.ts +2 -2
  67. package/src/lib/seam/connect/models/connected-accounts/connected-account.ts +4 -4
  68. package/src/lib/seam/connect/models/customer/customer-portal.ts +23 -0
  69. package/src/lib/seam/connect/models/devices/device-provider.ts +2 -0
  70. package/src/lib/seam/connect/models/devices/device.ts +4 -19
  71. package/src/lib/seam/connect/models/user-identities/user-identity.ts +4 -4
  72. package/src/lib/seam/connect/openapi.ts +88 -54
  73. package/src/lib/seam/connect/route-types.ts +148 -182
@@ -1850,6 +1850,7 @@ export default {
1850
1850
  ends_at: {
1851
1851
  description: 'Date and time at which the Access Grant ends.',
1852
1852
  format: 'date-time',
1853
+ nullable: true,
1853
1854
  type: 'string',
1854
1855
  },
1855
1856
  instant_key_url: {
@@ -1943,6 +1944,8 @@ export default {
1943
1944
  'name',
1944
1945
  'display_name',
1945
1946
  'created_at',
1947
+ 'starts_at',
1948
+ 'ends_at',
1946
1949
  ],
1947
1950
  type: 'object',
1948
1951
  'x-draft': 'Early access.',
@@ -3222,6 +3225,7 @@ export default {
3222
3225
  'assa_abloy_credential_service',
3223
3226
  'latch_building',
3224
3227
  'dormakaba_community_site',
3228
+ 'dormakaba_ambiance_site',
3225
3229
  'legic_connect_credential_service',
3226
3230
  'assa_abloy_vostio',
3227
3231
  'assa_abloy_vostio_credential_service',
@@ -3278,6 +3282,7 @@ export default {
3278
3282
  'assa_abloy_credential_service',
3279
3283
  'latch_building',
3280
3284
  'dormakaba_community_site',
3285
+ 'dormakaba_ambiance_site',
3281
3286
  'legic_connect_credential_service',
3282
3287
  'assa_abloy_vostio',
3283
3288
  'assa_abloy_vostio_credential_service',
@@ -12579,32 +12584,6 @@ export default {
12579
12584
  required: ['message', 'created_at', 'warning_code'],
12580
12585
  type: 'object',
12581
12586
  },
12582
- {
12583
- description:
12584
- 'Indicates that the Nest thermostat is in manual eco mode.',
12585
- properties: {
12586
- created_at: {
12587
- description:
12588
- 'Date and time at which Seam created the warning.',
12589
- format: 'date-time',
12590
- type: 'string',
12591
- },
12592
- message: {
12593
- description:
12594
- 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
12595
- type: 'string',
12596
- },
12597
- warning_code: {
12598
- description:
12599
- 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
12600
- enum: ['nest_thermostat_in_manual_eco_mode'],
12601
- type: 'string',
12602
- },
12603
- },
12604
- required: ['message', 'created_at', 'warning_code'],
12605
- type: 'object',
12606
- 'x-variant-group-key': 'thermostats',
12607
- },
12608
12587
  {
12609
12588
  description:
12610
12589
  'Indicates that the Remote Unlock feature is not enabled in the settings."',
@@ -13021,6 +13000,7 @@ export default {
13021
13000
  'sensi',
13022
13001
  'kwikset2',
13023
13002
  'keynest',
13003
+ 'dormakaba_ambiance',
13024
13004
  ],
13025
13005
  type: 'string',
13026
13006
  },
@@ -24652,32 +24632,6 @@ export default {
24652
24632
  required: ['message', 'created_at', 'warning_code'],
24653
24633
  type: 'object',
24654
24634
  },
24655
- {
24656
- description:
24657
- 'Indicates that the Nest thermostat is in manual eco mode.',
24658
- properties: {
24659
- created_at: {
24660
- description:
24661
- 'Date and time at which Seam created the warning.',
24662
- format: 'date-time',
24663
- type: 'string',
24664
- },
24665
- message: {
24666
- description:
24667
- 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
24668
- type: 'string',
24669
- },
24670
- warning_code: {
24671
- description:
24672
- 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
24673
- enum: ['nest_thermostat_in_manual_eco_mode'],
24674
- type: 'string',
24675
- },
24676
- },
24677
- required: ['message', 'created_at', 'warning_code'],
24678
- type: 'object',
24679
- 'x-variant-group-key': 'thermostats',
24680
- },
24681
24635
  {
24682
24636
  description:
24683
24637
  'Indicates that the Remote Unlock feature is not enabled in the settings."',
@@ -27998,8 +27952,10 @@ export default {
27998
27952
  type: 'array',
27999
27953
  },
28000
27954
  ends_at: {
27955
+ default: null,
28001
27956
  description:
28002
27957
  '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`.',
27958
+ nullable: true,
28003
27959
  type: 'string',
28004
27960
  },
28005
27961
  location: {
@@ -28776,7 +28732,6 @@ export default {
28776
28732
  description:
28777
28733
  'Date and time at which the validity of the grant starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.',
28778
28734
  format: 'date-time',
28779
- nullable: true,
28780
28735
  type: 'string',
28781
28736
  },
28782
28737
  },
@@ -28845,7 +28800,6 @@ export default {
28845
28800
  description:
28846
28801
  'Date and time at which the validity of the grant starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.',
28847
28802
  format: 'date-time',
28848
- nullable: true,
28849
28803
  type: 'string',
28850
28804
  },
28851
28805
  },
@@ -29247,6 +29201,12 @@ export default {
29247
29201
  },
29248
29202
  type: 'array',
29249
29203
  },
29204
+ connect_webviews: {
29205
+ items: {
29206
+ $ref: '#/components/schemas/connect_webview',
29207
+ },
29208
+ type: 'array',
29209
+ },
29250
29210
  devices: {
29251
29211
  items: { $ref: '#/components/schemas/device' },
29252
29212
  type: 'array',
@@ -29400,6 +29360,12 @@ export default {
29400
29360
  },
29401
29361
  type: 'array',
29402
29362
  },
29363
+ connect_webviews: {
29364
+ items: {
29365
+ $ref: '#/components/schemas/connect_webview',
29366
+ },
29367
+ type: 'array',
29368
+ },
29403
29369
  devices: {
29404
29370
  items: { $ref: '#/components/schemas/device' },
29405
29371
  type: 'array',
@@ -36984,6 +36950,7 @@ export default {
36984
36950
  'sensi',
36985
36951
  'kwikset2',
36986
36952
  'keynest',
36953
+ 'dormakaba_ambiance',
36987
36954
  'yale_access',
36988
36955
  'hid_cm',
36989
36956
  'google_nest',
@@ -38053,6 +38020,11 @@ export default {
38053
38020
  {
38054
38021
  default: {
38055
38022
  features: {
38023
+ configure: {
38024
+ allow_access_automation_rule_customization: false,
38025
+ allow_instant_key_customization: false,
38026
+ exclude: false,
38027
+ },
38056
38028
  connect: { exclude: false },
38057
38029
  manage_devices: { exclude: false },
38058
38030
  organize: { exclude: false },
@@ -38064,6 +38036,32 @@ export default {
38064
38036
  features: {
38065
38037
  default: {},
38066
38038
  properties: {
38039
+ configure: {
38040
+ default: {},
38041
+ description:
38042
+ 'Configuration for the configure feature.',
38043
+ properties: {
38044
+ allow_access_automation_rule_customization: {
38045
+ default: false,
38046
+ description:
38047
+ 'Indicates whether the customer can customize the access automation rules for their properties.',
38048
+ type: 'boolean',
38049
+ },
38050
+ allow_instant_key_customization: {
38051
+ default: false,
38052
+ description:
38053
+ 'Indicates whether the customer can customize the Instant Key profile for their properties.',
38054
+ type: 'boolean',
38055
+ },
38056
+ exclude: {
38057
+ default: false,
38058
+ description:
38059
+ 'Whether to exclude this feature from the portal.',
38060
+ type: 'boolean',
38061
+ },
38062
+ },
38063
+ type: 'object',
38064
+ },
38067
38065
  connect: {
38068
38066
  default: {},
38069
38067
  description:
@@ -47255,6 +47253,18 @@ export default {
47255
47253
  },
47256
47254
  features: {
47257
47255
  properties: {
47256
+ configure: {
47257
+ properties: {
47258
+ allow_access_automation_rule_customization: {
47259
+ type: 'boolean',
47260
+ },
47261
+ allow_instant_key_customization: {
47262
+ type: 'boolean',
47263
+ },
47264
+ exclude: { type: 'boolean' },
47265
+ },
47266
+ type: 'object',
47267
+ },
47258
47268
  connect: {
47259
47269
  properties: { exclude: { type: 'boolean' } },
47260
47270
  type: 'object',
@@ -47338,6 +47348,18 @@ export default {
47338
47348
  },
47339
47349
  features: {
47340
47350
  properties: {
47351
+ configure: {
47352
+ properties: {
47353
+ allow_access_automation_rule_customization: {
47354
+ type: 'boolean',
47355
+ },
47356
+ allow_instant_key_customization: {
47357
+ type: 'boolean',
47358
+ },
47359
+ exclude: { type: 'boolean' },
47360
+ },
47361
+ type: 'object',
47362
+ },
47341
47363
  connect: {
47342
47364
  properties: { exclude: { type: 'boolean' } },
47343
47365
  type: 'object',
@@ -57177,6 +57199,12 @@ export default {
57177
57199
  },
57178
57200
  type: 'array',
57179
57201
  },
57202
+ connect_webviews: {
57203
+ items: {
57204
+ $ref: '#/components/schemas/connect_webview',
57205
+ },
57206
+ type: 'array',
57207
+ },
57180
57208
  devices: {
57181
57209
  items: { $ref: '#/components/schemas/device' },
57182
57210
  type: 'array',
@@ -57305,6 +57333,12 @@ export default {
57305
57333
  },
57306
57334
  type: 'array',
57307
57335
  },
57336
+ connect_webviews: {
57337
+ items: {
57338
+ $ref: '#/components/schemas/connect_webview',
57339
+ },
57340
+ type: 'array',
57341
+ },
57308
57342
  devices: {
57309
57343
  items: { $ref: '#/components/schemas/device' },
57310
57344
  type: 'array',