@uipath/uipath-typescript 1.3.11 → 1.4.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/agent-memory/index.cjs +1765 -0
- package/dist/agent-memory/index.d.ts +588 -0
- package/dist/agent-memory/index.mjs +1763 -0
- package/dist/agents/index.cjs +1726 -0
- package/dist/agents/index.d.ts +502 -0
- package/dist/agents/index.mjs +1724 -0
- package/dist/assets/index.cjs +155 -30
- package/dist/assets/index.d.ts +84 -5
- package/dist/assets/index.mjs +155 -30
- package/dist/attachments/index.cjs +37 -6
- package/dist/attachments/index.d.ts +1 -0
- package/dist/attachments/index.mjs +37 -6
- package/dist/buckets/index.cjs +37 -6
- package/dist/buckets/index.d.ts +1 -0
- package/dist/buckets/index.mjs +37 -6
- package/dist/cases/index.cjs +141 -10
- package/dist/cases/index.d.ts +118 -7
- package/dist/cases/index.mjs +141 -11
- package/dist/conversational-agent/index.cjs +124 -57
- package/dist/conversational-agent/index.d.ts +190 -122
- package/dist/conversational-agent/index.mjs +124 -57
- package/dist/core/index.cjs +413 -105
- package/dist/core/index.d.ts +15 -0
- package/dist/core/index.mjs +413 -105
- package/dist/entities/index.cjs +122 -43
- package/dist/entities/index.d.ts +140 -35
- package/dist/entities/index.mjs +122 -43
- package/dist/feedback/index.cjs +37 -6
- package/dist/feedback/index.d.ts +1 -0
- package/dist/feedback/index.mjs +37 -6
- package/dist/governance/index.cjs +1782 -0
- package/dist/governance/index.d.ts +598 -0
- package/dist/governance/index.mjs +1780 -0
- package/dist/index.cjs +956 -283
- package/dist/index.d.ts +1138 -121
- package/dist/index.mjs +956 -284
- package/dist/index.umd.js +3113 -2423
- package/dist/jobs/index.cjs +37 -6
- package/dist/jobs/index.d.ts +1 -0
- package/dist/jobs/index.mjs +37 -6
- package/dist/maestro-processes/index.cjs +173 -18
- package/dist/maestro-processes/index.d.ts +131 -9
- package/dist/maestro-processes/index.mjs +173 -18
- package/dist/processes/index.cjs +37 -6
- package/dist/processes/index.d.ts +1 -0
- package/dist/processes/index.mjs +37 -6
- package/dist/queues/index.cjs +37 -6
- package/dist/queues/index.d.ts +1 -0
- package/dist/queues/index.mjs +37 -6
- package/dist/tasks/index.cjs +37 -6
- package/dist/tasks/index.d.ts +1 -0
- package/dist/tasks/index.mjs +37 -6
- package/dist/traces/index.cjs +37 -6
- package/dist/traces/index.d.ts +1 -0
- package/dist/traces/index.mjs +37 -6
- package/package.json +32 -2
package/dist/core/index.d.ts
CHANGED
|
@@ -76,6 +76,11 @@ interface IUiPath {
|
|
|
76
76
|
* Get the current authentication token
|
|
77
77
|
*/
|
|
78
78
|
getToken(): string | undefined;
|
|
79
|
+
/**
|
|
80
|
+
* Releases resources held by this SDK instance.
|
|
81
|
+
* Cancels any in-flight token-refresh request. Call this when the coded app is unmounted.
|
|
82
|
+
*/
|
|
83
|
+
destroy(): void;
|
|
79
84
|
/**
|
|
80
85
|
* Logout from the SDK, clearing all authentication state.
|
|
81
86
|
* After calling this method, the user will need to re-initialize to authenticate again.
|
|
@@ -159,6 +164,11 @@ declare class UiPath implements IUiPath {
|
|
|
159
164
|
* Get the current authentication token
|
|
160
165
|
*/
|
|
161
166
|
getToken(): string | undefined;
|
|
167
|
+
/**
|
|
168
|
+
* Releases resources held by this SDK instance.
|
|
169
|
+
* Cancels any in-flight token-refresh request. Call this when the coded app is unmounted.
|
|
170
|
+
*/
|
|
171
|
+
destroy(): void;
|
|
162
172
|
/**
|
|
163
173
|
* Logout from the SDK, clearing all authentication state.
|
|
164
174
|
* After calling this method, the user will need to re-initialize to authenticate again.
|
|
@@ -453,6 +463,11 @@ declare const track: _uipath_core_telemetry.Track;
|
|
|
453
463
|
declare const trackEvent: (eventName: string, name?: string, attributes?: _uipath_core_telemetry.TelemetryAttributes) => void;
|
|
454
464
|
declare const telemetryClient: {
|
|
455
465
|
initialize(context?: TelemetryContext): void;
|
|
466
|
+
/**
|
|
467
|
+
* Sets the authenticated user's id so every subsequently emitted event
|
|
468
|
+
* carries it as `CloudUserId`.
|
|
469
|
+
*/
|
|
470
|
+
setUserId(userId: string): void;
|
|
456
471
|
};
|
|
457
472
|
|
|
458
473
|
export { AuthenticationError, AuthorizationError, DEFAULT_ITEMS_FIELD, DEFAULT_PAGE_SIZE, DEFAULT_TOTAL_COUNT_FIELD, ErrorType, HttpStatus, MAX_PAGE_SIZE, NetworkError, NotFoundError, RateLimitError, ServerError, UiPath, UiPathError, ValidationError, getErrorDetails, getLimitedPageSize, isAuthenticationError, isAuthorizationError, isNetworkError, isNotFoundError, isRateLimitError, isServerError, isUiPathError, isValidationError, telemetryClient, track, trackEvent };
|