@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/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
- return `${this.config.baseUrl}/${IDENTITY_ENDPOINTS.AUTHORIZE}?${queryParams.toString()}&acr_values=${acrValues}`;
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.4";
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, {
@@ -7753,13 +7778,13 @@ var EntityFieldDataType;
7753
7778
  /**
7754
7779
  * Logical operator for combining query filter groups
7755
7780
  */
7756
- var LogicalOperator;
7781
+ var LogicalOperator$1;
7757
7782
  (function (LogicalOperator) {
7758
7783
  /** Combine conditions with AND — all conditions must match */
7759
7784
  LogicalOperator[LogicalOperator["And"] = 0] = "And";
7760
7785
  /** Combine conditions with OR — any condition must match */
7761
7786
  LogicalOperator[LogicalOperator["Or"] = 1] = "Or";
7762
- })(LogicalOperator || (LogicalOperator = {}));
7787
+ })(LogicalOperator$1 || (LogicalOperator$1 = {}));
7763
7788
  /**
7764
7789
  * Comparison operators for entity query filters.
7765
7790
  * Not all operators are valid for all field types.
@@ -7859,6 +7884,20 @@ function createParams(paramsObj = {}) {
7859
7884
  return params;
7860
7885
  }
7861
7886
 
7887
+ /**
7888
+ * Names of the per-field SQL constraint properties (i.e. the contents of `sqlType`
7889
+ * excluding its `name`). Used internally to validate user-supplied constraints
7890
+ * against the set of constraints that each `EntityFieldDataType` accepts.
7891
+ *
7892
+ * Enum values match the corresponding property names on `EntityCreateFieldOptions`.
7893
+ */
7894
+ var EntityFieldConstraint;
7895
+ (function (EntityFieldConstraint) {
7896
+ EntityFieldConstraint["LengthLimit"] = "lengthLimit";
7897
+ EntityFieldConstraint["MaxValue"] = "maxValue";
7898
+ EntityFieldConstraint["MinValue"] = "minValue";
7899
+ EntityFieldConstraint["DecimalPrecision"] = "decimalPrecision";
7900
+ })(EntityFieldConstraint || (EntityFieldConstraint = {}));
7862
7901
  /**
7863
7902
  * Entity field data types (SQL types from API)
7864
7903
  */
@@ -7921,6 +7960,70 @@ const FieldDisplayTypeToDataType = {
7921
7960
  [FieldDisplayType.AutoNumber]: EntityFieldDataType.AUTO_NUMBER,
7922
7961
  [FieldDisplayType.Relationship]: EntityFieldDataType.RELATIONSHIP,
7923
7962
  };
7963
+ /**
7964
+ * Default and fixed sqlType constraint values applied when the user does not provide them.
7965
+ * The API requires these to be present on field creation — without them the field
7966
+ * is stored in an incomplete state, causing "Field type cannot be changed" errors
7967
+ * when the UI later tries to edit advanced options.
7968
+ */
7969
+ const ENTITY_FIELD_CONSTRAINT_DEFAULTS = {
7970
+ STRING_LENGTH_LIMIT: 200,
7971
+ MULTILINE_TEXT_LENGTH_LIMIT: 200,
7972
+ /** Fixed (non-overridable) length limit on DECIMAL payloads*/
7973
+ DECIMAL_LENGTH_LIMIT: 1000,
7974
+ DECIMAL_PRECISION: 2,
7975
+ /** Fixed (non-overridable) length limit for BIT (BOOLEAN) fields */
7976
+ BOOLEAN_LENGTH_LIMIT: 100,
7977
+ /** Fixed (non-overridable) length limit for DATE / DATETIMEOFFSET fields */
7978
+ DATE_LENGTH_LIMIT: 1000,
7979
+ /** Fixed (non-overridable) length limit for UNIQUEIDENTIFIER-backed FILE and RELATIONSHIP fields */
7980
+ UNIQUEIDENTIFIER_LENGTH_LIMIT: 300,
7981
+ /** Fixed (non-overridable) length limit for CHOICE_SET_MULTIPLE fields */
7982
+ CHOICE_SET_MULTIPLE_LENGTH_LIMIT: 4000,
7983
+ NUMERIC_MAX_VALUE: 1000000000000,
7984
+ NUMERIC_MIN_VALUE: -1e12,
7985
+ };
7986
+ /**
7987
+ * Per-field-type spec describing which {@link EntityFieldConstraint}s the user
7988
+ * may supply on create / update, and the inclusive value range for each.
7989
+ *
7990
+ * Source of truth: the platform's `Constants.cs` constraint table. Keys absent
7991
+ * from a type's spec are not user-configurable for that type; passing one
7992
+ * throws a `ValidationError`. Field types absent from this map (BOOLEAN, DATE,
7993
+ * DATETIME, DATETIME_WITH_TZ, FILE, RELATIONSHIP, UUID, CHOICE_SET_SINGLE,
7994
+ * CHOICE_SET_MULTIPLE, AUTO_NUMBER) accept no user-supplied constraints.
7995
+ */
7996
+ const ENTITY_FIELD_CONSTRAINT_SPEC = {
7997
+ [EntityFieldDataType.STRING]: {
7998
+ [EntityFieldConstraint.LengthLimit]: { min: 1, max: 4000 },
7999
+ },
8000
+ [EntityFieldDataType.MULTILINE_TEXT]: {
8001
+ [EntityFieldConstraint.LengthLimit]: { min: 1, max: 10000 },
8002
+ },
8003
+ [EntityFieldDataType.INTEGER]: {
8004
+ [EntityFieldConstraint.MaxValue]: { min: -Number.MAX_SAFE_INTEGER, max: Number.MAX_SAFE_INTEGER },
8005
+ [EntityFieldConstraint.MinValue]: { min: -Number.MAX_SAFE_INTEGER, max: Number.MAX_SAFE_INTEGER },
8006
+ },
8007
+ [EntityFieldDataType.BIG_INTEGER]: {
8008
+ [EntityFieldConstraint.MaxValue]: { min: -Number.MAX_SAFE_INTEGER, max: Number.MAX_SAFE_INTEGER },
8009
+ [EntityFieldConstraint.MinValue]: { min: -Number.MAX_SAFE_INTEGER, max: Number.MAX_SAFE_INTEGER },
8010
+ },
8011
+ [EntityFieldDataType.DECIMAL]: {
8012
+ [EntityFieldConstraint.MaxValue]: { min: -Number.MAX_SAFE_INTEGER, max: Number.MAX_SAFE_INTEGER },
8013
+ [EntityFieldConstraint.MinValue]: { min: -Number.MAX_SAFE_INTEGER, max: Number.MAX_SAFE_INTEGER },
8014
+ [EntityFieldConstraint.DecimalPrecision]: { min: 0, max: 10 },
8015
+ },
8016
+ [EntityFieldDataType.FLOAT]: {
8017
+ [EntityFieldConstraint.MaxValue]: { min: -Number.MAX_SAFE_INTEGER, max: Number.MAX_SAFE_INTEGER },
8018
+ [EntityFieldConstraint.MinValue]: { min: -Number.MAX_SAFE_INTEGER, max: Number.MAX_SAFE_INTEGER },
8019
+ [EntityFieldConstraint.DecimalPrecision]: { min: 0, max: 10 },
8020
+ },
8021
+ [EntityFieldDataType.DOUBLE]: {
8022
+ [EntityFieldConstraint.MaxValue]: { min: -Number.MAX_SAFE_INTEGER, max: Number.MAX_SAFE_INTEGER },
8023
+ [EntityFieldConstraint.MinValue]: { min: -Number.MAX_SAFE_INTEGER, max: Number.MAX_SAFE_INTEGER },
8024
+ [EntityFieldConstraint.DecimalPrecision]: { min: 0, max: 10 },
8025
+ },
8026
+ };
7924
8027
  /**
7925
8028
  * Maps SQL field types to friendly display names
7926
8029
  */
@@ -8520,6 +8623,13 @@ class EntityService extends BaseService {
8520
8623
  * { fieldName: "product_name", type: EntityFieldDataType.STRING, isRequired: true, isUnique: true },
8521
8624
  * { fieldName: "price", type: EntityFieldDataType.INTEGER, defaultValue: "0" },
8522
8625
  * ], { displayName: "Product Catalog", description: "Our product catalog", isRbacEnabled: true });
8626
+ *
8627
+ * // With advanced sqlType constraints (lengthLimit, decimalPrecision, maxValue, minValue) and defaultValue
8628
+ * const ordersId = await entities.create("orders", [
8629
+ * { fieldName: "product_name", type: EntityFieldDataType.STRING, isRequired: true, isUnique: true, lengthLimit: 500 },
8630
+ * { fieldName: "price", type: EntityFieldDataType.DECIMAL, decimalPrecision: 4, maxValue: 999999, minValue: 0 },
8631
+ * { fieldName: "quantity", type: EntityFieldDataType.INTEGER, maxValue: 10000, minValue: 1, defaultValue: "0" },
8632
+ * ]);
8523
8633
  * ```
8524
8634
  * @internal
8525
8635
  */
@@ -8593,6 +8703,17 @@ class EntityService extends BaseService {
8593
8703
  * updateFields: [{ id: "<fieldId>", displayName: "Unit Price", isRequired: true }],
8594
8704
  * displayName: "Price Catalog",
8595
8705
  * });
8706
+ *
8707
+ * // Add a STRING/DECIMAL field with explicit advanced sqlType constraints and defaultValue
8708
+ * await entities.updateById("<entityId>", {
8709
+ * addFields: [
8710
+ * { fieldName: "summary", type: EntityFieldDataType.STRING, lengthLimit: 500, defaultValue: "summary" },
8711
+ * { fieldName: "amount", type: EntityFieldDataType.DECIMAL, decimalPrecision: 4, maxValue: 999999, minValue: 0 },
8712
+ * ],
8713
+ * updateFields: [
8714
+ * { id: "<fieldId>", lengthLimit: 1000 },
8715
+ * ],
8716
+ * });
8596
8717
  * ```
8597
8718
  * @internal
8598
8719
  */
@@ -8636,6 +8757,21 @@ class EntityService extends BaseService {
8636
8757
  const update = updateMap.get(f.id ?? '');
8637
8758
  if (!update)
8638
8759
  return f;
8760
+ const constraintUpdate = {
8761
+ ...(update.lengthLimit !== undefined && { lengthLimit: update.lengthLimit }),
8762
+ ...(update.maxValue !== undefined && { maxValue: update.maxValue }),
8763
+ ...(update.minValue !== undefined && { minValue: update.minValue }),
8764
+ ...(update.decimalPrecision !== undefined && { decimalPrecision: update.decimalPrecision }),
8765
+ };
8766
+ const hasConstraintUpdate = Object.keys(constraintUpdate).length > 0;
8767
+ if (hasConstraintUpdate) {
8768
+ if (!f.sqlType) {
8769
+ throw new ValidationError({
8770
+ message: `Cannot update constraints on field '${f.name}' (id: ${f.id}) — the field is missing sqlType metadata in the entity definition.`,
8771
+ });
8772
+ }
8773
+ this.validateFieldConstraints(this.resolveFieldDataType(f), update, f.name);
8774
+ }
8639
8775
  return {
8640
8776
  ...f,
8641
8777
  ...(update.displayName !== undefined && { displayName: update.displayName }),
@@ -8645,6 +8781,7 @@ class EntityService extends BaseService {
8645
8781
  ...(update.isRbacEnabled !== undefined && { isRbacEnabled: update.isRbacEnabled }),
8646
8782
  ...(update.isEncrypted !== undefined && { isEncrypted: update.isEncrypted }),
8647
8783
  ...(update.defaultValue !== undefined && { defaultValue: update.defaultValue }),
8784
+ ...(hasConstraintUpdate && f.sqlType && { sqlType: { ...f.sqlType, ...constraintUpdate } }),
8648
8785
  };
8649
8786
  });
8650
8787
  }
@@ -8694,24 +8831,27 @@ class EntityService extends BaseService {
8694
8831
  let transformedField = transformData(field, EntityMap);
8695
8832
  // Map field type: prefer fieldDisplayType for types that share SQL types (File, ChoiceSet, AutoNumber)
8696
8833
  if (transformedField.fieldDataType?.name) {
8697
- const displayTypeMapped = transformedField.fieldDisplayType
8698
- ? FieldDisplayTypeToDataType[transformedField.fieldDisplayType]
8699
- : undefined;
8700
- if (displayTypeMapped) {
8701
- transformedField.fieldDataType.name = displayTypeMapped;
8702
- }
8703
- else {
8704
- const rawSqlTypeName = field.sqlType?.name;
8705
- const mapped = rawSqlTypeName ? EntityFieldTypeMap[rawSqlTypeName] : undefined;
8706
- if (mapped) {
8707
- transformedField.fieldDataType.name = mapped;
8708
- }
8834
+ const mapped = this.tryResolveFieldDataType(transformedField.fieldDisplayType, field.sqlType?.name);
8835
+ if (mapped) {
8836
+ transformedField.fieldDataType.name = mapped;
8709
8837
  }
8710
8838
  }
8711
8839
  this.transformNestedReferences(transformedField);
8712
8840
  return transformedField;
8713
8841
  });
8714
8842
  }
8843
+ /**
8844
+ * Resolves an {@link EntityFieldDataType} from a field's `fieldDisplayType` and
8845
+ * raw SQL type name. Prefers `fieldDisplayType` to disambiguate types that
8846
+ * share a SQL type (FILE, CHOICE_SET_*, AUTO_NUMBER, RELATIONSHIP); falls back
8847
+ * to the SQL-type-name mapping. Returns `undefined` if neither resolves.
8848
+ */
8849
+ tryResolveFieldDataType(fieldDisplayType, sqlTypeName) {
8850
+ const displayMapped = fieldDisplayType ? FieldDisplayTypeToDataType[fieldDisplayType] : undefined;
8851
+ if (displayMapped)
8852
+ return displayMapped;
8853
+ return sqlTypeName ? EntityFieldTypeMap[sqlTypeName] : undefined;
8854
+ }
8715
8855
  /**
8716
8856
  * Transforms nested reference objects in field metadata
8717
8857
  */
@@ -8752,11 +8892,16 @@ class EntityService extends BaseService {
8752
8892
  /** Converts a user-facing EntityCreateFieldOptions to the raw API field payload */
8753
8893
  buildSchemaFieldPayload(field) {
8754
8894
  this.validateName(field.fieldName, 'field');
8755
- const mapping = EntitySchemaFieldTypeMap[field.type ?? EntityFieldDataType.STRING];
8895
+ const fieldType = field.type ?? EntityFieldDataType.STRING;
8896
+ this.validateFieldConstraints(fieldType, field, field.fieldName);
8897
+ const mapping = EntitySchemaFieldTypeMap[fieldType];
8756
8898
  return {
8757
8899
  name: field.fieldName,
8758
8900
  displayName: field.displayName ?? field.fieldName,
8759
- sqlType: { name: mapping.sqlTypeName },
8901
+ sqlType: {
8902
+ name: mapping.sqlTypeName,
8903
+ ...this.buildSqlTypeConstraints(fieldType, field),
8904
+ },
8760
8905
  fieldDisplayType: mapping.fieldDisplayType,
8761
8906
  description: field.description ?? '',
8762
8907
  isRequired: field.isRequired ?? false,
@@ -8769,6 +8914,107 @@ class EntityService extends BaseService {
8769
8914
  ...(field.referenceFieldName !== undefined && { referenceFieldName: field.referenceFieldName }),
8770
8915
  };
8771
8916
  }
8917
+ /**
8918
+ * Derives the user-facing {@link EntityFieldDataType} for a field on the raw
8919
+ * API response. Throws if the field's `fieldDisplayType` and `sqlType.name`
8920
+ * are both unmappable.
8921
+ */
8922
+ resolveFieldDataType(f) {
8923
+ const mapped = this.tryResolveFieldDataType(f.fieldDisplayType, f.sqlType?.name);
8924
+ if (!mapped) {
8925
+ throw new ValidationError({
8926
+ message: `Cannot determine field type for '${f.name}' (id: ${f.id}) — sqlType '${f.sqlType?.name ?? '(missing)'}' and fieldDisplayType '${f.fieldDisplayType ?? '(missing)'}' are both unrecognized.`,
8927
+ });
8928
+ }
8929
+ return mapped;
8930
+ }
8931
+ /**
8932
+ * Validates that the user-supplied constraint properties on a field are
8933
+ * supported by the field's data type. Throws a `ValidationError` listing
8934
+ * any unsupported properties.
8935
+ */
8936
+ validateFieldConstraints(type, field, fieldName) {
8937
+ const spec = ENTITY_FIELD_CONSTRAINT_SPEC[type] ?? {};
8938
+ const supported = Object.keys(spec);
8939
+ const provided = Object.values(EntityFieldConstraint).filter(name => field[name] !== undefined);
8940
+ const unsupported = provided.filter(p => !(p in spec));
8941
+ if (unsupported.length > 0) {
8942
+ const allowedDesc = supported.length > 0 ? supported.join(', ') : 'none';
8943
+ throw new ValidationError({
8944
+ message: `Field '${fieldName}' of type ${type} does not accept ${unsupported.join(', ')}. Allowed constraints for this type: ${allowedDesc}.`,
8945
+ });
8946
+ }
8947
+ // Range check: each user-supplied constraint must be within its allowed bounds.
8948
+ for (const name of provided) {
8949
+ const range = spec[name];
8950
+ const value = field[name];
8951
+ if (range && value !== undefined && (value < range.min || value > range.max)) {
8952
+ throw new ValidationError({
8953
+ message: `Field '${fieldName}' of type ${type} has ${name} ${value} out of range [${range.min}, ${range.max}].`,
8954
+ });
8955
+ }
8956
+ }
8957
+ // Cross-field check: when both bounds are user-supplied in the same call,
8958
+ // minValue must be strictly less than maxValue.
8959
+ if (field.minValue !== undefined && field.maxValue !== undefined && field.minValue >= field.maxValue) {
8960
+ throw new ValidationError({
8961
+ message: `Field '${fieldName}' of type ${type} has minValue ${field.minValue} >= maxValue ${field.maxValue}. minValue must be strictly less than maxValue.`,
8962
+ });
8963
+ }
8964
+ }
8965
+ /**
8966
+ * Returns the sqlType constraint fields for a given field type.
8967
+ *
8968
+ * The API requires specific constraint properties to be set per SQL type;
8969
+ * without them the field is stored in an incomplete state, causing
8970
+ * "Field type cannot be changed" errors when the UI later tries to edit
8971
+ * advanced options. User-supplied values from `EntityCreateFieldOptions`
8972
+ * override the defaults where the type accepts overrides.
8973
+ */
8974
+ buildSqlTypeConstraints(type, field) {
8975
+ const defaults = ENTITY_FIELD_CONSTRAINT_DEFAULTS;
8976
+ switch (type) {
8977
+ case EntityFieldDataType.STRING:
8978
+ return { lengthLimit: field.lengthLimit ?? defaults.STRING_LENGTH_LIMIT };
8979
+ case EntityFieldDataType.MULTILINE_TEXT:
8980
+ return { lengthLimit: field.lengthLimit ?? defaults.MULTILINE_TEXT_LENGTH_LIMIT };
8981
+ case EntityFieldDataType.DECIMAL:
8982
+ return {
8983
+ lengthLimit: defaults.DECIMAL_LENGTH_LIMIT,
8984
+ decimalPrecision: field.decimalPrecision ?? defaults.DECIMAL_PRECISION,
8985
+ maxValue: field.maxValue ?? defaults.NUMERIC_MAX_VALUE,
8986
+ minValue: field.minValue ?? defaults.NUMERIC_MIN_VALUE,
8987
+ };
8988
+ case EntityFieldDataType.BOOLEAN:
8989
+ return { lengthLimit: defaults.BOOLEAN_LENGTH_LIMIT };
8990
+ case EntityFieldDataType.DATE:
8991
+ case EntityFieldDataType.DATETIME_WITH_TZ:
8992
+ return { lengthLimit: defaults.DATE_LENGTH_LIMIT };
8993
+ case EntityFieldDataType.INTEGER:
8994
+ case EntityFieldDataType.BIG_INTEGER:
8995
+ return {
8996
+ maxValue: field.maxValue ?? defaults.NUMERIC_MAX_VALUE,
8997
+ minValue: field.minValue ?? defaults.NUMERIC_MIN_VALUE,
8998
+ };
8999
+ case EntityFieldDataType.FLOAT:
9000
+ case EntityFieldDataType.DOUBLE:
9001
+ return {
9002
+ decimalPrecision: field.decimalPrecision ?? defaults.DECIMAL_PRECISION,
9003
+ maxValue: field.maxValue ?? defaults.NUMERIC_MAX_VALUE,
9004
+ minValue: field.minValue ?? defaults.NUMERIC_MIN_VALUE,
9005
+ };
9006
+ case EntityFieldDataType.FILE:
9007
+ case EntityFieldDataType.RELATIONSHIP:
9008
+ // UNIQUEIDENTIFIER fixed lengthLimit (300)
9009
+ return { lengthLimit: defaults.UNIQUEIDENTIFIER_LENGTH_LIMIT };
9010
+ case EntityFieldDataType.CHOICE_SET_MULTIPLE:
9011
+ // CHOICE_SET_MULTIPLE fixed lengthLimit (4000)
9012
+ return { lengthLimit: defaults.CHOICE_SET_MULTIPLE_LENGTH_LIMIT };
9013
+ default:
9014
+ // UUID, CHOICE_SET_SINGLE, AUTO_NUMBER, DATETIME — (sqlType: { name })
9015
+ return {};
9016
+ }
9017
+ }
8772
9018
  validateName(name, context) {
8773
9019
  if (name.length < 3 || name.length > 100 || !/^[a-zA-Z]\w*$/.test(name)) {
8774
9020
  const suggestion = name.replace(/\W/g, '').replace(/^[0-9_]+/, '');
@@ -12777,6 +13023,260 @@ var FeedbackStatus;
12777
13023
  FeedbackStatus[FeedbackStatus["Dismissed"] = 2] = "Dismissed";
12778
13024
  })(FeedbackStatus || (FeedbackStatus = {}));
12779
13025
 
13026
+ // Auto-generated from the OpenAPI spec — do not edit manually.
13027
+ var DocumentActionPriority;
13028
+ (function (DocumentActionPriority) {
13029
+ DocumentActionPriority["Low"] = "Low";
13030
+ DocumentActionPriority["Medium"] = "Medium";
13031
+ DocumentActionPriority["High"] = "High";
13032
+ DocumentActionPriority["Critical"] = "Critical";
13033
+ })(DocumentActionPriority || (DocumentActionPriority = {}));
13034
+ var DocumentActionStatus;
13035
+ (function (DocumentActionStatus) {
13036
+ DocumentActionStatus["Unassigned"] = "Unassigned";
13037
+ DocumentActionStatus["Pending"] = "Pending";
13038
+ DocumentActionStatus["Completed"] = "Completed";
13039
+ })(DocumentActionStatus || (DocumentActionStatus = {}));
13040
+ var DocumentActionType;
13041
+ (function (DocumentActionType) {
13042
+ DocumentActionType["Validation"] = "Validation";
13043
+ DocumentActionType["Classification"] = "Classification";
13044
+ })(DocumentActionType || (DocumentActionType = {}));
13045
+
13046
+ // Auto-generated from the OpenAPI spec — do not edit manually.
13047
+ var ProjectProperties;
13048
+ (function (ProjectProperties) {
13049
+ ProjectProperties["IsPredefined"] = "IsPredefined";
13050
+ ProjectProperties["SupportsTags"] = "SupportsTags";
13051
+ ProjectProperties["SupportsVersions"] = "SupportsVersions";
13052
+ ProjectProperties["IsSplittingEnabled"] = "IsSplittingEnabled";
13053
+ })(ProjectProperties || (ProjectProperties = {}));
13054
+ var ProjectType;
13055
+ (function (ProjectType) {
13056
+ ProjectType["Classic"] = "Classic";
13057
+ ProjectType["Modern"] = "Modern";
13058
+ ProjectType["IXP"] = "IXP";
13059
+ ProjectType["Unknown"] = "Unknown";
13060
+ })(ProjectType || (ProjectType = {}));
13061
+ var ResourceStatus;
13062
+ (function (ResourceStatus) {
13063
+ ResourceStatus["Unknown"] = "Unknown";
13064
+ ResourceStatus["NotStarted"] = "NotStarted";
13065
+ ResourceStatus["ExportInProgress"] = "ExportInProgress";
13066
+ ResourceStatus["ExportCompleted"] = "ExportCompleted";
13067
+ ResourceStatus["InProgress"] = "InProgress";
13068
+ ResourceStatus["Suspended"] = "Suspended";
13069
+ ResourceStatus["Resuming"] = "Resuming";
13070
+ ResourceStatus["Available"] = "Available";
13071
+ ResourceStatus["Error"] = "Error";
13072
+ ResourceStatus["Deleting"] = "Deleting";
13073
+ })(ResourceStatus || (ResourceStatus = {}));
13074
+ var ResourceType;
13075
+ (function (ResourceType) {
13076
+ ResourceType["Specialized"] = "Specialized";
13077
+ ResourceType["Generative"] = "Generative";
13078
+ ResourceType["Custom"] = "Custom";
13079
+ ResourceType["Unknown"] = "Unknown";
13080
+ })(ResourceType || (ResourceType = {}));
13081
+
13082
+ // Auto-generated from the OpenAPI spec — do not edit manually.
13083
+ var MarkupType;
13084
+ (function (MarkupType) {
13085
+ MarkupType["Unknown"] = "Unknown";
13086
+ MarkupType["Circled"] = "Circled";
13087
+ MarkupType["Underlined"] = "Underlined";
13088
+ MarkupType["Strikethrough"] = "Strikethrough";
13089
+ })(MarkupType || (MarkupType = {}));
13090
+ var ProcessingSource;
13091
+ (function (ProcessingSource) {
13092
+ ProcessingSource["Unknown"] = "Unknown";
13093
+ ProcessingSource["Ocr"] = "Ocr";
13094
+ ProcessingSource["Pdf"] = "Pdf";
13095
+ ProcessingSource["PlainText"] = "PlainText";
13096
+ ProcessingSource["PdfAndOcr"] = "PdfAndOcr";
13097
+ })(ProcessingSource || (ProcessingSource = {}));
13098
+ var Rotation;
13099
+ (function (Rotation) {
13100
+ Rotation["None"] = "None";
13101
+ Rotation["Rotated90"] = "Rotated90";
13102
+ Rotation["Rotated180"] = "Rotated180";
13103
+ Rotation["Rotated270"] = "Rotated270";
13104
+ Rotation["Other"] = "Other";
13105
+ })(Rotation || (Rotation = {}));
13106
+ var SectionType;
13107
+ (function (SectionType) {
13108
+ SectionType["Vertical"] = "Vertical";
13109
+ SectionType["Paragraph"] = "Paragraph";
13110
+ SectionType["Header"] = "Header";
13111
+ SectionType["Footer"] = "Footer";
13112
+ SectionType["Table"] = "Table";
13113
+ })(SectionType || (SectionType = {}));
13114
+ var TextType;
13115
+ (function (TextType) {
13116
+ TextType["Unknown"] = "Unknown";
13117
+ TextType["Text"] = "Text";
13118
+ TextType["Checkbox"] = "Checkbox";
13119
+ TextType["Handwriting"] = "Handwriting";
13120
+ TextType["Barcode"] = "Barcode";
13121
+ TextType["QRcode"] = "QRcode";
13122
+ TextType["Stamp"] = "Stamp";
13123
+ TextType["Logo"] = "Logo";
13124
+ TextType["Circle"] = "Circle";
13125
+ TextType["Underline"] = "Underline";
13126
+ TextType["Cut"] = "Cut";
13127
+ })(TextType || (TextType = {}));
13128
+ var WordGroupType;
13129
+ (function (WordGroupType) {
13130
+ WordGroupType["Sentence"] = "Sentence";
13131
+ WordGroupType["TableCell"] = "TableCell";
13132
+ WordGroupType["TableRowEnd"] = "TableRowEnd";
13133
+ WordGroupType["Heading"] = "Heading";
13134
+ WordGroupType["Other"] = "Other";
13135
+ })(WordGroupType || (WordGroupType = {}));
13136
+
13137
+ // Auto-generated from the OpenAPI spec — do not edit manually.
13138
+ var ModelKind;
13139
+ (function (ModelKind) {
13140
+ ModelKind["Classifier"] = "Classifier";
13141
+ ModelKind["Extractor"] = "Extractor";
13142
+ })(ModelKind || (ModelKind = {}));
13143
+ var ModelType;
13144
+ (function (ModelType) {
13145
+ ModelType["IXP"] = "IXP";
13146
+ ModelType["Modern"] = "Modern";
13147
+ ModelType["Predefined"] = "Predefined";
13148
+ })(ModelType || (ModelType = {}));
13149
+
13150
+ // Auto-generated from the OpenAPI spec — do not edit manually.
13151
+ var ClassifierDocumentTypeType;
13152
+ (function (ClassifierDocumentTypeType) {
13153
+ ClassifierDocumentTypeType["FormsAi"] = "FormsAi";
13154
+ ClassifierDocumentTypeType["SemiStructuredAi"] = "SemiStructuredAi";
13155
+ ClassifierDocumentTypeType["Helix"] = "Helix";
13156
+ ClassifierDocumentTypeType["Unknown"] = "Unknown";
13157
+ })(ClassifierDocumentTypeType || (ClassifierDocumentTypeType = {}));
13158
+ var CreateTaskPriority;
13159
+ (function (CreateTaskPriority) {
13160
+ CreateTaskPriority["Low"] = "Low";
13161
+ CreateTaskPriority["Medium"] = "Medium";
13162
+ CreateTaskPriority["High"] = "High";
13163
+ CreateTaskPriority["Critical"] = "Critical";
13164
+ })(CreateTaskPriority || (CreateTaskPriority = {}));
13165
+ var GptFieldType;
13166
+ (function (GptFieldType) {
13167
+ GptFieldType["Address"] = "Address";
13168
+ GptFieldType["Boolean"] = "Boolean";
13169
+ GptFieldType["Date"] = "Date";
13170
+ GptFieldType["Name"] = "Name";
13171
+ GptFieldType["Number"] = "Number";
13172
+ GptFieldType["Text"] = "Text";
13173
+ })(GptFieldType || (GptFieldType = {}));
13174
+ var ValidationDisplayMode;
13175
+ (function (ValidationDisplayMode) {
13176
+ ValidationDisplayMode["Classic"] = "Classic";
13177
+ ValidationDisplayMode["Compact"] = "Compact";
13178
+ })(ValidationDisplayMode || (ValidationDisplayMode = {}));
13179
+
13180
+ // Auto-generated from the OpenAPI spec — do not edit manually.
13181
+ var ResultsDataSource;
13182
+ (function (ResultsDataSource) {
13183
+ ResultsDataSource["Automatic"] = "Automatic";
13184
+ ResultsDataSource["Manual"] = "Manual";
13185
+ ResultsDataSource["ManuallyChanged"] = "ManuallyChanged";
13186
+ ResultsDataSource["Defaulted"] = "Defaulted";
13187
+ ResultsDataSource["External"] = "External";
13188
+ })(ResultsDataSource || (ResultsDataSource = {}));
13189
+
13190
+ // Auto-generated from the OpenAPI spec — do not edit manually.
13191
+ var ComparisonOperator;
13192
+ (function (ComparisonOperator) {
13193
+ ComparisonOperator["Equals"] = "Equals";
13194
+ ComparisonOperator["NotEquals"] = "NotEquals";
13195
+ ComparisonOperator["Greater"] = "Greater";
13196
+ ComparisonOperator["Less"] = "Less";
13197
+ ComparisonOperator["GreaterOrEqual"] = "GreaterOrEqual";
13198
+ ComparisonOperator["LessOrEqual"] = "LessOrEqual";
13199
+ })(ComparisonOperator || (ComparisonOperator = {}));
13200
+ var Criticality;
13201
+ (function (Criticality) {
13202
+ Criticality["Must"] = "Must";
13203
+ Criticality["Should"] = "Should";
13204
+ })(Criticality || (Criticality = {}));
13205
+ var FieldType;
13206
+ (function (FieldType) {
13207
+ FieldType["Text"] = "Text";
13208
+ FieldType["Number"] = "Number";
13209
+ FieldType["Date"] = "Date";
13210
+ FieldType["Name"] = "Name";
13211
+ FieldType["Address"] = "Address";
13212
+ FieldType["Keyword"] = "Keyword";
13213
+ FieldType["Set"] = "Set";
13214
+ FieldType["Boolean"] = "Boolean";
13215
+ FieldType["Table"] = "Table";
13216
+ FieldType["Internal"] = "Internal";
13217
+ FieldType["FieldGroup"] = "FieldGroup";
13218
+ FieldType["MonetaryQuantity"] = "MonetaryQuantity";
13219
+ })(FieldType || (FieldType = {}));
13220
+ var LogicalOperator;
13221
+ (function (LogicalOperator) {
13222
+ LogicalOperator["AND"] = "AND";
13223
+ LogicalOperator["OR"] = "OR";
13224
+ })(LogicalOperator || (LogicalOperator = {}));
13225
+ var RuleType;
13226
+ (function (RuleType) {
13227
+ RuleType["Mandatory"] = "Mandatory";
13228
+ RuleType["PossibleValues"] = "PossibleValues";
13229
+ RuleType["Regex"] = "Regex";
13230
+ RuleType["StartsWith"] = "StartsWith";
13231
+ RuleType["EndsWith"] = "EndsWith";
13232
+ RuleType["FixedLength"] = "FixedLength";
13233
+ RuleType["IsNumeric"] = "IsNumeric";
13234
+ RuleType["IsDate"] = "IsDate";
13235
+ RuleType["IsEmail"] = "IsEmail";
13236
+ RuleType["Contains"] = "Contains";
13237
+ RuleType["Expression"] = "Expression";
13238
+ RuleType["TableExpression"] = "TableExpression";
13239
+ RuleType["IsEmpty"] = "IsEmpty";
13240
+ })(RuleType || (RuleType = {}));
13241
+
13242
+ // Auto-generated from the OpenAPI spec — do not edit manually.
13243
+ var ActionStatus;
13244
+ (function (ActionStatus) {
13245
+ ActionStatus["Unassigned"] = "Unassigned";
13246
+ ActionStatus["Pending"] = "Pending";
13247
+ ActionStatus["Completed"] = "Completed";
13248
+ })(ActionStatus || (ActionStatus = {}));
13249
+
13250
+ var index = /*#__PURE__*/Object.freeze({
13251
+ __proto__: null,
13252
+ get ActionStatus () { return ActionStatus; },
13253
+ get ClassifierDocumentTypeType () { return ClassifierDocumentTypeType; },
13254
+ get ComparisonOperator () { return ComparisonOperator; },
13255
+ get CreateTaskPriority () { return CreateTaskPriority; },
13256
+ get Criticality () { return Criticality; },
13257
+ get DocumentActionPriority () { return DocumentActionPriority; },
13258
+ get DocumentActionStatus () { return DocumentActionStatus; },
13259
+ get DocumentActionType () { return DocumentActionType; },
13260
+ get FieldType () { return FieldType; },
13261
+ get GptFieldType () { return GptFieldType; },
13262
+ get LogicalOperator () { return LogicalOperator; },
13263
+ get MarkupType () { return MarkupType; },
13264
+ get ModelKind () { return ModelKind; },
13265
+ get ModelType () { return ModelType; },
13266
+ get ProcessingSource () { return ProcessingSource; },
13267
+ get ProjectProperties () { return ProjectProperties; },
13268
+ get ProjectType () { return ProjectType; },
13269
+ get ResourceStatus () { return ResourceStatus; },
13270
+ get ResourceType () { return ResourceType; },
13271
+ get ResultsDataSource () { return ResultsDataSource; },
13272
+ get Rotation () { return Rotation; },
13273
+ get RuleType () { return RuleType; },
13274
+ get SectionType () { return SectionType; },
13275
+ get TextType () { return TextType; },
13276
+ get ValidationDisplayMode () { return ValidationDisplayMode; },
13277
+ get WordGroupType () { return WordGroupType; }
13278
+ });
13279
+
12780
13280
  /**
12781
13281
  * Asset resolution utilities for UiPath Coded Apps
12782
13282
  *
@@ -12852,4 +13352,4 @@ function getAppBase() {
12852
13352
  return getMetaTagContent(UiPathMetaTags.APP_BASE) || '/';
12853
13353
  }
12854
13354
 
12855
- export { APP_NAME, AgentMap, AssetValueScope, AssetValueType, AuthenticationError, AuthorizationError, BucketOptions, CLOUD_CLIENT_ID, CLOUD_ORGANIZATION_NAME, CLOUD_REDIRECT_URI, CLOUD_ROLE_NAME, CLOUD_TENANT_NAME, CLOUD_URL, CONNECTION_STRING, CitationErrorType, ConversationMap, DEFAULT_ITEMS_FIELD, DEFAULT_PAGE_SIZE, DEFAULT_TOTAL_COUNT_FIELD, DataDirectionType, DebugMode, EntityFieldDataType, EntityType, ErrorType, EscalationActionType, EscalationRecipientScope, EscalationTriggerType, ExchangeMap, FeedbackRating, FeedbackStatus, FieldDisplayType, HttpStatus, InputStreamSpeechSensitivity, InterruptType, JobPriority, JobSourceType, JobState, JobSubState, JobType, JoinType, 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$1 as 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 };
13355
+ 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$1 as 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 };