@uipath/tasks-tool 1.205.0-preview.276 → 1.206.0-preview.279

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 ADDED
@@ -0,0 +1,45 @@
1
+ # @uipath/tasks-tool
2
+
3
+ `uip` tool for UiPath Action Center tasks. It adds the `uip tasks` command
4
+ group: list and read tasks, assign and complete them, and manage their
5
+ comments, labels, metadata, data and task catalogs. Page:
6
+ [docs/tools/tasks.md](../../docs/tools/tasks.md).
7
+
8
+ ## Commands
9
+
10
+ | Command | Purpose |
11
+ | --- | --- |
12
+ | `list` | List tasks across folders (`--as-admin` for the admin view) |
13
+ | `get <id>` | Get one task |
14
+ | `assign <task-id>` / `reassign <task-id>` / `unassign <task-id>` | Set, change or clear the assignee (`--user <email>` or `--user-id <id>`) |
15
+ | `complete <task-id> --type <type>` | Complete a task with `--action` and optional `--data` |
16
+ | `users [folder-id]` | Users with task permissions in a folder |
17
+ | `catalogs list` / `get` / `create` / `update` | Task catalogs in a folder |
18
+ | `comments list` / `add` | Comments on a task |
19
+ | `labels <task-id> --labels <json>` | Set or clear a task's labels |
20
+ | `metadata <task-id>` | Edit title, priority, catalog or note |
21
+ | `data get` / `save` | Read or replace a task's data |
22
+
23
+ Folder-scoped commands take `--folder-id`, `--folder-path` or `--folder-key`.
24
+
25
+ ## Examples
26
+
27
+ ```bash
28
+ uip tasks list --folder-path "Shared/Finance" --limit 20
29
+ uip tasks get <task-id>
30
+ uip tasks users --folder-path "Shared/Finance"
31
+ uip tasks assign <task-id> --user jane.doe@example.com
32
+ uip tasks complete <task-id> --type FormTask --action Approve --data '{"approved":true}'
33
+ uip tasks comments add <task-id> --text "Checked the invoice"
34
+ uip tasks catalogs create --name Invoices --folder-path "Shared/Finance"
35
+ ```
36
+
37
+ `complete --data` and `data save --data` replace the task's data; keys you
38
+ leave out are removed. Read the current data with `uip tasks data get` first.
39
+
40
+ ## Authentication
41
+
42
+ Run `uip login` first. The tool talks to Action Center through the
43
+ `@uipath/uipath-typescript` SDK and to Orchestrator to resolve folder paths
44
+ and keys. To work on another tenant, switch with `uip login tenant set
45
+ <tenant>`.
@@ -1,19 +1,19 @@
1
1
  import {
2
- FoldersApi,
3
- createApiClient
4
- } from "./tool-hqtnveag.js";
5
- import {
6
- OutputFormatter,
7
- RESULTS,
8
2
  catchError,
9
3
  extractErrorMessage,
4
+ RESULTS,
5
+ OutputFormatter,
10
6
  processContext
11
- } from "./tool-s6dm918n.js";
7
+ } from "./tool-df3kr747.js";
8
+ import {
9
+ FoldersApi,
10
+ createApiClient
11
+ } from "./tool-j4cyabhz.js";
12
12
  import {
13
+ __toESM,
13
14
  __commonJS,
14
- __require,
15
- __toESM
16
- } from "./tool-1de529jm.js";
15
+ __require
16
+ } from "./tool-epsr41wx.js";
17
17
 
18
18
  // ../../node_modules/cli-width/index.js
19
19
  var require_cli_width = __commonJS(function(exports, module) {
@@ -186,8 +186,8 @@ function getDefaultKeybindings() {
186
186
  return [];
187
187
  return Array.from(new Set(env.toLowerCase().split(/[\s,]+/).filter(isKeybinding)));
188
188
  }
189
- var isUpKey = (key, keybindings2 = []) => key.name === "up" || keybindings2.includes("vim") && key.name === "k" || keybindings2.includes("emacs") && key.ctrl && key.name === "p";
190
- var isDownKey = (key, keybindings2 = []) => key.name === "down" || keybindings2.includes("vim") && key.name === "j" || keybindings2.includes("emacs") && key.ctrl && key.name === "n";
189
+ var isUpKey = (key, keybindings = []) => key.name === "up" || keybindings.includes("vim") && key.name === "k" || keybindings.includes("emacs") && key.ctrl && key.name === "p";
190
+ var isDownKey = (key, keybindings = []) => key.name === "down" || keybindings.includes("vim") && key.name === "j" || keybindings.includes("emacs") && key.ctrl && key.name === "n";
191
191
  var isBackspaceKey = (key) => key.name === "backspace";
192
192
  var isNumberKey = (key) => "1234567890".includes(key.name);
193
193
  var isEnterKey = (key) => key.name === "enter" || key.name === "return";
@@ -331,7 +331,7 @@ function isFactory(value) {
331
331
  }
332
332
  function useState(defaultValue) {
333
333
  return withPointer((pointer) => {
334
- const setState = AsyncResource2.bind(function setState2(newValue) {
334
+ const setState = AsyncResource2.bind(function setState(newValue) {
335
335
  if (pointer.get() !== newValue) {
336
336
  pointer.set(newValue);
337
337
  handleChange();
@@ -1207,7 +1207,7 @@ if (process.platform === "linux") {
1207
1207
  }
1208
1208
 
1209
1209
  // ../../node_modules/@inquirer/prompts/node_modules/@inquirer/select/node_modules/@inquirer/core/node_modules/signal-exit/dist/mjs/index.js
1210
- var processOk = (process3) => !!process3 && typeof process3 === "object" && typeof process3.removeListener === "function" && typeof process3.emit === "function" && typeof process3.reallyExit === "function" && typeof process3.listeners === "function" && typeof process3.kill === "function" && typeof process3.pid === "number" && typeof process3.on === "function";
1210
+ var processOk = (process2) => !!process2 && typeof process2 === "object" && typeof process2.removeListener === "function" && typeof process2.emit === "function" && typeof process2.reallyExit === "function" && typeof process2.listeners === "function" && typeof process2.kill === "function" && typeof process2.pid === "number" && typeof process2.on === "function";
1211
1211
  var kExitEmitter = Symbol.for("signal-exit emitter");
1212
1212
  var global = globalThis;
1213
1213
  var ObjectDefineProperty = Object.defineProperty.bind(Object);
@@ -1297,15 +1297,15 @@ class SignalExit extends SignalExitBase {
1297
1297
  #originalProcessReallyExit;
1298
1298
  #sigListeners = {};
1299
1299
  #loaded = false;
1300
- constructor(process3) {
1300
+ constructor(process2) {
1301
1301
  super();
1302
- this.#process = process3;
1302
+ this.#process = process2;
1303
1303
  this.#sigListeners = {};
1304
1304
  for (const sig of signals) {
1305
1305
  this.#sigListeners[sig] = () => {
1306
1306
  const listeners = this.#process.listeners(sig);
1307
1307
  let { count } = this.#emitter;
1308
- const p = process3;
1308
+ const p = process2;
1309
1309
  if (typeof p.__signal_exit_emitter__ === "object" && typeof p.__signal_exit_emitter__.count === "number") {
1310
1310
  count += p.__signal_exit_emitter__.count;
1311
1311
  }
@@ -1314,12 +1314,12 @@ class SignalExit extends SignalExitBase {
1314
1314
  const ret = this.#emitter.emit("exit", null, sig);
1315
1315
  const s = sig === "SIGHUP" ? this.#hupSig : sig;
1316
1316
  if (!ret)
1317
- process3.kill(process3.pid, s);
1317
+ process2.kill(process2.pid, s);
1318
1318
  }
1319
1319
  };
1320
1320
  }
1321
- this.#originalProcessReallyExit = process3.reallyExit;
1322
- this.#originalProcessEmit = process3.emit;
1321
+ this.#originalProcessReallyExit = process2.reallyExit;
1322
+ this.#originalProcessEmit = process2.emit;
1323
1323
  }
1324
1324
  onExit(cb, opts) {
1325
1325
  if (!processOk(this.#process)) {
@@ -1546,8 +1546,8 @@ function createPrompt(view) {
1546
1546
  signal.addEventListener("abort", abort);
1547
1547
  cleanups.add(() => signal.removeEventListener("abort", abort));
1548
1548
  }
1549
- cleanups.add(onExit((code, signal2) => {
1550
- reject(new ExitPromptError(`User force closed the prompt with ${code} ${signal2}`));
1549
+ cleanups.add(onExit((code, signal) => {
1550
+ reject(new ExitPromptError(`User force closed the prompt with ${code} ${signal}`));
1551
1551
  }));
1552
1552
  const sigint = () => reject(new ExitPromptError(`User force closed the prompt with SIGINT`));
1553
1553
  rl.on("SIGINT", sigint);
@@ -1650,11 +1650,11 @@ function normalizeChoices(choices) {
1650
1650
  if (Separator.isSeparator(choice))
1651
1651
  return choice;
1652
1652
  if (typeof choice !== "object" || choice === null || !("value" in choice)) {
1653
- const name2 = String(choice);
1653
+ const name = String(choice);
1654
1654
  return {
1655
1655
  value: choice,
1656
- name: name2,
1657
- short: name2,
1656
+ name,
1657
+ short: name,
1658
1658
  disabled: false
1659
1659
  };
1660
1660
  }
@@ -1674,11 +1674,11 @@ function normalizeChoices(choices) {
1674
1674
  var dist_default4 = createPrompt((config, done) => {
1675
1675
  const { loop = true, pageSize = 7 } = config;
1676
1676
  const theme = makeTheme(selectTheme, config.theme);
1677
- const { keybindings: keybindings2 } = theme;
1677
+ const { keybindings } = theme;
1678
1678
  const [status, setStatus] = useState("idle");
1679
1679
  const prefix = usePrefix({ status, theme });
1680
1680
  const searchTimeoutRef = useRef();
1681
- const searchEnabled = !keybindings2.includes("vim");
1681
+ const searchEnabled = !keybindings.includes("vim");
1682
1682
  const items = useMemo(() => normalizeChoices(config.choices), [config.choices]);
1683
1683
  const bounds = useMemo(() => {
1684
1684
  const first = items.findIndex(isNavigable);
@@ -1711,10 +1711,10 @@ var dist_default4 = createPrompt((config, done) => {
1711
1711
  setStatus("done");
1712
1712
  done(selectedChoice.value);
1713
1713
  }
1714
- } else if (isUpKey(key, keybindings2) || isDownKey(key, keybindings2)) {
1714
+ } else if (isUpKey(key, keybindings) || isDownKey(key, keybindings)) {
1715
1715
  rl.clearLine(0);
1716
- if (loop || isUpKey(key, keybindings2) && active !== bounds.first || isDownKey(key, keybindings2) && active !== bounds.last) {
1717
- const offset = isUpKey(key, keybindings2) ? -1 : 1;
1716
+ if (loop || isUpKey(key, keybindings) && active !== bounds.first || isDownKey(key, keybindings) && active !== bounds.last) {
1717
+ const offset = isUpKey(key, keybindings) ? -1 : 1;
1718
1718
  let next = active;
1719
1719
  do {
1720
1720
  next = (next + offset + items.length) % items.length;
@@ -1724,8 +1724,8 @@ var dist_default4 = createPrompt((config, done) => {
1724
1724
  } else if (isNumberKey(key) && !Number.isNaN(Number(rl.line))) {
1725
1725
  const selectedIndex = Number(rl.line) - 1;
1726
1726
  let selectableIndex = -1;
1727
- const position = items.findIndex((item2) => {
1728
- if (Separator.isSeparator(item2))
1727
+ const position = items.findIndex((item) => {
1728
+ if (Separator.isSeparator(item))
1729
1729
  return false;
1730
1730
  selectableIndex++;
1731
1731
  return selectableIndex === selectedIndex;
@@ -1844,4 +1844,4 @@ export {
1844
1844
  pickFolderInteractively
1845
1845
  };
1846
1846
 
1847
- //# debugId=3D9AA855CEECA0A064756E2164756E21
1847
+ //# debugId=50C17669E9BF035C64756E2164756E21
@@ -1,15 +1,14 @@
1
1
  import {
2
- resolveFolder
3
- } from "./tool-hqtnveag.js";
4
- import {
5
- OutputFormatter,
6
- RESULTS,
7
2
  catchError,
8
3
  extractErrorMessage,
9
- isGuid,
10
- processContext
11
- } from "./tool-s6dm918n.js";
12
- import"./tool-1de529jm.js";
4
+ RESULTS,
5
+ OutputFormatter,
6
+ processContext,
7
+ isGuid
8
+ } from "./tool-df3kr747.js";
9
+ import {
10
+ resolveFolder
11
+ } from "./tool-j4cyabhz.js";
13
12
 
14
13
  // src/commands/_shared/folder-resolver.ts
15
14
  var FOLDER_LOOKUP_HINT = "Run 'uip or folders list' to see the folders you can access.";
@@ -86,4 +85,4 @@ export {
86
85
  resolveFolderIdByPath
87
86
  };
88
87
 
89
- //# debugId=D3B7CA3C5EF0117564756E2164756E21
88
+ //# debugId=030CF2EDA680BA7364756E2164756E21
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  require_execAsync
3
- } from "./tool-2czkpqb0.js";
3
+ } from "./tool-ggemp2c3.js";
4
4
  import {
5
5
  require_src
6
- } from "./tool-bndhpxxj.js";
6
+ } from "./tool-4b88bsfh.js";
7
7
  import {
8
8
  __commonJS,
9
9
  __require
10
- } from "./tool-1de529jm.js";
10
+ } from "./tool-epsr41wx.js";
11
11
 
12
12
  // ../../node_modules/@opentelemetry/sdk-logs/node_modules/@opentelemetry/resources/build/src/detectors/platform/node/machine-id/getMachineId-bsd.js
13
13
  var require_getMachineId_bsd = __commonJS(function(exports) {
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  require_execAsync
3
- } from "./tool-2czkpqb0.js";
3
+ } from "./tool-ggemp2c3.js";
4
4
  import {
5
5
  require_src
6
- } from "./tool-bndhpxxj.js";
6
+ } from "./tool-4b88bsfh.js";
7
7
  import {
8
8
  __commonJS
9
- } from "./tool-1de529jm.js";
9
+ } from "./tool-epsr41wx.js";
10
10
 
11
11
  // ../../node_modules/@opentelemetry/sdk-logs/node_modules/@opentelemetry/resources/build/src/detectors/platform/node/machine-id/getMachineId-darwin.js
12
12
  var require_getMachineId_darwin = __commonJS(function(exports) {
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  require_src
3
- } from "./tool-bndhpxxj.js";
3
+ } from "./tool-4b88bsfh.js";
4
4
  import {
5
5
  __commonJS,
6
6
  __require
7
- } from "./tool-1de529jm.js";
7
+ } from "./tool-epsr41wx.js";
8
8
 
9
9
  // ../../node_modules/@opentelemetry/sdk-logs/node_modules/@opentelemetry/resources/build/src/detectors/platform/node/machine-id/getMachineId-linux.js
10
10
  var require_getMachineId_linux = __commonJS(function(exports) {
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  require_src
3
- } from "./tool-bndhpxxj.js";
3
+ } from "./tool-4b88bsfh.js";
4
4
  import {
5
5
  __commonJS
6
- } from "./tool-1de529jm.js";
6
+ } from "./tool-epsr41wx.js";
7
7
 
8
8
  // ../../node_modules/@opentelemetry/sdk-logs/node_modules/@opentelemetry/resources/build/src/detectors/platform/node/machine-id/getMachineId-unsupported.js
9
9
  var require_getMachineId_unsupported = __commonJS(function(exports) {
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  require_execAsync
3
- } from "./tool-2czkpqb0.js";
3
+ } from "./tool-ggemp2c3.js";
4
4
  import {
5
5
  require_src
6
- } from "./tool-bndhpxxj.js";
6
+ } from "./tool-4b88bsfh.js";
7
7
  import {
8
8
  __commonJS,
9
9
  __require
10
- } from "./tool-1de529jm.js";
10
+ } from "./tool-epsr41wx.js";
11
11
 
12
12
  // ../../node_modules/@opentelemetry/sdk-logs/node_modules/@opentelemetry/resources/build/src/detectors/platform/node/machine-id/getMachineId-win.js
13
13
  var require_getMachineId_win = __commonJS(function(exports) {
@@ -1,5 +1,3 @@
1
- import"./tool-1de529jm.js";
2
-
3
1
  // ../../node_modules/open/index.js
4
2
  import process7 from "node:process";
5
3
  import path from "node:path";
@@ -548,22 +546,6 @@ var open = (target, options) => {
548
546
  target
549
547
  });
550
548
  };
551
- var openApp = (name, options) => {
552
- if (typeof name !== "string" && !Array.isArray(name)) {
553
- throw new TypeError("Expected a valid `name`");
554
- }
555
- const { arguments: appArguments = [] } = options ?? {};
556
- if (appArguments !== undefined && appArguments !== null && !Array.isArray(appArguments)) {
557
- throw new TypeError("Expected `appArguments` as Array type");
558
- }
559
- return baseOpen({
560
- ...options,
561
- app: {
562
- name,
563
- arguments: appArguments
564
- }
565
- });
566
- };
567
549
  function detectArchBinary(binary) {
568
550
  if (typeof binary === "string" || Array.isArray(binary)) {
569
551
  return binary;
@@ -626,9 +608,7 @@ defineLazyProperty(apps, "safari", () => detectPlatformBinary({
626
608
  }));
627
609
  var open_default = open;
628
610
  export {
629
- apps,
630
- open_default as default,
631
- openApp
611
+ open_default as default
632
612
  };
633
613
 
634
- //# debugId=42C9AEC59ECC644E64756E2164756E21
614
+ //# debugId=6F288C058A3A412164756E2164756E21
package/dist/index.js CHANGED
@@ -1,18 +1,16 @@
1
1
  #!/usr/bin/env bun
2
- import {
3
- metadata,
4
- registerCommands
5
- } from "./tool-zm2ec57k.js";
6
2
  import {
7
3
  Command
8
- } from "./tool-s6dm918n.js";
9
- import"./tool-bndhpxxj.js";
10
- import"./tool-1de529jm.js";
4
+ } from "./tool-df3kr747.js";
5
+ import {
6
+ metadata2,
7
+ registerCommands2
8
+ } from "./tool-cw0a0mp6.js";
11
9
 
12
10
  // src/index.ts
13
11
  var program = new Command;
14
- program.name(metadata.name).description(metadata.description).version(metadata.version);
15
- await registerCommands(program);
12
+ program.name(metadata2.name).description(metadata2.description).version(metadata2.version);
13
+ await registerCommands2(program);
16
14
  await program.parseAsync(process.argv);
17
15
 
18
- //# debugId=05AF4C7FA3BAC96B64756E2164756E21
16
+ //# debugId=03F1BA84801DF0B364756E2164756E21
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __commonJS
3
- } from "./tool-1de529jm.js";
3
+ } from "./tool-epsr41wx.js";
4
4
 
5
5
  // ../../node_modules/jmespath/jmespath.js
6
6
  var require_jmespath = __commonJS(function(exports) {
@@ -1,5 +1,3 @@
1
- import"./tool-1de529jm.js";
2
-
3
1
  // ../../node_modules/js-yaml/dist/js-yaml.mjs
4
2
  function getDefaultExportFromCjs(x) {
5
3
  return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
@@ -3150,4 +3148,4 @@ export {
3150
3148
  types
3151
3149
  };
3152
3150
 
3153
- //# debugId=9FA8E718B2F80BEA64756E2164756E21
3151
+ //# debugId=41DC6971B94BC54964756E2164756E21
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __commonJS
3
- } from "./tool-1de529jm.js";
3
+ } from "./tool-epsr41wx.js";
4
4
 
5
5
  // ../../node_modules/@opentelemetry/api/build/src/version.js
6
6
  var require_version = __commonJS(function(exports) {
@@ -169,14 +169,14 @@ var require_types = __commonJS(function(exports) {
169
169
  Object.defineProperty(exports, "__esModule", { value: true });
170
170
  exports.DiagLogLevel = undefined;
171
171
  var DiagLogLevel;
172
- (function(DiagLogLevel2) {
173
- DiagLogLevel2[DiagLogLevel2["NONE"] = 0] = "NONE";
174
- DiagLogLevel2[DiagLogLevel2["ERROR"] = 30] = "ERROR";
175
- DiagLogLevel2[DiagLogLevel2["WARN"] = 50] = "WARN";
176
- DiagLogLevel2[DiagLogLevel2["INFO"] = 60] = "INFO";
177
- DiagLogLevel2[DiagLogLevel2["DEBUG"] = 70] = "DEBUG";
178
- DiagLogLevel2[DiagLogLevel2["VERBOSE"] = 80] = "VERBOSE";
179
- DiagLogLevel2[DiagLogLevel2["ALL"] = 9999] = "ALL";
172
+ (function(DiagLogLevel) {
173
+ DiagLogLevel[DiagLogLevel["NONE"] = 0] = "NONE";
174
+ DiagLogLevel[DiagLogLevel["ERROR"] = 30] = "ERROR";
175
+ DiagLogLevel[DiagLogLevel["WARN"] = 50] = "WARN";
176
+ DiagLogLevel[DiagLogLevel["INFO"] = 60] = "INFO";
177
+ DiagLogLevel[DiagLogLevel["DEBUG"] = 70] = "DEBUG";
178
+ DiagLogLevel[DiagLogLevel["VERBOSE"] = 80] = "VERBOSE";
179
+ DiagLogLevel[DiagLogLevel["ALL"] = 9999] = "ALL";
180
180
  })(DiagLogLevel = exports.DiagLogLevel || (exports.DiagLogLevel = {}));
181
181
  });
182
182
 
@@ -529,9 +529,9 @@ var require_Metric = __commonJS(function(exports) {
529
529
  Object.defineProperty(exports, "__esModule", { value: true });
530
530
  exports.ValueType = undefined;
531
531
  var ValueType;
532
- (function(ValueType2) {
533
- ValueType2[ValueType2["INT"] = 0] = "INT";
534
- ValueType2[ValueType2["DOUBLE"] = 1] = "DOUBLE";
532
+ (function(ValueType) {
533
+ ValueType[ValueType["INT"] = 0] = "INT";
534
+ ValueType[ValueType["DOUBLE"] = 1] = "DOUBLE";
535
535
  })(ValueType = exports.ValueType || (exports.ValueType = {}));
536
536
  });
537
537
 
@@ -635,9 +635,9 @@ var require_trace_flags = __commonJS(function(exports) {
635
635
  Object.defineProperty(exports, "__esModule", { value: true });
636
636
  exports.TraceFlags = undefined;
637
637
  var TraceFlags;
638
- (function(TraceFlags2) {
639
- TraceFlags2[TraceFlags2["NONE"] = 0] = "NONE";
640
- TraceFlags2[TraceFlags2["SAMPLED"] = 1] = "SAMPLED";
638
+ (function(TraceFlags) {
639
+ TraceFlags[TraceFlags["NONE"] = 0] = "NONE";
640
+ TraceFlags[TraceFlags["SAMPLED"] = 1] = "SAMPLED";
641
641
  })(TraceFlags = exports.TraceFlags || (exports.TraceFlags = {}));
642
642
  });
643
643
 
@@ -1005,10 +1005,10 @@ var require_SamplingResult = __commonJS(function(exports) {
1005
1005
  Object.defineProperty(exports, "__esModule", { value: true });
1006
1006
  exports.SamplingDecision = undefined;
1007
1007
  var SamplingDecision;
1008
- (function(SamplingDecision2) {
1009
- SamplingDecision2[SamplingDecision2["NOT_RECORD"] = 0] = "NOT_RECORD";
1010
- SamplingDecision2[SamplingDecision2["RECORD"] = 1] = "RECORD";
1011
- SamplingDecision2[SamplingDecision2["RECORD_AND_SAMPLED"] = 2] = "RECORD_AND_SAMPLED";
1008
+ (function(SamplingDecision) {
1009
+ SamplingDecision[SamplingDecision["NOT_RECORD"] = 0] = "NOT_RECORD";
1010
+ SamplingDecision[SamplingDecision["RECORD"] = 1] = "RECORD";
1011
+ SamplingDecision[SamplingDecision["RECORD_AND_SAMPLED"] = 2] = "RECORD_AND_SAMPLED";
1012
1012
  })(SamplingDecision = exports.SamplingDecision || (exports.SamplingDecision = {}));
1013
1013
  });
1014
1014
 
@@ -1017,12 +1017,12 @@ var require_span_kind = __commonJS(function(exports) {
1017
1017
  Object.defineProperty(exports, "__esModule", { value: true });
1018
1018
  exports.SpanKind = undefined;
1019
1019
  var SpanKind;
1020
- (function(SpanKind2) {
1021
- SpanKind2[SpanKind2["INTERNAL"] = 0] = "INTERNAL";
1022
- SpanKind2[SpanKind2["SERVER"] = 1] = "SERVER";
1023
- SpanKind2[SpanKind2["CLIENT"] = 2] = "CLIENT";
1024
- SpanKind2[SpanKind2["PRODUCER"] = 3] = "PRODUCER";
1025
- SpanKind2[SpanKind2["CONSUMER"] = 4] = "CONSUMER";
1020
+ (function(SpanKind) {
1021
+ SpanKind[SpanKind["INTERNAL"] = 0] = "INTERNAL";
1022
+ SpanKind[SpanKind["SERVER"] = 1] = "SERVER";
1023
+ SpanKind[SpanKind["CLIENT"] = 2] = "CLIENT";
1024
+ SpanKind[SpanKind["PRODUCER"] = 3] = "PRODUCER";
1025
+ SpanKind[SpanKind["CONSUMER"] = 4] = "CONSUMER";
1026
1026
  })(SpanKind = exports.SpanKind || (exports.SpanKind = {}));
1027
1027
  });
1028
1028
 
@@ -1031,10 +1031,10 @@ var require_status = __commonJS(function(exports) {
1031
1031
  Object.defineProperty(exports, "__esModule", { value: true });
1032
1032
  exports.SpanStatusCode = undefined;
1033
1033
  var SpanStatusCode;
1034
- (function(SpanStatusCode2) {
1035
- SpanStatusCode2[SpanStatusCode2["UNSET"] = 0] = "UNSET";
1036
- SpanStatusCode2[SpanStatusCode2["OK"] = 1] = "OK";
1037
- SpanStatusCode2[SpanStatusCode2["ERROR"] = 2] = "ERROR";
1034
+ (function(SpanStatusCode) {
1035
+ SpanStatusCode[SpanStatusCode["UNSET"] = 0] = "UNSET";
1036
+ SpanStatusCode[SpanStatusCode["OK"] = 1] = "OK";
1037
+ SpanStatusCode[SpanStatusCode["ERROR"] = 2] = "ERROR";
1038
1038
  })(SpanStatusCode = exports.SpanStatusCode || (exports.SpanStatusCode = {}));
1039
1039
  });
1040
1040
 
@@ -1484,4 +1484,4 @@ var require_src = __commonJS(function(exports) {
1484
1484
 
1485
1485
  export { require_src };
1486
1486
 
1487
- //# debugId=4AF816916D9C918264756E2164756E21
1487
+ //# debugId=DCE1CD650085B68F64756E2164756E21