@uipath/uipath-typescript 1.2.0 → 1.2.2

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 (40) hide show
  1. package/dist/assets/index.cjs +1 -1
  2. package/dist/assets/index.d.ts +2 -1
  3. package/dist/assets/index.mjs +1 -1
  4. package/dist/attachments/index.cjs +1944 -0
  5. package/dist/attachments/index.d.ts +399 -0
  6. package/dist/attachments/index.mjs +1941 -0
  7. package/dist/buckets/index.cjs +1 -1
  8. package/dist/buckets/index.d.ts +4 -2
  9. package/dist/buckets/index.mjs +1 -1
  10. package/dist/cases/index.cjs +95 -48
  11. package/dist/cases/index.d.ts +31 -2
  12. package/dist/cases/index.mjs +95 -48
  13. package/dist/conversational-agent/index.cjs +38 -7
  14. package/dist/conversational-agent/index.d.ts +72 -6
  15. package/dist/conversational-agent/index.mjs +38 -7
  16. package/dist/core/index.cjs +118 -17
  17. package/dist/core/index.d.ts +26 -2
  18. package/dist/core/index.mjs +118 -17
  19. package/dist/entities/index.cjs +48 -1
  20. package/dist/entities/index.d.ts +106 -19
  21. package/dist/entities/index.mjs +48 -1
  22. package/dist/index.cjs +585 -267
  23. package/dist/index.d.ts +595 -67
  24. package/dist/index.mjs +586 -268
  25. package/dist/index.umd.js +582 -264
  26. package/dist/jobs/index.cjs +2036 -0
  27. package/dist/jobs/index.d.ts +724 -0
  28. package/dist/jobs/index.mjs +2033 -0
  29. package/dist/maestro-processes/index.cjs +1 -1
  30. package/dist/maestro-processes/index.mjs +1 -1
  31. package/dist/processes/index.cjs +67 -1
  32. package/dist/processes/index.d.ts +80 -15
  33. package/dist/processes/index.mjs +68 -2
  34. package/dist/queues/index.cjs +1 -1
  35. package/dist/queues/index.d.ts +2 -1
  36. package/dist/queues/index.mjs +1 -1
  37. package/dist/tasks/index.cjs +1319 -1272
  38. package/dist/tasks/index.d.ts +331 -287
  39. package/dist/tasks/index.mjs +1319 -1272
  40. package/package.json +25 -3
package/dist/index.d.ts CHANGED
@@ -1,3 +1,13 @@
1
+ /**
2
+ * Authentication token information
3
+ */
4
+ interface TokenInfo {
5
+ token: string;
6
+ type: 'secret' | 'oauth';
7
+ expiresAt?: Date;
8
+ refreshToken?: string;
9
+ }
10
+
1
11
  interface BaseConfig {
2
12
  baseUrl: string;
3
13
  orgName: string;
@@ -64,6 +74,13 @@ interface IUiPath {
64
74
  * After calling this method, the user will need to re-initialize to authenticate again.
65
75
  */
66
76
  logout(): void;
77
+ /**
78
+ * Updates the access token used for API requests.
79
+ * Use this to inject or refresh a token externally.
80
+ *
81
+ * @param tokenInfo - The token information containing the access token, type, expiration, and optional refresh token
82
+ */
83
+ updateToken(tokenInfo: TokenInfo): void;
67
84
  }
68
85
 
69
86
  /**
@@ -134,6 +151,13 @@ declare class UiPath$1 implements IUiPath {
134
151
  * After calling this method, the user will need to re-initialize to authenticate again.
135
152
  */
136
153
  logout(): void;
154
+ /**
155
+ * Updates the access token used for API requests.
156
+ * Use this to inject or refresh a token externally.
157
+ *
158
+ * @param tokenInfo - The token information containing the access token, type, expiration, and optional refresh token
159
+ */
160
+ updateToken(tokenInfo: TokenInfo): void;
137
161
  }
138
162
 
139
163
  /**
@@ -494,25 +518,35 @@ interface EntityInsertOptions {
494
518
  /**
495
519
  * Options for inserting a single record into an entity
496
520
  */
497
- type EntityInsertRecordOptions = EntityInsertOptions;
521
+ interface EntityInsertRecordOptions extends EntityInsertOptions {
522
+ }
498
523
  /**
499
524
  * Options for batch inserting data into an entity
500
525
  * @deprecated Use {@link EntityInsertRecordsOptions} instead for better clarity on inserting multiple records into an entity. This type will be removed in future versions.
501
526
  */
502
- type EntityBatchInsertOptions = EntityOperationOptions;
527
+ interface EntityBatchInsertOptions extends EntityOperationOptions {
528
+ }
503
529
  /**
504
530
  * Options for inserting multiple records into an entity
505
531
  */
506
- type EntityInsertRecordsOptions = EntityOperationOptions;
532
+ interface EntityInsertRecordsOptions extends EntityOperationOptions {
533
+ }
534
+ /**
535
+ * Options for updating a single record in an entity
536
+ */
537
+ interface EntityUpdateRecordOptions extends EntityGetRecordByIdOptions {
538
+ }
507
539
  /**
508
540
  * Options for updating data in an entity
509
- * @deprecated Use {@link EntityUpdateRecordOptions} instead for better clarity on updating records in an entity. This type will be removed in future versions.
541
+ * @deprecated Use {@link EntityUpdateRecordsOptions} instead for better clarity on updating records in an entity. This type will be removed in future versions.
510
542
  */
511
- type EntityUpdateOptions = EntityOperationOptions;
543
+ interface EntityUpdateOptions extends EntityOperationOptions {
544
+ }
512
545
  /**
513
546
  * Options for updating data in an entity
514
547
  */
515
- type EntityUpdateRecordsOptions = EntityOperationOptions;
548
+ interface EntityUpdateRecordsOptions extends EntityOperationOptions {
549
+ }
516
550
  /**
517
551
  * Options for deleting data from an entity
518
552
  * @deprecated Use {@link EntityDeleteRecordsOptions} instead for better clarity on deleting records from an entity. This type will be removed in future versions.
@@ -524,7 +558,8 @@ interface EntityDeleteOptions {
524
558
  /**
525
559
  * Options for deleting records in an entity
526
560
  */
527
- type EntityDeleteRecordsOptions = EntityDeleteOptions;
561
+ interface EntityDeleteRecordsOptions extends EntityDeleteOptions {
562
+ }
528
563
  /**
529
564
  * Supported file types for attachment upload
530
565
  */
@@ -563,22 +598,32 @@ interface EntityOperationResponse {
563
598
  failureRecords: FailureRecord[];
564
599
  }
565
600
  /**
566
- * Response from inserting a single record into an entity
567
- * Returns the inserted record with its generated record ID and other fields
601
+ * Response from inserting a single record into an entity.
602
+ * Returns the inserted record with its generated record ID and other fields.
568
603
  */
569
- type EntityInsertResponse = EntityRecord;
604
+ interface EntityInsertResponse extends EntityRecord {
605
+ }
606
+ /**
607
+ * Response from updating a single record in an entity.
608
+ * Returns the updated record.
609
+ */
610
+ interface EntityUpdateRecordResponse extends EntityRecord {
611
+ }
570
612
  /**
571
613
  * Response from batch inserting data into an entity
572
614
  */
573
- type EntityBatchInsertResponse = EntityOperationResponse;
615
+ interface EntityBatchInsertResponse extends EntityOperationResponse {
616
+ }
574
617
  /**
575
618
  * Response from updating data in an entity
576
619
  */
577
- type EntityUpdateResponse = EntityOperationResponse;
620
+ interface EntityUpdateResponse extends EntityOperationResponse {
621
+ }
578
622
  /**
579
623
  * Response from deleting data from an entity
580
624
  */
581
- type EntityDeleteResponse = EntityOperationResponse;
625
+ interface EntityDeleteResponse extends EntityOperationResponse {
626
+ }
582
627
  /**
583
628
  * Entity type enum
584
629
  */
@@ -963,11 +1008,37 @@ interface EntityServiceModel {
963
1008
  * @hidden
964
1009
  */
965
1010
  batchInsertById(id: string, data: Record<string, any>[], options?: EntityBatchInsertOptions): Promise<EntityBatchInsertResponse>;
1011
+ /**
1012
+ * Updates a single record in an entity by entity ID
1013
+ *
1014
+ * Note: Data Fabric supports trigger events only on individual updates, not on updating multiple records.
1015
+ * Use this method if you need trigger events to fire for the updated record.
1016
+ *
1017
+ * @param entityId - UUID of the entity
1018
+ * @param recordId - UUID of the record to update
1019
+ * @param data - Key-value pairs of fields to update
1020
+ * @param options - Update options
1021
+ * @returns Promise resolving to the updated record
1022
+ * {@link EntityUpdateRecordResponse}
1023
+ * @example
1024
+ * ```typescript
1025
+ * // Basic usage
1026
+ * const result = await entities.updateRecordById(<entityId>, <recordId>, { name: "John Updated", age: 31 });
1027
+ *
1028
+ * // With options
1029
+ * const result = await entities.updateRecordById(<entityId>, <recordId>, { name: "John Updated", age: 31 }, {
1030
+ * expansionLevel: 1
1031
+ * });
1032
+ * ```
1033
+ */
1034
+ updateRecordById(entityId: string, recordId: string, data: Record<string, any>, options?: EntityUpdateRecordOptions): Promise<EntityUpdateRecordResponse>;
966
1035
  /**
967
1036
  * Updates data in an entity by entity ID
968
1037
  *
1038
+ * Note: Records updated using updateRecordsById will not trigger Data Fabric trigger events. Use {@link updateRecordById} if you need trigger events to fire for each updated record.
1039
+ *
969
1040
  * @param id - UUID of the entity
970
- * @param data - Array of records to update. Each record MUST contain the record Id.
1041
+ * @param data - Array of records to update. Each record MUST contain the record id.
971
1042
  * @param options - Update options
972
1043
  * @returns Promise resolving to update response
973
1044
  * {@link EntityUpdateResponse}
@@ -975,14 +1046,14 @@ interface EntityServiceModel {
975
1046
  * ```typescript
976
1047
  * // Basic usage
977
1048
  * const result = await entities.updateRecordsById(<entityId>, [
978
- * { Id: "123", name: "John Updated", age: 31 },
979
- * { Id: "456", name: "Jane Updated", age: 26 }
1049
+ * { id: "123", name: "John Updated", age: 31 },
1050
+ * { id: "456", name: "Jane Updated", age: 26 }
980
1051
  * ]);
981
1052
  *
982
1053
  * // With options
983
1054
  * const result = await entities.updateRecordsById(<entityId>, [
984
- * { Id: "123", name: "John Updated", age: 31 },
985
- * { Id: "456", name: "Jane Updated", age: 26 }
1055
+ * { id: "123", name: "John Updated", age: 31 },
1056
+ * { id: "456", name: "Jane Updated", age: 26 }
986
1057
  * ], {
987
1058
  * expansionLevel: 1,
988
1059
  * failOnFirst: true
@@ -1164,9 +1235,24 @@ interface EntityMethods {
1164
1235
  * @returns Promise resolving to batch insert response
1165
1236
  */
1166
1237
  insertRecords(data: Record<string, any>[], options?: EntityInsertRecordsOptions): Promise<EntityBatchInsertResponse>;
1238
+ /**
1239
+ * Update a single record in this entity
1240
+ *
1241
+ * Note: Data Fabric supports trigger events only on individual updates, not on updating multiple records.
1242
+ * Use this method if you need trigger events to fire for the updated record.
1243
+ *
1244
+ * @param recordId - UUID of the record to update
1245
+ * @param data - Key-value pairs of fields to update
1246
+ * @param options - Update options
1247
+ * @returns Promise resolving to the updated record
1248
+ */
1249
+ updateRecord(recordId: string, data: Record<string, any>, options?: EntityUpdateRecordOptions): Promise<EntityUpdateRecordResponse>;
1167
1250
  /**
1168
1251
  * Update data in this entity
1169
1252
  *
1253
+ * Note: Records updated using updateRecords will not trigger Data Fabric trigger events. Use {@link updateRecord} if you need
1254
+ * trigger events to fire for each updated record.
1255
+ *
1170
1256
  * @param data - Array of records to update. Each record MUST contain the record Id,
1171
1257
  * otherwise the update will fail.
1172
1258
  * @param options - Update options
@@ -1402,6 +1488,31 @@ declare class EntityService extends BaseService implements EntityServiceModel {
1402
1488
  * ```
1403
1489
  */
1404
1490
  insertRecordsById(id: string, data: Record<string, any>[], options?: EntityInsertRecordsOptions): Promise<EntityBatchInsertResponse>;
1491
+ /**
1492
+ * Updates a single record in an entity by entity ID
1493
+ *
1494
+ * @param entityId - UUID of the entity
1495
+ * @param recordId - UUID of the record to update
1496
+ * @param data - Key-value pairs of fields to update
1497
+ * @param options - Update options
1498
+ * @returns Promise resolving to the updated record
1499
+ *
1500
+ * @example
1501
+ * ```typescript
1502
+ * import { Entities } from '@uipath/uipath-typescript/entities';
1503
+ *
1504
+ * const entities = new Entities(sdk);
1505
+ *
1506
+ * // Basic usage
1507
+ * const result = await entities.updateRecordById("<entityId>", "<recordId>", { name: "John Updated", age: 31 });
1508
+ *
1509
+ * // With options
1510
+ * const result = await entities.updateRecordById("<entityId>", "<recordId>", { name: "John Updated", age: 31 }, {
1511
+ * expansionLevel: 1
1512
+ * });
1513
+ * ```
1514
+ */
1515
+ updateRecordById(entityId: string, recordId: string, data: Record<string, any>, options?: EntityUpdateRecordOptions): Promise<EntityUpdateRecordResponse>;
1405
1516
  /**
1406
1517
  * Updates data in an entity by entity ID
1407
1518
  *
@@ -2825,10 +2936,23 @@ interface UserLoginInfo {
2825
2936
  displayName: string;
2826
2937
  id: number;
2827
2938
  }
2939
+ /**
2940
+ * Types of tasks available in Action Center.
2941
+ * Each type determines the task's behavior, UI rendering, and completion requirements.
2942
+ */
2828
2943
  declare enum TaskType {
2944
+ /** A form-based task that renders a UiPath form layout for user input */
2829
2945
  Form = "FormTask",
2946
+ /** An externally managed task handled outside of Action Center */
2830
2947
  External = "ExternalTask",
2831
- App = "AppTask"
2948
+ /** A task powered by a UiPath App */
2949
+ App = "AppTask",
2950
+ /** A document validation task for reviewing and correcting extracted document data */
2951
+ DocumentValidation = "DocumentValidationTask",
2952
+ /** A document classification task for categorizing documents */
2953
+ DocumentClassification = "DocumentClassificationTask",
2954
+ /** A data labeling task for annotating training data */
2955
+ DataLabeling = "DataLabelingTask"
2832
2956
  }
2833
2957
  declare enum TaskPriority {
2834
2958
  Low = "Low",
@@ -3008,7 +3132,23 @@ type TaskCompleteOptions = {
3008
3132
  data?: any;
3009
3133
  action?: string;
3010
3134
  } | {
3011
- type: Exclude<TaskType, TaskType.External>;
3135
+ type: TaskType.DocumentValidation;
3136
+ data?: any;
3137
+ action?: string;
3138
+ } | {
3139
+ type: TaskType.DocumentClassification;
3140
+ data?: any;
3141
+ action?: string;
3142
+ } | {
3143
+ type: TaskType.DataLabeling;
3144
+ data?: any;
3145
+ action?: string;
3146
+ } | {
3147
+ type: TaskType.Form;
3148
+ data: any;
3149
+ action: string;
3150
+ } | {
3151
+ type: TaskType.App;
3012
3152
  data: any;
3013
3153
  action: string;
3014
3154
  };
@@ -3039,7 +3179,14 @@ type TaskGetAllOptions = RequestOptions & PaginationOptions & {
3039
3179
  /**
3040
3180
  * Query options for getting a task by ID
3041
3181
  */
3042
- type TaskGetByIdOptions = BaseOptions;
3182
+ interface TaskGetByIdOptions extends BaseOptions {
3183
+ /**
3184
+ * Optional task type. When not provided, method will automatically identify the
3185
+ * task type and resolve accordingly, but it will be slower.
3186
+ * When provided, it will skip the step to identify the task type, so it will be faster.
3187
+ */
3188
+ taskType?: TaskType;
3189
+ }
3043
3190
  /**
3044
3191
  * Options for getting users with task permissions
3045
3192
  */
@@ -3108,10 +3255,9 @@ interface TaskServiceModel {
3108
3255
  getAll<T extends TaskGetAllOptions = TaskGetAllOptions>(options?: T): Promise<T extends HasPaginationOptions<T> ? PaginatedResponse<TaskGetResponse> : NonPaginatedResponse<TaskGetResponse>>;
3109
3256
  /**
3110
3257
  * Gets a task by ID
3111
- * IMPORTANT: For form tasks, folderId must be provided.
3112
3258
  * @param id - The ID of the task to retrieve
3113
- * @param options - Optional query parameters
3114
- * @param folderId - Optional folder ID (REQUIRED for form tasks)
3259
+ * @param options - Optional query parameters including taskType for faster retrieval {@link TaskGetByIdOptions}
3260
+ * @param folderId - Optional folder ID (REQUIRED when options.taskType is provided)
3115
3261
  * @returns Promise resolving to the task
3116
3262
  * {@link TaskGetResponse}
3117
3263
  * @example
@@ -3120,10 +3266,13 @@ interface TaskServiceModel {
3120
3266
  * const task = await tasks.getById(<taskId>);
3121
3267
  *
3122
3268
  * // Get a form task by ID
3123
- * const formTask = await tasks.getById(<taskId>, <folderId>);
3269
+ * const formTask = await tasks.getById(<taskId>, {}, <folderId>);
3124
3270
  *
3125
3271
  * // Access form task properties
3126
3272
  * console.log(formTask.formLayout);
3273
+ *
3274
+ * // Get a document validation task by ID (faster with taskType provided in the options)
3275
+ * const dvTask = await tasks.getById(<taskId>, { taskType: TaskType.DocumentValidation }, <folderId>);
3127
3276
  * ```
3128
3277
  */
3129
3278
  getById(id: number, options?: TaskGetByIdOptions, folderId?: number): Promise<TaskGetResponse>;
@@ -4118,7 +4267,8 @@ type AssetGetAllOptions = RequestOptions & PaginationOptions & {
4118
4267
  /**
4119
4268
  * Options for getting a single asset by ID
4120
4269
  */
4121
- type AssetGetByIdOptions = BaseOptions;
4270
+ interface AssetGetByIdOptions extends BaseOptions {
4271
+ }
4122
4272
 
4123
4273
  /**
4124
4274
  * Service for managing UiPath Assets.
@@ -4265,7 +4415,8 @@ interface BucketGetResponse {
4265
4415
  type BucketGetAllOptions = RequestOptions & PaginationOptions & {
4266
4416
  folderId?: number;
4267
4417
  };
4268
- type BucketGetByIdOptions = BaseOptions;
4418
+ interface BucketGetByIdOptions extends BaseOptions {
4419
+ }
4269
4420
  /**
4270
4421
  * Maps header names to their values
4271
4422
  *
@@ -4319,7 +4470,8 @@ interface BucketGetUriOptions extends BaseOptions {
4319
4470
  /**
4320
4471
  * Request options for getting a read URI for a file in a bucket
4321
4472
  */
4322
- type BucketGetReadUriOptions = BucketGetUriOptions;
4473
+ interface BucketGetReadUriOptions extends BucketGetUriOptions {
4474
+ }
4323
4475
  /**
4324
4476
  * Request options for getting files in a bucket
4325
4477
  */
@@ -4745,7 +4897,10 @@ declare enum PackageType {
4745
4897
  TestAutomationProcess = "TestAutomationProcess",
4746
4898
  Api = "Api",
4747
4899
  MCPServer = "MCPServer",
4748
- BusinessRules = "BusinessRules"
4900
+ BusinessRules = "BusinessRules",
4901
+ CaseManagement = "CaseManagement",
4902
+ Flow = "Flow",
4903
+ Function = "Function"
4749
4904
  }
4750
4905
  /**
4751
4906
  * Enum for job priority
@@ -4818,6 +4973,35 @@ declare enum PackageSourceType {
4818
4973
  AgentHub = "AgentHub",
4819
4974
  ApiWorkflow = "ApiWorkflow"
4820
4975
  }
4976
+ /**
4977
+ * Enum for job source type
4978
+ */
4979
+ declare enum JobSourceType {
4980
+ Manual = "Manual",
4981
+ Schedule = "Schedule",
4982
+ Agent = "Agent",
4983
+ Queue = "Queue",
4984
+ StudioWeb = "StudioWeb",
4985
+ IntegrationTrigger = "IntegrationTrigger",
4986
+ StudioDesktop = "StudioDesktop",
4987
+ AutomationOpsPipelines = "AutomationOpsPipelines",
4988
+ Apps = "Apps",
4989
+ SAP = "SAP",
4990
+ HttpTrigger = "HttpTrigger",
4991
+ HttpTriggerCallback = "HttpTriggerCallback",
4992
+ RobotAPI = "RobotAPI",
4993
+ CommandLine = "CommandLine",
4994
+ RobotNetAPI = "RobotNetAPI",
4995
+ Autopilot = "Autopilot",
4996
+ TestManager = "TestManager",
4997
+ AgentService = "AgentService",
4998
+ ProcessOrchestration = "ProcessOrchestration",
4999
+ PluginEcosystem = "PluginEcosystem",
5000
+ PerformanceTesting = "PerformanceTesting",
5001
+ AgentHub = "AgentHub",
5002
+ ApiWorkflow = "ApiWorkflow",
5003
+ CaseManagement = "CaseManagement"
5004
+ }
4821
5005
  /**
4822
5006
  * Enum for stop strategy
4823
5007
  */
@@ -4825,6 +5009,38 @@ declare enum StopStrategy {
4825
5009
  SoftStop = "SoftStop",
4826
5010
  Kill = "Kill"
4827
5011
  }
5012
+ /**
5013
+ * Enum for runtime type
5014
+ */
5015
+ declare enum RuntimeType {
5016
+ NonProduction = "NonProduction",
5017
+ Attended = "Attended",
5018
+ Unattended = "Unattended",
5019
+ Development = "Development",
5020
+ Studio = "Studio",
5021
+ RpaDeveloper = "RpaDeveloper",
5022
+ StudioX = "StudioX",
5023
+ CitizenDeveloper = "CitizenDeveloper",
5024
+ Headless = "Headless",
5025
+ StudioPro = "StudioPro",
5026
+ RpaDeveloperPro = "RpaDeveloperPro",
5027
+ TestAutomation = "TestAutomation",
5028
+ AutomationCloud = "AutomationCloud",
5029
+ Serverless = "Serverless",
5030
+ AutomationKit = "AutomationKit",
5031
+ ServerlessTestAutomation = "ServerlessTestAutomation",
5032
+ AutomationCloudTestAutomation = "AutomationCloudTestAutomation",
5033
+ AttendedStudioWeb = "AttendedStudioWeb",
5034
+ Hosting = "Hosting",
5035
+ AssistantWeb = "AssistantWeb",
5036
+ ProcessOrchestration = "ProcessOrchestration",
5037
+ AgentService = "AgentService",
5038
+ AppTest = "AppTest",
5039
+ PerformanceTest = "PerformanceTest",
5040
+ BusinessRule = "BusinessRule",
5041
+ CaseManagement = "CaseManagement",
5042
+ Flow = "Flow"
5043
+ }
4828
5044
  /**
4829
5045
  * Interface for Job Attachment
4830
5046
  */
@@ -4838,20 +5054,20 @@ interface JobAttachment {
4838
5054
  * Interface for common process properties shared across multiple interfaces
4839
5055
  */
4840
5056
  interface ProcessProperties {
4841
- jobPriority?: JobPriority;
4842
- specificPriorityValue?: number;
4843
- inputArguments?: string;
4844
- environmentVariables?: string;
4845
- entryPointPath?: string;
4846
- remoteControlAccess?: RemoteControlAccess;
4847
- requiresUserInteraction?: boolean;
5057
+ jobPriority?: JobPriority | null;
5058
+ specificPriorityValue?: number | null;
5059
+ inputArguments?: string | null;
5060
+ environmentVariables?: string | null;
5061
+ entryPointPath?: string | null;
5062
+ remoteControlAccess?: RemoteControlAccess | null;
5063
+ requiresUserInteraction?: boolean | null;
4848
5064
  }
4849
5065
  /**
4850
5066
  * Interface for common folder properties
4851
5067
  */
4852
5068
  interface FolderProperties {
4853
- folderId?: number;
4854
- folderName?: string;
5069
+ folderId: number;
5070
+ folderName: string | null;
4855
5071
  }
4856
5072
  /**
4857
5073
  * Base interface for process start request
@@ -4863,7 +5079,7 @@ interface BaseProcessStartRequest extends ProcessProperties {
4863
5079
  noOfRobots?: number;
4864
5080
  jobsCount?: number;
4865
5081
  source?: PackageSourceType;
4866
- runtimeType?: string;
5082
+ runtimeType?: RuntimeType;
4867
5083
  inputFile?: string;
4868
5084
  reference?: string;
4869
5085
  attachments?: JobAttachment[];
@@ -4947,7 +5163,7 @@ interface ProcessStartResponse extends ProcessProperties, FolderProperties {
4947
5163
  endTime: string | null;
4948
5164
  state: JobState;
4949
5165
  source: string;
4950
- sourceType: string;
5166
+ sourceType: JobSourceType;
4951
5167
  batchExecutionKey: string;
4952
5168
  info: string | null;
4953
5169
  createdTime: string;
@@ -4961,7 +5177,7 @@ interface ProcessStartResponse extends ProcessProperties, FolderProperties {
4961
5177
  persistenceId: string | null;
4962
5178
  resumeVersion: number | null;
4963
5179
  stopStrategy: StopStrategy | null;
4964
- runtimeType: string;
5180
+ runtimeType: RuntimeType;
4965
5181
  processVersionId: number | null;
4966
5182
  reference: string;
4967
5183
  packageType: PackageType;
@@ -5021,7 +5237,208 @@ type ProcessGetAllOptions = RequestOptions & PaginationOptions & {
5021
5237
  /**
5022
5238
  * Options for getting a single process by ID
5023
5239
  */
5024
- type ProcessGetByIdOptions = BaseOptions;
5240
+ interface ProcessGetByIdOptions extends BaseOptions {
5241
+ }
5242
+
5243
+ /**
5244
+ * Enum for job sub-state
5245
+ */
5246
+ declare enum JobSubState {
5247
+ WithFaults = "WITH_FAULTS",
5248
+ Manually = "MANUALLY"
5249
+ }
5250
+ /**
5251
+ * Enum for serverless job type
5252
+ */
5253
+ declare enum ServerlessJobType {
5254
+ RobotJob = "RobotJob",
5255
+ WebApp = "WebApp",
5256
+ LoadTest = "LoadTest",
5257
+ StudioWebDesigner = "StudioWebDesigner",
5258
+ PublishStudioProject = "PublishStudioProject",
5259
+ JsApi = "JsApi",
5260
+ PythonCodedAgent = "PythonCodedAgent",
5261
+ MCPServer = "MCPServer",
5262
+ PythonCodedSystemAgent = "PythonCodedSystemAgent",
5263
+ PythonAgent = "PythonAgent"
5264
+ }
5265
+ /**
5266
+ * Interface for process metadata associated with a job.
5267
+ * Represents a lightweight summary of the process (release) linked to a job.
5268
+ * Available when using 'expand: "Release"' in the query.
5269
+ */
5270
+ interface ProcessMetadata {
5271
+ /** The unique key of the release */
5272
+ key?: string;
5273
+ /** The process key identifying the package */
5274
+ processKey?: string;
5275
+ /** The version of the process package */
5276
+ processVersion?: string;
5277
+ /** Whether this is the latest version of the process */
5278
+ isLatestVersion?: boolean;
5279
+ /** The display name of the process */
5280
+ name?: string;
5281
+ /** The numeric ID of the release */
5282
+ id?: number;
5283
+ }
5284
+ /**
5285
+ * Interface for job response
5286
+ */
5287
+ interface JobGetResponse extends FolderProperties {
5288
+ /** The unique numeric identifier of the job */
5289
+ id: number;
5290
+ /** The unique job identifier (GUID) */
5291
+ key: string;
5292
+ /** The current execution state of the job */
5293
+ state: JobState;
5294
+ /** The date and time when the job was created */
5295
+ createdTime: string;
5296
+ /** The date and time when the job execution started, or null if the job hasn't started yet */
5297
+ startTime: string | null;
5298
+ /** The date and time when the job execution ended, or null if the job hasn't ended yet */
5299
+ endTime: string | null;
5300
+ /** The date and time when the job was last modified */
5301
+ lastModifiedTime: string | null;
5302
+ /** The date and time when the job was resumed after suspension */
5303
+ resumeTime: string | null;
5304
+ /** The name of the process (release) associated with the job */
5305
+ processName: string | null;
5306
+ /** Path to the entry point workflow (XAML) that will be executed by the robot */
5307
+ entryPointPath: string | null;
5308
+ /** The name of the machine where the robot ran the job */
5309
+ hostMachineName: string | null;
5310
+ /** Input parameters as a JSON string passed to job execution */
5311
+ inputArguments: string | null;
5312
+ /** Output parameters as a JSON string resulted from job execution */
5313
+ outputArguments: string | null;
5314
+ /** Environment variables as a JSON string passed to the job execution */
5315
+ environmentVariables: string | null;
5316
+ /** Additional information about the current job */
5317
+ info: string | null;
5318
+ /** The source name of the job, describing how the job was triggered */
5319
+ source: string | null;
5320
+ /** Reference identifier for the job, used for external correlation */
5321
+ reference: string | null;
5322
+ /** The execution priority of the job */
5323
+ jobPriority: JobPriority | null;
5324
+ /** Value for more granular control over execution priority (1-100) */
5325
+ specificPriorityValue: number | null;
5326
+ /** The type of the job - Attended if started via the robot, Unattended otherwise */
5327
+ type: JobType;
5328
+ /** The package type of the process associated with the job */
5329
+ packageType: PackageType;
5330
+ /** The runtime type of the robot which can pick up the job */
5331
+ runtimeType: RuntimeType | null;
5332
+ /** The source type indicating how the job was triggered */
5333
+ sourceType: JobSourceType;
5334
+ /** The type of the serverless job, or null for non-serverless jobs */
5335
+ serverlessJobType: ServerlessJobType | null;
5336
+ /** The stop strategy for the job */
5337
+ stopStrategy: StopStrategy | null;
5338
+ /** The remote control access level for the job */
5339
+ remoteControlAccess: RemoteControlAccess;
5340
+ /** The folder key (GUID) of the folder this job is part of */
5341
+ folderKey: string | null;
5342
+ /** The unique identifier grouping multiple jobs, usually generated when started by a schedule */
5343
+ batchExecutionKey: string;
5344
+ /** The parent job key (GUID), set when the job was started by another job */
5345
+ parentJobKey: string | null;
5346
+ /** The ID of the schedule that started the job, or null if started by the user */
5347
+ startingScheduleId: number | null;
5348
+ /** The starting trigger ID, can be ApiTriggerId or HttpTriggerId */
5349
+ startingTriggerId: string | null;
5350
+ /** The process version ID */
5351
+ processVersionId: number | null;
5352
+ /** Expected maximum running time in seconds before the job is flagged */
5353
+ maxExpectedRunningTimeSeconds: number | null;
5354
+ /** Whether the job requires user interaction */
5355
+ requiresUserInteraction: boolean;
5356
+ /** If set, the job will resume on the same robot-machine pair on which it initially ran */
5357
+ resumeOnSameContext: boolean;
5358
+ /** Distinguishes between multiple job suspend/resume cycles */
5359
+ resumeVersion: number | null;
5360
+ /** The sub-state in which the job is, providing more granular status information */
5361
+ subState: JobSubState | null;
5362
+ /** The target runtime for the job */
5363
+ targetRuntime: string | null;
5364
+ /** The trace ID for distributed tracing */
5365
+ traceId: string | null;
5366
+ /** The parent span ID for distributed tracing */
5367
+ parentSpanId: string | null;
5368
+ /** The error code associated with a failed job */
5369
+ errorCode: string | null;
5370
+ /** The machine associated with the job (available when using expand=Machine) */
5371
+ machine?: Machine;
5372
+ /** The robot associated with the job (available when using expand=Robot) */
5373
+ robot?: RobotMetadata;
5374
+ /** The process metadata associated with the job (available when using expand=Release) */
5375
+ process?: ProcessMetadata | null;
5376
+ /** Error details for the job, or null if the job has no errors */
5377
+ jobError: JobError | null;
5378
+ }
5379
+ /**
5380
+ * Options for getting all jobs
5381
+ */
5382
+ type JobGetAllOptions = RequestOptions & PaginationOptions & {
5383
+ /**
5384
+ * Optional folder ID to filter jobs by folder
5385
+ */
5386
+ folderId?: number;
5387
+ };
5388
+
5389
+ /**
5390
+ * Service for managing UiPath Orchestrator Jobs.
5391
+ *
5392
+ * Jobs represent the execution of a process (automation) on a UiPath Robot. Each job tracks the lifecycle of a single process run, including its state, timing, input/output arguments, and associated resources. [UiPath Jobs Guide](https://docs.uipath.com/orchestrator/automation-cloud/latest/user-guide/about-jobs)
5393
+ *
5394
+ * ### Usage
5395
+ *
5396
+ * Prerequisites: Initialize the SDK first - see [Getting Started](/uipath-typescript/getting-started/#import-initialize)
5397
+ *
5398
+ * ```typescript
5399
+ * import { Jobs } from '@uipath/uipath-typescript/jobs';
5400
+ *
5401
+ * const jobs = new Jobs(sdk);
5402
+ * const allJobs = await jobs.getAll();
5403
+ * ```
5404
+ */
5405
+ interface JobServiceModel {
5406
+ /**
5407
+ * Gets all jobs across folders with optional filtering
5408
+ *
5409
+ * @param options - Query options including optional folderId and pagination options
5410
+ * @returns Promise resolving to either an array of jobs {@link NonPaginatedResponse}<{@link JobGetResponse}> or a {@link PaginatedResponse}<{@link JobGetResponse}> when pagination options are used.
5411
+ * {@link JobGetResponse}
5412
+ * @example
5413
+ * ```typescript
5414
+ * // Get all jobs
5415
+ * const allJobs = await jobs.getAll();
5416
+ *
5417
+ * // Get all jobs in a specific folder
5418
+ * const folderJobs = await jobs.getAll({ folderId: <folderId> });
5419
+ *
5420
+ * // With filtering
5421
+ * const runningJobs = await jobs.getAll({
5422
+ * filter: "state eq 'Running'"
5423
+ * });
5424
+ *
5425
+ * // First page with pagination
5426
+ * const page1 = await jobs.getAll({ pageSize: 10 });
5427
+ *
5428
+ * // Navigate using cursor
5429
+ * if (page1.hasNextPage) {
5430
+ * const page2 = await jobs.getAll({ cursor: page1.nextCursor });
5431
+ * }
5432
+ *
5433
+ * // Jump to specific page
5434
+ * const page5 = await jobs.getAll({
5435
+ * jumpToPage: 5,
5436
+ * pageSize: 10
5437
+ * });
5438
+ * ```
5439
+ */
5440
+ getAll<T extends JobGetAllOptions = JobGetAllOptions>(options?: T): Promise<T extends HasPaginationOptions<T> ? PaginatedResponse<JobGetResponse> : NonPaginatedResponse<JobGetResponse>>;
5441
+ }
5025
5442
 
5026
5443
  /**
5027
5444
  * Service for managing and executing UiPath Automation Processes.
@@ -5249,7 +5666,8 @@ type QueueGetAllOptions = RequestOptions & PaginationOptions & {
5249
5666
  */
5250
5667
  folderId?: number;
5251
5668
  };
5252
- type QueueGetByIdOptions = BaseOptions;
5669
+ interface QueueGetByIdOptions extends BaseOptions {
5670
+ }
5253
5671
 
5254
5672
  /**
5255
5673
  * Service for managing UiPath Queues
@@ -5390,6 +5808,74 @@ declare class QueueService extends FolderScopedService implements QueueServiceMo
5390
5808
  getById(id: number, folderId: number, options?: QueueGetByIdOptions): Promise<QueueGetResponse>;
5391
5809
  }
5392
5810
 
5811
+ /**
5812
+ * Attachment response from the API
5813
+ */
5814
+ interface AttachmentResponse {
5815
+ /**
5816
+ * UUID of the attachment
5817
+ */
5818
+ id: string;
5819
+ /**
5820
+ * Name of the attachment
5821
+ */
5822
+ name: string;
5823
+ /**
5824
+ * Optional job key to link the attachment to a job when creating it.
5825
+ */
5826
+ jobKey?: string;
5827
+ /**
5828
+ * Optional category for the attachment when linking to a job.
5829
+ */
5830
+ attachmentCategory?: string;
5831
+ /**
5832
+ * When the attachment was last modified
5833
+ */
5834
+ lastModifiedTime?: string;
5835
+ /**
5836
+ * User ID who last modified the attachment
5837
+ */
5838
+ lastModifierUserId?: number;
5839
+ /**
5840
+ * When the attachment was created
5841
+ */
5842
+ createdTime?: string;
5843
+ /**
5844
+ * User ID who created the attachment
5845
+ */
5846
+ creatorUserId?: number;
5847
+ blobFileAccess: BucketGetUriResponse;
5848
+ }
5849
+ /**
5850
+ * Options for getting an attachment by ID
5851
+ */
5852
+ interface AttachmentGetByIdOptions extends BaseOptions {
5853
+ }
5854
+
5855
+ /**
5856
+ * Service for managing UiPath Orchestrator Attachments.
5857
+ *
5858
+ * Attachments are files that can be associated with Orchestrator jobs.
5859
+ */
5860
+ interface AttachmentServiceModel {
5861
+ /**
5862
+ * Gets an attachment by ID
5863
+ *
5864
+ * @param id - The UUID of the attachment to retrieve
5865
+ * @param options - Optional query parameters (expand, select)
5866
+ * @returns Promise resolving to the attachment
5867
+ * {@link AttachmentResponse}
5868
+ * @example
5869
+ * ```typescript
5870
+ * import { Attachments } from '@uipath/uipath-typescript/attachments';
5871
+ *
5872
+ * const attachments = new Attachments(sdk);
5873
+ * const attachment = await attachments.getById('12345678-1234-1234-1234-123456789abc');
5874
+ * ```
5875
+ */
5876
+ getById(id: string, options?: AttachmentGetByIdOptions): Promise<AttachmentResponse>;
5877
+ }
5878
+
5393
5879
  /**
5394
5880
  * Service for interacting with UiPath Tasks API
5395
5881
  */
@@ -5501,23 +5987,24 @@ declare class TaskService extends BaseService implements TaskServiceModel {
5501
5987
  getAll<T extends TaskGetAllOptions = TaskGetAllOptions>(options?: T): Promise<T extends HasPaginationOptions<T> ? PaginatedResponse<TaskGetResponse> : NonPaginatedResponse<TaskGetResponse>>;
5502
5988
  /**
5503
5989
  * Gets a task by ID
5504
- * IMPORTANT: For form tasks, folderId must be provided.
5505
- *
5506
5990
  * @param id - The ID of the task to retrieve
5507
- * @param options - Optional query parameters
5508
- * @param folderId - Optional folder ID (REQUIRED for form tasks)
5509
- * @returns Promise resolving to the task (form tasks will return form-specific data)
5510
- *
5991
+ * @param options - Optional query parameters including taskType for faster retrieval {@link TaskGetByIdOptions}
5992
+ * @param folderId - Optional folder ID (REQUIRED when options.taskType is provided)
5993
+ * @returns Promise resolving to the task
5994
+ * {@link TaskGetResponse}
5511
5995
  * @example
5512
5996
  * ```typescript
5513
- * import { Tasks } from '@uipath/uipath-typescript/tasks';
5997
+ * // Get a task by ID
5998
+ * const task = await tasks.getById(<taskId>);
5514
5999
  *
5515
- * const tasks = new Tasks(sdk);
6000
+ * // Get a form task by ID
6001
+ * const formTask = await tasks.getById(<taskId>, {}, <folderId>);
5516
6002
  *
5517
- * // Get task by ID
5518
- * const task = await tasks.getById(123);
6003
+ * // Access form task properties
6004
+ * console.log(formTask.formLayout);
5519
6005
  *
5520
- * // If the task is a form task, it will automatically return form-specific data
6006
+ * // Get a document validation task by ID (faster with taskType provided in the options)
6007
+ * const dvTask = await tasks.getById(<taskId>, { taskType: TaskType.DocumentValidation }, <folderId>);
5521
6008
  * ```
5522
6009
  */
5523
6010
  getById(id: number, options?: TaskGetByIdOptions, folderId?: number): Promise<TaskGetResponse>;
@@ -5649,14 +6136,19 @@ declare class TaskService extends BaseService implements TaskServiceModel {
5649
6136
  */
5650
6137
  complete(options: TaskCompletionOptions, folderId: number): Promise<OperationResponse<TaskCompletionOptions>>;
5651
6138
  /**
5652
- * Gets a form task by ID (private method)
6139
+ * Routes to the type-specific endpoint based on task type.
6140
+ */
6141
+ private getByTaskType;
6142
+ /**
6143
+ * Fetches a task from a type-specific endpoint.
5653
6144
  *
5654
- * @param id - The ID of the form task to retrieve
6145
+ * @param id - The task ID
5655
6146
  * @param folderId - Required folder ID
5656
- * @param options - Optional query parameters
5657
- * @returns Promise resolving to the form task
6147
+ * @param endpoint - The type-specific endpoint to call
6148
+ * @param extraParams - Additional query parameters (e.g. form options)
6149
+ * @returns Promise resolving to the task
5658
6150
  */
5659
- private getFormTaskById;
6151
+ private getTaskByTypeEndpoint;
5660
6152
  /**
5661
6153
  * Process parameters for task queries with folder filtering
5662
6154
  * @param options - The REST API options to process
@@ -9318,6 +9810,37 @@ interface ConversationServiceModel {
9318
9810
  * ```
9319
9811
  */
9320
9812
  uploadAttachment(id: string, file: File): Promise<ConversationAttachmentUploadResponse>;
9813
+ /**
9814
+ * Registers a file attachment for a conversation and returns a URI along with
9815
+ * pre-signed upload access details. Use the returned `fileUploadAccess` to upload
9816
+ * the file content to blob storage, then reference `uri` in subsequent messages.
9817
+ *
9818
+ * @param conversationId - The ID of the conversation to attach the file to
9819
+ * @param fileName - The name of the file to attach
9820
+ * @returns Promise resolving to {@link ConversationAttachmentCreateResponse} containing
9821
+ * the attachment `uri` and `fileUploadAccess` details needed to upload the file content
9822
+ *
9823
+ * @example <caption>Step 1 — Get the attachment URI and upload access</caption>
9824
+ * ```typescript
9825
+ * const { uri, fileUploadAccess } = await conversationalAgent.conversations.getAttachmentUploadUri(conversationId, 'report.pdf');
9826
+ * console.log(`Attachment URI: ${uri}`);
9827
+ * ```
9828
+ *
9829
+ * @example <caption>Step 2 — Upload the file content to the returned URL</caption>
9830
+ * ```typescript
9831
+ * const { uri, fileUploadAccess } = await conversationalAgent.conversations.getAttachmentUploadUri(conversationId, file.name);
9832
+ *
9833
+ * await fetch(fileUploadAccess.url, {
9834
+ * method: fileUploadAccess.verb,
9835
+ * body: file,
9836
+ * headers: { 'Content-Type': file.type },
9837
+ * });
9838
+ *
9839
+ * // Reference the URI in a message after upload
9840
+ * console.log(`File ready at: ${uri}`);
9841
+ * ```
9842
+ */
9843
+ getAttachmentUploadUri(conversationId: string, fileName: string): Promise<ConversationAttachmentCreateResponse>;
9321
9844
  /**
9322
9845
  * Starts a real-time chat session for a conversation
9323
9846
  *
@@ -9561,11 +10084,14 @@ interface ConversationSessionOptions {
9561
10084
  logLevel?: LogLevel;
9562
10085
  }
9563
10086
  /** Response for creating a conversation (includes methods) */
9564
- type ConversationCreateResponse = ConversationGetResponse;
10087
+ interface ConversationCreateResponse extends ConversationGetResponse {
10088
+ }
9565
10089
  /** Response for updating a conversation (includes methods) */
9566
- type ConversationUpdateResponse = ConversationGetResponse;
10090
+ interface ConversationUpdateResponse extends ConversationGetResponse {
10091
+ }
9567
10092
  /** Response for deleting a conversation (raw data, no methods needed) */
9568
- type ConversationDeleteResponse = RawConversationGetResponse;
10093
+ interface ConversationDeleteResponse extends RawConversationGetResponse {
10094
+ }
9569
10095
  interface ConversationCreateOptions {
9570
10096
  /** Human-readable label for the conversation (max 100 chars) */
9571
10097
  label?: string;
@@ -9760,7 +10286,8 @@ interface RawAgentGetByIdResponse extends RawAgentGetResponse {
9760
10286
  /**
9761
10287
  * Options for creating a conversation from an agent
9762
10288
  */
9763
- type AgentCreateConversationOptions = ConversationCreateOptions;
10289
+ interface AgentCreateConversationOptions extends ConversationCreateOptions {
10290
+ }
9764
10291
  /**
9765
10292
  * Scoped conversation service for a specific agent.
9766
10293
  * Auto-fills agentId and folderId from the agent.
@@ -9852,7 +10379,8 @@ interface UserSettingsGetResponse {
9852
10379
  updatedTime: string;
9853
10380
  }
9854
10381
  /** Response for updating user settings */
9855
- type UserSettingsUpdateResponse = UserSettingsGetResponse;
10382
+ interface UserSettingsUpdateResponse extends UserSettingsGetResponse {
10383
+ }
9856
10384
  /**
9857
10385
  * Options for updating user settings
9858
10386
  *
@@ -10455,7 +10983,7 @@ declare const telemetryClient: TelemetryClient;
10455
10983
  * SDK Telemetry constants
10456
10984
  */
10457
10985
  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";
10458
- declare const SDK_VERSION = "1.2.0";
10986
+ declare const SDK_VERSION = "1.2.2";
10459
10987
  declare const VERSION = "Version";
10460
10988
  declare const SERVICE = "Service";
10461
10989
  declare const CLOUD_ORGANIZATION_NAME = "CloudOrganizationName";
@@ -10470,5 +10998,5 @@ declare const SDK_LOGGER_NAME = "uipath-ts-sdk-telemetry";
10470
10998
  declare const SDK_RUN_EVENT = "Sdk.Run";
10471
10999
  declare const UNKNOWN = "";
10472
11000
 
10473
- 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, EntityFieldDataType, EntityType, ErrorType, EscalationActionType, EscalationRecipientScope, EscalationTriggerType, ExchangeMap, FeedbackRating, FieldDisplayType, HttpStatus, InputStreamSpeechSensitivity, InterruptType, JobPriority, JobState, JobType, JoinType, MAX_PAGE_SIZE, MessageMap, MessageRole, NetworkError, NotFoundError, PackageSourceType, PackageType, ProcessIncidentSeverity, ProcessIncidentStatus, ProcessIncidentType, RateLimitError, ReferenceType, RemoteControlAccess, RobotSize, SDK_LOGGER_NAME, SDK_RUN_EVENT, SDK_SERVICE_NAME, SDK_VERSION, SERVICE, SLADurationUnit, ServerError, SortOrder, StageTaskType, StartStrategy, StopStrategy, TargetFramework, TaskActivityType, TaskPriority, TaskSlaCriteria, TaskSlaStatus, TaskSourceName, TaskStatus, TaskType, UNKNOWN, UiPath, UiPathError, UiPathMetaTags, UserSettingsMap, VERSION, ValidationError, createAgentWithMethods, createCaseInstanceWithMethods, createConversationWithMethods, createEntityWithMethods, createProcessInstanceWithMethods, createProcessWithMethods, createTaskWithMethods, getAppBase, getAsset, getErrorDetails, getLimitedPageSize, isAuthenticationError, isAuthorizationError, isNetworkError, isNotFoundError, isRateLimitError, isServerError, isUiPathError, isValidationError, loadFromMetaTags, telemetryClient, track, trackEvent };
10474
- export type { AgentAppearance, AgentConversationServiceModel, AgentCreateConversationOptions, AgentGetByIdResponse, AgentGetResponse, AgentMethods, AgentStartingPrompt, ArgumentMetadata, AssetGetAllOptions, AssetGetByIdOptions, AssetGetResponse, AssetServiceModel, AsyncInputStream, AsyncInputStreamChunkEvent, AsyncInputStreamEndEvent, AsyncInputStreamEvent, AsyncInputStreamStartEvent, AsyncToolCallStream, 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, EntityDeleteAttachmentResponse, EntityDeleteOptions, EntityDeleteRecordsOptions, EntityDeleteResponse, EntityFileType, EntityGetAllRecordsOptions, EntityGetRecordByIdOptions, EntityGetRecordsByIdOptions, EntityGetResponse, EntityInsertOptions, EntityInsertRecordOptions, EntityInsertRecordsOptions, EntityInsertResponse, EntityMethods, EntityOperationOptions, EntityOperationResponse, EntityRecord, EntityServiceModel, EntityUpdateOptions, 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, FeedbackCreateResponse, Field, FieldDataType, FieldMetaData, FileUploadAccess, FolderProperties, GenericInterruptStartEvent, GlobalVariableMetaData, HasPaginationOptions, Headers, HttpMethod, InlineOrExternalValue, InlineValue, Interrupt, InterruptEndEvent, InterruptEvent, InterruptStartEvent, JSONArray, JSONObject, JSONPrimitive, JSONValue, JobAttachment, JobError, 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, ProcessMethods, ProcessProperties, ProcessServiceModel, ProcessStartRequest, ProcessStartRequestWithKey, ProcessStartRequestWithName, ProcessStartResponse, QueryParams, QueueGetAllOptions, QueueGetByIdOptions, QueueGetResponse, QueueServiceModel, RawAgentGetByIdResponse, RawAgentGetResponse, RawCaseInstanceGetResponse, RawConversationGetResponse, RawEntityGetResponse, RawMaestroProcessGetAllResponse, RawProcessInstanceGetResponse, RawTaskCreateResponse, RawTaskGetResponse, RequestOptions, RequestSpec, ResponseDictionary, ResponseType, RetryOptions, RobotMetadata, SessionCapabilities, SessionEndEvent, SessionEndingEvent, SessionStartEvent, SessionStartedEvent, SessionStream, Simplify, SourceJoinCriteria, 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 };
11001
+ 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, EntityFieldDataType, EntityType, ErrorType, EscalationActionType, EscalationRecipientScope, EscalationTriggerType, ExchangeMap, FeedbackRating, FieldDisplayType, HttpStatus, InputStreamSpeechSensitivity, InterruptType, JobPriority, JobSourceType, JobState, JobSubState, JobType, JoinType, MAX_PAGE_SIZE, MessageMap, MessageRole, NetworkError, NotFoundError, PackageSourceType, PackageType, ProcessIncidentSeverity, ProcessIncidentStatus, ProcessIncidentType, 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, UNKNOWN, UiPath, UiPathError, UiPathMetaTags, UserSettingsMap, VERSION, ValidationError, createAgentWithMethods, createCaseInstanceWithMethods, createConversationWithMethods, createEntityWithMethods, createProcessInstanceWithMethods, createProcessWithMethods, createTaskWithMethods, getAppBase, getAsset, getErrorDetails, getLimitedPageSize, isAuthenticationError, isAuthorizationError, isNetworkError, isNotFoundError, isRateLimitError, isServerError, isUiPathError, isValidationError, loadFromMetaTags, telemetryClient, track, trackEvent };
11002
+ export type { AgentAppearance, AgentConversationServiceModel, AgentCreateConversationOptions, AgentGetByIdResponse, AgentGetResponse, 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, EntityDeleteAttachmentResponse, EntityDeleteOptions, EntityDeleteRecordsOptions, EntityDeleteResponse, EntityFileType, EntityGetAllRecordsOptions, EntityGetRecordByIdOptions, EntityGetRecordsByIdOptions, EntityGetResponse, EntityInsertOptions, EntityInsertRecordOptions, EntityInsertRecordsOptions, EntityInsertResponse, EntityMethods, EntityOperationOptions, EntityOperationResponse, EntityRecord, EntityServiceModel, 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, FeedbackCreateResponse, Field, FieldDataType, FieldMetaData, FileUploadAccess, FolderProperties, GenericInterruptStartEvent, GlobalVariableMetaData, HasPaginationOptions, Headers, HttpMethod, InlineOrExternalValue, InlineValue, Interrupt, InterruptEndEvent, InterruptEvent, InterruptStartEvent, JSONArray, JSONObject, JSONPrimitive, JSONValue, JobAttachment, JobError, JobGetAllOptions, JobGetResponse, JobServiceModel, 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, RawMaestroProcessGetAllResponse, RawProcessInstanceGetResponse, RawTaskCreateResponse, RawTaskGetResponse, RequestOptions, RequestSpec, ResponseDictionary, ResponseType, RetryOptions, RobotMetadata, SessionCapabilities, SessionEndEvent, SessionEndingEvent, SessionStartEvent, SessionStartedEvent, SessionStream, Simplify, SourceJoinCriteria, 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 };