@seamapi/types 1.488.0 → 1.490.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.
@@ -10109,8 +10109,8 @@ export type Routes = {
10109
10109
  commonParams: {
10110
10110
  /** IDs of the access grants that you want to get along with their related resources. */
10111
10111
  access_grant_ids: string[];
10112
- include?: ('spaces' | 'devices' | 'acs_entrances' | 'connected_accounts' | 'acs_systems' | 'user_identity')[] | undefined;
10113
- exclude?: ('spaces' | 'devices' | 'acs_entrances' | 'connected_accounts' | 'acs_systems' | 'user_identity')[] | undefined;
10112
+ include?: ('spaces' | 'devices' | 'acs_entrances' | 'connected_accounts' | 'acs_systems' | 'user_identity' | 'acs_access_groups')[] | undefined;
10113
+ exclude?: ('spaces' | 'devices' | 'acs_entrances' | 'connected_accounts' | 'acs_systems' | 'user_identity' | 'acs_access_groups')[] | undefined;
10114
10114
  };
10115
10115
  formData: {};
10116
10116
  jsonResponse: {
@@ -11740,6 +11740,41 @@ export type Routes = {
11740
11740
  misconfigured_acs_entrance_ids?: string[] | undefined;
11741
11741
  })[];
11742
11742
  }[] | undefined;
11743
+ acs_access_groups?: {
11744
+ /** ID of the access group. */
11745
+ acs_access_group_id: string;
11746
+ /** ID of the access control system that contains the access group. */
11747
+ acs_system_id: string;
11748
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the access group. */
11749
+ workspace_id: string;
11750
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) that contains the access group. */
11751
+ connected_account_id: string;
11752
+ /** Name of the access group. */
11753
+ name: string;
11754
+ /**
11755
+ * @deprecated Use `external_type`.*/
11756
+ access_group_type: 'pti_unit' | 'pti_access_level' | 'salto_ks_access_group' | 'brivo_group' | 'salto_space_group' | 'dormakaba_community_access_group';
11757
+ /**
11758
+ * @deprecated Use `external_type_display_name`.*/
11759
+ access_group_type_display_name: string;
11760
+ display_name: string;
11761
+ /** Brand-specific terminology for the access group type. */
11762
+ external_type: 'pti_unit' | 'pti_access_level' | 'salto_ks_access_group' | 'brivo_group' | 'salto_space_group' | 'dormakaba_community_access_group';
11763
+ /** Display name that corresponds to the brand-specific terminology for the access group type. */
11764
+ external_type_display_name: string;
11765
+ /** Date and time at which the access group was created. */
11766
+ created_at: string;
11767
+ /** Warnings associated with the `acs_access_group`. */
11768
+ warnings: {
11769
+ /** Date and time at which Seam created the warning. */
11770
+ created_at: string;
11771
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
11772
+ message: string;
11773
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
11774
+ warning_code: 'unknown_issue_with_acs_access_group';
11775
+ }[];
11776
+ is_managed: true;
11777
+ }[] | undefined;
11743
11778
  };
11744
11779
  };
11745
11780
  };
@@ -77954,8 +77989,8 @@ export type Routes = {
77954
77989
  formData: {};
77955
77990
  jsonResponse: {};
77956
77991
  };
77957
- '/workspaces/find_resources': {
77958
- route: '/workspaces/find_resources';
77992
+ '/workspaces/find_anything': {
77993
+ route: '/workspaces/find_anything';
77959
77994
  method: 'GET' | 'POST';
77960
77995
  queryParams: {
77961
77996
  search: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.488.0",
3
+ "version": "1.490.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -44,6 +44,7 @@ export const access_grants_batch = z.object({
44
44
  user_identities: user_identity.array().optional(),
45
45
  connected_accounts: connected_account.array().optional(),
46
46
  acs_systems: acs_system.array().optional(),
47
+ acs_access_groups: acs_access_group.array().optional(),
47
48
  })
48
49
 
49
50
  export const access_methods_batch = z.object({
@@ -28299,6 +28299,7 @@ export default {
28299
28299
  'connected_accounts',
28300
28300
  'acs_systems',
28301
28301
  'user_identity',
28302
+ 'acs_access_groups',
28302
28303
  ],
28303
28304
  type: 'string',
28304
28305
  },
@@ -28318,6 +28319,7 @@ export default {
28318
28319
  'connected_accounts',
28319
28320
  'acs_systems',
28320
28321
  'user_identity',
28322
+ 'acs_access_groups',
28321
28323
  ],
28322
28324
  type: 'string',
28323
28325
  },
@@ -28333,6 +28335,12 @@ export default {
28333
28335
  properties: {
28334
28336
  batch: {
28335
28337
  properties: {
28338
+ acs_access_groups: {
28339
+ items: {
28340
+ $ref: '#/components/schemas/acs_access_group',
28341
+ },
28342
+ type: 'array',
28343
+ },
28336
28344
  acs_entrances: {
28337
28345
  items: { $ref: '#/components/schemas/acs_entrance' },
28338
28346
  type: 'array',
@@ -28415,6 +28423,7 @@ export default {
28415
28423
  'connected_accounts',
28416
28424
  'acs_systems',
28417
28425
  'user_identity',
28426
+ 'acs_access_groups',
28418
28427
  ],
28419
28428
  type: 'string',
28420
28429
  },
@@ -28429,6 +28438,7 @@ export default {
28429
28438
  'connected_accounts',
28430
28439
  'acs_systems',
28431
28440
  'user_identity',
28441
+ 'acs_access_groups',
28432
28442
  ],
28433
28443
  type: 'string',
28434
28444
  },
@@ -28449,6 +28459,12 @@ export default {
28449
28459
  properties: {
28450
28460
  batch: {
28451
28461
  properties: {
28462
+ acs_access_groups: {
28463
+ items: {
28464
+ $ref: '#/components/schemas/acs_access_group',
28465
+ },
28466
+ type: 'array',
28467
+ },
28452
28468
  acs_entrances: {
28453
28469
  items: { $ref: '#/components/schemas/acs_entrance' },
28454
28470
  type: 'array',
@@ -56621,10 +56637,10 @@ export default {
56621
56637
  'Internal form-data endpoint for Console and Customer Portal.',
56622
56638
  },
56623
56639
  },
56624
- '/workspaces/find_resources': {
56640
+ '/workspaces/find_anything': {
56625
56641
  get: {
56626
56642
  description: 'Search for resources inside a workspace.',
56627
- operationId: 'workspacesFindResourcesGet',
56643
+ operationId: 'workspacesFindAnythingGet',
56628
56644
  parameters: [
56629
56645
  {
56630
56646
  in: 'query',
@@ -56774,11 +56790,11 @@ export default {
56774
56790
  { console_session_with_workspace: [] },
56775
56791
  { api_key: [] },
56776
56792
  ],
56777
- summary: '/workspaces/find_resources',
56793
+ summary: '/workspaces/find_anything',
56778
56794
  tags: ['/workspaces'],
56779
56795
  'x-batch-type': 'workspaces',
56780
56796
  'x-fern-sdk-group-name': ['workspaces'],
56781
- 'x-fern-sdk-method-name': 'find_resources',
56797
+ 'x-fern-sdk-method-name': 'find_anything',
56782
56798
  'x-fern-sdk-return-value': 'batch',
56783
56799
  'x-response-key': 'batch',
56784
56800
  'x-title': 'Find Resources',
@@ -56786,7 +56802,7 @@ export default {
56786
56802
  },
56787
56803
  post: {
56788
56804
  description: 'Search for resources inside a workspace.',
56789
- operationId: 'workspacesFindResourcesPost',
56805
+ operationId: 'workspacesFindAnythingPost',
56790
56806
  parameters: [
56791
56807
  {
56792
56808
  in: 'query',
@@ -56936,11 +56952,11 @@ export default {
56936
56952
  { console_session_with_workspace: [] },
56937
56953
  { api_key: [] },
56938
56954
  ],
56939
- summary: '/workspaces/find_resources',
56955
+ summary: '/workspaces/find_anything',
56940
56956
  tags: ['/workspaces'],
56941
56957
  'x-batch-type': 'workspaces',
56942
56958
  'x-fern-sdk-group-name': ['workspaces'],
56943
- 'x-fern-sdk-method-name': 'find_resources',
56959
+ 'x-fern-sdk-method-name': 'find_anything',
56944
56960
  'x-fern-sdk-return-value': 'batch',
56945
56961
  'x-response-key': 'batch',
56946
56962
  'x-title': 'Find Resources',
@@ -11343,6 +11343,7 @@ export type Routes = {
11343
11343
  | 'connected_accounts'
11344
11344
  | 'acs_systems'
11345
11345
  | 'user_identity'
11346
+ | 'acs_access_groups'
11346
11347
  )[]
11347
11348
  | undefined
11348
11349
  exclude?:
@@ -11353,6 +11354,7 @@ export type Routes = {
11353
11354
  | 'connected_accounts'
11354
11355
  | 'acs_systems'
11355
11356
  | 'user_identity'
11357
+ | 'acs_access_groups'
11356
11358
  )[]
11357
11359
  | undefined
11358
11360
  }
@@ -13411,6 +13413,55 @@ export type Routes = {
13411
13413
  )[]
13412
13414
  }[]
13413
13415
  | undefined
13416
+ acs_access_groups?:
13417
+ | {
13418
+ /** ID of the access group. */
13419
+ acs_access_group_id: string
13420
+ /** ID of the access control system that contains the access group. */
13421
+ acs_system_id: string
13422
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the access group. */
13423
+ workspace_id: string
13424
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) that contains the access group. */
13425
+ connected_account_id: string
13426
+ /** Name of the access group. */
13427
+ name: string
13428
+ /**
13429
+ * @deprecated Use `external_type`.*/
13430
+ access_group_type:
13431
+ | 'pti_unit'
13432
+ | 'pti_access_level'
13433
+ | 'salto_ks_access_group'
13434
+ | 'brivo_group'
13435
+ | 'salto_space_group'
13436
+ | 'dormakaba_community_access_group'
13437
+ /**
13438
+ * @deprecated Use `external_type_display_name`.*/
13439
+ access_group_type_display_name: string
13440
+ display_name: string
13441
+ /** Brand-specific terminology for the access group type. */
13442
+ external_type:
13443
+ | 'pti_unit'
13444
+ | 'pti_access_level'
13445
+ | 'salto_ks_access_group'
13446
+ | 'brivo_group'
13447
+ | 'salto_space_group'
13448
+ | 'dormakaba_community_access_group'
13449
+ /** Display name that corresponds to the brand-specific terminology for the access group type. */
13450
+ external_type_display_name: string
13451
+ /** Date and time at which the access group was created. */
13452
+ created_at: string
13453
+ /** Warnings associated with the `acs_access_group`. */
13454
+ warnings: {
13455
+ /** Date and time at which Seam created the warning. */
13456
+ created_at: string
13457
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
13458
+ message: string
13459
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
13460
+ warning_code: 'unknown_issue_with_acs_access_group'
13461
+ }[]
13462
+ is_managed: true
13463
+ }[]
13464
+ | undefined
13414
13465
  }
13415
13466
  }
13416
13467
  }
@@ -92501,8 +92552,8 @@ export type Routes = {
92501
92552
  formData: {}
92502
92553
  jsonResponse: {}
92503
92554
  }
92504
- '/workspaces/find_resources': {
92505
- route: '/workspaces/find_resources'
92555
+ '/workspaces/find_anything': {
92556
+ route: '/workspaces/find_anything'
92506
92557
  method: 'GET' | 'POST'
92507
92558
  queryParams: {
92508
92559
  search: string