@uipath/uipath-typescript 1.3.9 → 1.3.11

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 (39) hide show
  1. package/dist/assets/index.cjs +19 -6
  2. package/dist/assets/index.mjs +19 -6
  3. package/dist/attachments/index.cjs +19 -6
  4. package/dist/attachments/index.mjs +19 -6
  5. package/dist/buckets/index.cjs +141 -6
  6. package/dist/buckets/index.d.ts +164 -1
  7. package/dist/buckets/index.mjs +141 -6
  8. package/dist/cases/index.cjs +70 -6
  9. package/dist/cases/index.d.ts +91 -1
  10. package/dist/cases/index.mjs +70 -6
  11. package/dist/conversational-agent/index.cjs +19 -6
  12. package/dist/conversational-agent/index.mjs +19 -6
  13. package/dist/core/index.cjs +1 -1
  14. package/dist/core/index.mjs +1 -1
  15. package/dist/entities/index.cjs +239 -34
  16. package/dist/entities/index.d.ts +311 -12
  17. package/dist/entities/index.mjs +239 -34
  18. package/dist/feedback/index.cjs +19 -6
  19. package/dist/feedback/index.mjs +19 -6
  20. package/dist/index.cjs +490 -64
  21. package/dist/index.d.ts +714 -36
  22. package/dist/index.mjs +490 -64
  23. package/dist/index.umd.js +491 -65
  24. package/dist/jobs/index.cjs +19 -6
  25. package/dist/jobs/index.mjs +19 -6
  26. package/dist/maestro-processes/index.cjs +70 -6
  27. package/dist/maestro-processes/index.d.ts +91 -1
  28. package/dist/maestro-processes/index.mjs +70 -6
  29. package/dist/processes/index.cjs +47 -35
  30. package/dist/processes/index.d.ts +76 -26
  31. package/dist/processes/index.mjs +47 -35
  32. package/dist/queues/index.cjs +19 -6
  33. package/dist/queues/index.mjs +19 -6
  34. package/dist/tasks/index.cjs +19 -6
  35. package/dist/tasks/index.mjs +19 -6
  36. package/dist/traces/index.cjs +1902 -0
  37. package/dist/traces/index.d.ts +565 -0
  38. package/dist/traces/index.mjs +1900 -0
  39. package/package.json +12 -2
package/dist/index.d.ts CHANGED
@@ -722,6 +722,8 @@ interface EntityFieldBase {
722
722
  isRbacEnabled?: boolean;
723
723
  /** Whether the field value is encrypted at rest (default: false) */
724
724
  isEncrypted?: boolean;
725
+ /** Whether the field is hidden from the UI (default: false) */
726
+ isHiddenField?: boolean;
725
727
  /** Default value for the field */
726
728
  defaultValue?: string;
727
729
  /** Maximum character length for STRING fields (default: 200, range: 1–4000) and MULTILINE_TEXT fields (default: 200, range: 1–10000). */
@@ -746,10 +748,10 @@ interface EntityCreateFieldOptions extends EntityFieldBase {
746
748
  type?: EntityFieldDataType;
747
749
  /** Choice set ID for choice-set fields */
748
750
  choiceSetId?: string;
749
- /** Name of the referenced entity for relationship fields */
750
- referenceEntityName?: string;
751
- /** Name of the field in the referenced entity */
752
- referenceFieldName?: string;
751
+ /** UUID of the referenced entity (required when `type` is `RELATIONSHIP` or `FILE`) */
752
+ referenceEntityId?: string;
753
+ /** UUID of the referenced field on the target entity (required when `type` is `RELATIONSHIP` or `FILE`) */
754
+ referenceFieldId?: string;
753
755
  }
754
756
  /**
755
757
  * Options for creating a new Data Fabric entity
@@ -979,10 +981,6 @@ interface FieldMetaData {
979
981
  referenceType?: ReferenceType;
980
982
  choiceSetId?: string;
981
983
  defaultValue?: string;
982
- /** Name of the referenced entity (used on write payloads for relationship fields) */
983
- referenceEntityName?: string;
984
- /** Name of the field in the referenced entity (used on write payloads for relationship fields) */
985
- referenceFieldName?: string;
986
984
  }
987
985
  /**
988
986
  * External object details
@@ -2469,8 +2467,6 @@ declare class EntityService extends BaseService implements EntityServiceModel {
2469
2467
  * override the defaults where the type accepts overrides.
2470
2468
  */
2471
2469
  private buildSqlTypeConstraints;
2472
- private static readonly RESERVED_FIELD_NAMES;
2473
- private validateName;
2474
2470
  }
2475
2471
 
2476
2472
  /**
@@ -2478,6 +2474,8 @@ declare class EntityService extends BaseService implements EntityServiceModel {
2478
2474
  * Only exposes essential fields to SDK users
2479
2475
  */
2480
2476
  interface ChoiceSetGetAllResponse {
2477
+ /** UUID of the choice set */
2478
+ id: string;
2481
2479
  /** Name identifier of the choice set */
2482
2480
  name: string;
2483
2481
  /** Human-readable display name of the choice set*/
@@ -2522,6 +2520,46 @@ interface ChoiceSetGetResponse {
2522
2520
  * Options for getting choice set values by choice set ID
2523
2521
  */
2524
2522
  type ChoiceSetGetByIdOptions = PaginationOptions;
2523
+ /**
2524
+ * Options for creating a new choice set
2525
+ */
2526
+ interface ChoiceSetCreateOptions {
2527
+ /** Human-readable display name */
2528
+ displayName?: string;
2529
+ /** Optional choice set description */
2530
+ description?: string;
2531
+ /** UUID of the folder to place the choice set in (defaults to the tenant-level folder) */
2532
+ folderKey?: string;
2533
+ }
2534
+ /**
2535
+ * Options for updating an existing choice set's metadata
2536
+ */
2537
+ interface ChoiceSetUpdateOptions {
2538
+ /** New display name for the choice set */
2539
+ displayName?: string;
2540
+ /** New description for the choice set */
2541
+ description?: string;
2542
+ }
2543
+ /**
2544
+ * Optional fields when inserting a single value into a choice set.
2545
+ *
2546
+ * The required `name` identifier is passed as a positional argument to
2547
+ * `insertValueById`.
2548
+ */
2549
+ interface ChoiceSetValueInsertOptions {
2550
+ /** Human-readable display name */
2551
+ displayName?: string;
2552
+ }
2553
+ /**
2554
+ * Response returned after inserting a choice-set value — the full value object.
2555
+ */
2556
+ interface ChoiceSetValueInsertResponse extends ChoiceSetGetResponse {
2557
+ }
2558
+ /**
2559
+ * Response returned after updating a choice-set value — the full value object.
2560
+ */
2561
+ interface ChoiceSetValueUpdateResponse extends ChoiceSetGetResponse {
2562
+ }
2525
2563
 
2526
2564
  /**
2527
2565
  * Service for managing UiPath Data Fabric Choice Sets
@@ -2604,6 +2642,134 @@ interface ChoiceSetServiceModel {
2604
2642
  * ```
2605
2643
  */
2606
2644
  getById<T extends ChoiceSetGetByIdOptions = ChoiceSetGetByIdOptions>(choiceSetId: string, options?: T): Promise<T extends HasPaginationOptions<T> ? PaginatedResponse<ChoiceSetGetResponse> : NonPaginatedResponse<ChoiceSetGetResponse>>;
2645
+ /**
2646
+ * Creates a new Data Fabric choice set
2647
+ *
2648
+ * @param name - Choice set name. Must start with a
2649
+ * letter, may contain only letters, numbers, and underscores, length
2650
+ * 3–100 characters (e.g., `"expenseTypes"`).
2651
+ * @param options - Optional choice-set-level settings ({@link ChoiceSetCreateOptions})
2652
+ * @returns Promise resolving to the UUID of the created choice set
2653
+ *
2654
+ * @example
2655
+ * ```typescript
2656
+ * // Minimal create
2657
+ * const expenseTypesId = await choicesets.create("expense_types");
2658
+ *
2659
+ * // With display name and description
2660
+ * const priorityLevelsId = await choicesets.create("priority_levels", {
2661
+ * displayName: "Priority Levels",
2662
+ * description: "Ticket priority categories",
2663
+ * });
2664
+ * ```
2665
+ * @internal
2666
+ */
2667
+ create(name: string, options?: ChoiceSetCreateOptions): Promise<string>;
2668
+ /**
2669
+ * Updates an existing choice set's metadata (display name and/or description).
2670
+ *
2671
+ * **At least one of `displayName` or `description` must be provided** —
2672
+ * the call throws `ValidationError` if both are omitted.
2673
+ *
2674
+ * @param choiceSetId - UUID of the choice set to update
2675
+ * @param options - Metadata fields to change ({@link ChoiceSetUpdateOptions})
2676
+ * @returns Promise resolving when the update is complete
2677
+ *
2678
+ * @example
2679
+ * ```typescript
2680
+ * // First, get the choice set ID using getAll()
2681
+ * const allChoiceSets = await choicesets.getAll();
2682
+ * const expenseTypes = allChoiceSets.find(cs => cs.name === 'expense_types');
2683
+ *
2684
+ * await choicesets.updateById(expenseTypes.id, {
2685
+ * displayName: "Expense Categories",
2686
+ * description: "Updated description",
2687
+ * });
2688
+ * ```
2689
+ * @internal
2690
+ */
2691
+ updateById(choiceSetId: string, options: ChoiceSetUpdateOptions): Promise<void>;
2692
+ /**
2693
+ * Deletes a Data Fabric choice set and all its values.
2694
+ *
2695
+ * @param choiceSetId - UUID of the choice set to delete
2696
+ * @returns Promise resolving when the choice set is deleted
2697
+ *
2698
+ * @example
2699
+ * ```typescript
2700
+ * // First, get the choice set ID using getAll()
2701
+ * const allChoiceSets = await choicesets.getAll();
2702
+ * const expenseTypes = allChoiceSets.find(cs => cs.name === 'expense_types');
2703
+ *
2704
+ * await choicesets.deleteById(expenseTypes.id);
2705
+ * ```
2706
+ * @internal
2707
+ */
2708
+ deleteById(choiceSetId: string): Promise<void>;
2709
+ /**
2710
+ * Inserts a single value into a choice set.
2711
+ *
2712
+ * @param choiceSetId - UUID of the parent choice set
2713
+ * @param name - Identifier name of the new value (e.g., `"TRAVEL"`)
2714
+ * @param options - Optional fields ({@link ChoiceSetValueInsertOptions})
2715
+ * @returns Promise resolving to the inserted value ({@link ChoiceSetValueInsertResponse})
2716
+ *
2717
+ * @example
2718
+ * ```typescript
2719
+ * // First, get the choice set ID using getAll()
2720
+ * const allChoiceSets = await choicesets.getAll();
2721
+ * const expenseTypes = allChoiceSets.find(cs => cs.name === 'expense_types');
2722
+ *
2723
+ * const inserted = await choicesets.insertValueById(expenseTypes.id, 'TRAVEL', {
2724
+ * displayName: 'Travel',
2725
+ * });
2726
+ * console.log(inserted.id);
2727
+ * ```
2728
+ * @internal
2729
+ */
2730
+ insertValueById(choiceSetId: string, name: string, options?: ChoiceSetValueInsertOptions): Promise<ChoiceSetValueInsertResponse>;
2731
+ /**
2732
+ * Updates an existing choice-set value's display name.
2733
+ *
2734
+ * Only `displayName` is mutable; the value's `name` (identifier) is fixed at
2735
+ * insert time and cannot be changed.
2736
+ *
2737
+ * @param choiceSetId - UUID of the parent choice set
2738
+ * @param valueId - UUID of the value to update
2739
+ * @param displayName - New human-readable display name for the value
2740
+ * @returns Promise resolving to the updated value ({@link ChoiceSetValueUpdateResponse})
2741
+ *
2742
+ * @example
2743
+ * ```typescript
2744
+ * // Get the choice set ID from getAll() and the value ID from getById()
2745
+ * const allChoiceSets = await choicesets.getAll();
2746
+ * const expenseTypes = allChoiceSets.find(cs => cs.name === 'expense_types');
2747
+ * const values = await choicesets.getById(expenseTypes.id);
2748
+ * const travel = values.items.find(v => v.name === 'TRAVEL');
2749
+ *
2750
+ * await choicesets.updateValueById(expenseTypes.id, travel.id, 'Business Travel');
2751
+ * ```
2752
+ * @internal
2753
+ */
2754
+ updateValueById(choiceSetId: string, valueId: string, displayName: string): Promise<ChoiceSetValueUpdateResponse>;
2755
+ /**
2756
+ * Deletes one or more values from a choice set.
2757
+ *
2758
+ * @param choiceSetId - UUID of the parent choice set
2759
+ * @param valueIds - Array of value UUIDs to delete
2760
+ * @returns Promise resolving when the values are deleted
2761
+ *
2762
+ * @example
2763
+ * ```typescript
2764
+ * // Get the value IDs from getById()
2765
+ * const values = await choicesets.getById('<choiceSetId>');
2766
+ * const idsToDelete = values.items.slice(0, 2).map(v => v.id);
2767
+ *
2768
+ * await choicesets.deleteValuesById('<choiceSetId>', idsToDelete);
2769
+ * ```
2770
+ * @internal
2771
+ */
2772
+ deleteValuesById(choiceSetId: string, valueIds: string[]): Promise<void>;
2607
2773
  }
2608
2774
 
2609
2775
  declare class ChoiceSetService extends BaseService implements ChoiceSetServiceModel {
@@ -2642,7 +2808,7 @@ declare class ChoiceSetService extends BaseService implements ChoiceSetServiceMo
2642
2808
  *
2643
2809
  * @example
2644
2810
  * ```typescript
2645
- * import { ChoiceSets } from '@uipath/uipath-typescript/choicesets';
2811
+ * import { ChoiceSets } from '@uipath/uipath-typescript/entities';
2646
2812
  *
2647
2813
  * const choiceSets = new ChoiceSets(sdk);
2648
2814
  *
@@ -2669,6 +2835,139 @@ declare class ChoiceSetService extends BaseService implements ChoiceSetServiceMo
2669
2835
  * ```
2670
2836
  */
2671
2837
  getById<T extends ChoiceSetGetByIdOptions = ChoiceSetGetByIdOptions>(choiceSetId: string, options?: T): Promise<T extends HasPaginationOptions<T> ? PaginatedResponse<ChoiceSetGetResponse> : NonPaginatedResponse<ChoiceSetGetResponse>>;
2838
+ /**
2839
+ * Creates a new Data Fabric choice set
2840
+ *
2841
+ * @param name - Choice set name. Must start with a
2842
+ * letter, may contain only letters, numbers, and underscores, length
2843
+ * 3–100 characters (e.g., `"expenseTypes"`).
2844
+ * @param options - Optional choice-set-level settings ({@link ChoiceSetCreateOptions})
2845
+ * @returns Promise resolving to the UUID of the created choice set
2846
+ *
2847
+ * @example
2848
+ * ```typescript
2849
+ * import { ChoiceSets } from '@uipath/uipath-typescript/entities';
2850
+ *
2851
+ * const choicesets = new ChoiceSets(sdk);
2852
+ *
2853
+ * // Minimal create
2854
+ * const expenseTypesId = await choicesets.create("expense_types");
2855
+ *
2856
+ * // With display name and description
2857
+ * const priorityLevelsId = await choicesets.create("priority_levels", {
2858
+ * displayName: "Priority Levels",
2859
+ * description: "Ticket priority categories",
2860
+ * });
2861
+ * ```
2862
+ * @internal
2863
+ */
2864
+ create(name: string, options?: ChoiceSetCreateOptions): Promise<string>;
2865
+ /**
2866
+ * Updates an existing choice set's metadata (display name and/or description).
2867
+ *
2868
+ * **At least one of `displayName` or `description` must be provided** —
2869
+ * the call throws `ValidationError` if both are omitted.
2870
+ *
2871
+ * @param choiceSetId - UUID of the choice set to update
2872
+ * @param options - Metadata fields to change ({@link ChoiceSetUpdateOptions})
2873
+ * @returns Promise resolving when the update is complete
2874
+ *
2875
+ * @example
2876
+ * ```typescript
2877
+ * // First, get the choice set ID using getAll()
2878
+ * const allChoiceSets = await choicesets.getAll();
2879
+ * const expenseTypes = allChoiceSets.find(cs => cs.name === 'expense_types');
2880
+ *
2881
+ * await choicesets.updateById(expenseTypes.id, {
2882
+ * displayName: "Expense Categories",
2883
+ * description: "Updated description",
2884
+ * });
2885
+ * ```
2886
+ * @internal
2887
+ */
2888
+ updateById(choiceSetId: string, options: ChoiceSetUpdateOptions): Promise<void>;
2889
+ /**
2890
+ * Deletes a Data Fabric choice set and all its values.
2891
+ *
2892
+ * @param choiceSetId - UUID of the choice set to delete
2893
+ * @returns Promise resolving when the choice set is deleted
2894
+ *
2895
+ * @example
2896
+ * ```typescript
2897
+ * // First, get the choice set ID using getAll()
2898
+ * const allChoiceSets = await choicesets.getAll();
2899
+ * const expenseTypes = allChoiceSets.find(cs => cs.name === 'expense_types');
2900
+ *
2901
+ * await choicesets.deleteById(expenseTypes.id);
2902
+ * ```
2903
+ * @internal
2904
+ */
2905
+ deleteById(choiceSetId: string): Promise<void>;
2906
+ /**
2907
+ * Inserts a single value into a choice set.
2908
+ *
2909
+ * @param choiceSetId - UUID of the parent choice set
2910
+ * @param name - Identifier name of the new value (e.g., `"TRAVEL"`)
2911
+ * @param options - Optional fields ({@link ChoiceSetValueInsertOptions})
2912
+ * @returns Promise resolving to the inserted value ({@link ChoiceSetValueInsertResponse})
2913
+ *
2914
+ * @example
2915
+ * ```typescript
2916
+ * // First, get the choice set ID using getAll()
2917
+ * const allChoiceSets = await choicesets.getAll();
2918
+ * const expenseTypes = allChoiceSets.find(cs => cs.name === 'expense_types');
2919
+ *
2920
+ * const inserted = await choicesets.insertValueById(expenseTypes.id, 'TRAVEL', {
2921
+ * displayName: 'Travel',
2922
+ * });
2923
+ * console.log(inserted.id);
2924
+ * ```
2925
+ * @internal
2926
+ */
2927
+ insertValueById(choiceSetId: string, name: string, options?: ChoiceSetValueInsertOptions): Promise<ChoiceSetValueInsertResponse>;
2928
+ /**
2929
+ * Updates an existing choice-set value's display name.
2930
+ *
2931
+ * Only `displayName` is mutable; the value's `name` (identifier) is fixed at
2932
+ * insert time and cannot be changed.
2933
+ *
2934
+ * @param choiceSetId - UUID of the parent choice set
2935
+ * @param valueId - UUID of the value to update
2936
+ * @param displayName - New human-readable display name for the value
2937
+ * @returns Promise resolving to the updated value ({@link ChoiceSetValueUpdateResponse})
2938
+ *
2939
+ * @example
2940
+ * ```typescript
2941
+ * // Get the choice set ID from getAll() and the value ID from getById()
2942
+ * const allChoiceSets = await choicesets.getAll();
2943
+ * const expenseTypes = allChoiceSets.find(cs => cs.name === 'expense_types');
2944
+ * const values = await choicesets.getById(expenseTypes.id);
2945
+ * const travel = values.items.find(v => v.name === 'TRAVEL');
2946
+ *
2947
+ * await choicesets.updateValueById(expenseTypes.id, travel.id, 'Business Travel');
2948
+ * ```
2949
+ * @internal
2950
+ */
2951
+ updateValueById(choiceSetId: string, valueId: string, displayName: string): Promise<ChoiceSetValueUpdateResponse>;
2952
+ /**
2953
+ * Deletes one or more values from a choice set.
2954
+ *
2955
+ * @param choiceSetId - UUID of the parent choice set
2956
+ * @param valueIds - Array of value UUIDs to delete
2957
+ * @returns Promise resolving when the values are deleted
2958
+ *
2959
+ * @example
2960
+ * ```typescript
2961
+ * // Get the value IDs from getById()
2962
+ * const values = await choicesets.getById('<choiceSetId>');
2963
+ * const idsToDelete = values.items.slice(0, 2).map(v => v.id);
2964
+ *
2965
+ * await choicesets.deleteValuesById('<choiceSetId>', idsToDelete);
2966
+ * ```
2967
+ * @internal
2968
+ */
2969
+ deleteValuesById(choiceSetId: string, valueIds: string[]): Promise<void>;
2970
+ private resolveChoiceSetName;
2672
2971
  }
2673
2972
 
2674
2973
  /**
@@ -2710,6 +3009,20 @@ interface GetTopFaultedCountResponse extends GetTopBaseResponse {
2710
3009
  /** Number of faulted instances in the given time range */
2711
3010
  faultedCount: number;
2712
3011
  }
3012
+ /**
3013
+ * SDK response for top elements with failure.
3014
+ * Shared by both MaestroProcesses and Cases — no service-specific enrichment.
3015
+ */
3016
+ interface ElementGetTopFailedCountResponse {
3017
+ /** BPMN element name (falls back to element ID if name is empty) */
3018
+ elementName: string;
3019
+ /** BPMN element type (e.g. ServiceTask, ReceiveTask, IntermediateCatchEvent) */
3020
+ elementType: string;
3021
+ /** The unique process key this element belongs to */
3022
+ processKey: string;
3023
+ /** Number of failed executions of this element in the given time range */
3024
+ failedCount: number;
3025
+ }
2713
3026
  /**
2714
3027
  * Time bucketing granularity for insights time-series queries.
2715
3028
  *
@@ -3035,6 +3348,44 @@ interface MaestroProcessesServiceModel {
3035
3348
  * ```
3036
3349
  */
3037
3350
  getTopFaultedCount(startTime: Date, endTime: Date, options?: TopQueryOptions): Promise<ProcessGetTopFaultedCountResponse[]>;
3351
+ /**
3352
+ * Get the top 10 BPMN elements ranked by failure count within a time range.
3353
+ *
3354
+ * Returns an array of up to 10 elements sorted by how many times they failed,
3355
+ * useful for identifying the most error-prone activities in processes.
3356
+ *
3357
+ * @param startTime - Start of the time range to query
3358
+ * @param endTime - End of the time range to query
3359
+ * @param options - Optional filters (packageId, processKey, version)
3360
+ * @returns Promise resolving to an array of {@link ElementGetTopFailedCountResponse}
3361
+ * @example
3362
+ * ```typescript
3363
+ * import { MaestroProcesses } from '@uipath/uipath-typescript/maestro-processes';
3364
+ *
3365
+ * const maestroProcesses = new MaestroProcesses(sdk);
3366
+ *
3367
+ * // Get top failing elements for the last 7 days
3368
+ * const topFailing = await maestroProcesses.getTopElementFailedCount(
3369
+ * new Date(Date.now() - 7 * 24 * 60 * 60 * 1000),
3370
+ * new Date()
3371
+ * );
3372
+ *
3373
+ * for (const element of topFailing) {
3374
+ * console.log(`${element.elementName} (${element.elementType}): ${element.failedCount} failures`);
3375
+ * }
3376
+ * ```
3377
+ *
3378
+ * @example
3379
+ * ```typescript
3380
+ * // Get top failing elements for a specific process
3381
+ * const filtered = await maestroProcesses.getTopElementFailedCount(
3382
+ * new Date(Date.now() - 7 * 24 * 60 * 60 * 1000),
3383
+ * new Date(),
3384
+ * { processKey: '<processKey>' }
3385
+ * );
3386
+ * ```
3387
+ */
3388
+ getTopElementFailedCount(startTime: Date, endTime: Date, options?: TopQueryOptions): Promise<ElementGetTopFailedCountResponse[]>;
3038
3389
  /**
3039
3390
  * Get all instances status counts aggregated by date for maestro processes.
3040
3391
  *
@@ -3829,6 +4180,44 @@ interface CasesServiceModel {
3829
4180
  * ```
3830
4181
  */
3831
4182
  getTopFaultedCount(startTime: Date, endTime: Date, options?: TopQueryOptions): Promise<CaseGetTopFaultedCountResponse[]>;
4183
+ /**
4184
+ * Get the top 10 BPMN elements ranked by failure count within a time range.
4185
+ *
4186
+ * Returns an array of up to 10 elements sorted by how many times they failed,
4187
+ * useful for identifying the most error-prone activities in case processes.
4188
+ *
4189
+ * @param startTime - Start of the time range to query
4190
+ * @param endTime - End of the time range to query
4191
+ * @param options - Optional filters (packageId, processKey, version)
4192
+ * @returns Promise resolving to an array of {@link ElementGetTopFailedCountResponse}
4193
+ * @example
4194
+ * ```typescript
4195
+ * import { Cases } from '@uipath/uipath-typescript/cases';
4196
+ *
4197
+ * const cases = new Cases(sdk);
4198
+ *
4199
+ * // Get top failing elements for the last 7 days
4200
+ * const topFailing = await cases.getTopElementFailedCount(
4201
+ * new Date(Date.now() - 7 * 24 * 60 * 60 * 1000),
4202
+ * new Date()
4203
+ * );
4204
+ *
4205
+ * for (const element of topFailing) {
4206
+ * console.log(`${element.elementName} (${element.elementType}): ${element.failedCount} failures`);
4207
+ * }
4208
+ * ```
4209
+ *
4210
+ * @example
4211
+ * ```typescript
4212
+ * // Get top failing elements for a specific process
4213
+ * const filtered = await cases.getTopElementFailedCount(
4214
+ * new Date(Date.now() - 7 * 24 * 60 * 60 * 1000),
4215
+ * new Date(),
4216
+ * { processKey: '<processKey>' }
4217
+ * );
4218
+ * ```
4219
+ */
4220
+ getTopElementFailedCount(startTime: Date, endTime: Date, options?: TopQueryOptions): Promise<ElementGetTopFailedCountResponse[]>;
3832
4221
  /**
3833
4222
  * Get all instances status counts aggregated by date for case management processes.
3834
4223
  *
@@ -5275,6 +5664,44 @@ declare class MaestroProcessesService extends BaseService implements MaestroProc
5275
5664
  * ```
5276
5665
  */
5277
5666
  getTopRunCount(startTime: Date, endTime: Date, options?: TopQueryOptions): Promise<ProcessGetTopRunCountResponse[]>;
5667
+ /**
5668
+ * Get the top 10 BPMN elements ranked by failure count within a time range.
5669
+ *
5670
+ * Returns an array of up to 10 elements sorted by how many times they failed,
5671
+ * useful for identifying the most error-prone activities in processes.
5672
+ *
5673
+ * @param startTime - Start of the time range to query
5674
+ * @param endTime - End of the time range to query
5675
+ * @param options - Optional filters (packageId, processKey, version)
5676
+ * @returns Promise resolving to an array of {@link ElementGetTopFailedCountResponse}
5677
+ * @example
5678
+ * ```typescript
5679
+ * import { MaestroProcesses } from '@uipath/uipath-typescript/maestro-processes';
5680
+ *
5681
+ * const maestroProcesses = new MaestroProcesses(sdk);
5682
+ *
5683
+ * // Get top failing elements for the last 7 days
5684
+ * const topFailing = await maestroProcesses.getTopElementFailedCount(
5685
+ * new Date(Date.now() - 7 * 24 * 60 * 60 * 1000),
5686
+ * new Date()
5687
+ * );
5688
+ *
5689
+ * for (const element of topFailing) {
5690
+ * console.log(`${element.elementName} (${element.elementType}): ${element.failedCount} failures`);
5691
+ * }
5692
+ * ```
5693
+ *
5694
+ * @example
5695
+ * ```typescript
5696
+ * // Get top failing elements for a specific process
5697
+ * const filtered = await maestroProcesses.getTopElementFailedCount(
5698
+ * new Date(Date.now() - 7 * 24 * 60 * 60 * 1000),
5699
+ * new Date(),
5700
+ * { processKey: '<processKey>' }
5701
+ * );
5702
+ * ```
5703
+ */
5704
+ getTopElementFailedCount(startTime: Date, endTime: Date, options?: TopQueryOptions): Promise<ElementGetTopFailedCountResponse[]>;
5278
5705
  /**
5279
5706
  * Get all instances status counts aggregated by date for maestro processes.
5280
5707
  *
@@ -5609,6 +6036,44 @@ declare class CasesService extends BaseService implements CasesServiceModel {
5609
6036
  * ```
5610
6037
  */
5611
6038
  getTopRunCount(startTime: Date, endTime: Date, options?: TopQueryOptions): Promise<CaseGetTopRunCountResponse[]>;
6039
+ /**
6040
+ * Get the top 10 BPMN elements ranked by failure count within a time range.
6041
+ *
6042
+ * Returns an array of up to 10 elements sorted by how many times they failed,
6043
+ * useful for identifying the most error-prone activities in case processes.
6044
+ *
6045
+ * @param startTime - Start of the time range to query
6046
+ * @param endTime - End of the time range to query
6047
+ * @param options - Optional filters (packageId, processKey, version)
6048
+ * @returns Promise resolving to an array of {@link ElementGetTopFailedCountResponse}
6049
+ * @example
6050
+ * ```typescript
6051
+ * import { Cases } from '@uipath/uipath-typescript/cases';
6052
+ *
6053
+ * const cases = new Cases(sdk);
6054
+ *
6055
+ * // Get top failing elements for the last 7 days
6056
+ * const topFailing = await cases.getTopElementFailedCount(
6057
+ * new Date(Date.now() - 7 * 24 * 60 * 60 * 1000),
6058
+ * new Date()
6059
+ * );
6060
+ *
6061
+ * for (const element of topFailing) {
6062
+ * console.log(`${element.elementName} (${element.elementType}): ${element.failedCount} failures`);
6063
+ * }
6064
+ * ```
6065
+ *
6066
+ * @example
6067
+ * ```typescript
6068
+ * // Get top failing elements for a specific process
6069
+ * const filtered = await cases.getTopElementFailedCount(
6070
+ * new Date(Date.now() - 7 * 24 * 60 * 60 * 1000),
6071
+ * new Date(),
6072
+ * { processKey: '<processKey>' }
6073
+ * );
6074
+ * ```
6075
+ */
6076
+ getTopElementFailedCount(startTime: Date, endTime: Date, options?: TopQueryOptions): Promise<ElementGetTopFailedCountResponse[]>;
5612
6077
  /**
5613
6078
  * Get all instances status counts aggregated by date for case management processes.
5614
6079
  *
@@ -6402,6 +6867,45 @@ interface BlobItem {
6402
6867
  */
6403
6868
  lastModified: string | null;
6404
6869
  }
6870
+ /**
6871
+ * Represents a file or directory entry in a bucket
6872
+ */
6873
+ interface BucketFile {
6874
+ /**
6875
+ * Full path to the file or directory
6876
+ */
6877
+ path: string;
6878
+ /**
6879
+ * Content type of the file (empty for directories)
6880
+ */
6881
+ contentType: string;
6882
+ /**
6883
+ * Size of the file in bytes
6884
+ */
6885
+ size: number;
6886
+ /**
6887
+ * Whether the entry is a directory
6888
+ */
6889
+ isDirectory: boolean;
6890
+ /**
6891
+ * Identifier of the file, when available
6892
+ */
6893
+ id: string | null;
6894
+ }
6895
+ /**
6896
+ * Options for listing files in a bucket directory
6897
+ */
6898
+ type BucketGetFilesOptions = RequestOptions & PaginationOptions & FolderScopedOptions & {
6899
+ /**
6900
+ * Regex pattern to filter file names (e.g., '.*\\.pdf$')
6901
+ */
6902
+ fileNameRegex?: string;
6903
+ };
6904
+ /**
6905
+ * Options for deleting a file from a bucket
6906
+ */
6907
+ interface BucketDeleteFileOptions extends FolderScopedOptions {
6908
+ }
6405
6909
  /**
6406
6910
  * Options for uploading files to a bucket
6407
6911
  */
@@ -6607,6 +7111,64 @@ interface BucketServiceModel {
6607
7111
  * ```
6608
7112
  */
6609
7113
  uploadFile(options: BucketUploadFileOptions): Promise<BucketUploadResponse>;
7114
+ /**
7115
+ * Deletes a file from a bucket
7116
+ *
7117
+ * @param bucketId - The ID of the bucket
7118
+ * @param path - The full path to the file to delete
7119
+ * @param options - Folder scoping (`folderId` / `folderKey` / `folderPath`)
7120
+ * @returns Promise resolving when the file is deleted
7121
+ * @example
7122
+ * ```typescript
7123
+ * // Delete a file from a bucket
7124
+ * await buckets.deleteFile(<bucketId>, '/folder/file.pdf', { folderId: <folderId> });
7125
+ * ```
7126
+ */
7127
+ deleteFile(bucketId: number, path: string, options?: BucketDeleteFileOptions): Promise<void>;
7128
+ /**
7129
+ * Lists all files in a bucket.
7130
+ *
7131
+ * Returns a flat, recursive listing of all files in the bucket. Supports regex filtering
7132
+ * and filter / orderby / select / expand. {@link BucketFile} entries include
7133
+ * `isDirectory` so callers can distinguish folders from files.
7134
+ *
7135
+ * The method returns either:
7136
+ * - A NonPaginatedResponse with items array (when no pagination parameters are provided)
7137
+ * - A PaginatedResponse with navigation cursors (when any pagination parameter is provided)
7138
+ *
7139
+ * @param bucketId - The ID of the bucket
7140
+ * @param options - Folder scoping (`folderId` / `folderKey` / `folderPath`) and optional parameters for regex filtering, query options, and pagination
7141
+ * {@link BucketGetFilesOptions}
7142
+ * @returns Promise resolving to either an array of files NonPaginatedResponse<BucketFile> or a PaginatedResponse<BucketFile> when pagination options are used.
7143
+ * {@link BucketFile}
7144
+ * @example
7145
+ * ```typescript
7146
+ * // List all files in the bucket
7147
+ * const files = await buckets.getFiles(<bucketId>, { folderId: <folderId> });
7148
+ *
7149
+ * // Filter by regex pattern
7150
+ * const pdfs = await buckets.getFiles(<bucketId>, {
7151
+ * folderId: <folderId>,
7152
+ * fileNameRegex: '.*\\.pdf$'
7153
+ * });
7154
+ *
7155
+ * // First page with pagination
7156
+ * const page1 = await buckets.getFiles(<bucketId>, { folderId: <folderId>, pageSize: 10 });
7157
+ *
7158
+ * // Navigate using cursor
7159
+ * if (page1.hasNextPage) {
7160
+ * const page2 = await buckets.getFiles(<bucketId>, { folderId: <folderId>, cursor: page1.nextCursor });
7161
+ * }
7162
+ *
7163
+ * // Jump to specific page
7164
+ * const page5 = await buckets.getFiles(<bucketId>, {
7165
+ * folderId: <folderId>,
7166
+ * jumpToPage: 5,
7167
+ * pageSize: 10
7168
+ * });
7169
+ * ```
7170
+ */
7171
+ getFiles<T extends BucketGetFilesOptions = BucketGetFilesOptions>(bucketId: number, options?: T): Promise<T extends HasPaginationOptions<T> ? PaginatedResponse<BucketFile> : NonPaginatedResponse<BucketFile>>;
6610
7172
  }
6611
7173
 
6612
7174
  declare class BucketService extends FolderScopedService implements BucketServiceModel {
@@ -6803,6 +7365,72 @@ declare class BucketService extends FolderScopedService implements BucketService
6803
7365
  * @returns Promise resolving to blob file access information
6804
7366
  */
6805
7367
  private _getUri;
7368
+ /**
7369
+ * Lists all files in a bucket.
7370
+ *
7371
+ * Returns a flat, recursive listing of all files in the bucket. Supports regex filtering
7372
+ * and filter / orderby / select / expand. {@link BucketFile} entries include
7373
+ * `isDirectory` so callers can distinguish folders from files.
7374
+ *
7375
+ * The method returns either:
7376
+ * - A NonPaginatedResponse with items array (when no pagination parameters are provided)
7377
+ * - A PaginatedResponse with navigation cursors (when any pagination parameter is provided)
7378
+ *
7379
+ * @param bucketId - The ID of the bucket
7380
+ * @param options - Folder scoping (`folderId` / `folderKey` / `folderPath`) and optional parameters for regex filtering, query options, and pagination
7381
+ * @returns Promise resolving to either an array of files NonPaginatedResponse<BucketFile> or a PaginatedResponse<BucketFile> when pagination options are used.
7382
+ *
7383
+ * @example
7384
+ * ```typescript
7385
+ * import { Buckets } from '@uipath/uipath-typescript/buckets';
7386
+ *
7387
+ * const buckets = new Buckets(sdk);
7388
+ *
7389
+ * // List all files in the bucket
7390
+ * const files = await buckets.getFiles(<bucketId>, { folderId: <folderId> });
7391
+ *
7392
+ * // Filter by regex pattern
7393
+ * const pdfs = await buckets.getFiles(<bucketId>, {
7394
+ * folderId: <folderId>,
7395
+ * fileNameRegex: '.*\\.pdf$'
7396
+ * });
7397
+ *
7398
+ * // First page with pagination
7399
+ * const page1 = await buckets.getFiles(<bucketId>, { folderId: <folderId>, pageSize: 10 });
7400
+ *
7401
+ * // Navigate using cursor
7402
+ * if (page1.hasNextPage) {
7403
+ * const page2 = await buckets.getFiles(<bucketId>, { folderId: <folderId>, cursor: page1.nextCursor });
7404
+ * }
7405
+ *
7406
+ * // Jump to specific page
7407
+ * const page5 = await buckets.getFiles(<bucketId>, {
7408
+ * folderId: <folderId>,
7409
+ * jumpToPage: 5,
7410
+ * pageSize: 10
7411
+ * });
7412
+ * ```
7413
+ */
7414
+ getFiles<T extends BucketGetFilesOptions = BucketGetFilesOptions>(bucketId: number, options?: T): Promise<T extends HasPaginationOptions<T> ? PaginatedResponse<BucketFile> : NonPaginatedResponse<BucketFile>>;
7415
+ /**
7416
+ * Deletes a file from a bucket
7417
+ *
7418
+ * @param bucketId - The ID of the bucket
7419
+ * @param path - The full path to the file to delete
7420
+ * @param options - Folder scoping (`folderId` / `folderKey` / `folderPath`)
7421
+ * @returns Promise resolving when the file is deleted
7422
+ *
7423
+ * @example
7424
+ * ```typescript
7425
+ * import { Buckets } from '@uipath/uipath-typescript/buckets';
7426
+ *
7427
+ * const buckets = new Buckets(sdk);
7428
+ *
7429
+ * // Delete a file from a bucket
7430
+ * await buckets.deleteFile(<bucketId>, '/folder/file.pdf', { folderId: <folderId> });
7431
+ * ```
7432
+ */
7433
+ deleteFile(bucketId: number, path: string, options?: BucketDeleteFileOptions): Promise<void>;
6806
7434
  /**
6807
7435
  * Gets a direct upload URL for a file in the bucket
6808
7436
  *
@@ -7171,6 +7799,17 @@ interface ProcessGetByIdOptions extends BaseOptions {
7171
7799
  */
7172
7800
  interface ProcessGetByNameOptions extends FolderScopedOptions {
7173
7801
  }
7802
+ /**
7803
+ * Options for starting a process. Combines folder scoping
7804
+ * (`folderId` / `folderKey` / `folderPath`) with the OData query options
7805
+ * (`expand`, `select`, `filter`, `orderby`) accepted by the start endpoint.
7806
+ *
7807
+ * Folder scoping is optional in the type — the SDK falls back to the
7808
+ * init-time folderKey (e.g. `<meta name="uipath:folder-key">` in coded-app
7809
+ * deployments). A `ValidationError` is raised when neither is provided.
7810
+ */
7811
+ interface ProcessStartOptions extends FolderScopedOptions, RequestOptions {
7812
+ }
7174
7813
 
7175
7814
  /**
7176
7815
  * Enum for job sub-state
@@ -7707,26 +8346,45 @@ interface ProcessServiceModel {
7707
8346
  */
7708
8347
  getByName(name: string, options?: ProcessGetByNameOptions): Promise<ProcessGetResponse>;
7709
8348
  /**
7710
- * Starts a process with the specified configuration
8349
+ * Starts a process with the specified configuration.
8350
+ *
8351
+ * Folder context can be supplied as `folderId`, `folderKey`, or `folderPath`
8352
+ * inside the options.
7711
8353
  *
7712
8354
  * @param request - Process start configuration
7713
- * @param folderId - Required folder ID
7714
- * @param options - Optional request options
8355
+ * @param options - Folder scoping (`folderId` / `folderKey` / `folderPath`) and optional query parameters (`expand`, `select`, `filter`, `orderby`)
7715
8356
  * @returns Promise resolving to array of started process instances
7716
8357
  * {@link ProcessStartResponse}
7717
8358
  * @example
7718
8359
  * ```typescript
7719
- * // Start a process by process key
7720
- * const result = await processes.start({
7721
- * processKey: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
7722
- * }, <folderId>); // folderId is required
8360
+ * // By folder ID
8361
+ * await processes.start({ processKey: '<processKey>' }, { folderId: <folderId> });
7723
8362
  *
7724
- * // Start a process by name with specific robots
7725
- * const result = await processes.start({
7726
- * processName: "MyProcess"
7727
- * }, <folderId>); // folderId is required
8363
+ * // By folder key (GUID)
8364
+ * await processes.start({ processKey: '<processKey>' }, { folderKey: '5f6dadf1-3677-49dc-8aca-c2999dd4b3ba' });
8365
+ *
8366
+ * // By folder path
8367
+ * await processes.start({ processKey: '<processKey>' }, { folderPath: 'Shared/Finance' });
8368
+ *
8369
+ * // Start by process name (instead of processKey)
8370
+ * await processes.start({ processName: 'MyProcess' }, { folderId: <folderId> });
8371
+ *
8372
+ * // With additional options
8373
+ * await processes.start({ processKey: '<processKey>' }, { folderId: <folderId>, expand: 'Robot' });
7728
8374
  * ```
7729
8375
  */
8376
+ start(request: ProcessStartRequest, options?: ProcessStartOptions): Promise<ProcessStartResponse[]>;
8377
+ /**
8378
+ * Starts a process — positional `folderId` form.
8379
+ *
8380
+ * @deprecated Use the options-object form: `start(request, { folderId })`. See {@link ProcessStartOptions} for the supported options.
8381
+ *
8382
+ * @param request - Process start configuration
8383
+ * @param folderId - Required folder ID (numeric)
8384
+ * @param options - Optional request options
8385
+ * @returns Promise resolving to array of started process instances
8386
+ * {@link ProcessStartResponse}
8387
+ */
7730
8388
  start(request: ProcessStartRequest, folderId: number, options?: RequestOptions): Promise<ProcessStartResponse[]>;
7731
8389
  }
7732
8390
 
@@ -7780,12 +8438,15 @@ declare class ProcessService extends FolderScopedService implements ProcessServi
7780
8438
  */
7781
8439
  getAll<T extends ProcessGetAllOptions = ProcessGetAllOptions>(options?: T): Promise<T extends HasPaginationOptions<T> ? PaginatedResponse<ProcessGetResponse> : NonPaginatedResponse<ProcessGetResponse>>;
7782
8440
  /**
7783
- * Starts a process execution (job)
8441
+ * Starts a process with the specified configuration.
7784
8442
  *
7785
- * @param request - Process start request body
7786
- * @param folderId - Required folder ID
7787
- * @param options - Optional query parameters
7788
- * @returns Promise resolving to the created jobs
8443
+ * Folder context can be supplied as `folderId`, `folderKey`, or `folderPath`
8444
+ * inside the options.
8445
+ *
8446
+ * @param request - Process start configuration
8447
+ * @param options - Folder scoping (`folderId` / `folderKey` / `folderPath`) and optional query parameters (`expand`, `select`, `filter`, `orderby`)
8448
+ * @returns Promise resolving to array of started process instances
8449
+ * {@link ProcessStartResponse}
7789
8450
  *
7790
8451
  * @example
7791
8452
  * ```typescript
@@ -7793,17 +8454,34 @@ declare class ProcessService extends FolderScopedService implements ProcessServi
7793
8454
  *
7794
8455
  * const processes = new Processes(sdk);
7795
8456
  *
7796
- * // Start a process by process key
7797
- * const jobs = await processes.start({
7798
- * processKey: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
7799
- * }, 123); // folderId is required
8457
+ * // By folder ID
8458
+ * await processes.start({ processKey: '<processKey>' }, { folderId: <folderId> });
7800
8459
  *
7801
- * // Start a process by name with specific robots
7802
- * const jobs = await processes.start({
7803
- * processName: "MyProcess"
7804
- * }, 123); // folderId is required
8460
+ * // By folder key (GUID)
8461
+ * await processes.start({ processKey: '<processKey>' }, { folderKey: '5f6dadf1-3677-49dc-8aca-c2999dd4b3ba' });
8462
+ *
8463
+ * // By folder path
8464
+ * await processes.start({ processKey: '<processKey>' }, { folderPath: 'Shared/Finance' });
8465
+ *
8466
+ * // Start by process name (instead of processKey)
8467
+ * await processes.start({ processName: 'MyProcess' }, { folderId: <folderId> });
8468
+ *
8469
+ * // With additional options
8470
+ * await processes.start({ processKey: '<processKey>' }, { folderId: <folderId>, expand: 'Robot' });
7805
8471
  * ```
7806
8472
  */
8473
+ start(request: ProcessStartRequest, options?: ProcessStartOptions): Promise<ProcessStartResponse[]>;
8474
+ /**
8475
+ * Starts a process — positional `folderId` form.
8476
+ *
8477
+ * @deprecated Use the options-object form: `start(request, { folderId })`. See {@link ProcessStartOptions} for the supported options.
8478
+ *
8479
+ * @param request - Process start configuration
8480
+ * @param folderId - Required folder ID (numeric)
8481
+ * @param options - Optional request options
8482
+ * @returns Promise resolving to array of started process instances
8483
+ * {@link ProcessStartResponse}
8484
+ */
7807
8485
  start(request: ProcessStartRequest, folderId: number, options?: RequestOptions): Promise<ProcessStartResponse[]>;
7808
8486
  /**
7809
8487
  * Gets a single process by ID
@@ -15034,4 +15712,4 @@ declare const telemetryClient: {
15034
15712
  };
15035
15713
 
15036
15714
  export { AgentMap, 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, ProcessIncidentSeverity, ProcessIncidentStatus, ProcessIncidentType, QueryFilterOperator, RateLimitError, ReferenceType, RemoteControlAccess, RobotSize, RuntimeType, SLADurationUnit, ServerError, ServerlessJobType, SlaSummaryStatus, SortOrder, StageTaskType, StartStrategy, StopStrategy, TargetFramework, TaskActivityType, TaskPriority, TaskSlaCriteria, TaskSlaStatus, TaskSourceName, TaskStatus, TaskType, TaskUserType, TimeInterval, UiPath, UiPathError, UiPathMetaTags, UserSettingsMap, ValidationError, createAgentWithMethods, createCaseInstanceWithMethods, createConversationWithMethods, createEntityWithMethods, createJobWithMethods, createProcessInstanceWithMethods, createProcessWithMethods, createTaskWithMethods, getAppBase, getAsset, getErrorDetails, getLimitedPageSize, isAuthenticationError, isAuthorizationError, isNetworkError, isNotFoundError, isRateLimitError, isServerError, isUiPathError, isValidationError, loadFromMetaTags, telemetryClient, track, trackEvent };
15037
- export type { AgentAppearance, AgentConversationServiceModel, AgentCreateConversationOptions, AgentGetByIdResponse, AgentGetResponse, AgentInput, AgentMethods, AgentStartingPrompt, ArgumentMetadata, AssetGetAllOptions, AssetGetByIdOptions, AssetGetByNameOptions, AssetGetResponse, AssetServiceModel, AsyncInputStream, AsyncInputStreamChunkEvent, AsyncInputStreamEndEvent, AsyncInputStreamEvent, AsyncInputStreamStartEvent, AsyncToolCallStream, AttachmentGetByIdOptions, AttachmentResponse, AttachmentServiceModel, BaseConfig, BaseOptions, BaseProcessStartRequest, BlobItem, BodyOptions, BpmnXmlString, BucketGetAllOptions, BucketGetByIdOptions, BucketGetByNameOptions, BucketGetFileMetaDataOptions, BucketGetFileMetaDataResponse, BucketGetFileMetaDataWithPaginationOptions, BucketGetReadUriOptions, BucketGetResponse, BucketGetUriOptions, BucketGetUriResponse, BucketServiceModel, BucketUploadFileOptions, BucketUploadResponse, CaseAppConfig, CaseAppOverview, CaseGetAllResponse, CaseGetStageResponse, CaseGetTopDurationResponse, CaseGetTopFaultedCountResponse, CaseGetTopRunCountResponse, CaseInstanceExecutionHistoryResponse, CaseInstanceGetAllOptions, CaseInstanceGetAllWithPaginationOptions, CaseInstanceGetResponse, CaseInstanceMethods, CaseInstanceOperationOptions, CaseInstanceOperationResponse, CaseInstanceReopenOptions, CaseInstanceRun, CaseInstanceSlaSummaryOptions, CaseInstanceStageSLAOptions, CaseInstanceStageSLAResponse, CaseInstanceStageSLAStage, CaseInstancesServiceModel, CasesServiceModel, ChoiceSetGetAllResponse, ChoiceSetGetByIdOptions, ChoiceSetGetResponse, ChoiceSetServiceModel, 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, ElementExecutionMetadata, ElementMetaData, ElementRunMetadata, EntityAggregate, EntityBatchInsertOptions, EntityBatchInsertResponse, EntityCreateFieldOptions, EntityCreateOptions, EntityDeleteAttachmentResponse, EntityDeleteOptions, EntityDeleteRecordsOptions, EntityDeleteResponse, EntityFieldBase, EntityFieldUpdateOptions, EntityFileType, EntityGetAllRecordsOptions, EntityGetRecordByIdOptions, EntityGetRecordsByIdOptions, EntityGetResponse, 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, 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, HasPaginationOptions, Headers, HttpMethod, InlineOrExternalValue, InlineValue, InstanceStatusTimelineResponse, Interrupt, InterruptEndEvent, InterruptEvent, InterruptStartEvent, JSONArray, JSONObject, JSONPrimitive, JSONValue, JobAttachment, JobError, JobGetAllOptions, JobGetByIdOptions, JobGetResponse, JobMethods, JobResumeOptions, JobServiceModel, JobStopOptions, LabelUpdatedEvent, Machine, MaestroProcessGetAllResponse, MaestroProcessesServiceModel, MakeOptional, MakeRequired, Message, MessageEndEvent, MessageEvent, MessageGetResponse, MessageServiceModel, MessageStartEvent, MessageStream, MetaData, MetaEvent, NonPaginatedResponse, OAuthFields, OperationResponse, PaginatedResponse, PaginationCursor, PaginationMetadata, PaginationMethodUnion, PaginationOptions, PartialUiPathConfig, 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, 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, SqlType, StageSLA, StageTask, 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, UiPathSDKConfig, UserLoginInfo, UserSettingsGetResponse, UserSettingsServiceModel, UserSettingsUpdateOptions, UserSettingsUpdateResponse };
15715
+ export type { AgentAppearance, AgentConversationServiceModel, AgentCreateConversationOptions, AgentGetByIdResponse, AgentGetResponse, AgentInput, AgentMethods, AgentStartingPrompt, ArgumentMetadata, AssetGetAllOptions, AssetGetByIdOptions, AssetGetByNameOptions, AssetGetResponse, AssetServiceModel, 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, BucketGetResponse, BucketGetUriOptions, BucketGetUriResponse, BucketServiceModel, BucketUploadFileOptions, BucketUploadResponse, CaseAppConfig, CaseAppOverview, CaseGetAllResponse, CaseGetStageResponse, CaseGetTopDurationResponse, CaseGetTopFaultedCountResponse, CaseGetTopRunCountResponse, CaseInstanceExecutionHistoryResponse, CaseInstanceGetAllOptions, CaseInstanceGetAllWithPaginationOptions, CaseInstanceGetResponse, CaseInstanceMethods, CaseInstanceOperationOptions, CaseInstanceOperationResponse, CaseInstanceReopenOptions, CaseInstanceRun, CaseInstanceSlaSummaryOptions, CaseInstanceStageSLAOptions, CaseInstanceStageSLAResponse, CaseInstanceStageSLAStage, CaseInstancesServiceModel, CasesServiceModel, ChoiceSetCreateOptions, ChoiceSetGetAllResponse, ChoiceSetGetByIdOptions, ChoiceSetGetResponse, ChoiceSetServiceModel, ChoiceSetUpdateOptions, ChoiceSetValueInsertOptions, ChoiceSetValueInsertResponse, 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, ElementExecutionMetadata, ElementGetTopFailedCountResponse, ElementMetaData, ElementRunMetadata, EntityAggregate, EntityBatchInsertOptions, EntityBatchInsertResponse, EntityCreateFieldOptions, EntityCreateOptions, EntityDeleteAttachmentResponse, EntityDeleteOptions, EntityDeleteRecordsOptions, EntityDeleteResponse, EntityFieldBase, EntityFieldUpdateOptions, EntityFileType, EntityGetAllRecordsOptions, EntityGetRecordByIdOptions, EntityGetRecordsByIdOptions, EntityGetResponse, 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, 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, HasPaginationOptions, Headers, HttpMethod, InlineOrExternalValue, InlineValue, InstanceStatusTimelineResponse, Interrupt, InterruptEndEvent, InterruptEvent, InterruptStartEvent, JSONArray, JSONObject, JSONPrimitive, JSONValue, JobAttachment, JobError, JobGetAllOptions, JobGetByIdOptions, JobGetResponse, JobMethods, JobResumeOptions, JobServiceModel, JobStopOptions, LabelUpdatedEvent, Machine, MaestroProcessGetAllResponse, MaestroProcessesServiceModel, MakeOptional, MakeRequired, Message, MessageEndEvent, MessageEvent, MessageGetResponse, MessageServiceModel, MessageStartEvent, MessageStream, MetaData, MetaEvent, NonPaginatedResponse, OAuthFields, OperationResponse, PaginatedResponse, PaginationCursor, PaginationMetadata, PaginationMethodUnion, PaginationOptions, PartialUiPathConfig, 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, SqlType, StageSLA, StageTask, 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, UiPathSDKConfig, UserLoginInfo, UserSettingsGetResponse, UserSettingsServiceModel, UserSettingsUpdateOptions, UserSettingsUpdateResponse };