@seamapi/types 1.425.0 → 1.427.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 (28) hide show
  1. package/dist/connect.cjs +67 -22
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +101 -18
  4. package/lib/seam/connect/models/access-grants/access-grant.d.ts +3 -0
  5. package/lib/seam/connect/models/access-grants/access-grant.js +5 -0
  6. package/lib/seam/connect/models/access-grants/access-grant.js.map +1 -1
  7. package/lib/seam/connect/models/access-grants/access-method.d.ts +2 -2
  8. package/lib/seam/connect/models/access-grants/access-method.js +1 -0
  9. package/lib/seam/connect/models/access-grants/access-method.js.map +1 -1
  10. package/lib/seam/connect/models/acs/acs-entrance.d.ts +4 -4
  11. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +4 -4
  12. package/lib/seam/connect/models/action-attempts/encode-access-method.d.ts +4 -4
  13. package/lib/seam/connect/models/devices/device-provider.d.ts +3 -0
  14. package/lib/seam/connect/models/devices/device.d.ts +6 -0
  15. package/lib/seam/connect/models/devices/device.js +1 -0
  16. package/lib/seam/connect/models/devices/device.js.map +1 -1
  17. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +4 -0
  18. package/lib/seam/connect/models/phones/phone-session.d.ts +14 -14
  19. package/lib/seam/connect/openapi.d.ts +40 -0
  20. package/lib/seam/connect/openapi.js +44 -0
  21. package/lib/seam/connect/openapi.js.map +1 -1
  22. package/lib/seam/connect/route-types.d.ts +40 -10
  23. package/package.json +1 -1
  24. package/src/lib/seam/connect/models/access-grants/access-grant.ts +7 -0
  25. package/src/lib/seam/connect/models/access-grants/access-method.ts +1 -0
  26. package/src/lib/seam/connect/models/devices/device.ts +1 -0
  27. package/src/lib/seam/connect/openapi.ts +47 -0
  28. package/src/lib/seam/connect/route-types.ts +40 -0
@@ -1595,6 +1595,11 @@ export default {
1595
1595
  format: 'date-time',
1596
1596
  type: 'string',
1597
1597
  },
1598
+ instant_key_url: {
1599
+ description: 'Instant Key URL. Only returned if the access grant has a single mobile_key access_method. ',
1600
+ format: 'uri',
1601
+ type: 'string',
1602
+ },
1598
1603
  location_ids: {
1599
1604
  deprecated: true,
1600
1605
  items: { format: 'uuid', type: 'string' },
@@ -1690,6 +1695,7 @@ export default {
1690
1695
  },
1691
1696
  instant_key_url: {
1692
1697
  description: 'URL of the Instant Key for mobile key access methods.',
1698
+ format: 'uri',
1693
1699
  type: 'string',
1694
1700
  },
1695
1701
  is_card_encoding_required: {
@@ -4879,6 +4885,7 @@ export default {
4879
4885
  },
4880
4886
  instant_key_url: {
4881
4887
  description: 'URL of the Instant Key for mobile key access methods.',
4888
+ format: 'uri',
4882
4889
  type: 'string',
4883
4890
  },
4884
4891
  is_card_encoding_required: {
@@ -8265,6 +8272,7 @@ export default {
8265
8272
  can_simulate_disconnection: { type: 'boolean' },
8266
8273
  can_simulate_removal: { type: 'boolean' },
8267
8274
  can_turn_off_hvac: { type: 'boolean' },
8275
+ can_unlock_with_code: { type: 'boolean' },
8268
8276
  capabilities_supported: {
8269
8277
  description: '\n Collection of capabilities that the device supports when connected to Seam. Values are `access_code`, which indicates that the device can manage and utilize digital PIN codes for secure access; `lock`, which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; `noise_detection`, which indicates that the device supports monitoring and responding to ambient noise levels; `thermostat`, which indicates that the device can regulate and adjust indoor temperatures; `battery`, which indicates that the device can manage battery life and health; and `phone`, which indicates that the device is a mobile device, such as a smartphone. **Important:** Superseded by [capability flags](https://docs.seam.co/latest/capability-guides/device-and-system-capabilities#capability-flags).\n ',
8270
8278
  items: {
@@ -11384,6 +11392,7 @@ export default {
11384
11392
  can_simulate_disconnection: { type: 'boolean' },
11385
11393
  can_simulate_removal: { type: 'boolean' },
11386
11394
  can_turn_off_hvac: { type: 'boolean' },
11395
+ can_unlock_with_code: { type: 'boolean' },
11387
11396
  device_provider_name: {
11388
11397
  enum: [
11389
11398
  'dormakaba_community',
@@ -20117,6 +20126,7 @@ export default {
20117
20126
  can_simulate_disconnection: { type: 'boolean' },
20118
20127
  can_simulate_removal: { type: 'boolean' },
20119
20128
  can_turn_off_hvac: { type: 'boolean' },
20129
+ can_unlock_with_code: { type: 'boolean' },
20120
20130
  capabilities_supported: {
20121
20131
  description: '\n Collection of capabilities that the device supports when connected to Seam. Values are `access_code`, which indicates that the device can manage and utilize digital PIN codes for secure access; `lock`, which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; `noise_detection`, which indicates that the device supports monitoring and responding to ambient noise levels; `thermostat`, which indicates that the device can regulate and adjust indoor temperatures; `battery`, which indicates that the device can manage battery life and health; and `phone`, which indicates that the device is a mobile device, such as a smartphone. **Important:** Superseded by [capability flags](https://docs.seam.co/latest/capability-guides/device-and-system-capabilities#capability-flags).\n ',
20122
20132
  items: {
@@ -32563,6 +32573,15 @@ export default {
32563
32573
  type: 'array',
32564
32574
  },
32565
32575
  },
32576
+ {
32577
+ in: 'query',
32578
+ name: 'search',
32579
+ schema: {
32580
+ description: 'String for which to search. Filters returned connected accounts to include all records that satisfy a partial match using `connected_account_id`, `account_type`, `customer_key`, `custom_metadata`, `user_identifier.username`, `user_identifier.email` or `user_identifier.phone`.',
32581
+ minLength: 1,
32582
+ type: 'string',
32583
+ },
32584
+ },
32566
32585
  {
32567
32586
  in: 'query',
32568
32587
  name: 'limit',
@@ -32652,6 +32671,11 @@ export default {
32652
32671
  nullable: true,
32653
32672
  type: 'string',
32654
32673
  },
32674
+ search: {
32675
+ description: 'String for which to search. Filters returned connected accounts to include all records that satisfy a partial match using `connected_account_id`, `account_type`, `customer_key`, `custom_metadata`, `user_identifier.username`, `user_identifier.email` or `user_identifier.phone`.',
32676
+ minLength: 1,
32677
+ type: 'string',
32678
+ },
32655
32679
  user_identifier_key: {
32656
32680
  description: 'Your user ID for the user by which you want to filter connected accounts.',
32657
32681
  type: 'string',
@@ -34597,6 +34621,7 @@ export default {
34597
34621
  'can_simulate_removal',
34598
34622
  'can_simulate_connection',
34599
34623
  'can_simulate_disconnection',
34624
+ 'can_unlock_with_code',
34600
34625
  ],
34601
34626
  type: 'string',
34602
34627
  },
@@ -34621,6 +34646,7 @@ export default {
34621
34646
  'can_simulate_removal',
34622
34647
  'can_simulate_connection',
34623
34648
  'can_simulate_disconnection',
34649
+ 'can_unlock_with_code',
34624
34650
  ],
34625
34651
  type: 'string',
34626
34652
  },
@@ -34877,6 +34903,7 @@ export default {
34877
34903
  'can_simulate_removal',
34878
34904
  'can_simulate_connection',
34879
34905
  'can_simulate_disconnection',
34906
+ 'can_unlock_with_code',
34880
34907
  ],
34881
34908
  type: 'string',
34882
34909
  },
@@ -34897,6 +34924,7 @@ export default {
34897
34924
  'can_simulate_removal',
34898
34925
  'can_simulate_connection',
34899
34926
  'can_simulate_disconnection',
34927
+ 'can_unlock_with_code',
34900
34928
  ],
34901
34929
  type: 'string',
34902
34930
  },
@@ -35703,6 +35731,7 @@ export default {
35703
35731
  'can_simulate_removal',
35704
35732
  'can_simulate_connection',
35705
35733
  'can_simulate_disconnection',
35734
+ 'can_unlock_with_code',
35706
35735
  ],
35707
35736
  type: 'string',
35708
35737
  },
@@ -35727,6 +35756,7 @@ export default {
35727
35756
  'can_simulate_removal',
35728
35757
  'can_simulate_connection',
35729
35758
  'can_simulate_disconnection',
35759
+ 'can_unlock_with_code',
35730
35760
  ],
35731
35761
  type: 'string',
35732
35762
  },
@@ -35980,6 +36010,7 @@ export default {
35980
36010
  'can_simulate_removal',
35981
36011
  'can_simulate_connection',
35982
36012
  'can_simulate_disconnection',
36013
+ 'can_unlock_with_code',
35983
36014
  ],
35984
36015
  type: 'string',
35985
36016
  },
@@ -36000,6 +36031,7 @@ export default {
36000
36031
  'can_simulate_removal',
36001
36032
  'can_simulate_connection',
36002
36033
  'can_simulate_disconnection',
36034
+ 'can_unlock_with_code',
36003
36035
  ],
36004
36036
  type: 'string',
36005
36037
  },
@@ -37577,6 +37609,7 @@ export default {
37577
37609
  'can_simulate_removal',
37578
37610
  'can_simulate_connection',
37579
37611
  'can_simulate_disconnection',
37612
+ 'can_unlock_with_code',
37580
37613
  ],
37581
37614
  type: 'string',
37582
37615
  },
@@ -37601,6 +37634,7 @@ export default {
37601
37634
  'can_simulate_removal',
37602
37635
  'can_simulate_connection',
37603
37636
  'can_simulate_disconnection',
37637
+ 'can_unlock_with_code',
37604
37638
  ],
37605
37639
  type: 'string',
37606
37640
  },
@@ -37806,6 +37840,7 @@ export default {
37806
37840
  'can_simulate_removal',
37807
37841
  'can_simulate_connection',
37808
37842
  'can_simulate_disconnection',
37843
+ 'can_unlock_with_code',
37809
37844
  ],
37810
37845
  type: 'string',
37811
37846
  },
@@ -37826,6 +37861,7 @@ export default {
37826
37861
  'can_simulate_removal',
37827
37862
  'can_simulate_connection',
37828
37863
  'can_simulate_disconnection',
37864
+ 'can_unlock_with_code',
37829
37865
  ],
37830
37866
  type: 'string',
37831
37867
  },
@@ -38570,6 +38606,7 @@ export default {
38570
38606
  'can_simulate_removal',
38571
38607
  'can_simulate_connection',
38572
38608
  'can_simulate_disconnection',
38609
+ 'can_unlock_with_code',
38573
38610
  ],
38574
38611
  type: 'string',
38575
38612
  },
@@ -38594,6 +38631,7 @@ export default {
38594
38631
  'can_simulate_removal',
38595
38632
  'can_simulate_connection',
38596
38633
  'can_simulate_disconnection',
38634
+ 'can_unlock_with_code',
38597
38635
  ],
38598
38636
  type: 'string',
38599
38637
  },
@@ -38743,6 +38781,7 @@ export default {
38743
38781
  'can_simulate_removal',
38744
38782
  'can_simulate_connection',
38745
38783
  'can_simulate_disconnection',
38784
+ 'can_unlock_with_code',
38746
38785
  ],
38747
38786
  type: 'string',
38748
38787
  },
@@ -38763,6 +38802,7 @@ export default {
38763
38802
  'can_simulate_removal',
38764
38803
  'can_simulate_connection',
38765
38804
  'can_simulate_disconnection',
38805
+ 'can_unlock_with_code',
38766
38806
  ],
38767
38807
  type: 'string',
38768
38808
  },
@@ -43097,6 +43137,7 @@ export default {
43097
43137
  'can_simulate_removal',
43098
43138
  'can_simulate_connection',
43099
43139
  'can_simulate_disconnection',
43140
+ 'can_unlock_with_code',
43100
43141
  ],
43101
43142
  type: 'string',
43102
43143
  },
@@ -43121,6 +43162,7 @@ export default {
43121
43162
  'can_simulate_removal',
43122
43163
  'can_simulate_connection',
43123
43164
  'can_simulate_disconnection',
43165
+ 'can_unlock_with_code',
43124
43166
  ],
43125
43167
  type: 'string',
43126
43168
  },
@@ -43284,6 +43326,7 @@ export default {
43284
43326
  'can_simulate_removal',
43285
43327
  'can_simulate_connection',
43286
43328
  'can_simulate_disconnection',
43329
+ 'can_unlock_with_code',
43287
43330
  ],
43288
43331
  type: 'string',
43289
43332
  },
@@ -43304,6 +43347,7 @@ export default {
43304
43347
  'can_simulate_removal',
43305
43348
  'can_simulate_connection',
43306
43349
  'can_simulate_disconnection',
43350
+ 'can_unlock_with_code',
43307
43351
  ],
43308
43352
  type: 'string',
43309
43353
  },