@seamapi/types 1.488.0 → 1.489.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.
- package/dist/connect.cjs +22 -5
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +87 -40
- package/dist/index.cjs +22 -5
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +179 -76
- package/lib/seam/connect/models/batch.js +1 -0
- package/lib/seam/connect/models/batch.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +12 -0
- package/lib/seam/connect/openapi.js +16 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +37 -2
- package/package.json +1 -1
- package/src/lib/seam/connect/models/batch.ts +1 -0
- package/src/lib/seam/connect/openapi.ts +16 -0
- package/src/lib/seam/connect/route-types.ts +51 -0
|
@@ -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
|
};
|
package/package.json
CHANGED
|
@@ -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',
|
|
@@ -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
|
}
|