@seamapi/types 1.1145.0 → 1.1147.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 (62) 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/devices/device.d.ts +168 -168
  35. package/lib/seam/connect/models/devices/device.js +42 -70
  36. package/lib/seam/connect/models/devices/device.js.map +1 -1
  37. package/lib/seam/connect/models/spaces/space.d.ts +8 -8
  38. package/lib/seam/connect/models/spaces/space.js +2 -4
  39. package/lib/seam/connect/models/spaces/space.js.map +1 -1
  40. package/lib/seam/connect/models/user-identities/user-identity.d.ts +12 -12
  41. package/lib/seam/connect/models/user-identities/user-identity.js +2 -3
  42. package/lib/seam/connect/models/user-identities/user-identity.js.map +1 -1
  43. package/lib/seam/connect/openapi.js +156 -0
  44. package/lib/seam/connect/openapi.js.map +1 -1
  45. package/lib/seam/connect/route-types.d.ts +48 -0
  46. package/package.json +1 -1
  47. package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +26 -37
  48. package/src/lib/seam/connect/models/access-grants/access-grant.ts +11 -16
  49. package/src/lib/seam/connect/models/access-grants/access-method.ts +11 -16
  50. package/src/lib/seam/connect/models/acs/acs-access-group.ts +4 -5
  51. package/src/lib/seam/connect/models/acs/acs-credential.ts +9 -12
  52. package/src/lib/seam/connect/models/acs/acs-encoder.ts +1 -1
  53. package/src/lib/seam/connect/models/acs/acs-entrance.ts +6 -6
  54. package/src/lib/seam/connect/models/acs/acs-system.ts +16 -26
  55. package/src/lib/seam/connect/models/acs/acs-users/acs-user.ts +16 -23
  56. package/src/lib/seam/connect/models/bridges/bridge-client-session.ts +2 -4
  57. package/src/lib/seam/connect/models/connected-accounts/connected-account.ts +15 -24
  58. package/src/lib/seam/connect/models/devices/device.ts +43 -70
  59. package/src/lib/seam/connect/models/spaces/space.ts +3 -4
  60. package/src/lib/seam/connect/models/user-identities/user-identity.ts +2 -3
  61. package/src/lib/seam/connect/openapi.ts +162 -0
  62. package/src/lib/seam/connect/route-types.ts +48 -0
@@ -63560,6 +63560,17 @@ const openapi = {
63560
63560
  type: 'object',
63561
63561
  },
63562
63562
  name: { nullable: true, type: 'string' },
63563
+ parent_reservation_id: {
63564
+ description: 'ID of the parent reservation when this reservation is a sub-reservation, one part of a larger reservation that holds its own access. Null otherwise.',
63565
+ format: 'uuid',
63566
+ nullable: true,
63567
+ type: 'string',
63568
+ },
63569
+ parent_reservation_key: {
63570
+ description: 'Key of the parent reservation when this reservation is a sub-reservation. Its `reservation_key` is then `<parent_reservation_key>::<sub-reservation key>`. Null otherwise.',
63571
+ nullable: true,
63572
+ type: 'string',
63573
+ },
63563
63574
  reservation_id: { format: 'uuid', type: 'string' },
63564
63575
  reservation_key: { type: 'string' },
63565
63576
  spaces: {
@@ -63583,6 +63594,70 @@ const openapi = {
63583
63594
  nullable: true,
63584
63595
  type: 'string',
63585
63596
  },
63597
+ sub_reservations: {
63598
+ description: "Parts of the reservation that each hold their own access, for example one per room. When present, the reservation's spaces are the union of its sub-reservations' spaces.",
63599
+ items: {
63600
+ properties: {
63601
+ access_grant_id: {
63602
+ format: 'uuid',
63603
+ nullable: true,
63604
+ type: 'string',
63605
+ },
63606
+ access_methods: {
63607
+ items: {
63608
+ $ref: '#/components/schemas/access_method',
63609
+ },
63610
+ type: 'array',
63611
+ },
63612
+ ends_at: {
63613
+ format: 'date-time',
63614
+ nullable: true,
63615
+ type: 'string',
63616
+ },
63617
+ is_resource_syncing: { type: 'boolean' },
63618
+ name: { nullable: true, type: 'string' },
63619
+ spaces: {
63620
+ items: {
63621
+ properties: {
63622
+ name: { nullable: true, type: 'string' },
63623
+ space_id: {
63624
+ format: 'uuid',
63625
+ nullable: true,
63626
+ type: 'string',
63627
+ },
63628
+ space_key: { type: 'string' },
63629
+ },
63630
+ required: ['space_id', 'space_key', 'name'],
63631
+ type: 'object',
63632
+ },
63633
+ type: 'array',
63634
+ },
63635
+ starts_at: {
63636
+ format: 'date-time',
63637
+ nullable: true,
63638
+ type: 'string',
63639
+ },
63640
+ sub_reservation_id: {
63641
+ format: 'uuid',
63642
+ type: 'string',
63643
+ },
63644
+ sub_reservation_key: { type: 'string' },
63645
+ },
63646
+ required: [
63647
+ 'sub_reservation_id',
63648
+ 'sub_reservation_key',
63649
+ 'name',
63650
+ 'starts_at',
63651
+ 'ends_at',
63652
+ 'is_resource_syncing',
63653
+ 'access_grant_id',
63654
+ 'spaces',
63655
+ 'access_methods',
63656
+ ],
63657
+ type: 'object',
63658
+ },
63659
+ type: 'array',
63660
+ },
63586
63661
  },
63587
63662
  required: [
63588
63663
  'reservation_id',
@@ -63599,6 +63674,9 @@ const openapi = {
63599
63674
  'access_methods',
63600
63675
  'connected_account_id',
63601
63676
  'last_automation_result',
63677
+ 'parent_reservation_id',
63678
+ 'parent_reservation_key',
63679
+ 'sub_reservations',
63602
63680
  ],
63603
63681
  type: 'object',
63604
63682
  },
@@ -63905,6 +63983,70 @@ const openapi = {
63905
63983
  nullable: true,
63906
63984
  type: 'string',
63907
63985
  },
63986
+ sub_reservations: {
63987
+ description: "Parts of the reservation that each hold their own access, for example one per room. When present, the reservation's spaces are the union of its sub-reservations' spaces.",
63988
+ items: {
63989
+ properties: {
63990
+ access_grant_id: {
63991
+ format: 'uuid',
63992
+ nullable: true,
63993
+ type: 'string',
63994
+ },
63995
+ access_methods: {
63996
+ items: {
63997
+ $ref: '#/components/schemas/access_method',
63998
+ },
63999
+ type: 'array',
64000
+ },
64001
+ ends_at: {
64002
+ format: 'date-time',
64003
+ nullable: true,
64004
+ type: 'string',
64005
+ },
64006
+ is_resource_syncing: { type: 'boolean' },
64007
+ name: { nullable: true, type: 'string' },
64008
+ spaces: {
64009
+ items: {
64010
+ properties: {
64011
+ name: { nullable: true, type: 'string' },
64012
+ space_id: {
64013
+ format: 'uuid',
64014
+ nullable: true,
64015
+ type: 'string',
64016
+ },
64017
+ space_key: { type: 'string' },
64018
+ },
64019
+ required: ['space_id', 'space_key', 'name'],
64020
+ type: 'object',
64021
+ },
64022
+ type: 'array',
64023
+ },
64024
+ starts_at: {
64025
+ format: 'date-time',
64026
+ nullable: true,
64027
+ type: 'string',
64028
+ },
64029
+ sub_reservation_id: {
64030
+ format: 'uuid',
64031
+ type: 'string',
64032
+ },
64033
+ sub_reservation_key: { type: 'string' },
64034
+ },
64035
+ required: [
64036
+ 'sub_reservation_id',
64037
+ 'sub_reservation_key',
64038
+ 'name',
64039
+ 'starts_at',
64040
+ 'ends_at',
64041
+ 'is_resource_syncing',
64042
+ 'access_grant_id',
64043
+ 'spaces',
64044
+ 'access_methods',
64045
+ ],
64046
+ type: 'object',
64047
+ },
64048
+ type: 'array',
64049
+ },
63908
64050
  warnings: {
63909
64051
  items: {
63910
64052
  properties: {
@@ -63940,6 +64082,7 @@ const openapi = {
63940
64082
  'spaces',
63941
64083
  'connected_account_id',
63942
64084
  'last_automation_result',
64085
+ 'sub_reservations',
63943
64086
  ],
63944
64087
  type: 'object',
63945
64088
  },
@@ -64664,6 +64807,17 @@ const openapi = {
64664
64807
  type: 'object',
64665
64808
  },
64666
64809
  name: { nullable: true, type: 'string' },
64810
+ parent_reservation_id: {
64811
+ description: 'ID of the parent reservation when this reservation is a sub-reservation, one part of a larger reservation that holds its own access. Null otherwise.',
64812
+ format: 'uuid',
64813
+ nullable: true,
64814
+ type: 'string',
64815
+ },
64816
+ parent_reservation_key: {
64817
+ description: 'Key of the parent reservation when this reservation is a sub-reservation. Its `reservation_key` is then `<parent_reservation_key>::<sub-reservation key>`. Null otherwise.',
64818
+ nullable: true,
64819
+ type: 'string',
64820
+ },
64667
64821
  reservation_id: { format: 'uuid', type: 'string' },
64668
64822
  reservation_key: { type: 'string' },
64669
64823
  starts_at: {
@@ -64683,6 +64837,8 @@ const openapi = {
64683
64837
  'has_issued_access',
64684
64838
  'access_methods',
64685
64839
  'last_automation_result',
64840
+ 'parent_reservation_id',
64841
+ 'parent_reservation_key',
64686
64842
  ],
64687
64843
  type: 'object',
64688
64844
  },