@uipath/uipath-typescript 1.1.3 → 1.2.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.d.ts CHANGED
@@ -526,34 +526,13 @@ interface EntityDeleteOptions {
526
526
  */
527
527
  type EntityDeleteRecordsOptions = EntityDeleteOptions;
528
528
  /**
529
- * Options for downloading an attachment from an entity record
529
+ * Supported file types for attachment upload
530
530
  */
531
- interface EntityDownloadAttachmentOptions {
532
- /** Entity name */
533
- entityName: string;
534
- /** Record ID */
535
- recordId: string;
536
- /** Field name containing the attachment */
537
- fieldName: string;
538
- }
531
+ type EntityFileType = Blob | File | Uint8Array;
539
532
  /**
540
- * Options for uploading an attachment to an entity record
533
+ * Optional options for uploading an attachment to an entity record
541
534
  */
542
535
  interface EntityUploadAttachmentOptions {
543
- /** Entity name */
544
- entityName: string;
545
- /** Record ID (UUID) */
546
- recordId: string;
547
- /** Field name of the File-type field */
548
- fieldName: string;
549
- /**
550
- * File to upload. Accepts the native types supported by FormData:
551
- * - `Blob` / `File`: standard browser and Node.js ≥ 18 types accepted directly by FormData.
552
- * `File` is a subclass of `Blob` and is typically obtained from a browser file input.
553
- * - `Uint8Array`: raw binary buffer (e.g. from `fs.readFileSync` or a Node.js Buffer).
554
- * Converted to a `Blob` internally before appending to FormData.
555
- */
556
- file: Blob | File | Uint8Array;
557
536
  /** Optional expansion level (default: 0) */
558
537
  expansionLevel?: number;
559
538
  }
@@ -561,6 +540,10 @@ interface EntityUploadAttachmentOptions {
561
540
  * Response from uploading an attachment to an entity record
562
541
  */
563
542
  type EntityUploadAttachmentResponse = Record<string, unknown>;
543
+ /**
544
+ * Response from deleting an attachment from an entity record
545
+ */
546
+ type EntityDeleteAttachmentResponse = Record<string, unknown>;
564
547
  /**
565
548
  * Represents a failure record in an entity operation
566
549
  */
@@ -1037,7 +1020,9 @@ interface EntityServiceModel {
1037
1020
  /**
1038
1021
  * Downloads an attachment stored in a File-type field of an entity record.
1039
1022
  *
1040
- * @param options - Options containing entityName, recordId, and fieldName
1023
+ * @param entityId - UUID of the entity
1024
+ * @param recordId - UUID of the record containing the attachment
1025
+ * @param fieldName - Name of the File-type field containing the attachment
1041
1026
  * @returns Promise resolving to Blob containing the file content
1042
1027
  * @example
1043
1028
  * ```typescript
@@ -1050,15 +1035,19 @@ interface EntityServiceModel {
1050
1035
  * // Get the recordId for the record that contains the attachment
1051
1036
  * const recordId = records.items[0].id;
1052
1037
  *
1038
+ * // Get the entityId from getAll()
1039
+ * const allEntities = await entities.getAll();
1040
+ * const entityId = allEntities[0].id;
1041
+ *
1042
+ * // Get the recordId from getAllRecords()
1043
+ * const records = await entities.getAllRecords(entityId);
1044
+ * const recordId = records[0].id;
1045
+ *
1053
1046
  * // Download attachment using service method
1054
- * const response = await entities.downloadAttachment({
1055
- * entityName: 'Invoice',
1056
- * recordId: recordId,
1057
- * fieldName: 'Documents'
1058
- * });
1047
+ * const response = await entities.downloadAttachment(entityId, recordId, 'Documents');
1059
1048
  *
1060
- * // Or download using entity method
1061
- * const entity = await entities.getById("<entityId>");
1049
+ * // Or download using entity method (entityId is already known)
1050
+ * const entity = await entities.getById(entityId);
1062
1051
  * const blob = await entity.downloadAttachment(recordId, 'Documents');
1063
1052
  *
1064
1053
  * // Browser: Display Image
@@ -1080,43 +1069,74 @@ interface EntityServiceModel {
1080
1069
  * fs.writeFileSync('attachment.pdf', buffer);
1081
1070
  * ```
1082
1071
  */
1083
- downloadAttachment(options: EntityDownloadAttachmentOptions): Promise<Blob>;
1072
+ downloadAttachment(entityId: string, recordId: string, fieldName: string): Promise<Blob>;
1084
1073
  /**
1085
1074
  * Uploads an attachment to a File-type field of an entity record.
1086
1075
  *
1087
1076
  * Uses multipart/form-data to upload the file content to the specified field.
1088
1077
  *
1089
- * @param options - Options containing entityName, recordId, fieldName, file, and optional expansionLevel
1090
- * @returns Promise resolving to the upload response
1091
- * {@link EntityUploadAttachmentResponse}
1078
+ * @param entityId - UUID of the entity
1079
+ * @param recordId - UUID of the record to upload the attachment to
1080
+ * @param fieldName - Name of the File-type field
1081
+ * @param file - File to upload (Blob, File, or Uint8Array)
1082
+ * @param options - Optional {@link EntityUploadAttachmentOptions} (e.g. expansionLevel)
1083
+ * @returns Promise resolving to {@link EntityUploadAttachmentResponse}
1092
1084
  * @example
1093
1085
  * ```typescript
1094
1086
  * import { Entities } from '@uipath/uipath-typescript/entities';
1095
1087
  *
1096
1088
  * const entities = new Entities(sdk);
1097
1089
  *
1090
+ * // Get the entityId from getAll()
1091
+ * const allEntities = await entities.getAll();
1092
+ * const entityId = allEntities[0].id;
1093
+ *
1094
+ * // Get the recordId from getAllRecords()
1095
+ * const records = await entities.getAllRecords(entityId);
1096
+ * const recordId = records[0].id;
1097
+ *
1098
1098
  * // Browser: Upload a file from an input element
1099
1099
  * const fileInput = document.getElementById('file-input') as HTMLInputElement;
1100
1100
  * const file = fileInput.files[0];
1101
- * const response = await entities.uploadAttachment({
1102
- * entityName: 'Invoice',
1103
- * recordId: '<recordId>',
1104
- * fieldName: 'Documents',
1105
- * file: file
1106
- * });
1101
+ * const response = await entities.uploadAttachment(entityId, recordId, 'Documents', file);
1107
1102
  *
1108
1103
  * // Node.js: Upload a file from disk
1109
1104
  * const fileBuffer = fs.readFileSync('document.pdf');
1110
1105
  * const blob = new Blob([fileBuffer], { type: 'application/pdf' });
1111
- * const response = await entities.uploadAttachment({
1112
- * entityName: 'Invoice',
1113
- * recordId: '<recordId>',
1114
- * fieldName: 'Documents',
1115
- * file: blob
1116
- * });
1106
+ * const response = await entities.uploadAttachment(entityId, recordId, 'Documents', blob);
1117
1107
  * ```
1118
1108
  */
1119
- uploadAttachment(options: EntityUploadAttachmentOptions): Promise<EntityUploadAttachmentResponse>;
1109
+ uploadAttachment(entityId: string, recordId: string, fieldName: string, file: EntityFileType, options?: EntityUploadAttachmentOptions): Promise<EntityUploadAttachmentResponse>;
1110
+ /**
1111
+ * Removes an attachment from a File-type field of an entity record.
1112
+ *
1113
+ * @param entityId - UUID of the entity
1114
+ * @param recordId - UUID of the record containing the attachment
1115
+ * @param fieldName - Name of the File-type field containing the attachment
1116
+ * @returns Promise resolving to {@link EntityDeleteAttachmentResponse}
1117
+ * @example
1118
+ * ```typescript
1119
+ * import { Entities } from '@uipath/uipath-typescript/entities';
1120
+ *
1121
+ * const entities = new Entities(sdk);
1122
+ *
1123
+ * // Get the entityId from getAll()
1124
+ * const allEntities = await entities.getAll();
1125
+ * const entityId = allEntities[0].id;
1126
+ *
1127
+ * // Get the recordId from getAllRecords()
1128
+ * const records = await entities.getAllRecords(entityId);
1129
+ * const recordId = records[0].id;
1130
+ *
1131
+ * // Delete attachment for a specific record and field
1132
+ * await entities.deleteAttachment(entityId, recordId, 'Documents');
1133
+ *
1134
+ * // Or delete using entity method (entityId is already known)
1135
+ * const entity = await entities.getById(entityId);
1136
+ * await entity.deleteAttachment(recordId, 'Documents');
1137
+ * ```
1138
+ */
1139
+ deleteAttachment(entityId: string, recordId: string, fieldName: string): Promise<EntityDeleteAttachmentResponse>;
1120
1140
  }
1121
1141
  /**
1122
1142
  * Entity methods interface - defines operations that can be performed on an entity
@@ -1190,10 +1210,18 @@ interface EntityMethods {
1190
1210
  * @param recordId - UUID of the record to upload the attachment to
1191
1211
  * @param fieldName - Name of the File-type field
1192
1212
  * @param file - File to upload (Blob, File, or Uint8Array)
1193
- * @param expansionLevel - Optional expansion level (default: 0)
1194
- * @returns Promise resolving to the upload response
1213
+ * @param options - Optional {@link EntityUploadAttachmentOptions} (e.g. expansionLevel)
1214
+ * @returns Promise resolving to {@link EntityUploadAttachmentResponse}
1195
1215
  */
1196
- uploadAttachment(recordId: string, fieldName: string, file: Blob | File | Uint8Array, expansionLevel?: number): Promise<EntityUploadAttachmentResponse>;
1216
+ uploadAttachment(recordId: string, fieldName: string, file: EntityFileType, options?: EntityUploadAttachmentOptions): Promise<EntityUploadAttachmentResponse>;
1217
+ /**
1218
+ * Deletes an attachment from a File-type field of an entity record
1219
+ *
1220
+ * @param recordId - UUID of the record containing the attachment
1221
+ * @param fieldName - Name of the File-type field containing the attachment
1222
+ * @returns Promise resolving to {@link EntityDeleteAttachmentResponse}
1223
+ */
1224
+ deleteAttachment(recordId: string, fieldName: string): Promise<EntityDeleteAttachmentResponse>;
1197
1225
  /**
1198
1226
  * @deprecated Use {@link insertRecord} instead.
1199
1227
  * @hidden
@@ -1449,7 +1477,9 @@ declare class EntityService extends BaseService implements EntityServiceModel {
1449
1477
  /**
1450
1478
  * Downloads an attachment from an entity record field
1451
1479
  *
1452
- * @param options - Options containing entityName, recordId, and fieldName
1480
+ * @param entityId - UUID of the entity
1481
+ * @param recordId - UUID of the record containing the attachment
1482
+ * @param fieldName - Name of the File-type field containing the attachment
1453
1483
  * @returns Promise resolving to Blob containing the file content
1454
1484
  *
1455
1485
  * @example
@@ -1458,19 +1488,28 @@ declare class EntityService extends BaseService implements EntityServiceModel {
1458
1488
  *
1459
1489
  * const entities = new Entities(sdk);
1460
1490
  *
1491
+ * // Get the entityId from getAll()
1492
+ * const allEntities = await entities.getAll();
1493
+ * const entityId = allEntities[0].id;
1494
+ *
1495
+ * // Get the recordId from getAllRecords()
1496
+ * const records = await entities.getAllRecords(entityId);
1497
+ * const recordId = records[0].id;
1498
+ *
1461
1499
  * // Download attachment for a specific record and field
1462
- * const blob = await entities.downloadAttachment({
1463
- * entityName: 'Invoice',
1464
- * recordId: '<record-uuid>',
1465
- * fieldName: 'Documents'
1466
- * });
1500
+ * const blob = await entities.downloadAttachment(entityId, recordId, 'Documents');
1501
+ * ```
1467
1502
  */
1468
- downloadAttachment(options: EntityDownloadAttachmentOptions): Promise<Blob>;
1503
+ downloadAttachment(entityId: string, recordId: string, fieldName: string): Promise<Blob>;
1469
1504
  /**
1470
1505
  * Uploads an attachment to a File-type field of an entity record
1471
1506
  *
1472
- * @param options - Options containing entityName, recordId, fieldName, file, and optional expansionLevel
1473
- * @returns Promise resolving to the upload response
1507
+ * @param entityId - UUID of the entity
1508
+ * @param recordId - UUID of the record to upload the attachment to
1509
+ * @param fieldName - Name of the File-type field
1510
+ * @param file - File to upload (Blob, File, or Uint8Array)
1511
+ * @param options - Optional {@link EntityUploadAttachmentOptions} (e.g. expansionLevel)
1512
+ * @returns Promise resolving to {@link EntityUploadAttachmentResponse}
1474
1513
  *
1475
1514
  * @example
1476
1515
  * ```typescript
@@ -1478,16 +1517,46 @@ declare class EntityService extends BaseService implements EntityServiceModel {
1478
1517
  *
1479
1518
  * const entities = new Entities(sdk);
1480
1519
  *
1520
+ * // Get the entityId from getAll()
1521
+ * const allEntities = await entities.getAll();
1522
+ * const entityId = allEntities[0].id;
1523
+ *
1524
+ * // Get the recordId from getAllRecords()
1525
+ * const records = await entities.getAllRecords(entityId);
1526
+ * const recordId = records[0].id;
1527
+ *
1481
1528
  * // Upload a file attachment
1482
- * const response = await entities.uploadAttachment({
1483
- * entityName: 'Invoice',
1484
- * recordId: '<record-uuid>',
1485
- * fieldName: 'Documents',
1486
- * file: file
1487
- * });
1529
+ * const response = await entities.uploadAttachment(entityId, recordId, 'Documents', file);
1530
+ * ```
1531
+ */
1532
+ uploadAttachment(entityId: string, recordId: string, fieldName: string, file: EntityFileType, options?: EntityUploadAttachmentOptions): Promise<EntityUploadAttachmentResponse>;
1533
+ /**
1534
+ * Removes an attachment from a File-type field of an entity record
1535
+ *
1536
+ * @param entityId - UUID of the entity
1537
+ * @param recordId - UUID of the record containing the attachment
1538
+ * @param fieldName - Name of the File-type field containing the attachment
1539
+ * @returns Promise resolving to {@link EntityDeleteAttachmentResponse}
1540
+ *
1541
+ * @example
1542
+ * ```typescript
1543
+ * import { Entities } from '@uipath/uipath-typescript/entities';
1544
+ *
1545
+ * const entities = new Entities(sdk);
1546
+ *
1547
+ * // Get the entityId from getAll()
1548
+ * const allEntities = await entities.getAll();
1549
+ * const entityId = allEntities[0].id;
1550
+ *
1551
+ * // Get the recordId from getAllRecords()
1552
+ * const records = await entities.getAllRecords(entityId);
1553
+ * const recordId = records[0].id;
1554
+ *
1555
+ * // Delete attachment for a specific record and field
1556
+ * await entities.deleteAttachment(entityId, recordId, 'Documents');
1488
1557
  * ```
1489
1558
  */
1490
- uploadAttachment(options: EntityUploadAttachmentOptions): Promise<EntityUploadAttachmentResponse>;
1559
+ deleteAttachment(entityId: string, recordId: string, fieldName: string): Promise<EntityDeleteAttachmentResponse>;
1491
1560
  /**
1492
1561
  * @hidden
1493
1562
  * @deprecated Use {@link getAllRecords} instead.
@@ -10386,7 +10455,7 @@ declare const telemetryClient: TelemetryClient;
10386
10455
  * SDK Telemetry constants
10387
10456
  */
10388
10457
  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";
10389
- declare const SDK_VERSION = "1.1.3";
10458
+ declare const SDK_VERSION = "1.2.0";
10390
10459
  declare const VERSION = "Version";
10391
10460
  declare const SERVICE = "Service";
10392
10461
  declare const CLOUD_ORGANIZATION_NAME = "CloudOrganizationName";
@@ -10402,4 +10471,4 @@ declare const SDK_RUN_EVENT = "Sdk.Run";
10402
10471
  declare const UNKNOWN = "";
10403
10472
 
10404
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 };
10405
- 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, EntityDeleteOptions, EntityDeleteRecordsOptions, EntityDeleteResponse, EntityDownloadAttachmentOptions, 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 };
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 };