@uipath/uipath-typescript 1.5.0 → 1.5.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.
- package/README.md +7 -1
- package/dist/assets/index.cjs +107 -6
- package/dist/assets/index.d.ts +12 -1
- package/dist/assets/index.mjs +107 -6
- package/dist/attachments/index.cjs +95 -3
- package/dist/attachments/index.mjs +95 -3
- package/dist/buckets/index.cjs +111 -6
- package/dist/buckets/index.d.ts +12 -1
- package/dist/buckets/index.mjs +111 -6
- package/dist/cases/index.cjs +434 -266
- package/dist/cases/index.d.ts +140 -3
- package/dist/cases/index.mjs +434 -266
- package/dist/conversational-agent/index.cjs +23 -1
- package/dist/conversational-agent/index.d.ts +117 -6
- package/dist/conversational-agent/index.mjs +23 -1
- package/dist/core/index.cjs +1 -1
- package/dist/core/index.mjs +1 -1
- package/dist/entities/index.cjs +423 -0
- package/dist/entities/index.d.ts +441 -1
- package/dist/entities/index.mjs +422 -1
- package/dist/index.cjs +974 -293
- package/dist/index.d.ts +1150 -43
- package/dist/index.mjs +975 -294
- package/dist/index.umd.js +974 -293
- package/dist/jobs/index.cjs +12 -5
- package/dist/jobs/index.d.ts +12 -1
- package/dist/jobs/index.mjs +12 -5
- package/dist/maestro-processes/index.cjs +344 -243
- package/dist/maestro-processes/index.d.ts +189 -5
- package/dist/maestro-processes/index.mjs +344 -243
- package/dist/notifications/index.cjs +2012 -0
- package/dist/notifications/index.d.ts +615 -0
- package/dist/notifications/index.mjs +2010 -0
- package/dist/processes/index.cjs +93 -9
- package/dist/processes/index.d.ts +12 -1
- package/dist/processes/index.mjs +93 -9
- package/dist/queues/index.cjs +106 -5
- package/dist/queues/index.d.ts +12 -1
- package/dist/queues/index.mjs +106 -5
- package/dist/tasks/index.cjs +100 -4
- package/dist/tasks/index.mjs +100 -4
- package/dist/traces/index.cjs +218 -4
- package/dist/traces/index.d.ts +357 -22
- package/dist/traces/index.mjs +219 -5
- package/package.json +14 -4
package/dist/entities/index.d.ts
CHANGED
|
@@ -3129,5 +3129,445 @@ declare class ChoiceSetService extends BaseService implements ChoiceSetServiceMo
|
|
|
3129
3129
|
private resolveChoiceSetName;
|
|
3130
3130
|
}
|
|
3131
3131
|
|
|
3132
|
-
|
|
3132
|
+
/**
|
|
3133
|
+
* @internal
|
|
3134
|
+
*/
|
|
3135
|
+
declare enum DataFabricRoleType {
|
|
3136
|
+
System = "System",
|
|
3137
|
+
UserDefined = "UserDefined"
|
|
3138
|
+
}
|
|
3139
|
+
/**
|
|
3140
|
+
* @internal
|
|
3141
|
+
*/
|
|
3142
|
+
interface DataFabricRole {
|
|
3143
|
+
id: string;
|
|
3144
|
+
name: string;
|
|
3145
|
+
type: DataFabricRoleType;
|
|
3146
|
+
directoryEntityCount?: number | null;
|
|
3147
|
+
folderId?: string;
|
|
3148
|
+
}
|
|
3149
|
+
/**
|
|
3150
|
+
* @internal
|
|
3151
|
+
*/
|
|
3152
|
+
interface DataFabricRoleGetAllOptions {
|
|
3153
|
+
/**
|
|
3154
|
+
* Include role statistics in the response.
|
|
3155
|
+
*
|
|
3156
|
+
* Defaults to true to match the Data Fabric UI and CLI role-list flow.
|
|
3157
|
+
*/
|
|
3158
|
+
stats?: boolean;
|
|
3159
|
+
/**
|
|
3160
|
+
* Optional folder key for folder-aware Role V2 requests.
|
|
3161
|
+
*
|
|
3162
|
+
* Forwarded on the wire as the `X-UIPATH-FolderKey` header.
|
|
3163
|
+
*/
|
|
3164
|
+
folderKey?: string;
|
|
3165
|
+
}
|
|
3166
|
+
|
|
3167
|
+
/**
|
|
3168
|
+
* @internal
|
|
3169
|
+
*/
|
|
3170
|
+
interface DataFabricRoleServiceModel {
|
|
3171
|
+
/**
|
|
3172
|
+
* Lists Data Fabric access roles.
|
|
3173
|
+
*
|
|
3174
|
+
* Returns tenant Data Fabric roles such as Admin, Designer, DataWriter, and
|
|
3175
|
+
* DataReader. Role IDs from this method can be passed to
|
|
3176
|
+
* `DataFabricDirectoryService.assignRoles()`.
|
|
3177
|
+
*
|
|
3178
|
+
* @param options - Optional query options
|
|
3179
|
+
* @returns Promise resolving to an array of {@link DataFabricRole}
|
|
3180
|
+
*
|
|
3181
|
+
* @example
|
|
3182
|
+
* ```typescript
|
|
3183
|
+
* import { DataFabricRoleService } from '@uipath/uipath-typescript/entities';
|
|
3184
|
+
*
|
|
3185
|
+
* const roles = new DataFabricRoleService(sdk);
|
|
3186
|
+
* const allRoles = await roles.getAll();
|
|
3187
|
+
* const dataWriter = allRoles.find(role => role.name === 'DataWriter');
|
|
3188
|
+
* ```
|
|
3189
|
+
*
|
|
3190
|
+
* @example
|
|
3191
|
+
* ```typescript
|
|
3192
|
+
* const rolesWithoutStats = await roles.getAll({ stats: false });
|
|
3193
|
+
* ```
|
|
3194
|
+
*
|
|
3195
|
+
* @example
|
|
3196
|
+
* ```typescript
|
|
3197
|
+
* const folderRoles = await roles.getAll({ folderKey: '<folder-key>' });
|
|
3198
|
+
* ```
|
|
3199
|
+
*
|
|
3200
|
+
* @internal
|
|
3201
|
+
*/
|
|
3202
|
+
getAll(options?: DataFabricRoleGetAllOptions): Promise<DataFabricRole[]>;
|
|
3203
|
+
}
|
|
3204
|
+
|
|
3205
|
+
/**
|
|
3206
|
+
* @internal
|
|
3207
|
+
*/
|
|
3208
|
+
declare class DataFabricRoleService extends BaseService implements DataFabricRoleServiceModel {
|
|
3209
|
+
/**
|
|
3210
|
+
* Lists Data Fabric access roles.
|
|
3211
|
+
*
|
|
3212
|
+
* Returns tenant Data Fabric roles such as Admin, Designer, DataWriter, and
|
|
3213
|
+
* DataReader. Role IDs from this method can be passed to
|
|
3214
|
+
* `DataFabricDirectoryService.assignRoles()`.
|
|
3215
|
+
*
|
|
3216
|
+
* @param options - Optional query options
|
|
3217
|
+
* @returns Promise resolving to an array of {@link DataFabricRole}
|
|
3218
|
+
*
|
|
3219
|
+
* @example
|
|
3220
|
+
* ```typescript
|
|
3221
|
+
* import { DataFabricRoleService } from '@uipath/uipath-typescript/entities';
|
|
3222
|
+
*
|
|
3223
|
+
* const roles = new DataFabricRoleService(sdk);
|
|
3224
|
+
* const allRoles = await roles.getAll();
|
|
3225
|
+
* const dataWriter = allRoles.find(role => role.name === 'DataWriter');
|
|
3226
|
+
* ```
|
|
3227
|
+
*
|
|
3228
|
+
* @example
|
|
3229
|
+
* ```typescript
|
|
3230
|
+
* const rolesWithoutStats = await roles.getAll({ stats: false });
|
|
3231
|
+
* ```
|
|
3232
|
+
*
|
|
3233
|
+
* @example
|
|
3234
|
+
* ```typescript
|
|
3235
|
+
* const folderRoles = await roles.getAll({ folderKey: '<folder-key>' });
|
|
3236
|
+
* ```
|
|
3237
|
+
*
|
|
3238
|
+
* @internal
|
|
3239
|
+
*/
|
|
3240
|
+
getAll(options?: DataFabricRoleGetAllOptions): Promise<DataFabricRole[]>;
|
|
3241
|
+
}
|
|
3242
|
+
|
|
3243
|
+
/**
|
|
3244
|
+
* @internal
|
|
3245
|
+
*/
|
|
3246
|
+
declare enum DataFabricDirectoryEntityType {
|
|
3247
|
+
/** Identity user, robot user, or directory robot principal. */
|
|
3248
|
+
User = 0,
|
|
3249
|
+
/** Identity group principal. */
|
|
3250
|
+
Group = 1,
|
|
3251
|
+
/** External application principal. */
|
|
3252
|
+
Application = 2
|
|
3253
|
+
}
|
|
3254
|
+
/**
|
|
3255
|
+
* @internal
|
|
3256
|
+
*/
|
|
3257
|
+
declare enum DataFabricDirectoryEntityTypeName {
|
|
3258
|
+
User = "User",
|
|
3259
|
+
Group = "Group",
|
|
3260
|
+
Application = "Application"
|
|
3261
|
+
}
|
|
3262
|
+
/**
|
|
3263
|
+
* @internal
|
|
3264
|
+
*/
|
|
3265
|
+
type DataFabricDirectoryEntityTypeInput = DataFabricDirectoryEntityType | DataFabricDirectoryEntityTypeName;
|
|
3266
|
+
/**
|
|
3267
|
+
* @internal
|
|
3268
|
+
*/
|
|
3269
|
+
interface DataFabricDirectoryRole {
|
|
3270
|
+
id: string;
|
|
3271
|
+
name: string;
|
|
3272
|
+
}
|
|
3273
|
+
/**
|
|
3274
|
+
* @internal
|
|
3275
|
+
*/
|
|
3276
|
+
interface DataFabricDirectoryEntry {
|
|
3277
|
+
externalId: string;
|
|
3278
|
+
name: string;
|
|
3279
|
+
email?: string | null;
|
|
3280
|
+
type: DataFabricDirectoryEntityTypeName;
|
|
3281
|
+
roles: DataFabricDirectoryRole[];
|
|
3282
|
+
objectType?: string | null;
|
|
3283
|
+
isUIEnabled: boolean;
|
|
3284
|
+
}
|
|
3285
|
+
/**
|
|
3286
|
+
* @internal
|
|
3287
|
+
*/
|
|
3288
|
+
interface DataFabricDirectoryListOptions {
|
|
3289
|
+
skip?: number;
|
|
3290
|
+
top?: number;
|
|
3291
|
+
}
|
|
3292
|
+
/**
|
|
3293
|
+
* @internal
|
|
3294
|
+
*/
|
|
3295
|
+
interface DataFabricDirectoryGetAllOptions {
|
|
3296
|
+
pageSize?: number;
|
|
3297
|
+
}
|
|
3298
|
+
/**
|
|
3299
|
+
* @internal
|
|
3300
|
+
*/
|
|
3301
|
+
interface DataFabricDirectoryListResponse {
|
|
3302
|
+
totalCount: number;
|
|
3303
|
+
results: DataFabricDirectoryEntry[];
|
|
3304
|
+
}
|
|
3305
|
+
/**
|
|
3306
|
+
* @internal
|
|
3307
|
+
*/
|
|
3308
|
+
interface DataFabricDirectoryAssignOptions {
|
|
3309
|
+
/**
|
|
3310
|
+
* Preserve the principal's current Data Fabric roles.
|
|
3311
|
+
*
|
|
3312
|
+
* Defaults to true because the Data Fabric role assignment endpoint replaces
|
|
3313
|
+
* the role set for each principal.
|
|
3314
|
+
*/
|
|
3315
|
+
preserveExisting?: boolean;
|
|
3316
|
+
/**
|
|
3317
|
+
* Enables Data Fabric UI access for the assigned principal.
|
|
3318
|
+
*
|
|
3319
|
+
* Defaults to true.
|
|
3320
|
+
*/
|
|
3321
|
+
uiEnabled?: boolean;
|
|
3322
|
+
}
|
|
3323
|
+
/**
|
|
3324
|
+
* @internal
|
|
3325
|
+
*/
|
|
3326
|
+
interface DataFabricDirectoryAssignmentResult {
|
|
3327
|
+
principalId: string;
|
|
3328
|
+
roleIds: string[];
|
|
3329
|
+
}
|
|
3330
|
+
|
|
3331
|
+
/**
|
|
3332
|
+
* @internal
|
|
3333
|
+
*/
|
|
3334
|
+
interface DataFabricDirectoryServiceModel {
|
|
3335
|
+
/**
|
|
3336
|
+
* Lists one page of Data Fabric directory principals and their current roles.
|
|
3337
|
+
*
|
|
3338
|
+
* Returns directory entries with external IDs, principal metadata, and
|
|
3339
|
+
* assigned Data Fabric roles.
|
|
3340
|
+
*
|
|
3341
|
+
* @param options - Optional offset paging options
|
|
3342
|
+
* @returns Promise resolving to {@link DataFabricDirectoryListResponse}
|
|
3343
|
+
*
|
|
3344
|
+
* @example
|
|
3345
|
+
* ```typescript
|
|
3346
|
+
* import { DataFabricDirectoryService } from '@uipath/uipath-typescript/entities';
|
|
3347
|
+
*
|
|
3348
|
+
* const directory = new DataFabricDirectoryService(sdk);
|
|
3349
|
+
* const page = await directory.list({ skip: 0, top: 50 });
|
|
3350
|
+
* const firstPrincipal = page.results[0];
|
|
3351
|
+
* ```
|
|
3352
|
+
*
|
|
3353
|
+
* @internal
|
|
3354
|
+
*/
|
|
3355
|
+
list(options?: DataFabricDirectoryListOptions): Promise<DataFabricDirectoryListResponse>;
|
|
3356
|
+
/**
|
|
3357
|
+
* Lists all Data Fabric directory principals and their current roles.
|
|
3358
|
+
*
|
|
3359
|
+
* Follows the Data Fabric directory top/skip pagination and returns
|
|
3360
|
+
* normalized entries. Entries without assigned roles include an empty
|
|
3361
|
+
* `roles` array.
|
|
3362
|
+
*
|
|
3363
|
+
* @param options - Optional page-size options
|
|
3364
|
+
* @returns Promise resolving to an array of {@link DataFabricDirectoryEntry}
|
|
3365
|
+
*
|
|
3366
|
+
* @example
|
|
3367
|
+
* ```typescript
|
|
3368
|
+
* import { DataFabricDirectoryService } from '@uipath/uipath-typescript/entities';
|
|
3369
|
+
*
|
|
3370
|
+
* const directory = new DataFabricDirectoryService(sdk);
|
|
3371
|
+
* const principals = await directory.getAll({ pageSize: 100 });
|
|
3372
|
+
* ```
|
|
3373
|
+
*
|
|
3374
|
+
* @internal
|
|
3375
|
+
*/
|
|
3376
|
+
getAll(options?: DataFabricDirectoryGetAllOptions): Promise<DataFabricDirectoryEntry[]>;
|
|
3377
|
+
/**
|
|
3378
|
+
* Assigns Data Fabric roles to one or more principals.
|
|
3379
|
+
*
|
|
3380
|
+
* The Data Fabric API replaces the role set for each principal, so this
|
|
3381
|
+
* method preserves existing roles by default and posts the union of current
|
|
3382
|
+
* and requested role IDs.
|
|
3383
|
+
*
|
|
3384
|
+
* Role IDs can be discovered with `DataFabricRoleService.getAll()`. Set
|
|
3385
|
+
* `preserveExisting: false` only when intentionally replacing a principal's
|
|
3386
|
+
* Data Fabric role set.
|
|
3387
|
+
*
|
|
3388
|
+
* @param principalIds - Principal external ID or IDs
|
|
3389
|
+
* @param principalType - Principal type
|
|
3390
|
+
* @param roleIds - Data Fabric role IDs to assign
|
|
3391
|
+
* @param options - Optional assignment behavior
|
|
3392
|
+
* @returns Promise resolving to an array of {@link DataFabricDirectoryAssignmentResult}
|
|
3393
|
+
*
|
|
3394
|
+
* @example
|
|
3395
|
+
* ```typescript
|
|
3396
|
+
* import { DataFabricDirectoryEntityTypeName, DataFabricDirectoryService, DataFabricRoleService } from '@uipath/uipath-typescript/entities';
|
|
3397
|
+
*
|
|
3398
|
+
* const roles = new DataFabricRoleService(sdk);
|
|
3399
|
+
* const directory = new DataFabricDirectoryService(sdk);
|
|
3400
|
+
*
|
|
3401
|
+
* const dataWriter = (await roles.getAll()).find(role => role.name === 'DataWriter');
|
|
3402
|
+
* if (!dataWriter) {
|
|
3403
|
+
* throw new Error('DataWriter role not found');
|
|
3404
|
+
* }
|
|
3405
|
+
*
|
|
3406
|
+
* await directory.assignRoles('<identity-group-id>', DataFabricDirectoryEntityTypeName.Group, [dataWriter.id]);
|
|
3407
|
+
* ```
|
|
3408
|
+
*
|
|
3409
|
+
* @example
|
|
3410
|
+
* ```typescript
|
|
3411
|
+
* await directory.assignRoles('<identity-user-id>', DataFabricDirectoryEntityTypeName.User, ['<role-id>'], {
|
|
3412
|
+
* preserveExisting: false,
|
|
3413
|
+
* });
|
|
3414
|
+
* ```
|
|
3415
|
+
*
|
|
3416
|
+
* @internal
|
|
3417
|
+
*/
|
|
3418
|
+
assignRoles(principalIds: string | string[], principalType: DataFabricDirectoryEntityTypeInput, roleIds: string[], options?: DataFabricDirectoryAssignOptions): Promise<DataFabricDirectoryAssignmentResult[]>;
|
|
3419
|
+
/**
|
|
3420
|
+
* Revokes all direct Data Fabric roles from one or more principals.
|
|
3421
|
+
*
|
|
3422
|
+
* The Data Fabric API removes all role assignments for each supplied external
|
|
3423
|
+
* ID. Use this when a principal should no longer have direct Data Fabric
|
|
3424
|
+
* access. Inherited access through groups is not changed.
|
|
3425
|
+
*
|
|
3426
|
+
* @param principalIds - Principal external ID or IDs
|
|
3427
|
+
* @returns Promise resolving when the roles are revoked
|
|
3428
|
+
*
|
|
3429
|
+
* @example
|
|
3430
|
+
* ```typescript
|
|
3431
|
+
* import { DataFabricDirectoryService } from '@uipath/uipath-typescript/entities';
|
|
3432
|
+
*
|
|
3433
|
+
* const directory = new DataFabricDirectoryService(sdk);
|
|
3434
|
+
*
|
|
3435
|
+
* await directory.revokeRoles('<identity-user-id>');
|
|
3436
|
+
* ```
|
|
3437
|
+
*
|
|
3438
|
+
* @example
|
|
3439
|
+
* ```typescript
|
|
3440
|
+
* await directory.revokeRoles([
|
|
3441
|
+
* '<identity-user-id>',
|
|
3442
|
+
* '<identity-group-id>',
|
|
3443
|
+
* ]);
|
|
3444
|
+
* ```
|
|
3445
|
+
*
|
|
3446
|
+
* @internal
|
|
3447
|
+
*/
|
|
3448
|
+
revokeRoles(principalIds: string | string[]): Promise<void>;
|
|
3449
|
+
}
|
|
3450
|
+
|
|
3451
|
+
/**
|
|
3452
|
+
* @internal
|
|
3453
|
+
*/
|
|
3454
|
+
declare class DataFabricDirectoryService extends BaseService implements DataFabricDirectoryServiceModel {
|
|
3455
|
+
private fetchAllEntries;
|
|
3456
|
+
/**
|
|
3457
|
+
* Lists one page of Data Fabric directory principals and their current roles.
|
|
3458
|
+
*
|
|
3459
|
+
* Returns directory entries with external IDs, principal metadata, and
|
|
3460
|
+
* assigned Data Fabric roles.
|
|
3461
|
+
*
|
|
3462
|
+
* @param options - Optional offset paging options
|
|
3463
|
+
* @returns Promise resolving to {@link DataFabricDirectoryListResponse}
|
|
3464
|
+
*
|
|
3465
|
+
* @example
|
|
3466
|
+
* ```typescript
|
|
3467
|
+
* import { DataFabricDirectoryService } from '@uipath/uipath-typescript/entities';
|
|
3468
|
+
*
|
|
3469
|
+
* const directory = new DataFabricDirectoryService(sdk);
|
|
3470
|
+
* const page = await directory.list({ skip: 0, top: 50 });
|
|
3471
|
+
* const firstPrincipal = page.results[0];
|
|
3472
|
+
* ```
|
|
3473
|
+
*
|
|
3474
|
+
* @internal
|
|
3475
|
+
*/
|
|
3476
|
+
list(options?: DataFabricDirectoryListOptions): Promise<DataFabricDirectoryListResponse>;
|
|
3477
|
+
/**
|
|
3478
|
+
* Lists all Data Fabric directory principals and their current roles.
|
|
3479
|
+
*
|
|
3480
|
+
* Follows the Data Fabric directory top/skip pagination and returns
|
|
3481
|
+
* normalized entries. Entries without assigned roles include an empty
|
|
3482
|
+
* `roles` array.
|
|
3483
|
+
*
|
|
3484
|
+
* @param options - Optional page-size options
|
|
3485
|
+
* @returns Promise resolving to an array of {@link DataFabricDirectoryEntry}
|
|
3486
|
+
*
|
|
3487
|
+
* @example
|
|
3488
|
+
* ```typescript
|
|
3489
|
+
* import { DataFabricDirectoryService } from '@uipath/uipath-typescript/entities';
|
|
3490
|
+
*
|
|
3491
|
+
* const directory = new DataFabricDirectoryService(sdk);
|
|
3492
|
+
* const principals = await directory.getAll({ pageSize: 100 });
|
|
3493
|
+
* ```
|
|
3494
|
+
*
|
|
3495
|
+
* @internal
|
|
3496
|
+
*/
|
|
3497
|
+
getAll(options?: DataFabricDirectoryGetAllOptions): Promise<DataFabricDirectoryEntry[]>;
|
|
3498
|
+
/**
|
|
3499
|
+
* Assigns Data Fabric roles to one or more principals.
|
|
3500
|
+
*
|
|
3501
|
+
* The Data Fabric API replaces the role set for each principal, so this
|
|
3502
|
+
* method preserves existing roles by default and posts the union of current
|
|
3503
|
+
* and requested role IDs.
|
|
3504
|
+
*
|
|
3505
|
+
* Role IDs can be discovered with `DataFabricRoleService.getAll()`. Set
|
|
3506
|
+
* `preserveExisting: false` only when intentionally replacing a principal's
|
|
3507
|
+
* Data Fabric role set.
|
|
3508
|
+
*
|
|
3509
|
+
* @param principalIds - Principal external ID or IDs
|
|
3510
|
+
* @param principalType - Principal type
|
|
3511
|
+
* @param roleIds - Data Fabric role IDs to assign
|
|
3512
|
+
* @param options - Optional assignment behavior
|
|
3513
|
+
* @returns Promise resolving to an array of {@link DataFabricDirectoryAssignmentResult}
|
|
3514
|
+
*
|
|
3515
|
+
* @example
|
|
3516
|
+
* ```typescript
|
|
3517
|
+
* import { DataFabricDirectoryEntityTypeName, DataFabricDirectoryService, DataFabricRoleService } from '@uipath/uipath-typescript/entities';
|
|
3518
|
+
*
|
|
3519
|
+
* const roles = new DataFabricRoleService(sdk);
|
|
3520
|
+
* const directory = new DataFabricDirectoryService(sdk);
|
|
3521
|
+
*
|
|
3522
|
+
* const dataWriter = (await roles.getAll()).find(role => role.name === 'DataWriter');
|
|
3523
|
+
* if (!dataWriter) {
|
|
3524
|
+
* throw new Error('DataWriter role not found');
|
|
3525
|
+
* }
|
|
3526
|
+
*
|
|
3527
|
+
* await directory.assignRoles('<identity-group-id>', DataFabricDirectoryEntityTypeName.Group, [dataWriter.id]);
|
|
3528
|
+
* ```
|
|
3529
|
+
*
|
|
3530
|
+
* @example
|
|
3531
|
+
* ```typescript
|
|
3532
|
+
* await directory.assignRoles('<identity-user-id>', DataFabricDirectoryEntityTypeName.User, ['<role-id>'], {
|
|
3533
|
+
* preserveExisting: false,
|
|
3534
|
+
* });
|
|
3535
|
+
* ```
|
|
3536
|
+
*
|
|
3537
|
+
* @internal
|
|
3538
|
+
*/
|
|
3539
|
+
assignRoles(principalIds: string | string[], principalType: DataFabricDirectoryEntityTypeInput, roleIds: string[], options?: DataFabricDirectoryAssignOptions): Promise<DataFabricDirectoryAssignmentResult[]>;
|
|
3540
|
+
/**
|
|
3541
|
+
* Revokes all direct Data Fabric roles from one or more principals.
|
|
3542
|
+
*
|
|
3543
|
+
* The Data Fabric API removes all role assignments for each supplied external
|
|
3544
|
+
* ID. Use this when a principal should no longer have direct Data Fabric
|
|
3545
|
+
* access. Inherited access through groups is not changed.
|
|
3546
|
+
*
|
|
3547
|
+
* @param principalIds - Principal external ID or IDs
|
|
3548
|
+
* @returns Promise resolving when the roles are revoked
|
|
3549
|
+
*
|
|
3550
|
+
* @example
|
|
3551
|
+
* ```typescript
|
|
3552
|
+
* import { DataFabricDirectoryService } from '@uipath/uipath-typescript/entities';
|
|
3553
|
+
*
|
|
3554
|
+
* const directory = new DataFabricDirectoryService(sdk);
|
|
3555
|
+
*
|
|
3556
|
+
* await directory.revokeRoles('<identity-user-id>');
|
|
3557
|
+
* ```
|
|
3558
|
+
*
|
|
3559
|
+
* @example
|
|
3560
|
+
* ```typescript
|
|
3561
|
+
* await directory.revokeRoles([
|
|
3562
|
+
* '<identity-user-id>',
|
|
3563
|
+
* '<identity-group-id>',
|
|
3564
|
+
* ]);
|
|
3565
|
+
* ```
|
|
3566
|
+
*
|
|
3567
|
+
* @internal
|
|
3568
|
+
*/
|
|
3569
|
+
revokeRoles(principalIds: string | string[]): Promise<void>;
|
|
3570
|
+
}
|
|
3571
|
+
|
|
3572
|
+
export { ChoiceSetService, ChoiceSetService as ChoiceSets, DataDirectionType, DataFabricDirectoryService, DataFabricRoleService, EntityService as Entities, EntityAggregateFunction, EntityFieldDataType, EntityService, EntityType, FieldDisplayType, JoinType, LogicalOperator, QueryFilterOperator, ReferenceType, createEntityWithMethods };
|
|
3133
3573
|
export type { ChoiceSetCreateOptions, ChoiceSetDeleteByIdOptions, ChoiceSetGetAllOptions, ChoiceSetGetAllResponse, ChoiceSetGetByIdOptions, ChoiceSetGetResponse, ChoiceSetServiceModel, ChoiceSetUpdateOptions, ChoiceSetValueDeleteOptions, ChoiceSetValueInsertOptions, ChoiceSetValueInsertResponse, ChoiceSetValueUpdateOptions, ChoiceSetValueUpdateResponse, EntityAggregate, EntityBatchInsertOptions, EntityBatchInsertResponse, EntityCreateFieldOptions, EntityCreateOptions, EntityDeleteAttachmentOptions, EntityDeleteAttachmentResponse, EntityDeleteByIdOptions, EntityDeleteOptions, EntityDeleteRecordByIdOptions, EntityDeleteRecordsOptions, EntityDeleteResponse, EntityDownloadAttachmentOptions, EntityFieldBase, EntityFieldUpdateOptions, EntityFileType, EntityFolderScopedOptions, EntityGetAllOptions, EntityGetAllRecordsOptions, EntityGetByIdOptions, EntityGetRecordByIdOptions, EntityGetRecordsByIdOptions, EntityGetResponse, EntityImportRecordsByIdOptions, EntityImportRecordsResponse, EntityInsertOptions, EntityInsertRecordOptions, EntityInsertRecordsOptions, EntityInsertResponse, EntityMethods, EntityOperationOptions, EntityOperationResponse, EntityQueryFilter, EntityQueryFilterGroup, EntityQueryRecordsOptions, EntityQueryRecordsResponse, EntityQuerySortOption, EntityRecord, EntityRemoveFieldOptions, EntityServiceModel, EntityUpdateByIdOptions, EntityUpdateOptions, EntityUpdateRecordOptions, EntityUpdateRecordResponse, EntityUpdateRecordsOptions, EntityUpdateResponse, EntityUploadAttachmentOptions, EntityUploadAttachmentResponse, ExternalConnection, ExternalField, ExternalFieldMapping, ExternalObject, ExternalSourceFields, FailureRecord, Field, FieldDataType, FieldMetaData, RawEntityGetResponse, SourceJoinCriteria, SqlType };
|