@seamapi/types 1.965.0 → 1.966.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 (36) hide show
  1. package/dist/connect.cjs +94 -17
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +511 -0
  4. package/dist/index.cjs +94 -17
  5. package/dist/index.cjs.map +1 -1
  6. package/lib/seam/connect/models/acs/acs-credential.d.ts +10 -0
  7. package/lib/seam/connect/models/acs/acs-credential.js +4 -0
  8. package/lib/seam/connect/models/acs/acs-credential.js.map +1 -1
  9. package/lib/seam/connect/models/acs/acs-entrance.d.ts +5 -0
  10. package/lib/seam/connect/models/acs/acs-entrance.js +4 -0
  11. package/lib/seam/connect/models/acs/acs-entrance.js.map +1 -1
  12. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +39 -0
  13. package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +14 -0
  14. package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +18 -0
  15. package/lib/seam/connect/models/action-attempts/scan-to-assign-credential.d.ts +7 -0
  16. package/lib/seam/connect/models/devices/capability-properties/index.d.ts +7 -0
  17. package/lib/seam/connect/models/devices/capability-properties/thermostat.d.ts +7 -0
  18. package/lib/seam/connect/models/devices/device.d.ts +9 -0
  19. package/lib/seam/connect/models/devices/phone.d.ts +10 -0
  20. package/lib/seam/connect/models/devices/phone.js +8 -0
  21. package/lib/seam/connect/models/devices/phone.js.map +1 -1
  22. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +7 -0
  23. package/lib/seam/connect/models/phones/phone-session.d.ts +36 -0
  24. package/lib/seam/connect/models/thermostats/thermostat-schedule.d.ts +5 -0
  25. package/lib/seam/connect/models/thermostats/thermostat-schedule.js +4 -0
  26. package/lib/seam/connect/models/thermostats/thermostat-schedule.js.map +1 -1
  27. package/lib/seam/connect/openapi.js +88 -14
  28. package/lib/seam/connect/openapi.js.map +1 -1
  29. package/lib/seam/connect/route-types.d.ts +436 -0
  30. package/package.json +1 -1
  31. package/src/lib/seam/connect/models/acs/acs-credential.ts +4 -0
  32. package/src/lib/seam/connect/models/acs/acs-entrance.ts +4 -0
  33. package/src/lib/seam/connect/models/devices/phone.ts +8 -0
  34. package/src/lib/seam/connect/models/thermostats/thermostat-schedule.ts +4 -0
  35. package/src/lib/seam/connect/openapi.ts +97 -14
  36. package/src/lib/seam/connect/route-types.ts +436 -0
@@ -2983,10 +2983,15 @@ const openapi = {
2983
2983
  description: 'Errors associated with the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).',
2984
2984
  items: {
2985
2985
  properties: {
2986
+ created_at: {
2987
+ description: 'Date and time at which Seam created the error.',
2988
+ format: 'date-time',
2989
+ type: 'string',
2990
+ },
2986
2991
  error_code: { type: 'string' },
2987
2992
  message: { type: 'string' },
2988
2993
  },
2989
- required: ['error_code', 'message'],
2994
+ required: ['error_code', 'message', 'created_at'],
2990
2995
  type: 'object',
2991
2996
  },
2992
2997
  type: 'array',
@@ -3536,6 +3541,11 @@ const openapi = {
3536
3541
  description: 'Errors associated with the [entrance](https://docs.seam.co/low-level-apis/access-systems/retrieving-entrance-details).',
3537
3542
  items: {
3538
3543
  properties: {
3544
+ created_at: {
3545
+ description: 'Date and time at which Seam created the error.',
3546
+ format: 'date-time',
3547
+ type: 'string',
3548
+ },
3539
3549
  error_code: {
3540
3550
  description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
3541
3551
  type: 'string',
@@ -3545,7 +3555,7 @@ const openapi = {
3545
3555
  type: 'string',
3546
3556
  },
3547
3557
  },
3548
- required: ['error_code', 'message'],
3558
+ required: ['error_code', 'message', 'created_at'],
3549
3559
  type: 'object',
3550
3560
  },
3551
3561
  type: 'array',
@@ -5517,10 +5527,15 @@ const openapi = {
5517
5527
  description: 'Errors associated with the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).',
5518
5528
  items: {
5519
5529
  properties: {
5530
+ created_at: {
5531
+ description: 'Date and time at which Seam created the error.',
5532
+ format: 'date-time',
5533
+ type: 'string',
5534
+ },
5520
5535
  error_code: { type: 'string' },
5521
5536
  message: { type: 'string' },
5522
5537
  },
5523
- required: ['error_code', 'message'],
5538
+ required: ['error_code', 'message', 'created_at'],
5524
5539
  type: 'object',
5525
5540
  },
5526
5541
  type: 'array',
@@ -5914,10 +5929,15 @@ const openapi = {
5914
5929
  description: 'Errors associated with the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).',
5915
5930
  items: {
5916
5931
  properties: {
5932
+ created_at: {
5933
+ description: 'Date and time at which Seam created the error.',
5934
+ format: 'date-time',
5935
+ type: 'string',
5936
+ },
5917
5937
  error_code: { type: 'string' },
5918
5938
  message: { type: 'string' },
5919
5939
  },
5920
- required: ['error_code', 'message'],
5940
+ required: ['error_code', 'message', 'created_at'],
5921
5941
  type: 'object',
5922
5942
  },
5923
5943
  type: 'array',
@@ -6533,10 +6553,15 @@ const openapi = {
6533
6553
  description: 'Errors associated with the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).',
6534
6554
  items: {
6535
6555
  properties: {
6556
+ created_at: {
6557
+ description: 'Date and time at which Seam created the error.',
6558
+ format: 'date-time',
6559
+ type: 'string',
6560
+ },
6536
6561
  error_code: { type: 'string' },
6537
6562
  message: { type: 'string' },
6538
6563
  },
6539
- required: ['error_code', 'message'],
6564
+ required: ['error_code', 'message', 'created_at'],
6540
6565
  type: 'object',
6541
6566
  },
6542
6567
  type: 'array',
@@ -6928,10 +6953,15 @@ const openapi = {
6928
6953
  description: 'Errors associated with the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).',
6929
6954
  items: {
6930
6955
  properties: {
6956
+ created_at: {
6957
+ description: 'Date and time at which Seam created the error.',
6958
+ format: 'date-time',
6959
+ type: 'string',
6960
+ },
6931
6961
  error_code: { type: 'string' },
6932
6962
  message: { type: 'string' },
6933
6963
  },
6934
- required: ['error_code', 'message'],
6964
+ required: ['error_code', 'message', 'created_at'],
6935
6965
  type: 'object',
6936
6966
  },
6937
6967
  type: 'array',
@@ -7574,10 +7604,15 @@ const openapi = {
7574
7604
  description: 'Errors associated with the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).',
7575
7605
  items: {
7576
7606
  properties: {
7607
+ created_at: {
7608
+ description: 'Date and time at which Seam created the error.',
7609
+ format: 'date-time',
7610
+ type: 'string',
7611
+ },
7577
7612
  error_code: { type: 'string' },
7578
7613
  message: { type: 'string' },
7579
7614
  },
7580
- required: ['error_code', 'message'],
7615
+ required: ['error_code', 'message', 'created_at'],
7581
7616
  type: 'object',
7582
7617
  },
7583
7618
  type: 'array',
@@ -13651,6 +13686,11 @@ const openapi = {
13651
13686
  description: 'Errors associated with the [thermostat schedule](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-thermostat-schedules).',
13652
13687
  items: {
13653
13688
  properties: {
13689
+ created_at: {
13690
+ description: 'Date and time at which Seam created the error.',
13691
+ format: 'date-time',
13692
+ type: 'string',
13693
+ },
13654
13694
  error_code: {
13655
13695
  description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
13656
13696
  type: 'string',
@@ -13660,7 +13700,7 @@ const openapi = {
13660
13700
  type: 'string',
13661
13701
  },
13662
13702
  },
13663
- required: ['error_code', 'message'],
13703
+ required: ['error_code', 'message', 'created_at'],
13664
13704
  type: 'object',
13665
13705
  },
13666
13706
  type: 'array',
@@ -24649,6 +24689,11 @@ const openapi = {
24649
24689
  description: 'Errors associated with the phone.',
24650
24690
  items: {
24651
24691
  properties: {
24692
+ created_at: {
24693
+ description: 'Date and time at which Seam created the error.',
24694
+ format: 'date-time',
24695
+ type: 'string',
24696
+ },
24652
24697
  error_code: {
24653
24698
  description: 'Unique identifier of the type of error.',
24654
24699
  type: 'string',
@@ -24658,7 +24703,7 @@ const openapi = {
24658
24703
  type: 'string',
24659
24704
  },
24660
24705
  },
24661
- required: ['error_code', 'message'],
24706
+ required: ['error_code', 'message', 'created_at'],
24662
24707
  type: 'object',
24663
24708
  },
24664
24709
  type: 'array',
@@ -24714,6 +24759,11 @@ const openapi = {
24714
24759
  description: 'Warnings associated with the phone.',
24715
24760
  items: {
24716
24761
  properties: {
24762
+ created_at: {
24763
+ description: 'Date and time at which Seam created the warning.',
24764
+ format: 'date-time',
24765
+ type: 'string',
24766
+ },
24717
24767
  message: {
24718
24768
  description: 'Detailed description of the warning.',
24719
24769
  type: 'string',
@@ -24723,7 +24773,7 @@ const openapi = {
24723
24773
  type: 'string',
24724
24774
  },
24725
24775
  },
24726
- required: ['warning_code', 'message'],
24776
+ required: ['warning_code', 'message', 'created_at'],
24727
24777
  type: 'object',
24728
24778
  },
24729
24779
  type: 'array',
@@ -24965,6 +25015,11 @@ const openapi = {
24965
25015
  description: 'Errors associated with the [entrance](https://docs.seam.co/low-level-apis/access-systems/retrieving-entrance-details).',
24966
25016
  items: {
24967
25017
  properties: {
25018
+ created_at: {
25019
+ description: 'Date and time at which Seam created the error.',
25020
+ format: 'date-time',
25021
+ type: 'string',
25022
+ },
24968
25023
  error_code: {
24969
25024
  description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
24970
25025
  type: 'string',
@@ -24974,7 +25029,11 @@ const openapi = {
24974
25029
  type: 'string',
24975
25030
  },
24976
25031
  },
24977
- required: ['error_code', 'message'],
25032
+ required: [
25033
+ 'error_code',
25034
+ 'message',
25035
+ 'created_at',
25036
+ ],
24978
25037
  type: 'object',
24979
25038
  },
24980
25039
  type: 'array',
@@ -25363,10 +25422,15 @@ const openapi = {
25363
25422
  description: 'Errors associated with the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).',
25364
25423
  items: {
25365
25424
  properties: {
25425
+ created_at: {
25426
+ description: 'Date and time at which Seam created the error.',
25427
+ format: 'date-time',
25428
+ type: 'string',
25429
+ },
25366
25430
  error_code: { type: 'string' },
25367
25431
  message: { type: 'string' },
25368
25432
  },
25369
- required: ['error_code', 'message'],
25433
+ required: ['error_code', 'message', 'created_at'],
25370
25434
  type: 'object',
25371
25435
  },
25372
25436
  type: 'array',
@@ -26156,6 +26220,11 @@ const openapi = {
26156
26220
  description: 'Errors associated with the [thermostat schedule](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-thermostat-schedules).',
26157
26221
  items: {
26158
26222
  properties: {
26223
+ created_at: {
26224
+ description: 'Date and time at which Seam created the error.',
26225
+ format: 'date-time',
26226
+ type: 'string',
26227
+ },
26159
26228
  error_code: {
26160
26229
  description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
26161
26230
  type: 'string',
@@ -26165,7 +26234,7 @@ const openapi = {
26165
26234
  type: 'string',
26166
26235
  },
26167
26236
  },
26168
- required: ['error_code', 'message'],
26237
+ required: ['error_code', 'message', 'created_at'],
26169
26238
  type: 'object',
26170
26239
  },
26171
26240
  type: 'array',
@@ -27953,10 +28022,15 @@ const openapi = {
27953
28022
  description: 'Errors associated with the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).',
27954
28023
  items: {
27955
28024
  properties: {
28025
+ created_at: {
28026
+ description: 'Date and time at which Seam created the error.',
28027
+ format: 'date-time',
28028
+ type: 'string',
28029
+ },
27956
28030
  error_code: { type: 'string' },
27957
28031
  message: { type: 'string' },
27958
28032
  },
27959
- required: ['error_code', 'message'],
28033
+ required: ['error_code', 'message', 'created_at'],
27960
28034
  type: 'object',
27961
28035
  },
27962
28036
  type: 'array',