@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
@@ -1487,7 +1487,6 @@ declare const routes: {
1487
1487
  founding_year: z.ZodOptional<z.ZodString>;
1488
1488
  us_customer_support_tel: z.ZodOptional<z.ZodString>;
1489
1489
  us_customer_support_email: z.ZodOptional<z.ZodString>;
1490
- /** @deprecated */
1491
1490
  us_customer_support_contact_url: z.ZodOptional<z.ZodString>;
1492
1491
  seam_api_guide: z.ZodOptional<z.ZodString>;
1493
1492
  description: z.ZodOptional<z.ZodString>;
@@ -2348,7 +2347,6 @@ declare const routes: {
2348
2347
  founding_year: z.ZodOptional<z.ZodString>;
2349
2348
  us_customer_support_tel: z.ZodOptional<z.ZodString>;
2350
2349
  us_customer_support_email: z.ZodOptional<z.ZodString>;
2351
- /** @deprecated */
2352
2350
  us_customer_support_contact_url: z.ZodOptional<z.ZodString>;
2353
2351
  seam_api_guide: z.ZodOptional<z.ZodString>;
2354
2352
  description: z.ZodOptional<z.ZodString>;
@@ -3185,7 +3183,6 @@ declare const routes: {
3185
3183
  founding_year: z.ZodOptional<z.ZodString>;
3186
3184
  us_customer_support_tel: z.ZodOptional<z.ZodString>;
3187
3185
  us_customer_support_email: z.ZodOptional<z.ZodString>;
3188
- /** @deprecated */
3189
3186
  us_customer_support_contact_url: z.ZodOptional<z.ZodString>;
3190
3187
  seam_api_guide: z.ZodOptional<z.ZodString>;
3191
3188
  description: z.ZodOptional<z.ZodString>;
@@ -3365,7 +3362,6 @@ declare const routes: {
3365
3362
  founding_year: z.ZodOptional<z.ZodString>;
3366
3363
  us_customer_support_tel: z.ZodOptional<z.ZodString>;
3367
3364
  us_customer_support_email: z.ZodOptional<z.ZodString>;
3368
- /** @deprecated */
3369
3365
  us_customer_support_contact_url: z.ZodOptional<z.ZodString>;
3370
3366
  seam_api_guide: z.ZodOptional<z.ZodString>;
3371
3367
  description: z.ZodOptional<z.ZodString>;
package/dist/index.cjs CHANGED
@@ -1324,14 +1324,6 @@ var functional_offline_device = common_device_warning.extend({
1324
1324
  var third_party_integration_detected = common_device_warning.extend({
1325
1325
  warning_code: zod.z.literal("third_party_integration_detected").describe(warning_code_description2)
1326
1326
  }).describe("Indicates that a third-party integration has been detected.");
1327
- var nest_thermostat_in_manual_eco_mode = common_device_warning.extend({
1328
- warning_code: zod.z.literal("nest_thermostat_in_manual_eco_mode").describe(warning_code_description2)
1329
- }).describe(`
1330
- ---
1331
- variant_group_key: thermostats
1332
- ---
1333
- Indicates that the Nest thermostat is in manual eco mode.
1334
- `);
1335
1327
  var ttlock_lock_gateway_unlocking_not_enabled = common_device_warning.extend({
1336
1328
  warning_code: zod.z.literal("ttlock_lock_gateway_unlocking_not_enabled").describe(warning_code_description2)
1337
1329
  }).describe(`
@@ -1389,7 +1381,6 @@ var device_warning = zod.z.discriminatedUnion("warning_code", [
1389
1381
  wyze_device_missing_gateway,
1390
1382
  functional_offline_device,
1391
1383
  third_party_integration_detected,
1392
- nest_thermostat_in_manual_eco_mode,
1393
1384
  ttlock_lock_gateway_unlocking_not_enabled,
1394
1385
  ttlock_weak_gateway_signal,
1395
1386
  power_saving_mode,
@@ -1413,7 +1404,6 @@ zod.z.object({
1413
1404
  wyze_device_missing_gateway: wyze_device_missing_gateway.optional().nullable(),
1414
1405
  functional_offline_device: functional_offline_device.optional().nullable(),
1415
1406
  third_party_integration_detected: third_party_integration_detected.optional().nullable(),
1416
- nest_thermostat_in_manual_eco_mode: nest_thermostat_in_manual_eco_mode.optional().nullable(),
1417
1407
  ttlock_lock_gateway_unlocking_not_enabled: ttlock_lock_gateway_unlocking_not_enabled.optional().nullable(),
1418
1408
  ttlock_weak_gateway_signal: ttlock_weak_gateway_signal.optional().nullable(),
1419
1409
  power_saving_mode: power_saving_mode.optional().nullable(),
@@ -7009,6 +6999,7 @@ var openapi_default = {
7009
6999
  ends_at: {
7010
7000
  description: "Date and time at which the Access Grant ends.",
7011
7001
  format: "date-time",
7002
+ nullable: true,
7012
7003
  type: "string"
7013
7004
  },
7014
7005
  instant_key_url: {
@@ -7092,7 +7083,9 @@ var openapi_default = {
7092
7083
  "access_method_ids",
7093
7084
  "name",
7094
7085
  "display_name",
7095
- "created_at"
7086
+ "created_at",
7087
+ "starts_at",
7088
+ "ends_at"
7096
7089
  ],
7097
7090
  type: "object",
7098
7091
  "x-draft": "Early access.",
@@ -16555,28 +16548,6 @@ var openapi_default = {
16555
16548
  required: ["message", "created_at", "warning_code"],
16556
16549
  type: "object"
16557
16550
  },
16558
- {
16559
- description: "Indicates that the Nest thermostat is in manual eco mode.",
16560
- properties: {
16561
- created_at: {
16562
- description: "Date and time at which Seam created the warning.",
16563
- format: "date-time",
16564
- type: "string"
16565
- },
16566
- message: {
16567
- description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
16568
- type: "string"
16569
- },
16570
- warning_code: {
16571
- description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
16572
- enum: ["nest_thermostat_in_manual_eco_mode"],
16573
- type: "string"
16574
- }
16575
- },
16576
- required: ["message", "created_at", "warning_code"],
16577
- type: "object",
16578
- "x-variant-group-key": "thermostats"
16579
- },
16580
16551
  {
16581
16552
  description: 'Indicates that the Remote Unlock feature is not enabled in the settings."',
16582
16553
  properties: {
@@ -27481,28 +27452,6 @@ var openapi_default = {
27481
27452
  required: ["message", "created_at", "warning_code"],
27482
27453
  type: "object"
27483
27454
  },
27484
- {
27485
- description: "Indicates that the Nest thermostat is in manual eco mode.",
27486
- properties: {
27487
- created_at: {
27488
- description: "Date and time at which Seam created the warning.",
27489
- format: "date-time",
27490
- type: "string"
27491
- },
27492
- message: {
27493
- description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
27494
- type: "string"
27495
- },
27496
- warning_code: {
27497
- description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
27498
- enum: ["nest_thermostat_in_manual_eco_mode"],
27499
- type: "string"
27500
- }
27501
- },
27502
- required: ["message", "created_at", "warning_code"],
27503
- type: "object",
27504
- "x-variant-group-key": "thermostats"
27505
- },
27506
27455
  {
27507
27456
  description: 'Indicates that the Remote Unlock feature is not enabled in the settings."',
27508
27457
  properties: {
@@ -30549,7 +30498,9 @@ var openapi_default = {
30549
30498
  type: "array"
30550
30499
  },
30551
30500
  ends_at: {
30501
+ default: null,
30552
30502
  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`.",
30503
+ nullable: true,
30553
30504
  type: "string"
30554
30505
  },
30555
30506
  location: {
@@ -40115,6 +40066,11 @@ var openapi_default = {
40115
40066
  {
40116
40067
  default: {
40117
40068
  features: {
40069
+ configure: {
40070
+ allow_access_automation_rule_customization: false,
40071
+ allow_instant_key_customization: false,
40072
+ exclude: false
40073
+ },
40118
40074
  connect: { exclude: false },
40119
40075
  manage_devices: { exclude: false },
40120
40076
  organize: { exclude: false }
@@ -40126,6 +40082,28 @@ var openapi_default = {
40126
40082
  features: {
40127
40083
  default: {},
40128
40084
  properties: {
40085
+ configure: {
40086
+ default: {},
40087
+ description: "Configuration for the configure feature.",
40088
+ properties: {
40089
+ allow_access_automation_rule_customization: {
40090
+ default: false,
40091
+ description: "Indicates whether the customer can customize the access automation rules for their properties.",
40092
+ type: "boolean"
40093
+ },
40094
+ allow_instant_key_customization: {
40095
+ default: false,
40096
+ description: "Indicates whether the customer can customize the Instant Key profile for their properties.",
40097
+ type: "boolean"
40098
+ },
40099
+ exclude: {
40100
+ default: false,
40101
+ description: "Whether to exclude this feature from the portal.",
40102
+ type: "boolean"
40103
+ }
40104
+ },
40105
+ type: "object"
40106
+ },
40129
40107
  connect: {
40130
40108
  default: {},
40131
40109
  description: "Configuration for the connect accounts feature.",
@@ -48807,6 +48785,18 @@ var openapi_default = {
48807
48785
  },
48808
48786
  features: {
48809
48787
  properties: {
48788
+ configure: {
48789
+ properties: {
48790
+ allow_access_automation_rule_customization: {
48791
+ type: "boolean"
48792
+ },
48793
+ allow_instant_key_customization: {
48794
+ type: "boolean"
48795
+ },
48796
+ exclude: { type: "boolean" }
48797
+ },
48798
+ type: "object"
48799
+ },
48810
48800
  connect: {
48811
48801
  properties: { exclude: { type: "boolean" } },
48812
48802
  type: "object"
@@ -48888,6 +48878,18 @@ var openapi_default = {
48888
48878
  },
48889
48879
  features: {
48890
48880
  properties: {
48881
+ configure: {
48882
+ properties: {
48883
+ allow_access_automation_rule_customization: {
48884
+ type: "boolean"
48885
+ },
48886
+ allow_instant_key_customization: {
48887
+ type: "boolean"
48888
+ },
48889
+ exclude: { type: "boolean" }
48890
+ },
48891
+ type: "object"
48892
+ },
48891
48893
  connect: {
48892
48894
  properties: { exclude: { type: "boolean" } },
48893
48895
  type: "object"