@seamapi/types 1.424.0 → 1.425.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 (29) hide show
  1. package/dist/connect.cjs +197 -10
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +582 -6
  4. package/lib/seam/connect/internal/schemas.d.ts +1 -1
  5. package/lib/seam/connect/internal/schemas.js +1 -1
  6. package/lib/seam/connect/internal/schemas.js.map +1 -1
  7. package/lib/seam/connect/models/acs/acs-credential.d.ts +6 -0
  8. package/lib/seam/connect/models/acs/acs-credential.js +4 -0
  9. package/lib/seam/connect/models/acs/acs-credential.js.map +1 -1
  10. package/lib/seam/connect/models/acs/acs-entrance.d.ts +25 -2
  11. package/lib/seam/connect/models/acs/acs-entrance.js +18 -2
  12. package/lib/seam/connect/models/acs/acs-entrance.js.map +1 -1
  13. package/lib/seam/connect/models/acs/acs-system.js +4 -1
  14. package/lib/seam/connect/models/acs/acs-system.js.map +1 -1
  15. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +24 -0
  16. package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +10 -0
  17. package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +14 -0
  18. package/lib/seam/connect/models/phones/phone-session.d.ts +66 -4
  19. package/lib/seam/connect/openapi.d.ts +254 -4
  20. package/lib/seam/connect/openapi.js +178 -8
  21. package/lib/seam/connect/openapi.js.map +1 -1
  22. package/lib/seam/connect/route-types.d.ts +286 -0
  23. package/package.json +1 -1
  24. package/src/lib/seam/connect/internal/schemas.ts +1 -0
  25. package/src/lib/seam/connect/models/acs/acs-credential.ts +6 -0
  26. package/src/lib/seam/connect/models/acs/acs-entrance.ts +93 -70
  27. package/src/lib/seam/connect/models/acs/acs-system.ts +4 -1
  28. package/src/lib/seam/connect/openapi.ts +203 -8
  29. package/src/lib/seam/connect/route-types.ts +286 -0
@@ -2179,6 +2179,12 @@ export default {
2179
2179
  nullable: true,
2180
2180
  type: 'string',
2181
2181
  },
2182
+ connected_account_id: {
2183
+ description:
2184
+ 'ID of the [connected account](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials#connected-accounts) to which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) belongs.',
2185
+ format: 'uuid',
2186
+ type: 'string',
2187
+ },
2182
2188
  created_at: {
2183
2189
  description:
2184
2190
  'Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was created.',
@@ -2497,6 +2503,7 @@ export default {
2497
2503
  },
2498
2504
  required: [
2499
2505
  'acs_credential_id',
2506
+ 'connected_account_id',
2500
2507
  'acs_system_id',
2501
2508
  'display_name',
2502
2509
  'access_method',
@@ -2686,6 +2693,21 @@ export default {
2686
2693
  required: ['door_type', 'door_name'],
2687
2694
  type: 'object',
2688
2695
  },
2696
+ can_unlock_with_card: {
2697
+ description:
2698
+ 'Indicates whether the ACS entrance can be unlocked with card credentials.',
2699
+ type: 'boolean',
2700
+ },
2701
+ can_unlock_with_code: {
2702
+ description:
2703
+ 'Indicates whether the ACS entrance can be unlocked with pin codes.',
2704
+ type: 'boolean',
2705
+ },
2706
+ can_unlock_with_mobile_key: {
2707
+ description:
2708
+ 'Indicates whether the ACS entrance can be unlocked with mobile key credentials.',
2709
+ type: 'boolean',
2710
+ },
2689
2711
  connected_account_id: {
2690
2712
  description:
2691
2713
  'ID of the [connected account](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details) associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).',
@@ -4531,6 +4553,12 @@ export default {
4531
4553
  nullable: true,
4532
4554
  type: 'string',
4533
4555
  },
4556
+ connected_account_id: {
4557
+ description:
4558
+ 'ID of the [connected account](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials#connected-accounts) to which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) belongs.',
4559
+ format: 'uuid',
4560
+ type: 'string',
4561
+ },
4534
4562
  created_at: {
4535
4563
  description:
4536
4564
  'Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was created.',
@@ -4877,6 +4905,7 @@ export default {
4877
4905
  },
4878
4906
  required: [
4879
4907
  'acs_credential_id',
4908
+ 'connected_account_id',
4880
4909
  'acs_system_id',
4881
4910
  'display_name',
4882
4911
  'access_method',
@@ -4972,6 +5001,12 @@ export default {
4972
5001
  nullable: true,
4973
5002
  type: 'string',
4974
5003
  },
5004
+ connected_account_id: {
5005
+ description:
5006
+ 'ID of the [connected account](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials#connected-accounts) to which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) belongs.',
5007
+ format: 'uuid',
5008
+ type: 'string',
5009
+ },
4975
5010
  created_at: {
4976
5011
  description:
4977
5012
  'Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was created.',
@@ -5318,6 +5353,7 @@ export default {
5318
5353
  },
5319
5354
  required: [
5320
5355
  'acs_credential_id',
5356
+ 'connected_account_id',
5321
5357
  'acs_system_id',
5322
5358
  'display_name',
5323
5359
  'access_method',
@@ -5865,6 +5901,12 @@ export default {
5865
5901
  nullable: true,
5866
5902
  type: 'string',
5867
5903
  },
5904
+ connected_account_id: {
5905
+ description:
5906
+ 'ID of the [connected account](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials#connected-accounts) to which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) belongs.',
5907
+ format: 'uuid',
5908
+ type: 'string',
5909
+ },
5868
5910
  created_at: {
5869
5911
  description:
5870
5912
  'Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was created.',
@@ -6209,6 +6251,7 @@ export default {
6209
6251
  },
6210
6252
  required: [
6211
6253
  'acs_credential_id',
6254
+ 'connected_account_id',
6212
6255
  'acs_system_id',
6213
6256
  'display_name',
6214
6257
  'access_method',
@@ -6303,6 +6346,12 @@ export default {
6303
6346
  nullable: true,
6304
6347
  type: 'string',
6305
6348
  },
6349
+ connected_account_id: {
6350
+ description:
6351
+ 'ID of the [connected account](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials#connected-accounts) to which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) belongs.',
6352
+ format: 'uuid',
6353
+ type: 'string',
6354
+ },
6306
6355
  created_at: {
6307
6356
  description:
6308
6357
  'Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was created.',
@@ -6647,6 +6696,7 @@ export default {
6647
6696
  },
6648
6697
  required: [
6649
6698
  'acs_credential_id',
6699
+ 'connected_account_id',
6650
6700
  'acs_system_id',
6651
6701
  'display_name',
6652
6702
  'access_method',
@@ -18458,6 +18508,21 @@ export default {
18458
18508
  required: ['door_type', 'door_name'],
18459
18509
  type: 'object',
18460
18510
  },
18511
+ can_unlock_with_card: {
18512
+ description:
18513
+ 'Indicates whether the ACS entrance can be unlocked with card credentials.',
18514
+ type: 'boolean',
18515
+ },
18516
+ can_unlock_with_code: {
18517
+ description:
18518
+ 'Indicates whether the ACS entrance can be unlocked with pin codes.',
18519
+ type: 'boolean',
18520
+ },
18521
+ can_unlock_with_mobile_key: {
18522
+ description:
18523
+ 'Indicates whether the ACS entrance can be unlocked with mobile key credentials.',
18524
+ type: 'boolean',
18525
+ },
18461
18526
  connected_account_id: {
18462
18527
  description:
18463
18528
  'ID of the [connected account](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details) associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).',
@@ -18744,6 +18809,12 @@ export default {
18744
18809
  nullable: true,
18745
18810
  type: 'string',
18746
18811
  },
18812
+ connected_account_id: {
18813
+ description:
18814
+ 'ID of the [connected account](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials#connected-accounts) to which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) belongs.',
18815
+ format: 'uuid',
18816
+ type: 'string',
18817
+ },
18747
18818
  created_at: {
18748
18819
  description:
18749
18820
  'Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was created.',
@@ -19087,6 +19158,7 @@ export default {
19087
19158
  },
19088
19159
  },
19089
19160
  required: [
19161
+ 'connected_account_id',
19090
19162
  'acs_system_id',
19091
19163
  'display_name',
19092
19164
  'access_method',
@@ -21305,6 +21377,12 @@ export default {
21305
21377
  nullable: true,
21306
21378
  type: 'string',
21307
21379
  },
21380
+ connected_account_id: {
21381
+ description:
21382
+ 'ID of the [connected account](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials#connected-accounts) to which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) belongs.',
21383
+ format: 'uuid',
21384
+ type: 'string',
21385
+ },
21308
21386
  created_at: {
21309
21387
  description:
21310
21388
  'Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was created.',
@@ -21623,6 +21701,7 @@ export default {
21623
21701
  },
21624
21702
  required: [
21625
21703
  'acs_credential_id',
21704
+ 'connected_account_id',
21626
21705
  'acs_system_id',
21627
21706
  'display_name',
21628
21707
  'access_method',
@@ -24130,7 +24209,11 @@ export default {
24130
24209
  'Indicates whether to use a [backup access code pool](https://docs.seam.co/latest/core-concepts/access-codes#backup-access-codes) provided by Seam. If `true`, you can use [`/access_codes/pull_backup_access_code`](https://docs.seam.co/latest/api/access_codes/pull_backup_access_code).',
24131
24210
  type: 'boolean',
24132
24211
  },
24133
- use_offline_access_code: { type: 'boolean' },
24212
+ use_offline_access_code: {
24213
+ deprecated: true,
24214
+ type: 'boolean',
24215
+ 'x-deprecated': 'Use `is_offline_access_code` instead.',
24216
+ },
24134
24217
  },
24135
24218
  required: ['device_id'],
24136
24219
  type: 'object',
@@ -24269,7 +24352,11 @@ export default {
24269
24352
  'Indicates whether to use a [backup access code pool](https://docs.seam.co/latest/core-concepts/access-codes#backup-access-codes) provided by Seam. If `true`, you can use [`/access_codes/pull_backup_access_code`](https://docs.seam.co/latest/api/access_codes/pull_backup_access_code).',
24270
24353
  type: 'boolean',
24271
24354
  },
24272
- use_offline_access_code: { type: 'boolean' },
24355
+ use_offline_access_code: {
24356
+ deprecated: true,
24357
+ type: 'boolean',
24358
+ 'x-deprecated': 'Use `is_offline_access_code` instead.',
24359
+ },
24273
24360
  },
24274
24361
  required: ['device_ids'],
24275
24362
  type: 'object',
@@ -24404,7 +24491,11 @@ export default {
24404
24491
  'Indicates whether to use a [backup access code pool](https://docs.seam.co/latest/core-concepts/access-codes#backup-access-codes) provided by Seam. If `true`, you can use [`/access_codes/pull_backup_access_code`](https://docs.seam.co/latest/api/access_codes/pull_backup_access_code).',
24405
24492
  type: 'boolean',
24406
24493
  },
24407
- use_offline_access_code: { type: 'boolean' },
24494
+ use_offline_access_code: {
24495
+ deprecated: true,
24496
+ type: 'boolean',
24497
+ 'x-deprecated': 'Use `is_offline_access_code` instead.',
24498
+ },
24408
24499
  },
24409
24500
  required: ['device_ids'],
24410
24501
  type: 'object',
@@ -26022,7 +26113,11 @@ export default {
26022
26113
  'Indicates whether to use a [backup access code pool](https://docs.seam.co/latest/core-concepts/access-codes#backup-access-codes) provided by Seam. If `true`, you can use [`/access_codes/pull_backup_access_code`](https://docs.seam.co/latest/api/access_codes/pull_backup_access_code).',
26023
26114
  type: 'boolean',
26024
26115
  },
26025
- use_offline_access_code: { type: 'boolean' },
26116
+ use_offline_access_code: {
26117
+ deprecated: true,
26118
+ type: 'boolean',
26119
+ 'x-deprecated': 'Use `is_offline_access_code` instead.',
26120
+ },
26026
26121
  },
26027
26122
  required: ['access_code_id'],
26028
26123
  type: 'object',
@@ -26172,7 +26267,11 @@ export default {
26172
26267
  'Indicates whether to use a [backup access code pool](https://docs.seam.co/latest/core-concepts/access-codes#backup-access-codes) provided by Seam. If `true`, you can use [`/access_codes/pull_backup_access_code`](https://docs.seam.co/latest/api/access_codes/pull_backup_access_code).',
26173
26268
  type: 'boolean',
26174
26269
  },
26175
- use_offline_access_code: { type: 'boolean' },
26270
+ use_offline_access_code: {
26271
+ deprecated: true,
26272
+ type: 'boolean',
26273
+ 'x-deprecated': 'Use `is_offline_access_code` instead.',
26274
+ },
26176
26275
  },
26177
26276
  required: ['access_code_id'],
26178
26277
  type: 'object',
@@ -26322,7 +26421,11 @@ export default {
26322
26421
  'Indicates whether to use a [backup access code pool](https://docs.seam.co/latest/core-concepts/access-codes#backup-access-codes) provided by Seam. If `true`, you can use [`/access_codes/pull_backup_access_code`](https://docs.seam.co/latest/api/access_codes/pull_backup_access_code).',
26323
26422
  type: 'boolean',
26324
26423
  },
26325
- use_offline_access_code: { type: 'boolean' },
26424
+ use_offline_access_code: {
26425
+ deprecated: true,
26426
+ type: 'boolean',
26427
+ 'x-deprecated': 'Use `is_offline_access_code` instead.',
26428
+ },
26326
26429
  },
26327
26430
  required: ['access_code_id'],
26328
26431
  type: 'object',
@@ -26574,7 +26677,6 @@ export default {
26574
26677
  ends_at: {
26575
26678
  description:
26576
26679
  '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`.',
26577
- format: 'date-time',
26578
26680
  type: 'string',
26579
26681
  },
26580
26682
  location: {
@@ -26634,7 +26736,6 @@ export default {
26634
26736
  starts_at: {
26635
26737
  description:
26636
26738
  'Date and time at which the validity of the new grant starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.',
26637
- format: 'date-time',
26638
26739
  type: 'string',
26639
26740
  },
26640
26741
  },
@@ -37919,6 +38020,16 @@ export default {
37919
38020
  type: 'string',
37920
38021
  },
37921
38022
  },
38023
+ {
38024
+ in: 'query',
38025
+ name: 'search',
38026
+ schema: {
38027
+ description:
38028
+ 'String for which to search. Filters returned devices to include all records that satisfy a partial match using `device_id`, `display_name`, `custom_metadata` or `location.location_name`.',
38029
+ minLength: 1,
38030
+ type: 'string',
38031
+ },
38032
+ },
37922
38033
  ],
37923
38034
  responses: {
37924
38035
  200: {
@@ -38237,6 +38348,12 @@ export default {
38237
38348
  nullable: true,
38238
38349
  type: 'string',
38239
38350
  },
38351
+ search: {
38352
+ description:
38353
+ 'String for which to search. Filters returned devices to include all records that satisfy a partial match using `device_id`, `display_name`, `custom_metadata` or `location.location_name`.',
38354
+ minLength: 1,
38355
+ type: 'string',
38356
+ },
38240
38357
  space_id: {
38241
38358
  description:
38242
38359
  'ID of the space for which you want to list devices.',
@@ -39054,6 +39171,16 @@ export default {
39054
39171
  type: 'string',
39055
39172
  },
39056
39173
  },
39174
+ {
39175
+ in: 'query',
39176
+ name: 'search',
39177
+ schema: {
39178
+ description:
39179
+ 'String for which to search. Filters returned devices to include all records that satisfy a partial match using `device_id`, `display_name`, `custom_metadata` or `location.location_name`.',
39180
+ minLength: 1,
39181
+ type: 'string',
39182
+ },
39183
+ },
39057
39184
  ],
39058
39185
  responses: {
39059
39186
  200: {
@@ -39369,6 +39496,12 @@ export default {
39369
39496
  nullable: true,
39370
39497
  type: 'string',
39371
39498
  },
39499
+ search: {
39500
+ description:
39501
+ 'String for which to search. Filters returned devices to include all records that satisfy a partial match using `device_id`, `display_name`, `custom_metadata` or `location.location_name`.',
39502
+ minLength: 1,
39503
+ type: 'string',
39504
+ },
39372
39505
  space_id: {
39373
39506
  description:
39374
39507
  'ID of the space for which you want to list devices.',
@@ -40988,6 +41121,16 @@ export default {
40988
41121
  type: 'string',
40989
41122
  },
40990
41123
  },
41124
+ {
41125
+ in: 'query',
41126
+ name: 'search',
41127
+ schema: {
41128
+ description:
41129
+ 'String for which to search. Filters returned devices to include all records that satisfy a partial match using `device_id`, `display_name`, `custom_metadata` or `location.location_name`.',
41130
+ minLength: 1,
41131
+ type: 'string',
41132
+ },
41133
+ },
40991
41134
  ],
40992
41135
  responses: {
40993
41136
  200: {
@@ -41240,6 +41383,12 @@ export default {
41240
41383
  nullable: true,
41241
41384
  type: 'string',
41242
41385
  },
41386
+ search: {
41387
+ description:
41388
+ 'String for which to search. Filters returned devices to include all records that satisfy a partial match using `device_id`, `display_name`, `custom_metadata` or `location.location_name`.',
41389
+ minLength: 1,
41390
+ type: 'string',
41391
+ },
41243
41392
  space_id: {
41244
41393
  description:
41245
41394
  'ID of the space for which you want to list devices.',
@@ -42002,6 +42151,16 @@ export default {
42002
42151
  type: 'string',
42003
42152
  },
42004
42153
  },
42154
+ {
42155
+ in: 'query',
42156
+ name: 'search',
42157
+ schema: {
42158
+ description:
42159
+ 'String for which to search. Filters returned devices to include all records that satisfy a partial match using `device_id`, `display_name`, `custom_metadata` or `location.location_name`.',
42160
+ minLength: 1,
42161
+ type: 'string',
42162
+ },
42163
+ },
42005
42164
  ],
42006
42165
  responses: {
42007
42166
  200: {
@@ -42169,6 +42328,12 @@ export default {
42169
42328
  nullable: true,
42170
42329
  type: 'string',
42171
42330
  },
42331
+ search: {
42332
+ description:
42333
+ 'String for which to search. Filters returned devices to include all records that satisfy a partial match using `device_id`, `display_name`, `custom_metadata` or `location.location_name`.',
42334
+ minLength: 1,
42335
+ type: 'string',
42336
+ },
42172
42337
  space_id: {
42173
42338
  description:
42174
42339
  'ID of the space for which you want to list devices.',
@@ -46731,6 +46896,16 @@ export default {
46731
46896
  type: 'string',
46732
46897
  },
46733
46898
  },
46899
+ {
46900
+ in: 'query',
46901
+ name: 'search',
46902
+ schema: {
46903
+ description:
46904
+ 'String for which to search. Filters returned devices to include all records that satisfy a partial match using `device_id`, `display_name`, `custom_metadata` or `location.location_name`.',
46905
+ minLength: 1,
46906
+ type: 'string',
46907
+ },
46908
+ },
46734
46909
  ],
46735
46910
  responses: {
46736
46911
  200: {
@@ -46919,6 +47094,12 @@ export default {
46919
47094
  nullable: true,
46920
47095
  type: 'string',
46921
47096
  },
47097
+ search: {
47098
+ description:
47099
+ 'String for which to search. Filters returned devices to include all records that satisfy a partial match using `device_id`, `display_name`, `custom_metadata` or `location.location_name`.',
47100
+ minLength: 1,
47101
+ type: 'string',
47102
+ },
46922
47103
  space_id: {
46923
47104
  description:
46924
47105
  'ID of the space for which you want to list devices.',
@@ -51868,6 +52049,15 @@ export default {
51868
52049
  'Returns a list of all [user identities](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity).',
51869
52050
  operationId: 'userIdentitiesListGet',
51870
52051
  parameters: [
52052
+ {
52053
+ in: 'query',
52054
+ name: 'search',
52055
+ schema: {
52056
+ description:
52057
+ 'String for which to search. Filters returned user identities to include all records that satisfy a partial match using `full_name`, `phone_number`, `email_address` or `user_identity_id`.',
52058
+ type: 'string',
52059
+ },
52060
+ },
51871
52061
  {
51872
52062
  in: 'query',
51873
52063
  name: 'credential_manager_acs_system_id',
@@ -51930,6 +52120,11 @@ export default {
51930
52120
  format: 'uuid',
51931
52121
  type: 'string',
51932
52122
  },
52123
+ search: {
52124
+ description:
52125
+ 'String for which to search. Filters returned user identities to include all records that satisfy a partial match using `full_name`, `phone_number`, `email_address` or `user_identity_id`.',
52126
+ type: 'string',
52127
+ },
51933
52128
  },
51934
52129
  type: 'object',
51935
52130
  },