@seamapi/types 1.172.0 → 1.173.1

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.
@@ -1014,6 +1014,42 @@ export interface Routes {
1014
1014
  }>;
1015
1015
  };
1016
1016
  };
1017
+ '/acs/credentials/list_accessible_entrances': {
1018
+ route: '/acs/credentials/list_accessible_entrances';
1019
+ method: 'GET' | 'POST';
1020
+ queryParams: {};
1021
+ jsonBody: {};
1022
+ commonParams: {
1023
+ acs_credential_id: string;
1024
+ };
1025
+ formData: {};
1026
+ jsonResponse: {
1027
+ acs_entrances: Array<{
1028
+ acs_entrance_id: string;
1029
+ display_name: string;
1030
+ acs_system_id: string;
1031
+ created_at: string;
1032
+ latch_metadata: {
1033
+ accessibility_type: string;
1034
+ door_name: string;
1035
+ door_type: string;
1036
+ is_connected: boolean;
1037
+ } | null;
1038
+ errors: Array<{
1039
+ error_code: string;
1040
+ message: string;
1041
+ }>;
1042
+ visionline_metadata: {
1043
+ door_name: string;
1044
+ door_category: 'entrance' | 'guest' | 'elevator reader' | 'common' | 'common (PMS)';
1045
+ profiles?: Array<{
1046
+ visionline_door_profile_id: string;
1047
+ visionline_door_profile_type: 'BLE' | 'commonDoor' | 'touch';
1048
+ }> | undefined;
1049
+ } | null;
1050
+ }>;
1051
+ };
1052
+ };
1017
1053
  '/acs/credentials/unassign': {
1018
1054
  route: '/acs/credentials/unassign';
1019
1055
  method: 'PATCH' | 'POST';
@@ -5951,6 +5987,7 @@ export interface Routes {
5951
5987
  device_manufacturer?: string;
5952
5988
  device_model?: string;
5953
5989
  };
5990
+ credential_manager_acs_system_id: string;
5954
5991
  assa_abloy_metadata?: {
5955
5992
  ble_capability?: boolean;
5956
5993
  hce_capability?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.172.0",
3
+ "version": "1.173.1",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -4624,6 +4624,56 @@ export default {
4624
4624
  'x-fern-sdk-return-value': 'acs_credentials',
4625
4625
  },
4626
4626
  },
4627
+ '/acs/credentials/list_accessible_entrances': {
4628
+ post: {
4629
+ operationId: 'acsCredentialsListAccessibleEntrancesPost',
4630
+ requestBody: {
4631
+ content: {
4632
+ 'application/json': {
4633
+ schema: {
4634
+ properties: {
4635
+ acs_credential_id: { format: 'uuid', type: 'string' },
4636
+ },
4637
+ required: ['acs_credential_id'],
4638
+ type: 'object',
4639
+ },
4640
+ },
4641
+ },
4642
+ },
4643
+ responses: {
4644
+ 200: {
4645
+ content: {
4646
+ 'application/json': {
4647
+ schema: {
4648
+ properties: {
4649
+ acs_entrances: {
4650
+ items: { $ref: '#/components/schemas/acs_entrance' },
4651
+ type: 'array',
4652
+ },
4653
+ ok: { type: 'boolean' },
4654
+ },
4655
+ required: ['acs_entrances', 'ok'],
4656
+ type: 'object',
4657
+ },
4658
+ },
4659
+ },
4660
+ description: 'OK',
4661
+ },
4662
+ 400: { description: 'Bad Request' },
4663
+ 401: { description: 'Unauthorized' },
4664
+ },
4665
+ security: [
4666
+ { api_key: [] },
4667
+ { pat_with_workspace: [] },
4668
+ { console_session: [] },
4669
+ ],
4670
+ summary: '/acs/credentials/list_accessible_entrances',
4671
+ tags: ['/acs'],
4672
+ 'x-fern-sdk-group-name': ['acs', 'credentials'],
4673
+ 'x-fern-sdk-method-name': 'list_accessible_entrances',
4674
+ 'x-fern-sdk-return-value': 'acs_entrances',
4675
+ },
4676
+ },
4627
4677
  '/acs/credentials/unassign': {
4628
4678
  patch: {
4629
4679
  operationId: 'acsCredentialsUnassignPatch',
@@ -9117,6 +9167,10 @@ export default {
9117
9167
  },
9118
9168
  type: 'object',
9119
9169
  },
9170
+ credential_manager_acs_system_id: {
9171
+ format: 'uuid',
9172
+ type: 'string',
9173
+ },
9120
9174
  custom_sdk_installation_id: { type: 'string' },
9121
9175
  phone_metadata: {
9122
9176
  default: {},
@@ -9140,7 +9194,10 @@ export default {
9140
9194
  },
9141
9195
  user_identity_id: { format: 'uuid', type: 'string' },
9142
9196
  },
9143
- required: ['user_identity_id'],
9197
+ required: [
9198
+ 'user_identity_id',
9199
+ 'credential_manager_acs_system_id',
9200
+ ],
9144
9201
  type: 'object',
9145
9202
  },
9146
9203
  },
@@ -1097,6 +1097,49 @@ export interface Routes {
1097
1097
  }>
1098
1098
  }
1099
1099
  }
1100
+ '/acs/credentials/list_accessible_entrances': {
1101
+ route: '/acs/credentials/list_accessible_entrances'
1102
+ method: 'GET' | 'POST'
1103
+ queryParams: {}
1104
+ jsonBody: {}
1105
+ commonParams: {
1106
+ acs_credential_id: string
1107
+ }
1108
+ formData: {}
1109
+ jsonResponse: {
1110
+ acs_entrances: Array<{
1111
+ acs_entrance_id: string
1112
+ display_name: string
1113
+ acs_system_id: string
1114
+ created_at: string
1115
+ latch_metadata: {
1116
+ accessibility_type: string
1117
+ door_name: string
1118
+ door_type: string
1119
+ is_connected: boolean
1120
+ } | null
1121
+ errors: Array<{
1122
+ error_code: string
1123
+ message: string
1124
+ }>
1125
+ visionline_metadata: {
1126
+ door_name: string
1127
+ door_category:
1128
+ | 'entrance'
1129
+ | 'guest'
1130
+ | 'elevator reader'
1131
+ | 'common'
1132
+ | 'common (PMS)'
1133
+ profiles?:
1134
+ | Array<{
1135
+ visionline_door_profile_id: string
1136
+ visionline_door_profile_type: 'BLE' | 'commonDoor' | 'touch'
1137
+ }>
1138
+ | undefined
1139
+ } | null
1140
+ }>
1141
+ }
1142
+ }
1100
1143
  '/acs/credentials/unassign': {
1101
1144
  route: '/acs/credentials/unassign'
1102
1145
  method: 'PATCH' | 'POST'
@@ -8251,6 +8294,7 @@ export interface Routes {
8251
8294
  device_manufacturer?: string
8252
8295
  device_model?: string
8253
8296
  }
8297
+ credential_manager_acs_system_id: string
8254
8298
  assa_abloy_metadata?: {
8255
8299
  ble_capability?: boolean
8256
8300
  hce_capability?: boolean