@uipath/uipath-typescript 1.3.5 → 1.3.7

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 +1 -1
  2. package/dist/assets/index.cjs +204 -2
  3. package/dist/assets/index.d.ts +112 -13
  4. package/dist/assets/index.mjs +204 -2
  5. package/dist/attachments/index.cjs +3 -2
  6. package/dist/attachments/index.d.ts +7 -0
  7. package/dist/attachments/index.mjs +3 -2
  8. package/dist/buckets/index.cjs +172 -2
  9. package/dist/buckets/index.d.ts +56 -12
  10. package/dist/buckets/index.mjs +172 -2
  11. package/dist/cases/index.cjs +3 -2
  12. package/dist/cases/index.d.ts +7 -0
  13. package/dist/cases/index.mjs +3 -2
  14. package/dist/conversational-agent/index.cjs +196 -81
  15. package/dist/conversational-agent/index.d.ts +326 -80
  16. package/dist/conversational-agent/index.mjs +195 -80
  17. package/dist/core/index.cjs +44 -7
  18. package/dist/core/index.d.ts +11 -1
  19. package/dist/core/index.mjs +44 -7
  20. package/dist/entities/index.cjs +35 -6
  21. package/dist/entities/index.d.ts +101 -11
  22. package/dist/entities/index.mjs +36 -7
  23. package/dist/feedback/index.cjs +40 -5
  24. package/dist/feedback/index.d.ts +59 -1
  25. package/dist/feedback/index.mjs +40 -5
  26. package/dist/index.cjs +312 -14
  27. package/dist/index.d.ts +515 -32
  28. package/dist/index.mjs +313 -15
  29. package/dist/index.umd.js +312 -14
  30. package/dist/jobs/index.cjs +172 -2
  31. package/dist/jobs/index.d.ts +67 -23
  32. package/dist/jobs/index.mjs +172 -2
  33. package/dist/maestro-processes/index.cjs +3 -2
  34. package/dist/maestro-processes/index.d.ts +7 -0
  35. package/dist/maestro-processes/index.mjs +3 -2
  36. package/dist/processes/index.cjs +240 -3
  37. package/dist/processes/index.d.ts +124 -2
  38. package/dist/processes/index.mjs +240 -3
  39. package/dist/queues/index.cjs +172 -2
  40. package/dist/queues/index.d.ts +56 -12
  41. package/dist/queues/index.mjs +172 -2
  42. package/dist/tasks/index.cjs +3 -2
  43. package/dist/tasks/index.d.ts +7 -0
  44. package/dist/tasks/index.mjs +3 -2
  45. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -49,6 +49,10 @@ interface IUiPath {
49
49
  * For OAuth, this handles the authentication flow.
50
50
  */
51
51
  initialize(): Promise<void>;
52
+ /**
53
+ * Enables the UiPath login picker during OAuth sign-in.
54
+ */
55
+ setMultiLogin(): void;
52
56
  /**
53
57
  * Check if the SDK has been initialized
54
58
  */
@@ -126,6 +130,12 @@ declare class UiPath$1 implements IUiPath {
126
130
  * If no config was provided in constructor, loads from meta tags.
127
131
  */
128
132
  initialize(): Promise<void>;
133
+ /**
134
+ * Enables the UiPath login picker during OAuth sign-in.
135
+ *
136
+ * @internal
137
+ */
138
+ setMultiLogin(): void;
129
139
  /**
130
140
  * Check if the SDK has been initialized
131
141
  */
@@ -378,6 +388,13 @@ interface ApiResponse<T> {
378
388
  */
379
389
  declare class BaseService {
380
390
  #private;
391
+ /**
392
+ * SDK configuration (read-only). Available to subclasses so they can
393
+ * fall back to init-time defaults like `folderKey`.
394
+ */
395
+ protected readonly config: {
396
+ folderKey?: string;
397
+ };
381
398
  /**
382
399
  * Creates a base service instance with dependency injection.
383
400
  *
@@ -633,7 +650,31 @@ interface EntityQuerySortOption {
633
650
  isDescending?: boolean;
634
651
  }
635
652
  /**
636
- * Options for querying entity records with filters, sorting, and pagination.
653
+ * Aggregate functions supported by the Data Fabric query API.
654
+ */
655
+ declare enum EntityAggregateFunction {
656
+ Count = "COUNT",
657
+ Sum = "SUM",
658
+ Avg = "AVG",
659
+ Min = "MIN",
660
+ Max = "MAX"
661
+ }
662
+ /**
663
+ * A single aggregate expression to apply during a query.
664
+ *
665
+ * Aggregate results are returned as fields on each item in the response,
666
+ * keyed by `alias` when provided.
667
+ */
668
+ interface EntityAggregate {
669
+ /** Aggregate function to apply */
670
+ function: EntityAggregateFunction;
671
+ /** Field to aggregate on. For `COUNT`, any non-null field works (typically `Id`). */
672
+ field: string;
673
+ /** Optional alias for the aggregate result column. */
674
+ alias?: string;
675
+ }
676
+ /**
677
+ * Options for querying entity records with filters, sorting, aggregates, and pagination.
637
678
  *
638
679
  * Use `pageSize`, `cursor`, or `jumpToPage` for SDK-managed pagination.
639
680
  * The SDK computes and manages offset parameters automatically.
@@ -647,6 +688,10 @@ type EntityQueryRecordsOptions = {
647
688
  sortOptions?: EntityQuerySortOption[];
648
689
  /** Level of entity expansion for related fields (default: 0) */
649
690
  expansionLevel?: number;
691
+ /** Aggregate expressions (COUNT, SUM, AVG, MIN, MAX) to apply across the result set. */
692
+ aggregates?: EntityAggregate[];
693
+ /** Field names to group aggregate results by. */
694
+ groupBy?: string[];
650
695
  } & PaginationOptions;
651
696
  /**
652
697
  * Response from querying entity records
@@ -1326,15 +1371,15 @@ interface EntityServiceModel {
1326
1371
  */
1327
1372
  deleteRecordById(entityId: string, recordId: string): Promise<void>;
1328
1373
  /**
1329
- * Queries entity records with filters, sorting, and SDK-managed pagination
1374
+ * Queries entity records with filters, sorting, aggregates, and SDK-managed pagination
1330
1375
  *
1331
1376
  * @param id - UUID of the entity
1332
- * @param options - Query options including filterGroup, selectedFields, sortOptions, and pagination
1377
+ * @param options - Query options including filterGroup, selectedFields, sortOptions, aggregates, groupBy, and pagination
1333
1378
  * @returns Promise resolving to {@link NonPaginatedResponse} without pagination options,
1334
1379
  * or {@link PaginatedResponse} when `pageSize`, `cursor`, or `jumpToPage` are provided
1335
1380
  * @example
1336
1381
  * ```typescript
1337
- * import { Entities, LogicalOperator, QueryFilterOperator } from '@uipath/uipath-typescript/entities';
1382
+ * import { Entities, LogicalOperator, QueryFilterOperator, EntityAggregateFunction } from '@uipath/uipath-typescript/entities';
1338
1383
  *
1339
1384
  * const entities = new Entities(sdk);
1340
1385
  *
@@ -1353,6 +1398,23 @@ interface EntityServiceModel {
1353
1398
  * if (page1.hasNextPage) {
1354
1399
  * const page2 = await entities.queryRecordsById(<id>, { cursor: page1.nextCursor });
1355
1400
  * }
1401
+ *
1402
+ * // Aggregate: count of records per status
1403
+ * await entities.queryRecordsById(<id>, {
1404
+ * selectedFields: ["status"],
1405
+ * groupBy: ["status"],
1406
+ * aggregates: [
1407
+ * { function: EntityAggregateFunction.Count, field: "Id", alias: "total" },
1408
+ * ],
1409
+ * });
1410
+ *
1411
+ * // Aggregate: total sum and average across all records (no grouping)
1412
+ * await entities.queryRecordsById(<id>, {
1413
+ * aggregates: [
1414
+ * { function: EntityAggregateFunction.Sum, field: "amount", alias: "totalAmount" },
1415
+ * { function: EntityAggregateFunction.Avg, field: "amount", alias: "avgAmount" },
1416
+ * ],
1417
+ * });
1356
1418
  * ```
1357
1419
  */
1358
1420
  queryRecordsById<T extends EntityQueryRecordsOptions = EntityQueryRecordsOptions>(id: string, options?: T): Promise<T extends HasPaginationOptions<T> ? PaginatedResponse<EntityRecord> : NonPaginatedResponse<EntityRecord>>;
@@ -1702,13 +1764,17 @@ interface EntityMethods {
1702
1764
  */
1703
1765
  batchInsert(data: Record<string, any>[], options?: EntityBatchInsertOptions): Promise<EntityBatchInsertResponse>;
1704
1766
  /**
1705
- * Queries records in this entity with filters, sorting, and SDK-managed pagination
1767
+ * Queries records in this entity with filters, sorting, aggregates, and SDK-managed pagination
1706
1768
  *
1707
- * @param options - Query options including filterGroup, selectedFields, sortOptions, and pagination
1769
+ * @param options - Query options including filterGroup, selectedFields, sortOptions, aggregates, groupBy, and pagination
1708
1770
  * @returns Promise resolving to {@link NonPaginatedResponse} without pagination options,
1709
1771
  * or {@link PaginatedResponse} when `pageSize`, `cursor`, or `jumpToPage` are provided
1710
1772
  * @example
1711
1773
  * ```typescript
1774
+ * import { Entities, LogicalOperator, QueryFilterOperator, EntityAggregateFunction } from '@uipath/uipath-typescript/entities';
1775
+ *
1776
+ * const entities = new Entities(sdk);
1777
+ *
1712
1778
  * const entity = await entities.getById(<entityId>);
1713
1779
  * const result = await entity.queryRecords({
1714
1780
  * filterGroup: {
@@ -1718,6 +1784,23 @@ interface EntityMethods {
1718
1784
  * sortOptions: [{ fieldName: "createdTime", isDescending: true }],
1719
1785
  * });
1720
1786
  * console.log(`Found ${result.totalCount} records`);
1787
+ *
1788
+ * // Aggregate: count of records per status
1789
+ * await entity.queryRecords({
1790
+ * selectedFields: ["status"],
1791
+ * groupBy: ["status"],
1792
+ * aggregates: [
1793
+ * { function: EntityAggregateFunction.Count, field: "Id", alias: "total" },
1794
+ * ],
1795
+ * });
1796
+ *
1797
+ * // Aggregate: total sum and average across all records (no grouping)
1798
+ * await entity.queryRecords({
1799
+ * aggregates: [
1800
+ * { function: EntityAggregateFunction.Sum, field: "amount", alias: "totalAmount" },
1801
+ * { function: EntityAggregateFunction.Avg, field: "amount", alias: "avgAmount" },
1802
+ * ],
1803
+ * });
1721
1804
  * ```
1722
1805
  */
1723
1806
  queryRecords<T extends EntityQueryRecordsOptions = EntityQueryRecordsOptions>(options?: T): Promise<T extends HasPaginationOptions<T> ? PaginatedResponse<EntityRecord> : NonPaginatedResponse<EntityRecord>>;
@@ -2050,16 +2133,16 @@ declare class EntityService extends BaseService implements EntityServiceModel {
2050
2133
  */
2051
2134
  getAll(): Promise<EntityGetResponse[]>;
2052
2135
  /**
2053
- * Queries entity records with filters, sorting, and pagination
2136
+ * Queries entity records with filters, sorting, aggregates, and pagination
2054
2137
  *
2055
2138
  * @param id - UUID of the entity
2056
- * @param options - Query options including filterGroup, selectedFields, sortOptions, and pagination
2139
+ * @param options - Query options including filterGroup, selectedFields, sortOptions, aggregates, groupBy, and pagination
2057
2140
  * @returns Promise resolving to {@link NonPaginatedResponse} without pagination options,
2058
2141
  * or {@link PaginatedResponse} when `pageSize`, `cursor`, or `jumpToPage` are provided
2059
2142
  *
2060
2143
  * @example
2061
2144
  * ```typescript
2062
- * import { Entities, LogicalOperator, QueryFilterOperator } from '@uipath/uipath-typescript/entities';
2145
+ * import { Entities, LogicalOperator, QueryFilterOperator, EntityAggregateFunction } from '@uipath/uipath-typescript/entities';
2063
2146
  *
2064
2147
  * const entities = new Entities(sdk);
2065
2148
  *
@@ -2083,6 +2166,23 @@ declare class EntityService extends BaseService implements EntityServiceModel {
2083
2166
  * if (page1.hasNextPage) {
2084
2167
  * const page2 = await entities.queryRecordsById("<entityId>", { cursor: page1.nextCursor });
2085
2168
  * }
2169
+ *
2170
+ * // Aggregate: count of records per status
2171
+ * await entities.queryRecordsById("<entityId>", {
2172
+ * selectedFields: ["status"],
2173
+ * groupBy: ["status"],
2174
+ * aggregates: [
2175
+ * { function: EntityAggregateFunction.Count, field: "Id", alias: "total" },
2176
+ * ],
2177
+ * });
2178
+ *
2179
+ * // Aggregate: total sum and average across all records (no grouping)
2180
+ * await entities.queryRecordsById("<entityId>", {
2181
+ * aggregates: [
2182
+ * { function: EntityAggregateFunction.Sum, field: "amount", alias: "totalAmount" },
2183
+ * { function: EntityAggregateFunction.Avg, field: "amount", alias: "avgAmount" },
2184
+ * ],
2185
+ * });
2086
2186
  * ```
2087
2187
  */
2088
2188
  queryRecordsById<T extends EntityQueryRecordsOptions = EntityQueryRecordsOptions>(id: string, options?: T): Promise<T extends HasPaginationOptions<T> ? PaginatedResponse<EntityRecord> : NonPaginatedResponse<EntityRecord>>;
@@ -2936,6 +3036,20 @@ interface RequestOptions extends BaseOptions {
2936
3036
  filter?: string;
2937
3037
  orderby?: string;
2938
3038
  }
3039
+ /**
3040
+ * Options that scope a name-based lookup (e.g. `getByName`) to a folder.
3041
+ * Provide one of `folderId`, `folderKey`, or `folderPath`. When more than
3042
+ * one is supplied, all are forwarded; the server applies precedence
3043
+ * `folderPath` > `folderKey` > `folderId`.
3044
+ */
3045
+ interface FolderScopedOptions extends BaseOptions {
3046
+ /** Numeric folder ID. */
3047
+ folderId?: number;
3048
+ /** Folder key (GUID-formatted string). */
3049
+ folderKey?: string;
3050
+ /** Slash-delimited folder path, e.g. `'Shared/Finance'`. */
3051
+ folderPath?: string;
3052
+ }
2939
3053
 
2940
3054
  /**
2941
3055
  * Service for managing UiPath Maestro Process instances
@@ -4868,6 +4982,29 @@ declare class FolderScopedService extends BaseService {
4868
4982
  * @returns Promise resolving to an array of resources
4869
4983
  */
4870
4984
  protected _getByFolder<T, R = T>(endpoint: string, folderId: number, options?: Record<string, any>, transformFn?: (item: T) => R): Promise<R[]>;
4985
+ /**
4986
+ * Look up a single resource by name on a folder-scoped OData collection.
4987
+ *
4988
+ * Shared by `getByName` implementations across services (Assets, Processes, etc).
4989
+ * Handles:
4990
+ * - Name validation via `validateName`
4991
+ * - Folder header resolution via `resolveFolderHeaders` (folderId → ID/key
4992
+ * header by type, folderPath → encoded path header, falls back to
4993
+ * init-time `config.folderKey` from the `uipath:folder-key` meta tag)
4994
+ * - OData `$filter=Name eq '…'` with single-quote escaping + `$top=1`
4995
+ * - Empty-result → `NotFoundError` with folder context in the message
4996
+ *
4997
+ * The transform step is caller-provided because each resource has its own
4998
+ * PascalCase → camelCase field mapping.
4999
+ *
5000
+ * @param resourceType - Resource label used in validation + error messages (e.g. 'Asset', 'Process')
5001
+ * @param endpoint - Folder-scoped OData collection endpoint
5002
+ * @param name - Resource name to search for
5003
+ * @param options - Folder scoping (`folderId` / `folderKey` / `folderPath`) + OData query options (`expand`, `select`)
5004
+ * @param transform - Maps a raw OData item to the typed response (e.g. PascalCase → camelCase via field map)
5005
+ * @throws ValidationError when inputs are malformed; NotFoundError when no match
5006
+ */
5007
+ protected getByNameLookup<TRaw extends object, T>(resourceType: string, endpoint: string, name: string, options: FolderScopedOptions, transform: (raw: TRaw) => T): Promise<T>;
4871
5008
  }
4872
5009
 
4873
5010
  /**
@@ -4933,6 +5070,11 @@ type AssetGetAllOptions = RequestOptions & PaginationOptions & {
4933
5070
  */
4934
5071
  interface AssetGetByIdOptions extends BaseOptions {
4935
5072
  }
5073
+ /**
5074
+ * Options for getting a single asset by name
5075
+ */
5076
+ interface AssetGetByNameOptions extends FolderScopedOptions {
5077
+ }
4936
5078
 
4937
5079
  /**
4938
5080
  * Service for managing UiPath Assets.
@@ -4994,6 +5136,29 @@ interface AssetServiceModel {
4994
5136
  * ```
4995
5137
  */
4996
5138
  getById(id: number, folderId: number, options?: AssetGetByIdOptions): Promise<AssetGetResponse>;
5139
+ /**
5140
+ * Retrieves a single asset by name.
5141
+ *
5142
+ * @param name - Asset name to search for
5143
+ * @param options - Folder scoping (`folderId` / `folderKey` / `folderPath`) and optional query parameters (`expand`, `select`)
5144
+ * @returns Promise resolving to a single asset
5145
+ * {@link AssetGetResponse}
5146
+ * @example
5147
+ * ```typescript
5148
+ * // By folder ID
5149
+ * await assets.getByName('ApiKey', { folderId: 123 });
5150
+ *
5151
+ * // By folder key (GUID)
5152
+ * await assets.getByName('ApiKey', { folderKey: '5f6dadf1-3677-49dc-8aca-c2999dd4b3ba' });
5153
+ *
5154
+ * // By folder path
5155
+ * await assets.getByName('ApiKey', { folderPath: 'Shared/Finance' });
5156
+ *
5157
+ * // With expand
5158
+ * await assets.getByName('ApiKey', { folderPath: 'Shared/Finance', expand: 'keyValueList' });
5159
+ * ```
5160
+ */
5161
+ getByName(name: string, options?: AssetGetByNameOptions): Promise<AssetGetResponse>;
4997
5162
  }
4998
5163
 
4999
5164
  /**
@@ -5054,6 +5219,33 @@ declare class AssetService extends FolderScopedService implements AssetServiceMo
5054
5219
  * ```
5055
5220
  */
5056
5221
  getById(id: number, folderId: number, options?: AssetGetByIdOptions): Promise<AssetGetResponse>;
5222
+ /**
5223
+ * Retrieves a single asset by name.
5224
+ *
5225
+ * @param name - Asset name to search for
5226
+ * @param options - Folder scoping (`folderId` / `folderKey` / `folderPath`) and optional query parameters (`expand`, `select`)
5227
+ * @returns Promise resolving to a single asset
5228
+ * {@link AssetGetResponse}
5229
+ * @example
5230
+ * ```typescript
5231
+ * import { Assets } from '@uipath/uipath-typescript/assets';
5232
+ *
5233
+ * const assets = new Assets(sdk);
5234
+ *
5235
+ * // By folder ID
5236
+ * await assets.getByName('ApiKey', { folderId: 123 });
5237
+ *
5238
+ * // By folder key (GUID)
5239
+ * await assets.getByName('ApiKey', { folderKey: '5f6dadf1-3677-49dc-8aca-c2999dd4b3ba' });
5240
+ *
5241
+ * // By folder path
5242
+ * await assets.getByName('ApiKey', { folderPath: 'Shared/Finance' });
5243
+ *
5244
+ * // With expand
5245
+ * await assets.getByName('ApiKey', { folderPath: 'Shared/Finance', expand: 'keyValueList' });
5246
+ * ```
5247
+ */
5248
+ getByName(name: string, options?: AssetGetByNameOptions): Promise<AssetGetResponse>;
5057
5249
  }
5058
5250
 
5059
5251
  declare enum BucketOptions {
@@ -5903,6 +6095,11 @@ type ProcessGetAllOptions = RequestOptions & PaginationOptions & {
5903
6095
  */
5904
6096
  interface ProcessGetByIdOptions extends BaseOptions {
5905
6097
  }
6098
+ /**
6099
+ * Options for getting a single process by name
6100
+ */
6101
+ interface ProcessGetByNameOptions extends FolderScopedOptions {
6102
+ }
5906
6103
 
5907
6104
  /**
5908
6105
  * Enum for job sub-state
@@ -6415,6 +6612,29 @@ interface ProcessServiceModel {
6415
6612
  * ```
6416
6613
  */
6417
6614
  getById(id: number, folderId: number, options?: ProcessGetByIdOptions): Promise<ProcessGetResponse>;
6615
+ /**
6616
+ * Retrieves a single process by name.
6617
+ *
6618
+ * @param name - Process name to search for
6619
+ * @param options - Folder scoping (`folderId` / `folderKey` / `folderPath`) and optional query parameters (`expand`, `select`)
6620
+ * @returns Promise resolving to a single process
6621
+ * {@link ProcessGetResponse}
6622
+ * @example
6623
+ * ```typescript
6624
+ * // By folder ID
6625
+ * await processes.getByName('MyProcess', { folderId: 123 });
6626
+ *
6627
+ * // By folder key (GUID)
6628
+ * await processes.getByName('MyProcess', { folderKey: '5f6dadf1-3677-49dc-8aca-c2999dd4b3ba' });
6629
+ *
6630
+ * // By folder path
6631
+ * await processes.getByName('MyProcess', { folderPath: 'Shared/Finance' });
6632
+ *
6633
+ * // With expand
6634
+ * await processes.getByName('MyProcess', { folderPath: 'Shared/Finance', expand: 'entryPoints' });
6635
+ * ```
6636
+ */
6637
+ getByName(name: string, options?: ProcessGetByNameOptions): Promise<ProcessGetResponse>;
6418
6638
  /**
6419
6639
  * Starts a process with the specified configuration
6420
6640
  *
@@ -6442,7 +6662,7 @@ interface ProcessServiceModel {
6442
6662
  /**
6443
6663
  * Service for interacting with UiPath Orchestrator Processes API
6444
6664
  */
6445
- declare class ProcessService extends BaseService implements ProcessServiceModel {
6665
+ declare class ProcessService extends FolderScopedService implements ProcessServiceModel {
6446
6666
  /**
6447
6667
  * Gets all processes across folders with optional filtering and folder scoping
6448
6668
  *
@@ -6533,6 +6753,33 @@ declare class ProcessService extends BaseService implements ProcessServiceModel
6533
6753
  * ```
6534
6754
  */
6535
6755
  getById(id: number, folderId: number, options?: ProcessGetByIdOptions): Promise<ProcessGetResponse>;
6756
+ /**
6757
+ * Retrieves a single process by name.
6758
+ *
6759
+ * @param name - Process name to search for
6760
+ * @param options - Folder scoping (`folderId` / `folderKey` / `folderPath`) and optional query parameters (`expand`, `select`)
6761
+ * @returns Promise resolving to a single process
6762
+ * {@link ProcessGetResponse}
6763
+ * @example
6764
+ * ```typescript
6765
+ * import { Processes } from '@uipath/uipath-typescript/processes';
6766
+ *
6767
+ * const processes = new Processes(sdk);
6768
+ *
6769
+ * // By folder ID
6770
+ * await processes.getByName('MyProcess', { folderId: 123 });
6771
+ *
6772
+ * // By folder key (GUID)
6773
+ * await processes.getByName('MyProcess', { folderKey: '5f6dadf1-3677-49dc-8aca-c2999dd4b3ba' });
6774
+ *
6775
+ * // By folder path
6776
+ * await processes.getByName('MyProcess', { folderPath: 'Shared/Finance' });
6777
+ *
6778
+ * // With expand
6779
+ * await processes.getByName('MyProcess', { folderPath: 'Shared/Finance', expand: 'entryPoints' });
6780
+ * ```
6781
+ */
6782
+ getByName(name: string, options?: ProcessGetByNameOptions): Promise<ProcessGetResponse>;
6536
6783
  }
6537
6784
 
6538
6785
  /**
@@ -7161,6 +7408,14 @@ declare class UiPath extends UiPath$1 {
7161
7408
  get assets(): AssetService;
7162
7409
  }
7163
7410
 
7411
+ /**
7412
+ * Meta-tag-derived config. Extends {@link PartialUiPathConfig} with
7413
+ * `folderKey`, which is sourced only from `<meta name="uipath:folder-key">`
7414
+ * (not accepted via the public SDK constructor).
7415
+ */
7416
+ type MetaTagConfig = PartialUiPathConfig & {
7417
+ folderKey?: string;
7418
+ };
7164
7419
  /**
7165
7420
  * Load configuration from HTML meta tags injected at runtime.
7166
7421
  * These meta tags are injected by @uipath/coded-apps during build
@@ -7168,7 +7423,7 @@ declare class UiPath extends UiPath$1 {
7168
7423
  *
7169
7424
  * Returns partial config with values found, or null if no meta tags present.
7170
7425
  */
7171
- declare function loadFromMetaTags(): PartialUiPathConfig | null;
7426
+ declare function loadFromMetaTags(): MetaTagConfig | null;
7172
7427
 
7173
7428
  /**
7174
7429
  * Constants for Conversational Agent
@@ -8039,7 +8294,34 @@ interface ToolCallStartEvent {
8039
8294
  * Optional metadata pertaining to the tool call.
8040
8295
  */
8041
8296
  metaData?: MetaData;
8297
+ /**
8298
+ * Indicates that the tool call requires user confirmation before execution.
8299
+ * When true, the client should render a confirmation UI and respond with a
8300
+ * `confirmToolCall` event on the same tool call.
8301
+ */
8302
+ requireConfirmation?: boolean;
8303
+ /**
8304
+ * JSON schema describing the tool's input parameters. Present when
8305
+ * `requireConfirmation` is true so the client can render an editable form.
8306
+ */
8307
+ inputSchema?: JSONValue;
8042
8308
  }
8309
+ /**
8310
+ * Sent by the client to approve or reject a tool call that was emitted with
8311
+ * `requireConfirmation: true`. Carries the user's decision and, when approved,
8312
+ * the (possibly edited) input the tool should execute with.
8313
+ *
8314
+ * `input` is required when `approved` is `true` and optional when `approved`
8315
+ * is `false`. The discriminated union enforces this at compile time so
8316
+ * `{ approved: true }` (no `input`) is a type error.
8317
+ */
8318
+ type ToolCallConfirmationEvent = {
8319
+ approved: true;
8320
+ input: JSONValue;
8321
+ } | {
8322
+ approved: false;
8323
+ input?: JSONValue;
8324
+ };
8043
8325
  /**
8044
8326
  * Signals the end of a tool call.
8045
8327
  */
@@ -8100,6 +8382,11 @@ interface ToolCallEvent {
8100
8382
  * Signals the end of a tool call.
8101
8383
  */
8102
8384
  endToolCall?: ToolCallEndEvent;
8385
+ /**
8386
+ * Signals the user's approve/reject decision for a tool call that was
8387
+ * emitted with `requireConfirmation: true`.
8388
+ */
8389
+ confirmToolCall?: ToolCallConfirmationEvent;
8103
8390
  /**
8104
8391
  * Allows additional events to be sent in the context of the enclosing event stream.
8105
8392
  */
@@ -8111,6 +8398,11 @@ interface ToolCallEvent {
8111
8398
  }
8112
8399
  /**
8113
8400
  * Schema for tool call confirmation interrupt value.
8401
+ *
8402
+ * @deprecated Tool call confirmation now travels on {@link ToolCallStartEvent} via
8403
+ * `requireConfirmation: true` / `inputSchema` and is responded to with
8404
+ * {@link ToolCallConfirmationEvent}. This shape is retained for agents on the legacy
8405
+ * runtime that still emit confirmations as interrupts.
8114
8406
  */
8115
8407
  interface ToolCallConfirmationValue {
8116
8408
  /**
@@ -8132,6 +8424,10 @@ interface ToolCallConfirmationValue {
8132
8424
  }
8133
8425
  /**
8134
8426
  * Schema for tool call confirmation end value.
8427
+ *
8428
+ * @deprecated Confirmation responses now use {@link ToolCallConfirmationEvent} (sent via
8429
+ * {@link ToolCallStream.sendToolCallConfirm}). This shape is retained for agents on the
8430
+ * legacy runtime that consume confirmations through the interrupt-end channel.
8135
8431
  */
8136
8432
  interface ToolCallConfirmationEndValue {
8137
8433
  /**
@@ -8145,6 +8441,11 @@ interface ToolCallConfirmationEndValue {
8145
8441
  }
8146
8442
  /**
8147
8443
  * Known interrupt start event for tool call confirmation.
8444
+ *
8445
+ * @deprecated Emitted only by agents on the legacy runtime. Agents on the current runtime
8446
+ * express confirmation as `requireConfirmation: true` on {@link ToolCallStartEvent}, with
8447
+ * the client responding via {@link ToolCallConfirmationEvent} (`confirmToolCall` on
8448
+ * {@link ToolCallEvent}).
8148
8449
  */
8149
8450
  interface ToolCallConfirmationInterruptStartEvent {
8150
8451
  /**
@@ -8734,6 +9035,36 @@ type CompletedToolCall = ToolCallStartEvent & ToolCallEndEvent & {
8734
9035
  * });
8735
9036
  * });
8736
9037
  * ```
9038
+ *
9039
+ * @example Migrating from legacy interrupt-based confirmation
9040
+ * ```typescript
9041
+ * // BEFORE — legacy interrupt flow
9042
+ * message.onInterruptStart(async ({ interruptId, startEvent }) => {
9043
+ * if (startEvent.type !== InterruptType.ToolCallConfirmation) return;
9044
+ * const { toolName, inputSchema, inputValue } = startEvent.value;
9045
+ *
9046
+ * const decision = await showConfirmationDialog({
9047
+ * toolName, inputSchema, input: inputValue,
9048
+ * });
9049
+ * message.sendInterruptEnd(interruptId, {
9050
+ * approved: decision.approved,
9051
+ * input: decision.editedInput,
9052
+ * });
9053
+ * });
9054
+ *
9055
+ * // AFTER — new tool-call confirmation flow
9056
+ * message.onToolCallStart(async (toolCall) => {
9057
+ * const { toolName, input, requireConfirmation, inputSchema } = toolCall.startEvent;
9058
+ * if (!requireConfirmation) return;
9059
+ *
9060
+ * const decision = await showConfirmationDialog({ toolName, inputSchema, input });
9061
+ * if (decision.approved) {
9062
+ * toolCall.sendToolCallConfirm({ approved: true, input: decision.editedInput });
9063
+ * } else {
9064
+ * toolCall.sendToolCallConfirm({ approved: false });
9065
+ * }
9066
+ * });
9067
+ * ```
8737
9068
  */
8738
9069
  interface ToolCallStream {
8739
9070
  /** Unique identifier for this tool call */
@@ -8788,6 +9119,23 @@ interface ToolCallStream {
8788
9119
  * ```
8789
9120
  */
8790
9121
  onToolCallEnd(cb: (endToolCall: ToolCallEndEvent) => void): () => void;
9122
+ /**
9123
+ * Registers a handler for tool call confirmation events. Fired when the
9124
+ * peer responds to a tool call that was emitted with
9125
+ * `requireConfirmation: true` on its start event.
9126
+ *
9127
+ * @param callback - Callback receiving the confirmation event
9128
+ * @returns Cleanup function to remove the handler
9129
+ *
9130
+ * @example Handling a confirmation response (agent-side)
9131
+ * ```typescript
9132
+ * toolCall.onToolCallConfirm(({ approved, input }) => {
9133
+ * if (approved) executeTool(toolCall.startEvent.toolName, input);
9134
+ * else cancelToolCall();
9135
+ * });
9136
+ * ```
9137
+ */
9138
+ onToolCallConfirm(callback: (confirmToolCall: ToolCallConfirmationEvent) => void): () => void;
8791
9139
  /**
8792
9140
  * Ends the tool call
8793
9141
  *
@@ -8801,6 +9149,25 @@ interface ToolCallStream {
8801
9149
  * ```
8802
9150
  */
8803
9151
  sendToolCallEnd(endToolCall?: ToolCallEndEvent): void;
9152
+ /**
9153
+ * Sends a tool call confirmation (approve or reject) for a tool call that
9154
+ * was emitted with `requireConfirmation: true`. Replaces the legacy
9155
+ * interrupt-based confirmation flow.
9156
+ *
9157
+ * @param confirmToolCall - The user's decision and (when approved) the
9158
+ * possibly-edited input the tool should execute with
9159
+ *
9160
+ * @example Approving a tool call
9161
+ * ```typescript
9162
+ * toolCall.sendToolCallConfirm({ approved: true, input: editedInput });
9163
+ * ```
9164
+ *
9165
+ * @example Rejecting a tool call
9166
+ * ```typescript
9167
+ * toolCall.sendToolCallConfirm({ approved: false });
9168
+ * ```
9169
+ */
9170
+ sendToolCallConfirm(confirmToolCall: ToolCallConfirmationEvent): void;
8804
9171
  /**
8805
9172
  * Sends an error start event for this tool call
8806
9173
  * @param args - Error details including optional error ID and message
@@ -9419,6 +9786,28 @@ interface MessageStream {
9419
9786
  * ```
9420
9787
  */
9421
9788
  sendInterruptEnd(interruptId: string, endInterrupt: InterruptEndEvent): void;
9789
+ /**
9790
+ * Registers a handler for tool-call confirmation events on this message
9791
+ *
9792
+ * Fired when a peer responds to a tool call that was emitted with
9793
+ * `requireConfirmation: true`. The handler runs at the message level, so it
9794
+ * fires even if no per-tool-call stream exists for the confirmed `toolCallId`.
9795
+ *
9796
+ * @param callback - Callback receiving the toolCallId and the confirmation event
9797
+ * @returns Cleanup function to remove the handler
9798
+ *
9799
+ * @example Handling a tool-call confirmation response
9800
+ * ```typescript
9801
+ * message.onToolCallConfirm(({ toolCallId, confirmEvent }) => {
9802
+ * if (confirmEvent.approved) executeTool(toolCallId, confirmEvent.input);
9803
+ * else cancelToolCall(toolCallId);
9804
+ * });
9805
+ * ```
9806
+ */
9807
+ onToolCallConfirm(callback: (args: {
9808
+ toolCallId: string;
9809
+ confirmEvent: ToolCallConfirmationEvent;
9810
+ }) => void): () => void;
9422
9811
  /**
9423
9812
  * Starts a new content part stream in this message
9424
9813
  *
@@ -11286,7 +11675,7 @@ declare const AgentMap: {
11286
11675
  };
11287
11676
 
11288
11677
  /**
11289
- * Types for User Service
11678
+ * Types for User Settings Service
11290
11679
  */
11291
11680
  /**
11292
11681
  * Response for getting user settings
@@ -11364,46 +11753,92 @@ interface UserSettingsUpdateOptions {
11364
11753
  }
11365
11754
 
11366
11755
  /**
11367
- * Service for managing UiPath User Settings
11756
+ * Service for reading and updating the current user's profile and context settings.
11368
11757
  *
11369
- * User settings are passed to the agent for all conversations
11370
- * to provide user context (name, email, role, timezone, etc.).
11758
+ * User settings are user-supplied profile fields (name, email, role, department, company,
11759
+ * country, timezone) that the SDK passes to a UiPath Conversational Agent on every conversation
11760
+ * so the agent can personalize its responses. Settings are scoped to the calling user — identified
11761
+ * by the access token for user tokens, or by the externalUserId option for app-scoped tokens.
11371
11762
  *
11372
- * @internal
11763
+ * Accessed via `conversationalAgent.user`.
11764
+ *
11765
+ * @example Read current settings
11766
+ * ```typescript
11767
+ * import { ConversationalAgent } from '@uipath/uipath-typescript/conversational-agent';
11768
+ *
11769
+ * const conversationalAgent = new ConversationalAgent(sdk);
11770
+ *
11771
+ * const settings = await conversationalAgent.user.getSettings();
11772
+ * console.log(settings.name, settings.email, settings.timezone);
11773
+ * ```
11774
+ *
11775
+ * @example Update specific fields (partial update)
11776
+ * ```typescript
11777
+ * await conversationalAgent.user.updateSettings({
11778
+ * name: 'John Doe',
11779
+ * timezone: 'America/New_York'
11780
+ * });
11781
+ * ```
11782
+ *
11783
+ * @example Clear a field by setting it to null
11784
+ * ```typescript
11785
+ * await conversationalAgent.user.updateSettings({
11786
+ * department: null
11787
+ * });
11788
+ * ```
11373
11789
  */
11374
- interface UserServiceModel {
11790
+ interface UserSettingsServiceModel {
11375
11791
  /**
11376
- * Gets the current user's profile and context settings
11792
+ * Gets the current user's profile and context settings.
11793
+ *
11794
+ * Returns the full user settings record — profile fields the agent uses for personalization
11795
+ * (name, email, role, department, company, country, timezone) plus identifiers and timestamps.
11796
+ * Fields the user has not set are returned as `null`.
11377
11797
  *
11378
- * @returns Promise resolving to user settings object
11798
+ * @returns Promise resolving to the current user's settings
11379
11799
  * {@link UserSettingsGetResponse}
11800
+ *
11380
11801
  * @example
11381
11802
  * ```typescript
11382
- * const userSettings = await userService.getSettings();
11383
- * console.log(userSettings.name);
11384
- * console.log(userSettings.email);
11803
+ * const settings = await conversationalAgent.user.getSettings();
11804
+ * console.log(settings.name); // e.g. 'John Doe' or null
11805
+ * console.log(settings.email); // e.g. 'john@example.com' or null
11806
+ * console.log(settings.timezone); // e.g. 'America/New_York' or null
11385
11807
  * ```
11386
11808
  */
11387
11809
  getSettings(): Promise<UserSettingsGetResponse>;
11388
11810
  /**
11389
- * Updates the current user's profile and context settings
11811
+ * Updates the current user's profile and context settings.
11390
11812
  *
11391
- * @param options - Fields to update
11392
- * @returns Promise resolving to updated user settings
11813
+ * Accepts a partial payload — only fields included in `options` are changed. Pass `null` to
11814
+ * explicitly clear a field. Omitting a field leaves it unchanged. Returns the full updated
11815
+ * settings record.
11816
+ *
11817
+ * @param options - Fields to update; omit fields to leave them unchanged, set to `null` to clear
11818
+ * @returns Promise resolving to the updated user settings
11393
11819
  * {@link UserSettingsUpdateResponse}
11394
- * @example
11820
+ *
11821
+ * @example Partial update
11395
11822
  * ```typescript
11396
- * const updatedUserSettings = await userService.updateSettings({
11823
+ * const updated = await conversationalAgent.user.updateSettings({
11397
11824
  * name: 'John Doe',
11398
11825
  * timezone: 'America/New_York'
11399
11826
  * });
11400
11827
  * ```
11828
+ *
11829
+ * @example Clear fields by setting to null
11830
+ * ```typescript
11831
+ * await conversationalAgent.user.updateSettings({
11832
+ * role: null,
11833
+ * department: null
11834
+ * });
11835
+ * ```
11401
11836
  */
11402
11837
  updateSettings(options: UserSettingsUpdateOptions): Promise<UserSettingsUpdateResponse>;
11403
11838
  }
11404
11839
 
11405
11840
  /**
11406
- * Constants for User Service
11841
+ * Constants for User Settings Service
11407
11842
  */
11408
11843
  /**
11409
11844
  * Maps fields for User Settings entities to ensure consistent SDK naming
@@ -11565,6 +12000,8 @@ interface ConversationalAgentServiceModel {
11565
12000
  onConnectionStatusChanged(handler: (status: ConnectionStatus, error: Error | null) => void): () => void;
11566
12001
  /** Service for creating and managing conversations. See {@link ConversationServiceModel}. */
11567
12002
  readonly conversations: ConversationServiceModel;
12003
+ /** Service for reading and updating the current user's profile/context settings. See {@link UserSettingsServiceModel}. */
12004
+ readonly user: UserSettingsServiceModel;
11568
12005
  /**
11569
12006
  * Gets feature flags for the current tenant
11570
12007
  *
@@ -11583,6 +12020,21 @@ interface ConversationalAgentOptions {
11583
12020
  * external app client; omit for standard UiPath user tokens.
11584
12021
  */
11585
12022
  externalUserId?: string;
12023
+ /**
12024
+ * Optional identifier used in UiPath logs to identify the implementing service
12025
+ * of requests. External consumers do not need to set it; the server logs
12026
+ * missing values as "unknown".
12027
+ *
12028
+ * @internal
12029
+ */
12030
+ surfaceName?: string;
12031
+ /**
12032
+ * Optional version of the implementing service of requests. Paired with
12033
+ * `surfaceName` for internal telemetry.
12034
+ *
12035
+ * @internal
12036
+ */
12037
+ surfaceVersion?: string;
11586
12038
  /** Log level for debugging */
11587
12039
  logLevel?: LogLevel;
11588
12040
  }
@@ -11638,6 +12090,8 @@ interface FeedbackGetResponse {
11638
12090
  isPositive: boolean;
11639
12091
  /** Categories associated with this feedback entry */
11640
12092
  feedbackCategories: FeedbackCategory[];
12093
+ /** Folder key (GUID) of the folder the feedback belongs to */
12094
+ folderKey?: string;
11641
12095
  /** Email address of the user who submitted the feedback */
11642
12096
  userEmail?: string;
11643
12097
  /** Current status of the feedback in the review workflow */
@@ -11647,6 +12101,13 @@ interface FeedbackGetResponse {
11647
12101
  /** Timestamp when the feedback was last updated */
11648
12102
  updatedTime: string;
11649
12103
  }
12104
+ /**
12105
+ * Options shared across feedback operations
12106
+ */
12107
+ interface FeedbackOptions {
12108
+ /** Folder key for authorization */
12109
+ folderKey: string;
12110
+ }
11650
12111
  /**
11651
12112
  * Options for retrieving multiple feedback entries
11652
12113
  */
@@ -11721,6 +12182,27 @@ interface FeedbackServiceModel {
11721
12182
  * ```
11722
12183
  */
11723
12184
  getAll<T extends FeedbackGetAllOptions = FeedbackGetAllOptions>(options?: T): Promise<T extends HasPaginationOptions<T> ? PaginatedResponse<FeedbackGetResponse> : NonPaginatedResponse<FeedbackGetResponse>>;
12185
+ /**
12186
+ * Gets a single feedback entry by its feedback ID.
12187
+ *
12188
+ * @param id - Feedback ID (GUID) of the feedback entry
12189
+ * @param options - Required options including folderKey for folder-level authorization {@link FeedbackOptions}
12190
+ * @returns Promise resolving to {@link FeedbackGetResponse}
12191
+ * @example
12192
+ * ```typescript
12193
+ * import { Feedback } from '@uipath/uipath-typescript/feedback';
12194
+ *
12195
+ * const feedback = new Feedback(sdk);
12196
+ *
12197
+ * // First, get feedback entries to obtain the ID and folder key
12198
+ * const allFeedback = await feedback.getAll({ pageSize: 10 });
12199
+ * const feedbackId = allFeedback.items[0].id;
12200
+ * const folderKey = allFeedback.items[0].folderKey;
12201
+ * const item = await feedback.getById(feedbackId, { folderKey });
12202
+ * console.log(item.isPositive, item.comment, item.status);
12203
+ * ```
12204
+ */
12205
+ getById(id: string, options: FeedbackOptions): Promise<FeedbackGetResponse>;
11724
12206
  }
11725
12207
 
11726
12208
  declare enum DocumentActionPriority {
@@ -13165,7 +13647,8 @@ declare enum UiPathMetaTags {
13165
13647
  BASE_URL = "uipath:base-url",
13166
13648
  REDIRECT_URI = "uipath:redirect-uri",
13167
13649
  CDN_BASE = "uipath:cdn-base",
13168
- APP_BASE = "uipath:app-base"
13650
+ APP_BASE = "uipath:app-base",
13651
+ FOLDER_KEY = "uipath:folder-key"
13169
13652
  }
13170
13653
 
13171
13654
  /**
@@ -13251,7 +13734,7 @@ declare const telemetryClient: TelemetryClient;
13251
13734
  * SDK Telemetry constants
13252
13735
  */
13253
13736
  declare const CONNECTION_STRING = "InstrumentationKey=a6efa11d-1feb-4508-9738-e13e12dcae5e;IngestionEndpoint=https://westeurope-5.in.applicationinsights.azure.com/;LiveEndpoint=https://westeurope.livediagnostics.monitor.azure.com/;ApplicationId=7c58eb1c-9581-4ba6-839e-11725848a037";
13254
- declare const SDK_VERSION = "1.3.5";
13737
+ declare const SDK_VERSION = "1.3.7";
13255
13738
  declare const VERSION = "Version";
13256
13739
  declare const SERVICE = "Service";
13257
13740
  declare const CLOUD_ORGANIZATION_NAME = "CloudOrganizationName";
@@ -13266,5 +13749,5 @@ declare const SDK_LOGGER_NAME = "uipath-ts-sdk-telemetry";
13266
13749
  declare const SDK_RUN_EVENT = "Sdk.Run";
13267
13750
  declare const UNKNOWN = "";
13268
13751
 
13269
- export { APP_NAME, AgentMap, AssetValueScope, AssetValueType, AuthenticationError, AuthorizationError, BucketOptions, CLOUD_CLIENT_ID, CLOUD_ORGANIZATION_NAME, CLOUD_REDIRECT_URI, CLOUD_ROLE_NAME, CLOUD_TENANT_NAME, CLOUD_URL, CONNECTION_STRING, CitationErrorType, ConversationMap, DEFAULT_ITEMS_FIELD, DEFAULT_PAGE_SIZE, DEFAULT_TOTAL_COUNT_FIELD, DataDirectionType, DebugMode, index as DuFramework, EntityFieldDataType, EntityType, ErrorType, EscalationActionType, EscalationRecipientScope, EscalationTriggerType, ExchangeMap, FeedbackRating, FeedbackStatus, FieldDisplayType, HttpStatus, InputStreamSpeechSensitivity, 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, SDK_LOGGER_NAME, SDK_RUN_EVENT, SDK_SERVICE_NAME, SDK_VERSION, SERVICE, SLADurationUnit, ServerError, ServerlessJobType, SortOrder, StageTaskType, StartStrategy, StopStrategy, TargetFramework, TaskActivityType, TaskPriority, TaskSlaCriteria, TaskSlaStatus, TaskSourceName, TaskStatus, TaskType, TaskUserType, UNKNOWN, UiPath, UiPathError, UiPathMetaTags, UserSettingsMap, VERSION, 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 };
13270
- export type { AgentAppearance, AgentConversationServiceModel, AgentCreateConversationOptions, AgentGetByIdResponse, AgentGetResponse, AgentInput, AgentMethods, AgentStartingPrompt, ArgumentMetadata, AssetGetAllOptions, AssetGetByIdOptions, AssetGetResponse, AssetServiceModel, AsyncInputStream, AsyncInputStreamChunkEvent, AsyncInputStreamEndEvent, AsyncInputStreamEvent, AsyncInputStreamStartEvent, AsyncToolCallStream, AttachmentGetByIdOptions, AttachmentResponse, AttachmentServiceModel, BaseConfig, BaseOptions, BaseProcessStartRequest, BlobItem, BodyOptions, BpmnXmlString, BucketGetAllOptions, BucketGetByIdOptions, BucketGetFileMetaDataOptions, BucketGetFileMetaDataResponse, BucketGetFileMetaDataWithPaginationOptions, BucketGetReadUriOptions, BucketGetResponse, BucketGetUriOptions, BucketGetUriResponse, BucketServiceModel, BucketUploadFileOptions, BucketUploadResponse, CaseAppConfig, CaseAppOverview, CaseGetAllResponse, CaseGetStageResponse, CaseInstanceExecutionHistoryResponse, CaseInstanceGetAllOptions, CaseInstanceGetAllWithPaginationOptions, CaseInstanceGetResponse, CaseInstanceMethods, CaseInstanceOperationOptions, CaseInstanceOperationResponse, CaseInstanceReopenOptions, CaseInstanceRun, 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, 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, FeedbackCreateResponse, FeedbackGetAllOptions, FeedbackGetResponse, FeedbackServiceModel, Field$1 as Field, FieldDataType, FieldMetaData, FileUploadAccess, FolderProperties, GenericInterruptStartEvent, GlobalVariableMetaData, HasPaginationOptions, Headers, HttpMethod, InlineOrExternalValue, InlineValue, 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, ProcessGetResponse, 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, SourceJoinCriteria, SqlType, StageSLA, StageTask, Tag, TaskActivity, TaskAssignOptions, TaskAssignment, TaskAssignmentOptions, TaskAssignmentResponse, TaskBaseResponse, TaskCompleteOptions, TaskCompletionOptions, TaskCreateOptions, TaskCreateResponse, TaskGetAllOptions, TaskGetByIdOptions, TaskGetResponse, TaskGetUsersOptions, TaskMethods, TaskServiceModel, TaskSlaDetail, TaskSource, TasksUnassignOptions, TimeoutOptions, ToolCall, ToolCallConfirmationEndValue, ToolCallConfirmationInterruptStartEvent, ToolCallConfirmationValue, ToolCallEndEvent, ToolCallEvent, ToolCallInputValue, ToolCallOutputValue, ToolCallResult, ToolCallStartEvent, ToolCallStream, UiPathSDKConfig, UserLoginInfo, UserServiceModel, UserSettingsGetResponse, UserSettingsUpdateOptions, UserSettingsUpdateResponse };
13752
+ export { APP_NAME, AgentMap, AssetValueScope, AssetValueType, AuthenticationError, AuthorizationError, BucketOptions, CLOUD_CLIENT_ID, CLOUD_ORGANIZATION_NAME, CLOUD_REDIRECT_URI, CLOUD_ROLE_NAME, CLOUD_TENANT_NAME, CLOUD_URL, CONNECTION_STRING, CitationErrorType, 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, 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, SDK_LOGGER_NAME, SDK_RUN_EVENT, SDK_SERVICE_NAME, SDK_VERSION, SERVICE, SLADurationUnit, ServerError, ServerlessJobType, SortOrder, StageTaskType, StartStrategy, StopStrategy, TargetFramework, TaskActivityType, TaskPriority, TaskSlaCriteria, TaskSlaStatus, TaskSourceName, TaskStatus, TaskType, TaskUserType, UNKNOWN, UiPath, UiPathError, UiPathMetaTags, UserSettingsMap, VERSION, 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 };
13753
+ 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, BucketGetFileMetaDataOptions, BucketGetFileMetaDataResponse, BucketGetFileMetaDataWithPaginationOptions, BucketGetReadUriOptions, BucketGetResponse, BucketGetUriOptions, BucketGetUriResponse, BucketServiceModel, BucketUploadFileOptions, BucketUploadResponse, CaseAppConfig, CaseAppOverview, CaseGetAllResponse, CaseGetStageResponse, CaseInstanceExecutionHistoryResponse, CaseInstanceGetAllOptions, CaseInstanceGetAllWithPaginationOptions, CaseInstanceGetResponse, CaseInstanceMethods, CaseInstanceOperationOptions, CaseInstanceOperationResponse, CaseInstanceReopenOptions, CaseInstanceRun, 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, FeedbackCreateResponse, FeedbackGetAllOptions, FeedbackGetResponse, FeedbackOptions, FeedbackServiceModel, Field$1 as Field, FieldDataType, FieldMetaData, FileUploadAccess, FolderProperties, FolderScopedOptions, GenericInterruptStartEvent, GlobalVariableMetaData, HasPaginationOptions, Headers, HttpMethod, InlineOrExternalValue, InlineValue, 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, 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, SourceJoinCriteria, SqlType, StageSLA, StageTask, Tag, TaskActivity, TaskAssignOptions, TaskAssignment, TaskAssignmentOptions, TaskAssignmentResponse, TaskBaseResponse, TaskCompleteOptions, TaskCompletionOptions, TaskCreateOptions, TaskCreateResponse, TaskGetAllOptions, TaskGetByIdOptions, TaskGetResponse, TaskGetUsersOptions, TaskMethods, TaskServiceModel, TaskSlaDetail, TaskSource, TasksUnassignOptions, TimeoutOptions, ToolCall, ToolCallConfirmationEndValue, ToolCallConfirmationEvent, ToolCallConfirmationInterruptStartEvent, ToolCallConfirmationValue, ToolCallEndEvent, ToolCallEvent, ToolCallInputValue, ToolCallOutputValue, ToolCallResult, ToolCallStartEvent, ToolCallStream, UiPathSDKConfig, UserLoginInfo, UserSettingsGetResponse, UserSettingsServiceModel, UserSettingsUpdateOptions, UserSettingsUpdateResponse };