@seamapi/types 1.604.0 → 1.605.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.
@@ -2526,13 +2526,12 @@ export default {
2526
2526
  hotek_metadata: {
2527
2527
  description: 'Hotek-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).',
2528
2528
  properties: {
2529
- display_name: {
2529
+ common_area_name: {
2530
2530
  description: 'Display name of the entrance.',
2531
2531
  type: 'string',
2532
2532
  },
2533
- door_type: {
2534
- description: 'Type of door.',
2535
- enum: ['common_area', 'guest'],
2533
+ common_area_number: {
2534
+ description: 'Display name of the entrance.',
2536
2535
  type: 'string',
2537
2536
  },
2538
2537
  room_number: {
@@ -2540,7 +2539,6 @@ export default {
2540
2539
  type: 'string',
2541
2540
  },
2542
2541
  },
2543
- required: ['room_number', 'display_name', 'door_type'],
2544
2542
  type: 'object',
2545
2543
  },
2546
2544
  latch_metadata: {
@@ -17955,13 +17953,12 @@ export default {
17955
17953
  hotek_metadata: {
17956
17954
  description: 'Hotek-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).',
17957
17955
  properties: {
17958
- display_name: {
17956
+ common_area_name: {
17959
17957
  description: 'Display name of the entrance.',
17960
17958
  type: 'string',
17961
17959
  },
17962
- door_type: {
17963
- description: 'Type of door.',
17964
- enum: ['common_area', 'guest'],
17960
+ common_area_number: {
17961
+ description: 'Display name of the entrance.',
17965
17962
  type: 'string',
17966
17963
  },
17967
17964
  room_number: {
@@ -17969,11 +17966,6 @@ export default {
17969
17966
  type: 'string',
17970
17967
  },
17971
17968
  },
17972
- required: [
17973
- 'room_number',
17974
- 'display_name',
17975
- 'door_type',
17976
- ],
17977
17969
  type: 'object',
17978
17970
  },
17979
17971
  latch_metadata: {
@@ -33047,6 +33039,116 @@ export default {
33047
33039
  'x-title': 'List Compatible Credential Manager ACS Systems',
33048
33040
  },
33049
33041
  },
33042
+ '/acs/systems/report_devices': {
33043
+ post: {
33044
+ description: 'Reports ACS system resources including encoders and entrances with their metadata.\n\nThis endpoint allows reporting of:\n- ACS encoders with removal status and encoder port metadata\n- ACS entrances with room number metadata',
33045
+ operationId: 'acsSystemsReportDevicesPost',
33046
+ requestBody: {
33047
+ content: {
33048
+ 'application/json': {
33049
+ schema: {
33050
+ properties: {
33051
+ acs_encoders: {
33052
+ default: [],
33053
+ description: 'Array of ACS encoders to report',
33054
+ items: {
33055
+ properties: {
33056
+ hotek_metadata: {
33057
+ properties: {
33058
+ encoder_number: {
33059
+ description: 'The encoder number determined by the USB port connection.',
33060
+ type: 'string',
33061
+ },
33062
+ },
33063
+ required: ['encoder_number'],
33064
+ type: 'object',
33065
+ },
33066
+ is_removed: {
33067
+ default: false,
33068
+ description: 'Whether the encoder is removed',
33069
+ type: 'boolean',
33070
+ },
33071
+ },
33072
+ required: ['hotek_metadata'],
33073
+ type: 'object',
33074
+ },
33075
+ type: 'array',
33076
+ },
33077
+ acs_entrances: {
33078
+ default: [],
33079
+ description: 'Array of ACS entrances to report',
33080
+ items: {
33081
+ properties: {
33082
+ hotek_metadata: {
33083
+ description: 'Hotek-specific metadata associated with the entrance.',
33084
+ properties: {
33085
+ common_area_name: {
33086
+ description: 'The common area name',
33087
+ type: 'string',
33088
+ },
33089
+ common_area_number: {
33090
+ description: 'The room number identifier',
33091
+ type: 'string',
33092
+ },
33093
+ room_number: {
33094
+ description: 'The room number identifier',
33095
+ type: 'string',
33096
+ },
33097
+ },
33098
+ type: 'object',
33099
+ },
33100
+ is_removed: {
33101
+ default: false,
33102
+ description: 'Whether the entrance is removed',
33103
+ type: 'boolean',
33104
+ },
33105
+ },
33106
+ required: ['hotek_metadata'],
33107
+ type: 'object',
33108
+ },
33109
+ type: 'array',
33110
+ },
33111
+ acs_system_id: {
33112
+ description: 'ID of the ACS system to report resources for',
33113
+ format: 'uuid',
33114
+ type: 'string',
33115
+ },
33116
+ },
33117
+ required: ['acs_system_id'],
33118
+ type: 'object',
33119
+ },
33120
+ },
33121
+ },
33122
+ },
33123
+ responses: {
33124
+ 200: {
33125
+ content: {
33126
+ 'application/json': {
33127
+ schema: {
33128
+ properties: { ok: { type: 'boolean' } },
33129
+ required: ['ok'],
33130
+ type: 'object',
33131
+ },
33132
+ },
33133
+ },
33134
+ description: 'OK',
33135
+ },
33136
+ 400: { description: 'Bad Request' },
33137
+ 401: { description: 'Unauthorized' },
33138
+ },
33139
+ security: [
33140
+ { pat_with_workspace: [] },
33141
+ { console_session_with_workspace: [] },
33142
+ { api_key: [] },
33143
+ ],
33144
+ summary: '/acs/systems/report_devices',
33145
+ tags: ['/acs'],
33146
+ 'x-fern-sdk-group-name': ['acs', 'systems'],
33147
+ 'x-fern-sdk-method-name': 'report_devices',
33148
+ 'x-response-key': null,
33149
+ 'x-title': 'Report ACS Resources',
33150
+ },
33151
+ },
33050
33152
  '/acs/users/add_to_access_group': {
33051
33153
  post: {
33052
33154
  description: 'Adds a specified [access system user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) to a specified [access group](https://docs.seam.co/latest/capability-guides/access-systems/assigning-users-to-access-groups).',