@uipath/uipath-typescript 1.2.2 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -4518,6 +4518,7 @@ const QUEUE_ENDPOINTS = {
4518
4518
  */
4519
4519
  const JOB_ENDPOINTS = {
4520
4520
  GET_ALL: `${ORCHESTRATOR_BASE}/odata/Jobs`,
4521
+ GET_BY_KEY: (identifier) => `${ORCHESTRATOR_BASE}/odata/Jobs/UiPath.Server.Configuration.OData.GetByKey(identifier=${identifier})`,
4521
4522
  };
4522
4523
  /**
4523
4524
  * Orchestrator Asset Service Endpoints
@@ -5417,7 +5418,7 @@ function normalizeBaseUrl(url) {
5417
5418
  // Connection string placeholder that will be replaced during build
5418
5419
  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";
5419
5420
  // SDK Version placeholder
5420
- const SDK_VERSION = "1.2.2";
5421
+ const SDK_VERSION = "1.3.0";
5421
5422
  const VERSION = "Version";
5422
5423
  const SERVICE = "Service";
5423
5424
  const CLOUD_ORGANIZATION_NAME = "CloudOrganizationName";
@@ -7921,11 +7922,7 @@ class EntityService extends BaseService {
7921
7922
  expansionLevel: options.expansionLevel
7922
7923
  });
7923
7924
  const response = await this.get(DATA_FABRIC_ENDPOINTS.ENTITY.GET_RECORD_BY_ID(entityId, recordId), { params });
7924
- // Convert PascalCase response to camelCase
7925
- const camelResponse = pascalToCamelCaseKeys(response.data);
7926
- // Apply EntityMap transformations
7927
- const transformedResponse = transformData(camelResponse, EntityMap);
7928
- return transformedResponse;
7925
+ return response.data;
7929
7926
  }
7930
7927
  /**
7931
7928
  * Inserts a single record into an entity by entity ID
@@ -7958,9 +7955,7 @@ class EntityService extends BaseService {
7958
7955
  params,
7959
7956
  ...options
7960
7957
  });
7961
- // Convert PascalCase response to camelCase
7962
- const camelResponse = pascalToCamelCaseKeys(response.data);
7963
- return camelResponse;
7958
+ return response.data;
7964
7959
  }
7965
7960
  /**
7966
7961
  * Inserts data into an entity by entity ID using batch insert
@@ -8001,9 +7996,7 @@ class EntityService extends BaseService {
8001
7996
  params,
8002
7997
  ...options
8003
7998
  });
8004
- // Convert PascalCase response to camelCase
8005
- const camelResponse = pascalToCamelCaseKeys(response.data);
8006
- return camelResponse;
7999
+ return response.data;
8007
8000
  }
8008
8001
  /**
8009
8002
  * Updates a single record in an entity by entity ID
@@ -8037,9 +8030,7 @@ class EntityService extends BaseService {
8037
8030
  params,
8038
8031
  ...options
8039
8032
  });
8040
- // Convert PascalCase response to camelCase
8041
- const camelResponse = pascalToCamelCaseKeys(response.data);
8042
- return camelResponse;
8033
+ return response.data;
8043
8034
  }
8044
8035
  /**
8045
8036
  * Updates data in an entity by entity ID
@@ -8081,9 +8072,7 @@ class EntityService extends BaseService {
8081
8072
  params,
8082
8073
  ...options
8083
8074
  });
8084
- // Convert PascalCase response to camelCase
8085
- const camelResponse = pascalToCamelCaseKeys(response.data);
8086
- return camelResponse;
8075
+ return response.data;
8087
8076
  }
8088
8077
  /**
8089
8078
  * Deletes data from an entity by entity ID
@@ -8113,9 +8102,7 @@ class EntityService extends BaseService {
8113
8102
  params,
8114
8103
  ...options
8115
8104
  });
8116
- // Convert PascalCase response to camelCase
8117
- const camelResponse = pascalToCamelCaseKeys(response.data);
8118
- return camelResponse;
8105
+ return response.data;
8119
8106
  }
8120
8107
  /**
8121
8108
  * Gets all entities in the system
@@ -8167,7 +8154,7 @@ class EntityService extends BaseService {
8167
8154
  *
8168
8155
  * // Get the recordId from getAllRecords()
8169
8156
  * const records = await entities.getAllRecords(entityId);
8170
- * const recordId = records[0].id;
8157
+ * const recordId = records[0].Id;
8171
8158
  *
8172
8159
  * // Download attachment for a specific record and field
8173
8160
  * const blob = await entities.downloadAttachment(entityId, recordId, 'Documents');
@@ -8201,7 +8188,7 @@ class EntityService extends BaseService {
8201
8188
  *
8202
8189
  * // Get the recordId from getAllRecords()
8203
8190
  * const records = await entities.getAllRecords(entityId);
8204
- * const recordId = records[0].id;
8191
+ * const recordId = records[0].Id;
8205
8192
  *
8206
8193
  * // Upload a file attachment
8207
8194
  * const response = await entities.uploadAttachment(entityId, recordId, 'Documents', file);
@@ -8217,9 +8204,7 @@ class EntityService extends BaseService {
8217
8204
  }
8218
8205
  const params = createParams({ expansionLevel: options?.expansionLevel });
8219
8206
  const response = await this.post(DATA_FABRIC_ENDPOINTS.ENTITY.UPLOAD_ATTACHMENT(entityId, recordId, fieldName), formData, { params });
8220
- // Convert PascalCase response to camelCase
8221
- const camelResponse = pascalToCamelCaseKeys(response.data);
8222
- return camelResponse;
8207
+ return response.data;
8223
8208
  }
8224
8209
  /**
8225
8210
  * Removes an attachment from a File-type field of an entity record
@@ -8241,7 +8226,7 @@ class EntityService extends BaseService {
8241
8226
  *
8242
8227
  * // Get the recordId from getAllRecords()
8243
8228
  * const records = await entities.getAllRecords(entityId);
8244
- * const recordId = records[0].id;
8229
+ * const recordId = records[0].Id;
8245
8230
  *
8246
8231
  * // Delete attachment for a specific record and field
8247
8232
  * await entities.deleteAttachment(entityId, recordId, 'Documents');
@@ -10960,6 +10945,36 @@ var BucketOptions;
10960
10945
  BucketOptions["AccessDataThroughOrchestrator"] = "AccessDataThroughOrchestrator";
10961
10946
  })(BucketOptions || (BucketOptions = {}));
10962
10947
 
10948
+ /**
10949
+ * Creates methods for a job response object.
10950
+ *
10951
+ * @param jobData - The raw job data from API
10952
+ * @param service - The job service instance
10953
+ * @returns Object containing job methods
10954
+ */
10955
+ function createJobMethods(jobData, service) {
10956
+ return {
10957
+ async getOutput() {
10958
+ if (!jobData.key)
10959
+ throw new Error('Job key is undefined');
10960
+ if (!jobData.folderId)
10961
+ throw new Error('Job folderId is undefined');
10962
+ return service.getOutput(jobData.key, jobData.folderId);
10963
+ },
10964
+ };
10965
+ }
10966
+ /**
10967
+ * Creates a job response with bound methods.
10968
+ *
10969
+ * @param jobData - The raw job data from API
10970
+ * @param service - The job service instance
10971
+ * @returns A job object with added methods
10972
+ */
10973
+ function createJobWithMethods(jobData, service) {
10974
+ const methods = createJobMethods(jobData, service);
10975
+ return Object.assign({}, jobData, methods);
10976
+ }
10977
+
10963
10978
  /**
10964
10979
  * Maps fields for Job entities to ensure consistent naming
10965
10980
  * Semantic renames only — case conversion handled by pascalToCamelCaseKeys()
@@ -10975,27 +10990,81 @@ const JobMap = {
10975
10990
  release: 'process',
10976
10991
  };
10977
10992
 
10993
+ /**
10994
+ * Maps fields for Attachment entities to ensure consistent naming
10995
+ */
10996
+ const AttachmentsMap = {
10997
+ creationTime: 'createdTime',
10998
+ lastModificationTime: 'lastModifiedTime'
10999
+ };
11000
+
11001
+ class AttachmentService extends BaseService {
11002
+ /**
11003
+ * Gets an attachment by ID
11004
+ * @param id - The UUID of the attachment to retrieve
11005
+ * @param options - Optional query parameters (expand, select)
11006
+ * @returns Promise resolving to the attachment
11007
+ *
11008
+ * @example
11009
+ * ```typescript
11010
+ * import { Attachments } from '@uipath/uipath-typescript/attachments';
11011
+ *
11012
+ * const attachments = new Attachments(sdk);
11013
+ * const attachment = await attachments.getById('12345678-1234-1234-1234-123456789abc');
11014
+ * ```
11015
+ */
11016
+ async getById(id, options = {}) {
11017
+ if (!id) {
11018
+ throw new ValidationError({ message: 'id is required for getById' });
11019
+ }
11020
+ // Prefix all keys in options with $ for OData
11021
+ const keysToPrefix = Object.keys(options);
11022
+ const apiOptions = addPrefixToKeys(options, ODATA_PREFIX, keysToPrefix);
11023
+ const response = await this.get(ORCHESTRATOR_ATTACHMENT_ENDPOINTS.GET_BY_ID(id), {
11024
+ params: apiOptions,
11025
+ });
11026
+ // Transform response from PascalCase to camelCase, then apply field maps
11027
+ const camelCased = pascalToCamelCaseKeys(response.data);
11028
+ camelCased.blobFileAccess = transformData(camelCased.blobFileAccess, BucketMap);
11029
+ return transformData(camelCased, AttachmentsMap);
11030
+ }
11031
+ }
11032
+ __decorate([
11033
+ track('Attachments.GetById')
11034
+ ], AttachmentService.prototype, "getById", null);
11035
+
10978
11036
  /**
10979
11037
  * Service for interacting with UiPath Orchestrator Jobs API
10980
11038
  */
10981
11039
  class JobService extends FolderScopedService {
10982
11040
  /**
10983
- * Gets all jobs across folders with optional filtering
11041
+ * Creates an instance of the Jobs service.
10984
11042
  *
10985
- * @param options - Query options including optional folderId and pagination options
10986
- * @returns Promise resolving to array of jobs or paginated response
11043
+ * @param instance - UiPath SDK instance providing authentication and configuration
11044
+ */
11045
+ constructor(instance) {
11046
+ super(instance);
11047
+ this.attachmentService = new AttachmentService(instance);
11048
+ }
11049
+ /**
11050
+ * Gets all jobs across folders with optional filtering and pagination.
10987
11051
  *
10988
- * @example
10989
- * ```typescript
10990
- * import { Jobs } from '@uipath/uipath-typescript/jobs';
11052
+ * Returns jobs with full details including state, timing, and input/output arguments.
11053
+ * Pass `folderId` to scope the query to a specific folder.
10991
11054
  *
10992
- * const jobs = new Jobs(sdk);
11055
+ * !!! info "Input and output fields are not included in `getAll` responses"
11056
+ * The `inputArguments`, `inputFile`, `outputArguments`, and `outputFile` fields will always be `null` in the `getAll` response. To retrieve a job's output, use the {@link getOutput} method with the job's `key` and `folderId`.
10993
11057
  *
11058
+ * @param options - Query options including optional folderId, filtering, and pagination options
11059
+ * @returns Promise resolving to either an array of jobs {@link NonPaginatedResponse}<{@link JobGetResponse}> or a {@link PaginatedResponse}<{@link JobGetResponse}> when pagination options are used.
11060
+ * {@link JobGetResponse}
11061
+ * @example
11062
+ * ```typescript
10994
11063
  * // Get all jobs
10995
11064
  * const allJobs = await jobs.getAll();
10996
11065
  *
10997
11066
  * // Get all jobs in a specific folder
10998
- * const folderJobs = await jobs.getAll({ folderId: 123 });
11067
+ * const folderJobs = await jobs.getAll({ folderId: <folderId> });
10999
11068
  *
11000
11069
  * // With filtering
11001
11070
  * const runningJobs = await jobs.getAll({
@@ -11009,10 +11078,19 @@ class JobService extends FolderScopedService {
11009
11078
  * if (page1.hasNextPage) {
11010
11079
  * const page2 = await jobs.getAll({ cursor: page1.nextCursor });
11011
11080
  * }
11081
+ *
11082
+ * // Jump to specific page
11083
+ * const page5 = await jobs.getAll({
11084
+ * jumpToPage: 5,
11085
+ * pageSize: 10
11086
+ * });
11012
11087
  * ```
11013
11088
  */
11014
11089
  async getAll(options) {
11015
- const transformJobResponse = (job) => transformData(pascalToCamelCaseKeys(job), JobMap);
11090
+ const transformJobResponse = (job) => {
11091
+ const rawJob = transformData(pascalToCamelCaseKeys(job), JobMap);
11092
+ return createJobWithMethods(rawJob, this);
11093
+ };
11016
11094
  return PaginationHelpers.getAll({
11017
11095
  serviceAccess: this.createPaginationServiceAccess(),
11018
11096
  getEndpoint: () => JOB_ENDPOINTS.GET_ALL,
@@ -11030,10 +11108,111 @@ class JobService extends FolderScopedService {
11030
11108
  },
11031
11109
  }, options);
11032
11110
  }
11111
+ /**
11112
+ * Gets the output of a completed job.
11113
+ *
11114
+ * Retrieves the job's output arguments, handling both inline output (stored directly on the job
11115
+ * as a JSON string in `outputArguments`) and file-based output (stored as a blob attachment for
11116
+ * large outputs). Returns the parsed JSON output or `null` if the job has no output.
11117
+ *
11118
+ * @param jobKey - The unique key (GUID) of the job to retrieve output from
11119
+ * @param folderId - The folder ID where the job resides
11120
+ * @returns Promise resolving to the parsed output as `Record<string, unknown>`, or `null` if no output exists
11121
+ *
11122
+ * @example
11123
+ * ```typescript
11124
+ * // Get output from a completed job
11125
+ * const output = await jobs.getOutput(<jobKey>, <folderId>);
11126
+ *
11127
+ * if (output) {
11128
+ * console.log('Job output:', output);
11129
+ * }
11130
+ * ```
11131
+ *
11132
+ * @example
11133
+ * ```typescript
11134
+ * // Get output using bound method (jobKey and folderId are taken from the job object)
11135
+ * const allJobs = await jobs.getAll();
11136
+ * const completedJob = allJobs.items.find(j => j.state === JobState.Successful);
11137
+ *
11138
+ * if (completedJob) {
11139
+ * const output = await completedJob.getOutput();
11140
+ * }
11141
+ * ```
11142
+ */
11143
+ async getOutput(jobKey, folderId) {
11144
+ if (!jobKey) {
11145
+ throw new ValidationError({ message: 'jobKey is required for getOutput' });
11146
+ }
11147
+ const job = await this.fetchJobByKey(jobKey, folderId);
11148
+ if (job.OutputArguments) {
11149
+ try {
11150
+ return JSON.parse(job.OutputArguments);
11151
+ }
11152
+ catch {
11153
+ throw new ServerError({ message: 'Failed to parse job output arguments as JSON' });
11154
+ }
11155
+ }
11156
+ if (job.OutputFile) {
11157
+ return this.downloadOutputFile(job.OutputFile);
11158
+ }
11159
+ return null;
11160
+ }
11161
+ /**
11162
+ * Fetches a job by its Key (GUID) using the GetByKey endpoint.
11163
+ * Only selects fields needed for output extraction.
11164
+ */
11165
+ async fetchJobByKey(jobKey, folderId) {
11166
+ const headers = createHeaders({ [FOLDER_ID]: folderId });
11167
+ const response = await this.get(JOB_ENDPOINTS.GET_BY_KEY(jobKey), {
11168
+ params: {
11169
+ $select: 'OutputArguments,OutputFile',
11170
+ },
11171
+ headers,
11172
+ });
11173
+ return response.data;
11174
+ }
11175
+ /**
11176
+ * Downloads the output file content via the Attachments API.
11177
+ * 1. Fetches blob access info from the attachment using AttachmentService
11178
+ * 2. Downloads content from the presigned blob URI
11179
+ * 3. Parses and returns the JSON content
11180
+ */
11181
+ async downloadOutputFile(outputFileKey) {
11182
+ const attachment = await this.attachmentService.getById(outputFileKey);
11183
+ const blobAccess = attachment.blobFileAccess;
11184
+ if (!blobAccess?.uri) {
11185
+ return null;
11186
+ }
11187
+ const blobHeaders = { ...blobAccess.headers };
11188
+ // Add auth header if the blob URI requires authenticated access
11189
+ if (blobAccess.requiresAuth) {
11190
+ const token = await this.getValidAuthToken();
11191
+ blobHeaders['Authorization'] = `Bearer ${token}`;
11192
+ }
11193
+ const blobResponse = await fetch(blobAccess.uri, {
11194
+ method: 'GET',
11195
+ headers: blobHeaders,
11196
+ });
11197
+ if (!blobResponse.ok) {
11198
+ const errorInfo = await errorResponseParser.parse(blobResponse);
11199
+ throw ErrorFactory.createFromHttpStatus(blobResponse.status, errorInfo);
11200
+ }
11201
+ const content = await blobResponse.text();
11202
+ try {
11203
+ return JSON.parse(content);
11204
+ }
11205
+ catch {
11206
+ throw new ServerError({ message: 'Failed to parse job output file as JSON' });
11207
+ }
11208
+ }
11033
11209
  }
11034
11210
  __decorate([
11035
11211
  track('Jobs.GetAll')
11036
11212
  ], JobService.prototype, "getAll", null);
11213
+ __decorate([
11214
+ track('Jobs.GetOutput')
11215
+ ], JobService.prototype, "getOutput", null);
11037
11216
 
11038
11217
  /**
11039
11218
  * Enum for job sub-state
@@ -11060,6 +11239,22 @@ var ServerlessJobType;
11060
11239
  ServerlessJobType["PythonAgent"] = "PythonAgent";
11061
11240
  })(ServerlessJobType || (ServerlessJobType = {}));
11062
11241
 
11242
+ /**
11243
+ * Common enum for job state used across services
11244
+ */
11245
+ var JobState;
11246
+ (function (JobState) {
11247
+ JobState["Pending"] = "Pending";
11248
+ JobState["Running"] = "Running";
11249
+ JobState["Stopping"] = "Stopping";
11250
+ JobState["Terminating"] = "Terminating";
11251
+ JobState["Faulted"] = "Faulted";
11252
+ JobState["Successful"] = "Successful";
11253
+ JobState["Stopped"] = "Stopped";
11254
+ JobState["Suspended"] = "Suspended";
11255
+ JobState["Resumed"] = "Resumed";
11256
+ })(JobState || (JobState = {}));
11257
+
11063
11258
  /**
11064
11259
  * Maps fields for Process entities to ensure consistent naming
11065
11260
  */
@@ -11516,49 +11711,6 @@ __decorate([
11516
11711
  track('Queues.GetById')
11517
11712
  ], QueueService.prototype, "getById", null);
11518
11713
 
11519
- /**
11520
- * Maps fields for Attachment entities to ensure consistent naming
11521
- */
11522
- const AttachmentsMap = {
11523
- creationTime: 'createdTime',
11524
- lastModificationTime: 'lastModifiedTime'
11525
- };
11526
-
11527
- class AttachmentService extends BaseService {
11528
- /**
11529
- * Gets an attachment by ID
11530
- * @param id - The UUID of the attachment to retrieve
11531
- * @param options - Optional query parameters (expand, select)
11532
- * @returns Promise resolving to the attachment
11533
- *
11534
- * @example
11535
- * ```typescript
11536
- * import { Attachments } from '@uipath/uipath-typescript/attachments';
11537
- *
11538
- * const attachments = new Attachments(sdk);
11539
- * const attachment = await attachments.getById('12345678-1234-1234-1234-123456789abc');
11540
- * ```
11541
- */
11542
- async getById(id, options = {}) {
11543
- if (!id) {
11544
- throw new ValidationError({ message: 'id is required for getById' });
11545
- }
11546
- // Prefix all keys in options with $ for OData
11547
- const keysToPrefix = Object.keys(options);
11548
- const apiOptions = addPrefixToKeys(options, ODATA_PREFIX, keysToPrefix);
11549
- const response = await this.get(ORCHESTRATOR_ATTACHMENT_ENDPOINTS.GET_BY_ID(id), {
11550
- params: apiOptions,
11551
- });
11552
- // Transform response from PascalCase to camelCase, then apply field maps
11553
- const camelCased = pascalToCamelCaseKeys(response.data);
11554
- camelCased.blobFileAccess = transformData(camelCased.blobFileAccess, BucketMap);
11555
- return transformData(camelCased, AttachmentsMap);
11556
- }
11557
- }
11558
- __decorate([
11559
- track('Attachments.GetById')
11560
- ], AttachmentService.prototype, "getById", null);
11561
-
11562
11714
  /**
11563
11715
  * UiPath SDK - Legacy class providing all services through property getters.
11564
11716
  *
@@ -11674,22 +11826,6 @@ class UiPath extends UiPath$1 {
11674
11826
  }
11675
11827
  }
11676
11828
 
11677
- /**
11678
- * Common enum for job state used across services
11679
- */
11680
- var JobState;
11681
- (function (JobState) {
11682
- JobState["Pending"] = "Pending";
11683
- JobState["Running"] = "Running";
11684
- JobState["Stopping"] = "Stopping";
11685
- JobState["Terminating"] = "Terminating";
11686
- JobState["Faulted"] = "Faulted";
11687
- JobState["Successful"] = "Successful";
11688
- JobState["Stopped"] = "Stopped";
11689
- JobState["Suspended"] = "Suspended";
11690
- JobState["Resumed"] = "Resumed";
11691
- })(JobState || (JobState = {}));
11692
-
11693
11829
  /**
11694
11830
  * Common Constants for Conversational Agent
11695
11831
  */
@@ -12023,4 +12159,4 @@ function getAppBase() {
12023
12159
  return getMetaTagContent(UiPathMetaTags.APP_BASE) || '/';
12024
12160
  }
12025
12161
 
12026
- 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$1 as 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 };
12162
+ 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$1 as 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 };