@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.
- package/dist/assets/index.cjs +1 -1
- package/dist/assets/index.d.ts +2 -1
- package/dist/assets/index.mjs +1 -1
- package/dist/attachments/index.cjs +1944 -0
- package/dist/attachments/index.d.ts +399 -0
- package/dist/attachments/index.mjs +1941 -0
- package/dist/buckets/index.cjs +1 -1
- package/dist/buckets/index.d.ts +4 -2
- package/dist/buckets/index.mjs +1 -1
- package/dist/cases/index.cjs +95 -48
- package/dist/cases/index.d.ts +31 -2
- package/dist/cases/index.mjs +95 -48
- package/dist/conversational-agent/index.cjs +38 -7
- package/dist/conversational-agent/index.d.ts +72 -6
- package/dist/conversational-agent/index.mjs +38 -7
- package/dist/core/index.cjs +118 -17
- package/dist/core/index.d.ts +26 -2
- package/dist/core/index.mjs +118 -17
- package/dist/entities/index.cjs +48 -1
- package/dist/entities/index.d.ts +106 -19
- package/dist/entities/index.mjs +48 -1
- package/dist/index.cjs +585 -267
- package/dist/index.d.ts +595 -67
- package/dist/index.mjs +586 -268
- package/dist/index.umd.js +582 -264
- package/dist/jobs/index.cjs +2036 -0
- package/dist/jobs/index.d.ts +724 -0
- package/dist/jobs/index.mjs +2033 -0
- package/dist/maestro-processes/index.cjs +1 -1
- package/dist/maestro-processes/index.mjs +1 -1
- package/dist/processes/index.cjs +67 -1
- package/dist/processes/index.d.ts +80 -15
- package/dist/processes/index.mjs +68 -2
- package/dist/queues/index.cjs +1 -1
- package/dist/queues/index.d.ts +2 -1
- package/dist/queues/index.mjs +1 -1
- package/dist/tasks/index.cjs +1319 -1272
- package/dist/tasks/index.d.ts +331 -287
- package/dist/tasks/index.mjs +1319 -1272
- package/package.json +25 -3
|
@@ -3811,6 +3811,37 @@ interface ConversationServiceModel {
|
|
|
3811
3811
|
* ```
|
|
3812
3812
|
*/
|
|
3813
3813
|
uploadAttachment(id: string, file: File): Promise<ConversationAttachmentUploadResponse>;
|
|
3814
|
+
/**
|
|
3815
|
+
* Registers a file attachment for a conversation and returns a URI along with
|
|
3816
|
+
* pre-signed upload access details. Use the returned `fileUploadAccess` to upload
|
|
3817
|
+
* the file content to blob storage, then reference `uri` in subsequent messages.
|
|
3818
|
+
*
|
|
3819
|
+
* @param conversationId - The ID of the conversation to attach the file to
|
|
3820
|
+
* @param fileName - The name of the file to attach
|
|
3821
|
+
* @returns Promise resolving to {@link ConversationAttachmentCreateResponse} containing
|
|
3822
|
+
* the attachment `uri` and `fileUploadAccess` details needed to upload the file content
|
|
3823
|
+
*
|
|
3824
|
+
* @example <caption>Step 1 — Get the attachment URI and upload access</caption>
|
|
3825
|
+
* ```typescript
|
|
3826
|
+
* const { uri, fileUploadAccess } = await conversationalAgent.conversations.getAttachmentUploadUri(conversationId, 'report.pdf');
|
|
3827
|
+
* console.log(`Attachment URI: ${uri}`);
|
|
3828
|
+
* ```
|
|
3829
|
+
*
|
|
3830
|
+
* @example <caption>Step 2 — Upload the file content to the returned URL</caption>
|
|
3831
|
+
* ```typescript
|
|
3832
|
+
* const { uri, fileUploadAccess } = await conversationalAgent.conversations.getAttachmentUploadUri(conversationId, file.name);
|
|
3833
|
+
*
|
|
3834
|
+
* await fetch(fileUploadAccess.url, {
|
|
3835
|
+
* method: fileUploadAccess.verb,
|
|
3836
|
+
* body: file,
|
|
3837
|
+
* headers: { 'Content-Type': file.type },
|
|
3838
|
+
* });
|
|
3839
|
+
*
|
|
3840
|
+
* // Reference the URI in a message after upload
|
|
3841
|
+
* console.log(`File ready at: ${uri}`);
|
|
3842
|
+
* ```
|
|
3843
|
+
*/
|
|
3844
|
+
getAttachmentUploadUri(conversationId: string, fileName: string): Promise<ConversationAttachmentCreateResponse>;
|
|
3814
3845
|
/**
|
|
3815
3846
|
* Starts a real-time chat session for a conversation
|
|
3816
3847
|
*
|
|
@@ -4054,11 +4085,14 @@ interface ConversationSessionOptions {
|
|
|
4054
4085
|
logLevel?: LogLevel;
|
|
4055
4086
|
}
|
|
4056
4087
|
/** Response for creating a conversation (includes methods) */
|
|
4057
|
-
|
|
4088
|
+
interface ConversationCreateResponse extends ConversationGetResponse {
|
|
4089
|
+
}
|
|
4058
4090
|
/** Response for updating a conversation (includes methods) */
|
|
4059
|
-
|
|
4091
|
+
interface ConversationUpdateResponse extends ConversationGetResponse {
|
|
4092
|
+
}
|
|
4060
4093
|
/** Response for deleting a conversation (raw data, no methods needed) */
|
|
4061
|
-
|
|
4094
|
+
interface ConversationDeleteResponse extends RawConversationGetResponse {
|
|
4095
|
+
}
|
|
4062
4096
|
interface ConversationCreateOptions {
|
|
4063
4097
|
/** Human-readable label for the conversation (max 100 chars) */
|
|
4064
4098
|
label?: string;
|
|
@@ -4253,7 +4287,8 @@ interface RawAgentGetByIdResponse extends RawAgentGetResponse {
|
|
|
4253
4287
|
/**
|
|
4254
4288
|
* Options for creating a conversation from an agent
|
|
4255
4289
|
*/
|
|
4256
|
-
|
|
4290
|
+
interface AgentCreateConversationOptions extends ConversationCreateOptions {
|
|
4291
|
+
}
|
|
4257
4292
|
/**
|
|
4258
4293
|
* Scoped conversation service for a specific agent.
|
|
4259
4294
|
* Auto-fills agentId and folderId from the agent.
|
|
@@ -4345,7 +4380,8 @@ interface UserSettingsGetResponse {
|
|
|
4345
4380
|
updatedTime: string;
|
|
4346
4381
|
}
|
|
4347
4382
|
/** Response for updating user settings */
|
|
4348
|
-
|
|
4383
|
+
interface UserSettingsUpdateResponse extends UserSettingsGetResponse {
|
|
4384
|
+
}
|
|
4349
4385
|
/**
|
|
4350
4386
|
* Options for updating user settings
|
|
4351
4387
|
*
|
|
@@ -6153,6 +6189,37 @@ declare class ConversationService extends BaseService implements ConversationSer
|
|
|
6153
6189
|
* ```
|
|
6154
6190
|
*/
|
|
6155
6191
|
uploadAttachment(id: string, file: File): Promise<ConversationAttachmentUploadResponse>;
|
|
6192
|
+
/**
|
|
6193
|
+
* Registers a file attachment for a conversation and returns a URI along with
|
|
6194
|
+
* pre-signed upload access details. Use the returned `fileUploadAccess` to upload
|
|
6195
|
+
* the file content to blob storage, then reference `uri` in subsequent messages.
|
|
6196
|
+
*
|
|
6197
|
+
* @param conversationId - The ID of the conversation to attach the file to
|
|
6198
|
+
* @param fileName - The name of the file to attach
|
|
6199
|
+
* @returns Promise resolving to {@link ConversationAttachmentCreateResponse} containing
|
|
6200
|
+
* the attachment `uri` and `fileUploadAccess` details needed to upload the file content
|
|
6201
|
+
*
|
|
6202
|
+
* @example <caption>Step 1 — Get the attachment URI and upload access</caption>
|
|
6203
|
+
* ```typescript
|
|
6204
|
+
* const { uri, fileUploadAccess } = await conversationalAgent.conversations.getAttachmentUploadUri(conversationId, 'report.pdf');
|
|
6205
|
+
* console.log(`Attachment URI: ${uri}`);
|
|
6206
|
+
* ```
|
|
6207
|
+
*
|
|
6208
|
+
* @example <caption>Step 2 — Upload the file content to the returned URL</caption>
|
|
6209
|
+
* ```typescript
|
|
6210
|
+
* const { uri, fileUploadAccess } = await conversationalAgent.conversations.getAttachmentUploadUri(conversationId, file.name);
|
|
6211
|
+
*
|
|
6212
|
+
* await fetch(fileUploadAccess.url, {
|
|
6213
|
+
* method: fileUploadAccess.verb,
|
|
6214
|
+
* body: file,
|
|
6215
|
+
* headers: { 'Content-Type': file.type },
|
|
6216
|
+
* });
|
|
6217
|
+
*
|
|
6218
|
+
* // Reference the URI in a message after upload
|
|
6219
|
+
* console.log(`File ready at: ${uri}`);
|
|
6220
|
+
* ```
|
|
6221
|
+
*/
|
|
6222
|
+
getAttachmentUploadUri(conversationId: string, fileName: string): Promise<ConversationAttachmentCreateResponse>;
|
|
6156
6223
|
/**
|
|
6157
6224
|
* Starts a real-time chat session for a conversation
|
|
6158
6225
|
*
|
|
@@ -6236,7 +6303,6 @@ declare class ConversationService extends BaseService implements ConversationSer
|
|
|
6236
6303
|
*/
|
|
6237
6304
|
onConnectionStatusChanged(handler: ConnectionStatusChangedHandler): () => void;
|
|
6238
6305
|
private _getEvents;
|
|
6239
|
-
private createAttachment;
|
|
6240
6306
|
}
|
|
6241
6307
|
|
|
6242
6308
|
/**
|
|
@@ -49,7 +49,7 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
|
|
|
49
49
|
// Connection string placeholder that will be replaced during build
|
|
50
50
|
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";
|
|
51
51
|
// SDK Version placeholder
|
|
52
|
-
const SDK_VERSION = "1.2.
|
|
52
|
+
const SDK_VERSION = "1.2.2";
|
|
53
53
|
const VERSION = "Version";
|
|
54
54
|
const SERVICE = "Service";
|
|
55
55
|
const CLOUD_ORGANIZATION_NAME = "CloudOrganizationName";
|
|
@@ -6124,10 +6124,11 @@ class ConversationService extends BaseService {
|
|
|
6124
6124
|
*/
|
|
6125
6125
|
async uploadAttachment(id, file) {
|
|
6126
6126
|
// Step 1: Create attachment entry and get upload URL
|
|
6127
|
-
const { fileUploadAccess, uri, name } = await this.
|
|
6127
|
+
const { fileUploadAccess, uri, name } = await this.getAttachmentUploadUri(id, file.name);
|
|
6128
6128
|
// Step 2: Upload file to blob storage
|
|
6129
6129
|
const uploadHeaders = {
|
|
6130
6130
|
'Content-Type': file.type,
|
|
6131
|
+
'x-ms-blob-type': 'BlockBlob',
|
|
6131
6132
|
...arrayDictionaryToRecord(fileUploadAccess.headers)
|
|
6132
6133
|
};
|
|
6133
6134
|
// Add auth header if required by the storage endpoint
|
|
@@ -6152,6 +6153,40 @@ class ConversationService extends BaseService {
|
|
|
6152
6153
|
mimeType: file.type
|
|
6153
6154
|
};
|
|
6154
6155
|
}
|
|
6156
|
+
/**
|
|
6157
|
+
* Registers a file attachment for a conversation and returns a URI along with
|
|
6158
|
+
* pre-signed upload access details. Use the returned `fileUploadAccess` to upload
|
|
6159
|
+
* the file content to blob storage, then reference `uri` in subsequent messages.
|
|
6160
|
+
*
|
|
6161
|
+
* @param conversationId - The ID of the conversation to attach the file to
|
|
6162
|
+
* @param fileName - The name of the file to attach
|
|
6163
|
+
* @returns Promise resolving to {@link ConversationAttachmentCreateResponse} containing
|
|
6164
|
+
* the attachment `uri` and `fileUploadAccess` details needed to upload the file content
|
|
6165
|
+
*
|
|
6166
|
+
* @example <caption>Step 1 — Get the attachment URI and upload access</caption>
|
|
6167
|
+
* ```typescript
|
|
6168
|
+
* const { uri, fileUploadAccess } = await conversationalAgent.conversations.getAttachmentUploadUri(conversationId, 'report.pdf');
|
|
6169
|
+
* console.log(`Attachment URI: ${uri}`);
|
|
6170
|
+
* ```
|
|
6171
|
+
*
|
|
6172
|
+
* @example <caption>Step 2 — Upload the file content to the returned URL</caption>
|
|
6173
|
+
* ```typescript
|
|
6174
|
+
* const { uri, fileUploadAccess } = await conversationalAgent.conversations.getAttachmentUploadUri(conversationId, file.name);
|
|
6175
|
+
*
|
|
6176
|
+
* await fetch(fileUploadAccess.url, {
|
|
6177
|
+
* method: fileUploadAccess.verb,
|
|
6178
|
+
* body: file,
|
|
6179
|
+
* headers: { 'Content-Type': file.type },
|
|
6180
|
+
* });
|
|
6181
|
+
*
|
|
6182
|
+
* // Reference the URI in a message after upload
|
|
6183
|
+
* console.log(`File ready at: ${uri}`);
|
|
6184
|
+
* ```
|
|
6185
|
+
*/
|
|
6186
|
+
async getAttachmentUploadUri(conversationId, fileName) {
|
|
6187
|
+
const response = await this.post(ATTACHMENT_ENDPOINTS.CREATE(conversationId), { name: fileName });
|
|
6188
|
+
return response.data;
|
|
6189
|
+
}
|
|
6155
6190
|
// ==================== Real-time Event Handling ====================
|
|
6156
6191
|
/**
|
|
6157
6192
|
* Starts a real-time chat session for a conversation
|
|
@@ -6274,10 +6309,6 @@ class ConversationService extends BaseService {
|
|
|
6274
6309
|
}
|
|
6275
6310
|
return this._eventHelper;
|
|
6276
6311
|
}
|
|
6277
|
-
async createAttachment(conversationId, fileName) {
|
|
6278
|
-
const response = await this.post(ATTACHMENT_ENDPOINTS.CREATE(conversationId), { name: fileName });
|
|
6279
|
-
return response.data;
|
|
6280
|
-
}
|
|
6281
6312
|
}
|
|
6282
6313
|
__decorate([
|
|
6283
6314
|
track('ConversationalAgent.Conversations.Create')
|
|
@@ -6299,7 +6330,7 @@ __decorate([
|
|
|
6299
6330
|
], ConversationService.prototype, "uploadAttachment", null);
|
|
6300
6331
|
__decorate([
|
|
6301
6332
|
track('ConversationalAgent.Conversations.CreateAttachment')
|
|
6302
|
-
], ConversationService.prototype, "
|
|
6333
|
+
], ConversationService.prototype, "getAttachmentUploadUri", null);
|
|
6303
6334
|
|
|
6304
6335
|
/**
|
|
6305
6336
|
* MessageService - Message operations for Conversations
|
package/dist/core/index.cjs
CHANGED
|
@@ -4366,6 +4366,114 @@ function getErrorDetails(error) {
|
|
|
4366
4366
|
};
|
|
4367
4367
|
}
|
|
4368
4368
|
|
|
4369
|
+
/**
|
|
4370
|
+
* Types of tasks available in Action Center.
|
|
4371
|
+
* Each type determines the task's behavior, UI rendering, and completion requirements.
|
|
4372
|
+
*/
|
|
4373
|
+
var TaskType;
|
|
4374
|
+
(function (TaskType) {
|
|
4375
|
+
/** A form-based task that renders a UiPath form layout for user input */
|
|
4376
|
+
TaskType["Form"] = "FormTask";
|
|
4377
|
+
/** An externally managed task handled outside of Action Center */
|
|
4378
|
+
TaskType["External"] = "ExternalTask";
|
|
4379
|
+
/** A task powered by a UiPath App */
|
|
4380
|
+
TaskType["App"] = "AppTask";
|
|
4381
|
+
/** A document validation task for reviewing and correcting extracted document data */
|
|
4382
|
+
TaskType["DocumentValidation"] = "DocumentValidationTask";
|
|
4383
|
+
/** A document classification task for categorizing documents */
|
|
4384
|
+
TaskType["DocumentClassification"] = "DocumentClassificationTask";
|
|
4385
|
+
/** A data labeling task for annotating training data */
|
|
4386
|
+
TaskType["DataLabeling"] = "DataLabelingTask";
|
|
4387
|
+
})(TaskType || (TaskType = {}));
|
|
4388
|
+
var TaskPriority;
|
|
4389
|
+
(function (TaskPriority) {
|
|
4390
|
+
TaskPriority["Low"] = "Low";
|
|
4391
|
+
TaskPriority["Medium"] = "Medium";
|
|
4392
|
+
TaskPriority["High"] = "High";
|
|
4393
|
+
TaskPriority["Critical"] = "Critical";
|
|
4394
|
+
})(TaskPriority || (TaskPriority = {}));
|
|
4395
|
+
var TaskStatus;
|
|
4396
|
+
(function (TaskStatus) {
|
|
4397
|
+
TaskStatus["Unassigned"] = "Unassigned";
|
|
4398
|
+
TaskStatus["Pending"] = "Pending";
|
|
4399
|
+
TaskStatus["Completed"] = "Completed";
|
|
4400
|
+
})(TaskStatus || (TaskStatus = {}));
|
|
4401
|
+
var TaskSlaCriteria;
|
|
4402
|
+
(function (TaskSlaCriteria) {
|
|
4403
|
+
TaskSlaCriteria["TaskCreated"] = "TaskCreated";
|
|
4404
|
+
TaskSlaCriteria["TaskAssigned"] = "TaskAssigned";
|
|
4405
|
+
TaskSlaCriteria["TaskCompleted"] = "TaskCompleted";
|
|
4406
|
+
})(TaskSlaCriteria || (TaskSlaCriteria = {}));
|
|
4407
|
+
var TaskSlaStatus;
|
|
4408
|
+
(function (TaskSlaStatus) {
|
|
4409
|
+
TaskSlaStatus["OverdueLater"] = "OverdueLater";
|
|
4410
|
+
TaskSlaStatus["OverdueSoon"] = "OverdueSoon";
|
|
4411
|
+
TaskSlaStatus["Overdue"] = "Overdue";
|
|
4412
|
+
TaskSlaStatus["CompletedInTime"] = "CompletedInTime";
|
|
4413
|
+
})(TaskSlaStatus || (TaskSlaStatus = {}));
|
|
4414
|
+
var TaskSourceName;
|
|
4415
|
+
(function (TaskSourceName) {
|
|
4416
|
+
TaskSourceName["Agent"] = "Agent";
|
|
4417
|
+
TaskSourceName["Workflow"] = "Workflow";
|
|
4418
|
+
TaskSourceName["Maestro"] = "Maestro";
|
|
4419
|
+
TaskSourceName["Default"] = "Default";
|
|
4420
|
+
})(TaskSourceName || (TaskSourceName = {}));
|
|
4421
|
+
/**
|
|
4422
|
+
* Task activity types
|
|
4423
|
+
*/
|
|
4424
|
+
var TaskActivityType;
|
|
4425
|
+
(function (TaskActivityType) {
|
|
4426
|
+
TaskActivityType["Created"] = "Created";
|
|
4427
|
+
TaskActivityType["Assigned"] = "Assigned";
|
|
4428
|
+
TaskActivityType["Reassigned"] = "Reassigned";
|
|
4429
|
+
TaskActivityType["Unassigned"] = "Unassigned";
|
|
4430
|
+
TaskActivityType["Saved"] = "Saved";
|
|
4431
|
+
TaskActivityType["Forwarded"] = "Forwarded";
|
|
4432
|
+
TaskActivityType["Completed"] = "Completed";
|
|
4433
|
+
TaskActivityType["Commented"] = "Commented";
|
|
4434
|
+
TaskActivityType["Deleted"] = "Deleted";
|
|
4435
|
+
TaskActivityType["BulkSaved"] = "BulkSaved";
|
|
4436
|
+
TaskActivityType["BulkCompleted"] = "BulkCompleted";
|
|
4437
|
+
TaskActivityType["FirstOpened"] = "FirstOpened";
|
|
4438
|
+
})(TaskActivityType || (TaskActivityType = {}));
|
|
4439
|
+
|
|
4440
|
+
/**
|
|
4441
|
+
* Base path constants for different services
|
|
4442
|
+
*/
|
|
4443
|
+
const ORCHESTRATOR_BASE = 'orchestrator_';
|
|
4444
|
+
const IDENTITY_BASE = 'identity_';
|
|
4445
|
+
|
|
4446
|
+
/**
|
|
4447
|
+
* Orchestrator Service Endpoints
|
|
4448
|
+
*/
|
|
4449
|
+
/**
|
|
4450
|
+
* Task Service (Action Center) Endpoints
|
|
4451
|
+
*/
|
|
4452
|
+
const TASK_ENDPOINTS = {
|
|
4453
|
+
GET_TASK_FORM_BY_ID: `${ORCHESTRATOR_BASE}/forms/TaskForms/GetTaskFormById`,
|
|
4454
|
+
GET_GENERIC_TASK_BY_ID: `${ORCHESTRATOR_BASE}/tasks/GenericTasks/GetTaskDataById`,
|
|
4455
|
+
GET_APP_TASK_BY_ID: `${ORCHESTRATOR_BASE}/tasks/AppTasks/GetAppTaskById`,
|
|
4456
|
+
};
|
|
4457
|
+
|
|
4458
|
+
/**
|
|
4459
|
+
* Identity/Authentication Endpoints
|
|
4460
|
+
*/
|
|
4461
|
+
/**
|
|
4462
|
+
* Identity Service Endpoints
|
|
4463
|
+
*/
|
|
4464
|
+
const IDENTITY_ENDPOINTS = {
|
|
4465
|
+
TOKEN: `${IDENTITY_BASE}/connect/token`,
|
|
4466
|
+
AUTHORIZE: `${IDENTITY_BASE}/connect/authorize`,
|
|
4467
|
+
};
|
|
4468
|
+
|
|
4469
|
+
({
|
|
4470
|
+
[TaskType.Form]: TASK_ENDPOINTS.GET_TASK_FORM_BY_ID,
|
|
4471
|
+
[TaskType.App]: TASK_ENDPOINTS.GET_APP_TASK_BY_ID,
|
|
4472
|
+
[TaskType.DocumentValidation]: TASK_ENDPOINTS.GET_GENERIC_TASK_BY_ID,
|
|
4473
|
+
[TaskType.DocumentClassification]: TASK_ENDPOINTS.GET_GENERIC_TASK_BY_ID,
|
|
4474
|
+
[TaskType.External]: TASK_ENDPOINTS.GET_GENERIC_TASK_BY_ID,
|
|
4475
|
+
[TaskType.DataLabeling]: TASK_ENDPOINTS.GET_GENERIC_TASK_BY_ID,
|
|
4476
|
+
});
|
|
4369
4477
|
var ActionCenterEventNames;
|
|
4370
4478
|
(function (ActionCenterEventNames) {
|
|
4371
4479
|
ActionCenterEventNames["TOKENREFRESHED"] = "AC.tokenRefreshed";
|
|
@@ -4743,22 +4851,6 @@ class TokenManager {
|
|
|
4743
4851
|
}
|
|
4744
4852
|
}
|
|
4745
4853
|
|
|
4746
|
-
/**
|
|
4747
|
-
* Base path constants for different services
|
|
4748
|
-
*/
|
|
4749
|
-
const IDENTITY_BASE = 'identity_';
|
|
4750
|
-
|
|
4751
|
-
/**
|
|
4752
|
-
* Identity/Authentication Endpoints
|
|
4753
|
-
*/
|
|
4754
|
-
/**
|
|
4755
|
-
* Identity Service Endpoints
|
|
4756
|
-
*/
|
|
4757
|
-
const IDENTITY_ENDPOINTS = {
|
|
4758
|
-
TOKEN: `${IDENTITY_BASE}/connect/token`,
|
|
4759
|
-
AUTHORIZE: `${IDENTITY_BASE}/connect/authorize`,
|
|
4760
|
-
};
|
|
4761
|
-
|
|
4762
4854
|
class AuthService {
|
|
4763
4855
|
constructor(config, executionContext) {
|
|
4764
4856
|
// Only use stored OAuth context when completing an active callback (URL has ?code=).
|
|
@@ -5186,7 +5278,7 @@ function normalizeBaseUrl(url) {
|
|
|
5186
5278
|
// Connection string placeholder that will be replaced during build
|
|
5187
5279
|
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";
|
|
5188
5280
|
// SDK Version placeholder
|
|
5189
|
-
const SDK_VERSION = "1.2.
|
|
5281
|
+
const SDK_VERSION = "1.2.2";
|
|
5190
5282
|
const VERSION = "Version";
|
|
5191
5283
|
const SERVICE = "Service";
|
|
5192
5284
|
const CLOUD_ORGANIZATION_NAME = "CloudOrganizationName";
|
|
@@ -5717,6 +5809,15 @@ class UiPath {
|
|
|
5717
5809
|
__classPrivateFieldGet(this, _UiPath_authService, "f")?.logout();
|
|
5718
5810
|
__classPrivateFieldSet(this, _UiPath_initialized, false, "f");
|
|
5719
5811
|
}
|
|
5812
|
+
/**
|
|
5813
|
+
* Updates the access token used for API requests.
|
|
5814
|
+
* Use this to inject or refresh a token externally.
|
|
5815
|
+
*
|
|
5816
|
+
* @param tokenInfo - The token information containing the access token, type, expiration, and optional refresh token
|
|
5817
|
+
*/
|
|
5818
|
+
updateToken(tokenInfo) {
|
|
5819
|
+
__classPrivateFieldGet(this, _UiPath_authService, "f")?.updateToken(tokenInfo);
|
|
5820
|
+
}
|
|
5720
5821
|
}
|
|
5721
5822
|
_UiPath_config = new WeakMap(), _UiPath_authService = new WeakMap(), _UiPath_initialized = new WeakMap(), _UiPath_partialConfig = new WeakMap(), _UiPath_instances = new WeakSet(), _UiPath_initializeWithConfig = function _UiPath_initializeWithConfig(config) {
|
|
5722
5823
|
// Validate and normalize the configuration
|
package/dist/core/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 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
|
/**
|
|
@@ -495,7 +519,7 @@ declare const telemetryClient: TelemetryClient;
|
|
|
495
519
|
* SDK Telemetry constants
|
|
496
520
|
*/
|
|
497
521
|
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";
|
|
498
|
-
declare const SDK_VERSION = "1.2.
|
|
522
|
+
declare const SDK_VERSION = "1.2.2";
|
|
499
523
|
declare const VERSION = "Version";
|
|
500
524
|
declare const SERVICE = "Service";
|
|
501
525
|
declare const CLOUD_ORGANIZATION_NAME = "CloudOrganizationName";
|
|
@@ -511,4 +535,4 @@ declare const SDK_RUN_EVENT = "Sdk.Run";
|
|
|
511
535
|
declare const UNKNOWN = "";
|
|
512
536
|
|
|
513
537
|
export { APP_NAME, AuthenticationError, AuthorizationError, CLOUD_CLIENT_ID, CLOUD_ORGANIZATION_NAME, CLOUD_REDIRECT_URI, CLOUD_ROLE_NAME, CLOUD_TENANT_NAME, CLOUD_URL, CONNECTION_STRING, DEFAULT_ITEMS_FIELD, DEFAULT_PAGE_SIZE, DEFAULT_TOTAL_COUNT_FIELD, ErrorType, HttpStatus, MAX_PAGE_SIZE, NetworkError, NotFoundError, RateLimitError, SDK_LOGGER_NAME, SDK_RUN_EVENT, SDK_SERVICE_NAME, SDK_VERSION, SERVICE, ServerError, UNKNOWN, UiPath, UiPathError, VERSION, ValidationError, getErrorDetails, getLimitedPageSize, isAuthenticationError, isAuthorizationError, isNetworkError, isNotFoundError, isRateLimitError, isServerError, isUiPathError, isValidationError, telemetryClient, track, trackEvent };
|
|
514
|
-
export type { HasPaginationOptions, NonPaginatedResponse, PaginatedResponse, PaginationCursor, PaginationMethodUnion, PaginationOptions, UiPathSDKConfig };
|
|
538
|
+
export type { HasPaginationOptions, NonPaginatedResponse, PaginatedResponse, PaginationCursor, PaginationMethodUnion, PaginationOptions, TokenInfo, UiPathSDKConfig };
|
package/dist/core/index.mjs
CHANGED
|
@@ -4364,6 +4364,114 @@ function getErrorDetails(error) {
|
|
|
4364
4364
|
};
|
|
4365
4365
|
}
|
|
4366
4366
|
|
|
4367
|
+
/**
|
|
4368
|
+
* Types of tasks available in Action Center.
|
|
4369
|
+
* Each type determines the task's behavior, UI rendering, and completion requirements.
|
|
4370
|
+
*/
|
|
4371
|
+
var TaskType;
|
|
4372
|
+
(function (TaskType) {
|
|
4373
|
+
/** A form-based task that renders a UiPath form layout for user input */
|
|
4374
|
+
TaskType["Form"] = "FormTask";
|
|
4375
|
+
/** An externally managed task handled outside of Action Center */
|
|
4376
|
+
TaskType["External"] = "ExternalTask";
|
|
4377
|
+
/** A task powered by a UiPath App */
|
|
4378
|
+
TaskType["App"] = "AppTask";
|
|
4379
|
+
/** A document validation task for reviewing and correcting extracted document data */
|
|
4380
|
+
TaskType["DocumentValidation"] = "DocumentValidationTask";
|
|
4381
|
+
/** A document classification task for categorizing documents */
|
|
4382
|
+
TaskType["DocumentClassification"] = "DocumentClassificationTask";
|
|
4383
|
+
/** A data labeling task for annotating training data */
|
|
4384
|
+
TaskType["DataLabeling"] = "DataLabelingTask";
|
|
4385
|
+
})(TaskType || (TaskType = {}));
|
|
4386
|
+
var TaskPriority;
|
|
4387
|
+
(function (TaskPriority) {
|
|
4388
|
+
TaskPriority["Low"] = "Low";
|
|
4389
|
+
TaskPriority["Medium"] = "Medium";
|
|
4390
|
+
TaskPriority["High"] = "High";
|
|
4391
|
+
TaskPriority["Critical"] = "Critical";
|
|
4392
|
+
})(TaskPriority || (TaskPriority = {}));
|
|
4393
|
+
var TaskStatus;
|
|
4394
|
+
(function (TaskStatus) {
|
|
4395
|
+
TaskStatus["Unassigned"] = "Unassigned";
|
|
4396
|
+
TaskStatus["Pending"] = "Pending";
|
|
4397
|
+
TaskStatus["Completed"] = "Completed";
|
|
4398
|
+
})(TaskStatus || (TaskStatus = {}));
|
|
4399
|
+
var TaskSlaCriteria;
|
|
4400
|
+
(function (TaskSlaCriteria) {
|
|
4401
|
+
TaskSlaCriteria["TaskCreated"] = "TaskCreated";
|
|
4402
|
+
TaskSlaCriteria["TaskAssigned"] = "TaskAssigned";
|
|
4403
|
+
TaskSlaCriteria["TaskCompleted"] = "TaskCompleted";
|
|
4404
|
+
})(TaskSlaCriteria || (TaskSlaCriteria = {}));
|
|
4405
|
+
var TaskSlaStatus;
|
|
4406
|
+
(function (TaskSlaStatus) {
|
|
4407
|
+
TaskSlaStatus["OverdueLater"] = "OverdueLater";
|
|
4408
|
+
TaskSlaStatus["OverdueSoon"] = "OverdueSoon";
|
|
4409
|
+
TaskSlaStatus["Overdue"] = "Overdue";
|
|
4410
|
+
TaskSlaStatus["CompletedInTime"] = "CompletedInTime";
|
|
4411
|
+
})(TaskSlaStatus || (TaskSlaStatus = {}));
|
|
4412
|
+
var TaskSourceName;
|
|
4413
|
+
(function (TaskSourceName) {
|
|
4414
|
+
TaskSourceName["Agent"] = "Agent";
|
|
4415
|
+
TaskSourceName["Workflow"] = "Workflow";
|
|
4416
|
+
TaskSourceName["Maestro"] = "Maestro";
|
|
4417
|
+
TaskSourceName["Default"] = "Default";
|
|
4418
|
+
})(TaskSourceName || (TaskSourceName = {}));
|
|
4419
|
+
/**
|
|
4420
|
+
* Task activity types
|
|
4421
|
+
*/
|
|
4422
|
+
var TaskActivityType;
|
|
4423
|
+
(function (TaskActivityType) {
|
|
4424
|
+
TaskActivityType["Created"] = "Created";
|
|
4425
|
+
TaskActivityType["Assigned"] = "Assigned";
|
|
4426
|
+
TaskActivityType["Reassigned"] = "Reassigned";
|
|
4427
|
+
TaskActivityType["Unassigned"] = "Unassigned";
|
|
4428
|
+
TaskActivityType["Saved"] = "Saved";
|
|
4429
|
+
TaskActivityType["Forwarded"] = "Forwarded";
|
|
4430
|
+
TaskActivityType["Completed"] = "Completed";
|
|
4431
|
+
TaskActivityType["Commented"] = "Commented";
|
|
4432
|
+
TaskActivityType["Deleted"] = "Deleted";
|
|
4433
|
+
TaskActivityType["BulkSaved"] = "BulkSaved";
|
|
4434
|
+
TaskActivityType["BulkCompleted"] = "BulkCompleted";
|
|
4435
|
+
TaskActivityType["FirstOpened"] = "FirstOpened";
|
|
4436
|
+
})(TaskActivityType || (TaskActivityType = {}));
|
|
4437
|
+
|
|
4438
|
+
/**
|
|
4439
|
+
* Base path constants for different services
|
|
4440
|
+
*/
|
|
4441
|
+
const ORCHESTRATOR_BASE = 'orchestrator_';
|
|
4442
|
+
const IDENTITY_BASE = 'identity_';
|
|
4443
|
+
|
|
4444
|
+
/**
|
|
4445
|
+
* Orchestrator Service Endpoints
|
|
4446
|
+
*/
|
|
4447
|
+
/**
|
|
4448
|
+
* Task Service (Action Center) Endpoints
|
|
4449
|
+
*/
|
|
4450
|
+
const TASK_ENDPOINTS = {
|
|
4451
|
+
GET_TASK_FORM_BY_ID: `${ORCHESTRATOR_BASE}/forms/TaskForms/GetTaskFormById`,
|
|
4452
|
+
GET_GENERIC_TASK_BY_ID: `${ORCHESTRATOR_BASE}/tasks/GenericTasks/GetTaskDataById`,
|
|
4453
|
+
GET_APP_TASK_BY_ID: `${ORCHESTRATOR_BASE}/tasks/AppTasks/GetAppTaskById`,
|
|
4454
|
+
};
|
|
4455
|
+
|
|
4456
|
+
/**
|
|
4457
|
+
* Identity/Authentication Endpoints
|
|
4458
|
+
*/
|
|
4459
|
+
/**
|
|
4460
|
+
* Identity Service Endpoints
|
|
4461
|
+
*/
|
|
4462
|
+
const IDENTITY_ENDPOINTS = {
|
|
4463
|
+
TOKEN: `${IDENTITY_BASE}/connect/token`,
|
|
4464
|
+
AUTHORIZE: `${IDENTITY_BASE}/connect/authorize`,
|
|
4465
|
+
};
|
|
4466
|
+
|
|
4467
|
+
({
|
|
4468
|
+
[TaskType.Form]: TASK_ENDPOINTS.GET_TASK_FORM_BY_ID,
|
|
4469
|
+
[TaskType.App]: TASK_ENDPOINTS.GET_APP_TASK_BY_ID,
|
|
4470
|
+
[TaskType.DocumentValidation]: TASK_ENDPOINTS.GET_GENERIC_TASK_BY_ID,
|
|
4471
|
+
[TaskType.DocumentClassification]: TASK_ENDPOINTS.GET_GENERIC_TASK_BY_ID,
|
|
4472
|
+
[TaskType.External]: TASK_ENDPOINTS.GET_GENERIC_TASK_BY_ID,
|
|
4473
|
+
[TaskType.DataLabeling]: TASK_ENDPOINTS.GET_GENERIC_TASK_BY_ID,
|
|
4474
|
+
});
|
|
4367
4475
|
var ActionCenterEventNames;
|
|
4368
4476
|
(function (ActionCenterEventNames) {
|
|
4369
4477
|
ActionCenterEventNames["TOKENREFRESHED"] = "AC.tokenRefreshed";
|
|
@@ -4741,22 +4849,6 @@ class TokenManager {
|
|
|
4741
4849
|
}
|
|
4742
4850
|
}
|
|
4743
4851
|
|
|
4744
|
-
/**
|
|
4745
|
-
* Base path constants for different services
|
|
4746
|
-
*/
|
|
4747
|
-
const IDENTITY_BASE = 'identity_';
|
|
4748
|
-
|
|
4749
|
-
/**
|
|
4750
|
-
* Identity/Authentication Endpoints
|
|
4751
|
-
*/
|
|
4752
|
-
/**
|
|
4753
|
-
* Identity Service Endpoints
|
|
4754
|
-
*/
|
|
4755
|
-
const IDENTITY_ENDPOINTS = {
|
|
4756
|
-
TOKEN: `${IDENTITY_BASE}/connect/token`,
|
|
4757
|
-
AUTHORIZE: `${IDENTITY_BASE}/connect/authorize`,
|
|
4758
|
-
};
|
|
4759
|
-
|
|
4760
4852
|
class AuthService {
|
|
4761
4853
|
constructor(config, executionContext) {
|
|
4762
4854
|
// Only use stored OAuth context when completing an active callback (URL has ?code=).
|
|
@@ -5184,7 +5276,7 @@ function normalizeBaseUrl(url) {
|
|
|
5184
5276
|
// Connection string placeholder that will be replaced during build
|
|
5185
5277
|
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";
|
|
5186
5278
|
// SDK Version placeholder
|
|
5187
|
-
const SDK_VERSION = "1.2.
|
|
5279
|
+
const SDK_VERSION = "1.2.2";
|
|
5188
5280
|
const VERSION = "Version";
|
|
5189
5281
|
const SERVICE = "Service";
|
|
5190
5282
|
const CLOUD_ORGANIZATION_NAME = "CloudOrganizationName";
|
|
@@ -5715,6 +5807,15 @@ class UiPath {
|
|
|
5715
5807
|
__classPrivateFieldGet(this, _UiPath_authService, "f")?.logout();
|
|
5716
5808
|
__classPrivateFieldSet(this, _UiPath_initialized, false, "f");
|
|
5717
5809
|
}
|
|
5810
|
+
/**
|
|
5811
|
+
* Updates the access token used for API requests.
|
|
5812
|
+
* Use this to inject or refresh a token externally.
|
|
5813
|
+
*
|
|
5814
|
+
* @param tokenInfo - The token information containing the access token, type, expiration, and optional refresh token
|
|
5815
|
+
*/
|
|
5816
|
+
updateToken(tokenInfo) {
|
|
5817
|
+
__classPrivateFieldGet(this, _UiPath_authService, "f")?.updateToken(tokenInfo);
|
|
5818
|
+
}
|
|
5718
5819
|
}
|
|
5719
5820
|
_UiPath_config = new WeakMap(), _UiPath_authService = new WeakMap(), _UiPath_initialized = new WeakMap(), _UiPath_partialConfig = new WeakMap(), _UiPath_instances = new WeakSet(), _UiPath_initializeWithConfig = function _UiPath_initializeWithConfig(config) {
|
|
5720
5821
|
// Validate and normalize the configuration
|
package/dist/entities/index.cjs
CHANGED
|
@@ -1649,6 +1649,13 @@ function createEntityMethods(entityData, service) {
|
|
|
1649
1649
|
throw new Error('Entity ID is undefined');
|
|
1650
1650
|
return service.insertRecordsById(entityData.id, data, options);
|
|
1651
1651
|
},
|
|
1652
|
+
async updateRecord(recordId, data, options) {
|
|
1653
|
+
if (!entityData.id)
|
|
1654
|
+
throw new Error('Entity ID is undefined');
|
|
1655
|
+
if (!recordId)
|
|
1656
|
+
throw new Error('Record ID is undefined');
|
|
1657
|
+
return service.updateRecordById(entityData.id, recordId, data, options);
|
|
1658
|
+
},
|
|
1652
1659
|
async updateRecords(data, options) {
|
|
1653
1660
|
if (!entityData.id)
|
|
1654
1661
|
throw new Error('Entity ID is undefined');
|
|
@@ -1734,6 +1741,7 @@ const DATA_FABRIC_ENDPOINTS = {
|
|
|
1734
1741
|
GET_RECORD_BY_ID: (entityId, recordId) => `${DATAFABRIC_BASE}/api/EntityService/entity/${entityId}/read/${recordId}`,
|
|
1735
1742
|
INSERT_BY_ID: (entityId) => `${DATAFABRIC_BASE}/api/EntityService/entity/${entityId}/insert`,
|
|
1736
1743
|
BATCH_INSERT_BY_ID: (entityId) => `${DATAFABRIC_BASE}/api/EntityService/entity/${entityId}/insert-batch`,
|
|
1744
|
+
UPDATE_RECORD_BY_ID: (entityId, recordId) => `${DATAFABRIC_BASE}/api/EntityService/entity/${entityId}/update/${recordId}`,
|
|
1737
1745
|
UPDATE_BY_ID: (entityId) => `${DATAFABRIC_BASE}/api/EntityService/entity/${entityId}/update-batch`,
|
|
1738
1746
|
DELETE_BY_ID: (entityId) => `${DATAFABRIC_BASE}/api/EntityService/entity/${entityId}/delete-batch`,
|
|
1739
1747
|
DOWNLOAD_ATTACHMENT: (entityId, recordId, fieldName) => `${DATAFABRIC_BASE}/api/Attachment/entity/${entityId}/${recordId}/${fieldName}`,
|
|
@@ -1895,7 +1903,7 @@ const EntityFieldTypeMap = {
|
|
|
1895
1903
|
// Connection string placeholder that will be replaced during build
|
|
1896
1904
|
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";
|
|
1897
1905
|
// SDK Version placeholder
|
|
1898
|
-
const SDK_VERSION = "1.2.
|
|
1906
|
+
const SDK_VERSION = "1.2.2";
|
|
1899
1907
|
const VERSION = "Version";
|
|
1900
1908
|
const SERVICE = "Service";
|
|
1901
1909
|
const CLOUD_ORGANIZATION_NAME = "CloudOrganizationName";
|
|
@@ -2362,6 +2370,42 @@ class EntityService extends BaseService {
|
|
|
2362
2370
|
const camelResponse = pascalToCamelCaseKeys(response.data);
|
|
2363
2371
|
return camelResponse;
|
|
2364
2372
|
}
|
|
2373
|
+
/**
|
|
2374
|
+
* Updates a single record in an entity by entity ID
|
|
2375
|
+
*
|
|
2376
|
+
* @param entityId - UUID of the entity
|
|
2377
|
+
* @param recordId - UUID of the record to update
|
|
2378
|
+
* @param data - Key-value pairs of fields to update
|
|
2379
|
+
* @param options - Update options
|
|
2380
|
+
* @returns Promise resolving to the updated record
|
|
2381
|
+
*
|
|
2382
|
+
* @example
|
|
2383
|
+
* ```typescript
|
|
2384
|
+
* import { Entities } from '@uipath/uipath-typescript/entities';
|
|
2385
|
+
*
|
|
2386
|
+
* const entities = new Entities(sdk);
|
|
2387
|
+
*
|
|
2388
|
+
* // Basic usage
|
|
2389
|
+
* const result = await entities.updateRecordById("<entityId>", "<recordId>", { name: "John Updated", age: 31 });
|
|
2390
|
+
*
|
|
2391
|
+
* // With options
|
|
2392
|
+
* const result = await entities.updateRecordById("<entityId>", "<recordId>", { name: "John Updated", age: 31 }, {
|
|
2393
|
+
* expansionLevel: 1
|
|
2394
|
+
* });
|
|
2395
|
+
* ```
|
|
2396
|
+
*/
|
|
2397
|
+
async updateRecordById(entityId, recordId, data, options = {}) {
|
|
2398
|
+
const params = createParams({
|
|
2399
|
+
expansionLevel: options.expansionLevel
|
|
2400
|
+
});
|
|
2401
|
+
const response = await this.post(DATA_FABRIC_ENDPOINTS.ENTITY.UPDATE_RECORD_BY_ID(entityId, recordId), data, {
|
|
2402
|
+
params,
|
|
2403
|
+
...options
|
|
2404
|
+
});
|
|
2405
|
+
// Convert PascalCase response to camelCase
|
|
2406
|
+
const camelResponse = pascalToCamelCaseKeys(response.data);
|
|
2407
|
+
return camelResponse;
|
|
2408
|
+
}
|
|
2365
2409
|
/**
|
|
2366
2410
|
* Updates data in an entity by entity ID
|
|
2367
2411
|
*
|
|
@@ -2693,6 +2737,9 @@ __decorate([
|
|
|
2693
2737
|
__decorate([
|
|
2694
2738
|
track('Entities.InsertRecordsById')
|
|
2695
2739
|
], EntityService.prototype, "insertRecordsById", null);
|
|
2740
|
+
__decorate([
|
|
2741
|
+
track('Entities.UpdateRecordById')
|
|
2742
|
+
], EntityService.prototype, "updateRecordById", null);
|
|
2696
2743
|
__decorate([
|
|
2697
2744
|
track('Entities.UpdateRecordsById')
|
|
2698
2745
|
], EntityService.prototype, "updateRecordsById", null);
|