@seamapi/types 1.1144.0 → 1.1146.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 (67) hide show
  1. package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +92 -92
  2. package/lib/seam/connect/models/access-codes/managed-access-code.js +23 -37
  3. package/lib/seam/connect/models/access-codes/managed-access-code.js.map +1 -1
  4. package/lib/seam/connect/models/access-grants/access-grant.d.ts +44 -44
  5. package/lib/seam/connect/models/access-grants/access-grant.js +11 -16
  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 +40 -40
  8. package/lib/seam/connect/models/access-grants/access-method.js +10 -16
  9. package/lib/seam/connect/models/access-grants/access-method.js.map +1 -1
  10. package/lib/seam/connect/models/acs/acs-access-group.d.ts +12 -12
  11. package/lib/seam/connect/models/acs/acs-access-group.js +3 -5
  12. package/lib/seam/connect/models/acs/acs-access-group.js.map +1 -1
  13. package/lib/seam/connect/models/acs/acs-credential.d.ts +32 -32
  14. package/lib/seam/connect/models/acs/acs-credential.js +8 -12
  15. package/lib/seam/connect/models/acs/acs-credential.js.map +1 -1
  16. package/lib/seam/connect/models/acs/acs-encoder.d.ts +4 -4
  17. package/lib/seam/connect/models/acs/acs-encoder.js +1 -1
  18. package/lib/seam/connect/models/acs/acs-encoder.js.map +1 -1
  19. package/lib/seam/connect/models/acs/acs-entrance.d.ts +24 -24
  20. package/lib/seam/connect/models/acs/acs-entrance.js +6 -6
  21. package/lib/seam/connect/models/acs/acs-entrance.js.map +1 -1
  22. package/lib/seam/connect/models/acs/acs-system.d.ts +56 -56
  23. package/lib/seam/connect/models/acs/acs-system.js +14 -26
  24. package/lib/seam/connect/models/acs/acs-system.js.map +1 -1
  25. package/lib/seam/connect/models/acs/acs-users/acs-user.d.ts +44 -44
  26. package/lib/seam/connect/models/acs/acs-users/acs-user.js +11 -23
  27. package/lib/seam/connect/models/acs/acs-users/acs-user.js.map +1 -1
  28. package/lib/seam/connect/models/bridges/bridge-client-session.d.ts +8 -8
  29. package/lib/seam/connect/models/bridges/bridge-client-session.js +2 -4
  30. package/lib/seam/connect/models/bridges/bridge-client-session.js.map +1 -1
  31. package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +48 -48
  32. package/lib/seam/connect/models/connected-accounts/connected-account.js +12 -24
  33. package/lib/seam/connect/models/connected-accounts/connected-account.js.map +1 -1
  34. package/lib/seam/connect/models/customer/access-grant-resources.d.ts +276 -0
  35. package/lib/seam/connect/models/customer/access-grant-resources.js +19 -0
  36. package/lib/seam/connect/models/customer/access-grant-resources.js.map +1 -1
  37. package/lib/seam/connect/models/customer/customer-data.d.ts +296 -0
  38. package/lib/seam/connect/models/devices/device.d.ts +168 -168
  39. package/lib/seam/connect/models/devices/device.js +42 -70
  40. package/lib/seam/connect/models/devices/device.js.map +1 -1
  41. package/lib/seam/connect/models/spaces/space.d.ts +8 -8
  42. package/lib/seam/connect/models/spaces/space.js +2 -4
  43. package/lib/seam/connect/models/spaces/space.js.map +1 -1
  44. package/lib/seam/connect/models/user-identities/user-identity.d.ts +12 -12
  45. package/lib/seam/connect/models/user-identities/user-identity.js +2 -3
  46. package/lib/seam/connect/models/user-identities/user-identity.js.map +1 -1
  47. package/lib/seam/connect/openapi.js +210 -0
  48. package/lib/seam/connect/openapi.js.map +1 -1
  49. package/lib/seam/connect/route-types.d.ts +86 -0
  50. package/package.json +1 -1
  51. package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +26 -37
  52. package/src/lib/seam/connect/models/access-grants/access-grant.ts +11 -16
  53. package/src/lib/seam/connect/models/access-grants/access-method.ts +11 -16
  54. package/src/lib/seam/connect/models/acs/acs-access-group.ts +4 -5
  55. package/src/lib/seam/connect/models/acs/acs-credential.ts +9 -12
  56. package/src/lib/seam/connect/models/acs/acs-encoder.ts +1 -1
  57. package/src/lib/seam/connect/models/acs/acs-entrance.ts +6 -6
  58. package/src/lib/seam/connect/models/acs/acs-system.ts +16 -26
  59. package/src/lib/seam/connect/models/acs/acs-users/acs-user.ts +16 -23
  60. package/src/lib/seam/connect/models/bridges/bridge-client-session.ts +2 -4
  61. package/src/lib/seam/connect/models/connected-accounts/connected-account.ts +15 -24
  62. package/src/lib/seam/connect/models/customer/access-grant-resources.ts +26 -0
  63. package/src/lib/seam/connect/models/devices/device.ts +43 -70
  64. package/src/lib/seam/connect/models/spaces/space.ts +3 -4
  65. package/src/lib/seam/connect/models/user-identities/user-identity.ts +2 -3
  66. package/src/lib/seam/connect/openapi.ts +250 -0
  67. package/src/lib/seam/connect/route-types.ts +94 -0
@@ -48351,6 +48351,111 @@ const openapi = {
48351
48351
  format: 'date-time',
48352
48352
  type: 'string',
48353
48353
  },
48354
+ sub_reservations: {
48355
+ description: "Parts of the reservation that each get their own access, for example one per room. Each sub-reservation inherits the reservation's name, times, preferred code, guest and custom metadata unless it sets its own, and must set its own location keys. A reservation with sub-reservations must not set location keys itself. Sending this list replaces the reservation's sub-reservations: any not included are removed, and an empty list removes all of them. Omitting it leaves existing sub-reservations unchanged.",
48356
+ items: {
48357
+ properties: {
48358
+ building_keys: {
48359
+ description: 'Building keys associated with the access grant.',
48360
+ items: { type: 'string' },
48361
+ type: 'array',
48362
+ },
48363
+ common_area_keys: {
48364
+ description: 'Common area keys associated with the access grant.',
48365
+ items: { type: 'string' },
48366
+ type: 'array',
48367
+ },
48368
+ custom_metadata: {
48369
+ additionalProperties: {
48370
+ nullable: true,
48371
+ oneOf: [
48372
+ { maxLength: 500, type: 'string' },
48373
+ { type: 'boolean' },
48374
+ ],
48375
+ },
48376
+ description: "Set key:value pairs for filtering sub-reservations by custom criteria. Merged over the reservation's custom metadata. Set a key to `null` or to an empty string to remove that key from the custom metadata.",
48377
+ type: 'object',
48378
+ },
48379
+ ends_at: {
48380
+ description: 'Ending date and time for the access grant.',
48381
+ format: 'date-time',
48382
+ type: 'string',
48383
+ },
48384
+ facility_keys: {
48385
+ description: 'Facility keys associated with the access grant.',
48386
+ items: { type: 'string' },
48387
+ type: 'array',
48388
+ },
48389
+ guest_key: {
48390
+ description: 'Guest key associated with the access grant.',
48391
+ type: 'string',
48392
+ },
48393
+ listing_keys: {
48394
+ description: 'Listing keys associated with the access grant.',
48395
+ items: { type: 'string' },
48396
+ type: 'array',
48397
+ },
48398
+ name: {
48399
+ description: 'Your name for this access grant resource.',
48400
+ type: 'string',
48401
+ },
48402
+ preferred_code: {
48403
+ description: 'Preferred PIN code to use when creating access for this reservation. Set to `null` to remove a previously set preferred code, so that access falls back to an automatically generated code. Omitting this field keeps any previously set preferred code.',
48404
+ nullable: true,
48405
+ type: 'string',
48406
+ },
48407
+ property_keys: {
48408
+ description: 'Property keys associated with the access grant.',
48409
+ items: { type: 'string' },
48410
+ type: 'array',
48411
+ },
48412
+ resident_key: {
48413
+ description: 'Resident key associated with the access grant.',
48414
+ type: 'string',
48415
+ },
48416
+ room_keys: {
48417
+ description: 'Room keys associated with the access grant.',
48418
+ items: { type: 'string' },
48419
+ type: 'array',
48420
+ },
48421
+ space_keys: {
48422
+ description: 'Space keys associated with the access grant.',
48423
+ items: { type: 'string' },
48424
+ type: 'array',
48425
+ },
48426
+ starts_at: {
48427
+ description: 'Starting date and time for the access grant.',
48428
+ format: 'date-time',
48429
+ type: 'string',
48430
+ },
48431
+ sub_reservation_key: {
48432
+ description: 'Your identifier for the sub-reservation. Must be unique within its reservation.',
48433
+ minLength: 1,
48434
+ type: 'string',
48435
+ },
48436
+ tenant_key: {
48437
+ description: 'Tenant key associated with the access grant.',
48438
+ type: 'string',
48439
+ },
48440
+ unit_keys: {
48441
+ description: 'Unit keys associated with the access grant.',
48442
+ items: { type: 'string' },
48443
+ type: 'array',
48444
+ },
48445
+ user_identity_key: {
48446
+ description: 'User identity key associated with the access grant.',
48447
+ type: 'string',
48448
+ },
48449
+ user_key: {
48450
+ description: 'User key associated with the access grant.',
48451
+ type: 'string',
48452
+ },
48453
+ },
48454
+ required: ['sub_reservation_key'],
48455
+ type: 'object',
48456
+ },
48457
+ type: 'array',
48458
+ },
48354
48459
  tenant_key: {
48355
48460
  description: 'Tenant key associated with the access grant.',
48356
48461
  type: 'string',
@@ -49413,6 +49518,111 @@ const openapi = {
49413
49518
  format: 'date-time',
49414
49519
  type: 'string',
49415
49520
  },
49521
+ sub_reservations: {
49522
+ description: "Parts of the reservation that each get their own access, for example one per room. Each sub-reservation inherits the reservation's name, times, preferred code, guest and custom metadata unless it sets its own, and must set its own location keys. A reservation with sub-reservations must not set location keys itself. Sending this list replaces the reservation's sub-reservations: any not included are removed, and an empty list removes all of them. Omitting it leaves existing sub-reservations unchanged.",
49523
+ items: {
49524
+ properties: {
49525
+ building_keys: {
49526
+ description: 'Building keys associated with the access grant.',
49527
+ items: { type: 'string' },
49528
+ type: 'array',
49529
+ },
49530
+ common_area_keys: {
49531
+ description: 'Common area keys associated with the access grant.',
49532
+ items: { type: 'string' },
49533
+ type: 'array',
49534
+ },
49535
+ custom_metadata: {
49536
+ additionalProperties: {
49537
+ nullable: true,
49538
+ oneOf: [
49539
+ { maxLength: 500, type: 'string' },
49540
+ { type: 'boolean' },
49541
+ ],
49542
+ },
49543
+ description: "Set key:value pairs for filtering sub-reservations by custom criteria. Merged over the reservation's custom metadata. Set a key to `null` or to an empty string to remove that key from the custom metadata.",
49544
+ type: 'object',
49545
+ },
49546
+ ends_at: {
49547
+ description: 'Ending date and time for the access grant.',
49548
+ format: 'date-time',
49549
+ type: 'string',
49550
+ },
49551
+ facility_keys: {
49552
+ description: 'Facility keys associated with the access grant.',
49553
+ items: { type: 'string' },
49554
+ type: 'array',
49555
+ },
49556
+ guest_key: {
49557
+ description: 'Guest key associated with the access grant.',
49558
+ type: 'string',
49559
+ },
49560
+ listing_keys: {
49561
+ description: 'Listing keys associated with the access grant.',
49562
+ items: { type: 'string' },
49563
+ type: 'array',
49564
+ },
49565
+ name: {
49566
+ description: 'Your name for this access grant resource.',
49567
+ type: 'string',
49568
+ },
49569
+ preferred_code: {
49570
+ description: 'Preferred PIN code to use when creating access for this reservation. Set to `null` to remove a previously set preferred code, so that access falls back to an automatically generated code. Omitting this field keeps any previously set preferred code.',
49571
+ nullable: true,
49572
+ type: 'string',
49573
+ },
49574
+ property_keys: {
49575
+ description: 'Property keys associated with the access grant.',
49576
+ items: { type: 'string' },
49577
+ type: 'array',
49578
+ },
49579
+ resident_key: {
49580
+ description: 'Resident key associated with the access grant.',
49581
+ type: 'string',
49582
+ },
49583
+ room_keys: {
49584
+ description: 'Room keys associated with the access grant.',
49585
+ items: { type: 'string' },
49586
+ type: 'array',
49587
+ },
49588
+ space_keys: {
49589
+ description: 'Space keys associated with the access grant.',
49590
+ items: { type: 'string' },
49591
+ type: 'array',
49592
+ },
49593
+ starts_at: {
49594
+ description: 'Starting date and time for the access grant.',
49595
+ format: 'date-time',
49596
+ type: 'string',
49597
+ },
49598
+ sub_reservation_key: {
49599
+ description: 'Your identifier for the sub-reservation. Must be unique within its reservation.',
49600
+ minLength: 1,
49601
+ type: 'string',
49602
+ },
49603
+ tenant_key: {
49604
+ description: 'Tenant key associated with the access grant.',
49605
+ type: 'string',
49606
+ },
49607
+ unit_keys: {
49608
+ description: 'Unit keys associated with the access grant.',
49609
+ items: { type: 'string' },
49610
+ type: 'array',
49611
+ },
49612
+ user_identity_key: {
49613
+ description: 'User identity key associated with the access grant.',
49614
+ type: 'string',
49615
+ },
49616
+ user_key: {
49617
+ description: 'User key associated with the access grant.',
49618
+ type: 'string',
49619
+ },
49620
+ },
49621
+ required: ['sub_reservation_key'],
49622
+ type: 'object',
49623
+ },
49624
+ type: 'array',
49625
+ },
49416
49626
  tenant_key: {
49417
49627
  description: 'Tenant key associated with the access grant.',
49418
49628
  type: 'string',