@uipath/uipath-typescript 1.3.5 → 1.3.6
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/README.md +1 -1
- package/dist/assets/index.cjs +1 -1
- package/dist/assets/index.mjs +1 -1
- package/dist/attachments/index.cjs +1 -1
- package/dist/attachments/index.mjs +1 -1
- package/dist/buckets/index.cjs +1 -1
- package/dist/buckets/index.mjs +1 -1
- package/dist/cases/index.cjs +1 -1
- package/dist/cases/index.mjs +1 -1
- package/dist/conversational-agent/index.cjs +1 -1
- package/dist/conversational-agent/index.mjs +1 -1
- package/dist/core/index.cjs +29 -4
- package/dist/core/index.d.ts +11 -1
- package/dist/core/index.mjs +29 -4
- package/dist/entities/index.cjs +1 -1
- package/dist/entities/index.mjs +1 -1
- package/dist/feedback/index.cjs +38 -4
- package/dist/feedback/index.d.ts +52 -1
- package/dist/feedback/index.mjs +38 -4
- package/dist/index.cjs +29 -4
- package/dist/index.d.ts +42 -2
- package/dist/index.mjs +29 -4
- package/dist/index.umd.js +29 -4
- package/dist/jobs/index.cjs +1 -1
- package/dist/jobs/index.mjs +1 -1
- package/dist/maestro-processes/index.cjs +1 -1
- package/dist/maestro-processes/index.mjs +1 -1
- package/dist/processes/index.cjs +1 -1
- package/dist/processes/index.mjs +1 -1
- package/dist/queues/index.cjs +1 -1
- package/dist/queues/index.mjs +1 -1
- package/dist/tasks/index.cjs +1 -1
- package/dist/tasks/index.mjs +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
package/dist/assets/index.cjs
CHANGED
|
@@ -1685,7 +1685,7 @@ const AssetMap = {
|
|
|
1685
1685
|
// Connection string placeholder that will be replaced during build
|
|
1686
1686
|
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";
|
|
1687
1687
|
// SDK Version placeholder
|
|
1688
|
-
const SDK_VERSION = "1.3.
|
|
1688
|
+
const SDK_VERSION = "1.3.6";
|
|
1689
1689
|
const VERSION = "Version";
|
|
1690
1690
|
const SERVICE = "Service";
|
|
1691
1691
|
const CLOUD_ORGANIZATION_NAME = "CloudOrganizationName";
|
package/dist/assets/index.mjs
CHANGED
|
@@ -1683,7 +1683,7 @@ const AssetMap = {
|
|
|
1683
1683
|
// Connection string placeholder that will be replaced during build
|
|
1684
1684
|
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";
|
|
1685
1685
|
// SDK Version placeholder
|
|
1686
|
-
const SDK_VERSION = "1.3.
|
|
1686
|
+
const SDK_VERSION = "1.3.6";
|
|
1687
1687
|
const VERSION = "Version";
|
|
1688
1688
|
const SERVICE = "Service";
|
|
1689
1689
|
const CLOUD_ORGANIZATION_NAME = "CloudOrganizationName";
|
|
@@ -476,7 +476,7 @@ const BUCKET_TOKEN_PARAMS = {
|
|
|
476
476
|
// Connection string placeholder that will be replaced during build
|
|
477
477
|
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";
|
|
478
478
|
// SDK Version placeholder
|
|
479
|
-
const SDK_VERSION = "1.3.
|
|
479
|
+
const SDK_VERSION = "1.3.6";
|
|
480
480
|
const VERSION = "Version";
|
|
481
481
|
const SERVICE = "Service";
|
|
482
482
|
const CLOUD_ORGANIZATION_NAME = "CloudOrganizationName";
|
|
@@ -474,7 +474,7 @@ const BUCKET_TOKEN_PARAMS = {
|
|
|
474
474
|
// Connection string placeholder that will be replaced during build
|
|
475
475
|
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";
|
|
476
476
|
// SDK Version placeholder
|
|
477
|
-
const SDK_VERSION = "1.3.
|
|
477
|
+
const SDK_VERSION = "1.3.6";
|
|
478
478
|
const VERSION = "Version";
|
|
479
479
|
const SERVICE = "Service";
|
|
480
480
|
const CLOUD_ORGANIZATION_NAME = "CloudOrganizationName";
|
package/dist/buckets/index.cjs
CHANGED
|
@@ -1732,7 +1732,7 @@ const BucketMap = {
|
|
|
1732
1732
|
// Connection string placeholder that will be replaced during build
|
|
1733
1733
|
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";
|
|
1734
1734
|
// SDK Version placeholder
|
|
1735
|
-
const SDK_VERSION = "1.3.
|
|
1735
|
+
const SDK_VERSION = "1.3.6";
|
|
1736
1736
|
const VERSION = "Version";
|
|
1737
1737
|
const SERVICE = "Service";
|
|
1738
1738
|
const CLOUD_ORGANIZATION_NAME = "CloudOrganizationName";
|
package/dist/buckets/index.mjs
CHANGED
|
@@ -1730,7 +1730,7 @@ const BucketMap = {
|
|
|
1730
1730
|
// Connection string placeholder that will be replaced during build
|
|
1731
1731
|
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";
|
|
1732
1732
|
// SDK Version placeholder
|
|
1733
|
-
const SDK_VERSION = "1.3.
|
|
1733
|
+
const SDK_VERSION = "1.3.6";
|
|
1734
1734
|
const VERSION = "Version";
|
|
1735
1735
|
const SERVICE = "Service";
|
|
1736
1736
|
const CLOUD_ORGANIZATION_NAME = "CloudOrganizationName";
|
package/dist/cases/index.cjs
CHANGED
|
@@ -1842,7 +1842,7 @@ const MAESTRO_ENDPOINTS = {
|
|
|
1842
1842
|
// Connection string placeholder that will be replaced during build
|
|
1843
1843
|
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";
|
|
1844
1844
|
// SDK Version placeholder
|
|
1845
|
-
const SDK_VERSION = "1.3.
|
|
1845
|
+
const SDK_VERSION = "1.3.6";
|
|
1846
1846
|
const VERSION = "Version";
|
|
1847
1847
|
const SERVICE = "Service";
|
|
1848
1848
|
const CLOUD_ORGANIZATION_NAME = "CloudOrganizationName";
|
package/dist/cases/index.mjs
CHANGED
|
@@ -1840,7 +1840,7 @@ const MAESTRO_ENDPOINTS = {
|
|
|
1840
1840
|
// Connection string placeholder that will be replaced during build
|
|
1841
1841
|
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";
|
|
1842
1842
|
// SDK Version placeholder
|
|
1843
|
-
const SDK_VERSION = "1.3.
|
|
1843
|
+
const SDK_VERSION = "1.3.6";
|
|
1844
1844
|
const VERSION = "Version";
|
|
1845
1845
|
const SERVICE = "Service";
|
|
1846
1846
|
const CLOUD_ORGANIZATION_NAME = "CloudOrganizationName";
|
|
@@ -51,7 +51,7 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
|
|
|
51
51
|
// Connection string placeholder that will be replaced during build
|
|
52
52
|
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";
|
|
53
53
|
// SDK Version placeholder
|
|
54
|
-
const SDK_VERSION = "1.3.
|
|
54
|
+
const SDK_VERSION = "1.3.6";
|
|
55
55
|
const VERSION = "Version";
|
|
56
56
|
const SERVICE = "Service";
|
|
57
57
|
const CLOUD_ORGANIZATION_NAME = "CloudOrganizationName";
|
|
@@ -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.3.
|
|
52
|
+
const SDK_VERSION = "1.3.6";
|
|
53
53
|
const VERSION = "Version";
|
|
54
54
|
const SERVICE = "Service";
|
|
55
55
|
const CLOUD_ORGANIZATION_NAME = "CloudOrganizationName";
|
package/dist/core/index.cjs
CHANGED
|
@@ -4869,6 +4869,7 @@ class TokenManager {
|
|
|
4869
4869
|
const GUID_REGEX = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;
|
|
4870
4870
|
class AuthService {
|
|
4871
4871
|
constructor(config, executionContext) {
|
|
4872
|
+
this.skipAcrValues = false;
|
|
4872
4873
|
// Only use stored OAuth context when completing an active callback (URL has ?code=).
|
|
4873
4874
|
// If stored context exists but we're NOT in a callback, it's stale from a
|
|
4874
4875
|
// failed/abandoned flow (e.g. scope mismatch, invalid redirect URI) and must
|
|
@@ -4960,6 +4961,14 @@ class AuthService {
|
|
|
4960
4961
|
getTokenManager() {
|
|
4961
4962
|
return this.tokenManager;
|
|
4962
4963
|
}
|
|
4964
|
+
/**
|
|
4965
|
+
* Enables the UiPath login picker during OAuth sign-in.
|
|
4966
|
+
*
|
|
4967
|
+
* @internal
|
|
4968
|
+
*/
|
|
4969
|
+
setMultiLogin() {
|
|
4970
|
+
this.skipAcrValues = true;
|
|
4971
|
+
}
|
|
4963
4972
|
/**
|
|
4964
4973
|
* Authenticates the user based on the provided SDK configuration.
|
|
4965
4974
|
* This method handles OAuth 2.0 authentication flow only.
|
|
@@ -5161,7 +5170,10 @@ class AuthService {
|
|
|
5161
5170
|
scope: params.scope + ' offline_access',
|
|
5162
5171
|
state: params.state || this.generateCodeVerifier().slice(0, 16)
|
|
5163
5172
|
});
|
|
5164
|
-
|
|
5173
|
+
const authorizeUrl = `${this.config.baseUrl}/${IDENTITY_ENDPOINTS.AUTHORIZE}?${queryParams.toString()}`;
|
|
5174
|
+
return this.skipAcrValues
|
|
5175
|
+
? authorizeUrl
|
|
5176
|
+
: `${authorizeUrl}&acr_values=${acrValues}`;
|
|
5165
5177
|
}
|
|
5166
5178
|
/**
|
|
5167
5179
|
* Exchanges the authorization code for an access token and automatically updates the current token
|
|
@@ -5295,7 +5307,7 @@ function normalizeBaseUrl(url) {
|
|
|
5295
5307
|
// Connection string placeholder that will be replaced during build
|
|
5296
5308
|
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";
|
|
5297
5309
|
// SDK Version placeholder
|
|
5298
|
-
const SDK_VERSION = "1.3.
|
|
5310
|
+
const SDK_VERSION = "1.3.6";
|
|
5299
5311
|
const VERSION = "Version";
|
|
5300
5312
|
const SERVICE = "Service";
|
|
5301
5313
|
const CLOUD_ORGANIZATION_NAME = "CloudOrganizationName";
|
|
@@ -5675,7 +5687,7 @@ function loadFromMetaTags() {
|
|
|
5675
5687
|
return hasAnyValue ? config : null;
|
|
5676
5688
|
}
|
|
5677
5689
|
|
|
5678
|
-
var _UiPath_instances, _UiPath_config, _UiPath_authService, _UiPath_initialized, _UiPath_partialConfig, _UiPath_initializeWithConfig, _UiPath_loadConfig;
|
|
5690
|
+
var _UiPath_instances, _UiPath_config, _UiPath_authService, _UiPath_initialized, _UiPath_partialConfig, _UiPath_multiLogin, _UiPath_initializeWithConfig, _UiPath_loadConfig;
|
|
5679
5691
|
/**
|
|
5680
5692
|
* UiPath - Core SDK class for authentication and configuration management.
|
|
5681
5693
|
*
|
|
@@ -5715,6 +5727,7 @@ class UiPath {
|
|
|
5715
5727
|
_UiPath_authService.set(this, void 0);
|
|
5716
5728
|
_UiPath_initialized.set(this, false);
|
|
5717
5729
|
_UiPath_partialConfig.set(this, void 0);
|
|
5730
|
+
_UiPath_multiLogin.set(this, false);
|
|
5718
5731
|
// Load configuration from meta tags
|
|
5719
5732
|
const configFromMetaTags = loadFromMetaTags();
|
|
5720
5733
|
// Merge configuration: constructor config overrides meta tags
|
|
@@ -5765,6 +5778,15 @@ class UiPath {
|
|
|
5765
5778
|
throw new Error(`Failed to initialize UiPath SDK: ${errorMessage}`);
|
|
5766
5779
|
}
|
|
5767
5780
|
}
|
|
5781
|
+
/**
|
|
5782
|
+
* Enables the UiPath login picker during OAuth sign-in.
|
|
5783
|
+
*
|
|
5784
|
+
* @internal
|
|
5785
|
+
*/
|
|
5786
|
+
setMultiLogin() {
|
|
5787
|
+
__classPrivateFieldSet(this, _UiPath_multiLogin, true, "f");
|
|
5788
|
+
__classPrivateFieldGet(this, _UiPath_authService, "f")?.setMultiLogin();
|
|
5789
|
+
}
|
|
5768
5790
|
/**
|
|
5769
5791
|
* Check if the SDK has been initialized
|
|
5770
5792
|
*/
|
|
@@ -5836,7 +5858,7 @@ class UiPath {
|
|
|
5836
5858
|
__classPrivateFieldGet(this, _UiPath_authService, "f")?.updateToken(tokenInfo);
|
|
5837
5859
|
}
|
|
5838
5860
|
}
|
|
5839
|
-
_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) {
|
|
5861
|
+
_UiPath_config = new WeakMap(), _UiPath_authService = new WeakMap(), _UiPath_initialized = new WeakMap(), _UiPath_partialConfig = new WeakMap(), _UiPath_multiLogin = new WeakMap(), _UiPath_instances = new WeakSet(), _UiPath_initializeWithConfig = function _UiPath_initializeWithConfig(config) {
|
|
5840
5862
|
// Validate and normalize the configuration
|
|
5841
5863
|
validateConfig(config);
|
|
5842
5864
|
const hasSecretAuth = hasSecretConfig(config);
|
|
@@ -5853,6 +5875,9 @@ _UiPath_config = new WeakMap(), _UiPath_authService = new WeakMap(), _UiPath_ini
|
|
|
5853
5875
|
});
|
|
5854
5876
|
const executionContext = new ExecutionContext();
|
|
5855
5877
|
__classPrivateFieldSet(this, _UiPath_authService, new AuthService(internalConfig, executionContext), "f");
|
|
5878
|
+
if (__classPrivateFieldGet(this, _UiPath_multiLogin, "f")) {
|
|
5879
|
+
__classPrivateFieldGet(this, _UiPath_authService, "f").setMultiLogin();
|
|
5880
|
+
}
|
|
5856
5881
|
__classPrivateFieldSet(this, _UiPath_config, internalConfig, "f");
|
|
5857
5882
|
// Store internals in SDKInternalsRegistry (not visible on instance)
|
|
5858
5883
|
SDKInternalsRegistry.set(this, {
|
package/dist/core/index.d.ts
CHANGED
|
@@ -49,6 +49,10 @@ interface IUiPath {
|
|
|
49
49
|
* For OAuth, this handles the authentication flow.
|
|
50
50
|
*/
|
|
51
51
|
initialize(): Promise<void>;
|
|
52
|
+
/**
|
|
53
|
+
* Enables the UiPath login picker during OAuth sign-in.
|
|
54
|
+
*/
|
|
55
|
+
setMultiLogin(): void;
|
|
52
56
|
/**
|
|
53
57
|
* Check if the SDK has been initialized
|
|
54
58
|
*/
|
|
@@ -126,6 +130,12 @@ declare class UiPath implements IUiPath {
|
|
|
126
130
|
* If no config was provided in constructor, loads from meta tags.
|
|
127
131
|
*/
|
|
128
132
|
initialize(): Promise<void>;
|
|
133
|
+
/**
|
|
134
|
+
* Enables the UiPath login picker during OAuth sign-in.
|
|
135
|
+
*
|
|
136
|
+
* @internal
|
|
137
|
+
*/
|
|
138
|
+
setMultiLogin(): void;
|
|
129
139
|
/**
|
|
130
140
|
* Check if the SDK has been initialized
|
|
131
141
|
*/
|
|
@@ -519,7 +529,7 @@ declare const telemetryClient: TelemetryClient;
|
|
|
519
529
|
* SDK Telemetry constants
|
|
520
530
|
*/
|
|
521
531
|
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";
|
|
522
|
-
declare const SDK_VERSION = "1.3.
|
|
532
|
+
declare const SDK_VERSION = "1.3.6";
|
|
523
533
|
declare const VERSION = "Version";
|
|
524
534
|
declare const SERVICE = "Service";
|
|
525
535
|
declare const CLOUD_ORGANIZATION_NAME = "CloudOrganizationName";
|
package/dist/core/index.mjs
CHANGED
|
@@ -4867,6 +4867,7 @@ class TokenManager {
|
|
|
4867
4867
|
const GUID_REGEX = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;
|
|
4868
4868
|
class AuthService {
|
|
4869
4869
|
constructor(config, executionContext) {
|
|
4870
|
+
this.skipAcrValues = false;
|
|
4870
4871
|
// Only use stored OAuth context when completing an active callback (URL has ?code=).
|
|
4871
4872
|
// If stored context exists but we're NOT in a callback, it's stale from a
|
|
4872
4873
|
// failed/abandoned flow (e.g. scope mismatch, invalid redirect URI) and must
|
|
@@ -4958,6 +4959,14 @@ class AuthService {
|
|
|
4958
4959
|
getTokenManager() {
|
|
4959
4960
|
return this.tokenManager;
|
|
4960
4961
|
}
|
|
4962
|
+
/**
|
|
4963
|
+
* Enables the UiPath login picker during OAuth sign-in.
|
|
4964
|
+
*
|
|
4965
|
+
* @internal
|
|
4966
|
+
*/
|
|
4967
|
+
setMultiLogin() {
|
|
4968
|
+
this.skipAcrValues = true;
|
|
4969
|
+
}
|
|
4961
4970
|
/**
|
|
4962
4971
|
* Authenticates the user based on the provided SDK configuration.
|
|
4963
4972
|
* This method handles OAuth 2.0 authentication flow only.
|
|
@@ -5159,7 +5168,10 @@ class AuthService {
|
|
|
5159
5168
|
scope: params.scope + ' offline_access',
|
|
5160
5169
|
state: params.state || this.generateCodeVerifier().slice(0, 16)
|
|
5161
5170
|
});
|
|
5162
|
-
|
|
5171
|
+
const authorizeUrl = `${this.config.baseUrl}/${IDENTITY_ENDPOINTS.AUTHORIZE}?${queryParams.toString()}`;
|
|
5172
|
+
return this.skipAcrValues
|
|
5173
|
+
? authorizeUrl
|
|
5174
|
+
: `${authorizeUrl}&acr_values=${acrValues}`;
|
|
5163
5175
|
}
|
|
5164
5176
|
/**
|
|
5165
5177
|
* Exchanges the authorization code for an access token and automatically updates the current token
|
|
@@ -5293,7 +5305,7 @@ function normalizeBaseUrl(url) {
|
|
|
5293
5305
|
// Connection string placeholder that will be replaced during build
|
|
5294
5306
|
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";
|
|
5295
5307
|
// SDK Version placeholder
|
|
5296
|
-
const SDK_VERSION = "1.3.
|
|
5308
|
+
const SDK_VERSION = "1.3.6";
|
|
5297
5309
|
const VERSION = "Version";
|
|
5298
5310
|
const SERVICE = "Service";
|
|
5299
5311
|
const CLOUD_ORGANIZATION_NAME = "CloudOrganizationName";
|
|
@@ -5673,7 +5685,7 @@ function loadFromMetaTags() {
|
|
|
5673
5685
|
return hasAnyValue ? config : null;
|
|
5674
5686
|
}
|
|
5675
5687
|
|
|
5676
|
-
var _UiPath_instances, _UiPath_config, _UiPath_authService, _UiPath_initialized, _UiPath_partialConfig, _UiPath_initializeWithConfig, _UiPath_loadConfig;
|
|
5688
|
+
var _UiPath_instances, _UiPath_config, _UiPath_authService, _UiPath_initialized, _UiPath_partialConfig, _UiPath_multiLogin, _UiPath_initializeWithConfig, _UiPath_loadConfig;
|
|
5677
5689
|
/**
|
|
5678
5690
|
* UiPath - Core SDK class for authentication and configuration management.
|
|
5679
5691
|
*
|
|
@@ -5713,6 +5725,7 @@ class UiPath {
|
|
|
5713
5725
|
_UiPath_authService.set(this, void 0);
|
|
5714
5726
|
_UiPath_initialized.set(this, false);
|
|
5715
5727
|
_UiPath_partialConfig.set(this, void 0);
|
|
5728
|
+
_UiPath_multiLogin.set(this, false);
|
|
5716
5729
|
// Load configuration from meta tags
|
|
5717
5730
|
const configFromMetaTags = loadFromMetaTags();
|
|
5718
5731
|
// Merge configuration: constructor config overrides meta tags
|
|
@@ -5763,6 +5776,15 @@ class UiPath {
|
|
|
5763
5776
|
throw new Error(`Failed to initialize UiPath SDK: ${errorMessage}`);
|
|
5764
5777
|
}
|
|
5765
5778
|
}
|
|
5779
|
+
/**
|
|
5780
|
+
* Enables the UiPath login picker during OAuth sign-in.
|
|
5781
|
+
*
|
|
5782
|
+
* @internal
|
|
5783
|
+
*/
|
|
5784
|
+
setMultiLogin() {
|
|
5785
|
+
__classPrivateFieldSet(this, _UiPath_multiLogin, true, "f");
|
|
5786
|
+
__classPrivateFieldGet(this, _UiPath_authService, "f")?.setMultiLogin();
|
|
5787
|
+
}
|
|
5766
5788
|
/**
|
|
5767
5789
|
* Check if the SDK has been initialized
|
|
5768
5790
|
*/
|
|
@@ -5834,7 +5856,7 @@ class UiPath {
|
|
|
5834
5856
|
__classPrivateFieldGet(this, _UiPath_authService, "f")?.updateToken(tokenInfo);
|
|
5835
5857
|
}
|
|
5836
5858
|
}
|
|
5837
|
-
_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) {
|
|
5859
|
+
_UiPath_config = new WeakMap(), _UiPath_authService = new WeakMap(), _UiPath_initialized = new WeakMap(), _UiPath_partialConfig = new WeakMap(), _UiPath_multiLogin = new WeakMap(), _UiPath_instances = new WeakSet(), _UiPath_initializeWithConfig = function _UiPath_initializeWithConfig(config) {
|
|
5838
5860
|
// Validate and normalize the configuration
|
|
5839
5861
|
validateConfig(config);
|
|
5840
5862
|
const hasSecretAuth = hasSecretConfig(config);
|
|
@@ -5851,6 +5873,9 @@ _UiPath_config = new WeakMap(), _UiPath_authService = new WeakMap(), _UiPath_ini
|
|
|
5851
5873
|
});
|
|
5852
5874
|
const executionContext = new ExecutionContext();
|
|
5853
5875
|
__classPrivateFieldSet(this, _UiPath_authService, new AuthService(internalConfig, executionContext), "f");
|
|
5876
|
+
if (__classPrivateFieldGet(this, _UiPath_multiLogin, "f")) {
|
|
5877
|
+
__classPrivateFieldGet(this, _UiPath_authService, "f").setMultiLogin();
|
|
5878
|
+
}
|
|
5854
5879
|
__classPrivateFieldSet(this, _UiPath_config, internalConfig, "f");
|
|
5855
5880
|
// Store internals in SDKInternalsRegistry (not visible on instance)
|
|
5856
5881
|
SDKInternalsRegistry.set(this, {
|
package/dist/entities/index.cjs
CHANGED
|
@@ -2093,7 +2093,7 @@ const EntityFieldTypeMap = {
|
|
|
2093
2093
|
// Connection string placeholder that will be replaced during build
|
|
2094
2094
|
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";
|
|
2095
2095
|
// SDK Version placeholder
|
|
2096
|
-
const SDK_VERSION = "1.3.
|
|
2096
|
+
const SDK_VERSION = "1.3.6";
|
|
2097
2097
|
const VERSION = "Version";
|
|
2098
2098
|
const SERVICE = "Service";
|
|
2099
2099
|
const CLOUD_ORGANIZATION_NAME = "CloudOrganizationName";
|
package/dist/entities/index.mjs
CHANGED
|
@@ -2091,7 +2091,7 @@ const EntityFieldTypeMap = {
|
|
|
2091
2091
|
// Connection string placeholder that will be replaced during build
|
|
2092
2092
|
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";
|
|
2093
2093
|
// SDK Version placeholder
|
|
2094
|
-
const SDK_VERSION = "1.3.
|
|
2094
|
+
const SDK_VERSION = "1.3.6";
|
|
2095
2095
|
const VERSION = "Version";
|
|
2096
2096
|
const SERVICE = "Service";
|
|
2097
2097
|
const CLOUD_ORGANIZATION_NAME = "CloudOrganizationName";
|
package/dist/feedback/index.cjs
CHANGED
|
@@ -505,6 +505,7 @@ class ErrorFactory {
|
|
|
505
505
|
}
|
|
506
506
|
}
|
|
507
507
|
|
|
508
|
+
const FOLDER_KEY = 'X-UIPATH-FolderKey';
|
|
508
509
|
const FOLDER_ID = 'X-UIPATH-OrganizationUnitId';
|
|
509
510
|
const TRACEPARENT = 'traceparent';
|
|
510
511
|
const UIPATH_TRACEPARENT_ID = 'x-uipath-traceparent-id';
|
|
@@ -1557,6 +1558,7 @@ const LLMOPS_BASE = 'llmopstenant_';
|
|
|
1557
1558
|
*/
|
|
1558
1559
|
const FEEDBACK_ENDPOINTS = {
|
|
1559
1560
|
GET_ALL: `${LLMOPS_BASE}/api/Feedback`,
|
|
1561
|
+
GET_BY_ID: (id) => `${LLMOPS_BASE}/api/Feedback/${id}`,
|
|
1560
1562
|
};
|
|
1561
1563
|
|
|
1562
1564
|
/**
|
|
@@ -1565,7 +1567,7 @@ const FEEDBACK_ENDPOINTS = {
|
|
|
1565
1567
|
// Connection string placeholder that will be replaced during build
|
|
1566
1568
|
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";
|
|
1567
1569
|
// SDK Version placeholder
|
|
1568
|
-
const SDK_VERSION = "1.3.
|
|
1570
|
+
const SDK_VERSION = "1.3.6";
|
|
1569
1571
|
const VERSION = "Version";
|
|
1570
1572
|
const SERVICE = "Service";
|
|
1571
1573
|
const CLOUD_ORGANIZATION_NAME = "CloudOrganizationName";
|
|
@@ -1791,8 +1793,9 @@ function createTrackedFunction(originalFunction, nameOrOptions, fallbackName, op
|
|
|
1791
1793
|
// Track the event if enabled
|
|
1792
1794
|
if (shouldTrack) {
|
|
1793
1795
|
// Use the full name provided in the decorator (e.g., "Queue.GetAll")
|
|
1794
|
-
const serviceMethod = nameOrOptions
|
|
1795
|
-
|
|
1796
|
+
const serviceMethod = typeof nameOrOptions === 'string'
|
|
1797
|
+
? nameOrOptions
|
|
1798
|
+
: fallbackName;
|
|
1796
1799
|
// Use 'Sdk.Run' as the name and serviceMethod as the service
|
|
1797
1800
|
telemetryClient.track(serviceMethod, SDK_RUN_EVENT, opts.attributes);
|
|
1798
1801
|
}
|
|
@@ -1821,7 +1824,7 @@ function createTrackedFunction(originalFunction, nameOrOptions, fallbackName, op
|
|
|
1821
1824
|
*/
|
|
1822
1825
|
function track(nameOrOptions, options) {
|
|
1823
1826
|
return function decorator(_target, propertyKey, descriptor) {
|
|
1824
|
-
const opts = {};
|
|
1827
|
+
const opts = typeof nameOrOptions === 'object' ? nameOrOptions : {};
|
|
1825
1828
|
if (descriptor && typeof descriptor.value === 'function') {
|
|
1826
1829
|
// Method decorator
|
|
1827
1830
|
descriptor.value = createTrackedFunction(descriptor.value, nameOrOptions, propertyKey || 'unknown_method', opts);
|
|
@@ -1890,10 +1893,41 @@ class FeedbackService extends BaseService {
|
|
|
1890
1893
|
excludeFromPrefix: Object.keys(options || {}),
|
|
1891
1894
|
}, options);
|
|
1892
1895
|
}
|
|
1896
|
+
/**
|
|
1897
|
+
* Gets a single feedback entry by its feedback ID.
|
|
1898
|
+
*
|
|
1899
|
+
* @param id - Feedback ID (GUID) of the feedback entry
|
|
1900
|
+
* @param options - Required options including folderKey for folder-level authorization {@link FeedbackOptions}
|
|
1901
|
+
* @returns Promise resolving to {@link FeedbackGetResponse}
|
|
1902
|
+
* @example
|
|
1903
|
+
* ```typescript
|
|
1904
|
+
* import { Feedback } from '@uipath/uipath-typescript/feedback';
|
|
1905
|
+
*
|
|
1906
|
+
* const feedback = new Feedback(sdk);
|
|
1907
|
+
*
|
|
1908
|
+
* // First, get feedback entries to obtain the ID and folder key
|
|
1909
|
+
* const allFeedback = await feedback.getAll({ pageSize: 10 });
|
|
1910
|
+
* const feedbackId = allFeedback.items[0].id;
|
|
1911
|
+
* const folderKey = allFeedback.items[0].folderKey;
|
|
1912
|
+
* const item = await feedback.getById(feedbackId, { folderKey });
|
|
1913
|
+
* console.log(item.isPositive, item.comment, item.status);
|
|
1914
|
+
* ```
|
|
1915
|
+
*/
|
|
1916
|
+
async getById(id, options) {
|
|
1917
|
+
if (!id)
|
|
1918
|
+
throw new ValidationError({ message: 'Feedback ID is required for getById' });
|
|
1919
|
+
if (!options?.folderKey)
|
|
1920
|
+
throw new ValidationError({ message: 'folderKey is required for getById' });
|
|
1921
|
+
const response = await this.get(FEEDBACK_ENDPOINTS.GET_BY_ID(id), { headers: createHeaders({ [FOLDER_KEY]: options?.folderKey }) });
|
|
1922
|
+
return transformData(response.data, FeedbackMap);
|
|
1923
|
+
}
|
|
1893
1924
|
}
|
|
1894
1925
|
__decorate([
|
|
1895
1926
|
track('Feedback.GetAll')
|
|
1896
1927
|
], FeedbackService.prototype, "getAll", null);
|
|
1928
|
+
__decorate([
|
|
1929
|
+
track('Feedback.GetById')
|
|
1930
|
+
], FeedbackService.prototype, "getById", null);
|
|
1897
1931
|
|
|
1898
1932
|
/**
|
|
1899
1933
|
* Status of a feedback entry in the review workflow
|
package/dist/feedback/index.d.ts
CHANGED
|
@@ -342,6 +342,8 @@ interface FeedbackGetResponse {
|
|
|
342
342
|
isPositive: boolean;
|
|
343
343
|
/** Categories associated with this feedback entry */
|
|
344
344
|
feedbackCategories: FeedbackCategory[];
|
|
345
|
+
/** Folder key (GUID) of the folder the feedback belongs to */
|
|
346
|
+
folderKey?: string;
|
|
345
347
|
/** Email address of the user who submitted the feedback */
|
|
346
348
|
userEmail?: string;
|
|
347
349
|
/** Current status of the feedback in the review workflow */
|
|
@@ -351,6 +353,13 @@ interface FeedbackGetResponse {
|
|
|
351
353
|
/** Timestamp when the feedback was last updated */
|
|
352
354
|
updatedTime: string;
|
|
353
355
|
}
|
|
356
|
+
/**
|
|
357
|
+
* Options shared across feedback operations
|
|
358
|
+
*/
|
|
359
|
+
interface FeedbackOptions {
|
|
360
|
+
/** Folder key for authorization */
|
|
361
|
+
folderKey: string;
|
|
362
|
+
}
|
|
354
363
|
/**
|
|
355
364
|
* Options for retrieving multiple feedback entries
|
|
356
365
|
*/
|
|
@@ -425,6 +434,27 @@ interface FeedbackServiceModel {
|
|
|
425
434
|
* ```
|
|
426
435
|
*/
|
|
427
436
|
getAll<T extends FeedbackGetAllOptions = FeedbackGetAllOptions>(options?: T): Promise<T extends HasPaginationOptions<T> ? PaginatedResponse<FeedbackGetResponse> : NonPaginatedResponse<FeedbackGetResponse>>;
|
|
437
|
+
/**
|
|
438
|
+
* Gets a single feedback entry by its feedback ID.
|
|
439
|
+
*
|
|
440
|
+
* @param id - Feedback ID (GUID) of the feedback entry
|
|
441
|
+
* @param options - Required options including folderKey for folder-level authorization {@link FeedbackOptions}
|
|
442
|
+
* @returns Promise resolving to {@link FeedbackGetResponse}
|
|
443
|
+
* @example
|
|
444
|
+
* ```typescript
|
|
445
|
+
* import { Feedback } from '@uipath/uipath-typescript/feedback';
|
|
446
|
+
*
|
|
447
|
+
* const feedback = new Feedback(sdk);
|
|
448
|
+
*
|
|
449
|
+
* // First, get feedback entries to obtain the ID and folder key
|
|
450
|
+
* const allFeedback = await feedback.getAll({ pageSize: 10 });
|
|
451
|
+
* const feedbackId = allFeedback.items[0].id;
|
|
452
|
+
* const folderKey = allFeedback.items[0].folderKey;
|
|
453
|
+
* const item = await feedback.getById(feedbackId, { folderKey });
|
|
454
|
+
* console.log(item.isPositive, item.comment, item.status);
|
|
455
|
+
* ```
|
|
456
|
+
*/
|
|
457
|
+
getById(id: string, options: FeedbackOptions): Promise<FeedbackGetResponse>;
|
|
428
458
|
}
|
|
429
459
|
|
|
430
460
|
/**
|
|
@@ -469,7 +499,28 @@ declare class FeedbackService extends BaseService implements FeedbackServiceMode
|
|
|
469
499
|
* ```
|
|
470
500
|
*/
|
|
471
501
|
getAll<T extends FeedbackGetAllOptions = FeedbackGetAllOptions>(options?: T): Promise<T extends HasPaginationOptions<T> ? PaginatedResponse<FeedbackGetResponse> : NonPaginatedResponse<FeedbackGetResponse>>;
|
|
502
|
+
/**
|
|
503
|
+
* Gets a single feedback entry by its feedback ID.
|
|
504
|
+
*
|
|
505
|
+
* @param id - Feedback ID (GUID) of the feedback entry
|
|
506
|
+
* @param options - Required options including folderKey for folder-level authorization {@link FeedbackOptions}
|
|
507
|
+
* @returns Promise resolving to {@link FeedbackGetResponse}
|
|
508
|
+
* @example
|
|
509
|
+
* ```typescript
|
|
510
|
+
* import { Feedback } from '@uipath/uipath-typescript/feedback';
|
|
511
|
+
*
|
|
512
|
+
* const feedback = new Feedback(sdk);
|
|
513
|
+
*
|
|
514
|
+
* // First, get feedback entries to obtain the ID and folder key
|
|
515
|
+
* const allFeedback = await feedback.getAll({ pageSize: 10 });
|
|
516
|
+
* const feedbackId = allFeedback.items[0].id;
|
|
517
|
+
* const folderKey = allFeedback.items[0].folderKey;
|
|
518
|
+
* const item = await feedback.getById(feedbackId, { folderKey });
|
|
519
|
+
* console.log(item.isPositive, item.comment, item.status);
|
|
520
|
+
* ```
|
|
521
|
+
*/
|
|
522
|
+
getById(id: string, options: FeedbackOptions): Promise<FeedbackGetResponse>;
|
|
472
523
|
}
|
|
473
524
|
|
|
474
525
|
export { FeedbackService as Feedback, FeedbackStatus };
|
|
475
|
-
export type { FeedbackCategory, FeedbackGetAllOptions, FeedbackGetResponse, FeedbackServiceModel };
|
|
526
|
+
export type { FeedbackCategory, FeedbackGetAllOptions, FeedbackGetResponse, FeedbackOptions, FeedbackServiceModel };
|
package/dist/feedback/index.mjs
CHANGED
|
@@ -503,6 +503,7 @@ class ErrorFactory {
|
|
|
503
503
|
}
|
|
504
504
|
}
|
|
505
505
|
|
|
506
|
+
const FOLDER_KEY = 'X-UIPATH-FolderKey';
|
|
506
507
|
const FOLDER_ID = 'X-UIPATH-OrganizationUnitId';
|
|
507
508
|
const TRACEPARENT = 'traceparent';
|
|
508
509
|
const UIPATH_TRACEPARENT_ID = 'x-uipath-traceparent-id';
|
|
@@ -1555,6 +1556,7 @@ const LLMOPS_BASE = 'llmopstenant_';
|
|
|
1555
1556
|
*/
|
|
1556
1557
|
const FEEDBACK_ENDPOINTS = {
|
|
1557
1558
|
GET_ALL: `${LLMOPS_BASE}/api/Feedback`,
|
|
1559
|
+
GET_BY_ID: (id) => `${LLMOPS_BASE}/api/Feedback/${id}`,
|
|
1558
1560
|
};
|
|
1559
1561
|
|
|
1560
1562
|
/**
|
|
@@ -1563,7 +1565,7 @@ const FEEDBACK_ENDPOINTS = {
|
|
|
1563
1565
|
// Connection string placeholder that will be replaced during build
|
|
1564
1566
|
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";
|
|
1565
1567
|
// SDK Version placeholder
|
|
1566
|
-
const SDK_VERSION = "1.3.
|
|
1568
|
+
const SDK_VERSION = "1.3.6";
|
|
1567
1569
|
const VERSION = "Version";
|
|
1568
1570
|
const SERVICE = "Service";
|
|
1569
1571
|
const CLOUD_ORGANIZATION_NAME = "CloudOrganizationName";
|
|
@@ -1789,8 +1791,9 @@ function createTrackedFunction(originalFunction, nameOrOptions, fallbackName, op
|
|
|
1789
1791
|
// Track the event if enabled
|
|
1790
1792
|
if (shouldTrack) {
|
|
1791
1793
|
// Use the full name provided in the decorator (e.g., "Queue.GetAll")
|
|
1792
|
-
const serviceMethod = nameOrOptions
|
|
1793
|
-
|
|
1794
|
+
const serviceMethod = typeof nameOrOptions === 'string'
|
|
1795
|
+
? nameOrOptions
|
|
1796
|
+
: fallbackName;
|
|
1794
1797
|
// Use 'Sdk.Run' as the name and serviceMethod as the service
|
|
1795
1798
|
telemetryClient.track(serviceMethod, SDK_RUN_EVENT, opts.attributes);
|
|
1796
1799
|
}
|
|
@@ -1819,7 +1822,7 @@ function createTrackedFunction(originalFunction, nameOrOptions, fallbackName, op
|
|
|
1819
1822
|
*/
|
|
1820
1823
|
function track(nameOrOptions, options) {
|
|
1821
1824
|
return function decorator(_target, propertyKey, descriptor) {
|
|
1822
|
-
const opts = {};
|
|
1825
|
+
const opts = typeof nameOrOptions === 'object' ? nameOrOptions : {};
|
|
1823
1826
|
if (descriptor && typeof descriptor.value === 'function') {
|
|
1824
1827
|
// Method decorator
|
|
1825
1828
|
descriptor.value = createTrackedFunction(descriptor.value, nameOrOptions, propertyKey || 'unknown_method', opts);
|
|
@@ -1888,10 +1891,41 @@ class FeedbackService extends BaseService {
|
|
|
1888
1891
|
excludeFromPrefix: Object.keys(options || {}),
|
|
1889
1892
|
}, options);
|
|
1890
1893
|
}
|
|
1894
|
+
/**
|
|
1895
|
+
* Gets a single feedback entry by its feedback ID.
|
|
1896
|
+
*
|
|
1897
|
+
* @param id - Feedback ID (GUID) of the feedback entry
|
|
1898
|
+
* @param options - Required options including folderKey for folder-level authorization {@link FeedbackOptions}
|
|
1899
|
+
* @returns Promise resolving to {@link FeedbackGetResponse}
|
|
1900
|
+
* @example
|
|
1901
|
+
* ```typescript
|
|
1902
|
+
* import { Feedback } from '@uipath/uipath-typescript/feedback';
|
|
1903
|
+
*
|
|
1904
|
+
* const feedback = new Feedback(sdk);
|
|
1905
|
+
*
|
|
1906
|
+
* // First, get feedback entries to obtain the ID and folder key
|
|
1907
|
+
* const allFeedback = await feedback.getAll({ pageSize: 10 });
|
|
1908
|
+
* const feedbackId = allFeedback.items[0].id;
|
|
1909
|
+
* const folderKey = allFeedback.items[0].folderKey;
|
|
1910
|
+
* const item = await feedback.getById(feedbackId, { folderKey });
|
|
1911
|
+
* console.log(item.isPositive, item.comment, item.status);
|
|
1912
|
+
* ```
|
|
1913
|
+
*/
|
|
1914
|
+
async getById(id, options) {
|
|
1915
|
+
if (!id)
|
|
1916
|
+
throw new ValidationError({ message: 'Feedback ID is required for getById' });
|
|
1917
|
+
if (!options?.folderKey)
|
|
1918
|
+
throw new ValidationError({ message: 'folderKey is required for getById' });
|
|
1919
|
+
const response = await this.get(FEEDBACK_ENDPOINTS.GET_BY_ID(id), { headers: createHeaders({ [FOLDER_KEY]: options?.folderKey }) });
|
|
1920
|
+
return transformData(response.data, FeedbackMap);
|
|
1921
|
+
}
|
|
1891
1922
|
}
|
|
1892
1923
|
__decorate([
|
|
1893
1924
|
track('Feedback.GetAll')
|
|
1894
1925
|
], FeedbackService.prototype, "getAll", null);
|
|
1926
|
+
__decorate([
|
|
1927
|
+
track('Feedback.GetById')
|
|
1928
|
+
], FeedbackService.prototype, "getById", null);
|
|
1895
1929
|
|
|
1896
1930
|
/**
|
|
1897
1931
|
* Status of a feedback entry in the review workflow
|
package/dist/index.cjs
CHANGED
|
@@ -5026,6 +5026,7 @@ class TokenManager {
|
|
|
5026
5026
|
const GUID_REGEX = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;
|
|
5027
5027
|
class AuthService {
|
|
5028
5028
|
constructor(config, executionContext) {
|
|
5029
|
+
this.skipAcrValues = false;
|
|
5029
5030
|
// Only use stored OAuth context when completing an active callback (URL has ?code=).
|
|
5030
5031
|
// If stored context exists but we're NOT in a callback, it's stale from a
|
|
5031
5032
|
// failed/abandoned flow (e.g. scope mismatch, invalid redirect URI) and must
|
|
@@ -5117,6 +5118,14 @@ class AuthService {
|
|
|
5117
5118
|
getTokenManager() {
|
|
5118
5119
|
return this.tokenManager;
|
|
5119
5120
|
}
|
|
5121
|
+
/**
|
|
5122
|
+
* Enables the UiPath login picker during OAuth sign-in.
|
|
5123
|
+
*
|
|
5124
|
+
* @internal
|
|
5125
|
+
*/
|
|
5126
|
+
setMultiLogin() {
|
|
5127
|
+
this.skipAcrValues = true;
|
|
5128
|
+
}
|
|
5120
5129
|
/**
|
|
5121
5130
|
* Authenticates the user based on the provided SDK configuration.
|
|
5122
5131
|
* This method handles OAuth 2.0 authentication flow only.
|
|
@@ -5318,7 +5327,10 @@ class AuthService {
|
|
|
5318
5327
|
scope: params.scope + ' offline_access',
|
|
5319
5328
|
state: params.state || this.generateCodeVerifier().slice(0, 16)
|
|
5320
5329
|
});
|
|
5321
|
-
|
|
5330
|
+
const authorizeUrl = `${this.config.baseUrl}/${IDENTITY_ENDPOINTS.AUTHORIZE}?${queryParams.toString()}`;
|
|
5331
|
+
return this.skipAcrValues
|
|
5332
|
+
? authorizeUrl
|
|
5333
|
+
: `${authorizeUrl}&acr_values=${acrValues}`;
|
|
5322
5334
|
}
|
|
5323
5335
|
/**
|
|
5324
5336
|
* Exchanges the authorization code for an access token and automatically updates the current token
|
|
@@ -5452,7 +5464,7 @@ function normalizeBaseUrl(url) {
|
|
|
5452
5464
|
// Connection string placeholder that will be replaced during build
|
|
5453
5465
|
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";
|
|
5454
5466
|
// SDK Version placeholder
|
|
5455
|
-
const SDK_VERSION = "1.3.
|
|
5467
|
+
const SDK_VERSION = "1.3.6";
|
|
5456
5468
|
const VERSION = "Version";
|
|
5457
5469
|
const SERVICE = "Service";
|
|
5458
5470
|
const CLOUD_ORGANIZATION_NAME = "CloudOrganizationName";
|
|
@@ -5832,7 +5844,7 @@ function loadFromMetaTags() {
|
|
|
5832
5844
|
return hasAnyValue ? config : null;
|
|
5833
5845
|
}
|
|
5834
5846
|
|
|
5835
|
-
var _UiPath_instances, _UiPath_config, _UiPath_authService, _UiPath_initialized, _UiPath_partialConfig, _UiPath_initializeWithConfig, _UiPath_loadConfig;
|
|
5847
|
+
var _UiPath_instances, _UiPath_config, _UiPath_authService, _UiPath_initialized, _UiPath_partialConfig, _UiPath_multiLogin, _UiPath_initializeWithConfig, _UiPath_loadConfig;
|
|
5836
5848
|
/**
|
|
5837
5849
|
* UiPath - Core SDK class for authentication and configuration management.
|
|
5838
5850
|
*
|
|
@@ -5872,6 +5884,7 @@ let UiPath$1 = class UiPath {
|
|
|
5872
5884
|
_UiPath_authService.set(this, void 0);
|
|
5873
5885
|
_UiPath_initialized.set(this, false);
|
|
5874
5886
|
_UiPath_partialConfig.set(this, void 0);
|
|
5887
|
+
_UiPath_multiLogin.set(this, false);
|
|
5875
5888
|
// Load configuration from meta tags
|
|
5876
5889
|
const configFromMetaTags = loadFromMetaTags();
|
|
5877
5890
|
// Merge configuration: constructor config overrides meta tags
|
|
@@ -5922,6 +5935,15 @@ let UiPath$1 = class UiPath {
|
|
|
5922
5935
|
throw new Error(`Failed to initialize UiPath SDK: ${errorMessage}`);
|
|
5923
5936
|
}
|
|
5924
5937
|
}
|
|
5938
|
+
/**
|
|
5939
|
+
* Enables the UiPath login picker during OAuth sign-in.
|
|
5940
|
+
*
|
|
5941
|
+
* @internal
|
|
5942
|
+
*/
|
|
5943
|
+
setMultiLogin() {
|
|
5944
|
+
__classPrivateFieldSet(this, _UiPath_multiLogin, true, "f");
|
|
5945
|
+
__classPrivateFieldGet(this, _UiPath_authService, "f")?.setMultiLogin();
|
|
5946
|
+
}
|
|
5925
5947
|
/**
|
|
5926
5948
|
* Check if the SDK has been initialized
|
|
5927
5949
|
*/
|
|
@@ -5993,7 +6015,7 @@ let UiPath$1 = class UiPath {
|
|
|
5993
6015
|
__classPrivateFieldGet(this, _UiPath_authService, "f")?.updateToken(tokenInfo);
|
|
5994
6016
|
}
|
|
5995
6017
|
};
|
|
5996
|
-
_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) {
|
|
6018
|
+
_UiPath_config = new WeakMap(), _UiPath_authService = new WeakMap(), _UiPath_initialized = new WeakMap(), _UiPath_partialConfig = new WeakMap(), _UiPath_multiLogin = new WeakMap(), _UiPath_instances = new WeakSet(), _UiPath_initializeWithConfig = function _UiPath_initializeWithConfig(config) {
|
|
5997
6019
|
// Validate and normalize the configuration
|
|
5998
6020
|
validateConfig(config);
|
|
5999
6021
|
const hasSecretAuth = hasSecretConfig(config);
|
|
@@ -6010,6 +6032,9 @@ _UiPath_config = new WeakMap(), _UiPath_authService = new WeakMap(), _UiPath_ini
|
|
|
6010
6032
|
});
|
|
6011
6033
|
const executionContext = new ExecutionContext();
|
|
6012
6034
|
__classPrivateFieldSet(this, _UiPath_authService, new AuthService(internalConfig, executionContext), "f");
|
|
6035
|
+
if (__classPrivateFieldGet(this, _UiPath_multiLogin, "f")) {
|
|
6036
|
+
__classPrivateFieldGet(this, _UiPath_authService, "f").setMultiLogin();
|
|
6037
|
+
}
|
|
6013
6038
|
__classPrivateFieldSet(this, _UiPath_config, internalConfig, "f");
|
|
6014
6039
|
// Store internals in SDKInternalsRegistry (not visible on instance)
|
|
6015
6040
|
SDKInternalsRegistry.set(this, {
|
package/dist/index.d.ts
CHANGED
|
@@ -49,6 +49,10 @@ interface IUiPath {
|
|
|
49
49
|
* For OAuth, this handles the authentication flow.
|
|
50
50
|
*/
|
|
51
51
|
initialize(): Promise<void>;
|
|
52
|
+
/**
|
|
53
|
+
* Enables the UiPath login picker during OAuth sign-in.
|
|
54
|
+
*/
|
|
55
|
+
setMultiLogin(): void;
|
|
52
56
|
/**
|
|
53
57
|
* Check if the SDK has been initialized
|
|
54
58
|
*/
|
|
@@ -126,6 +130,12 @@ declare class UiPath$1 implements IUiPath {
|
|
|
126
130
|
* If no config was provided in constructor, loads from meta tags.
|
|
127
131
|
*/
|
|
128
132
|
initialize(): Promise<void>;
|
|
133
|
+
/**
|
|
134
|
+
* Enables the UiPath login picker during OAuth sign-in.
|
|
135
|
+
*
|
|
136
|
+
* @internal
|
|
137
|
+
*/
|
|
138
|
+
setMultiLogin(): void;
|
|
129
139
|
/**
|
|
130
140
|
* Check if the SDK has been initialized
|
|
131
141
|
*/
|
|
@@ -11638,6 +11648,8 @@ interface FeedbackGetResponse {
|
|
|
11638
11648
|
isPositive: boolean;
|
|
11639
11649
|
/** Categories associated with this feedback entry */
|
|
11640
11650
|
feedbackCategories: FeedbackCategory[];
|
|
11651
|
+
/** Folder key (GUID) of the folder the feedback belongs to */
|
|
11652
|
+
folderKey?: string;
|
|
11641
11653
|
/** Email address of the user who submitted the feedback */
|
|
11642
11654
|
userEmail?: string;
|
|
11643
11655
|
/** Current status of the feedback in the review workflow */
|
|
@@ -11647,6 +11659,13 @@ interface FeedbackGetResponse {
|
|
|
11647
11659
|
/** Timestamp when the feedback was last updated */
|
|
11648
11660
|
updatedTime: string;
|
|
11649
11661
|
}
|
|
11662
|
+
/**
|
|
11663
|
+
* Options shared across feedback operations
|
|
11664
|
+
*/
|
|
11665
|
+
interface FeedbackOptions {
|
|
11666
|
+
/** Folder key for authorization */
|
|
11667
|
+
folderKey: string;
|
|
11668
|
+
}
|
|
11650
11669
|
/**
|
|
11651
11670
|
* Options for retrieving multiple feedback entries
|
|
11652
11671
|
*/
|
|
@@ -11721,6 +11740,27 @@ interface FeedbackServiceModel {
|
|
|
11721
11740
|
* ```
|
|
11722
11741
|
*/
|
|
11723
11742
|
getAll<T extends FeedbackGetAllOptions = FeedbackGetAllOptions>(options?: T): Promise<T extends HasPaginationOptions<T> ? PaginatedResponse<FeedbackGetResponse> : NonPaginatedResponse<FeedbackGetResponse>>;
|
|
11743
|
+
/**
|
|
11744
|
+
* Gets a single feedback entry by its feedback ID.
|
|
11745
|
+
*
|
|
11746
|
+
* @param id - Feedback ID (GUID) of the feedback entry
|
|
11747
|
+
* @param options - Required options including folderKey for folder-level authorization {@link FeedbackOptions}
|
|
11748
|
+
* @returns Promise resolving to {@link FeedbackGetResponse}
|
|
11749
|
+
* @example
|
|
11750
|
+
* ```typescript
|
|
11751
|
+
* import { Feedback } from '@uipath/uipath-typescript/feedback';
|
|
11752
|
+
*
|
|
11753
|
+
* const feedback = new Feedback(sdk);
|
|
11754
|
+
*
|
|
11755
|
+
* // First, get feedback entries to obtain the ID and folder key
|
|
11756
|
+
* const allFeedback = await feedback.getAll({ pageSize: 10 });
|
|
11757
|
+
* const feedbackId = allFeedback.items[0].id;
|
|
11758
|
+
* const folderKey = allFeedback.items[0].folderKey;
|
|
11759
|
+
* const item = await feedback.getById(feedbackId, { folderKey });
|
|
11760
|
+
* console.log(item.isPositive, item.comment, item.status);
|
|
11761
|
+
* ```
|
|
11762
|
+
*/
|
|
11763
|
+
getById(id: string, options: FeedbackOptions): Promise<FeedbackGetResponse>;
|
|
11724
11764
|
}
|
|
11725
11765
|
|
|
11726
11766
|
declare enum DocumentActionPriority {
|
|
@@ -13251,7 +13291,7 @@ declare const telemetryClient: TelemetryClient;
|
|
|
13251
13291
|
* SDK Telemetry constants
|
|
13252
13292
|
*/
|
|
13253
13293
|
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";
|
|
13254
|
-
declare const SDK_VERSION = "1.3.
|
|
13294
|
+
declare const SDK_VERSION = "1.3.6";
|
|
13255
13295
|
declare const VERSION = "Version";
|
|
13256
13296
|
declare const SERVICE = "Service";
|
|
13257
13297
|
declare const CLOUD_ORGANIZATION_NAME = "CloudOrganizationName";
|
|
@@ -13267,4 +13307,4 @@ declare const SDK_RUN_EVENT = "Sdk.Run";
|
|
|
13267
13307
|
declare const UNKNOWN = "";
|
|
13268
13308
|
|
|
13269
13309
|
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, index as DuFramework, EntityFieldDataType, EntityType, ErrorType, EscalationActionType, EscalationRecipientScope, EscalationTriggerType, ExchangeMap, FeedbackRating, FeedbackStatus, FieldDisplayType, HttpStatus, InputStreamSpeechSensitivity, InterruptType, JobPriority, JobSourceType, JobState, JobSubState, JobType, JoinType, LogicalOperator$1 as LogicalOperator, MAX_PAGE_SIZE, MessageMap, MessageRole, NetworkError, NotFoundError, PackageSourceType, PackageType, ProcessIncidentSeverity, ProcessIncidentStatus, ProcessIncidentType, QueryFilterOperator, 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, TaskUserType, 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 };
|
|
13270
|
-
export type { AgentAppearance, AgentConversationServiceModel, AgentCreateConversationOptions, AgentGetByIdResponse, AgentGetResponse, AgentInput, AgentMethods, AgentStartingPrompt, ArgumentMetadata, AssetGetAllOptions, AssetGetByIdOptions, AssetGetResponse, AssetServiceModel, AsyncInputStream, AsyncInputStreamChunkEvent, AsyncInputStreamEndEvent, AsyncInputStreamEvent, AsyncInputStreamStartEvent, AsyncToolCallStream, AttachmentGetByIdOptions, AttachmentResponse, AttachmentServiceModel, BaseConfig, BaseOptions, BaseProcessStartRequest, BlobItem, BodyOptions, BpmnXmlString, BucketGetAllOptions, BucketGetByIdOptions, BucketGetFileMetaDataOptions, BucketGetFileMetaDataResponse, BucketGetFileMetaDataWithPaginationOptions, BucketGetReadUriOptions, BucketGetResponse, BucketGetUriOptions, BucketGetUriResponse, BucketServiceModel, BucketUploadFileOptions, BucketUploadResponse, CaseAppConfig, CaseAppOverview, CaseGetAllResponse, CaseGetStageResponse, CaseInstanceExecutionHistoryResponse, CaseInstanceGetAllOptions, CaseInstanceGetAllWithPaginationOptions, CaseInstanceGetResponse, CaseInstanceMethods, CaseInstanceOperationOptions, CaseInstanceOperationResponse, CaseInstanceReopenOptions, CaseInstanceRun, CaseInstancesServiceModel, CasesServiceModel, ChoiceSetGetAllResponse, ChoiceSetGetByIdOptions, ChoiceSetGetResponse, ChoiceSetServiceModel, Citation, CitationEndEvent, CitationError, CitationEvent, CitationOptions, CitationSource, CitationSourceBase, CitationSourceMedia, CitationSourceUrl, CitationStartEvent, CollectionResponse, CompletedContentPart, CompletedMessage, CompletedToolCall, ContentPart, ContentPartChunkEvent, ContentPartData, ContentPartEndEvent, ContentPartEvent, ContentPartGetResponse, ContentPartInterrupted, ContentPartStartEvent, ContentPartStartMetaData, ContentPartStream, ConversationAttachmentCreateResponse, ConversationAttachmentUploadResponse, ConversationCreateOptions, ConversationCreateResponse, ConversationDeleteResponse, ConversationEvent, ConversationExchangeServiceModel, ConversationGetAllOptions, ConversationGetResponse, ConversationJobStartOverrides, ConversationMethods, ConversationServiceModel, ConversationSessionMethods, ConversationSessionOptions, ConversationUpdateOptions, ConversationUpdateResponse, ConversationalAgentOptions, ConversationalAgentServiceModel, CreateFeedbackOptions, CustomKeyValuePair, ElementExecutionMetadata, ElementMetaData, ElementRunMetadata, EntityBatchInsertOptions, EntityBatchInsertResponse, EntityCreateFieldOptions, EntityCreateOptions, EntityDeleteAttachmentResponse, EntityDeleteOptions, EntityDeleteRecordsOptions, EntityDeleteResponse, EntityFieldBase, EntityFieldUpdateOptions, EntityFileType, EntityGetAllRecordsOptions, EntityGetRecordByIdOptions, EntityGetRecordsByIdOptions, EntityGetResponse, EntityImportRecordsResponse, EntityInsertOptions, EntityInsertRecordOptions, EntityInsertRecordsOptions, EntityInsertResponse, EntityMethods, EntityOperationOptions, EntityOperationResponse, EntityQueryFilter, EntityQueryFilterGroup, EntityQueryRecordsOptions, EntityQueryRecordsResponse, EntityQuerySortOption, EntityRecord, EntityRemoveFieldOptions, EntityServiceModel, EntityUpdateByIdOptions, EntityUpdateOptions, EntityUpdateRecordOptions, EntityUpdateRecordResponse, EntityUpdateRecordsOptions, EntityUpdateResponse, EntityUploadAttachmentOptions, EntityUploadAttachmentResponse, ErrorEndEvent, ErrorEvent, ErrorStartEvent, EscalationAction, EscalationRecipient, EscalationRule, EscalationTriggerMetadata, Exchange, ExchangeEndEvent, ExchangeEvent, ExchangeGetAllOptions, ExchangeGetByIdOptions, ExchangeGetResponse, ExchangeServiceModel, ExchangeStartEvent, ExchangeStream, ExternalConnection, ExternalField, ExternalFieldMapping, ExternalObject, ExternalSourceFields, ExternalValue, FailureRecord, FeatureFlags, FeedbackCategory, FeedbackCreateResponse, FeedbackGetAllOptions, FeedbackGetResponse, FeedbackServiceModel, Field$1 as Field, FieldDataType, FieldMetaData, FileUploadAccess, FolderProperties, GenericInterruptStartEvent, GlobalVariableMetaData, HasPaginationOptions, Headers, HttpMethod, InlineOrExternalValue, InlineValue, Interrupt, InterruptEndEvent, InterruptEvent, InterruptStartEvent, JSONArray, JSONObject, JSONPrimitive, JSONValue, JobAttachment, JobError, JobGetAllOptions, JobGetByIdOptions, JobGetResponse, JobMethods, JobResumeOptions, JobServiceModel, JobStopOptions, LabelUpdatedEvent, Machine, MaestroProcessGetAllResponse, MaestroProcessesServiceModel, MakeOptional, MakeRequired, Message, MessageEndEvent, MessageEvent, MessageGetResponse, MessageServiceModel, MessageStartEvent, MessageStream, MetaData, MetaEvent, NonPaginatedResponse, OAuthFields, OperationResponse, PaginatedResponse, PaginationCursor, PaginationMetadata, PaginationMethodUnion, PaginationOptions, PartialUiPathConfig, ProcessGetAllOptions, ProcessGetByIdOptions, ProcessGetResponse, ProcessIncidentGetAllResponse, ProcessIncidentGetResponse, ProcessIncidentsServiceModel, ProcessInstanceExecutionHistoryResponse, ProcessInstanceGetAllOptions, ProcessInstanceGetAllWithPaginationOptions, ProcessInstanceGetResponse, ProcessInstanceGetVariablesOptions, ProcessInstanceGetVariablesResponse, ProcessInstanceMethods, ProcessInstanceOperationOptions, ProcessInstanceOperationResponse, ProcessInstanceRun, ProcessInstancesServiceModel, ProcessMetadata, ProcessMethods, ProcessProperties, ProcessServiceModel, ProcessStartRequest, ProcessStartRequestWithKey, ProcessStartRequestWithName, ProcessStartResponse, QueryParams, QueueGetAllOptions, QueueGetByIdOptions, QueueGetResponse, QueueServiceModel, RawAgentGetByIdResponse, RawAgentGetResponse, RawCaseInstanceGetResponse, RawConversationGetResponse, RawEntityGetResponse, RawJobGetResponse, RawMaestroProcessGetAllResponse, RawProcessInstanceGetResponse, RawTaskCreateResponse, RawTaskGetResponse, RequestOptions, RequestSpec, ResponseDictionary, ResponseType, RetryOptions, RobotMetadata, SessionCapabilities, SessionEndEvent, SessionEndingEvent, SessionStartEvent, SessionStartedEvent, SessionStream, Simplify, SourceJoinCriteria, SqlType, 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 };
|
|
13310
|
+
export type { AgentAppearance, AgentConversationServiceModel, AgentCreateConversationOptions, AgentGetByIdResponse, AgentGetResponse, AgentInput, AgentMethods, AgentStartingPrompt, ArgumentMetadata, AssetGetAllOptions, AssetGetByIdOptions, AssetGetResponse, AssetServiceModel, AsyncInputStream, AsyncInputStreamChunkEvent, AsyncInputStreamEndEvent, AsyncInputStreamEvent, AsyncInputStreamStartEvent, AsyncToolCallStream, AttachmentGetByIdOptions, AttachmentResponse, AttachmentServiceModel, BaseConfig, BaseOptions, BaseProcessStartRequest, BlobItem, BodyOptions, BpmnXmlString, BucketGetAllOptions, BucketGetByIdOptions, BucketGetFileMetaDataOptions, BucketGetFileMetaDataResponse, BucketGetFileMetaDataWithPaginationOptions, BucketGetReadUriOptions, BucketGetResponse, BucketGetUriOptions, BucketGetUriResponse, BucketServiceModel, BucketUploadFileOptions, BucketUploadResponse, CaseAppConfig, CaseAppOverview, CaseGetAllResponse, CaseGetStageResponse, CaseInstanceExecutionHistoryResponse, CaseInstanceGetAllOptions, CaseInstanceGetAllWithPaginationOptions, CaseInstanceGetResponse, CaseInstanceMethods, CaseInstanceOperationOptions, CaseInstanceOperationResponse, CaseInstanceReopenOptions, CaseInstanceRun, CaseInstancesServiceModel, CasesServiceModel, ChoiceSetGetAllResponse, ChoiceSetGetByIdOptions, ChoiceSetGetResponse, ChoiceSetServiceModel, Citation, CitationEndEvent, CitationError, CitationEvent, CitationOptions, CitationSource, CitationSourceBase, CitationSourceMedia, CitationSourceUrl, CitationStartEvent, CollectionResponse, CompletedContentPart, CompletedMessage, CompletedToolCall, ContentPart, ContentPartChunkEvent, ContentPartData, ContentPartEndEvent, ContentPartEvent, ContentPartGetResponse, ContentPartInterrupted, ContentPartStartEvent, ContentPartStartMetaData, ContentPartStream, ConversationAttachmentCreateResponse, ConversationAttachmentUploadResponse, ConversationCreateOptions, ConversationCreateResponse, ConversationDeleteResponse, ConversationEvent, ConversationExchangeServiceModel, ConversationGetAllOptions, ConversationGetResponse, ConversationJobStartOverrides, ConversationMethods, ConversationServiceModel, ConversationSessionMethods, ConversationSessionOptions, ConversationUpdateOptions, ConversationUpdateResponse, ConversationalAgentOptions, ConversationalAgentServiceModel, CreateFeedbackOptions, CustomKeyValuePair, ElementExecutionMetadata, ElementMetaData, ElementRunMetadata, EntityBatchInsertOptions, EntityBatchInsertResponse, EntityCreateFieldOptions, EntityCreateOptions, EntityDeleteAttachmentResponse, EntityDeleteOptions, EntityDeleteRecordsOptions, EntityDeleteResponse, EntityFieldBase, EntityFieldUpdateOptions, EntityFileType, EntityGetAllRecordsOptions, EntityGetRecordByIdOptions, EntityGetRecordsByIdOptions, EntityGetResponse, EntityImportRecordsResponse, EntityInsertOptions, EntityInsertRecordOptions, EntityInsertRecordsOptions, EntityInsertResponse, EntityMethods, EntityOperationOptions, EntityOperationResponse, EntityQueryFilter, EntityQueryFilterGroup, EntityQueryRecordsOptions, EntityQueryRecordsResponse, EntityQuerySortOption, EntityRecord, EntityRemoveFieldOptions, EntityServiceModel, EntityUpdateByIdOptions, EntityUpdateOptions, EntityUpdateRecordOptions, EntityUpdateRecordResponse, EntityUpdateRecordsOptions, EntityUpdateResponse, EntityUploadAttachmentOptions, EntityUploadAttachmentResponse, ErrorEndEvent, ErrorEvent, ErrorStartEvent, EscalationAction, EscalationRecipient, EscalationRule, EscalationTriggerMetadata, Exchange, ExchangeEndEvent, ExchangeEvent, ExchangeGetAllOptions, ExchangeGetByIdOptions, ExchangeGetResponse, ExchangeServiceModel, ExchangeStartEvent, ExchangeStream, ExternalConnection, ExternalField, ExternalFieldMapping, ExternalObject, ExternalSourceFields, ExternalValue, FailureRecord, FeatureFlags, FeedbackCategory, FeedbackCreateResponse, FeedbackGetAllOptions, FeedbackGetResponse, FeedbackOptions, FeedbackServiceModel, Field$1 as Field, FieldDataType, FieldMetaData, FileUploadAccess, FolderProperties, GenericInterruptStartEvent, GlobalVariableMetaData, HasPaginationOptions, Headers, HttpMethod, InlineOrExternalValue, InlineValue, Interrupt, InterruptEndEvent, InterruptEvent, InterruptStartEvent, JSONArray, JSONObject, JSONPrimitive, JSONValue, JobAttachment, JobError, JobGetAllOptions, JobGetByIdOptions, JobGetResponse, JobMethods, JobResumeOptions, JobServiceModel, JobStopOptions, LabelUpdatedEvent, Machine, MaestroProcessGetAllResponse, MaestroProcessesServiceModel, MakeOptional, MakeRequired, Message, MessageEndEvent, MessageEvent, MessageGetResponse, MessageServiceModel, MessageStartEvent, MessageStream, MetaData, MetaEvent, NonPaginatedResponse, OAuthFields, OperationResponse, PaginatedResponse, PaginationCursor, PaginationMetadata, PaginationMethodUnion, PaginationOptions, PartialUiPathConfig, ProcessGetAllOptions, ProcessGetByIdOptions, ProcessGetResponse, ProcessIncidentGetAllResponse, ProcessIncidentGetResponse, ProcessIncidentsServiceModel, ProcessInstanceExecutionHistoryResponse, ProcessInstanceGetAllOptions, ProcessInstanceGetAllWithPaginationOptions, ProcessInstanceGetResponse, ProcessInstanceGetVariablesOptions, ProcessInstanceGetVariablesResponse, ProcessInstanceMethods, ProcessInstanceOperationOptions, ProcessInstanceOperationResponse, ProcessInstanceRun, ProcessInstancesServiceModel, ProcessMetadata, ProcessMethods, ProcessProperties, ProcessServiceModel, ProcessStartRequest, ProcessStartRequestWithKey, ProcessStartRequestWithName, ProcessStartResponse, QueryParams, QueueGetAllOptions, QueueGetByIdOptions, QueueGetResponse, QueueServiceModel, RawAgentGetByIdResponse, RawAgentGetResponse, RawCaseInstanceGetResponse, RawConversationGetResponse, RawEntityGetResponse, RawJobGetResponse, RawMaestroProcessGetAllResponse, RawProcessInstanceGetResponse, RawTaskCreateResponse, RawTaskGetResponse, RequestOptions, RequestSpec, ResponseDictionary, ResponseType, RetryOptions, RobotMetadata, SessionCapabilities, SessionEndEvent, SessionEndingEvent, SessionStartEvent, SessionStartedEvent, SessionStream, Simplify, SourceJoinCriteria, SqlType, 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 };
|
package/dist/index.mjs
CHANGED
|
@@ -5024,6 +5024,7 @@ class TokenManager {
|
|
|
5024
5024
|
const GUID_REGEX = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;
|
|
5025
5025
|
class AuthService {
|
|
5026
5026
|
constructor(config, executionContext) {
|
|
5027
|
+
this.skipAcrValues = false;
|
|
5027
5028
|
// Only use stored OAuth context when completing an active callback (URL has ?code=).
|
|
5028
5029
|
// If stored context exists but we're NOT in a callback, it's stale from a
|
|
5029
5030
|
// failed/abandoned flow (e.g. scope mismatch, invalid redirect URI) and must
|
|
@@ -5115,6 +5116,14 @@ class AuthService {
|
|
|
5115
5116
|
getTokenManager() {
|
|
5116
5117
|
return this.tokenManager;
|
|
5117
5118
|
}
|
|
5119
|
+
/**
|
|
5120
|
+
* Enables the UiPath login picker during OAuth sign-in.
|
|
5121
|
+
*
|
|
5122
|
+
* @internal
|
|
5123
|
+
*/
|
|
5124
|
+
setMultiLogin() {
|
|
5125
|
+
this.skipAcrValues = true;
|
|
5126
|
+
}
|
|
5118
5127
|
/**
|
|
5119
5128
|
* Authenticates the user based on the provided SDK configuration.
|
|
5120
5129
|
* This method handles OAuth 2.0 authentication flow only.
|
|
@@ -5316,7 +5325,10 @@ class AuthService {
|
|
|
5316
5325
|
scope: params.scope + ' offline_access',
|
|
5317
5326
|
state: params.state || this.generateCodeVerifier().slice(0, 16)
|
|
5318
5327
|
});
|
|
5319
|
-
|
|
5328
|
+
const authorizeUrl = `${this.config.baseUrl}/${IDENTITY_ENDPOINTS.AUTHORIZE}?${queryParams.toString()}`;
|
|
5329
|
+
return this.skipAcrValues
|
|
5330
|
+
? authorizeUrl
|
|
5331
|
+
: `${authorizeUrl}&acr_values=${acrValues}`;
|
|
5320
5332
|
}
|
|
5321
5333
|
/**
|
|
5322
5334
|
* Exchanges the authorization code for an access token and automatically updates the current token
|
|
@@ -5450,7 +5462,7 @@ function normalizeBaseUrl(url) {
|
|
|
5450
5462
|
// Connection string placeholder that will be replaced during build
|
|
5451
5463
|
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";
|
|
5452
5464
|
// SDK Version placeholder
|
|
5453
|
-
const SDK_VERSION = "1.3.
|
|
5465
|
+
const SDK_VERSION = "1.3.6";
|
|
5454
5466
|
const VERSION = "Version";
|
|
5455
5467
|
const SERVICE = "Service";
|
|
5456
5468
|
const CLOUD_ORGANIZATION_NAME = "CloudOrganizationName";
|
|
@@ -5830,7 +5842,7 @@ function loadFromMetaTags() {
|
|
|
5830
5842
|
return hasAnyValue ? config : null;
|
|
5831
5843
|
}
|
|
5832
5844
|
|
|
5833
|
-
var _UiPath_instances, _UiPath_config, _UiPath_authService, _UiPath_initialized, _UiPath_partialConfig, _UiPath_initializeWithConfig, _UiPath_loadConfig;
|
|
5845
|
+
var _UiPath_instances, _UiPath_config, _UiPath_authService, _UiPath_initialized, _UiPath_partialConfig, _UiPath_multiLogin, _UiPath_initializeWithConfig, _UiPath_loadConfig;
|
|
5834
5846
|
/**
|
|
5835
5847
|
* UiPath - Core SDK class for authentication and configuration management.
|
|
5836
5848
|
*
|
|
@@ -5870,6 +5882,7 @@ let UiPath$1 = class UiPath {
|
|
|
5870
5882
|
_UiPath_authService.set(this, void 0);
|
|
5871
5883
|
_UiPath_initialized.set(this, false);
|
|
5872
5884
|
_UiPath_partialConfig.set(this, void 0);
|
|
5885
|
+
_UiPath_multiLogin.set(this, false);
|
|
5873
5886
|
// Load configuration from meta tags
|
|
5874
5887
|
const configFromMetaTags = loadFromMetaTags();
|
|
5875
5888
|
// Merge configuration: constructor config overrides meta tags
|
|
@@ -5920,6 +5933,15 @@ let UiPath$1 = class UiPath {
|
|
|
5920
5933
|
throw new Error(`Failed to initialize UiPath SDK: ${errorMessage}`);
|
|
5921
5934
|
}
|
|
5922
5935
|
}
|
|
5936
|
+
/**
|
|
5937
|
+
* Enables the UiPath login picker during OAuth sign-in.
|
|
5938
|
+
*
|
|
5939
|
+
* @internal
|
|
5940
|
+
*/
|
|
5941
|
+
setMultiLogin() {
|
|
5942
|
+
__classPrivateFieldSet(this, _UiPath_multiLogin, true, "f");
|
|
5943
|
+
__classPrivateFieldGet(this, _UiPath_authService, "f")?.setMultiLogin();
|
|
5944
|
+
}
|
|
5923
5945
|
/**
|
|
5924
5946
|
* Check if the SDK has been initialized
|
|
5925
5947
|
*/
|
|
@@ -5991,7 +6013,7 @@ let UiPath$1 = class UiPath {
|
|
|
5991
6013
|
__classPrivateFieldGet(this, _UiPath_authService, "f")?.updateToken(tokenInfo);
|
|
5992
6014
|
}
|
|
5993
6015
|
};
|
|
5994
|
-
_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) {
|
|
6016
|
+
_UiPath_config = new WeakMap(), _UiPath_authService = new WeakMap(), _UiPath_initialized = new WeakMap(), _UiPath_partialConfig = new WeakMap(), _UiPath_multiLogin = new WeakMap(), _UiPath_instances = new WeakSet(), _UiPath_initializeWithConfig = function _UiPath_initializeWithConfig(config) {
|
|
5995
6017
|
// Validate and normalize the configuration
|
|
5996
6018
|
validateConfig(config);
|
|
5997
6019
|
const hasSecretAuth = hasSecretConfig(config);
|
|
@@ -6008,6 +6030,9 @@ _UiPath_config = new WeakMap(), _UiPath_authService = new WeakMap(), _UiPath_ini
|
|
|
6008
6030
|
});
|
|
6009
6031
|
const executionContext = new ExecutionContext();
|
|
6010
6032
|
__classPrivateFieldSet(this, _UiPath_authService, new AuthService(internalConfig, executionContext), "f");
|
|
6033
|
+
if (__classPrivateFieldGet(this, _UiPath_multiLogin, "f")) {
|
|
6034
|
+
__classPrivateFieldGet(this, _UiPath_authService, "f").setMultiLogin();
|
|
6035
|
+
}
|
|
6011
6036
|
__classPrivateFieldSet(this, _UiPath_config, internalConfig, "f");
|
|
6012
6037
|
// Store internals in SDKInternalsRegistry (not visible on instance)
|
|
6013
6038
|
SDKInternalsRegistry.set(this, {
|
package/dist/index.umd.js
CHANGED
|
@@ -5028,6 +5028,7 @@
|
|
|
5028
5028
|
const GUID_REGEX = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;
|
|
5029
5029
|
class AuthService {
|
|
5030
5030
|
constructor(config, executionContext) {
|
|
5031
|
+
this.skipAcrValues = false;
|
|
5031
5032
|
// Only use stored OAuth context when completing an active callback (URL has ?code=).
|
|
5032
5033
|
// If stored context exists but we're NOT in a callback, it's stale from a
|
|
5033
5034
|
// failed/abandoned flow (e.g. scope mismatch, invalid redirect URI) and must
|
|
@@ -5119,6 +5120,14 @@
|
|
|
5119
5120
|
getTokenManager() {
|
|
5120
5121
|
return this.tokenManager;
|
|
5121
5122
|
}
|
|
5123
|
+
/**
|
|
5124
|
+
* Enables the UiPath login picker during OAuth sign-in.
|
|
5125
|
+
*
|
|
5126
|
+
* @internal
|
|
5127
|
+
*/
|
|
5128
|
+
setMultiLogin() {
|
|
5129
|
+
this.skipAcrValues = true;
|
|
5130
|
+
}
|
|
5122
5131
|
/**
|
|
5123
5132
|
* Authenticates the user based on the provided SDK configuration.
|
|
5124
5133
|
* This method handles OAuth 2.0 authentication flow only.
|
|
@@ -5320,7 +5329,10 @@
|
|
|
5320
5329
|
scope: params.scope + ' offline_access',
|
|
5321
5330
|
state: params.state || this.generateCodeVerifier().slice(0, 16)
|
|
5322
5331
|
});
|
|
5323
|
-
|
|
5332
|
+
const authorizeUrl = `${this.config.baseUrl}/${IDENTITY_ENDPOINTS.AUTHORIZE}?${queryParams.toString()}`;
|
|
5333
|
+
return this.skipAcrValues
|
|
5334
|
+
? authorizeUrl
|
|
5335
|
+
: `${authorizeUrl}&acr_values=${acrValues}`;
|
|
5324
5336
|
}
|
|
5325
5337
|
/**
|
|
5326
5338
|
* Exchanges the authorization code for an access token and automatically updates the current token
|
|
@@ -9209,7 +9221,7 @@
|
|
|
9209
9221
|
// Connection string placeholder that will be replaced during build
|
|
9210
9222
|
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";
|
|
9211
9223
|
// SDK Version placeholder
|
|
9212
|
-
const SDK_VERSION = "1.3.
|
|
9224
|
+
const SDK_VERSION = "1.3.6";
|
|
9213
9225
|
const VERSION = "Version";
|
|
9214
9226
|
const SERVICE = "Service";
|
|
9215
9227
|
const CLOUD_ORGANIZATION_NAME = "CloudOrganizationName";
|
|
@@ -9589,7 +9601,7 @@
|
|
|
9589
9601
|
return hasAnyValue ? config : null;
|
|
9590
9602
|
}
|
|
9591
9603
|
|
|
9592
|
-
var _UiPath_instances, _UiPath_config, _UiPath_authService, _UiPath_initialized, _UiPath_partialConfig, _UiPath_initializeWithConfig, _UiPath_loadConfig;
|
|
9604
|
+
var _UiPath_instances, _UiPath_config, _UiPath_authService, _UiPath_initialized, _UiPath_partialConfig, _UiPath_multiLogin, _UiPath_initializeWithConfig, _UiPath_loadConfig;
|
|
9593
9605
|
/**
|
|
9594
9606
|
* UiPath - Core SDK class for authentication and configuration management.
|
|
9595
9607
|
*
|
|
@@ -9629,6 +9641,7 @@
|
|
|
9629
9641
|
_UiPath_authService.set(this, void 0);
|
|
9630
9642
|
_UiPath_initialized.set(this, false);
|
|
9631
9643
|
_UiPath_partialConfig.set(this, void 0);
|
|
9644
|
+
_UiPath_multiLogin.set(this, false);
|
|
9632
9645
|
// Load configuration from meta tags
|
|
9633
9646
|
const configFromMetaTags = loadFromMetaTags();
|
|
9634
9647
|
// Merge configuration: constructor config overrides meta tags
|
|
@@ -9679,6 +9692,15 @@
|
|
|
9679
9692
|
throw new Error(`Failed to initialize UiPath SDK: ${errorMessage}`);
|
|
9680
9693
|
}
|
|
9681
9694
|
}
|
|
9695
|
+
/**
|
|
9696
|
+
* Enables the UiPath login picker during OAuth sign-in.
|
|
9697
|
+
*
|
|
9698
|
+
* @internal
|
|
9699
|
+
*/
|
|
9700
|
+
setMultiLogin() {
|
|
9701
|
+
__classPrivateFieldSet(this, _UiPath_multiLogin, true, "f");
|
|
9702
|
+
__classPrivateFieldGet(this, _UiPath_authService, "f")?.setMultiLogin();
|
|
9703
|
+
}
|
|
9682
9704
|
/**
|
|
9683
9705
|
* Check if the SDK has been initialized
|
|
9684
9706
|
*/
|
|
@@ -9750,7 +9772,7 @@
|
|
|
9750
9772
|
__classPrivateFieldGet(this, _UiPath_authService, "f")?.updateToken(tokenInfo);
|
|
9751
9773
|
}
|
|
9752
9774
|
};
|
|
9753
|
-
_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) {
|
|
9775
|
+
_UiPath_config = new WeakMap(), _UiPath_authService = new WeakMap(), _UiPath_initialized = new WeakMap(), _UiPath_partialConfig = new WeakMap(), _UiPath_multiLogin = new WeakMap(), _UiPath_instances = new WeakSet(), _UiPath_initializeWithConfig = function _UiPath_initializeWithConfig(config) {
|
|
9754
9776
|
// Validate and normalize the configuration
|
|
9755
9777
|
validateConfig(config);
|
|
9756
9778
|
const hasSecretAuth = hasSecretConfig(config);
|
|
@@ -9767,6 +9789,9 @@
|
|
|
9767
9789
|
});
|
|
9768
9790
|
const executionContext = new ExecutionContext();
|
|
9769
9791
|
__classPrivateFieldSet(this, _UiPath_authService, new AuthService(internalConfig, executionContext), "f");
|
|
9792
|
+
if (__classPrivateFieldGet(this, _UiPath_multiLogin, "f")) {
|
|
9793
|
+
__classPrivateFieldGet(this, _UiPath_authService, "f").setMultiLogin();
|
|
9794
|
+
}
|
|
9770
9795
|
__classPrivateFieldSet(this, _UiPath_config, internalConfig, "f");
|
|
9771
9796
|
// Store internals in SDKInternalsRegistry (not visible on instance)
|
|
9772
9797
|
SDKInternalsRegistry.set(this, {
|
package/dist/jobs/index.cjs
CHANGED
|
@@ -1753,7 +1753,7 @@ const JobMap = {
|
|
|
1753
1753
|
// Connection string placeholder that will be replaced during build
|
|
1754
1754
|
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";
|
|
1755
1755
|
// SDK Version placeholder
|
|
1756
|
-
const SDK_VERSION = "1.3.
|
|
1756
|
+
const SDK_VERSION = "1.3.6";
|
|
1757
1757
|
const VERSION = "Version";
|
|
1758
1758
|
const SERVICE = "Service";
|
|
1759
1759
|
const CLOUD_ORGANIZATION_NAME = "CloudOrganizationName";
|
package/dist/jobs/index.mjs
CHANGED
|
@@ -1751,7 +1751,7 @@ const JobMap = {
|
|
|
1751
1751
|
// Connection string placeholder that will be replaced during build
|
|
1752
1752
|
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";
|
|
1753
1753
|
// SDK Version placeholder
|
|
1754
|
-
const SDK_VERSION = "1.3.
|
|
1754
|
+
const SDK_VERSION = "1.3.6";
|
|
1755
1755
|
const VERSION = "Version";
|
|
1756
1756
|
const SERVICE = "Service";
|
|
1757
1757
|
const CLOUD_ORGANIZATION_NAME = "CloudOrganizationName";
|
|
@@ -1742,7 +1742,7 @@ class BpmnHelpers {
|
|
|
1742
1742
|
// Connection string placeholder that will be replaced during build
|
|
1743
1743
|
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";
|
|
1744
1744
|
// SDK Version placeholder
|
|
1745
|
-
const SDK_VERSION = "1.3.
|
|
1745
|
+
const SDK_VERSION = "1.3.6";
|
|
1746
1746
|
const VERSION = "Version";
|
|
1747
1747
|
const SERVICE = "Service";
|
|
1748
1748
|
const CLOUD_ORGANIZATION_NAME = "CloudOrganizationName";
|
|
@@ -1740,7 +1740,7 @@ class BpmnHelpers {
|
|
|
1740
1740
|
// Connection string placeholder that will be replaced during build
|
|
1741
1741
|
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";
|
|
1742
1742
|
// SDK Version placeholder
|
|
1743
|
-
const SDK_VERSION = "1.3.
|
|
1743
|
+
const SDK_VERSION = "1.3.6";
|
|
1744
1744
|
const VERSION = "Version";
|
|
1745
1745
|
const SERVICE = "Service";
|
|
1746
1746
|
const CLOUD_ORGANIZATION_NAME = "CloudOrganizationName";
|
package/dist/processes/index.cjs
CHANGED
|
@@ -1722,7 +1722,7 @@ const PROCESS_ENDPOINTS = {
|
|
|
1722
1722
|
// Connection string placeholder that will be replaced during build
|
|
1723
1723
|
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";
|
|
1724
1724
|
// SDK Version placeholder
|
|
1725
|
-
const SDK_VERSION = "1.3.
|
|
1725
|
+
const SDK_VERSION = "1.3.6";
|
|
1726
1726
|
const VERSION = "Version";
|
|
1727
1727
|
const SERVICE = "Service";
|
|
1728
1728
|
const CLOUD_ORGANIZATION_NAME = "CloudOrganizationName";
|
package/dist/processes/index.mjs
CHANGED
|
@@ -1720,7 +1720,7 @@ const PROCESS_ENDPOINTS = {
|
|
|
1720
1720
|
// Connection string placeholder that will be replaced during build
|
|
1721
1721
|
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";
|
|
1722
1722
|
// SDK Version placeholder
|
|
1723
|
-
const SDK_VERSION = "1.3.
|
|
1723
|
+
const SDK_VERSION = "1.3.6";
|
|
1724
1724
|
const VERSION = "Version";
|
|
1725
1725
|
const SERVICE = "Service";
|
|
1726
1726
|
const CLOUD_ORGANIZATION_NAME = "CloudOrganizationName";
|
package/dist/queues/index.cjs
CHANGED
|
@@ -1686,7 +1686,7 @@ const QueueMap = {
|
|
|
1686
1686
|
// Connection string placeholder that will be replaced during build
|
|
1687
1687
|
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";
|
|
1688
1688
|
// SDK Version placeholder
|
|
1689
|
-
const SDK_VERSION = "1.3.
|
|
1689
|
+
const SDK_VERSION = "1.3.6";
|
|
1690
1690
|
const VERSION = "Version";
|
|
1691
1691
|
const SERVICE = "Service";
|
|
1692
1692
|
const CLOUD_ORGANIZATION_NAME = "CloudOrganizationName";
|
package/dist/queues/index.mjs
CHANGED
|
@@ -1684,7 +1684,7 @@ const QueueMap = {
|
|
|
1684
1684
|
// Connection string placeholder that will be replaced during build
|
|
1685
1685
|
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";
|
|
1686
1686
|
// SDK Version placeholder
|
|
1687
|
-
const SDK_VERSION = "1.3.
|
|
1687
|
+
const SDK_VERSION = "1.3.6";
|
|
1688
1688
|
const VERSION = "Version";
|
|
1689
1689
|
const SERVICE = "Service";
|
|
1690
1690
|
const CLOUD_ORGANIZATION_NAME = "CloudOrganizationName";
|
package/dist/tasks/index.cjs
CHANGED
|
@@ -278,7 +278,7 @@ class NetworkError extends UiPathError {
|
|
|
278
278
|
// Connection string placeholder that will be replaced during build
|
|
279
279
|
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";
|
|
280
280
|
// SDK Version placeholder
|
|
281
|
-
const SDK_VERSION = "1.3.
|
|
281
|
+
const SDK_VERSION = "1.3.6";
|
|
282
282
|
const VERSION = "Version";
|
|
283
283
|
const SERVICE = "Service";
|
|
284
284
|
const CLOUD_ORGANIZATION_NAME = "CloudOrganizationName";
|
package/dist/tasks/index.mjs
CHANGED
|
@@ -276,7 +276,7 @@ class NetworkError extends UiPathError {
|
|
|
276
276
|
// Connection string placeholder that will be replaced during build
|
|
277
277
|
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";
|
|
278
278
|
// SDK Version placeholder
|
|
279
|
-
const SDK_VERSION = "1.3.
|
|
279
|
+
const SDK_VERSION = "1.3.6";
|
|
280
280
|
const VERSION = "Version";
|
|
281
281
|
const SERVICE = "Service";
|
|
282
282
|
const CLOUD_ORGANIZATION_NAME = "CloudOrganizationName";
|