@uipath/maestro-sdk 1.204.0 → 1.205.0-preview.258

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.
@@ -876,6 +876,16 @@ class NodeFileSystem {
876
876
  async rename(oldPath, newPath) {
877
877
  await fs6.rename(oldPath, newPath);
878
878
  }
879
+ async isSymbolicLink(filePath) {
880
+ try {
881
+ return (await fs6.lstat(filePath)).isSymbolicLink();
882
+ } catch (error) {
883
+ if (this.isEnoent(error) || this.hasErrnoCode(error, "ENOTDIR")) {
884
+ return false;
885
+ }
886
+ throw error;
887
+ }
888
+ }
879
889
  async realpath(filePath) {
880
890
  try {
881
891
  return await fs6.realpath(filePath);
@@ -1935,7 +1945,7 @@ function getGlobalLogFilePath() {
1935
1945
  function getLogFilePath() {
1936
1946
  return logger.getLogFilePath();
1937
1947
  }
1938
- var logFilePathSlot, DEFAULT_LOG_LEVEL = 3 /* ERROR */, SimpleLogger, loggerSingleton, logger;
1948
+ var logFilePathSlot, DEFAULT_LOG_LEVEL = 2 /* WARN */, SimpleLogger, loggerSingleton, logger;
1939
1949
  var init_logger = __esm(() => {
1940
1950
  init_src();
1941
1951
  init_catch_error();
@@ -6823,7 +6833,9 @@ var init_telemetry_dimensions = __esm(() => {
6823
6833
  Result: "Result",
6824
6834
  ErrorCode: "ErrorCode",
6825
6835
  Retry: "Retry",
6826
- ErrorMessage: "ErrorMessage"
6836
+ ErrorMessage: "ErrorMessage",
6837
+ HttpStatus: "HttpStatus",
6838
+ UpstreamErrorCode: "UpstreamErrorCode"
6827
6839
  };
6828
6840
  AuthDimensions = {
6829
6841
  AuthenticationMethod: "AuthenticationMethod",
@@ -8788,7 +8800,9 @@ var init_formatter = __esm(() => {
8788
8800
  "timeout",
8789
8801
  "server_error",
8790
8802
  "method_not_allowed",
8803
+ "not_supported",
8791
8804
  "configuration_error",
8805
+ "execution_failed",
8792
8806
  "unknown_error"
8793
8807
  ];
8794
8808
  RETRY_HINTS = [
@@ -8902,7 +8916,9 @@ var init_formatter = __esm(() => {
8902
8916
  [ErrorDimensions.Result]: data.Result,
8903
8917
  [ErrorDimensions.ErrorCode]: data.ErrorCode,
8904
8918
  [ErrorDimensions.Retry]: data.Retry,
8905
- [ErrorDimensions.ErrorMessage]: data.Message
8919
+ [ErrorDimensions.ErrorMessage]: data.Message,
8920
+ [ErrorDimensions.HttpStatus]: data.Context?.httpStatus?.toString(),
8921
+ [ErrorDimensions.UpstreamErrorCode]: data.Context?.errorCode
8906
8922
  });
8907
8923
  }
8908
8924
  logOutput(normalizeOutputKeys(envelope), getOutputFormat());
@@ -11635,6 +11651,9 @@ async function hashContent(content) {
11635
11651
  throw new Error("Unable to compute SHA-256 hash in this environment.");
11636
11652
  }
11637
11653
 
11654
+ // ../common/src/entity-field-rules.ts
11655
+ var init_entity_field_rules = () => {};
11656
+
11638
11657
  // ../common/src/entity-name-rules.ts
11639
11658
  var RESERVED_SQL_KEYWORDS_LOWER, RESERVED_FIELD_NAMES_LOWER, RESERVED_KEYWORDS_LOWER;
11640
11659
  var init_entity_name_rules = __esm(() => {
@@ -11869,6 +11888,17 @@ var init_host_global_options = __esm(() => {
11869
11888
  BOOLEAN_FLAGS = new Set(HOST_GLOBAL_FLAGS);
11870
11889
  });
11871
11890
 
11891
+ // ../common/src/http-status.ts
11892
+ function httpStatusOf(error) {
11893
+ if (!error || typeof error !== "object") {
11894
+ return;
11895
+ }
11896
+ if ("response" in error && error.response && typeof error.response === "object" && "status" in error.response && typeof error.response.status === "number") {
11897
+ return error.response.status;
11898
+ }
11899
+ return "status" in error && typeof error.status === "number" ? error.status : undefined;
11900
+ }
11901
+
11872
11902
  // ../common/src/interactivity-context.ts
11873
11903
  var modeSlot, interactiveFlagSlot;
11874
11904
  var init_interactivity_context = __esm(() => {
@@ -11878,6 +11908,11 @@ var init_interactivity_context = __esm(() => {
11878
11908
  interactiveFlagSlot = singleton("InteractiveFlag");
11879
11909
  });
11880
11910
 
11911
+ // ../common/src/json-option.ts
11912
+ var init_json_option = __esm(() => {
11913
+ init_src();
11914
+ });
11915
+
11881
11916
  // ../common/src/mime-types.ts
11882
11917
  var MIME_TYPES_BY_EXTENSION;
11883
11918
  var init_mime_types = __esm(() => {
@@ -11919,9 +11954,15 @@ var init_mime_types = __esm(() => {
11919
11954
  // ../common/src/option-aliases.ts
11920
11955
  var init_option_aliases = __esm(() => {
11921
11956
  init_esm();
11957
+ init_formatter();
11922
11958
  init_output_context();
11923
11959
  });
11924
11960
 
11961
+ // ../common/src/option-groups.ts
11962
+ var init_option_groups = __esm(() => {
11963
+ init_formatter();
11964
+ });
11965
+
11925
11966
  // ../common/src/option-validators.ts
11926
11967
  function parseLimit(raw, _previous) {
11927
11968
  return parseBoundedInt(raw, "--limit", { min: 1, max: 1e4 });
@@ -12111,6 +12152,11 @@ var init_sdk_user_agent = __esm(() => {
12111
12152
  AGENT_PROPERTY = BaseDimensions.Agent;
12112
12153
  sdkUserAgentHostToken = singleton("SdkUserAgentHostToken");
12113
12154
  });
12155
+
12156
+ // ../common/src/shell-quote.ts
12157
+ function quoteForShell(value) {
12158
+ return `'${value.replace(/'/g, "'\\''")}'`;
12159
+ }
12114
12160
  // ../common/src/stdin.ts
12115
12161
  async function readStdin() {
12116
12162
  if (process.stdin.isTTY) {
@@ -12167,6 +12213,7 @@ var init_src2 = __esm(() => {
12167
12213
  init_completer();
12168
12214
  init_confirmation();
12169
12215
  init_constants();
12216
+ init_entity_field_rules();
12170
12217
  init_entity_name_rules();
12171
12218
  init_error_handler();
12172
12219
  init_error_instructions();
@@ -12174,9 +12221,11 @@ var init_src2 = __esm(() => {
12174
12221
  init_guid();
12175
12222
  init_host_global_options();
12176
12223
  init_interactivity_context();
12224
+ init_json_option();
12177
12225
  init_logger();
12178
12226
  init_mime_types();
12179
12227
  init_option_aliases();
12228
+ init_option_groups();
12180
12229
  init_option_validators();
12181
12230
  init_output_codecs();
12182
12231
  init_output_context();
@@ -12270,4 +12319,4 @@ export {
12270
12319
  resolveJsonInput
12271
12320
  };
12272
12321
 
12273
- //# debugId=258C7C5FF7E4CE0264756E2164756E21
12322
+ //# debugId=409423499098063F64756E2164756E21