@uipath/uipath-typescript 1.3.4 → 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.
Files changed (38) hide show
  1. package/README.md +1 -1
  2. package/dist/assets/index.cjs +1 -1
  3. package/dist/assets/index.mjs +1 -1
  4. package/dist/attachments/index.cjs +1 -1
  5. package/dist/attachments/index.mjs +1 -1
  6. package/dist/buckets/index.cjs +1 -1
  7. package/dist/buckets/index.mjs +1 -1
  8. package/dist/cases/index.cjs +1 -1
  9. package/dist/cases/index.mjs +1 -1
  10. package/dist/conversational-agent/index.cjs +1 -1
  11. package/dist/conversational-agent/index.mjs +1 -1
  12. package/dist/core/index.cjs +29 -4
  13. package/dist/core/index.d.ts +11 -1
  14. package/dist/core/index.mjs +29 -4
  15. package/dist/document-understanding/index.cjs +257 -0
  16. package/dist/document-understanding/index.d.ts +1185 -0
  17. package/dist/document-understanding/index.mjs +255 -0
  18. package/dist/entities/index.cjs +236 -15
  19. package/dist/entities/index.d.ts +81 -0
  20. package/dist/entities/index.mjs +236 -15
  21. package/dist/feedback/index.cjs +38 -4
  22. package/dist/feedback/index.d.ts +52 -1
  23. package/dist/feedback/index.mjs +38 -4
  24. package/dist/index.cjs +519 -18
  25. package/dist/index.d.ts +1313 -8
  26. package/dist/index.mjs +521 -21
  27. package/dist/index.umd.js +519 -18
  28. package/dist/jobs/index.cjs +1 -1
  29. package/dist/jobs/index.mjs +1 -1
  30. package/dist/maestro-processes/index.cjs +1 -1
  31. package/dist/maestro-processes/index.mjs +1 -1
  32. package/dist/processes/index.cjs +1 -1
  33. package/dist/processes/index.mjs +1 -1
  34. package/dist/queues/index.cjs +1 -1
  35. package/dist/queues/index.mjs +1 -1
  36. package/dist/tasks/index.cjs +1 -1
  37. package/dist/tasks/index.mjs +1 -1
  38. package/package.json +11 -1
package/README.md CHANGED
@@ -429,4 +429,4 @@ mkdocs serve
429
429
 
430
430
  [↑ Back to top](#uipath-typescript-sdk)
431
431
 
432
- </div>
432
+ </div>
@@ -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.4";
1688
+ const SDK_VERSION = "1.3.6";
1689
1689
  const VERSION = "Version";
1690
1690
  const SERVICE = "Service";
1691
1691
  const CLOUD_ORGANIZATION_NAME = "CloudOrganizationName";
@@ -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.4";
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.4";
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.4";
477
+ const SDK_VERSION = "1.3.6";
478
478
  const VERSION = "Version";
479
479
  const SERVICE = "Service";
480
480
  const CLOUD_ORGANIZATION_NAME = "CloudOrganizationName";
@@ -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.4";
1735
+ const SDK_VERSION = "1.3.6";
1736
1736
  const VERSION = "Version";
1737
1737
  const SERVICE = "Service";
1738
1738
  const CLOUD_ORGANIZATION_NAME = "CloudOrganizationName";
@@ -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.4";
1733
+ const SDK_VERSION = "1.3.6";
1734
1734
  const VERSION = "Version";
1735
1735
  const SERVICE = "Service";
1736
1736
  const CLOUD_ORGANIZATION_NAME = "CloudOrganizationName";
@@ -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.4";
1845
+ const SDK_VERSION = "1.3.6";
1846
1846
  const VERSION = "Version";
1847
1847
  const SERVICE = "Service";
1848
1848
  const CLOUD_ORGANIZATION_NAME = "CloudOrganizationName";
@@ -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.4";
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.4";
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.4";
52
+ const SDK_VERSION = "1.3.6";
53
53
  const VERSION = "Version";
54
54
  const SERVICE = "Service";
55
55
  const CLOUD_ORGANIZATION_NAME = "CloudOrganizationName";
@@ -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
- return `${this.config.baseUrl}/${IDENTITY_ENDPOINTS.AUTHORIZE}?${queryParams.toString()}&acr_values=${acrValues}`;
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.4";
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, {
@@ -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.4";
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";
@@ -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
- return `${this.config.baseUrl}/${IDENTITY_ENDPOINTS.AUTHORIZE}?${queryParams.toString()}&acr_values=${acrValues}`;
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.4";
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, {
@@ -0,0 +1,257 @@
1
+ 'use strict';
2
+
3
+ // Auto-generated from the OpenAPI spec — do not edit manually.
4
+ var DocumentActionPriority;
5
+ (function (DocumentActionPriority) {
6
+ DocumentActionPriority["Low"] = "Low";
7
+ DocumentActionPriority["Medium"] = "Medium";
8
+ DocumentActionPriority["High"] = "High";
9
+ DocumentActionPriority["Critical"] = "Critical";
10
+ })(DocumentActionPriority || (DocumentActionPriority = {}));
11
+ var DocumentActionStatus;
12
+ (function (DocumentActionStatus) {
13
+ DocumentActionStatus["Unassigned"] = "Unassigned";
14
+ DocumentActionStatus["Pending"] = "Pending";
15
+ DocumentActionStatus["Completed"] = "Completed";
16
+ })(DocumentActionStatus || (DocumentActionStatus = {}));
17
+ var DocumentActionType;
18
+ (function (DocumentActionType) {
19
+ DocumentActionType["Validation"] = "Validation";
20
+ DocumentActionType["Classification"] = "Classification";
21
+ })(DocumentActionType || (DocumentActionType = {}));
22
+
23
+ // Auto-generated from the OpenAPI spec — do not edit manually.
24
+ var ProjectProperties;
25
+ (function (ProjectProperties) {
26
+ ProjectProperties["IsPredefined"] = "IsPredefined";
27
+ ProjectProperties["SupportsTags"] = "SupportsTags";
28
+ ProjectProperties["SupportsVersions"] = "SupportsVersions";
29
+ ProjectProperties["IsSplittingEnabled"] = "IsSplittingEnabled";
30
+ })(ProjectProperties || (ProjectProperties = {}));
31
+ var ProjectType;
32
+ (function (ProjectType) {
33
+ ProjectType["Classic"] = "Classic";
34
+ ProjectType["Modern"] = "Modern";
35
+ ProjectType["IXP"] = "IXP";
36
+ ProjectType["Unknown"] = "Unknown";
37
+ })(ProjectType || (ProjectType = {}));
38
+ var ResourceStatus;
39
+ (function (ResourceStatus) {
40
+ ResourceStatus["Unknown"] = "Unknown";
41
+ ResourceStatus["NotStarted"] = "NotStarted";
42
+ ResourceStatus["ExportInProgress"] = "ExportInProgress";
43
+ ResourceStatus["ExportCompleted"] = "ExportCompleted";
44
+ ResourceStatus["InProgress"] = "InProgress";
45
+ ResourceStatus["Suspended"] = "Suspended";
46
+ ResourceStatus["Resuming"] = "Resuming";
47
+ ResourceStatus["Available"] = "Available";
48
+ ResourceStatus["Error"] = "Error";
49
+ ResourceStatus["Deleting"] = "Deleting";
50
+ })(ResourceStatus || (ResourceStatus = {}));
51
+ var ResourceType;
52
+ (function (ResourceType) {
53
+ ResourceType["Specialized"] = "Specialized";
54
+ ResourceType["Generative"] = "Generative";
55
+ ResourceType["Custom"] = "Custom";
56
+ ResourceType["Unknown"] = "Unknown";
57
+ })(ResourceType || (ResourceType = {}));
58
+
59
+ // Auto-generated from the OpenAPI spec — do not edit manually.
60
+ var MarkupType;
61
+ (function (MarkupType) {
62
+ MarkupType["Unknown"] = "Unknown";
63
+ MarkupType["Circled"] = "Circled";
64
+ MarkupType["Underlined"] = "Underlined";
65
+ MarkupType["Strikethrough"] = "Strikethrough";
66
+ })(MarkupType || (MarkupType = {}));
67
+ var ProcessingSource;
68
+ (function (ProcessingSource) {
69
+ ProcessingSource["Unknown"] = "Unknown";
70
+ ProcessingSource["Ocr"] = "Ocr";
71
+ ProcessingSource["Pdf"] = "Pdf";
72
+ ProcessingSource["PlainText"] = "PlainText";
73
+ ProcessingSource["PdfAndOcr"] = "PdfAndOcr";
74
+ })(ProcessingSource || (ProcessingSource = {}));
75
+ var Rotation;
76
+ (function (Rotation) {
77
+ Rotation["None"] = "None";
78
+ Rotation["Rotated90"] = "Rotated90";
79
+ Rotation["Rotated180"] = "Rotated180";
80
+ Rotation["Rotated270"] = "Rotated270";
81
+ Rotation["Other"] = "Other";
82
+ })(Rotation || (Rotation = {}));
83
+ var SectionType;
84
+ (function (SectionType) {
85
+ SectionType["Vertical"] = "Vertical";
86
+ SectionType["Paragraph"] = "Paragraph";
87
+ SectionType["Header"] = "Header";
88
+ SectionType["Footer"] = "Footer";
89
+ SectionType["Table"] = "Table";
90
+ })(SectionType || (SectionType = {}));
91
+ var TextType;
92
+ (function (TextType) {
93
+ TextType["Unknown"] = "Unknown";
94
+ TextType["Text"] = "Text";
95
+ TextType["Checkbox"] = "Checkbox";
96
+ TextType["Handwriting"] = "Handwriting";
97
+ TextType["Barcode"] = "Barcode";
98
+ TextType["QRcode"] = "QRcode";
99
+ TextType["Stamp"] = "Stamp";
100
+ TextType["Logo"] = "Logo";
101
+ TextType["Circle"] = "Circle";
102
+ TextType["Underline"] = "Underline";
103
+ TextType["Cut"] = "Cut";
104
+ })(TextType || (TextType = {}));
105
+ var WordGroupType;
106
+ (function (WordGroupType) {
107
+ WordGroupType["Sentence"] = "Sentence";
108
+ WordGroupType["TableCell"] = "TableCell";
109
+ WordGroupType["TableRowEnd"] = "TableRowEnd";
110
+ WordGroupType["Heading"] = "Heading";
111
+ WordGroupType["Other"] = "Other";
112
+ })(WordGroupType || (WordGroupType = {}));
113
+
114
+ // Auto-generated from the OpenAPI spec — do not edit manually.
115
+ var ModelKind;
116
+ (function (ModelKind) {
117
+ ModelKind["Classifier"] = "Classifier";
118
+ ModelKind["Extractor"] = "Extractor";
119
+ })(ModelKind || (ModelKind = {}));
120
+ var ModelType;
121
+ (function (ModelType) {
122
+ ModelType["IXP"] = "IXP";
123
+ ModelType["Modern"] = "Modern";
124
+ ModelType["Predefined"] = "Predefined";
125
+ })(ModelType || (ModelType = {}));
126
+
127
+ // Auto-generated from the OpenAPI spec — do not edit manually.
128
+ var ClassifierDocumentTypeType;
129
+ (function (ClassifierDocumentTypeType) {
130
+ ClassifierDocumentTypeType["FormsAi"] = "FormsAi";
131
+ ClassifierDocumentTypeType["SemiStructuredAi"] = "SemiStructuredAi";
132
+ ClassifierDocumentTypeType["Helix"] = "Helix";
133
+ ClassifierDocumentTypeType["Unknown"] = "Unknown";
134
+ })(ClassifierDocumentTypeType || (ClassifierDocumentTypeType = {}));
135
+ var CreateTaskPriority;
136
+ (function (CreateTaskPriority) {
137
+ CreateTaskPriority["Low"] = "Low";
138
+ CreateTaskPriority["Medium"] = "Medium";
139
+ CreateTaskPriority["High"] = "High";
140
+ CreateTaskPriority["Critical"] = "Critical";
141
+ })(CreateTaskPriority || (CreateTaskPriority = {}));
142
+ var GptFieldType;
143
+ (function (GptFieldType) {
144
+ GptFieldType["Address"] = "Address";
145
+ GptFieldType["Boolean"] = "Boolean";
146
+ GptFieldType["Date"] = "Date";
147
+ GptFieldType["Name"] = "Name";
148
+ GptFieldType["Number"] = "Number";
149
+ GptFieldType["Text"] = "Text";
150
+ })(GptFieldType || (GptFieldType = {}));
151
+ var ValidationDisplayMode;
152
+ (function (ValidationDisplayMode) {
153
+ ValidationDisplayMode["Classic"] = "Classic";
154
+ ValidationDisplayMode["Compact"] = "Compact";
155
+ })(ValidationDisplayMode || (ValidationDisplayMode = {}));
156
+
157
+ // Auto-generated from the OpenAPI spec — do not edit manually.
158
+ var ResultsDataSource;
159
+ (function (ResultsDataSource) {
160
+ ResultsDataSource["Automatic"] = "Automatic";
161
+ ResultsDataSource["Manual"] = "Manual";
162
+ ResultsDataSource["ManuallyChanged"] = "ManuallyChanged";
163
+ ResultsDataSource["Defaulted"] = "Defaulted";
164
+ ResultsDataSource["External"] = "External";
165
+ })(ResultsDataSource || (ResultsDataSource = {}));
166
+
167
+ // Auto-generated from the OpenAPI spec — do not edit manually.
168
+ var ComparisonOperator;
169
+ (function (ComparisonOperator) {
170
+ ComparisonOperator["Equals"] = "Equals";
171
+ ComparisonOperator["NotEquals"] = "NotEquals";
172
+ ComparisonOperator["Greater"] = "Greater";
173
+ ComparisonOperator["Less"] = "Less";
174
+ ComparisonOperator["GreaterOrEqual"] = "GreaterOrEqual";
175
+ ComparisonOperator["LessOrEqual"] = "LessOrEqual";
176
+ })(ComparisonOperator || (ComparisonOperator = {}));
177
+ var Criticality;
178
+ (function (Criticality) {
179
+ Criticality["Must"] = "Must";
180
+ Criticality["Should"] = "Should";
181
+ })(Criticality || (Criticality = {}));
182
+ var FieldType;
183
+ (function (FieldType) {
184
+ FieldType["Text"] = "Text";
185
+ FieldType["Number"] = "Number";
186
+ FieldType["Date"] = "Date";
187
+ FieldType["Name"] = "Name";
188
+ FieldType["Address"] = "Address";
189
+ FieldType["Keyword"] = "Keyword";
190
+ FieldType["Set"] = "Set";
191
+ FieldType["Boolean"] = "Boolean";
192
+ FieldType["Table"] = "Table";
193
+ FieldType["Internal"] = "Internal";
194
+ FieldType["FieldGroup"] = "FieldGroup";
195
+ FieldType["MonetaryQuantity"] = "MonetaryQuantity";
196
+ })(FieldType || (FieldType = {}));
197
+ var LogicalOperator;
198
+ (function (LogicalOperator) {
199
+ LogicalOperator["AND"] = "AND";
200
+ LogicalOperator["OR"] = "OR";
201
+ })(LogicalOperator || (LogicalOperator = {}));
202
+ var RuleType;
203
+ (function (RuleType) {
204
+ RuleType["Mandatory"] = "Mandatory";
205
+ RuleType["PossibleValues"] = "PossibleValues";
206
+ RuleType["Regex"] = "Regex";
207
+ RuleType["StartsWith"] = "StartsWith";
208
+ RuleType["EndsWith"] = "EndsWith";
209
+ RuleType["FixedLength"] = "FixedLength";
210
+ RuleType["IsNumeric"] = "IsNumeric";
211
+ RuleType["IsDate"] = "IsDate";
212
+ RuleType["IsEmail"] = "IsEmail";
213
+ RuleType["Contains"] = "Contains";
214
+ RuleType["Expression"] = "Expression";
215
+ RuleType["TableExpression"] = "TableExpression";
216
+ RuleType["IsEmpty"] = "IsEmpty";
217
+ })(RuleType || (RuleType = {}));
218
+
219
+ // Auto-generated from the OpenAPI spec — do not edit manually.
220
+ var ActionStatus;
221
+ (function (ActionStatus) {
222
+ ActionStatus["Unassigned"] = "Unassigned";
223
+ ActionStatus["Pending"] = "Pending";
224
+ ActionStatus["Completed"] = "Completed";
225
+ })(ActionStatus || (ActionStatus = {}));
226
+
227
+ var index = /*#__PURE__*/Object.freeze({
228
+ __proto__: null,
229
+ get ActionStatus () { return ActionStatus; },
230
+ get ClassifierDocumentTypeType () { return ClassifierDocumentTypeType; },
231
+ get ComparisonOperator () { return ComparisonOperator; },
232
+ get CreateTaskPriority () { return CreateTaskPriority; },
233
+ get Criticality () { return Criticality; },
234
+ get DocumentActionPriority () { return DocumentActionPriority; },
235
+ get DocumentActionStatus () { return DocumentActionStatus; },
236
+ get DocumentActionType () { return DocumentActionType; },
237
+ get FieldType () { return FieldType; },
238
+ get GptFieldType () { return GptFieldType; },
239
+ get LogicalOperator () { return LogicalOperator; },
240
+ get MarkupType () { return MarkupType; },
241
+ get ModelKind () { return ModelKind; },
242
+ get ModelType () { return ModelType; },
243
+ get ProcessingSource () { return ProcessingSource; },
244
+ get ProjectProperties () { return ProjectProperties; },
245
+ get ProjectType () { return ProjectType; },
246
+ get ResourceStatus () { return ResourceStatus; },
247
+ get ResourceType () { return ResourceType; },
248
+ get ResultsDataSource () { return ResultsDataSource; },
249
+ get Rotation () { return Rotation; },
250
+ get RuleType () { return RuleType; },
251
+ get SectionType () { return SectionType; },
252
+ get TextType () { return TextType; },
253
+ get ValidationDisplayMode () { return ValidationDisplayMode; },
254
+ get WordGroupType () { return WordGroupType; }
255
+ });
256
+
257
+ exports.DuFramework = index;