@seamapi/types 1.730.0 → 1.732.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.
@@ -3020,6 +3020,26 @@ export default {
3020
3020
  required: ['door_type', 'door_name'],
3021
3021
  type: 'object',
3022
3022
  },
3023
+ brivo_metadata: {
3024
+ description: 'Brivo-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).',
3025
+ properties: {
3026
+ access_point_id: {
3027
+ description: 'ID of the access point in the Brivo access system.',
3028
+ type: 'string',
3029
+ },
3030
+ site_id: {
3031
+ description: 'ID of the site that the access point belongs to.',
3032
+ format: 'float',
3033
+ type: 'number',
3034
+ },
3035
+ site_name: {
3036
+ description: 'Name of the site that the access point belongs to.',
3037
+ type: 'string',
3038
+ },
3039
+ },
3040
+ required: ['access_point_id', 'site_id', 'site_name'],
3041
+ type: 'object',
3042
+ },
3023
3043
  can_belong_to_reservation: {
3024
3044
  description: 'Indicates whether the ACS entrance can belong to a reservation via an access_grant.reservation_key.',
3025
3045
  type: 'boolean',
@@ -21040,6 +21060,30 @@ export default {
21040
21060
  required: ['door_type', 'door_name'],
21041
21061
  type: 'object',
21042
21062
  },
21063
+ brivo_metadata: {
21064
+ description: 'Brivo-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).',
21065
+ properties: {
21066
+ access_point_id: {
21067
+ description: 'ID of the access point in the Brivo access system.',
21068
+ type: 'string',
21069
+ },
21070
+ site_id: {
21071
+ description: 'ID of the site that the access point belongs to.',
21072
+ format: 'float',
21073
+ type: 'number',
21074
+ },
21075
+ site_name: {
21076
+ description: 'Name of the site that the access point belongs to.',
21077
+ type: 'string',
21078
+ },
21079
+ },
21080
+ required: [
21081
+ 'access_point_id',
21082
+ 'site_id',
21083
+ 'site_name',
21084
+ ],
21085
+ type: 'object',
21086
+ },
21043
21087
  can_belong_to_reservation: {
21044
21088
  description: 'Indicates whether the ACS entrance can belong to a reservation via an access_grant.reservation_key.',
21045
21089
  type: 'boolean',
@@ -58705,6 +58749,14 @@ export default {
58705
58749
  description: 'Returns a single reservation for a specific customer by reservation ID.',
58706
58750
  operationId: 'seamCustomerV1ReservationsGetGet',
58707
58751
  parameters: [
58752
+ {
58753
+ in: 'query',
58754
+ name: 'customer_key',
58755
+ schema: {
58756
+ description: 'The customer_key identifying the customer. Required when not using client_session_with_customer auth.',
58757
+ type: 'string',
58758
+ },
58759
+ },
58708
58760
  {
58709
58761
  in: 'query',
58710
58762
  name: 'reservation_id',
@@ -58851,7 +58903,10 @@ export default {
58851
58903
  400: { description: 'Bad Request' },
58852
58904
  401: { description: 'Unauthorized' },
58853
58905
  },
58854
- security: [{ client_session_with_customer: [] }],
58906
+ security: [
58907
+ { client_session_with_customer: [] },
58908
+ { console_session_with_workspace: [] },
58909
+ ],
58855
58910
  summary: '/seam/customer/v1/reservations/get',
58856
58911
  tags: [],
58857
58912
  'x-fern-sdk-group-name': ['seam', 'customer', 'v1', 'reservations'],
@@ -58869,6 +58924,10 @@ export default {
58869
58924
  'application/json': {
58870
58925
  schema: {
58871
58926
  properties: {
58927
+ customer_key: {
58928
+ description: 'The customer_key identifying the customer. Required when not using client_session_with_customer auth.',
58929
+ type: 'string',
58930
+ },
58872
58931
  reservation_id: {
58873
58932
  description: 'ID of the reservation to retrieve.',
58874
58933
  format: 'uuid',
@@ -59012,7 +59071,10 @@ export default {
59012
59071
  400: { description: 'Bad Request' },
59013
59072
  401: { description: 'Unauthorized' },
59014
59073
  },
59015
- security: [{ client_session_with_customer: [] }],
59074
+ security: [
59075
+ { client_session_with_customer: [] },
59076
+ { console_session_with_workspace: [] },
59077
+ ],
59016
59078
  summary: '/seam/customer/v1/reservations/get',
59017
59079
  tags: [],
59018
59080
  'x-fern-sdk-group-name': ['seam', 'customer', 'v1', 'reservations'],
@@ -59028,6 +59090,14 @@ export default {
59028
59090
  description: 'Returns a list of reservations for a specific customer. This endpoint is designed for customer portals and supports filtering by space_key.',
59029
59091
  operationId: 'seamCustomerV1ReservationsListGet',
59030
59092
  parameters: [
59093
+ {
59094
+ in: 'query',
59095
+ name: 'customer_key',
59096
+ schema: {
59097
+ description: 'The customer_key identifying the customer. Required when not using client_session_with_customer auth.',
59098
+ type: 'string',
59099
+ },
59100
+ },
59031
59101
  {
59032
59102
  in: 'query',
59033
59103
  name: 'space_key',
@@ -59250,7 +59320,10 @@ export default {
59250
59320
  400: { description: 'Bad Request' },
59251
59321
  401: { description: 'Unauthorized' },
59252
59322
  },
59253
- security: [{ client_session_with_customer: [] }],
59323
+ security: [
59324
+ { client_session_with_customer: [] },
59325
+ { console_session_with_workspace: [] },
59326
+ ],
59254
59327
  summary: '/seam/customer/v1/reservations/list',
59255
59328
  tags: [],
59256
59329
  'x-fern-sdk-group-name': ['seam', 'customer', 'v1', 'reservations'],
@@ -59273,6 +59346,10 @@ export default {
59273
59346
  format: 'date-time',
59274
59347
  type: 'string',
59275
59348
  },
59349
+ customer_key: {
59350
+ description: 'The customer_key identifying the customer. Required when not using client_session_with_customer auth.',
59351
+ type: 'string',
59352
+ },
59276
59353
  limit: {
59277
59354
  default: 500,
59278
59355
  description: 'Maximum number of records to return per page.',
@@ -59471,7 +59548,10 @@ export default {
59471
59548
  400: { description: 'Bad Request' },
59472
59549
  401: { description: 'Unauthorized' },
59473
59550
  },
59474
- security: [{ client_session_with_customer: [] }],
59551
+ security: [
59552
+ { client_session_with_customer: [] },
59553
+ { console_session_with_workspace: [] },
59554
+ ],
59475
59555
  summary: '/seam/customer/v1/reservations/list',
59476
59556
  tags: [],
59477
59557
  'x-fern-sdk-group-name': ['seam', 'customer', 'v1', 'reservations'],