@seamapi/types 1.171.0 → 1.173.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.
@@ -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';
@@ -1310,6 +1346,45 @@ export interface Routes {
1310
1346
  }>;
1311
1347
  };
1312
1348
  };
1349
+ '/acs/systems/list_compatible_credential_manager_acs_systems': {
1350
+ route: '/acs/systems/list_compatible_credential_manager_acs_systems';
1351
+ method: 'GET' | 'POST';
1352
+ queryParams: {};
1353
+ jsonBody: {};
1354
+ commonParams: {
1355
+ acs_system_id: string;
1356
+ };
1357
+ formData: {};
1358
+ jsonResponse: {
1359
+ acs_systems: Array<{
1360
+ acs_system_id: string;
1361
+ external_type?: ('pti_site' | 'alta_org' | 'salto_site' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building') | undefined;
1362
+ external_type_display_name?: string | undefined;
1363
+ /**
1364
+ ---
1365
+ deprecated: use external_type
1366
+ ---
1367
+ */
1368
+ system_type?: ('pti_site' | 'alta_org' | 'salto_site' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building') | undefined;
1369
+ /**
1370
+ ---
1371
+ deprecated: use external_type_display_name
1372
+ ---
1373
+ */
1374
+ system_type_display_name?: string | undefined;
1375
+ name: string;
1376
+ created_at: string;
1377
+ workspace_id: string;
1378
+ connected_account_ids: string[];
1379
+ image_url: string;
1380
+ image_alt_text: string;
1381
+ can_automate_enrollment?: boolean | undefined;
1382
+ can_create_acs_access_groups?: boolean | undefined;
1383
+ can_remove_acs_users_from_acs_access_groups?: boolean | undefined;
1384
+ can_add_acs_users_to_acs_access_groups?: boolean | undefined;
1385
+ }>;
1386
+ };
1387
+ };
1313
1388
  '/acs/users/add_to_access_group': {
1314
1389
  route: '/acs/users/add_to_access_group';
1315
1390
  method: 'PUT' | 'POST';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.171.0",
3
+ "version": "1.173.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -2748,7 +2748,7 @@ export default {
2748
2748
  type: 'boolean',
2749
2749
  },
2750
2750
  code: {
2751
- maxLength: 8,
2751
+ maxLength: 9,
2752
2752
  minLength: 4,
2753
2753
  pattern: '^\\d+$',
2754
2754
  type: 'string',
@@ -2831,7 +2831,7 @@ export default {
2831
2831
  type: 'string',
2832
2832
  },
2833
2833
  code: {
2834
- maxLength: 8,
2834
+ maxLength: 9,
2835
2835
  minLength: 4,
2836
2836
  pattern: '^\\d+$',
2837
2837
  type: 'string',
@@ -2914,7 +2914,7 @@ export default {
2914
2914
  type: 'string',
2915
2915
  },
2916
2916
  code: {
2917
- maxLength: 8,
2917
+ maxLength: 9,
2918
2918
  minLength: 4,
2919
2919
  pattern: '^\\d+$',
2920
2920
  type: 'string',
@@ -3644,7 +3644,7 @@ export default {
3644
3644
  type: 'boolean',
3645
3645
  },
3646
3646
  code: {
3647
- maxLength: 8,
3647
+ maxLength: 9,
3648
3648
  minLength: 4,
3649
3649
  pattern: '^\\d+$',
3650
3650
  type: 'string',
@@ -3719,7 +3719,7 @@ export default {
3719
3719
  type: 'boolean',
3720
3720
  },
3721
3721
  code: {
3722
- maxLength: 8,
3722
+ maxLength: 9,
3723
3723
  minLength: 4,
3724
3724
  pattern: '^\\d+$',
3725
3725
  type: 'string',
@@ -3795,7 +3795,7 @@ export default {
3795
3795
  type: 'boolean',
3796
3796
  },
3797
3797
  code: {
3798
- maxLength: 8,
3798
+ maxLength: 9,
3799
3799
  minLength: 4,
3800
3800
  pattern: '^\\d+$',
3801
3801
  type: 'string',
@@ -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',
@@ -5115,6 +5165,57 @@ export default {
5115
5165
  'x-fern-sdk-return-value': 'acs_systems',
5116
5166
  },
5117
5167
  },
5168
+ '/acs/systems/list_compatible_credential_manager_acs_systems': {
5169
+ post: {
5170
+ operationId: 'acsSystemsListCompatibleCredentialManagerAcsSystemsPost',
5171
+ requestBody: {
5172
+ content: {
5173
+ 'application/json': {
5174
+ schema: {
5175
+ properties: {
5176
+ acs_system_id: { format: 'uuid', type: 'string' },
5177
+ },
5178
+ required: ['acs_system_id'],
5179
+ type: 'object',
5180
+ },
5181
+ },
5182
+ },
5183
+ },
5184
+ responses: {
5185
+ 200: {
5186
+ content: {
5187
+ 'application/json': {
5188
+ schema: {
5189
+ properties: {
5190
+ acs_systems: {
5191
+ items: { $ref: '#/components/schemas/acs_system' },
5192
+ type: 'array',
5193
+ },
5194
+ ok: { type: 'boolean' },
5195
+ },
5196
+ required: ['acs_systems', 'ok'],
5197
+ type: 'object',
5198
+ },
5199
+ },
5200
+ },
5201
+ description: 'OK',
5202
+ },
5203
+ 400: { description: 'Bad Request' },
5204
+ 401: { description: 'Unauthorized' },
5205
+ },
5206
+ security: [
5207
+ { pat_with_workspace: [] },
5208
+ { console_session: [] },
5209
+ { api_key: [] },
5210
+ ],
5211
+ summary: '/acs/systems/list_compatible_credential_manager_acs_systems',
5212
+ tags: ['/acs'],
5213
+ 'x-fern-sdk-group-name': ['acs', 'systems'],
5214
+ 'x-fern-sdk-method-name':
5215
+ 'list_compatible_credential_manager_acs_systems',
5216
+ 'x-fern-sdk-return-value': 'acs_systems',
5217
+ },
5218
+ },
5118
5219
  '/acs/users/add_to_access_group': {
5119
5220
  post: {
5120
5221
  operationId: 'acsUsersAddToAccessGroupPost',
@@ -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'
@@ -1478,6 +1521,67 @@ export interface Routes {
1478
1521
  }>
1479
1522
  }
1480
1523
  }
1524
+ '/acs/systems/list_compatible_credential_manager_acs_systems': {
1525
+ route: '/acs/systems/list_compatible_credential_manager_acs_systems'
1526
+ method: 'GET' | 'POST'
1527
+ queryParams: {}
1528
+ jsonBody: {}
1529
+ commonParams: {
1530
+ acs_system_id: string
1531
+ }
1532
+ formData: {}
1533
+ jsonResponse: {
1534
+ acs_systems: Array<{
1535
+ acs_system_id: string
1536
+ external_type?:
1537
+ | (
1538
+ | 'pti_site'
1539
+ | 'alta_org'
1540
+ | 'salto_site'
1541
+ | 'brivo_account'
1542
+ | 'hid_credential_manager_organization'
1543
+ | 'visionline_system'
1544
+ | 'assa_abloy_credential_service'
1545
+ | 'latch_building'
1546
+ )
1547
+ | undefined
1548
+ external_type_display_name?: string | undefined
1549
+ /**
1550
+ ---
1551
+ deprecated: use external_type
1552
+ ---
1553
+ */
1554
+ system_type?:
1555
+ | (
1556
+ | 'pti_site'
1557
+ | 'alta_org'
1558
+ | 'salto_site'
1559
+ | 'brivo_account'
1560
+ | 'hid_credential_manager_organization'
1561
+ | 'visionline_system'
1562
+ | 'assa_abloy_credential_service'
1563
+ | 'latch_building'
1564
+ )
1565
+ | undefined
1566
+ /**
1567
+ ---
1568
+ deprecated: use external_type_display_name
1569
+ ---
1570
+ */
1571
+ system_type_display_name?: string | undefined
1572
+ name: string
1573
+ created_at: string
1574
+ workspace_id: string
1575
+ connected_account_ids: string[]
1576
+ image_url: string
1577
+ image_alt_text: string
1578
+ can_automate_enrollment?: boolean | undefined
1579
+ can_create_acs_access_groups?: boolean | undefined
1580
+ can_remove_acs_users_from_acs_access_groups?: boolean | undefined
1581
+ can_add_acs_users_to_acs_access_groups?: boolean | undefined
1582
+ }>
1583
+ }
1584
+ }
1481
1585
  '/acs/users/add_to_access_group': {
1482
1586
  route: '/acs/users/add_to_access_group'
1483
1587
  method: 'PUT' | 'POST'