@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.
Files changed (45) hide show
  1. package/README.md +7 -1
  2. package/dist/assets/index.cjs +107 -6
  3. package/dist/assets/index.d.ts +12 -1
  4. package/dist/assets/index.mjs +107 -6
  5. package/dist/attachments/index.cjs +95 -3
  6. package/dist/attachments/index.mjs +95 -3
  7. package/dist/buckets/index.cjs +111 -6
  8. package/dist/buckets/index.d.ts +12 -1
  9. package/dist/buckets/index.mjs +111 -6
  10. package/dist/cases/index.cjs +434 -266
  11. package/dist/cases/index.d.ts +140 -3
  12. package/dist/cases/index.mjs +434 -266
  13. package/dist/conversational-agent/index.cjs +23 -1
  14. package/dist/conversational-agent/index.d.ts +117 -6
  15. package/dist/conversational-agent/index.mjs +23 -1
  16. package/dist/core/index.cjs +1 -1
  17. package/dist/core/index.mjs +1 -1
  18. package/dist/entities/index.cjs +423 -0
  19. package/dist/entities/index.d.ts +441 -1
  20. package/dist/entities/index.mjs +422 -1
  21. package/dist/index.cjs +974 -293
  22. package/dist/index.d.ts +1150 -43
  23. package/dist/index.mjs +975 -294
  24. package/dist/index.umd.js +974 -293
  25. package/dist/jobs/index.cjs +12 -5
  26. package/dist/jobs/index.d.ts +12 -1
  27. package/dist/jobs/index.mjs +12 -5
  28. package/dist/maestro-processes/index.cjs +344 -243
  29. package/dist/maestro-processes/index.d.ts +189 -5
  30. package/dist/maestro-processes/index.mjs +344 -243
  31. package/dist/notifications/index.cjs +2012 -0
  32. package/dist/notifications/index.d.ts +615 -0
  33. package/dist/notifications/index.mjs +2010 -0
  34. package/dist/processes/index.cjs +93 -9
  35. package/dist/processes/index.d.ts +12 -1
  36. package/dist/processes/index.mjs +93 -9
  37. package/dist/queues/index.cjs +106 -5
  38. package/dist/queues/index.d.ts +12 -1
  39. package/dist/queues/index.mjs +106 -5
  40. package/dist/tasks/index.cjs +100 -4
  41. package/dist/tasks/index.mjs +100 -4
  42. package/dist/traces/index.cjs +218 -4
  43. package/dist/traces/index.d.ts +357 -22
  44. package/dist/traces/index.mjs +219 -5
  45. package/package.json +14 -4
package/dist/index.d.ts CHANGED
@@ -3312,6 +3312,446 @@ declare class ChoiceSetService extends BaseService implements ChoiceSetServiceMo
3312
3312
  private resolveChoiceSetName;
3313
3313
  }
3314
3314
 
3315
+ /**
3316
+ * @internal
3317
+ */
3318
+ declare enum DataFabricRoleType {
3319
+ System = "System",
3320
+ UserDefined = "UserDefined"
3321
+ }
3322
+ /**
3323
+ * @internal
3324
+ */
3325
+ interface DataFabricRole {
3326
+ id: string;
3327
+ name: string;
3328
+ type: DataFabricRoleType;
3329
+ directoryEntityCount?: number | null;
3330
+ folderId?: string;
3331
+ }
3332
+ /**
3333
+ * @internal
3334
+ */
3335
+ interface DataFabricRoleGetAllOptions {
3336
+ /**
3337
+ * Include role statistics in the response.
3338
+ *
3339
+ * Defaults to true to match the Data Fabric UI and CLI role-list flow.
3340
+ */
3341
+ stats?: boolean;
3342
+ /**
3343
+ * Optional folder key for folder-aware Role V2 requests.
3344
+ *
3345
+ * Forwarded on the wire as the `X-UIPATH-FolderKey` header.
3346
+ */
3347
+ folderKey?: string;
3348
+ }
3349
+
3350
+ /**
3351
+ * @internal
3352
+ */
3353
+ interface DataFabricRoleServiceModel {
3354
+ /**
3355
+ * Lists Data Fabric access roles.
3356
+ *
3357
+ * Returns tenant Data Fabric roles such as Admin, Designer, DataWriter, and
3358
+ * DataReader. Role IDs from this method can be passed to
3359
+ * `DataFabricDirectoryService.assignRoles()`.
3360
+ *
3361
+ * @param options - Optional query options
3362
+ * @returns Promise resolving to an array of {@link DataFabricRole}
3363
+ *
3364
+ * @example
3365
+ * ```typescript
3366
+ * import { DataFabricRoleService } from '@uipath/uipath-typescript/entities';
3367
+ *
3368
+ * const roles = new DataFabricRoleService(sdk);
3369
+ * const allRoles = await roles.getAll();
3370
+ * const dataWriter = allRoles.find(role => role.name === 'DataWriter');
3371
+ * ```
3372
+ *
3373
+ * @example
3374
+ * ```typescript
3375
+ * const rolesWithoutStats = await roles.getAll({ stats: false });
3376
+ * ```
3377
+ *
3378
+ * @example
3379
+ * ```typescript
3380
+ * const folderRoles = await roles.getAll({ folderKey: '<folder-key>' });
3381
+ * ```
3382
+ *
3383
+ * @internal
3384
+ */
3385
+ getAll(options?: DataFabricRoleGetAllOptions): Promise<DataFabricRole[]>;
3386
+ }
3387
+
3388
+ /**
3389
+ * @internal
3390
+ */
3391
+ declare class DataFabricRoleService extends BaseService implements DataFabricRoleServiceModel {
3392
+ /**
3393
+ * Lists Data Fabric access roles.
3394
+ *
3395
+ * Returns tenant Data Fabric roles such as Admin, Designer, DataWriter, and
3396
+ * DataReader. Role IDs from this method can be passed to
3397
+ * `DataFabricDirectoryService.assignRoles()`.
3398
+ *
3399
+ * @param options - Optional query options
3400
+ * @returns Promise resolving to an array of {@link DataFabricRole}
3401
+ *
3402
+ * @example
3403
+ * ```typescript
3404
+ * import { DataFabricRoleService } from '@uipath/uipath-typescript/entities';
3405
+ *
3406
+ * const roles = new DataFabricRoleService(sdk);
3407
+ * const allRoles = await roles.getAll();
3408
+ * const dataWriter = allRoles.find(role => role.name === 'DataWriter');
3409
+ * ```
3410
+ *
3411
+ * @example
3412
+ * ```typescript
3413
+ * const rolesWithoutStats = await roles.getAll({ stats: false });
3414
+ * ```
3415
+ *
3416
+ * @example
3417
+ * ```typescript
3418
+ * const folderRoles = await roles.getAll({ folderKey: '<folder-key>' });
3419
+ * ```
3420
+ *
3421
+ * @internal
3422
+ */
3423
+ getAll(options?: DataFabricRoleGetAllOptions): Promise<DataFabricRole[]>;
3424
+ }
3425
+
3426
+ /**
3427
+ * @internal
3428
+ */
3429
+ declare enum DataFabricDirectoryEntityType {
3430
+ /** Identity user, robot user, or directory robot principal. */
3431
+ User = 0,
3432
+ /** Identity group principal. */
3433
+ Group = 1,
3434
+ /** External application principal. */
3435
+ Application = 2
3436
+ }
3437
+ /**
3438
+ * @internal
3439
+ */
3440
+ declare enum DataFabricDirectoryEntityTypeName {
3441
+ User = "User",
3442
+ Group = "Group",
3443
+ Application = "Application"
3444
+ }
3445
+ /**
3446
+ * @internal
3447
+ */
3448
+ type DataFabricDirectoryEntityTypeInput = DataFabricDirectoryEntityType | DataFabricDirectoryEntityTypeName;
3449
+ /**
3450
+ * @internal
3451
+ */
3452
+ interface DataFabricDirectoryRole {
3453
+ id: string;
3454
+ name: string;
3455
+ }
3456
+ /**
3457
+ * @internal
3458
+ */
3459
+ interface DataFabricDirectoryEntry {
3460
+ externalId: string;
3461
+ name: string;
3462
+ email?: string | null;
3463
+ type: DataFabricDirectoryEntityTypeName;
3464
+ roles: DataFabricDirectoryRole[];
3465
+ objectType?: string | null;
3466
+ isUIEnabled: boolean;
3467
+ }
3468
+ /**
3469
+ * @internal
3470
+ */
3471
+ interface DataFabricDirectoryListOptions {
3472
+ skip?: number;
3473
+ top?: number;
3474
+ }
3475
+ /**
3476
+ * @internal
3477
+ */
3478
+ interface DataFabricDirectoryGetAllOptions {
3479
+ pageSize?: number;
3480
+ }
3481
+ /**
3482
+ * @internal
3483
+ */
3484
+ interface DataFabricDirectoryListResponse {
3485
+ totalCount: number;
3486
+ results: DataFabricDirectoryEntry[];
3487
+ }
3488
+ /**
3489
+ * @internal
3490
+ */
3491
+ interface DataFabricDirectoryAssignOptions {
3492
+ /**
3493
+ * Preserve the principal's current Data Fabric roles.
3494
+ *
3495
+ * Defaults to true because the Data Fabric role assignment endpoint replaces
3496
+ * the role set for each principal.
3497
+ */
3498
+ preserveExisting?: boolean;
3499
+ /**
3500
+ * Enables Data Fabric UI access for the assigned principal.
3501
+ *
3502
+ * Defaults to true.
3503
+ */
3504
+ uiEnabled?: boolean;
3505
+ }
3506
+ /**
3507
+ * @internal
3508
+ */
3509
+ interface DataFabricDirectoryAssignmentResult {
3510
+ principalId: string;
3511
+ roleIds: string[];
3512
+ }
3513
+
3514
+ /**
3515
+ * @internal
3516
+ */
3517
+ interface DataFabricDirectoryServiceModel {
3518
+ /**
3519
+ * Lists one page of Data Fabric directory principals and their current roles.
3520
+ *
3521
+ * Returns directory entries with external IDs, principal metadata, and
3522
+ * assigned Data Fabric roles.
3523
+ *
3524
+ * @param options - Optional offset paging options
3525
+ * @returns Promise resolving to {@link DataFabricDirectoryListResponse}
3526
+ *
3527
+ * @example
3528
+ * ```typescript
3529
+ * import { DataFabricDirectoryService } from '@uipath/uipath-typescript/entities';
3530
+ *
3531
+ * const directory = new DataFabricDirectoryService(sdk);
3532
+ * const page = await directory.list({ skip: 0, top: 50 });
3533
+ * const firstPrincipal = page.results[0];
3534
+ * ```
3535
+ *
3536
+ * @internal
3537
+ */
3538
+ list(options?: DataFabricDirectoryListOptions): Promise<DataFabricDirectoryListResponse>;
3539
+ /**
3540
+ * Lists all Data Fabric directory principals and their current roles.
3541
+ *
3542
+ * Follows the Data Fabric directory top/skip pagination and returns
3543
+ * normalized entries. Entries without assigned roles include an empty
3544
+ * `roles` array.
3545
+ *
3546
+ * @param options - Optional page-size options
3547
+ * @returns Promise resolving to an array of {@link DataFabricDirectoryEntry}
3548
+ *
3549
+ * @example
3550
+ * ```typescript
3551
+ * import { DataFabricDirectoryService } from '@uipath/uipath-typescript/entities';
3552
+ *
3553
+ * const directory = new DataFabricDirectoryService(sdk);
3554
+ * const principals = await directory.getAll({ pageSize: 100 });
3555
+ * ```
3556
+ *
3557
+ * @internal
3558
+ */
3559
+ getAll(options?: DataFabricDirectoryGetAllOptions): Promise<DataFabricDirectoryEntry[]>;
3560
+ /**
3561
+ * Assigns Data Fabric roles to one or more principals.
3562
+ *
3563
+ * The Data Fabric API replaces the role set for each principal, so this
3564
+ * method preserves existing roles by default and posts the union of current
3565
+ * and requested role IDs.
3566
+ *
3567
+ * Role IDs can be discovered with `DataFabricRoleService.getAll()`. Set
3568
+ * `preserveExisting: false` only when intentionally replacing a principal's
3569
+ * Data Fabric role set.
3570
+ *
3571
+ * @param principalIds - Principal external ID or IDs
3572
+ * @param principalType - Principal type
3573
+ * @param roleIds - Data Fabric role IDs to assign
3574
+ * @param options - Optional assignment behavior
3575
+ * @returns Promise resolving to an array of {@link DataFabricDirectoryAssignmentResult}
3576
+ *
3577
+ * @example
3578
+ * ```typescript
3579
+ * import { DataFabricDirectoryEntityTypeName, DataFabricDirectoryService, DataFabricRoleService } from '@uipath/uipath-typescript/entities';
3580
+ *
3581
+ * const roles = new DataFabricRoleService(sdk);
3582
+ * const directory = new DataFabricDirectoryService(sdk);
3583
+ *
3584
+ * const dataWriter = (await roles.getAll()).find(role => role.name === 'DataWriter');
3585
+ * if (!dataWriter) {
3586
+ * throw new Error('DataWriter role not found');
3587
+ * }
3588
+ *
3589
+ * await directory.assignRoles('<identity-group-id>', DataFabricDirectoryEntityTypeName.Group, [dataWriter.id]);
3590
+ * ```
3591
+ *
3592
+ * @example
3593
+ * ```typescript
3594
+ * await directory.assignRoles('<identity-user-id>', DataFabricDirectoryEntityTypeName.User, ['<role-id>'], {
3595
+ * preserveExisting: false,
3596
+ * });
3597
+ * ```
3598
+ *
3599
+ * @internal
3600
+ */
3601
+ assignRoles(principalIds: string | string[], principalType: DataFabricDirectoryEntityTypeInput, roleIds: string[], options?: DataFabricDirectoryAssignOptions): Promise<DataFabricDirectoryAssignmentResult[]>;
3602
+ /**
3603
+ * Revokes all direct Data Fabric roles from one or more principals.
3604
+ *
3605
+ * The Data Fabric API removes all role assignments for each supplied external
3606
+ * ID. Use this when a principal should no longer have direct Data Fabric
3607
+ * access. Inherited access through groups is not changed.
3608
+ *
3609
+ * @param principalIds - Principal external ID or IDs
3610
+ * @returns Promise resolving when the roles are revoked
3611
+ *
3612
+ * @example
3613
+ * ```typescript
3614
+ * import { DataFabricDirectoryService } from '@uipath/uipath-typescript/entities';
3615
+ *
3616
+ * const directory = new DataFabricDirectoryService(sdk);
3617
+ *
3618
+ * await directory.revokeRoles('<identity-user-id>');
3619
+ * ```
3620
+ *
3621
+ * @example
3622
+ * ```typescript
3623
+ * await directory.revokeRoles([
3624
+ * '<identity-user-id>',
3625
+ * '<identity-group-id>',
3626
+ * ]);
3627
+ * ```
3628
+ *
3629
+ * @internal
3630
+ */
3631
+ revokeRoles(principalIds: string | string[]): Promise<void>;
3632
+ }
3633
+
3634
+ /**
3635
+ * @internal
3636
+ */
3637
+ declare class DataFabricDirectoryService extends BaseService implements DataFabricDirectoryServiceModel {
3638
+ private fetchAllEntries;
3639
+ /**
3640
+ * Lists one page of Data Fabric directory principals and their current roles.
3641
+ *
3642
+ * Returns directory entries with external IDs, principal metadata, and
3643
+ * assigned Data Fabric roles.
3644
+ *
3645
+ * @param options - Optional offset paging options
3646
+ * @returns Promise resolving to {@link DataFabricDirectoryListResponse}
3647
+ *
3648
+ * @example
3649
+ * ```typescript
3650
+ * import { DataFabricDirectoryService } from '@uipath/uipath-typescript/entities';
3651
+ *
3652
+ * const directory = new DataFabricDirectoryService(sdk);
3653
+ * const page = await directory.list({ skip: 0, top: 50 });
3654
+ * const firstPrincipal = page.results[0];
3655
+ * ```
3656
+ *
3657
+ * @internal
3658
+ */
3659
+ list(options?: DataFabricDirectoryListOptions): Promise<DataFabricDirectoryListResponse>;
3660
+ /**
3661
+ * Lists all Data Fabric directory principals and their current roles.
3662
+ *
3663
+ * Follows the Data Fabric directory top/skip pagination and returns
3664
+ * normalized entries. Entries without assigned roles include an empty
3665
+ * `roles` array.
3666
+ *
3667
+ * @param options - Optional page-size options
3668
+ * @returns Promise resolving to an array of {@link DataFabricDirectoryEntry}
3669
+ *
3670
+ * @example
3671
+ * ```typescript
3672
+ * import { DataFabricDirectoryService } from '@uipath/uipath-typescript/entities';
3673
+ *
3674
+ * const directory = new DataFabricDirectoryService(sdk);
3675
+ * const principals = await directory.getAll({ pageSize: 100 });
3676
+ * ```
3677
+ *
3678
+ * @internal
3679
+ */
3680
+ getAll(options?: DataFabricDirectoryGetAllOptions): Promise<DataFabricDirectoryEntry[]>;
3681
+ /**
3682
+ * Assigns Data Fabric roles to one or more principals.
3683
+ *
3684
+ * The Data Fabric API replaces the role set for each principal, so this
3685
+ * method preserves existing roles by default and posts the union of current
3686
+ * and requested role IDs.
3687
+ *
3688
+ * Role IDs can be discovered with `DataFabricRoleService.getAll()`. Set
3689
+ * `preserveExisting: false` only when intentionally replacing a principal's
3690
+ * Data Fabric role set.
3691
+ *
3692
+ * @param principalIds - Principal external ID or IDs
3693
+ * @param principalType - Principal type
3694
+ * @param roleIds - Data Fabric role IDs to assign
3695
+ * @param options - Optional assignment behavior
3696
+ * @returns Promise resolving to an array of {@link DataFabricDirectoryAssignmentResult}
3697
+ *
3698
+ * @example
3699
+ * ```typescript
3700
+ * import { DataFabricDirectoryEntityTypeName, DataFabricDirectoryService, DataFabricRoleService } from '@uipath/uipath-typescript/entities';
3701
+ *
3702
+ * const roles = new DataFabricRoleService(sdk);
3703
+ * const directory = new DataFabricDirectoryService(sdk);
3704
+ *
3705
+ * const dataWriter = (await roles.getAll()).find(role => role.name === 'DataWriter');
3706
+ * if (!dataWriter) {
3707
+ * throw new Error('DataWriter role not found');
3708
+ * }
3709
+ *
3710
+ * await directory.assignRoles('<identity-group-id>', DataFabricDirectoryEntityTypeName.Group, [dataWriter.id]);
3711
+ * ```
3712
+ *
3713
+ * @example
3714
+ * ```typescript
3715
+ * await directory.assignRoles('<identity-user-id>', DataFabricDirectoryEntityTypeName.User, ['<role-id>'], {
3716
+ * preserveExisting: false,
3717
+ * });
3718
+ * ```
3719
+ *
3720
+ * @internal
3721
+ */
3722
+ assignRoles(principalIds: string | string[], principalType: DataFabricDirectoryEntityTypeInput, roleIds: string[], options?: DataFabricDirectoryAssignOptions): Promise<DataFabricDirectoryAssignmentResult[]>;
3723
+ /**
3724
+ * Revokes all direct Data Fabric roles from one or more principals.
3725
+ *
3726
+ * The Data Fabric API removes all role assignments for each supplied external
3727
+ * ID. Use this when a principal should no longer have direct Data Fabric
3728
+ * access. Inherited access through groups is not changed.
3729
+ *
3730
+ * @param principalIds - Principal external ID or IDs
3731
+ * @returns Promise resolving when the roles are revoked
3732
+ *
3733
+ * @example
3734
+ * ```typescript
3735
+ * import { DataFabricDirectoryService } from '@uipath/uipath-typescript/entities';
3736
+ *
3737
+ * const directory = new DataFabricDirectoryService(sdk);
3738
+ *
3739
+ * await directory.revokeRoles('<identity-user-id>');
3740
+ * ```
3741
+ *
3742
+ * @example
3743
+ * ```typescript
3744
+ * await directory.revokeRoles([
3745
+ * '<identity-user-id>',
3746
+ * '<identity-group-id>',
3747
+ * ]);
3748
+ * ```
3749
+ *
3750
+ * @internal
3751
+ */
3752
+ revokeRoles(principalIds: string | string[]): Promise<void>;
3753
+ }
3754
+
3315
3755
  /**
3316
3756
  * Insights Types
3317
3757
  * Shared types for Maestro insights analytics endpoints
@@ -3387,6 +3827,12 @@ interface TimelineOptions {
3387
3827
  * @default TimeInterval.Day
3388
3828
  */
3389
3829
  groupBy?: TimeInterval;
3830
+ /** Filter by package identifier */
3831
+ packageId?: string;
3832
+ /** Filter by package version */
3833
+ version?: string;
3834
+ /** Filter by one or more process keys. Pass `['<processKey>']` for a single process. */
3835
+ processKeys?: string[];
3390
3836
  }
3391
3837
  /**
3392
3838
  * Final instance statuses returned by the instance status timeline endpoint.
@@ -3414,6 +3860,17 @@ interface InstanceStatusTimelineResponse {
3414
3860
  /** Number of instances with this status in the time bucket */
3415
3861
  count: number;
3416
3862
  }
3863
+ /**
3864
+ * Incident count within a specific time bucket.
3865
+ */
3866
+ interface IncidentTimelineResponse {
3867
+ /** Start of the time bucket in local timezone (ISO 8601, e.g. `"2026-05-04T00:00:00"`) */
3868
+ startTime: string;
3869
+ /** End of the time bucket in local timezone (ISO 8601, e.g. `"2026-05-11T00:00:00"`) */
3870
+ endTime: string;
3871
+ /** Number of incidents that occurred within this time bucket */
3872
+ count: number;
3873
+ }
3417
3874
  /**
3418
3875
  * Response for the top duration Insights endpoint
3419
3876
  */
@@ -3816,7 +4273,7 @@ interface MaestroProcessesServiceModel {
3816
4273
  *
3817
4274
  * @param startTime - Start of the time range to query
3818
4275
  * @param endTime - End of the time range to query
3819
- * @param options - Optional settings for time bucketing granularity
4276
+ * @param options - Optional settings for filtering and time bucket granularity
3820
4277
  * @returns Promise resolving to an array of {@link InstanceStatusTimelineResponse}
3821
4278
  *
3822
4279
  * @example
@@ -3843,11 +4300,62 @@ interface MaestroProcessesServiceModel {
3843
4300
  *
3844
4301
  * @example
3845
4302
  * ```typescript
4303
+ * // Filter to a specific process
4304
+ * const filtered = await maestroProcesses.getInstanceStatusTimeline(startTime, endTime, {
4305
+ * processKeys: ['<processKey>'],
4306
+ * });
4307
+ * ```
4308
+ *
4309
+ * @example
4310
+ * ```typescript
3846
4311
  * // Get all-time data (from Unix epoch to now)
3847
4312
  * const allTime = await maestroProcesses.getInstanceStatusTimeline(new Date(0), new Date());
3848
4313
  * ```
3849
4314
  */
3850
4315
  getInstanceStatusTimeline(startTime: Date, endTime: Date, options?: TimelineOptions): Promise<InstanceStatusTimelineResponse[]>;
4316
+ /**
4317
+ * Get incident counts aggregated by time bucket for maestro processes.
4318
+ *
4319
+ * Returns time-grouped counts of incidents that occurred within each bucket,
4320
+ * useful for rendering incident time-series charts. Use `groupBy` to control
4321
+ * the time bucket size (hour, day, or week) — defaults to day if not provided.
4322
+ *
4323
+ * @param startTime - Start of the time range to query
4324
+ * @param endTime - End of the time range to query
4325
+ * @param options - Optional settings for filtering and time bucket granularity
4326
+ * @returns Promise resolving to an array of {@link IncidentTimelineResponse}
4327
+ *
4328
+ * @example
4329
+ * ```typescript
4330
+ * // Get daily incident counts for the last 7 days
4331
+ * const now = new Date();
4332
+ * const sevenDaysAgo = new Date(Date.now() - 7 * 24 * 60 * 60 * 1000);
4333
+ * const incidents = await maestroProcesses.getIncidentsTimeline(sevenDaysAgo, now);
4334
+ *
4335
+ * for (const incident of incidents) {
4336
+ * console.log(`${incident.startTime} → ${incident.endTime}: ${incident.count} incidents`);
4337
+ * }
4338
+ * ```
4339
+ *
4340
+ * @example
4341
+ * ```typescript
4342
+ * import { TimeInterval } from '@uipath/uipath-typescript/maestro-processes';
4343
+ *
4344
+ * // Get weekly breakdown
4345
+ * const incidents = await maestroProcesses.getIncidentsTimeline(startTime, endTime, {
4346
+ * groupBy: TimeInterval.Week,
4347
+ * });
4348
+ * ```
4349
+ *
4350
+ * @example
4351
+ * ```typescript
4352
+ * // Filter to a specific process
4353
+ * const filtered = await maestroProcesses.getIncidentsTimeline(startTime, endTime, {
4354
+ * processKeys: ['<processKey>'],
4355
+ * });
4356
+ * ```
4357
+ */
4358
+ getIncidentsTimeline(startTime: Date, endTime: Date, options?: TimelineOptions): Promise<IncidentTimelineResponse[]>;
3851
4359
  /**
3852
4360
  * Get the top 5 processes ranked by total duration within a time range.
3853
4361
  *
@@ -3987,6 +4495,24 @@ interface ProcessMethods {
3987
4495
  * @returns Promise resolving to {@link InstanceStats}
3988
4496
  */
3989
4497
  getInstanceStats(startTime: Date, endTime: Date, packageVersion: string): Promise<InstanceStats>;
4498
+ /**
4499
+ * Get instance status counts aggregated by date for this process.
4500
+ *
4501
+ * @param startTime - Start of the time range to query
4502
+ * @param endTime - End of the time range to query
4503
+ * @param options - Optional settings for filtering and time bucket granularity (processKey is auto-captured from this process)
4504
+ * @returns Promise resolving to an array of {@link InstanceStatusTimelineResponse}
4505
+ */
4506
+ getInstanceStatusTimeline(startTime: Date, endTime: Date, options?: Omit<TimelineOptions, 'processKeys'>): Promise<InstanceStatusTimelineResponse[]>;
4507
+ /**
4508
+ * Get incident counts aggregated by time bucket for this process.
4509
+ *
4510
+ * @param startTime - Start of the time range to query
4511
+ * @param endTime - End of the time range to query
4512
+ * @param options - Optional settings for filtering and time bucket granularity (processKey is auto-captured from this process)
4513
+ * @returns Promise resolving to an array of {@link IncidentTimelineResponse}
4514
+ */
4515
+ getIncidentsTimeline(startTime: Date, endTime: Date, options?: Omit<TimelineOptions, 'processKeys'>): Promise<IncidentTimelineResponse[]>;
3990
4516
  }
3991
4517
  type MaestroProcessGetAllResponse = RawMaestroProcessGetAllResponse & ProcessMethods;
3992
4518
  /**
@@ -4250,7 +4776,7 @@ interface ProcessInstancesServiceModel {
4250
4776
  */
4251
4777
  getAll<T extends ProcessInstanceGetAllWithPaginationOptions = ProcessInstanceGetAllWithPaginationOptions>(options?: T): Promise<T extends HasPaginationOptions<T> ? PaginatedResponse<ProcessInstanceGetResponse> : NonPaginatedResponse<ProcessInstanceGetResponse>>;
4252
4778
  /**
4253
- * Get a process instance by ID with operation methods (cancel, pause, resume)
4779
+ * Get a process instance by ID with operation methods (cancel, pause, resume, retry)
4254
4780
  * @param id The ID of the instance to retrieve
4255
4781
  * @param folderKey The folder key for authorization
4256
4782
  * @returns Promise resolving to a process instance
@@ -4369,6 +4895,35 @@ interface ProcessInstancesServiceModel {
4369
4895
  * @returns Promise resolving to operation result with instance data
4370
4896
  */
4371
4897
  resume(instanceId: string, folderKey: string, options?: ProcessInstanceOperationOptions): Promise<OperationResponse<ProcessInstanceOperationResponse>>;
4898
+ /**
4899
+ * Retry a faulted process instance
4900
+ *
4901
+ * Re-runs the failed elements of the instance (and the elements that follow) within the
4902
+ * same instance, spawning new jobs. Use to recover from transient/flaky failures.
4903
+ * @param instanceId The ID of the instance to retry
4904
+ * @param folderKey The folder key for authorization
4905
+ * @param options Optional retry options with comment
4906
+ * @returns Promise resolving to operation result with instance data
4907
+ * @example
4908
+ * ```typescript
4909
+ * // Retry a faulted process instance
4910
+ * const result = await processInstances.retry(
4911
+ * <instanceId>,
4912
+ * <folderKey>
4913
+ * );
4914
+ *
4915
+ * // Or using instance method
4916
+ * const instance = await processInstances.getById(
4917
+ * <instanceId>,
4918
+ * <folderKey>
4919
+ * );
4920
+ * if (instance.latestRunStatus === 'Faulted') {
4921
+ * const result = await instance.retry({ comment: 'Retrying flaky failure' });
4922
+ * console.log(`Retried: ${result.success}`);
4923
+ * }
4924
+ * ```
4925
+ */
4926
+ retry(instanceId: string, folderKey: string, options?: ProcessInstanceOperationOptions): Promise<OperationResponse<ProcessInstanceOperationResponse>>;
4372
4927
  /**
4373
4928
  * Get global variables for a process instance
4374
4929
  *
@@ -4449,6 +5004,13 @@ interface ProcessInstanceMethods {
4449
5004
  * @returns Promise resolving to operation result
4450
5005
  */
4451
5006
  resume(options?: ProcessInstanceOperationOptions): Promise<OperationResponse<ProcessInstanceOperationResponse>>;
5007
+ /**
5008
+ * Retries this faulted process instance
5009
+ *
5010
+ * @param options - Optional retry options with comment
5011
+ * @returns Promise resolving to operation result
5012
+ */
5013
+ retry(options?: ProcessInstanceOperationOptions): Promise<OperationResponse<ProcessInstanceOperationResponse>>;
4452
5014
  /**
4453
5015
  * Gets incidents for this process instance
4454
5016
  *
@@ -4734,28 +5296,77 @@ interface CasesServiceModel {
4734
5296
  * );
4735
5297
  * ```
4736
5298
  */
4737
- getTopElementFailedCount(startTime: Date, endTime: Date, options?: TopQueryOptions): Promise<ElementGetTopFailedCountResponse[]>;
5299
+ getTopElementFailedCount(startTime: Date, endTime: Date, options?: TopQueryOptions): Promise<ElementGetTopFailedCountResponse[]>;
5300
+ /**
5301
+ * Get all instances status counts aggregated by date for case management processes.
5302
+ *
5303
+ * Returns time-grouped counts of case instances grouped by status (Completed, Faulted, Cancelled),
5304
+ * useful for rendering time-series charts. Use `groupBy` to control the time bucket size
5305
+ * (hour, day, or week) — defaults to day if not provided.
5306
+ *
5307
+ * @param startTime - Start of the time range to query
5308
+ * @param endTime - End of the time range to query
5309
+ * @param options - Optional settings for filtering and time bucket granularity
5310
+ * @returns Promise resolving to an array of {@link InstanceStatusTimelineResponse}
5311
+ *
5312
+ * @example
5313
+ * ```typescript
5314
+ * // Get daily instance status for the last 7 days
5315
+ * const now = new Date();
5316
+ * const sevenDaysAgo = new Date(Date.now() - 7 * 24 * 60 * 60 * 1000);
5317
+ * const statuses = await cases.getInstanceStatusTimeline(sevenDaysAgo, now);
5318
+ *
5319
+ * for (const entry of statuses) {
5320
+ * console.log(`${entry.startTime} — ${entry.status}: ${entry.count}`);
5321
+ * }
5322
+ * ```
5323
+ *
5324
+ * @example
5325
+ * ```typescript
5326
+ * import { TimeInterval } from '@uipath/uipath-typescript/cases';
5327
+ *
5328
+ * // Get weekly breakdown
5329
+ * const statuses = await cases.getInstanceStatusTimeline(startTime, endTime, {
5330
+ * groupBy: TimeInterval.Week,
5331
+ * });
5332
+ * ```
5333
+ *
5334
+ * @example
5335
+ * ```typescript
5336
+ * // Filter to a specific case process
5337
+ * const filtered = await cases.getInstanceStatusTimeline(startTime, endTime, {
5338
+ * processKeys: ['<processKey>'],
5339
+ * });
5340
+ * ```
5341
+ *
5342
+ * @example
5343
+ * ```typescript
5344
+ * // Get all-time data (from Unix epoch to now)
5345
+ * const allTime = await cases.getInstanceStatusTimeline(new Date(0), new Date());
5346
+ * ```
5347
+ */
5348
+ getInstanceStatusTimeline(startTime: Date, endTime: Date, options?: TimelineOptions): Promise<InstanceStatusTimelineResponse[]>;
4738
5349
  /**
4739
- * Get all instances status counts aggregated by date for case management processes.
5350
+ * Get incident counts aggregated by time bucket for case management processes.
4740
5351
  *
4741
- * Returns time-grouped counts of case instances grouped by status (Completed, Faulted, Cancelled),
4742
- * useful for rendering time-series charts. Use `groupBy` to control the time bucket size
4743
- * (hour, day, or week) — defaults to day if not provided.
5352
+ * Returns time-grouped counts of incidents that occurred within each bucket,
5353
+ * useful for rendering incident time-series charts. Use `groupBy` to control
5354
+ * the time bucket size (hour, day, or week) — defaults to day if not provided.
4744
5355
  *
4745
5356
  * @param startTime - Start of the time range to query
4746
5357
  * @param endTime - End of the time range to query
4747
- * @param options - Optional settings for time bucketing granularity
4748
- * @returns Promise resolving to an array of {@link InstanceStatusTimelineResponse}
5358
+ * @param options - Optional settings for filtering and time bucket granularity
5359
+ * @returns Promise resolving to an array of {@link IncidentTimelineResponse}
4749
5360
  *
4750
5361
  * @example
4751
5362
  * ```typescript
4752
- * // Get daily instance status for the last 7 days
5363
+ * // Get daily incident counts for the last 7 days
4753
5364
  * const now = new Date();
4754
5365
  * const sevenDaysAgo = new Date(Date.now() - 7 * 24 * 60 * 60 * 1000);
4755
- * const statuses = await cases.getInstanceStatusTimeline(sevenDaysAgo, now);
5366
+ * const incidents = await cases.getIncidentsTimeline(sevenDaysAgo, now);
4756
5367
  *
4757
- * for (const entry of statuses) {
4758
- * console.log(`${entry.startTime} ${entry.status}: ${entry.count}`);
5368
+ * for (const incident of incidents) {
5369
+ * console.log(`${incident.startTime} ${incident.endTime}: ${incident.count} incidents`);
4759
5370
  * }
4760
5371
  * ```
4761
5372
  *
@@ -4764,18 +5375,20 @@ interface CasesServiceModel {
4764
5375
  * import { TimeInterval } from '@uipath/uipath-typescript/cases';
4765
5376
  *
4766
5377
  * // Get weekly breakdown
4767
- * const statuses = await cases.getInstanceStatusTimeline(startTime, endTime, {
5378
+ * const incidents = await cases.getIncidentsTimeline(startTime, endTime, {
4768
5379
  * groupBy: TimeInterval.Week,
4769
5380
  * });
4770
5381
  * ```
4771
5382
  *
4772
5383
  * @example
4773
5384
  * ```typescript
4774
- * // Get all-time data (from Unix epoch to now)
4775
- * const allTime = await cases.getInstanceStatusTimeline(new Date(0), new Date());
5385
+ * // Filter to a specific case process
5386
+ * const filtered = await cases.getIncidentsTimeline(startTime, endTime, {
5387
+ * processKeys: ['<processKey>'],
5388
+ * });
4776
5389
  * ```
4777
5390
  */
4778
- getInstanceStatusTimeline(startTime: Date, endTime: Date, options?: TimelineOptions): Promise<InstanceStatusTimelineResponse[]>;
5391
+ getIncidentsTimeline(startTime: Date, endTime: Date, options?: TimelineOptions): Promise<IncidentTimelineResponse[]>;
4779
5392
  /**
4780
5393
  * Get the top 5 case processes ranked by total duration within a time range.
4781
5394
  *
@@ -4907,6 +5520,24 @@ interface CaseMethods {
4907
5520
  * @returns Promise resolving to {@link InstanceStats}
4908
5521
  */
4909
5522
  getInstanceStats(startTime: Date, endTime: Date, packageVersion: string): Promise<InstanceStats>;
5523
+ /**
5524
+ * Get instance status counts aggregated by date for this case process.
5525
+ *
5526
+ * @param startTime - Start of the time range to query
5527
+ * @param endTime - End of the time range to query
5528
+ * @param options - Optional settings for filtering and time bucket granularity (processKey is auto-captured from this case)
5529
+ * @returns Promise resolving to an array of {@link InstanceStatusTimelineResponse}
5530
+ */
5531
+ getInstanceStatusTimeline(startTime: Date, endTime: Date, options?: Omit<TimelineOptions, 'processKeys'>): Promise<InstanceStatusTimelineResponse[]>;
5532
+ /**
5533
+ * Get incident counts aggregated by time bucket for this case process.
5534
+ *
5535
+ * @param startTime - Start of the time range to query
5536
+ * @param endTime - End of the time range to query
5537
+ * @param options - Optional settings for filtering and time bucket granularity (processKey is auto-captured from this case)
5538
+ * @returns Promise resolving to an array of {@link IncidentTimelineResponse}
5539
+ */
5540
+ getIncidentsTimeline(startTime: Date, endTime: Date, options?: Omit<TimelineOptions, 'processKeys'>): Promise<IncidentTimelineResponse[]>;
4910
5541
  }
4911
5542
  type CaseGetAllWithMethodsResponse = CaseGetAllResponse & CaseMethods;
4912
5543
  /**
@@ -6396,7 +7027,7 @@ declare class MaestroProcessesService extends BaseService implements MaestroProc
6396
7027
  *
6397
7028
  * @param startTime - Start of the time range to query
6398
7029
  * @param endTime - End of the time range to query
6399
- * @param options - Optional settings for time bucketing granularity
7030
+ * @param options - Optional settings for filtering and time bucket granularity
6400
7031
  * @returns Promise resolving to an array of {@link InstanceStatusTimelineResponse}
6401
7032
  *
6402
7033
  * @example
@@ -6423,11 +7054,62 @@ declare class MaestroProcessesService extends BaseService implements MaestroProc
6423
7054
  *
6424
7055
  * @example
6425
7056
  * ```typescript
7057
+ * // Filter to a specific process
7058
+ * const filtered = await maestroProcesses.getInstanceStatusTimeline(startTime, endTime, {
7059
+ * processKeys: ['<processKey>'],
7060
+ * });
7061
+ * ```
7062
+ *
7063
+ * @example
7064
+ * ```typescript
6426
7065
  * // Get all-time data (from Unix epoch to now)
6427
7066
  * const allTime = await maestroProcesses.getInstanceStatusTimeline(new Date(0), new Date());
6428
7067
  * ```
6429
7068
  */
6430
7069
  getInstanceStatusTimeline(startTime: Date, endTime: Date, options?: TimelineOptions): Promise<InstanceStatusTimelineResponse[]>;
7070
+ /**
7071
+ * Get incident counts aggregated by time bucket for maestro processes.
7072
+ *
7073
+ * Returns time-grouped counts of incidents that occurred within each bucket,
7074
+ * useful for rendering incident time-series charts. Use `groupBy` to control
7075
+ * the time bucket size (hour, day, or week) — defaults to day if not provided.
7076
+ *
7077
+ * @param startTime - Start of the time range to query
7078
+ * @param endTime - End of the time range to query
7079
+ * @param options - Optional settings for filtering and time bucket granularity
7080
+ * @returns Promise resolving to an array of {@link IncidentTimelineResponse}
7081
+ *
7082
+ * @example
7083
+ * ```typescript
7084
+ * // Get daily incident counts for the last 7 days
7085
+ * const now = new Date();
7086
+ * const sevenDaysAgo = new Date(Date.now() - 7 * 24 * 60 * 60 * 1000);
7087
+ * const incidents = await maestroProcesses.getIncidentsTimeline(sevenDaysAgo, now);
7088
+ *
7089
+ * for (const incident of incidents) {
7090
+ * console.log(`${incident.startTime} → ${incident.endTime}: ${incident.count} incidents`);
7091
+ * }
7092
+ * ```
7093
+ *
7094
+ * @example
7095
+ * ```typescript
7096
+ * import { TimeInterval } from '@uipath/uipath-typescript/maestro-processes';
7097
+ *
7098
+ * // Get weekly breakdown
7099
+ * const incidents = await maestroProcesses.getIncidentsTimeline(startTime, endTime, {
7100
+ * groupBy: TimeInterval.Week,
7101
+ * });
7102
+ * ```
7103
+ *
7104
+ * @example
7105
+ * ```typescript
7106
+ * // Filter to a specific process
7107
+ * const filtered = await maestroProcesses.getIncidentsTimeline(startTime, endTime, {
7108
+ * processKeys: ['<processKey>'],
7109
+ * });
7110
+ * ```
7111
+ */
7112
+ getIncidentsTimeline(startTime: Date, endTime: Date, options?: TimelineOptions): Promise<IncidentTimelineResponse[]>;
6431
7113
  /**
6432
7114
  * Get the top 10 processes ranked by failure count within a time range.
6433
7115
  *
@@ -6624,7 +7306,7 @@ declare class ProcessInstancesService extends BaseService implements ProcessInst
6624
7306
  */
6625
7307
  getAll<T extends ProcessInstanceGetAllWithPaginationOptions = ProcessInstanceGetAllWithPaginationOptions>(options?: T): Promise<T extends HasPaginationOptions<T> ? PaginatedResponse<ProcessInstanceGetResponse> : NonPaginatedResponse<ProcessInstanceGetResponse>>;
6626
7308
  /**
6627
- * Get a process instance by ID with operation methods (cancel, pause, resume)
7309
+ * Get a process instance by ID with operation methods (cancel, pause, resume, retry)
6628
7310
  * @param id The ID of the instance to retrieve
6629
7311
  * @param folderKey The folder key for authorization
6630
7312
  * @returns Promise<ProcessInstanceGetResponse>
@@ -6685,6 +7367,17 @@ declare class ProcessInstancesService extends BaseService implements ProcessInst
6685
7367
  * @returns Promise resolving to operation result with updated instance data
6686
7368
  */
6687
7369
  resume(instanceId: string, folderKey: string, options?: ProcessInstanceOperationOptions): Promise<OperationResponse<ProcessInstanceOperationResponse>>;
7370
+ /**
7371
+ * Retry a faulted process instance
7372
+ *
7373
+ * Re-runs the failed elements of the instance (and the elements that follow) within
7374
+ * the same instance, spawning new jobs. Use to recover from transient/flaky failures.
7375
+ * @param instanceId The ID of the instance to retry
7376
+ * @param folderKey The folder key for authorization
7377
+ * @param options Optional retry options with comment
7378
+ * @returns Promise resolving to operation result with updated instance data
7379
+ */
7380
+ retry(instanceId: string, folderKey: string, options?: ProcessInstanceOperationOptions): Promise<OperationResponse<ProcessInstanceOperationResponse>>;
6688
7381
  /**
6689
7382
  * Parses BPMN XML to extract variable metadata from uipath:inputOutput elements
6690
7383
  * @private
@@ -6861,7 +7554,7 @@ declare class CasesService extends BaseService implements CasesServiceModel {
6861
7554
  *
6862
7555
  * @param startTime - Start of the time range to query
6863
7556
  * @param endTime - End of the time range to query
6864
- * @param options - Optional settings for time bucketing granularity
7557
+ * @param options - Optional settings for filtering and time bucket granularity
6865
7558
  * @returns Promise resolving to an array of {@link InstanceStatusTimelineResponse}
6866
7559
  *
6867
7560
  * @example
@@ -6888,11 +7581,62 @@ declare class CasesService extends BaseService implements CasesServiceModel {
6888
7581
  *
6889
7582
  * @example
6890
7583
  * ```typescript
7584
+ * // Filter to a specific case process
7585
+ * const filtered = await cases.getInstanceStatusTimeline(startTime, endTime, {
7586
+ * processKeys: ['<processKey>'],
7587
+ * });
7588
+ * ```
7589
+ *
7590
+ * @example
7591
+ * ```typescript
6891
7592
  * // Get all-time data (from Unix epoch to now)
6892
7593
  * const allTime = await cases.getInstanceStatusTimeline(new Date(0), new Date());
6893
7594
  * ```
6894
7595
  */
6895
7596
  getInstanceStatusTimeline(startTime: Date, endTime: Date, options?: TimelineOptions): Promise<InstanceStatusTimelineResponse[]>;
7597
+ /**
7598
+ * Get incident counts aggregated by time bucket for case management processes.
7599
+ *
7600
+ * Returns time-grouped counts of incidents that occurred within each bucket,
7601
+ * useful for rendering incident time-series charts. Use `groupBy` to control
7602
+ * the time bucket size (hour, day, or week) — defaults to day if not provided.
7603
+ *
7604
+ * @param startTime - Start of the time range to query
7605
+ * @param endTime - End of the time range to query
7606
+ * @param options - Optional settings for filtering and time bucket granularity
7607
+ * @returns Promise resolving to an array of {@link IncidentTimelineResponse}
7608
+ *
7609
+ * @example
7610
+ * ```typescript
7611
+ * // Get daily incident counts for the last 7 days
7612
+ * const now = new Date();
7613
+ * const sevenDaysAgo = new Date(Date.now() - 7 * 24 * 60 * 60 * 1000);
7614
+ * const incidents = await cases.getIncidentsTimeline(sevenDaysAgo, now);
7615
+ *
7616
+ * for (const incident of incidents) {
7617
+ * console.log(`${incident.startTime} → ${incident.endTime}: ${incident.count} incidents`);
7618
+ * }
7619
+ * ```
7620
+ *
7621
+ * @example
7622
+ * ```typescript
7623
+ * import { TimeInterval } from '@uipath/uipath-typescript/cases';
7624
+ *
7625
+ * // Get weekly breakdown
7626
+ * const incidents = await cases.getIncidentsTimeline(startTime, endTime, {
7627
+ * groupBy: TimeInterval.Week,
7628
+ * });
7629
+ * ```
7630
+ *
7631
+ * @example
7632
+ * ```typescript
7633
+ * // Filter to a specific case process
7634
+ * const filtered = await cases.getIncidentsTimeline(startTime, endTime, {
7635
+ * processKeys: ['<processKey>'],
7636
+ * });
7637
+ * ```
7638
+ */
7639
+ getIncidentsTimeline(startTime: Date, endTime: Date, options?: TimelineOptions): Promise<IncidentTimelineResponse[]>;
6896
7640
  /**
6897
7641
  * Get the top 10 case processes ranked by failure count within a time range.
6898
7642
  *
@@ -7299,6 +8043,14 @@ declare class CaseInstancesService extends BaseService implements CaseInstancesS
7299
8043
  getStagesSlaSummary(options?: CaseInstanceStageSLAOptions): Promise<CaseInstanceStageSLAResponse[]>;
7300
8044
  }
7301
8045
 
8046
+ /**
8047
+ * Type for field mapping configuration
8048
+ * Maps source field names to target field names
8049
+ */
8050
+ type FieldMapping = {
8051
+ [sourceField: string]: string;
8052
+ };
8053
+
7302
8054
  /**
7303
8055
  * Base service for services that need folder-specific functionality.
7304
8056
  *
@@ -7340,9 +8092,12 @@ declare class FolderScopedService extends BaseService {
7340
8092
  * @param name - Resource name to search for
7341
8093
  * @param options - Folder scoping (`folderId` / `folderKey` / `folderPath`) + OData query options (`expand`, `select`)
7342
8094
  * @param transform - Maps a raw OData item to the typed response (e.g. PascalCase → camelCase via field map)
8095
+ * @param responseFieldMap - Optional response field map (API → SDK), reversed internally by
8096
+ * `transformOptions` to rewrite SDK field names back to API names in user-supplied
8097
+ * `expand` / `select` (symmetric counterpart to `transform`)
7343
8098
  * @throws ValidationError when inputs are malformed; NotFoundError when no match
7344
8099
  */
7345
- protected getByNameLookup<TRaw extends object, T>(resourceType: string, endpoint: string, name: string, options: FolderScopedOptions, transform: (raw: TRaw) => T): Promise<T>;
8100
+ protected getByNameLookup<TRaw extends object, T>(resourceType: string, endpoint: string, name: string, options: FolderScopedOptions, transform: (raw: TRaw) => T, responseFieldMap?: FieldMapping): Promise<T>;
7346
8101
  }
7347
8102
 
7348
8103
  /**
@@ -10218,6 +10973,18 @@ declare class UiPath extends UiPath$1 {
10218
10973
  * Access to ChoiceSet service for managing choice sets
10219
10974
  */
10220
10975
  choicesets: ChoiceSetService;
10976
+ /**
10977
+ * Access to Data Fabric roles for manage-access flows
10978
+ *
10979
+ * @internal
10980
+ */
10981
+ roles: DataFabricRoleService;
10982
+ /**
10983
+ * Access to Data Fabric directory principals and role assignments
10984
+ *
10985
+ * @internal
10986
+ */
10987
+ directory: DataFabricDirectoryService;
10221
10988
  };
10222
10989
  /**
10223
10990
  * Access to Tasks service
@@ -11348,6 +12115,16 @@ interface SessionEndingEvent {
11348
12115
  */
11349
12116
  timeToLiveMS: number;
11350
12117
  }
12118
+ /**
12119
+ * A client-side tool that the client supports, declared during exchange start
12120
+ * so the server knows which tools to route client-side.
12121
+ * @internal
12122
+ */
12123
+ interface ClientSideTool {
12124
+ name: string;
12125
+ inputSchema?: JSONValue;
12126
+ outputSchema?: JSONValue;
12127
+ }
11351
12128
  /**
11352
12129
  * Signals the start of an exchange of messages within a conversation.
11353
12130
  */
@@ -11364,6 +12141,12 @@ interface ExchangeStartEvent {
11364
12141
  * The time the exchange started.
11365
12142
  */
11366
12143
  timestamp?: string;
12144
+ /**
12145
+ * Optional list of client-side tools the client supports. The server validates these against the agent's
12146
+ * design-time definitions and forwards them to the runtime so it knows which tools to route client-side.
12147
+ * @internal
12148
+ */
12149
+ clientSideTools?: ClientSideTool[];
11367
12150
  }
11368
12151
  /**
11369
12152
  * Signals the end of an exchange of messages within a conversation.
@@ -11617,6 +12400,16 @@ interface ToolCallStartEvent {
11617
12400
  * `requireConfirmation` is true so the client can render an editable form.
11618
12401
  */
11619
12402
  inputSchema?: JSONValue;
12403
+ /**
12404
+ * Output schema — used by the client to render the result form for client-side tools.
12405
+ * @internal
12406
+ */
12407
+ outputSchema?: JSONValue;
12408
+ /**
12409
+ * Indicates this tool call should be executed client-side rather than server-side.
12410
+ * @internal
12411
+ */
12412
+ isClientSideTool?: boolean;
11620
12413
  }
11621
12414
  /**
11622
12415
  * Sent by the client to approve or reject a tool call that was emitted with
@@ -11659,6 +12452,20 @@ interface ToolCallEndEvent {
11659
12452
  */
11660
12453
  metaData?: MetaData;
11661
12454
  }
12455
+ /**
12456
+ * Signals to the client that the tool is about to be executed. Emitted in all scenarios
12457
+ * (server-side and client-side tools). For client-side tools, the client should begin
12458
+ * executing its registered handler upon receiving this event.
12459
+ * @internal
12460
+ */
12461
+ interface ExecutingToolCallEvent {
12462
+ /**
12463
+ * The time the tool call began executing.
12464
+ */
12465
+ timestamp?: string;
12466
+ /** The final tool input, reflecting any modifications made during tool-call confirmation. */
12467
+ input?: ToolCallInputValue;
12468
+ }
11662
12469
  /**
11663
12470
  * Allows additional events to be sent in the context of the enclosing event stream.
11664
12471
  */
@@ -11699,6 +12506,12 @@ interface ToolCallEvent {
11699
12506
  * emitted with `requireConfirmation: true`.
11700
12507
  */
11701
12508
  confirmToolCall?: ToolCallConfirmationEvent;
12509
+ /**
12510
+ * Signals that the tool is about to be executed. For client-side tools,
12511
+ * the client should begin executing its handler upon receiving this event.
12512
+ * @internal
12513
+ */
12514
+ executingToolCall?: ExecutingToolCallEvent;
11702
12515
  /**
11703
12516
  * Allows additional events to be sent in the context of the enclosing event stream.
11704
12517
  */
@@ -12377,6 +13190,19 @@ type CompletedToolCall = ToolCallStartEvent & ToolCallEndEvent & {
12377
13190
  * }
12378
13191
  * });
12379
13192
  * ```
13193
+ *
13194
+ * @example Handling client-side tool execution
13195
+ * ```typescript
13196
+ * message.onToolCallStart((toolCall) => {
13197
+ * const { isClientSideTool, toolName } = toolCall.startEvent;
13198
+ * if (!isClientSideTool) return;
13199
+ *
13200
+ * toolCall.onExecutingToolCall(async (event) => {
13201
+ * const result = await runLocalProcess(toolName, event.input);
13202
+ * toolCall.sendToolCallEnd({ output: result });
13203
+ * });
13204
+ * });
13205
+ * ```
12380
13206
  */
12381
13207
  interface ToolCallStream {
12382
13208
  /** Unique identifier for this tool call */
@@ -12448,6 +13274,24 @@ interface ToolCallStream {
12448
13274
  * ```
12449
13275
  */
12450
13276
  onToolCallConfirm(callback: (confirmToolCall: ToolCallConfirmationEvent) => void): () => void;
13277
+ /**
13278
+ * Registers a handler for executingToolCall events. Fired when the tool is about
13279
+ * to be executed. For client-side tools, the client should begin executing its
13280
+ * handler upon receiving this event.
13281
+ *
13282
+ * @param cb - Callback receiving the executing event
13283
+ * @returns Cleanup function to remove the handler
13284
+ *
13285
+ * @example Handling client-side tool execution
13286
+ * ```typescript
13287
+ * toolCall.onExecutingToolCall(async (event) => {
13288
+ * const result = await executeLocally(toolCall.startEvent.toolName, event.input);
13289
+ * toolCall.sendToolCallEnd({ output: result });
13290
+ * });
13291
+ * ```
13292
+ * @internal
13293
+ */
13294
+ onExecutingToolCall(cb: (event: ExecutingToolCallEvent) => void): () => void;
12451
13295
  /**
12452
13296
  * Ends the tool call
12453
13297
  *
@@ -13479,12 +14323,23 @@ interface ExchangeStream {
13479
14323
  */
13480
14324
  getMessage(messageId: string): MessageStream | undefined;
13481
14325
  /**
13482
- * Ends the exchange
14326
+ * Ends the exchange. Stops further events for that exchange from being received.
14327
+ * Use this to stop an in-progress agent response from the client side.
13483
14328
  *
13484
14329
  * @param endExchange - Optional end event data
13485
14330
  *
13486
- * @example Manually ending an exchange
14331
+ * @example Manually ending an exchange and stopping a response mid-stream
14332
+ * ```typescript
14333
+ * session.onExchangeStart((exchange) => {
14334
+ * stopButton.addEventListener('click', () => exchange.sendExchangeEnd());
14335
+ * });
14336
+ * ```
14337
+ *
14338
+ * @example End an exchange after sending a message
13487
14339
  * ```typescript
14340
+ * const exchange = session.startExchange();
14341
+ * exchange.sendMessageWithContentPart({ data: 'Hello!' });
14342
+ * // Later, stop the response
13488
14343
  * exchange.sendExchangeEnd();
13489
14344
  * ```
13490
14345
  */
@@ -15291,6 +16146,7 @@ type FeatureFlags = Record<string, unknown>;
15291
16146
  * S -->|onExchangeStart| E["ExchangeStream"]
15292
16147
  * S -->|onSessionEnd| SE(["session closed"])
15293
16148
  * E -->|onMessageStart| M["MessageStream"]
16149
+ * E -->|sendExchangeEnd| STOP(["stop response"])
15294
16150
  * E -->|onExchangeEnd| EE(["exchange complete"])
15295
16151
  * M -->|onContentPartStart| CP["ContentPartStream"]
15296
16152
  * M -->|onToolCallStart| TC["ToolCallStream"]
@@ -15334,10 +16190,20 @@ type FeatureFlags = Record<string, unknown>;
15334
16190
  * exchange.sendMessageWithContentPart({ data: 'Hello!' });
15335
16191
  * });
15336
16192
  *
15337
- * // 5. End session when done
16193
+ * // 5. Stop a response mid-stream
16194
+ * // Use sendExchangeEnd() on any active exchange to stop the agent
16195
+ * session.onSessionStarted(() => {
16196
+ * const exchange = session.startExchange();
16197
+ * exchange.sendMessageWithContentPart({ data: 'Tell me a long story' });
16198
+ *
16199
+ * // Stop after 5 seconds
16200
+ * setTimeout(() => exchange.sendExchangeEnd(), 5000);
16201
+ * });
16202
+ *
16203
+ * // 6. End session when done
15338
16204
  * conversation.endSession();
15339
16205
  *
15340
- * // 6. Retrieve conversation history (offline)
16206
+ * // 7. Retrieve conversation history (offline)
15341
16207
  * const exchanges = await conversation.exchanges.getAll();
15342
16208
  * ```
15343
16209
  */
@@ -18376,33 +19242,33 @@ interface AgentSpanGetResponse {
18376
19242
  status: string;
18377
19243
  /** Organization ID (GUID). */
18378
19244
  organizationId: string;
18379
- /** Tenant ID (GUID). May be `null`. */
19245
+ /** Tenant ID (GUID). */
18380
19246
  tenantId: string | null;
18381
- /** Span retention expiry time. May be `null`. */
19247
+ /** Span retention expiry time. */
18382
19248
  expiredTime: string | null;
18383
- /** Folder key (GUID) the span was recorded in. May be `null`. */
19249
+ /** Folder key (GUID) the span was recorded in. */
18384
19250
  folderKey: string | null;
18385
- /** Span source. May be `null`. */
19251
+ /** Span source. */
18386
19252
  source: string | null;
18387
- /** Span type. May be `null`. */
19253
+ /** Span type. */
18388
19254
  spanType: string | null;
18389
- /** Process key (GUID). May be `null`. */
19255
+ /** Process key (GUID). */
18390
19256
  processKey: string | null;
18391
- /** Job key (GUID). May be `null`. */
19257
+ /** Job key (GUID). */
18392
19258
  jobKey: string | null;
18393
- /** Reference ID (GUID). May be `null`. */
19259
+ /** Reference ID (GUID). */
18394
19260
  referenceId: string | null;
18395
- /** Verbosity level. May be `null`. */
19261
+ /** Verbosity level. */
18396
19262
  verbosityLevel: string | null;
18397
19263
  /** Record last-updated time. */
18398
19264
  updatedAt: string;
18399
19265
  /** Whether the span payload is stored as a large payload. */
18400
19266
  isLargePayload: boolean;
18401
- /** Payload compression type. May be `null`. */
19267
+ /** Payload compression type. */
18402
19268
  compressionType: string | null;
18403
- /** Agent version that produced the span. May be `null`. */
19269
+ /** Agent version that produced the span. */
18404
19270
  agentVersion: string | null;
18405
- /** Raw span context as a JSON string. May be `null`. */
19271
+ /** Raw span context as a JSON string. */
18406
19272
  context: string | null;
18407
19273
  }
18408
19274
  /**
@@ -18424,6 +19290,153 @@ type AgentTraceGetSpansByReferenceOptions = PaginationOptions & {
18424
19290
  /** Execution type filter */
18425
19291
  executionType?: SpanExecutionType;
18426
19292
  };
19293
+ /**
19294
+ * Evaluation mode of a governance decision.
19295
+ */
19296
+ declare enum AgentGovernanceMode {
19297
+ /** Policy evaluated and logged, but not enforced. */
19298
+ Audit = "AUDIT",
19299
+ /** Policy evaluated and enforced. */
19300
+ Enforce = "ENFORCE",
19301
+ /** Unrecognized or missing mode. */
19302
+ Unknown = "Unknown"
19303
+ }
19304
+ /**
19305
+ * Verdict of a governance decision (`Deny` = violation).
19306
+ */
19307
+ declare enum AgentGovernanceVerdict {
19308
+ /** Allowed — not a violation. */
19309
+ Allow = "ALLOW",
19310
+ /** Denied — counts as a violation. */
19311
+ Deny = "DENY",
19312
+ /** Unrecognized or missing verdict. */
19313
+ Unknown = "Unknown"
19314
+ }
19315
+ /**
19316
+ * A single governance decision — one policy's allow/deny result for an agent run.
19317
+ */
19318
+ interface AgentGovernanceDecisionGetResponse {
19319
+ /** Tenant ID (GUID). */
19320
+ tenantId: string | null;
19321
+ /** Decision window start time — ISO 8601, UTC. */
19322
+ startTime: string;
19323
+ /** Decision window end time — ISO 8601, UTC. */
19324
+ endTime: string | null;
19325
+ /** Trace ID (GUID). */
19326
+ traceId: string | null;
19327
+ /** Job key (GUID). */
19328
+ jobKey: string | null;
19329
+ /** Folder key (GUID). */
19330
+ folderKey: string | null;
19331
+ /** Runtime the evaluator ran in (context, not a filter). */
19332
+ source: string | null;
19333
+ /** Policy ID. */
19334
+ policyId: string | null;
19335
+ /** Policy display name. */
19336
+ policyName: string | null;
19337
+ /** Governance pack name. */
19338
+ packName: string | null;
19339
+ /** Governance hook (e.g. `BEFORE_MODEL`). */
19340
+ hook: string | null;
19341
+ /** Evaluation mode, normalized to {@link AgentGovernanceMode} ({@link AgentGovernanceMode.Unknown} when missing/unrecognized). */
19342
+ mode: AgentGovernanceMode;
19343
+ /** Enforcement action applied. `null` in audit mode (no action enforced). */
19344
+ actionApplied: string | null;
19345
+ /** Verdict, normalized to {@link AgentGovernanceVerdict} (`Deny` = violation). */
19346
+ evaluatorResult: AgentGovernanceVerdict;
19347
+ /** Human-readable reason. */
19348
+ reason: string | null;
19349
+ /** Resolved agent ID (GUID). */
19350
+ agentId: string | null;
19351
+ /** Agent display name. */
19352
+ agentName: string | null;
19353
+ }
19354
+ /**
19355
+ * Options for the governance decisions query — optional filters plus pagination.
19356
+ */
19357
+ type AgentGovernanceDecisionsOptions = PaginationOptions & {
19358
+ /** Inclusive upper bound for the query window. Defaults to now when omitted. */
19359
+ endTime?: Date;
19360
+ /** Filter on the governance hook. */
19361
+ hook?: string;
19362
+ /** Filter on the verdict. */
19363
+ evaluatorResult?: AgentGovernanceVerdict;
19364
+ /** Filter on a single policy ID. */
19365
+ policyId?: string;
19366
+ /** Filter on a single agent by its project key. */
19367
+ agentId?: string;
19368
+ /** When `true`, restrict to violations (deny verdicts). */
19369
+ violationsOnly?: boolean;
19370
+ };
19371
+ /**
19372
+ * One breakdown entry in the governance summary — counts for a single key.
19373
+ */
19374
+ interface AgentGovernanceCountItem {
19375
+ /** The value this row groups by — the distinct hook, agent id, policy id, or pack name for this breakdown. */
19376
+ key: string | null;
19377
+ /** Display name (populated for the policy and agent breakdowns). */
19378
+ name: string | null;
19379
+ /** Number of decisions for this key. */
19380
+ count: number;
19381
+ /** Number of violations (deny verdicts) for this key. */
19382
+ violationCount: number;
19383
+ }
19384
+ /**
19385
+ * Sections the governance summary can compute. `action` and `mode` are opt-in.
19386
+ */
19387
+ declare enum AgentGovernanceSection {
19388
+ /** Scalar totals (`total`, `violations`). */
19389
+ Totals = "totals",
19390
+ /** Breakdown by governance hook. */
19391
+ Hook = "hook",
19392
+ /** Breakdown by agent. */
19393
+ Agent = "agent",
19394
+ /** Breakdown by policy. */
19395
+ Policy = "policy",
19396
+ /** Breakdown by governance pack. */
19397
+ Pack = "pack",
19398
+ /** Breakdown by enforcement action (opt-in). */
19399
+ Action = "action",
19400
+ /** Breakdown by evaluation mode (opt-in). */
19401
+ Mode = "mode"
19402
+ }
19403
+ /**
19404
+ * Aggregated governance posture over the requested window.
19405
+ */
19406
+ interface AgentGovernanceGetSummaryResponse {
19407
+ /** Total decisions in the window. */
19408
+ total: number;
19409
+ /** Total violations (deny verdicts). */
19410
+ violations: number;
19411
+ /** Breakdown by governance hook. */
19412
+ byHook: AgentGovernanceCountItem[];
19413
+ /** Breakdown by agent. */
19414
+ byAgent: AgentGovernanceCountItem[];
19415
+ /** Breakdown by policy. */
19416
+ byPolicy: AgentGovernanceCountItem[];
19417
+ /** Breakdown by governance pack. */
19418
+ byPack: AgentGovernanceCountItem[];
19419
+ /** Breakdown by enforcement action. Empty unless `action` is requested in `sections`. */
19420
+ byAction: AgentGovernanceCountItem[];
19421
+ /** Breakdown by evaluation mode. Empty unless `mode` is requested in `sections`. */
19422
+ byMode: AgentGovernanceCountItem[];
19423
+ }
19424
+ /**
19425
+ * Options for the governance summary.
19426
+ */
19427
+ interface AgentGovernanceSummaryOptions {
19428
+ /** Inclusive upper bound for the query window. Defaults to now when omitted. */
19429
+ endTime?: Date;
19430
+ /** Top-N size for each breakdown. */
19431
+ topN?: number;
19432
+ /** Restrict totals and breakdowns to a single governance pack. */
19433
+ packName?: string;
19434
+ /**
19435
+ * Which sections to compute. Omit for the default set
19436
+ * (`totals`, `hook`, `agent`, `policy`, `pack`); `action` and `mode` are opt-in.
19437
+ */
19438
+ sections?: AgentGovernanceSection[];
19439
+ }
18427
19440
 
18428
19441
  /**
18429
19442
  * Service for retrieving UiPath Agent trace metrics.
@@ -18546,10 +19559,6 @@ interface AgentTracesServiceModel {
18546
19559
  /**
18547
19560
  * Retrieves spans whose reference hierarchy contains the given reference id.
18548
19561
  *
18549
- * Returns a {@link PaginatedResponse} when pagination options (`pageSize`,
18550
- * `cursor`, or `jumpToPage`) are provided, otherwise a
18551
- * {@link NonPaginatedResponse}.
18552
- *
18553
19562
  * @param referenceId - Reference id matched against each span's reference hierarchy
18554
19563
  * @param options - Optional pagination and hierarchy/time filters
18555
19564
  * @returns Promise resolving to a paginated or non-paginated list of {@link AgentSpanGetResponse}
@@ -18582,6 +19591,104 @@ interface AgentTracesServiceModel {
18582
19591
  * ```
18583
19592
  */
18584
19593
  getSpansByReference<T extends AgentTraceGetSpansByReferenceOptions = AgentTraceGetSpansByReferenceOptions>(referenceId: string, options?: T): Promise<T extends HasPaginationOptions<T> ? PaginatedResponse<AgentSpanGetResponse> : NonPaginatedResponse<AgentSpanGetResponse>>;
19594
+ /**
19595
+ * Lists individual governance decisions from agent execution traces — each
19596
+ * policy check's allow/deny outcome with its agent, policy, pack, hook, and
19597
+ * mode, plus the trace it belongs to — over the requested window. Filterable
19598
+ * and paginated.
19599
+ *
19600
+ * @remarks Requires the caller to be an organization admin. Non-admin callers get a `403` and the SDK throws an {@link AuthorizationError}.
19601
+ *
19602
+ * @param startTime - Inclusive lower bound for the query window
19603
+ * @param options - Optional window end, filters, and pagination
19604
+ * @returns Promise resolving to a paginated or non-paginated list of {@link AgentGovernanceDecisionGetResponse}
19605
+ * @example
19606
+ * ```typescript
19607
+ * import { AgentTraces } from '@uipath/uipath-typescript/traces';
19608
+ *
19609
+ * const trace = new AgentTraces(sdk);
19610
+ *
19611
+ * // Decision rows since a start time
19612
+ * const result = await trace.getGovernanceDecisions(new Date('2025-05-01T00:00:00Z'));
19613
+ * result.items.forEach((row) => {
19614
+ * console.log(`${row.hook} ${row.policyId}: ${row.evaluatorResult}`);
19615
+ * });
19616
+ * ```
19617
+ * @example
19618
+ * ```typescript
19619
+ * // Violations only, for one agent, paginated
19620
+ * const page = await trace.getGovernanceDecisions(new Date('2025-05-01T00:00:00Z'), {
19621
+ * endTime: new Date('2025-06-01T00:00:00Z'),
19622
+ * violationsOnly: true,
19623
+ * agentId: '<agentProjectKey>',
19624
+ * pageSize: 25,
19625
+ * });
19626
+ * if (page.hasNextPage && page.nextCursor) {
19627
+ * const next = await trace.getGovernanceDecisions(new Date('2025-05-01T00:00:00Z'), { cursor: page.nextCursor });
19628
+ * }
19629
+ * ```
19630
+ * @example
19631
+ * ```typescript
19632
+ * import { isAuthorizationError } from '@uipath/uipath-typescript/core';
19633
+ *
19634
+ * // Non-admin callers get a 403
19635
+ * try {
19636
+ * await trace.getGovernanceDecisions(new Date('2025-05-01T00:00:00Z'));
19637
+ * } catch (error) {
19638
+ * if (isAuthorizationError(error)) {
19639
+ * console.error('Governance data requires an organization admin.');
19640
+ * }
19641
+ * }
19642
+ * ```
19643
+ */
19644
+ getGovernanceDecisions<T extends AgentGovernanceDecisionsOptions = AgentGovernanceDecisionsOptions>(startTime: Date, options?: T): Promise<T extends HasPaginationOptions<T> ? PaginatedResponse<AgentGovernanceDecisionGetResponse> : NonPaginatedResponse<AgentGovernanceDecisionGetResponse>>;
19645
+ /**
19646
+ * Summarizes governance decisions across agent execution traces — total
19647
+ * decisions and violations, plus top breakdowns by hook, agent, policy, and
19648
+ * pack — over the requested window. Filterable.
19649
+ *
19650
+ * @remarks Requires the caller to be an organization admin. Non-admin callers get a `403` and the SDK throws an {@link AuthorizationError}.
19651
+ *
19652
+ * @param startTime - Inclusive lower bound for the query window
19653
+ * @param options - Optional window end, top-N, pack scope, and sections
19654
+ * @returns Promise resolving to {@link AgentGovernanceGetSummaryResponse}
19655
+ * @example
19656
+ * ```typescript
19657
+ * import { AgentTraces } from '@uipath/uipath-typescript/traces';
19658
+ *
19659
+ * const trace = new AgentTraces(sdk);
19660
+ *
19661
+ * // Default posture since a start time
19662
+ * const summary = await trace.getGovernanceSummary(new Date('2025-05-01T00:00:00Z'));
19663
+ * console.log(`${summary.violations} / ${summary.total} violations`);
19664
+ * summary.byPolicy.forEach((p) => console.log(`${p.key}: ${p.violationCount}`));
19665
+ * ```
19666
+ * @example
19667
+ * ```typescript
19668
+ * import { AgentGovernanceSection } from '@uipath/uipath-typescript/traces';
19669
+ *
19670
+ * // Top 5 per breakdown, scoped to a pack, including the opt-in action/mode sections
19671
+ * const summary = await trace.getGovernanceSummary(new Date('2025-05-01T00:00:00Z'), {
19672
+ * topN: 5,
19673
+ * packName: 'ISO/IEC 42001:2023 Runtime',
19674
+ * sections: [AgentGovernanceSection.Action, AgentGovernanceSection.Mode],
19675
+ * });
19676
+ * ```
19677
+ * @example
19678
+ * ```typescript
19679
+ * import { isAuthorizationError } from '@uipath/uipath-typescript/core';
19680
+ *
19681
+ * // Non-admin callers get a 403
19682
+ * try {
19683
+ * await trace.getGovernanceSummary(new Date('2025-05-01T00:00:00Z'));
19684
+ * } catch (error) {
19685
+ * if (isAuthorizationError(error)) {
19686
+ * console.error('Governance data requires an organization admin.');
19687
+ * }
19688
+ * }
19689
+ * ```
19690
+ */
19691
+ getGovernanceSummary(startTime: Date, options?: AgentGovernanceSummaryOptions): Promise<AgentGovernanceGetSummaryResponse>;
18585
19692
  }
18586
19693
 
18587
19694
  /**
@@ -18857,5 +19964,5 @@ declare const telemetryClient: {
18857
19964
  setUserId(userId: string): void;
18858
19965
  };
18859
19966
 
18860
- export { AgentErrorSortColumn, AgentExecutionType, AgentListSortColumn, AgentMap, AgentMemoryExecutionType, SpanExecutionType as AgentTraceExecutionType, AgentType, AssetValueScope, AssetValueType, AuthenticationError, AuthorizationError, BucketOptions, CitationErrorType, ConversationGetAllFilterMap, ConversationMap, DEFAULT_ITEMS_FIELD, DEFAULT_PAGE_SIZE, DEFAULT_TOTAL_COUNT_FIELD, DataDirectionType, DebugMode, index as DuFramework, EntityAggregateFunction, EntityFieldDataType, EntityType, ErrorType, EscalationActionType, EscalationRecipientScope, EscalationTriggerType, ExchangeMap, FeedbackRating, FeedbackStatus, FieldDisplayType, HttpStatus, InputStreamSpeechSensitivity, InstanceFinalStatus, InstanceStatus, InterruptType, JobPriority, JobSourceType, JobState, JobSubState, JobType, JoinType, LogicalOperator$1 as LogicalOperator, MAX_PAGE_SIZE, MessageMap, MessageRole, NetworkError, NotFoundError, PackageSourceType, PackageType, PolicyEvaluationResult, ProcessIncidentSeverity, ProcessIncidentStatus, ProcessIncidentType, QueryFilterOperator, RateLimitError, ReferenceType, RemoteControlAccess, RobotSize, RuntimeType, SLADurationUnit, ServerError, ServerlessJobType, SlaSummaryStatus, SortOrder, SpanAttachmentDirection, SpanAttachmentProvider, SpanExecutionType, SpanPermissionStatus, SpanSource, SpanStatus, SpanVerbosityLevel, StageTaskType, StartStrategy, StopStrategy, TargetFramework, TaskActivityType, TaskAssignmentCriteria, TaskPriority, TaskSlaCriteria, TaskSlaStatus, TaskSourceName, TaskStatus, TaskType, TaskUserType, TimeInterval, UiPath, UiPathError, UiPathMetaTags, UserSettingsMap, ValidationError, createAgentWithMethods, createCaseInstanceWithMethods, createCaseWithMethods, createConversationWithMethods, createEntityWithMethods, createJobWithMethods, createProcessInstanceWithMethods, createProcessWithMethods, createTaskWithMethods, getAppBase, getAsset, getErrorDetails, getLimitedPageSize, isAuthenticationError, isAuthorizationError, isNetworkError, isNotFoundError, isRateLimitError, isServerError, isUiPathError, isValidationError, loadFromMetaTags, telemetryClient, track, trackEvent };
18861
- export type { AgentAppearance, AgentConsumption, AgentConversationServiceModel, AgentCreateConversationOptions, AgentError, AgentErrorOrderBy, AgentFilterOptions, AgentGetAllOptions, AgentGetByIdResponse, AgentGetConsumptionTimelineOptions, AgentGetConsumptionTimelineResponse, AgentGetErrorsOptions, AgentGetErrorsTimelineOptions, AgentGetErrorsTimelineResponse, AgentGetIncidentDistributionOptions, AgentGetIncidentDistributionResponse, AgentGetLatencyTimelineOptions, AgentGetLatencyTimelineResponse, AgentGetResponse, AgentGetSummaryOptions, AgentGetSummaryResponse, AgentGetTopConsumptionOptions, AgentGetTopConsumptionResponse, AgentGetTopErrorCountOptions, AgentGetTopErrorCountResponse, AgentGetUnitConsumptionSummaryOptions, AgentGetUnitConsumptionSummaryResponse, AgentInput, AgentJobConsumptionSummary, AgentJobInfo, AgentListItem, AgentListOrderBy, AgentMemoryFilterOptions, AgentMemoryGetCallsTimelineOptions, AgentMemoryGetCallsTimelineResponse, AgentMemoryGetTimelineOptions, AgentMemoryGetTimelineResponse, AgentMemoryGetTopSpacesOptions, AgentMemoryGetTopSpacesResponse, AgentMemoryServiceModel, AgentMethods, AgentServiceModel, AgentSpanGetResponse, AgentStartingPrompt, AgentSummaryEntry, AgentSummaryPeriod, AgentTopErrorCount, AgentTraceFilterOptions, AgentTraceGetErrorsTimelineOptions, AgentTraceGetErrorsTimelineResponse, AgentTraceGetLatencyTimelineOptions, AgentTraceGetLatencyTimelineResponse, AgentTraceGetSpansByReferenceOptions, AgentTraceGetUnitConsumptionOptions, AgentTraceGetUnitConsumptionResponse, AgentTracesServiceModel, AgentUnitConsumptionEntry, AgentUnitConsumptionPeriod, ArgumentMetadata, AssetGetAllOptions, AssetGetByIdOptions, AssetGetByNameOptions, AssetGetResponse, AssetNewValue, AssetServiceModel, AssetUpdateValueByIdOptions, AsyncInputStream, AsyncInputStreamChunkEvent, AsyncInputStreamEndEvent, AsyncInputStreamEvent, AsyncInputStreamStartEvent, AsyncToolCallStream, AttachmentGetByIdOptions, AttachmentResponse, AttachmentServiceModel, BaseConfig, BaseOptions, BaseProcessStartRequest, BlobItem, BodyOptions, BpmnXmlString, BucketDeleteFileOptions, BucketFile, BucketGetAllOptions, BucketGetByIdOptions, BucketGetByNameOptions, BucketGetFileMetaDataOptions, BucketGetFileMetaDataResponse, BucketGetFileMetaDataWithPaginationOptions, BucketGetFilesOptions, BucketGetReadUriOptions, BucketGetReadUriRequestOptions, BucketGetResponse, BucketGetUriOptions, BucketGetUriResponse, BucketServiceModel, BucketUploadFileOptions, BucketUploadFileRequestOptions, BucketUploadResponse, CaseAppConfig, CaseAppOverview, CaseGetAllResponse, CaseGetAllWithMethodsResponse, CaseGetStageResponse, CaseGetTopDurationResponse, CaseGetTopFaultedCountResponse, CaseGetTopRunCountResponse, CaseInstanceExecutionHistoryResponse, CaseInstanceGetAllOptions, CaseInstanceGetAllWithPaginationOptions, CaseInstanceGetResponse, CaseInstanceMethods, CaseInstanceOperationOptions, CaseInstanceOperationResponse, CaseInstanceReopenOptions, CaseInstanceRun, CaseInstanceSlaSummaryOptions, CaseInstanceStageSLAOptions, CaseInstanceStageSLAResponse, CaseInstanceStageSLAStage, CaseInstancesServiceModel, CaseMethods, CasesServiceModel, ChoiceSetCreateOptions, ChoiceSetDeleteByIdOptions, ChoiceSetGetAllOptions, ChoiceSetGetAllResponse, ChoiceSetGetByIdOptions, ChoiceSetGetResponse, ChoiceSetServiceModel, ChoiceSetUpdateOptions, ChoiceSetValueDeleteOptions, ChoiceSetValueInsertOptions, ChoiceSetValueInsertResponse, ChoiceSetValueUpdateOptions, ChoiceSetValueUpdateResponse, Citation, CitationEndEvent, CitationError, CitationEvent, CitationOptions, CitationSource, CitationSourceBase, CitationSourceMedia, CitationSourceUrl, CitationStartEvent, CollectionResponse, CompletedContentPart, CompletedMessage, CompletedToolCall, ContentPart, ContentPartChunkEvent, ContentPartData, ContentPartEndEvent, ContentPartEvent, ContentPartGetResponse, ContentPartInterrupted, ContentPartStartEvent, ContentPartStartMetaData, ContentPartStream, ConversationAttachmentCreateResponse, ConversationAttachmentUploadResponse, ConversationCreateOptions, ConversationCreateResponse, ConversationDeleteResponse, ConversationEvent, ConversationExchangeServiceModel, ConversationGetAllOptions, ConversationGetResponse, ConversationJobStartOverrides, ConversationMethods, ConversationServiceModel, ConversationSessionMethods, ConversationSessionOptions, ConversationUpdateOptions, ConversationUpdateResponse, ConversationalAgentOptions, ConversationalAgentServiceModel, CreateFeedbackOptions, CustomKeyValuePair, DurationStats, ElementExecutionMetadata, ElementGetTopFailedCountResponse, ElementMetaData, ElementRunMetadata, ElementStats, 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, ErrorEndEvent, ErrorEvent, ErrorStartEvent, EscalationAction, EscalationRecipient, EscalationRule, EscalationTriggerMetadata, ExceptionReportSubmitResult, Exchange, ExchangeEndEvent, ExchangeEvent, ExchangeGetAllOptions, ExchangeGetByIdOptions, ExchangeGetResponse, ExchangeServiceModel, ExchangeStartEvent, ExchangeStream, ExternalConnection, ExternalField, ExternalFieldMapping, ExternalObject, ExternalSourceFields, ExternalValue, FailureRecord, FeatureFlags, FeedbackCategory, FeedbackCategoryInput, FeedbackCategoryResponse, FeedbackCreateCategoryOptions, FeedbackCreateResponse, FeedbackDeleteCategoryOptions, FeedbackGetAllOptions, FeedbackGetCategoriesOptions, FeedbackGetResponse, FeedbackOptions, FeedbackResponse, FeedbackServiceModel, FeedbackSubmitOptions, FeedbackUpdateOptions, Field$1 as Field, FieldDataType, FieldMetaData, FileUploadAccess, FolderProperties, FolderScopedOptions, GenericInterruptStartEvent, GetTopBaseResponse, GetTopDurationResponse, GetTopFaultedCountResponse, GetTopRunCountResponse, GlobalVariableMetaData, GovernanceFilterOptions, GovernanceOperationSummary, GovernancePolicyTrace, GovernancePolicyTraceGetAllOptions, GovernanceServiceModel, HasPaginationOptions, Headers, HttpMethod, InlineOrExternalValue, InlineValue, InstanceStats, InstanceStatusTimelineResponse, Interrupt, InterruptEndEvent, InterruptEvent, InterruptStartEvent, JSONArray, JSONObject, JSONPrimitive, JSONValue, JobAttachment, JobError, JobGetAllOptions, JobGetByIdOptions, JobGetResponse, JobMethods, JobResumeOptions, JobServiceModel, JobStopOptions, LabelUpdatedEvent, Machine, MaestroProcessGetAllResponse, MaestroProcessStatsRequest, MaestroProcessesServiceModel, MakeOptional, MakeRequired, Message, MessageEndEvent, MessageEvent, MessageGetResponse, MessageServiceModel, MessageStartEvent, MessageStream, MetaData, MetaEvent, NonPaginatedResponse, OAuthFields, OperationResponse, OrchestratorDuModuleServiceModel, PaginatedResponse, PaginationCursor, PaginationMetadata, PaginationMethodUnion, PaginationOptions, PartialUiPathConfig, ProcessExtractedDataOptions, ProcessExtractedDataRequest, ProcessGetAllOptions, ProcessGetByIdOptions, ProcessGetByNameOptions, ProcessGetResponse, ProcessGetTopDurationResponse, ProcessGetTopFaultedCountResponse, ProcessGetTopRunCountResponse, ProcessIncidentGetAllResponse, ProcessIncidentGetResponse, ProcessIncidentsServiceModel, ProcessInstanceExecutionHistoryResponse, ProcessInstanceGetAllOptions, ProcessInstanceGetAllWithPaginationOptions, ProcessInstanceGetResponse, ProcessInstanceGetVariablesOptions, ProcessInstanceGetVariablesResponse, ProcessInstanceMethods, ProcessInstanceOperationOptions, ProcessInstanceOperationResponse, ProcessInstanceRun, ProcessInstancesServiceModel, ProcessMetadata, ProcessMethods, ProcessProperties, ProcessServiceModel, ProcessStartOptions, ProcessStartRequest, ProcessStartRequestWithKey, ProcessStartRequestWithName, ProcessStartResponse, QueryParams, QueueGetAllOptions, QueueGetByIdOptions, QueueGetResponse, QueueServiceModel, RawAgentGetByIdResponse, RawAgentGetResponse, RawCaseInstanceGetResponse, RawConversationGetResponse, RawEntityGetResponse, RawJobGetResponse, RawMaestroProcessGetAllResponse, RawProcessInstanceGetResponse, RawTaskCreateResponse, RawTaskGetResponse, RequestOptions, RequestSpec, ResponseDictionary, ResponseType, RetryOptions, RobotMetadata, SessionCapabilities, SessionEndEvent, SessionEndingEvent, SessionStartEvent, SessionStartedEvent, SessionStream, Simplify, SlaSummaryResponse, SourceJoinCriteria, SpanAttachment, SpanContext, SpanGetResponse, SpanReferenceHierarchyEntry, SqlType, StageSLA, StageTask, SubmitExceptionReportOptions, SubmitExceptionReportResponse, Tag, TaskActivity, TaskAssignOptions, TaskAssignment, TaskAssignmentOptions, TaskAssignmentResponse, TaskBaseResponse, TaskCompleteOptions, TaskCompletionOptions, TaskCreateOptions, TaskCreateResponse, TaskGetAllOptions, TaskGetByIdOptions, TaskGetResponse, TaskGetUsersOptions, TaskMethods, TaskServiceModel, TaskSlaDetail, TaskSource, TasksUnassignOptions, TimelineOptions, TimeoutOptions, ToolCall, ToolCallConfirmationEndValue, ToolCallConfirmationEvent, ToolCallConfirmationInterruptStartEvent, ToolCallConfirmationValue, ToolCallEndEvent, ToolCallEvent, ToolCallInputValue, ToolCallOutputValue, ToolCallResult, ToolCallStartEvent, ToolCallStream, TopQueryOptions, TracesGetByIdOptions, TracesServiceModel, UiPathSDKConfig, UserLoginInfo, UserSettingsGetResponse, UserSettingsServiceModel, UserSettingsUpdateOptions, UserSettingsUpdateResponse };
19967
+ export { AgentErrorSortColumn, AgentExecutionType, AgentGovernanceMode, AgentGovernanceSection, AgentGovernanceVerdict, AgentListSortColumn, AgentMap, AgentMemoryExecutionType, SpanExecutionType as AgentTraceExecutionType, AgentType, AssetValueScope, AssetValueType, AuthenticationError, AuthorizationError, BucketOptions, CitationErrorType, ConversationGetAllFilterMap, ConversationMap, DEFAULT_ITEMS_FIELD, DEFAULT_PAGE_SIZE, DEFAULT_TOTAL_COUNT_FIELD, DataDirectionType, DebugMode, index as DuFramework, EntityAggregateFunction, EntityFieldDataType, EntityType, ErrorType, EscalationActionType, EscalationRecipientScope, EscalationTriggerType, ExchangeMap, FeedbackRating, FeedbackStatus, FieldDisplayType, HttpStatus, InputStreamSpeechSensitivity, InstanceFinalStatus, InstanceStatus, InterruptType, JobPriority, JobSourceType, JobState, JobSubState, JobType, JoinType, LogicalOperator$1 as LogicalOperator, MAX_PAGE_SIZE, MessageMap, MessageRole, NetworkError, NotFoundError, PackageSourceType, PackageType, PolicyEvaluationResult, ProcessIncidentSeverity, ProcessIncidentStatus, ProcessIncidentType, QueryFilterOperator, RateLimitError, ReferenceType, RemoteControlAccess, RobotSize, RuntimeType, SLADurationUnit, ServerError, ServerlessJobType, SlaSummaryStatus, SortOrder, SpanAttachmentDirection, SpanAttachmentProvider, SpanExecutionType, SpanPermissionStatus, SpanSource, SpanStatus, SpanVerbosityLevel, StageTaskType, StartStrategy, StopStrategy, TargetFramework, TaskActivityType, TaskAssignmentCriteria, TaskPriority, TaskSlaCriteria, TaskSlaStatus, TaskSourceName, TaskStatus, TaskType, TaskUserType, TimeInterval, UiPath, UiPathError, UiPathMetaTags, UserSettingsMap, ValidationError, createAgentWithMethods, createCaseInstanceWithMethods, createCaseWithMethods, createConversationWithMethods, createEntityWithMethods, createJobWithMethods, createProcessInstanceWithMethods, createProcessWithMethods, createTaskWithMethods, getAppBase, getAsset, getErrorDetails, getLimitedPageSize, isAuthenticationError, isAuthorizationError, isNetworkError, isNotFoundError, isRateLimitError, isServerError, isUiPathError, isValidationError, loadFromMetaTags, telemetryClient, track, trackEvent };
19968
+ export type { AgentAppearance, AgentConsumption, AgentConversationServiceModel, AgentCreateConversationOptions, AgentError, AgentErrorOrderBy, AgentFilterOptions, AgentGetAllOptions, AgentGetByIdResponse, AgentGetConsumptionTimelineOptions, AgentGetConsumptionTimelineResponse, AgentGetErrorsOptions, AgentGetErrorsTimelineOptions, AgentGetErrorsTimelineResponse, AgentGetIncidentDistributionOptions, AgentGetIncidentDistributionResponse, AgentGetLatencyTimelineOptions, AgentGetLatencyTimelineResponse, AgentGetResponse, AgentGetSummaryOptions, AgentGetSummaryResponse, AgentGetTopConsumptionOptions, AgentGetTopConsumptionResponse, AgentGetTopErrorCountOptions, AgentGetTopErrorCountResponse, AgentGetUnitConsumptionSummaryOptions, AgentGetUnitConsumptionSummaryResponse, AgentGovernanceCountItem, AgentGovernanceDecisionGetResponse, AgentGovernanceDecisionsOptions, AgentGovernanceGetSummaryResponse, AgentGovernanceSummaryOptions, AgentInput, AgentJobConsumptionSummary, AgentJobInfo, AgentListItem, AgentListOrderBy, AgentMemoryFilterOptions, AgentMemoryGetCallsTimelineOptions, AgentMemoryGetCallsTimelineResponse, AgentMemoryGetTimelineOptions, AgentMemoryGetTimelineResponse, AgentMemoryGetTopSpacesOptions, AgentMemoryGetTopSpacesResponse, AgentMemoryServiceModel, AgentMethods, AgentServiceModel, AgentSpanGetResponse, AgentStartingPrompt, AgentSummaryEntry, AgentSummaryPeriod, AgentTopErrorCount, AgentTraceFilterOptions, AgentTraceGetErrorsTimelineOptions, AgentTraceGetErrorsTimelineResponse, AgentTraceGetLatencyTimelineOptions, AgentTraceGetLatencyTimelineResponse, AgentTraceGetSpansByReferenceOptions, AgentTraceGetUnitConsumptionOptions, AgentTraceGetUnitConsumptionResponse, AgentTracesServiceModel, AgentUnitConsumptionEntry, AgentUnitConsumptionPeriod, ArgumentMetadata, AssetGetAllOptions, AssetGetByIdOptions, AssetGetByNameOptions, AssetGetResponse, AssetNewValue, AssetServiceModel, AssetUpdateValueByIdOptions, AsyncInputStream, AsyncInputStreamChunkEvent, AsyncInputStreamEndEvent, AsyncInputStreamEvent, AsyncInputStreamStartEvent, AsyncToolCallStream, AttachmentGetByIdOptions, AttachmentResponse, AttachmentServiceModel, BaseConfig, BaseOptions, BaseProcessStartRequest, BlobItem, BodyOptions, BpmnXmlString, BucketDeleteFileOptions, BucketFile, BucketGetAllOptions, BucketGetByIdOptions, BucketGetByNameOptions, BucketGetFileMetaDataOptions, BucketGetFileMetaDataResponse, BucketGetFileMetaDataWithPaginationOptions, BucketGetFilesOptions, BucketGetReadUriOptions, BucketGetReadUriRequestOptions, BucketGetResponse, BucketGetUriOptions, BucketGetUriResponse, BucketServiceModel, BucketUploadFileOptions, BucketUploadFileRequestOptions, BucketUploadResponse, CaseAppConfig, CaseAppOverview, CaseGetAllResponse, CaseGetAllWithMethodsResponse, CaseGetStageResponse, CaseGetTopDurationResponse, CaseGetTopFaultedCountResponse, CaseGetTopRunCountResponse, CaseInstanceExecutionHistoryResponse, CaseInstanceGetAllOptions, CaseInstanceGetAllWithPaginationOptions, CaseInstanceGetResponse, CaseInstanceMethods, CaseInstanceOperationOptions, CaseInstanceOperationResponse, CaseInstanceReopenOptions, CaseInstanceRun, CaseInstanceSlaSummaryOptions, CaseInstanceStageSLAOptions, CaseInstanceStageSLAResponse, CaseInstanceStageSLAStage, CaseInstancesServiceModel, CaseMethods, CasesServiceModel, ChoiceSetCreateOptions, ChoiceSetDeleteByIdOptions, ChoiceSetGetAllOptions, ChoiceSetGetAllResponse, ChoiceSetGetByIdOptions, ChoiceSetGetResponse, ChoiceSetServiceModel, ChoiceSetUpdateOptions, ChoiceSetValueDeleteOptions, ChoiceSetValueInsertOptions, ChoiceSetValueInsertResponse, ChoiceSetValueUpdateOptions, ChoiceSetValueUpdateResponse, Citation, CitationEndEvent, CitationError, CitationEvent, CitationOptions, CitationSource, CitationSourceBase, CitationSourceMedia, CitationSourceUrl, CitationStartEvent, ClientSideTool, CollectionResponse, CompletedContentPart, CompletedMessage, CompletedToolCall, ContentPart, ContentPartChunkEvent, ContentPartData, ContentPartEndEvent, ContentPartEvent, ContentPartGetResponse, ContentPartInterrupted, ContentPartStartEvent, ContentPartStartMetaData, ContentPartStream, ConversationAttachmentCreateResponse, ConversationAttachmentUploadResponse, ConversationCreateOptions, ConversationCreateResponse, ConversationDeleteResponse, ConversationEvent, ConversationExchangeServiceModel, ConversationGetAllOptions, ConversationGetResponse, ConversationJobStartOverrides, ConversationMethods, ConversationServiceModel, ConversationSessionMethods, ConversationSessionOptions, ConversationUpdateOptions, ConversationUpdateResponse, ConversationalAgentOptions, ConversationalAgentServiceModel, CreateFeedbackOptions, CustomKeyValuePair, DurationStats, ElementExecutionMetadata, ElementGetTopFailedCountResponse, ElementMetaData, ElementRunMetadata, ElementStats, 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, ErrorEndEvent, ErrorEvent, ErrorStartEvent, EscalationAction, EscalationRecipient, EscalationRule, EscalationTriggerMetadata, ExceptionReportSubmitResult, Exchange, ExchangeEndEvent, ExchangeEvent, ExchangeGetAllOptions, ExchangeGetByIdOptions, ExchangeGetResponse, ExchangeServiceModel, ExchangeStartEvent, ExchangeStream, ExecutingToolCallEvent, ExternalConnection, ExternalField, ExternalFieldMapping, ExternalObject, ExternalSourceFields, ExternalValue, FailureRecord, FeatureFlags, FeedbackCategory, FeedbackCategoryInput, FeedbackCategoryResponse, FeedbackCreateCategoryOptions, FeedbackCreateResponse, FeedbackDeleteCategoryOptions, FeedbackGetAllOptions, FeedbackGetCategoriesOptions, FeedbackGetResponse, FeedbackOptions, FeedbackResponse, FeedbackServiceModel, FeedbackSubmitOptions, FeedbackUpdateOptions, Field$1 as Field, FieldDataType, FieldMetaData, FileUploadAccess, FolderProperties, FolderScopedOptions, GenericInterruptStartEvent, GetTopBaseResponse, GetTopDurationResponse, GetTopFaultedCountResponse, GetTopRunCountResponse, GlobalVariableMetaData, GovernanceFilterOptions, GovernanceOperationSummary, GovernancePolicyTrace, GovernancePolicyTraceGetAllOptions, GovernanceServiceModel, HasPaginationOptions, Headers, HttpMethod, IncidentTimelineResponse, InlineOrExternalValue, InlineValue, InstanceStats, InstanceStatusTimelineResponse, Interrupt, InterruptEndEvent, InterruptEvent, InterruptStartEvent, JSONArray, JSONObject, JSONPrimitive, JSONValue, JobAttachment, JobError, JobGetAllOptions, JobGetByIdOptions, JobGetResponse, JobMethods, JobResumeOptions, JobServiceModel, JobStopOptions, LabelUpdatedEvent, Machine, MaestroProcessGetAllResponse, MaestroProcessStatsRequest, MaestroProcessesServiceModel, MakeOptional, MakeRequired, Message, MessageEndEvent, MessageEvent, MessageGetResponse, MessageServiceModel, MessageStartEvent, MessageStream, MetaData, MetaEvent, NonPaginatedResponse, OAuthFields, OperationResponse, OrchestratorDuModuleServiceModel, PaginatedResponse, PaginationCursor, PaginationMetadata, PaginationMethodUnion, PaginationOptions, PartialUiPathConfig, ProcessExtractedDataOptions, ProcessExtractedDataRequest, ProcessGetAllOptions, ProcessGetByIdOptions, ProcessGetByNameOptions, ProcessGetResponse, ProcessGetTopDurationResponse, ProcessGetTopFaultedCountResponse, ProcessGetTopRunCountResponse, ProcessIncidentGetAllResponse, ProcessIncidentGetResponse, ProcessIncidentsServiceModel, ProcessInstanceExecutionHistoryResponse, ProcessInstanceGetAllOptions, ProcessInstanceGetAllWithPaginationOptions, ProcessInstanceGetResponse, ProcessInstanceGetVariablesOptions, ProcessInstanceGetVariablesResponse, ProcessInstanceMethods, ProcessInstanceOperationOptions, ProcessInstanceOperationResponse, ProcessInstanceRun, ProcessInstancesServiceModel, ProcessMetadata, ProcessMethods, ProcessProperties, ProcessServiceModel, ProcessStartOptions, ProcessStartRequest, ProcessStartRequestWithKey, ProcessStartRequestWithName, ProcessStartResponse, QueryParams, QueueGetAllOptions, QueueGetByIdOptions, QueueGetResponse, QueueServiceModel, RawAgentGetByIdResponse, RawAgentGetResponse, RawCaseInstanceGetResponse, RawConversationGetResponse, RawEntityGetResponse, RawJobGetResponse, RawMaestroProcessGetAllResponse, RawProcessInstanceGetResponse, RawTaskCreateResponse, RawTaskGetResponse, RequestOptions, RequestSpec, ResponseDictionary, ResponseType, RetryOptions, RobotMetadata, SessionCapabilities, SessionEndEvent, SessionEndingEvent, SessionStartEvent, SessionStartedEvent, SessionStream, Simplify, SlaSummaryResponse, SourceJoinCriteria, SpanAttachment, SpanContext, SpanGetResponse, SpanReferenceHierarchyEntry, SqlType, StageSLA, StageTask, SubmitExceptionReportOptions, SubmitExceptionReportResponse, Tag, TaskActivity, TaskAssignOptions, TaskAssignment, TaskAssignmentOptions, TaskAssignmentResponse, TaskBaseResponse, TaskCompleteOptions, TaskCompletionOptions, TaskCreateOptions, TaskCreateResponse, TaskGetAllOptions, TaskGetByIdOptions, TaskGetResponse, TaskGetUsersOptions, TaskMethods, TaskServiceModel, TaskSlaDetail, TaskSource, TasksUnassignOptions, TimelineOptions, TimeoutOptions, ToolCall, ToolCallConfirmationEndValue, ToolCallConfirmationEvent, ToolCallConfirmationInterruptStartEvent, ToolCallConfirmationValue, ToolCallEndEvent, ToolCallEvent, ToolCallInputValue, ToolCallOutputValue, ToolCallResult, ToolCallStartEvent, ToolCallStream, TopQueryOptions, TracesGetByIdOptions, TracesServiceModel, UiPathSDKConfig, UserLoginInfo, UserSettingsGetResponse, UserSettingsServiceModel, UserSettingsUpdateOptions, UserSettingsUpdateResponse };