@seamapi/types 1.170.0 → 1.172.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.
@@ -1310,6 +1310,45 @@ export interface Routes {
1310
1310
  }>;
1311
1311
  };
1312
1312
  };
1313
+ '/acs/systems/list_compatible_credential_manager_acs_systems': {
1314
+ route: '/acs/systems/list_compatible_credential_manager_acs_systems';
1315
+ method: 'GET' | 'POST';
1316
+ queryParams: {};
1317
+ jsonBody: {};
1318
+ commonParams: {
1319
+ acs_system_id: string;
1320
+ };
1321
+ formData: {};
1322
+ jsonResponse: {
1323
+ acs_systems: Array<{
1324
+ acs_system_id: string;
1325
+ external_type?: ('pti_site' | 'alta_org' | 'salto_site' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building') | undefined;
1326
+ external_type_display_name?: string | undefined;
1327
+ /**
1328
+ ---
1329
+ deprecated: use external_type
1330
+ ---
1331
+ */
1332
+ system_type?: ('pti_site' | 'alta_org' | 'salto_site' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building') | undefined;
1333
+ /**
1334
+ ---
1335
+ deprecated: use external_type_display_name
1336
+ ---
1337
+ */
1338
+ system_type_display_name?: string | undefined;
1339
+ name: string;
1340
+ created_at: string;
1341
+ workspace_id: string;
1342
+ connected_account_ids: string[];
1343
+ image_url: string;
1344
+ image_alt_text: string;
1345
+ can_automate_enrollment?: boolean | undefined;
1346
+ can_create_acs_access_groups?: boolean | undefined;
1347
+ can_remove_acs_users_from_acs_access_groups?: boolean | undefined;
1348
+ can_add_acs_users_to_acs_access_groups?: boolean | undefined;
1349
+ }>;
1350
+ };
1351
+ };
1313
1352
  '/acs/users/add_to_access_group': {
1314
1353
  route: '/acs/users/add_to_access_group';
1315
1354
  method: 'PUT' | 'POST';
@@ -2284,6 +2323,7 @@ export interface Routes {
2284
2323
  ttlock_metadata?: {
2285
2324
  lock_id: number;
2286
2325
  lock_alias: string;
2326
+ feature_value: string;
2287
2327
  } | undefined;
2288
2328
  seam_bridge_metadata?: {
2289
2329
  unlock_method?: ('bridge' | 'doorking') | undefined;
@@ -2821,6 +2861,7 @@ export interface Routes {
2821
2861
  ttlock_metadata?: {
2822
2862
  lock_id: number;
2823
2863
  lock_alias: string;
2864
+ feature_value: string;
2824
2865
  } | undefined;
2825
2866
  seam_bridge_metadata?: {
2826
2867
  unlock_method?: ('bridge' | 'doorking') | undefined;
@@ -3672,6 +3713,7 @@ export interface Routes {
3672
3713
  ttlock_metadata?: {
3673
3714
  lock_id: number;
3674
3715
  lock_alias: string;
3716
+ feature_value: string;
3675
3717
  } | undefined;
3676
3718
  seam_bridge_metadata?: {
3677
3719
  unlock_method?: ('bridge' | 'doorking') | undefined;
@@ -4184,6 +4226,7 @@ export interface Routes {
4184
4226
  ttlock_metadata?: {
4185
4227
  lock_id: number;
4186
4228
  lock_alias: string;
4229
+ feature_value: string;
4187
4230
  } | undefined;
4188
4231
  seam_bridge_metadata?: {
4189
4232
  unlock_method?: ('bridge' | 'doorking') | undefined;
@@ -4721,6 +4764,7 @@ export interface Routes {
4721
4764
  ttlock_metadata?: {
4722
4765
  lock_id: number;
4723
4766
  lock_alias: string;
4767
+ feature_value: string;
4724
4768
  } | undefined;
4725
4769
  seam_bridge_metadata?: {
4726
4770
  unlock_method?: ('bridge' | 'doorking') | undefined;
@@ -5233,6 +5277,7 @@ export interface Routes {
5233
5277
  ttlock_metadata?: {
5234
5278
  lock_id: number;
5235
5279
  lock_alias: string;
5280
+ feature_value: string;
5236
5281
  } | undefined;
5237
5282
  seam_bridge_metadata?: {
5238
5283
  unlock_method?: ('bridge' | 'doorking') | undefined;
@@ -6388,6 +6433,7 @@ export interface Routes {
6388
6433
  ttlock_metadata?: {
6389
6434
  lock_id: number;
6390
6435
  lock_alias: string;
6436
+ feature_value: string;
6391
6437
  } | undefined;
6392
6438
  seam_bridge_metadata?: {
6393
6439
  unlock_method?: ('bridge' | 'doorking') | undefined;
@@ -7001,6 +7047,7 @@ export interface Routes {
7001
7047
  ttlock_metadata?: {
7002
7048
  lock_id: number;
7003
7049
  lock_alias: string;
7050
+ feature_value: string;
7004
7051
  } | undefined;
7005
7052
  seam_bridge_metadata?: {
7006
7053
  unlock_method?: ('bridge' | 'doorking') | undefined;
@@ -7797,6 +7844,7 @@ export interface Routes {
7797
7844
  ttlock_metadata?: {
7798
7845
  lock_id: number;
7799
7846
  lock_alias: string;
7847
+ feature_value: string;
7800
7848
  } | undefined;
7801
7849
  seam_bridge_metadata?: {
7802
7850
  unlock_method?: ('bridge' | 'doorking') | undefined;
@@ -8314,6 +8362,7 @@ export interface Routes {
8314
8362
  ttlock_metadata?: {
8315
8363
  lock_id: number;
8316
8364
  lock_alias: string;
8365
+ feature_value: string;
8317
8366
  } | undefined;
8318
8367
  seam_bridge_metadata?: {
8319
8368
  unlock_method?: ('bridge' | 'doorking') | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.170.0",
3
+ "version": "1.172.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -151,6 +151,7 @@ export const device_metadata = z
151
151
  ttlock_metadata: z.object({
152
152
  lock_id: z.number(),
153
153
  lock_alias: z.string(),
154
+ feature_value: z.string(),
154
155
  }),
155
156
 
156
157
  seam_bridge_metadata: z.object({
@@ -1447,10 +1447,11 @@ export default {
1447
1447
  },
1448
1448
  ttlock_metadata: {
1449
1449
  properties: {
1450
+ feature_value: { type: 'string' },
1450
1451
  lock_alias: { type: 'string' },
1451
1452
  lock_id: { type: 'number' },
1452
1453
  },
1453
- required: ['lock_id', 'lock_alias'],
1454
+ required: ['lock_id', 'lock_alias', 'feature_value'],
1454
1455
  type: 'object',
1455
1456
  },
1456
1457
  two_n_metadata: {
@@ -2747,7 +2748,7 @@ export default {
2747
2748
  type: 'boolean',
2748
2749
  },
2749
2750
  code: {
2750
- maxLength: 8,
2751
+ maxLength: 9,
2751
2752
  minLength: 4,
2752
2753
  pattern: '^\\d+$',
2753
2754
  type: 'string',
@@ -2830,7 +2831,7 @@ export default {
2830
2831
  type: 'string',
2831
2832
  },
2832
2833
  code: {
2833
- maxLength: 8,
2834
+ maxLength: 9,
2834
2835
  minLength: 4,
2835
2836
  pattern: '^\\d+$',
2836
2837
  type: 'string',
@@ -2913,7 +2914,7 @@ export default {
2913
2914
  type: 'string',
2914
2915
  },
2915
2916
  code: {
2916
- maxLength: 8,
2917
+ maxLength: 9,
2917
2918
  minLength: 4,
2918
2919
  pattern: '^\\d+$',
2919
2920
  type: 'string',
@@ -3643,7 +3644,7 @@ export default {
3643
3644
  type: 'boolean',
3644
3645
  },
3645
3646
  code: {
3646
- maxLength: 8,
3647
+ maxLength: 9,
3647
3648
  minLength: 4,
3648
3649
  pattern: '^\\d+$',
3649
3650
  type: 'string',
@@ -3718,7 +3719,7 @@ export default {
3718
3719
  type: 'boolean',
3719
3720
  },
3720
3721
  code: {
3721
- maxLength: 8,
3722
+ maxLength: 9,
3722
3723
  minLength: 4,
3723
3724
  pattern: '^\\d+$',
3724
3725
  type: 'string',
@@ -3794,7 +3795,7 @@ export default {
3794
3795
  type: 'boolean',
3795
3796
  },
3796
3797
  code: {
3797
- maxLength: 8,
3798
+ maxLength: 9,
3798
3799
  minLength: 4,
3799
3800
  pattern: '^\\d+$',
3800
3801
  type: 'string',
@@ -5114,6 +5115,57 @@ export default {
5114
5115
  'x-fern-sdk-return-value': 'acs_systems',
5115
5116
  },
5116
5117
  },
5118
+ '/acs/systems/list_compatible_credential_manager_acs_systems': {
5119
+ post: {
5120
+ operationId: 'acsSystemsListCompatibleCredentialManagerAcsSystemsPost',
5121
+ requestBody: {
5122
+ content: {
5123
+ 'application/json': {
5124
+ schema: {
5125
+ properties: {
5126
+ acs_system_id: { format: 'uuid', type: 'string' },
5127
+ },
5128
+ required: ['acs_system_id'],
5129
+ type: 'object',
5130
+ },
5131
+ },
5132
+ },
5133
+ },
5134
+ responses: {
5135
+ 200: {
5136
+ content: {
5137
+ 'application/json': {
5138
+ schema: {
5139
+ properties: {
5140
+ acs_systems: {
5141
+ items: { $ref: '#/components/schemas/acs_system' },
5142
+ type: 'array',
5143
+ },
5144
+ ok: { type: 'boolean' },
5145
+ },
5146
+ required: ['acs_systems', 'ok'],
5147
+ type: 'object',
5148
+ },
5149
+ },
5150
+ },
5151
+ description: 'OK',
5152
+ },
5153
+ 400: { description: 'Bad Request' },
5154
+ 401: { description: 'Unauthorized' },
5155
+ },
5156
+ security: [
5157
+ { pat_with_workspace: [] },
5158
+ { console_session: [] },
5159
+ { api_key: [] },
5160
+ ],
5161
+ summary: '/acs/systems/list_compatible_credential_manager_acs_systems',
5162
+ tags: ['/acs'],
5163
+ 'x-fern-sdk-group-name': ['acs', 'systems'],
5164
+ 'x-fern-sdk-method-name':
5165
+ 'list_compatible_credential_manager_acs_systems',
5166
+ 'x-fern-sdk-return-value': 'acs_systems',
5167
+ },
5168
+ },
5117
5169
  '/acs/users/add_to_access_group': {
5118
5170
  post: {
5119
5171
  operationId: 'acsUsersAddToAccessGroupPost',
@@ -1478,6 +1478,67 @@ export interface Routes {
1478
1478
  }>
1479
1479
  }
1480
1480
  }
1481
+ '/acs/systems/list_compatible_credential_manager_acs_systems': {
1482
+ route: '/acs/systems/list_compatible_credential_manager_acs_systems'
1483
+ method: 'GET' | 'POST'
1484
+ queryParams: {}
1485
+ jsonBody: {}
1486
+ commonParams: {
1487
+ acs_system_id: string
1488
+ }
1489
+ formData: {}
1490
+ jsonResponse: {
1491
+ acs_systems: Array<{
1492
+ acs_system_id: string
1493
+ external_type?:
1494
+ | (
1495
+ | 'pti_site'
1496
+ | 'alta_org'
1497
+ | 'salto_site'
1498
+ | 'brivo_account'
1499
+ | 'hid_credential_manager_organization'
1500
+ | 'visionline_system'
1501
+ | 'assa_abloy_credential_service'
1502
+ | 'latch_building'
1503
+ )
1504
+ | undefined
1505
+ external_type_display_name?: string | undefined
1506
+ /**
1507
+ ---
1508
+ deprecated: use external_type
1509
+ ---
1510
+ */
1511
+ system_type?:
1512
+ | (
1513
+ | 'pti_site'
1514
+ | 'alta_org'
1515
+ | 'salto_site'
1516
+ | 'brivo_account'
1517
+ | 'hid_credential_manager_organization'
1518
+ | 'visionline_system'
1519
+ | 'assa_abloy_credential_service'
1520
+ | 'latch_building'
1521
+ )
1522
+ | undefined
1523
+ /**
1524
+ ---
1525
+ deprecated: use external_type_display_name
1526
+ ---
1527
+ */
1528
+ system_type_display_name?: string | undefined
1529
+ name: string
1530
+ created_at: string
1531
+ workspace_id: string
1532
+ connected_account_ids: string[]
1533
+ image_url: string
1534
+ image_alt_text: string
1535
+ can_automate_enrollment?: boolean | undefined
1536
+ can_create_acs_access_groups?: boolean | undefined
1537
+ can_remove_acs_users_from_acs_access_groups?: boolean | undefined
1538
+ can_add_acs_users_to_acs_access_groups?: boolean | undefined
1539
+ }>
1540
+ }
1541
+ }
1481
1542
  '/acs/users/add_to_access_group': {
1482
1543
  route: '/acs/users/add_to_access_group'
1483
1544
  method: 'PUT' | 'POST'
@@ -2646,6 +2707,7 @@ export interface Routes {
2646
2707
  | {
2647
2708
  lock_id: number
2648
2709
  lock_alias: string
2710
+ feature_value: string
2649
2711
  }
2650
2712
  | undefined
2651
2713
  seam_bridge_metadata?:
@@ -3532,6 +3594,7 @@ export interface Routes {
3532
3594
  | {
3533
3595
  lock_id: number
3534
3596
  lock_alias: string
3597
+ feature_value: string
3535
3598
  }
3536
3599
  | undefined
3537
3600
  seam_bridge_metadata?:
@@ -5003,6 +5066,7 @@ export interface Routes {
5003
5066
  | {
5004
5067
  lock_id: number
5005
5068
  lock_alias: string
5069
+ feature_value: string
5006
5070
  }
5007
5071
  | undefined
5008
5072
  seam_bridge_metadata?:
@@ -5735,6 +5799,7 @@ export interface Routes {
5735
5799
  | {
5736
5800
  lock_id: number
5737
5801
  lock_alias: string
5802
+ feature_value: string
5738
5803
  }
5739
5804
  | undefined
5740
5805
  seam_bridge_metadata?:
@@ -6621,6 +6686,7 @@ export interface Routes {
6621
6686
  | {
6622
6687
  lock_id: number
6623
6688
  lock_alias: string
6689
+ feature_value: string
6624
6690
  }
6625
6691
  | undefined
6626
6692
  seam_bridge_metadata?:
@@ -7353,6 +7419,7 @@ export interface Routes {
7353
7419
  | {
7354
7420
  lock_id: number
7355
7421
  lock_alias: string
7422
+ feature_value: string
7356
7423
  }
7357
7424
  | undefined
7358
7425
  seam_bridge_metadata?:
@@ -8764,6 +8831,7 @@ export interface Routes {
8764
8831
  | {
8765
8832
  lock_id: number
8766
8833
  lock_alias: string
8834
+ feature_value: string
8767
8835
  }
8768
8836
  | undefined
8769
8837
  seam_bridge_metadata?:
@@ -9732,6 +9800,7 @@ export interface Routes {
9732
9800
  | {
9733
9801
  lock_id: number
9734
9802
  lock_alias: string
9803
+ feature_value: string
9735
9804
  }
9736
9805
  | undefined
9737
9806
  seam_bridge_metadata?:
@@ -10756,6 +10825,7 @@ export interface Routes {
10756
10825
  | {
10757
10826
  lock_id: number
10758
10827
  lock_alias: string
10828
+ feature_value: string
10759
10829
  }
10760
10830
  | undefined
10761
10831
  seam_bridge_metadata?:
@@ -11493,6 +11563,7 @@ export interface Routes {
11493
11563
  | {
11494
11564
  lock_id: number
11495
11565
  lock_alias: string
11566
+ feature_value: string
11496
11567
  }
11497
11568
  | undefined
11498
11569
  seam_bridge_metadata?: