@tailor-platform/sdk 0.18.0 → 0.18.1

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.
@@ -2157,7 +2157,7 @@ var require_utils$2 = /* @__PURE__ */ __commonJS({ "../../node_modules/esutils/l
2157
2157
  //#endregion
2158
2158
  //#region ../../node_modules/acorn/dist/acorn.mjs
2159
2159
  var acorn_exports = /* @__PURE__ */ __export({
2160
- Node: () => Node$1,
2160
+ Node: () => Node,
2161
2161
  Parser: () => Parser,
2162
2162
  Position: () => Position,
2163
2163
  SourceLocation: () => SourceLocation,
@@ -2402,7 +2402,7 @@ function parseExpressionAt(input, pos, options) {
2402
2402
  function tokenizer(input, options) {
2403
2403
  return Parser.tokenizer(input, options);
2404
2404
  }
2405
- var astralIdentifierCodes, astralIdentifierStartCodes, nonASCIIidentifierChars, nonASCIIidentifierStartChars, reservedWords, ecma5AndLessKeywords, keywords$1$1, keywordRelationalOperator, nonASCIIidentifierStart, nonASCIIidentifier, TokenType, beforeExpr, startsExpr, keywords$3, types$1, lineBreak, lineBreakG, nonASCIIwhitespace, skipWhiteSpace, ref, hasOwnProperty$3, toString, hasOwn, isArray$3, regexpCache, loneSurrogate, Position, SourceLocation, defaultOptions$2, warnedAboutEcmaVersion, SCOPE_TOP, SCOPE_FUNCTION, SCOPE_ASYNC, SCOPE_GENERATOR, SCOPE_ARROW, SCOPE_SIMPLE_CATCH, SCOPE_SUPER, SCOPE_DIRECT_SUPER, SCOPE_CLASS_STATIC_BLOCK, SCOPE_CLASS_FIELD_INIT, SCOPE_VAR, BIND_NONE, BIND_VAR, BIND_LEXICAL, BIND_FUNCTION, BIND_SIMPLE_CATCH, BIND_OUTSIDE, Parser, prototypeAccessors, pp$9, literal, DestructuringErrors, pp$8, loopLabel, switchLabel, empty$1$1, FUNC_STATEMENT, FUNC_HANGING_STATEMENT, FUNC_NULLABLE_ID, pp$7, TokContext, types, pp$6, pp$5, empty$2, pp$4, pp$3, Scope$1, Node$1, pp$2, scriptValuesAddedInUnicode, ecma9BinaryProperties, ecma10BinaryProperties, ecma11BinaryProperties, ecma12BinaryProperties, ecma13BinaryProperties, ecma14BinaryProperties, unicodeBinaryProperties, ecma14BinaryPropertiesOfStrings, unicodeBinaryPropertiesOfStrings, unicodeGeneralCategoryValues, ecma9ScriptValues, ecma10ScriptValues, ecma11ScriptValues, ecma12ScriptValues, ecma13ScriptValues, ecma14ScriptValues, unicodeScriptValues, data, i, list, ecmaVersion, pp$1, BranchID$1, RegExpValidationState, CharSetNone, CharSetOk, CharSetString, Token$1, pp, INVALID_TEMPLATE_ESCAPE_ERROR, version$6;
2405
+ var astralIdentifierCodes, astralIdentifierStartCodes, nonASCIIidentifierChars, nonASCIIidentifierStartChars, reservedWords, ecma5AndLessKeywords, keywords$1$1, keywordRelationalOperator, nonASCIIidentifierStart, nonASCIIidentifier, TokenType, beforeExpr, startsExpr, keywords$3, types$1, lineBreak, lineBreakG, nonASCIIwhitespace, skipWhiteSpace, ref, hasOwnProperty$3, toString, hasOwn, isArray$3, regexpCache, loneSurrogate, Position, SourceLocation, defaultOptions$2, warnedAboutEcmaVersion, SCOPE_TOP, SCOPE_FUNCTION, SCOPE_ASYNC, SCOPE_GENERATOR, SCOPE_ARROW, SCOPE_SIMPLE_CATCH, SCOPE_SUPER, SCOPE_DIRECT_SUPER, SCOPE_CLASS_STATIC_BLOCK, SCOPE_CLASS_FIELD_INIT, SCOPE_VAR, BIND_NONE, BIND_VAR, BIND_LEXICAL, BIND_FUNCTION, BIND_SIMPLE_CATCH, BIND_OUTSIDE, Parser, prototypeAccessors, pp$9, literal, DestructuringErrors, pp$8, loopLabel, switchLabel, empty$1$1, FUNC_STATEMENT, FUNC_HANGING_STATEMENT, FUNC_NULLABLE_ID, pp$7, TokContext, types, pp$6, pp$5, empty$2, pp$4, pp$3, Scope$1, Node, pp$2, scriptValuesAddedInUnicode, ecma9BinaryProperties, ecma10BinaryProperties, ecma11BinaryProperties, ecma12BinaryProperties, ecma13BinaryProperties, ecma14BinaryProperties, unicodeBinaryProperties, ecma14BinaryPropertiesOfStrings, unicodeBinaryPropertiesOfStrings, unicodeGeneralCategoryValues, ecma9ScriptValues, ecma10ScriptValues, ecma11ScriptValues, ecma12ScriptValues, ecma13ScriptValues, ecma14ScriptValues, unicodeScriptValues, data, i, list, ecmaVersion, pp$1, BranchID$1, RegExpValidationState, CharSetNone, CharSetOk, CharSetString, Token$1, pp, INVALID_TEMPLATE_ESCAPE_ERROR, version$6;
2406
2406
  var init_acorn = __esm({ "../../node_modules/acorn/dist/acorn.mjs": (() => {
2407
2407
  astralIdentifierCodes = [
2408
2408
  509,
@@ -5688,7 +5688,7 @@ var init_acorn = __esm({ "../../node_modules/acorn/dist/acorn.mjs": (() => {
5688
5688
  if (scope.flags & (SCOPE_VAR | SCOPE_CLASS_FIELD_INIT | SCOPE_CLASS_STATIC_BLOCK) && !(scope.flags & SCOPE_ARROW)) return scope;
5689
5689
  }
5690
5690
  };
5691
- Node$1 = function Node$2(parser$3, pos, loc) {
5691
+ Node = function Node$1(parser$3, pos, loc) {
5692
5692
  this.type = "";
5693
5693
  this.start = pos;
5694
5694
  this.end = 0;
@@ -5698,10 +5698,10 @@ var init_acorn = __esm({ "../../node_modules/acorn/dist/acorn.mjs": (() => {
5698
5698
  };
5699
5699
  pp$2 = Parser.prototype;
5700
5700
  pp$2.startNode = function() {
5701
- return new Node$1(this, this.start, this.startLoc);
5701
+ return new Node(this, this.start, this.startLoc);
5702
5702
  };
5703
5703
  pp$2.startNodeAt = function(pos, loc) {
5704
- return new Node$1(this, pos, loc);
5704
+ return new Node(this, pos, loc);
5705
5705
  };
5706
5706
  pp$2.finishNode = function(node, type) {
5707
5707
  return finishNodeAt.call(this, node, type, this.lastTokEnd, this.lastTokEndLoc);
@@ -5710,7 +5710,7 @@ var init_acorn = __esm({ "../../node_modules/acorn/dist/acorn.mjs": (() => {
5710
5710
  return finishNodeAt.call(this, node, type, pos, loc);
5711
5711
  };
5712
5712
  pp$2.copyNode = function(node) {
5713
- var newNode = new Node$1(this, node.start, this.startLoc);
5713
+ var newNode = new Node(this, node.start, this.startLoc);
5714
5714
  for (var prop in node) newNode[prop] = node[prop];
5715
5715
  return newNode;
5716
5716
  };
@@ -7201,7 +7201,7 @@ var init_acorn = __esm({ "../../node_modules/acorn/dist/acorn.mjs": (() => {
7201
7201
  Position,
7202
7202
  SourceLocation,
7203
7203
  getLineInfo,
7204
- Node: Node$1,
7204
+ Node,
7205
7205
  TokenType,
7206
7206
  tokTypes: types$1,
7207
7207
  keywordTypes: keywords$3,
@@ -84186,103 +84186,10 @@ var require_lint_result_cache = /* @__PURE__ */ __commonJS({ "../../node_modules
84186
84186
  module.exports = LintResultCache$2;
84187
84187
  }) });
84188
84188
 
84189
- //#endregion
84190
- //#region ../../node_modules/yocto-queue/index.js
84191
- var require_yocto_queue = /* @__PURE__ */ __commonJS({ "../../node_modules/yocto-queue/index.js": ((exports, module) => {
84192
- var Node = class {
84193
- constructor(value$1) {
84194
- this.value = value$1;
84195
- this.next = void 0;
84196
- }
84197
- };
84198
- var Queue$1 = class {
84199
- constructor() {
84200
- this.clear();
84201
- }
84202
- enqueue(value$1) {
84203
- const node = new Node(value$1);
84204
- if (this._head) {
84205
- this._tail.next = node;
84206
- this._tail = node;
84207
- } else {
84208
- this._head = node;
84209
- this._tail = node;
84210
- }
84211
- this._size++;
84212
- }
84213
- dequeue() {
84214
- const current = this._head;
84215
- if (!current) return;
84216
- this._head = this._head.next;
84217
- this._size--;
84218
- return current.value;
84219
- }
84220
- clear() {
84221
- this._head = void 0;
84222
- this._tail = void 0;
84223
- this._size = 0;
84224
- }
84225
- get size() {
84226
- return this._size;
84227
- }
84228
- *[Symbol.iterator]() {
84229
- let current = this._head;
84230
- while (current) {
84231
- yield current.value;
84232
- current = current.next;
84233
- }
84234
- }
84235
- };
84236
- module.exports = Queue$1;
84237
- }) });
84238
-
84239
- //#endregion
84240
- //#region ../../node_modules/eslint/node_modules/p-limit/index.js
84241
- var require_p_limit = /* @__PURE__ */ __commonJS({ "../../node_modules/eslint/node_modules/p-limit/index.js": ((exports, module) => {
84242
- const Queue = require_yocto_queue();
84243
- const pLimit$1 = (concurrency) => {
84244
- if (!((Number.isInteger(concurrency) || concurrency === Infinity) && concurrency > 0)) throw new TypeError("Expected `concurrency` to be a number from 1 and up");
84245
- const queue = new Queue();
84246
- let activeCount = 0;
84247
- const next = () => {
84248
- activeCount--;
84249
- if (queue.size > 0) queue.dequeue()();
84250
- };
84251
- const run = async (fn, resolve$9, ...args) => {
84252
- activeCount++;
84253
- const result = (async () => fn(...args))();
84254
- resolve$9(result);
84255
- try {
84256
- await result;
84257
- } catch {}
84258
- next();
84259
- };
84260
- const enqueue = (fn, resolve$9, ...args) => {
84261
- queue.enqueue(run.bind(null, fn, resolve$9, ...args));
84262
- (async () => {
84263
- await Promise.resolve();
84264
- if (activeCount < concurrency && queue.size > 0) queue.dequeue()();
84265
- })();
84266
- };
84267
- const generator = (fn, ...args) => new Promise((resolve$9) => {
84268
- enqueue(fn, resolve$9, ...args);
84269
- });
84270
- Object.defineProperties(generator, {
84271
- activeCount: { get: () => activeCount },
84272
- pendingCount: { get: () => queue.size },
84273
- clearQueue: { value: () => {
84274
- queue.clear();
84275
- } }
84276
- });
84277
- return generator;
84278
- };
84279
- module.exports = pLimit$1;
84280
- }) });
84281
-
84282
84189
  //#endregion
84283
84190
  //#region ../../node_modules/eslint/node_modules/p-locate/index.js
84284
84191
  var require_p_locate = /* @__PURE__ */ __commonJS({ "../../node_modules/eslint/node_modules/p-locate/index.js": ((exports, module) => {
84285
- const pLimit = require_p_limit();
84192
+ const pLimit = __require("p-limit");
84286
84193
  var EndError = class extends Error {
84287
84194
  constructor(value$1) {
84288
84195
  super();
@@ -86736,22 +86643,22 @@ var require_jiti = /* @__PURE__ */ __commonJS({ "../../node_modules/jiti/dist/ji
86736
86643
  if (771 & scope.flags && !(16 & scope.flags)) return scope;
86737
86644
  }
86738
86645
  };
86739
- var Node$2 = function(parser$3, pos, loc) {
86646
+ var Node$1 = function(parser$3, pos, loc) {
86740
86647
  this.type = "", this.start = pos, this.end = 0, parser$3.options.locations && (this.loc = new SourceLocation$1(parser$3, loc)), parser$3.options.directSourceFile && (this.sourceFile = parser$3.options.directSourceFile), parser$3.options.ranges && (this.range = [pos, 0]);
86741
86648
  }, pp$2$1 = Parser$1.prototype;
86742
86649
  function finishNodeAt$1(node, type, pos, loc) {
86743
86650
  return node.type = type, node.end = pos, this.options.locations && (node.loc.end = loc), this.options.ranges && (node.range[1] = pos), node;
86744
86651
  }
86745
86652
  pp$2$1.startNode = function() {
86746
- return new Node$2(this, this.start, this.startLoc);
86653
+ return new Node$1(this, this.start, this.startLoc);
86747
86654
  }, pp$2$1.startNodeAt = function(pos, loc) {
86748
- return new Node$2(this, pos, loc);
86655
+ return new Node$1(this, pos, loc);
86749
86656
  }, pp$2$1.finishNode = function(node, type) {
86750
86657
  return finishNodeAt$1.call(this, node, type, this.lastTokEnd, this.lastTokEndLoc);
86751
86658
  }, pp$2$1.finishNodeAt = function(node, type, pos, loc) {
86752
86659
  return finishNodeAt$1.call(this, node, type, pos, loc);
86753
86660
  }, pp$2$1.copyNode = function(node) {
86754
- var newNode = new Node$2(this, node.start, this.startLoc);
86661
+ var newNode = new Node$1(this, node.start, this.startLoc);
86755
86662
  for (var prop in node) newNode[prop] = node[prop];
86756
86663
  return newNode;
86757
86664
  };
@@ -87611,7 +87518,7 @@ var require_jiti = /* @__PURE__ */ __commonJS({ "../../node_modules/jiti/dist/ji
87611
87518
  Position: Position$1,
87612
87519
  SourceLocation: SourceLocation$1,
87613
87520
  getLineInfo: getLineInfo$1,
87614
- Node: Node$2,
87521
+ Node: Node$1,
87615
87522
  TokenType: TokenType$1,
87616
87523
  tokTypes: types$1$1,
87617
87524
  keywordTypes: keywords$4,
@@ -104659,14 +104566,14 @@ var require_babel = /* @__PURE__ */ __commonJS({ "../../node_modules/jiti/dist/b
104659
104566
  this.shorthandAssignLoc = null, this.doubleProtoLoc = null, this.privateKeyLoc = null, this.optionalParametersLoc = null, this.voidPatternLoc = null;
104660
104567
  }
104661
104568
  }
104662
- class Node$2 {
104569
+ class Node$1 {
104663
104570
  constructor(parser$3, pos, loc) {
104664
104571
  this.type = "", this.start = pos, this.end = 0, this.loc = new SourceLocation$1(loc), 128 & (null == parser$3 ? void 0 : parser$3.optionFlags) && (this.range = [pos, 0]), null != parser$3 && parser$3.filename && (this.loc.filename = parser$3.filename);
104665
104572
  }
104666
104573
  }
104667
- const NodePrototype = Node$2.prototype;
104574
+ const NodePrototype = Node$1.prototype;
104668
104575
  NodePrototype.__clone = function() {
104669
- const newNode = new Node$2(void 0, this.start, this.loc.start), keys$2 = Object.keys(this);
104576
+ const newNode = new Node$1(void 0, this.start, this.loc.start), keys$2 = Object.keys(this);
104670
104577
  for (let i$1 = 0, length = keys$2.length; i$1 < length; i$1++) {
104671
104578
  const key = keys$2[i$1];
104672
104579
  "leadingComments" !== key && "trailingComments" !== key && "innerComments" !== key && (newNode[key] = this[key]);
@@ -104676,10 +104583,10 @@ var require_babel = /* @__PURE__ */ __commonJS({ "../../node_modules/jiti/dist/b
104676
104583
  class NodeUtils extends UtilParser {
104677
104584
  startNode() {
104678
104585
  const loc = this.state.startLoc;
104679
- return new Node$2(this, loc.index, loc);
104586
+ return new Node$1(this, loc.index, loc);
104680
104587
  }
104681
104588
  startNodeAt(loc) {
104682
- return new Node$2(this, loc.index, loc);
104589
+ return new Node$1(this, loc.index, loc);
104683
104590
  }
104684
104591
  startNodeAtNode(type) {
104685
104592
  return this.startNodeAt(type.loc.start);
@@ -128520,22 +128427,22 @@ var require_babel = /* @__PURE__ */ __commonJS({ "../../node_modules/jiti/dist/b
128520
128427
  if (771 & scope.flags && !(16 & scope.flags)) return scope;
128521
128428
  }
128522
128429
  };
128523
- var Node$2 = function(parser$3, pos, loc) {
128430
+ var Node$1 = function(parser$3, pos, loc) {
128524
128431
  this.type = "", this.start = pos, this.end = 0, parser$3.options.locations && (this.loc = new SourceLocation$1(parser$3, loc)), parser$3.options.directSourceFile && (this.sourceFile = parser$3.options.directSourceFile), parser$3.options.ranges && (this.range = [pos, 0]);
128525
128432
  }, pp$2$1 = Parser$1.prototype;
128526
128433
  function finishNodeAt$1(node, type, pos, loc) {
128527
128434
  return node.type = type, node.end = pos, this.options.locations && (node.loc.end = loc), this.options.ranges && (node.range[1] = pos), node;
128528
128435
  }
128529
128436
  pp$2$1.startNode = function() {
128530
- return new Node$2(this, this.start, this.startLoc);
128437
+ return new Node$1(this, this.start, this.startLoc);
128531
128438
  }, pp$2$1.startNodeAt = function(pos, loc) {
128532
- return new Node$2(this, pos, loc);
128439
+ return new Node$1(this, pos, loc);
128533
128440
  }, pp$2$1.finishNode = function(node, type) {
128534
128441
  return finishNodeAt$1.call(this, node, type, this.lastTokEnd, this.lastTokEndLoc);
128535
128442
  }, pp$2$1.finishNodeAt = function(node, type, pos, loc) {
128536
128443
  return finishNodeAt$1.call(this, node, type, pos, loc);
128537
128444
  }, pp$2$1.copyNode = function(node) {
128538
- var newNode = new Node$2(this, node.start, this.startLoc);
128445
+ var newNode = new Node$1(this, node.start, this.startLoc);
128539
128446
  for (var prop in node) newNode[prop] = node[prop];
128540
128447
  return newNode;
128541
128448
  };
@@ -129395,7 +129302,7 @@ var require_babel = /* @__PURE__ */ __commonJS({ "../../node_modules/jiti/dist/b
129395
129302
  Position: Position$1,
129396
129303
  SourceLocation: SourceLocation$1,
129397
129304
  getLineInfo: getLineInfo$1,
129398
- Node: Node$2,
129305
+ Node: Node$1,
129399
129306
  TokenType: TokenType$1,
129400
129307
  tokTypes: types$1$1,
129401
129308
  keywordTypes: keywords$4,
@@ -143714,7 +143621,6 @@ async function initOperatorClient(accessToken) {
143714
143621
  async function userAgentInterceptor() {
143715
143622
  const ua = await userAgent();
143716
143623
  return (next) => async (req) => {
143717
- if (req.stream) return await next(req);
143718
143624
  req.header.set("User-Agent", ua);
143719
143625
  return await next(req);
143720
143626
  };
@@ -143724,7 +143630,6 @@ async function userAgent() {
143724
143630
  }
143725
143631
  async function bearerTokenInterceptor(accessToken) {
143726
143632
  return (next) => async (req) => {
143727
- if (req.stream) return await next(req);
143728
143633
  req.header.set("Authorization", `Bearer ${accessToken}`);
143729
143634
  return await next(req);
143730
143635
  };
@@ -150046,4 +149951,4 @@ const resumeCommand = defineCommand({
150046
149951
 
150047
149952
  //#endregion
150048
149953
  export { PATScope, apply, applyCommand, commonArgs, createCommand, createWorkspace, deleteCommand, deleteWorkspace, executionsCommand, fetchAll, fetchLatestToken, fetchUserInfo, generate, generateCommand, generateUserTypes, getCommand, getCommand$1, getMachineUserToken, getOAuth2Client, getWorkflow, getWorkflowExecution, initOAuth2Client, initOperatorClient, jsonArgs, listCommand, listCommand$1, listCommand$2, listCommand$3, listMachineUsers, listOAuth2Clients, listWorkflowExecutions, listWorkflows, listWorkspaces, loadAccessToken, loadConfig, loadWorkspaceId, printData, readPackageJson, readPlatformConfig, remove, removeCommand, resumeCommand, resumeWorkflow, show, showCommand, startCommand, startWorkflow, tokenCommand, withCommonArgs, writePlatformConfig };
150049
- //# sourceMappingURL=resume-ChDChtAZ.mjs.map
149954
+ //# sourceMappingURL=resume-8Y9mmXHa.mjs.map