@botpress/api 0.19.1 → 0.19.3

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/dist/index.js CHANGED
@@ -36184,9 +36184,9 @@ var require_src2 = __commonJS({
36184
36184
  }
36185
36185
  });
36186
36186
 
36187
- // ../../node_modules/.pnpm/follow-redirects@1.15.4/node_modules/follow-redirects/debug.js
36187
+ // ../../node_modules/.pnpm/follow-redirects@1.15.6/node_modules/follow-redirects/debug.js
36188
36188
  var require_debug = __commonJS({
36189
- "../../node_modules/.pnpm/follow-redirects@1.15.4/node_modules/follow-redirects/debug.js"(exports, module2) {
36189
+ "../../node_modules/.pnpm/follow-redirects@1.15.6/node_modules/follow-redirects/debug.js"(exports, module2) {
36190
36190
  var debug;
36191
36191
  module2.exports = function() {
36192
36192
  if (!debug) {
@@ -36204,9 +36204,9 @@ var require_debug = __commonJS({
36204
36204
  }
36205
36205
  });
36206
36206
 
36207
- // ../../node_modules/.pnpm/follow-redirects@1.15.4/node_modules/follow-redirects/index.js
36207
+ // ../../node_modules/.pnpm/follow-redirects@1.15.6/node_modules/follow-redirects/index.js
36208
36208
  var require_follow_redirects = __commonJS({
36209
- "../../node_modules/.pnpm/follow-redirects@1.15.4/node_modules/follow-redirects/index.js"(exports, module2) {
36209
+ "../../node_modules/.pnpm/follow-redirects@1.15.6/node_modules/follow-redirects/index.js"(exports, module2) {
36210
36210
  var url2 = require("url");
36211
36211
  var URL4 = url2.URL;
36212
36212
  var http2 = require("http");
@@ -36230,7 +36230,8 @@ var require_follow_redirects = __commonJS({
36230
36230
  "port",
36231
36231
  "protocol",
36232
36232
  "query",
36233
- "search"
36233
+ "search",
36234
+ "hash"
36234
36235
  ];
36235
36236
  var events = ["abort", "aborted", "connect", "error", "socket", "timeout"];
36236
36237
  var eventHandlers = /* @__PURE__ */ Object.create(null);
@@ -36516,7 +36517,7 @@ var require_follow_redirects = __commonJS({
36516
36517
  this._isRedirect = true;
36517
36518
  spreadUrlObject(redirectUrl, this._options);
36518
36519
  if (redirectUrl.protocol !== currentUrlParts.protocol && redirectUrl.protocol !== "https:" || redirectUrl.host !== currentHost && !isSubdomain(redirectUrl.host, currentHost)) {
36519
- removeMatchingHeaders(/^(?:authorization|cookie)$/i, this._options.headers);
36520
+ removeMatchingHeaders(/^(?:(?:proxy-)?authorization|cookie)$/i, this._options.headers);
36520
36521
  }
36521
36522
  if (isFunction2(beforeRedirect)) {
36522
36523
  var responseDetails = {
@@ -259140,7 +259141,7 @@ __export(src_exports, {
259140
259141
  });
259141
259142
  module.exports = __toCommonJS(src_exports);
259142
259143
 
259143
- // ../../node_modules/.pnpm/@bpinternal+opapi@0.8.0_openapi-types@12.1.3/node_modules/@bpinternal/opapi/dist/index.mjs
259144
+ // ../../node_modules/.pnpm/@bpinternal+opapi@0.8.1_openapi-types@12.1.3/node_modules/@bpinternal/opapi/dist/index.mjs
259144
259145
  var import_zod_openapi = __toESM(require_src(), 1);
259145
259146
  var import_zod_openapi2 = __toESM(require_src(), 1);
259146
259147
  var import_chalk = __toESM(require_source(), 1);
@@ -259150,12 +259151,12 @@ var import_fs = require("fs");
259150
259151
  var import_path = require("path");
259151
259152
  var import_winston = __toESM(require_winston(), 1);
259152
259153
 
259153
- // ../../node_modules/.pnpm/radash@12.0.0/node_modules/radash/dist/esm/array.mjs
259154
+ // ../../node_modules/.pnpm/radash@12.1.0/node_modules/radash/dist/esm/array.mjs
259154
259155
  var sift = (list2) => {
259155
259156
  return list2?.filter((x) => !!x) ?? [];
259156
259157
  };
259157
259158
 
259158
- // ../../node_modules/.pnpm/radash@12.0.0/node_modules/radash/dist/esm/string.mjs
259159
+ // ../../node_modules/.pnpm/radash@12.1.0/node_modules/radash/dist/esm/string.mjs
259159
259160
  var capitalize = (str2) => {
259160
259161
  if (!str2 || str2.length === 0)
259161
259162
  return "";
@@ -259184,19 +259185,19 @@ var title = (str2) => {
259184
259185
  return str2.split(/(?=[A-Z])|[\.\-\s_]/).map((s) => s.trim()).filter((s) => !!s).map((s) => capitalize(s.toLowerCase())).join(" ");
259185
259186
  };
259186
259187
 
259187
- // ../../node_modules/.pnpm/@bpinternal+opapi@0.8.0_openapi-types@12.1.3/node_modules/@bpinternal/opapi/dist/index.mjs
259188
+ // ../../node_modules/.pnpm/@bpinternal+opapi@0.8.1_openapi-types@12.1.3/node_modules/@bpinternal/opapi/dist/index.mjs
259188
259189
  var import_decompress = __toESM(require_decompress(), 1);
259189
259190
  var import_fs2 = __toESM(require("fs"), 1);
259190
259191
  var import_promises = __toESM(require("fs/promises"), 1);
259191
259192
 
259192
- // ../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/helpers/bind.js
259193
+ // ../../node_modules/.pnpm/axios@1.6.8/node_modules/axios/lib/helpers/bind.js
259193
259194
  function bind(fn, thisArg) {
259194
259195
  return function wrap() {
259195
259196
  return fn.apply(thisArg, arguments);
259196
259197
  };
259197
259198
  }
259198
259199
 
259199
- // ../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/utils.js
259200
+ // ../../node_modules/.pnpm/axios@1.6.8/node_modules/axios/lib/utils.js
259200
259201
  var { toString } = Object.prototype;
259201
259202
  var { getPrototypeOf } = Object;
259202
259203
  var kindOf = ((cache) => (thing) => {
@@ -259553,7 +259554,7 @@ var utils_default = {
259553
259554
  isThenable
259554
259555
  };
259555
259556
 
259556
- // ../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/core/AxiosError.js
259557
+ // ../../node_modules/.pnpm/axios@1.6.8/node_modules/axios/lib/core/AxiosError.js
259557
259558
  function AxiosError(message, code, config, request, response) {
259558
259559
  Error.call(this);
259559
259560
  if (Error.captureStackTrace) {
@@ -259620,11 +259621,11 @@ AxiosError.from = (error2, code, config, request, response, customProps) => {
259620
259621
  };
259621
259622
  var AxiosError_default = AxiosError;
259622
259623
 
259623
- // ../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/platform/node/classes/FormData.js
259624
+ // ../../node_modules/.pnpm/axios@1.6.8/node_modules/axios/lib/platform/node/classes/FormData.js
259624
259625
  var import_form_data = __toESM(require_form_data(), 1);
259625
259626
  var FormData_default = import_form_data.default;
259626
259627
 
259627
- // ../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/helpers/toFormData.js
259628
+ // ../../node_modules/.pnpm/axios@1.6.8/node_modules/axios/lib/helpers/toFormData.js
259628
259629
  function isVisitable(thing) {
259629
259630
  return utils_default.isPlainObject(thing) || utils_default.isArray(thing);
259630
259631
  }
@@ -259738,7 +259739,7 @@ function toFormData(obj, formData, options) {
259738
259739
  }
259739
259740
  var toFormData_default = toFormData;
259740
259741
 
259741
- // ../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/helpers/AxiosURLSearchParams.js
259742
+ // ../../node_modules/.pnpm/axios@1.6.8/node_modules/axios/lib/helpers/AxiosURLSearchParams.js
259742
259743
  function encode(str2) {
259743
259744
  const charMap = {
259744
259745
  "!": "%21",
@@ -259771,7 +259772,7 @@ prototype2.toString = function toString2(encoder) {
259771
259772
  };
259772
259773
  var AxiosURLSearchParams_default = AxiosURLSearchParams;
259773
259774
 
259774
- // ../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/helpers/buildURL.js
259775
+ // ../../node_modules/.pnpm/axios@1.6.8/node_modules/axios/lib/helpers/buildURL.js
259775
259776
  function encode2(val) {
259776
259777
  return encodeURIComponent(val).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]");
259777
259778
  }
@@ -259797,7 +259798,7 @@ function buildURL(url2, params, options) {
259797
259798
  return url2;
259798
259799
  }
259799
259800
 
259800
- // ../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/core/InterceptorManager.js
259801
+ // ../../node_modules/.pnpm/axios@1.6.8/node_modules/axios/lib/core/InterceptorManager.js
259801
259802
  var InterceptorManager = class {
259802
259803
  constructor() {
259803
259804
  this.handlers = [];
@@ -259831,18 +259832,18 @@ var InterceptorManager = class {
259831
259832
  };
259832
259833
  var InterceptorManager_default = InterceptorManager;
259833
259834
 
259834
- // ../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/defaults/transitional.js
259835
+ // ../../node_modules/.pnpm/axios@1.6.8/node_modules/axios/lib/defaults/transitional.js
259835
259836
  var transitional_default = {
259836
259837
  silentJSONParsing: true,
259837
259838
  forcedJSONParsing: true,
259838
259839
  clarifyTimeoutError: false
259839
259840
  };
259840
259841
 
259841
- // ../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/platform/node/classes/URLSearchParams.js
259842
+ // ../../node_modules/.pnpm/axios@1.6.8/node_modules/axios/lib/platform/node/classes/URLSearchParams.js
259842
259843
  var import_url = __toESM(require("url"), 1);
259843
259844
  var URLSearchParams_default = import_url.default.URLSearchParams;
259844
259845
 
259845
- // ../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/platform/node/index.js
259846
+ // ../../node_modules/.pnpm/axios@1.6.8/node_modules/axios/lib/platform/node/index.js
259846
259847
  var node_default = {
259847
259848
  isNode: true,
259848
259849
  classes: {
@@ -259853,7 +259854,7 @@ var node_default = {
259853
259854
  protocols: ["http", "https", "file", "data"]
259854
259855
  };
259855
259856
 
259856
- // ../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/platform/common/utils.js
259857
+ // ../../node_modules/.pnpm/axios@1.6.8/node_modules/axios/lib/platform/common/utils.js
259857
259858
  var utils_exports = {};
259858
259859
  __export(utils_exports, {
259859
259860
  hasBrowserEnv: () => hasBrowserEnv,
@@ -259868,13 +259869,13 @@ var hasStandardBrowserWebWorkerEnv = (() => {
259868
259869
  return typeof WorkerGlobalScope !== "undefined" && self instanceof WorkerGlobalScope && typeof self.importScripts === "function";
259869
259870
  })();
259870
259871
 
259871
- // ../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/platform/index.js
259872
+ // ../../node_modules/.pnpm/axios@1.6.8/node_modules/axios/lib/platform/index.js
259872
259873
  var platform_default = {
259873
259874
  ...utils_exports,
259874
259875
  ...node_default
259875
259876
  };
259876
259877
 
259877
- // ../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/helpers/toURLEncodedForm.js
259878
+ // ../../node_modules/.pnpm/axios@1.6.8/node_modules/axios/lib/helpers/toURLEncodedForm.js
259878
259879
  function toURLEncodedForm(data, options) {
259879
259880
  return toFormData_default(data, new platform_default.classes.URLSearchParams(), Object.assign({
259880
259881
  visitor: function(value, key, path2, helpers) {
@@ -259887,7 +259888,7 @@ function toURLEncodedForm(data, options) {
259887
259888
  }, options));
259888
259889
  }
259889
259890
 
259890
- // ../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/helpers/formDataToJSON.js
259891
+ // ../../node_modules/.pnpm/axios@1.6.8/node_modules/axios/lib/helpers/formDataToJSON.js
259891
259892
  function parsePropPath(name) {
259892
259893
  return utils_default.matchAll(/\w+|\[(\w*)]/g, name).map((match) => {
259893
259894
  return match[0] === "[]" ? "" : match[1] || match[0];
@@ -259941,7 +259942,7 @@ function formDataToJSON(formData) {
259941
259942
  }
259942
259943
  var formDataToJSON_default = formDataToJSON;
259943
259944
 
259944
- // ../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/defaults/index.js
259945
+ // ../../node_modules/.pnpm/axios@1.6.8/node_modules/axios/lib/defaults/index.js
259945
259946
  function stringifySafely(rawValue, parser, encoder) {
259946
259947
  if (utils_default.isString(rawValue)) {
259947
259948
  try {
@@ -260043,7 +260044,7 @@ utils_default.forEach(["delete", "get", "head", "post", "put", "patch"], (method
260043
260044
  });
260044
260045
  var defaults_default = defaults;
260045
260046
 
260046
- // ../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/helpers/parseHeaders.js
260047
+ // ../../node_modules/.pnpm/axios@1.6.8/node_modules/axios/lib/helpers/parseHeaders.js
260047
260048
  var ignoreDuplicateOf = utils_default.toObjectSet([
260048
260049
  "age",
260049
260050
  "authorization",
@@ -260088,7 +260089,7 @@ var parseHeaders_default = (rawHeaders) => {
260088
260089
  return parsed;
260089
260090
  };
260090
260091
 
260091
- // ../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/core/AxiosHeaders.js
260092
+ // ../../node_modules/.pnpm/axios@1.6.8/node_modules/axios/lib/core/AxiosHeaders.js
260092
260093
  var $internals = Symbol("internals");
260093
260094
  function normalizeHeader(header) {
260094
260095
  return header && String(header).trim().toLowerCase();
@@ -260306,7 +260307,7 @@ utils_default.reduceDescriptors(AxiosHeaders.prototype, ({ value }, key) => {
260306
260307
  utils_default.freezeMethods(AxiosHeaders);
260307
260308
  var AxiosHeaders_default = AxiosHeaders;
260308
260309
 
260309
- // ../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/core/transformData.js
260310
+ // ../../node_modules/.pnpm/axios@1.6.8/node_modules/axios/lib/core/transformData.js
260310
260311
  function transformData(fns, response) {
260311
260312
  const config = this || defaults_default;
260312
260313
  const context = response || config;
@@ -260319,12 +260320,12 @@ function transformData(fns, response) {
260319
260320
  return data;
260320
260321
  }
260321
260322
 
260322
- // ../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/cancel/isCancel.js
260323
+ // ../../node_modules/.pnpm/axios@1.6.8/node_modules/axios/lib/cancel/isCancel.js
260323
260324
  function isCancel(value) {
260324
260325
  return !!(value && value.__CANCEL__);
260325
260326
  }
260326
260327
 
260327
- // ../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/cancel/CanceledError.js
260328
+ // ../../node_modules/.pnpm/axios@1.6.8/node_modules/axios/lib/cancel/CanceledError.js
260328
260329
  function CanceledError(message, config, request) {
260329
260330
  AxiosError_default.call(this, message == null ? "canceled" : message, AxiosError_default.ERR_CANCELED, config, request);
260330
260331
  this.name = "CanceledError";
@@ -260334,7 +260335,7 @@ utils_default.inherits(CanceledError, AxiosError_default, {
260334
260335
  });
260335
260336
  var CanceledError_default = CanceledError;
260336
260337
 
260337
- // ../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/core/settle.js
260338
+ // ../../node_modules/.pnpm/axios@1.6.8/node_modules/axios/lib/core/settle.js
260338
260339
  function settle(resolve, reject, response) {
260339
260340
  const validateStatus2 = response.config.validateStatus;
260340
260341
  if (!response.status || !validateStatus2 || validateStatus2(response.status)) {
@@ -260350,17 +260351,17 @@ function settle(resolve, reject, response) {
260350
260351
  }
260351
260352
  }
260352
260353
 
260353
- // ../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/helpers/isAbsoluteURL.js
260354
+ // ../../node_modules/.pnpm/axios@1.6.8/node_modules/axios/lib/helpers/isAbsoluteURL.js
260354
260355
  function isAbsoluteURL(url2) {
260355
260356
  return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(url2);
260356
260357
  }
260357
260358
 
260358
- // ../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/helpers/combineURLs.js
260359
+ // ../../node_modules/.pnpm/axios@1.6.8/node_modules/axios/lib/helpers/combineURLs.js
260359
260360
  function combineURLs(baseURL, relativeURL) {
260360
260361
  return relativeURL ? baseURL.replace(/\/?\/$/, "") + "/" + relativeURL.replace(/^\/+/, "") : baseURL;
260361
260362
  }
260362
260363
 
260363
- // ../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/core/buildFullPath.js
260364
+ // ../../node_modules/.pnpm/axios@1.6.8/node_modules/axios/lib/core/buildFullPath.js
260364
260365
  function buildFullPath(baseURL, requestedURL) {
260365
260366
  if (baseURL && !isAbsoluteURL(requestedURL)) {
260366
260367
  return combineURLs(baseURL, requestedURL);
@@ -260368,7 +260369,7 @@ function buildFullPath(baseURL, requestedURL) {
260368
260369
  return requestedURL;
260369
260370
  }
260370
260371
 
260371
- // ../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/adapters/http.js
260372
+ // ../../node_modules/.pnpm/axios@1.6.8/node_modules/axios/lib/adapters/http.js
260372
260373
  var import_proxy_from_env = __toESM(require_proxy_from_env(), 1);
260373
260374
  var import_http = __toESM(require("http"), 1);
260374
260375
  var import_https = __toESM(require("https"), 1);
@@ -260376,16 +260377,16 @@ var import_util2 = __toESM(require("util"), 1);
260376
260377
  var import_follow_redirects = __toESM(require_follow_redirects(), 1);
260377
260378
  var import_zlib = __toESM(require("zlib"), 1);
260378
260379
 
260379
- // ../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/env/data.js
260380
- var VERSION = "1.6.7";
260380
+ // ../../node_modules/.pnpm/axios@1.6.8/node_modules/axios/lib/env/data.js
260381
+ var VERSION = "1.6.8";
260381
260382
 
260382
- // ../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/helpers/parseProtocol.js
260383
+ // ../../node_modules/.pnpm/axios@1.6.8/node_modules/axios/lib/helpers/parseProtocol.js
260383
260384
  function parseProtocol(url2) {
260384
260385
  const match = /^([-+\w]{1,25})(:?\/\/|:)/.exec(url2);
260385
260386
  return match && match[1] || "";
260386
260387
  }
260387
260388
 
260388
- // ../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/helpers/fromDataURI.js
260389
+ // ../../node_modules/.pnpm/axios@1.6.8/node_modules/axios/lib/helpers/fromDataURI.js
260389
260390
  var DATA_URL_PATTERN = /^(?:([^;]+);)?(?:[^;]+;)?(base64|),([\s\S]*)$/;
260390
260391
  function fromDataURI(uri, asBlob, options) {
260391
260392
  const _Blob = options && options.Blob || platform_default.classes.Blob;
@@ -260414,13 +260415,13 @@ function fromDataURI(uri, asBlob, options) {
260414
260415
  throw new AxiosError_default("Unsupported protocol " + protocol, AxiosError_default.ERR_NOT_SUPPORT);
260415
260416
  }
260416
260417
 
260417
- // ../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/adapters/http.js
260418
+ // ../../node_modules/.pnpm/axios@1.6.8/node_modules/axios/lib/adapters/http.js
260418
260419
  var import_stream4 = __toESM(require("stream"), 1);
260419
260420
 
260420
- // ../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/helpers/AxiosTransformStream.js
260421
+ // ../../node_modules/.pnpm/axios@1.6.8/node_modules/axios/lib/helpers/AxiosTransformStream.js
260421
260422
  var import_stream = __toESM(require("stream"), 1);
260422
260423
 
260423
- // ../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/helpers/throttle.js
260424
+ // ../../node_modules/.pnpm/axios@1.6.8/node_modules/axios/lib/helpers/throttle.js
260424
260425
  function throttle(fn, freq) {
260425
260426
  let timestamp2 = 0;
260426
260427
  const threshold = 1e3 / freq;
@@ -260446,7 +260447,7 @@ function throttle(fn, freq) {
260446
260447
  }
260447
260448
  var throttle_default = throttle;
260448
260449
 
260449
- // ../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/helpers/speedometer.js
260450
+ // ../../node_modules/.pnpm/axios@1.6.8/node_modules/axios/lib/helpers/speedometer.js
260450
260451
  function speedometer(samplesCount, min2) {
260451
260452
  samplesCount = samplesCount || 10;
260452
260453
  const bytes = new Array(samplesCount);
@@ -260482,7 +260483,7 @@ function speedometer(samplesCount, min2) {
260482
260483
  }
260483
260484
  var speedometer_default = speedometer;
260484
260485
 
260485
- // ../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/helpers/AxiosTransformStream.js
260486
+ // ../../node_modules/.pnpm/axios@1.6.8/node_modules/axios/lib/helpers/AxiosTransformStream.js
260486
260487
  var kInternals = Symbol("internals");
260487
260488
  var AxiosTransformStream = class extends import_stream.default.Transform {
260488
260489
  constructor(options) {
@@ -260632,14 +260633,14 @@ var AxiosTransformStream = class extends import_stream.default.Transform {
260632
260633
  };
260633
260634
  var AxiosTransformStream_default = AxiosTransformStream;
260634
260635
 
260635
- // ../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/adapters/http.js
260636
- var import_events = __toESM(require("events"), 1);
260636
+ // ../../node_modules/.pnpm/axios@1.6.8/node_modules/axios/lib/adapters/http.js
260637
+ var import_events = require("events");
260637
260638
 
260638
- // ../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/helpers/formDataToStream.js
260639
+ // ../../node_modules/.pnpm/axios@1.6.8/node_modules/axios/lib/helpers/formDataToStream.js
260639
260640
  var import_util = require("util");
260640
260641
  var import_stream2 = require("stream");
260641
260642
 
260642
- // ../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/helpers/readBlob.js
260643
+ // ../../node_modules/.pnpm/axios@1.6.8/node_modules/axios/lib/helpers/readBlob.js
260643
260644
  var { asyncIterator } = Symbol;
260644
260645
  var readBlob = async function* (blob) {
260645
260646
  if (blob.stream) {
@@ -260654,7 +260655,7 @@ var readBlob = async function* (blob) {
260654
260655
  };
260655
260656
  var readBlob_default = readBlob;
260656
260657
 
260657
- // ../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/helpers/formDataToStream.js
260658
+ // ../../node_modules/.pnpm/axios@1.6.8/node_modules/axios/lib/helpers/formDataToStream.js
260658
260659
  var BOUNDARY_ALPHABET = utils_default.ALPHABET.ALPHA_DIGIT + "-_";
260659
260660
  var textEncoder = new import_util.TextEncoder();
260660
260661
  var CRLF = "\r\n";
@@ -260733,7 +260734,7 @@ var formDataToStream = (form, headersHandler, options) => {
260733
260734
  };
260734
260735
  var formDataToStream_default = formDataToStream;
260735
260736
 
260736
- // ../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js
260737
+ // ../../node_modules/.pnpm/axios@1.6.8/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js
260737
260738
  var import_stream3 = __toESM(require("stream"), 1);
260738
260739
  var ZlibHeaderTransformStream = class extends import_stream3.default.Transform {
260739
260740
  __transform(chunk, encoding, callback) {
@@ -260755,7 +260756,7 @@ var ZlibHeaderTransformStream = class extends import_stream3.default.Transform {
260755
260756
  };
260756
260757
  var ZlibHeaderTransformStream_default = ZlibHeaderTransformStream;
260757
260758
 
260758
- // ../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/helpers/callbackify.js
260759
+ // ../../node_modules/.pnpm/axios@1.6.8/node_modules/axios/lib/helpers/callbackify.js
260759
260760
  var callbackify = (fn, reducer) => {
260760
260761
  return utils_default.isAsyncFn(fn) ? function(...args) {
260761
260762
  const cb = args.pop();
@@ -260770,7 +260771,7 @@ var callbackify = (fn, reducer) => {
260770
260771
  };
260771
260772
  var callbackify_default = callbackify;
260772
260773
 
260773
- // ../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/adapters/http.js
260774
+ // ../../node_modules/.pnpm/axios@1.6.8/node_modules/axios/lib/adapters/http.js
260774
260775
  var zlibOptions = {
260775
260776
  flush: import_zlib.default.constants.Z_SYNC_FLUSH,
260776
260777
  finishFlush: import_zlib.default.constants.Z_SYNC_FLUSH
@@ -260878,7 +260879,7 @@ var http_default = isHttpAdapterSupported && function httpAdapter(config) {
260878
260879
  });
260879
260880
  };
260880
260881
  }
260881
- const emitter = new import_events.default();
260882
+ const emitter = new import_events.EventEmitter();
260882
260883
  const onFinished = () => {
260883
260884
  if (config.cancelToken) {
260884
260885
  config.cancelToken.unsubscribe(abort);
@@ -261269,7 +261270,7 @@ var http_default = isHttpAdapterSupported && function httpAdapter(config) {
261269
261270
  });
261270
261271
  };
261271
261272
 
261272
- // ../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/helpers/cookies.js
261273
+ // ../../node_modules/.pnpm/axios@1.6.8/node_modules/axios/lib/helpers/cookies.js
261273
261274
  var cookies_default = platform_default.hasStandardBrowserEnv ? {
261274
261275
  write(name, value, expires, path2, domain, secure) {
261275
261276
  const cookie = [name + "=" + encodeURIComponent(value)];
@@ -261296,7 +261297,7 @@ var cookies_default = platform_default.hasStandardBrowserEnv ? {
261296
261297
  }
261297
261298
  };
261298
261299
 
261299
- // ../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/helpers/isURLSameOrigin.js
261300
+ // ../../node_modules/.pnpm/axios@1.6.8/node_modules/axios/lib/helpers/isURLSameOrigin.js
261300
261301
  var isURLSameOrigin_default = platform_default.hasStandardBrowserEnv ? function standardBrowserEnv() {
261301
261302
  const msie = /(msie|trident)/i.test(navigator.userAgent);
261302
261303
  const urlParsingNode = document.createElement("a");
@@ -261330,7 +261331,7 @@ var isURLSameOrigin_default = platform_default.hasStandardBrowserEnv ? function
261330
261331
  };
261331
261332
  }();
261332
261333
 
261333
- // ../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/adapters/xhr.js
261334
+ // ../../node_modules/.pnpm/axios@1.6.8/node_modules/axios/lib/adapters/xhr.js
261334
261335
  function progressEventReducer(listener, isDownloadStream) {
261335
261336
  let bytesNotified = 0;
261336
261337
  const _speedometer = speedometer_default(50, 250);
@@ -261500,7 +261501,7 @@ var xhr_default = isXHRAdapterSupported && function(config) {
261500
261501
  });
261501
261502
  };
261502
261503
 
261503
- // ../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/adapters/adapters.js
261504
+ // ../../node_modules/.pnpm/axios@1.6.8/node_modules/axios/lib/adapters/adapters.js
261504
261505
  var knownAdapters = {
261505
261506
  http: http_default,
261506
261507
  xhr: xhr_default
@@ -261553,7 +261554,7 @@ var adapters_default = {
261553
261554
  adapters: knownAdapters
261554
261555
  };
261555
261556
 
261556
- // ../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/core/dispatchRequest.js
261557
+ // ../../node_modules/.pnpm/axios@1.6.8/node_modules/axios/lib/core/dispatchRequest.js
261557
261558
  function throwIfCancellationRequested(config) {
261558
261559
  if (config.cancelToken) {
261559
261560
  config.cancelToken.throwIfRequested();
@@ -261598,8 +261599,8 @@ function dispatchRequest(config) {
261598
261599
  });
261599
261600
  }
261600
261601
 
261601
- // ../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/core/mergeConfig.js
261602
- var headersToObject = (thing) => thing instanceof AxiosHeaders_default ? thing.toJSON() : thing;
261602
+ // ../../node_modules/.pnpm/axios@1.6.8/node_modules/axios/lib/core/mergeConfig.js
261603
+ var headersToObject = (thing) => thing instanceof AxiosHeaders_default ? { ...thing } : thing;
261603
261604
  function mergeConfig(config1, config2) {
261604
261605
  config2 = config2 || {};
261605
261606
  const config = {};
@@ -261678,7 +261679,7 @@ function mergeConfig(config1, config2) {
261678
261679
  return config;
261679
261680
  }
261680
261681
 
261681
- // ../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/helpers/validator.js
261682
+ // ../../node_modules/.pnpm/axios@1.6.8/node_modules/axios/lib/helpers/validator.js
261682
261683
  var validators = {};
261683
261684
  ["object", "boolean", "number", "function", "string", "symbol"].forEach((type2, i) => {
261684
261685
  validators[type2] = function validator(thing) {
@@ -261736,7 +261737,7 @@ var validator_default = {
261736
261737
  validators
261737
261738
  };
261738
261739
 
261739
- // ../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/core/Axios.js
261740
+ // ../../node_modules/.pnpm/axios@1.6.8/node_modules/axios/lib/core/Axios.js
261740
261741
  var validators2 = validator_default.validators;
261741
261742
  var Axios = class {
261742
261743
  constructor(instanceConfig) {
@@ -261888,7 +261889,7 @@ utils_default.forEach(["post", "put", "patch"], function forEachMethodWithData(m
261888
261889
  });
261889
261890
  var Axios_default = Axios;
261890
261891
 
261891
- // ../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/cancel/CancelToken.js
261892
+ // ../../node_modules/.pnpm/axios@1.6.8/node_modules/axios/lib/cancel/CancelToken.js
261892
261893
  var CancelToken = class {
261893
261894
  constructor(executor) {
261894
261895
  if (typeof executor !== "function") {
@@ -261965,19 +261966,19 @@ var CancelToken = class {
261965
261966
  };
261966
261967
  var CancelToken_default = CancelToken;
261967
261968
 
261968
- // ../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/helpers/spread.js
261969
+ // ../../node_modules/.pnpm/axios@1.6.8/node_modules/axios/lib/helpers/spread.js
261969
261970
  function spread(callback) {
261970
261971
  return function wrap(arr) {
261971
261972
  return callback.apply(null, arr);
261972
261973
  };
261973
261974
  }
261974
261975
 
261975
- // ../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/helpers/isAxiosError.js
261976
+ // ../../node_modules/.pnpm/axios@1.6.8/node_modules/axios/lib/helpers/isAxiosError.js
261976
261977
  function isAxiosError(payload) {
261977
261978
  return utils_default.isObject(payload) && payload.isAxiosError === true;
261978
261979
  }
261979
261980
 
261980
- // ../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/helpers/HttpStatusCode.js
261981
+ // ../../node_modules/.pnpm/axios@1.6.8/node_modules/axios/lib/helpers/HttpStatusCode.js
261981
261982
  var HttpStatusCode = {
261982
261983
  Continue: 100,
261983
261984
  SwitchingProtocols: 101,
@@ -262048,7 +262049,7 @@ Object.entries(HttpStatusCode).forEach(([key, value]) => {
262048
262049
  });
262049
262050
  var HttpStatusCode_default = HttpStatusCode;
262050
262051
 
262051
- // ../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/lib/axios.js
262052
+ // ../../node_modules/.pnpm/axios@1.6.8/node_modules/axios/lib/axios.js
262052
262053
  function createInstance(defaultConfig) {
262053
262054
  const context = new Axios_default(defaultConfig);
262054
262055
  const instance = bind(Axios_default.prototype.request, context);
@@ -262081,7 +262082,7 @@ axios.HttpStatusCode = HttpStatusCode_default;
262081
262082
  axios.default = axios;
262082
262083
  var axios_default = axios;
262083
262084
 
262084
- // ../../node_modules/.pnpm/axios@1.6.7/node_modules/axios/index.js
262085
+ // ../../node_modules/.pnpm/axios@1.6.8/node_modules/axios/index.js
262085
262086
  var {
262086
262087
  Axios: Axios2,
262087
262088
  AxiosError: AxiosError2,
@@ -262101,10 +262102,10 @@ var {
262101
262102
  mergeConfig: mergeConfig2
262102
262103
  } = axios_default;
262103
262104
 
262104
- // ../../node_modules/.pnpm/openapi-typescript@6.7.4/node_modules/openapi-typescript/dist/index.js
262105
+ // ../../node_modules/.pnpm/openapi-typescript@6.7.5/node_modules/openapi-typescript/dist/index.js
262105
262106
  var import_node_url2 = require("node:url");
262106
262107
 
262107
- // ../../node_modules/.pnpm/openapi-typescript@6.7.4/node_modules/openapi-typescript/dist/load.js
262108
+ // ../../node_modules/.pnpm/openapi-typescript@6.7.5/node_modules/openapi-typescript/dist/load.js
262108
262109
  var import_node_fs = __toESM(require("node:fs"), 1);
262109
262110
  var import_node_path2 = __toESM(require("node:path"), 1);
262110
262111
  var import_node_stream = require("node:stream");
@@ -264793,7 +264794,7 @@ var jsYaml = {
264793
264794
  };
264794
264795
  var js_yaml_default = jsYaml;
264795
264796
 
264796
- // ../../node_modules/.pnpm/openapi-typescript@6.7.4/node_modules/openapi-typescript/dist/utils.js
264797
+ // ../../node_modules/.pnpm/openapi-typescript@6.7.5/node_modules/openapi-typescript/dist/utils.js
264797
264798
  var import_ansi_colors = __toESM(require_ansi_colors(), 1);
264798
264799
  var import_node_path = require("node:path");
264799
264800
 
@@ -264923,7 +264924,7 @@ var supportsColor = {
264923
264924
  };
264924
264925
  var supports_color_default = supportsColor;
264925
264926
 
264926
- // ../../node_modules/.pnpm/openapi-typescript@6.7.4/node_modules/openapi-typescript/dist/utils.js
264927
+ // ../../node_modules/.pnpm/openapi-typescript@6.7.5/node_modules/openapi-typescript/dist/utils.js
264927
264928
  var import_undici = __toESM(require_undici(), 1);
264928
264929
  if (!supports_color_default.stdout || supports_color_default.stdout.hasBasic === false)
264929
264930
  import_ansi_colors.default.enabled = false;
@@ -265126,8 +265127,11 @@ function getDefaultFetch() {
265126
265127
  }
265127
265128
  return globalFetch;
265128
265129
  }
265130
+ function getParametersArray(parameters = []) {
265131
+ return Array.isArray(parameters) ? parameters : [parameters];
265132
+ }
265129
265133
 
265130
- // ../../node_modules/.pnpm/openapi-typescript@6.7.4/node_modules/openapi-typescript/dist/load.js
265134
+ // ../../node_modules/.pnpm/openapi-typescript@6.7.5/node_modules/openapi-typescript/dist/load.js
265131
265135
  var EXT_RE = /\.(yaml|yml|json)#?\/?/i;
265132
265136
  var VIRTUAL_JSON_URL = `file:///_json`;
265133
265137
  function parseSchema(source) {
@@ -265440,12 +265444,12 @@ function getHintFromSchemaObject(path2, external) {
265440
265444
  return "SchemaObject";
265441
265445
  }
265442
265446
 
265443
- // ../../node_modules/.pnpm/openapi-typescript@6.7.4/node_modules/openapi-typescript/dist/transform/parameter-object.js
265447
+ // ../../node_modules/.pnpm/openapi-typescript@6.7.5/node_modules/openapi-typescript/dist/transform/parameter-object.js
265444
265448
  function transformParameterObject(parameterObject, { path: path2, ctx }) {
265445
265449
  return parameterObject.schema ? transformSchemaObject(parameterObject.schema, { path: path2, ctx }) : "string";
265446
265450
  }
265447
265451
 
265448
- // ../../node_modules/.pnpm/openapi-typescript@6.7.4/node_modules/openapi-typescript/dist/transform/request-body-object.js
265452
+ // ../../node_modules/.pnpm/openapi-typescript@6.7.5/node_modules/openapi-typescript/dist/transform/request-body-object.js
265449
265453
  function transformRequestBodyObject(requestBodyObject, { path: path2, ctx }) {
265450
265454
  let { indentLv } = ctx;
265451
265455
  const output = ["{"];
@@ -265482,7 +265486,7 @@ function transformRequestBodyObject(requestBodyObject, { path: path2, ctx }) {
265482
265486
  return output.join("\n");
265483
265487
  }
265484
265488
 
265485
- // ../../node_modules/.pnpm/openapi-typescript@6.7.4/node_modules/openapi-typescript/dist/transform/response-object.js
265489
+ // ../../node_modules/.pnpm/openapi-typescript@6.7.5/node_modules/openapi-typescript/dist/transform/response-object.js
265486
265490
  function transformResponseObject(responseObject, { path: path2, ctx }) {
265487
265491
  const output = ["{"];
265488
265492
  let { indentLv } = ctx;
@@ -265537,20 +265541,21 @@ function transformResponseObject(responseObject, { path: path2, ctx }) {
265537
265541
  return output.join("\n");
265538
265542
  }
265539
265543
 
265540
- // ../../node_modules/.pnpm/openapi-typescript@6.7.4/node_modules/openapi-typescript/dist/transform/operation-object.js
265544
+ // ../../node_modules/.pnpm/openapi-typescript@6.7.5/node_modules/openapi-typescript/dist/transform/operation-object.js
265541
265545
  function transformOperationObject(operationObject, { path: path2, ctx, wrapObject = true }) {
265542
265546
  let { indentLv } = ctx;
265543
265547
  const output = wrapObject ? ["{"] : [];
265544
265548
  indentLv++;
265545
265549
  {
265546
265550
  if (operationObject.parameters) {
265551
+ const parametersArray = getParametersArray(operationObject.parameters);
265547
265552
  const parameterOutput = [];
265548
265553
  indentLv++;
265549
265554
  for (const paramIn of ["query", "header", "path", "cookie"]) {
265550
265555
  const paramInternalOutput = [];
265551
265556
  indentLv++;
265552
265557
  let paramInOptional = true;
265553
- for (const param of operationObject.parameters ?? []) {
265558
+ for (const param of parametersArray) {
265554
265559
  const node = "$ref" in param ? ctx.parameters[param.$ref] : param;
265555
265560
  if (node?.in !== paramIn)
265556
265561
  continue;
@@ -265640,7 +265645,7 @@ function transformOperationObject(operationObject, { path: path2, ctx, wrapObjec
265640
265645
  return output.join("\n");
265641
265646
  }
265642
265647
 
265643
- // ../../node_modules/.pnpm/openapi-typescript@6.7.4/node_modules/openapi-typescript/dist/transform/path-item-object.js
265648
+ // ../../node_modules/.pnpm/openapi-typescript@6.7.5/node_modules/openapi-typescript/dist/transform/path-item-object.js
265644
265649
  function transformPathItemObject(pathItem, { path: path2, ctx }) {
265645
265650
  let { indentLv } = ctx;
265646
265651
  const output = [];
@@ -265655,7 +265660,7 @@ function transformPathItemObject(pathItem, { path: path2, ctx }) {
265655
265660
  output.push(indent(c2, indentLv));
265656
265661
  const keyedParameters = {};
265657
265662
  if (!("$ref" in operationObject)) {
265658
- for (const parameter of [...pathItem.parameters ?? [], ...operationObject.parameters ?? []]) {
265663
+ for (const parameter of [...pathItem.parameters ?? [], ...getParametersArray(operationObject.parameters)]) {
265659
265664
  keyedParameters["$ref" in parameter ? parameter.$ref : `${parameter.in}/${parameter.name}`] = parameter;
265660
265665
  }
265661
265666
  }
@@ -265681,7 +265686,7 @@ function transformPathItemObject(pathItem, { path: path2, ctx }) {
265681
265686
  return output.join("\n");
265682
265687
  }
265683
265688
 
265684
- // ../../node_modules/.pnpm/openapi-typescript@6.7.4/node_modules/openapi-typescript/dist/transform/schema-object-map.js
265689
+ // ../../node_modules/.pnpm/openapi-typescript@6.7.5/node_modules/openapi-typescript/dist/transform/schema-object-map.js
265685
265690
  function transformSchemaObjectMap(schemaObjMap, { path: path2, ctx }) {
265686
265691
  if ("type" in schemaObjMap && typeof schemaObjMap.type === "string" || "allOf" in schemaObjMap && Array.isArray(schemaObjMap.allOf) || "oneOf" in schemaObjMap && Array.isArray(schemaObjMap.oneOf) || "anyOf" in schemaObjMap && Array.isArray(schemaObjMap.anyOf)) {
265687
265692
  return transformSchemaObject(schemaObjMap, { path: path2, ctx });
@@ -265718,7 +265723,7 @@ function transformSchemaObjectMap(schemaObjMap, { path: path2, ctx }) {
265718
265723
  return output.join("\n");
265719
265724
  }
265720
265725
 
265721
- // ../../node_modules/.pnpm/openapi-typescript@6.7.4/node_modules/openapi-typescript/dist/transform/schema-object.js
265726
+ // ../../node_modules/.pnpm/openapi-typescript@6.7.5/node_modules/openapi-typescript/dist/transform/schema-object.js
265722
265727
  function transformSchemaObject(schemaObject, options) {
265723
265728
  const result = defaultSchemaObjectTransform(schemaObject, options);
265724
265729
  if (typeof options.ctx.postTransform === "function") {
@@ -265912,8 +265917,13 @@ ${indent("}", indentLv)}` : "";
265912
265917
  finalType = finalType ? tsIntersectionOf(finalType, anyOfTypes) : anyOfTypes;
265913
265918
  }
265914
265919
  }
265915
- if (schemaObject.nullable)
265916
- finalType = tsUnionOf(finalType || "unknown", "null");
265920
+ if (schemaObject.nullable) {
265921
+ if ("type" in schemaObject) {
265922
+ finalType = tsUnionOf(finalType || "Record<string, unknown>", "null");
265923
+ } else {
265924
+ finalType = tsUnionOf(finalType || "unknown", "null");
265925
+ }
265926
+ }
265917
265927
  if (finalType)
265918
265928
  return finalType;
265919
265929
  if (!("type" in schemaObject))
@@ -265930,14 +265940,14 @@ function getDiscriminatorPropertyName(path2, discriminator) {
265930
265940
  return `${escObjKey(discriminator.propertyName)}: ${escStr(value)};`;
265931
265941
  }
265932
265942
 
265933
- // ../../node_modules/.pnpm/openapi-typescript@6.7.4/node_modules/openapi-typescript/dist/transform/media-type-object.js
265943
+ // ../../node_modules/.pnpm/openapi-typescript@6.7.5/node_modules/openapi-typescript/dist/transform/media-type-object.js
265934
265944
  function transformMediaTypeObject(mediaTypeObject, { path: path2, ctx }) {
265935
265945
  if (!mediaTypeObject.schema)
265936
265946
  return "unknown";
265937
265947
  return transformSchemaObject(mediaTypeObject.schema, { path: path2, ctx });
265938
265948
  }
265939
265949
 
265940
- // ../../node_modules/.pnpm/openapi-typescript@6.7.4/node_modules/openapi-typescript/dist/transform/header-object.js
265950
+ // ../../node_modules/.pnpm/openapi-typescript@6.7.5/node_modules/openapi-typescript/dist/transform/header-object.js
265941
265951
  function transformHeaderObject(headerObject, { path: path2, ctx }) {
265942
265952
  if (headerObject.schema)
265943
265953
  return transformSchemaObject(headerObject.schema, { path: path2, ctx });
@@ -265966,7 +265976,7 @@ function transformHeaderObject(headerObject, { path: path2, ctx }) {
265966
265976
  return "unknown";
265967
265977
  }
265968
265978
 
265969
- // ../../node_modules/.pnpm/openapi-typescript@6.7.4/node_modules/openapi-typescript/dist/transform/components-object.js
265979
+ // ../../node_modules/.pnpm/openapi-typescript@6.7.5/node_modules/openapi-typescript/dist/transform/components-object.js
265970
265980
  function transformComponentsObject(components, ctx) {
265971
265981
  let { indentLv } = ctx;
265972
265982
  const output = ["{"];
@@ -266116,12 +266126,12 @@ function transformComponentsObject(components, ctx) {
266116
266126
  return output.join("\n");
266117
266127
  }
266118
266128
 
266119
- // ../../node_modules/.pnpm/openapi-typescript@6.7.4/node_modules/openapi-typescript/dist/transform/paths-object.js
266129
+ // ../../node_modules/.pnpm/openapi-typescript@6.7.5/node_modules/openapi-typescript/dist/transform/paths-object.js
266120
266130
  var OPERATIONS = ["get", "post", "put", "delete", "options", "head", "patch", "trace"];
266121
266131
  function extractPathParams(obj) {
266122
266132
  const params = /* @__PURE__ */ new Map();
266123
266133
  if (obj && "parameters" in obj) {
266124
- for (const p of obj.parameters ?? []) {
266134
+ for (const p of getParametersArray(obj.parameters)) {
266125
266135
  if ("in" in p && p.in === "path")
266126
266136
  params.set(p.name, p);
266127
266137
  }
@@ -266163,7 +266173,7 @@ function transformPathsObject(pathsObject, ctx) {
266163
266173
  return output.join("\n");
266164
266174
  }
266165
266175
 
266166
- // ../../node_modules/.pnpm/openapi-typescript@6.7.4/node_modules/openapi-typescript/dist/transform/webhooks-object.js
266176
+ // ../../node_modules/.pnpm/openapi-typescript@6.7.5/node_modules/openapi-typescript/dist/transform/webhooks-object.js
266167
266177
  function transformWebhooksObject(webhooksObject, ctx) {
266168
266178
  let { indentLv } = ctx;
266169
266179
  const output = ["{"];
@@ -266179,7 +266189,7 @@ function transformWebhooksObject(webhooksObject, ctx) {
266179
266189
  return output.join("\n");
266180
266190
  }
266181
266191
 
266182
- // ../../node_modules/.pnpm/openapi-typescript@6.7.4/node_modules/openapi-typescript/dist/transform/index.js
266192
+ // ../../node_modules/.pnpm/openapi-typescript@6.7.5/node_modules/openapi-typescript/dist/transform/index.js
266183
266193
  function transformSchema(schema3, ctx) {
266184
266194
  if (!schema3)
266185
266195
  return {};
@@ -266203,7 +266213,7 @@ function transformSchema(schema3, ctx) {
266203
266213
  return output;
266204
266214
  }
266205
266215
 
266206
- // ../../node_modules/.pnpm/openapi-typescript@6.7.4/node_modules/openapi-typescript/dist/transform/parameter-object-array.js
266216
+ // ../../node_modules/.pnpm/openapi-typescript@6.7.5/node_modules/openapi-typescript/dist/transform/parameter-object-array.js
266207
266217
  function transformParameterObjectArray(parameterObjectArray, { path: path2, ctx }) {
266208
266218
  const output = [];
266209
266219
  const parameters = Array.isArray(parameterObjectArray) ? parameterObjectArray.map((p) => [p.name, p]) : Object.entries(parameterObjectArray);
@@ -266224,7 +266234,7 @@ function transformParameterObjectArray(parameterObjectArray, { path: path2, ctx
266224
266234
  return output.join("\n");
266225
266235
  }
266226
266236
 
266227
- // ../../node_modules/.pnpm/openapi-typescript@6.7.4/node_modules/openapi-typescript/dist/index.js
266237
+ // ../../node_modules/.pnpm/openapi-typescript@6.7.5/node_modules/openapi-typescript/dist/index.js
266228
266238
  var EMPTY_OBJECT_RE = /^\s*\{?\s*\}?\s*$/;
266229
266239
  var COMMENT_HEADER = `/**
266230
266240
  * This file was auto-generated by openapi-typescript.
@@ -266418,7 +266428,7 @@ async function openapiTS(schema3, options = {}) {
266418
266428
  }
266419
266429
  var dist_default = openapiTS;
266420
266430
 
266421
- // ../../node_modules/.pnpm/@bpinternal+opapi@0.8.0_openapi-types@12.1.3/node_modules/@bpinternal/opapi/dist/index.mjs
266431
+ // ../../node_modules/.pnpm/@bpinternal+opapi@0.8.1_openapi-types@12.1.3/node_modules/@bpinternal/opapi/dist/index.mjs
266422
266432
  var import_zod_openapi3 = __toESM(require_src(), 1);
266423
266433
  var import_openapi3_ts = __toESM(require_dist3(), 1);
266424
266434
  var import_verror2 = __toESM(require_verror(), 1);
@@ -270060,7 +270070,7 @@ var z = /* @__PURE__ */ Object.freeze({
270060
270070
  ZodError
270061
270071
  });
270062
270072
 
270063
- // ../../node_modules/.pnpm/@bpinternal+opapi@0.8.0_openapi-types@12.1.3/node_modules/@bpinternal/opapi/dist/index.mjs
270073
+ // ../../node_modules/.pnpm/@bpinternal+opapi@0.8.1_openapi-types@12.1.3/node_modules/@bpinternal/opapi/dist/index.mjs
270064
270074
  var import_openapi_parser = __toESM(require_lib10(), 1);
270065
270075
  var import_json_schema_to_typescript = __toESM(require_src3(), 1);
270066
270076
  var import_zod_openapi4 = __toESM(require_src(), 1);
@@ -273741,9 +273751,7 @@ var state = {
273741
273751
  "schema": {
273742
273752
  "type": "object",
273743
273753
  "properties": {
273744
- "value": {
273745
- "nullable": true
273746
- }
273754
+ "value": {}
273747
273755
  },
273748
273756
  "title": "setAccountPreferenceBody",
273749
273757
  "additionalProperties": false
@@ -273864,6 +273872,26 @@ var state = {
273864
273872
  "iconUrl": {
273865
273873
  "type": "string",
273866
273874
  "description": "URL of the icon of the integration. This is the icon that will be displayed in the UI"
273875
+ },
273876
+ "ownerWorkspace": {
273877
+ "type": "object",
273878
+ "properties": {
273879
+ "id": {
273880
+ "type": "string"
273881
+ },
273882
+ "handle": {
273883
+ "type": "string",
273884
+ "nullable": true
273885
+ },
273886
+ "name": {
273887
+ "type": "string"
273888
+ }
273889
+ },
273890
+ "required": [
273891
+ "id",
273892
+ "handle",
273893
+ "name"
273894
+ ]
273867
273895
  }
273868
273896
  },
273869
273897
  "required": [
@@ -273874,7 +273902,8 @@ var state = {
273874
273902
  "updatedAt",
273875
273903
  "title",
273876
273904
  "description",
273877
- "iconUrl"
273905
+ "iconUrl",
273906
+ "ownerWorkspace"
273878
273907
  ]
273879
273908
  }
273880
273909
  },
@@ -273920,7 +273949,469 @@ var state = {
273920
273949
  "type": "object",
273921
273950
  "properties": {
273922
273951
  "integration": {
273923
- "$ref": "#/components/schemas/Integration"
273952
+ "type": "object",
273953
+ "properties": {
273954
+ "id": {
273955
+ "type": "string",
273956
+ "minLength": 28,
273957
+ "maxLength": 36,
273958
+ "description": "User id"
273959
+ },
273960
+ "createdAt": {
273961
+ "type": "string",
273962
+ "format": "date-time",
273963
+ "description": "Creation date of the [Integration](#schema_integration) in ISO 8601 format"
273964
+ },
273965
+ "updatedAt": {
273966
+ "type": "string",
273967
+ "format": "date-time",
273968
+ "description": "Updating date of the [Integration](#schema_integration) in ISO 8601 format"
273969
+ },
273970
+ "identifier": {
273971
+ "type": "object",
273972
+ "properties": {
273973
+ "fallbackHandlerScript": {
273974
+ "type": "string",
273975
+ "maxLength": 2e3,
273976
+ "description": "VRL Script of the [Integration](#schema_integration) to handle incoming requests for a request that doesn't have an identifier"
273977
+ },
273978
+ "extractScript": {
273979
+ "type": "string",
273980
+ "maxLength": 2e3,
273981
+ "description": "VRL Script of the [Integration](#schema_integration) to extract the identifier from an incoming webhook often use for OAuth"
273982
+ }
273983
+ },
273984
+ "description": "Global identifier configuration of the [Integration](#schema_integration)",
273985
+ "additionalProperties": false
273986
+ },
273987
+ "name": {
273988
+ "type": "string",
273989
+ "maxLength": 200,
273990
+ "description": "Unique identifier of the integration that was installed on the bot"
273991
+ },
273992
+ "version": {
273993
+ "type": "string",
273994
+ "maxLength": 200,
273995
+ "description": "Unique identifier of the integration that was installed on the bot"
273996
+ },
273997
+ "configuration": {
273998
+ "type": "object",
273999
+ "properties": {
274000
+ "identifier": {
274001
+ "type": "object",
274002
+ "properties": {
274003
+ "linkTemplateScript": {
274004
+ "type": "string",
274005
+ "maxLength": 2e3,
274006
+ "description": "Title describing the task"
274007
+ },
274008
+ "required": {
274009
+ "type": "boolean"
274010
+ }
274011
+ },
274012
+ "required": [
274013
+ "required"
274014
+ ],
274015
+ "description": "Identifier configuration of the [Integration](#schema_integration)",
274016
+ "additionalProperties": false
274017
+ },
274018
+ "schema": {
274019
+ "type": "object",
274020
+ "additionalProperties": true,
274021
+ "description": "Schema of the configuration in the `JSON schema` format. The configuration data is validated against this `JSON schema`."
274022
+ }
274023
+ },
274024
+ "required": [
274025
+ "identifier"
274026
+ ],
274027
+ "description": "Configuration definition",
274028
+ "additionalProperties": false
274029
+ },
274030
+ "channels": {
274031
+ "type": "object",
274032
+ "additionalProperties": {
274033
+ "type": "object",
274034
+ "properties": {
274035
+ "title": {
274036
+ "type": "string",
274037
+ "maxLength": 64,
274038
+ "description": "Title of the channel"
274039
+ },
274040
+ "description": {
274041
+ "type": "string",
274042
+ "maxLength": 256,
274043
+ "description": "Description of the channel"
274044
+ },
274045
+ "messages": {
274046
+ "type": "object",
274047
+ "additionalProperties": {
274048
+ "type": "object",
274049
+ "properties": {
274050
+ "schema": {
274051
+ "type": "object",
274052
+ "additionalProperties": true
274053
+ }
274054
+ },
274055
+ "required": [
274056
+ "schema"
274057
+ ],
274058
+ "description": "Message definition",
274059
+ "additionalProperties": false
274060
+ }
274061
+ },
274062
+ "conversation": {
274063
+ "type": "object",
274064
+ "properties": {
274065
+ "tags": {
274066
+ "type": "object",
274067
+ "additionalProperties": {
274068
+ "type": "object",
274069
+ "properties": {
274070
+ "title": {
274071
+ "type": "string",
274072
+ "maxLength": 64,
274073
+ "description": "Title of the tag"
274074
+ },
274075
+ "description": {
274076
+ "type": "string",
274077
+ "maxLength": 256,
274078
+ "description": "Description of the tag"
274079
+ }
274080
+ },
274081
+ "description": "Definition of a tag that can be provided on the object",
274082
+ "additionalProperties": false
274083
+ }
274084
+ },
274085
+ "creation": {
274086
+ "type": "object",
274087
+ "properties": {
274088
+ "enabled": {
274089
+ "type": "boolean",
274090
+ "description": "Enable conversation creation"
274091
+ },
274092
+ "requiredTags": {
274093
+ "type": "array",
274094
+ "items": {
274095
+ "type": "string"
274096
+ },
274097
+ "description": "The list of tags that are required to be specified when calling the API directly to create a conversation."
274098
+ }
274099
+ },
274100
+ "required": [
274101
+ "enabled",
274102
+ "requiredTags"
274103
+ ],
274104
+ "description": "The conversation creation setting determines how to create a conversation through the API directly. The integration will have to implement the `createConversation` functionality to support this setting.",
274105
+ "additionalProperties": false
274106
+ }
274107
+ },
274108
+ "required": [
274109
+ "tags",
274110
+ "creation"
274111
+ ],
274112
+ "description": "Conversation object configuration",
274113
+ "additionalProperties": false
274114
+ },
274115
+ "message": {
274116
+ "type": "object",
274117
+ "properties": {
274118
+ "tags": {
274119
+ "type": "object",
274120
+ "additionalProperties": {
274121
+ "type": "object",
274122
+ "properties": {
274123
+ "title": {
274124
+ "type": "string",
274125
+ "maxLength": 64,
274126
+ "description": "Title of the tag"
274127
+ },
274128
+ "description": {
274129
+ "type": "string",
274130
+ "maxLength": 256,
274131
+ "description": "Description of the tag"
274132
+ }
274133
+ },
274134
+ "description": "Definition of a tag that can be provided on the object",
274135
+ "additionalProperties": false
274136
+ }
274137
+ }
274138
+ },
274139
+ "required": [
274140
+ "tags"
274141
+ ],
274142
+ "description": "Message object configuration",
274143
+ "additionalProperties": false
274144
+ }
274145
+ },
274146
+ "required": [
274147
+ "messages",
274148
+ "conversation",
274149
+ "message"
274150
+ ],
274151
+ "description": "Channel definition",
274152
+ "additionalProperties": false
274153
+ }
274154
+ },
274155
+ "states": {
274156
+ "type": "object",
274157
+ "additionalProperties": {
274158
+ "type": "object",
274159
+ "properties": {
274160
+ "type": {
274161
+ "type": "string",
274162
+ "enum": [
274163
+ "conversation",
274164
+ "user",
274165
+ "integration"
274166
+ ],
274167
+ "description": "Type of the [State](#schema_state) (`conversation`, `user` or `integration`)"
274168
+ },
274169
+ "schema": {
274170
+ "type": "object",
274171
+ "additionalProperties": true,
274172
+ "description": "Schema of the [State](#schema_state) in the `JSON schema` format. This `JSON schema` is going to be used for validating the state data."
274173
+ }
274174
+ },
274175
+ "required": [
274176
+ "type",
274177
+ "schema"
274178
+ ],
274179
+ "description": "State definition",
274180
+ "additionalProperties": false
274181
+ }
274182
+ },
274183
+ "events": {
274184
+ "type": "object",
274185
+ "additionalProperties": {
274186
+ "type": "object",
274187
+ "properties": {
274188
+ "title": {
274189
+ "type": "string",
274190
+ "maxLength": 64,
274191
+ "description": "Title of the event"
274192
+ },
274193
+ "description": {
274194
+ "type": "string",
274195
+ "maxLength": 256,
274196
+ "description": "Description of the event"
274197
+ },
274198
+ "schema": {
274199
+ "type": "object",
274200
+ "additionalProperties": true
274201
+ }
274202
+ },
274203
+ "required": [
274204
+ "schema"
274205
+ ],
274206
+ "description": "Event Definition",
274207
+ "additionalProperties": false
274208
+ }
274209
+ },
274210
+ "actions": {
274211
+ "type": "object",
274212
+ "additionalProperties": {
274213
+ "type": "object",
274214
+ "properties": {
274215
+ "title": {
274216
+ "type": "string",
274217
+ "maxLength": 64,
274218
+ "description": "Title of the action"
274219
+ },
274220
+ "description": {
274221
+ "type": "string",
274222
+ "maxLength": 256,
274223
+ "description": "Description of the action"
274224
+ },
274225
+ "input": {
274226
+ "type": "object",
274227
+ "properties": {
274228
+ "schema": {
274229
+ "type": "object",
274230
+ "additionalProperties": true
274231
+ }
274232
+ },
274233
+ "required": [
274234
+ "schema"
274235
+ ],
274236
+ "additionalProperties": false
274237
+ },
274238
+ "output": {
274239
+ "type": "object",
274240
+ "properties": {
274241
+ "schema": {
274242
+ "type": "object",
274243
+ "additionalProperties": true
274244
+ }
274245
+ },
274246
+ "required": [
274247
+ "schema"
274248
+ ],
274249
+ "additionalProperties": false
274250
+ }
274251
+ },
274252
+ "required": [
274253
+ "input",
274254
+ "output"
274255
+ ],
274256
+ "description": "Action definition",
274257
+ "additionalProperties": false
274258
+ }
274259
+ },
274260
+ "user": {
274261
+ "type": "object",
274262
+ "properties": {
274263
+ "tags": {
274264
+ "type": "object",
274265
+ "additionalProperties": {
274266
+ "type": "object",
274267
+ "properties": {
274268
+ "title": {
274269
+ "type": "string",
274270
+ "maxLength": 64,
274271
+ "description": "Title of the tag"
274272
+ },
274273
+ "description": {
274274
+ "type": "string",
274275
+ "maxLength": 256,
274276
+ "description": "Description of the tag"
274277
+ }
274278
+ },
274279
+ "description": "Definition of a tag that can be provided on the object",
274280
+ "additionalProperties": false
274281
+ }
274282
+ },
274283
+ "creation": {
274284
+ "type": "object",
274285
+ "properties": {
274286
+ "enabled": {
274287
+ "type": "boolean",
274288
+ "description": "Enable user creation"
274289
+ },
274290
+ "requiredTags": {
274291
+ "type": "array",
274292
+ "items": {
274293
+ "type": "string"
274294
+ },
274295
+ "description": "The list of tags that are required to be specified when calling the API directly to create a user."
274296
+ }
274297
+ },
274298
+ "required": [
274299
+ "enabled",
274300
+ "requiredTags"
274301
+ ],
274302
+ "description": "The user creation setting determines how to create a user through the API directly. The integration will have to implement the `createUser` functionality to support this setting.",
274303
+ "additionalProperties": false
274304
+ }
274305
+ },
274306
+ "required": [
274307
+ "tags",
274308
+ "creation"
274309
+ ],
274310
+ "description": "User object configuration",
274311
+ "additionalProperties": false
274312
+ },
274313
+ "entities": {
274314
+ "type": "object",
274315
+ "additionalProperties": {
274316
+ "type": "object",
274317
+ "properties": {
274318
+ "title": {
274319
+ "type": "string",
274320
+ "maxLength": 64,
274321
+ "description": "Title of the entity"
274322
+ },
274323
+ "description": {
274324
+ "type": "string",
274325
+ "maxLength": 256,
274326
+ "description": "Description of the entity"
274327
+ },
274328
+ "schema": {
274329
+ "type": "object",
274330
+ "additionalProperties": true
274331
+ }
274332
+ },
274333
+ "required": [
274334
+ "schema"
274335
+ ],
274336
+ "description": "Entity definition",
274337
+ "additionalProperties": false
274338
+ }
274339
+ },
274340
+ "dev": {
274341
+ "type": "boolean",
274342
+ "description": "Indicates if the integration is a development integration; Dev integrations run locally"
274343
+ },
274344
+ "title": {
274345
+ "type": "string",
274346
+ "minLength": 1,
274347
+ "maxLength": 64,
274348
+ "description": "Title of the integration. This is the name that will be displayed in the UI"
274349
+ },
274350
+ "description": {
274351
+ "type": "string",
274352
+ "maxLength": 256,
274353
+ "description": "Description of the integration. This is the description that will be displayed in the UI"
274354
+ },
274355
+ "iconUrl": {
274356
+ "type": "string",
274357
+ "description": "URL of the icon of the integration. This is the icon that will be displayed in the UI"
274358
+ },
274359
+ "readmeUrl": {
274360
+ "type": "string",
274361
+ "description": "URL of the readme of the integration. This is the readme that will be displayed in the UI"
274362
+ },
274363
+ "secrets": {
274364
+ "type": "array",
274365
+ "items": {
274366
+ "type": "string"
274367
+ },
274368
+ "description": "Secrets are integration-wide values available in the code via environment variables formatted with a SECRET_ prefix followed by your secret name. A secret name must respect SCREAMING_SNAKE casing."
274369
+ },
274370
+ "ownerWorkspace": {
274371
+ "type": "object",
274372
+ "properties": {
274373
+ "id": {
274374
+ "type": "string"
274375
+ },
274376
+ "handle": {
274377
+ "type": "string",
274378
+ "nullable": true
274379
+ },
274380
+ "name": {
274381
+ "type": "string"
274382
+ }
274383
+ },
274384
+ "required": [
274385
+ "id",
274386
+ "handle",
274387
+ "name"
274388
+ ],
274389
+ "additionalProperties": false
274390
+ }
274391
+ },
274392
+ "required": [
274393
+ "id",
274394
+ "createdAt",
274395
+ "updatedAt",
274396
+ "identifier",
274397
+ "name",
274398
+ "version",
274399
+ "configuration",
274400
+ "channels",
274401
+ "states",
274402
+ "events",
274403
+ "actions",
274404
+ "user",
274405
+ "entities",
274406
+ "dev",
274407
+ "title",
274408
+ "description",
274409
+ "iconUrl",
274410
+ "readmeUrl",
274411
+ "secrets",
274412
+ "ownerWorkspace"
274413
+ ],
274414
+ "additionalProperties": false
273924
274415
  }
273925
274416
  },
273926
274417
  "required": [
@@ -273958,7 +274449,469 @@ var state = {
273958
274449
  "type": "object",
273959
274450
  "properties": {
273960
274451
  "integration": {
273961
- "$ref": "#/components/schemas/Integration"
274452
+ "type": "object",
274453
+ "properties": {
274454
+ "id": {
274455
+ "type": "string",
274456
+ "minLength": 28,
274457
+ "maxLength": 36,
274458
+ "description": "User id"
274459
+ },
274460
+ "createdAt": {
274461
+ "type": "string",
274462
+ "format": "date-time",
274463
+ "description": "Creation date of the [Integration](#schema_integration) in ISO 8601 format"
274464
+ },
274465
+ "updatedAt": {
274466
+ "type": "string",
274467
+ "format": "date-time",
274468
+ "description": "Updating date of the [Integration](#schema_integration) in ISO 8601 format"
274469
+ },
274470
+ "identifier": {
274471
+ "type": "object",
274472
+ "properties": {
274473
+ "fallbackHandlerScript": {
274474
+ "type": "string",
274475
+ "maxLength": 2e3,
274476
+ "description": "VRL Script of the [Integration](#schema_integration) to handle incoming requests for a request that doesn't have an identifier"
274477
+ },
274478
+ "extractScript": {
274479
+ "type": "string",
274480
+ "maxLength": 2e3,
274481
+ "description": "VRL Script of the [Integration](#schema_integration) to extract the identifier from an incoming webhook often use for OAuth"
274482
+ }
274483
+ },
274484
+ "description": "Global identifier configuration of the [Integration](#schema_integration)",
274485
+ "additionalProperties": false
274486
+ },
274487
+ "name": {
274488
+ "type": "string",
274489
+ "maxLength": 200,
274490
+ "description": "Unique identifier of the integration that was installed on the bot"
274491
+ },
274492
+ "version": {
274493
+ "type": "string",
274494
+ "maxLength": 200,
274495
+ "description": "Unique identifier of the integration that was installed on the bot"
274496
+ },
274497
+ "configuration": {
274498
+ "type": "object",
274499
+ "properties": {
274500
+ "identifier": {
274501
+ "type": "object",
274502
+ "properties": {
274503
+ "linkTemplateScript": {
274504
+ "type": "string",
274505
+ "maxLength": 2e3,
274506
+ "description": "Title describing the task"
274507
+ },
274508
+ "required": {
274509
+ "type": "boolean"
274510
+ }
274511
+ },
274512
+ "required": [
274513
+ "required"
274514
+ ],
274515
+ "description": "Identifier configuration of the [Integration](#schema_integration)",
274516
+ "additionalProperties": false
274517
+ },
274518
+ "schema": {
274519
+ "type": "object",
274520
+ "additionalProperties": true,
274521
+ "description": "Schema of the configuration in the `JSON schema` format. The configuration data is validated against this `JSON schema`."
274522
+ }
274523
+ },
274524
+ "required": [
274525
+ "identifier"
274526
+ ],
274527
+ "description": "Configuration definition",
274528
+ "additionalProperties": false
274529
+ },
274530
+ "channels": {
274531
+ "type": "object",
274532
+ "additionalProperties": {
274533
+ "type": "object",
274534
+ "properties": {
274535
+ "title": {
274536
+ "type": "string",
274537
+ "maxLength": 64,
274538
+ "description": "Title of the channel"
274539
+ },
274540
+ "description": {
274541
+ "type": "string",
274542
+ "maxLength": 256,
274543
+ "description": "Description of the channel"
274544
+ },
274545
+ "messages": {
274546
+ "type": "object",
274547
+ "additionalProperties": {
274548
+ "type": "object",
274549
+ "properties": {
274550
+ "schema": {
274551
+ "type": "object",
274552
+ "additionalProperties": true
274553
+ }
274554
+ },
274555
+ "required": [
274556
+ "schema"
274557
+ ],
274558
+ "description": "Message definition",
274559
+ "additionalProperties": false
274560
+ }
274561
+ },
274562
+ "conversation": {
274563
+ "type": "object",
274564
+ "properties": {
274565
+ "tags": {
274566
+ "type": "object",
274567
+ "additionalProperties": {
274568
+ "type": "object",
274569
+ "properties": {
274570
+ "title": {
274571
+ "type": "string",
274572
+ "maxLength": 64,
274573
+ "description": "Title of the tag"
274574
+ },
274575
+ "description": {
274576
+ "type": "string",
274577
+ "maxLength": 256,
274578
+ "description": "Description of the tag"
274579
+ }
274580
+ },
274581
+ "description": "Definition of a tag that can be provided on the object",
274582
+ "additionalProperties": false
274583
+ }
274584
+ },
274585
+ "creation": {
274586
+ "type": "object",
274587
+ "properties": {
274588
+ "enabled": {
274589
+ "type": "boolean",
274590
+ "description": "Enable conversation creation"
274591
+ },
274592
+ "requiredTags": {
274593
+ "type": "array",
274594
+ "items": {
274595
+ "type": "string"
274596
+ },
274597
+ "description": "The list of tags that are required to be specified when calling the API directly to create a conversation."
274598
+ }
274599
+ },
274600
+ "required": [
274601
+ "enabled",
274602
+ "requiredTags"
274603
+ ],
274604
+ "description": "The conversation creation setting determines how to create a conversation through the API directly. The integration will have to implement the `createConversation` functionality to support this setting.",
274605
+ "additionalProperties": false
274606
+ }
274607
+ },
274608
+ "required": [
274609
+ "tags",
274610
+ "creation"
274611
+ ],
274612
+ "description": "Conversation object configuration",
274613
+ "additionalProperties": false
274614
+ },
274615
+ "message": {
274616
+ "type": "object",
274617
+ "properties": {
274618
+ "tags": {
274619
+ "type": "object",
274620
+ "additionalProperties": {
274621
+ "type": "object",
274622
+ "properties": {
274623
+ "title": {
274624
+ "type": "string",
274625
+ "maxLength": 64,
274626
+ "description": "Title of the tag"
274627
+ },
274628
+ "description": {
274629
+ "type": "string",
274630
+ "maxLength": 256,
274631
+ "description": "Description of the tag"
274632
+ }
274633
+ },
274634
+ "description": "Definition of a tag that can be provided on the object",
274635
+ "additionalProperties": false
274636
+ }
274637
+ }
274638
+ },
274639
+ "required": [
274640
+ "tags"
274641
+ ],
274642
+ "description": "Message object configuration",
274643
+ "additionalProperties": false
274644
+ }
274645
+ },
274646
+ "required": [
274647
+ "messages",
274648
+ "conversation",
274649
+ "message"
274650
+ ],
274651
+ "description": "Channel definition",
274652
+ "additionalProperties": false
274653
+ }
274654
+ },
274655
+ "states": {
274656
+ "type": "object",
274657
+ "additionalProperties": {
274658
+ "type": "object",
274659
+ "properties": {
274660
+ "type": {
274661
+ "type": "string",
274662
+ "enum": [
274663
+ "conversation",
274664
+ "user",
274665
+ "integration"
274666
+ ],
274667
+ "description": "Type of the [State](#schema_state) (`conversation`, `user` or `integration`)"
274668
+ },
274669
+ "schema": {
274670
+ "type": "object",
274671
+ "additionalProperties": true,
274672
+ "description": "Schema of the [State](#schema_state) in the `JSON schema` format. This `JSON schema` is going to be used for validating the state data."
274673
+ }
274674
+ },
274675
+ "required": [
274676
+ "type",
274677
+ "schema"
274678
+ ],
274679
+ "description": "State definition",
274680
+ "additionalProperties": false
274681
+ }
274682
+ },
274683
+ "events": {
274684
+ "type": "object",
274685
+ "additionalProperties": {
274686
+ "type": "object",
274687
+ "properties": {
274688
+ "title": {
274689
+ "type": "string",
274690
+ "maxLength": 64,
274691
+ "description": "Title of the event"
274692
+ },
274693
+ "description": {
274694
+ "type": "string",
274695
+ "maxLength": 256,
274696
+ "description": "Description of the event"
274697
+ },
274698
+ "schema": {
274699
+ "type": "object",
274700
+ "additionalProperties": true
274701
+ }
274702
+ },
274703
+ "required": [
274704
+ "schema"
274705
+ ],
274706
+ "description": "Event Definition",
274707
+ "additionalProperties": false
274708
+ }
274709
+ },
274710
+ "actions": {
274711
+ "type": "object",
274712
+ "additionalProperties": {
274713
+ "type": "object",
274714
+ "properties": {
274715
+ "title": {
274716
+ "type": "string",
274717
+ "maxLength": 64,
274718
+ "description": "Title of the action"
274719
+ },
274720
+ "description": {
274721
+ "type": "string",
274722
+ "maxLength": 256,
274723
+ "description": "Description of the action"
274724
+ },
274725
+ "input": {
274726
+ "type": "object",
274727
+ "properties": {
274728
+ "schema": {
274729
+ "type": "object",
274730
+ "additionalProperties": true
274731
+ }
274732
+ },
274733
+ "required": [
274734
+ "schema"
274735
+ ],
274736
+ "additionalProperties": false
274737
+ },
274738
+ "output": {
274739
+ "type": "object",
274740
+ "properties": {
274741
+ "schema": {
274742
+ "type": "object",
274743
+ "additionalProperties": true
274744
+ }
274745
+ },
274746
+ "required": [
274747
+ "schema"
274748
+ ],
274749
+ "additionalProperties": false
274750
+ }
274751
+ },
274752
+ "required": [
274753
+ "input",
274754
+ "output"
274755
+ ],
274756
+ "description": "Action definition",
274757
+ "additionalProperties": false
274758
+ }
274759
+ },
274760
+ "user": {
274761
+ "type": "object",
274762
+ "properties": {
274763
+ "tags": {
274764
+ "type": "object",
274765
+ "additionalProperties": {
274766
+ "type": "object",
274767
+ "properties": {
274768
+ "title": {
274769
+ "type": "string",
274770
+ "maxLength": 64,
274771
+ "description": "Title of the tag"
274772
+ },
274773
+ "description": {
274774
+ "type": "string",
274775
+ "maxLength": 256,
274776
+ "description": "Description of the tag"
274777
+ }
274778
+ },
274779
+ "description": "Definition of a tag that can be provided on the object",
274780
+ "additionalProperties": false
274781
+ }
274782
+ },
274783
+ "creation": {
274784
+ "type": "object",
274785
+ "properties": {
274786
+ "enabled": {
274787
+ "type": "boolean",
274788
+ "description": "Enable user creation"
274789
+ },
274790
+ "requiredTags": {
274791
+ "type": "array",
274792
+ "items": {
274793
+ "type": "string"
274794
+ },
274795
+ "description": "The list of tags that are required to be specified when calling the API directly to create a user."
274796
+ }
274797
+ },
274798
+ "required": [
274799
+ "enabled",
274800
+ "requiredTags"
274801
+ ],
274802
+ "description": "The user creation setting determines how to create a user through the API directly. The integration will have to implement the `createUser` functionality to support this setting.",
274803
+ "additionalProperties": false
274804
+ }
274805
+ },
274806
+ "required": [
274807
+ "tags",
274808
+ "creation"
274809
+ ],
274810
+ "description": "User object configuration",
274811
+ "additionalProperties": false
274812
+ },
274813
+ "entities": {
274814
+ "type": "object",
274815
+ "additionalProperties": {
274816
+ "type": "object",
274817
+ "properties": {
274818
+ "title": {
274819
+ "type": "string",
274820
+ "maxLength": 64,
274821
+ "description": "Title of the entity"
274822
+ },
274823
+ "description": {
274824
+ "type": "string",
274825
+ "maxLength": 256,
274826
+ "description": "Description of the entity"
274827
+ },
274828
+ "schema": {
274829
+ "type": "object",
274830
+ "additionalProperties": true
274831
+ }
274832
+ },
274833
+ "required": [
274834
+ "schema"
274835
+ ],
274836
+ "description": "Entity definition",
274837
+ "additionalProperties": false
274838
+ }
274839
+ },
274840
+ "dev": {
274841
+ "type": "boolean",
274842
+ "description": "Indicates if the integration is a development integration; Dev integrations run locally"
274843
+ },
274844
+ "title": {
274845
+ "type": "string",
274846
+ "minLength": 1,
274847
+ "maxLength": 64,
274848
+ "description": "Title of the integration. This is the name that will be displayed in the UI"
274849
+ },
274850
+ "description": {
274851
+ "type": "string",
274852
+ "maxLength": 256,
274853
+ "description": "Description of the integration. This is the description that will be displayed in the UI"
274854
+ },
274855
+ "iconUrl": {
274856
+ "type": "string",
274857
+ "description": "URL of the icon of the integration. This is the icon that will be displayed in the UI"
274858
+ },
274859
+ "readmeUrl": {
274860
+ "type": "string",
274861
+ "description": "URL of the readme of the integration. This is the readme that will be displayed in the UI"
274862
+ },
274863
+ "secrets": {
274864
+ "type": "array",
274865
+ "items": {
274866
+ "type": "string"
274867
+ },
274868
+ "description": "Secrets are integration-wide values available in the code via environment variables formatted with a SECRET_ prefix followed by your secret name. A secret name must respect SCREAMING_SNAKE casing."
274869
+ },
274870
+ "ownerWorkspace": {
274871
+ "type": "object",
274872
+ "properties": {
274873
+ "id": {
274874
+ "type": "string"
274875
+ },
274876
+ "handle": {
274877
+ "type": "string",
274878
+ "nullable": true
274879
+ },
274880
+ "name": {
274881
+ "type": "string"
274882
+ }
274883
+ },
274884
+ "required": [
274885
+ "id",
274886
+ "handle",
274887
+ "name"
274888
+ ],
274889
+ "additionalProperties": false
274890
+ }
274891
+ },
274892
+ "required": [
274893
+ "id",
274894
+ "createdAt",
274895
+ "updatedAt",
274896
+ "identifier",
274897
+ "name",
274898
+ "version",
274899
+ "configuration",
274900
+ "channels",
274901
+ "states",
274902
+ "events",
274903
+ "actions",
274904
+ "user",
274905
+ "entities",
274906
+ "dev",
274907
+ "title",
274908
+ "description",
274909
+ "iconUrl",
274910
+ "readmeUrl",
274911
+ "secrets",
274912
+ "ownerWorkspace"
274913
+ ],
274914
+ "additionalProperties": false
273962
274915
  }
273963
274916
  },
273964
274917
  "required": [
@@ -276430,7 +277383,7 @@ var state = {
276430
277383
  "type": "string",
276431
277384
  "minLength": 1,
276432
277385
  "maxLength": 64,
276433
- "pattern": "^[0-9a-z][a-z0-9-]+[0-9a-z]$"
277386
+ "pattern": "^[0-9a-z][a-z0-9-_]+[0-9a-z]$"
276434
277387
  }
276435
277388
  },
276436
277389
  "additionalProperties": false,
@@ -278636,7 +279589,7 @@ var state = {
278636
279589
  }
278637
279590
  },
278638
279591
  "parameters": {
278639
- "x-filename": {
279592
+ "x-name": {
278640
279593
  "type": "string",
278641
279594
  "description": "File name",
278642
279595
  "in": "header",
@@ -278649,42 +279602,23 @@ var state = {
278649
279602
  },
278650
279603
  "x-access-policies": {
278651
279604
  "type": "string",
278652
- "description": "File access policies",
279605
+ "description": 'File access policies, comma-separated. Add "public_content" to allow public access to the file content. Add "integrations" to allo read, search and list operations for any integration installed in the bot.',
279606
+ "in": "header"
279607
+ },
279608
+ "x-index": {
279609
+ "type": "string",
279610
+ "description": 'Set to a value of "true" to index the file in vector storage. Only PDFs, Office documents, and text-based files are currently supported. Note that if a file is indexed, it will count towards the Vector Storage quota of the workspace rather than the File Storage quota.',
278653
279611
  "in": "header"
278654
279612
  },
278655
279613
  "Content-Type": {
278656
279614
  "type": "string",
278657
- "description": "File content type",
279615
+ "description": 'File content type. If omitted, the content type will be inferred from the file extension. If a type cannot be inferred, the default is "application/octet-stream".',
278658
279616
  "in": "header"
278659
279617
  },
278660
279618
  "Content-Length": {
278661
279619
  "type": "string",
278662
279620
  "description": "File content length",
278663
279621
  "in": "header"
278664
- },
278665
- "x-bot-id": {
278666
- "in": "header",
278667
- "description": "Bot id",
278668
- "type": "string",
278669
- "required": true
278670
- },
278671
- "x-integration-id": {
278672
- "in": "header",
278673
- "description": "Integration id",
278674
- "type": "string",
278675
- "required": false
278676
- },
278677
- "x-user-id": {
278678
- "in": "header",
278679
- "description": "User id",
278680
- "type": "string",
278681
- "required": false
278682
- },
278683
- "x-user-role": {
278684
- "in": "header",
278685
- "description": "User role",
278686
- "type": "string",
278687
- "required": false
278688
279622
  }
278689
279623
  },
278690
279624
  "contentType": "*/*",
@@ -278703,13 +279637,16 @@ var state = {
278703
279637
  "botId": {
278704
279638
  "type": "string"
278705
279639
  },
278706
- "filename": {
279640
+ "name": {
278707
279641
  "type": "string"
278708
279642
  },
278709
- "bytes": {
279643
+ "size": {
278710
279644
  "type": "number",
278711
279645
  "nullable": true
278712
279646
  },
279647
+ "contentType": {
279648
+ "type": "string"
279649
+ },
278713
279650
  "tags": {
278714
279651
  "type": "object",
278715
279652
  "additionalProperties": {
@@ -278729,13 +279666,26 @@ var state = {
278729
279666
  "items": {
278730
279667
  "type": "string"
278731
279668
  }
279669
+ },
279670
+ "indexingStatus": {
279671
+ "type": "string",
279672
+ "enum": [
279673
+ "PENDING",
279674
+ "IN_PROGRESS",
279675
+ "COMPLETE",
279676
+ "FAILED"
279677
+ ]
279678
+ },
279679
+ "indexingFailureReason": {
279680
+ "type": "string"
278732
279681
  }
278733
279682
  },
278734
279683
  "required": [
278735
279684
  "id",
278736
279685
  "botId",
278737
- "filename",
278738
- "bytes",
279686
+ "name",
279687
+ "size",
279688
+ "contentType",
278739
279689
  "tags",
278740
279690
  "createdAt",
278741
279691
  "updatedAt",
@@ -278763,30 +279713,6 @@ var state = {
278763
279713
  "type": "string",
278764
279714
  "description": "File ID",
278765
279715
  "in": "path"
278766
- },
278767
- "x-bot-id": {
278768
- "in": "header",
278769
- "description": "Bot id",
278770
- "type": "string",
278771
- "required": true
278772
- },
278773
- "x-integration-id": {
278774
- "in": "header",
278775
- "description": "Integration id",
278776
- "type": "string",
278777
- "required": false
278778
- },
278779
- "x-user-id": {
278780
- "in": "header",
278781
- "description": "User id",
278782
- "type": "string",
278783
- "required": false
278784
- },
278785
- "x-user-role": {
278786
- "in": "header",
278787
- "description": "User role",
278788
- "type": "string",
278789
- "required": false
278790
279716
  }
278791
279717
  },
278792
279718
  "response": {
@@ -278810,30 +279736,6 @@ var state = {
278810
279736
  "description": "Provide the `meta.nextToken` value provided in the last API response to retrieve the next page of results",
278811
279737
  "type": "string"
278812
279738
  },
278813
- "x-bot-id": {
278814
- "in": "header",
278815
- "description": "Bot id",
278816
- "type": "string",
278817
- "required": true
278818
- },
278819
- "x-integration-id": {
278820
- "in": "header",
278821
- "description": "Integration id",
278822
- "type": "string",
278823
- "required": false
278824
- },
278825
- "x-user-id": {
278826
- "in": "header",
278827
- "description": "User id",
278828
- "type": "string",
278829
- "required": false
278830
- },
278831
- "x-user-role": {
278832
- "in": "header",
278833
- "description": "User role",
278834
- "type": "string",
278835
- "required": false
278836
- },
278837
279739
  "botId": {
278838
279740
  "type": "string",
278839
279741
  "description": "Bot ID",
@@ -278841,8 +279743,14 @@ var state = {
278841
279743
  },
278842
279744
  "tags": {
278843
279745
  "in": "query",
278844
- "type": "string",
278845
- "description": "Tags to filter files by as a JSON string representing an object of key-value pairs to match files' tags against."
279746
+ "description": "Filter by tags",
279747
+ "type": "object",
279748
+ "schema": {
279749
+ "type": "object",
279750
+ "additionalProperties": {
279751
+ "type": "string"
279752
+ }
279753
+ }
278846
279754
  }
278847
279755
  },
278848
279756
  "response": {
@@ -278861,13 +279769,24 @@ var state = {
278861
279769
  "botId": {
278862
279770
  "type": "string"
278863
279771
  },
278864
- "filename": {
279772
+ "name": {
278865
279773
  "type": "string"
278866
279774
  },
278867
- "bytes": {
279775
+ "size": {
278868
279776
  "type": "number",
278869
279777
  "nullable": true
278870
279778
  },
279779
+ "contentType": {
279780
+ "type": "string"
279781
+ },
279782
+ "tags": {
279783
+ "type": "object",
279784
+ "additionalProperties": {
279785
+ "type": "string",
279786
+ "maxLength": 1e3
279787
+ },
279788
+ "description": "Set of tags that you can attach to a file. Individual keys can be unset by setting them to a `null` value."
279789
+ },
278871
279790
  "createdAt": {
278872
279791
  "type": "string"
278873
279792
  },
@@ -278879,13 +279798,27 @@ var state = {
278879
279798
  "items": {
278880
279799
  "type": "string"
278881
279800
  }
279801
+ },
279802
+ "indexingStatus": {
279803
+ "type": "string",
279804
+ "enum": [
279805
+ "PENDING",
279806
+ "IN_PROGRESS",
279807
+ "COMPLETE",
279808
+ "FAILED"
279809
+ ]
279810
+ },
279811
+ "indexingFailureReason": {
279812
+ "type": "string"
278882
279813
  }
278883
279814
  },
278884
279815
  "required": [
278885
279816
  "id",
278886
279817
  "botId",
278887
- "filename",
278888
- "bytes",
279818
+ "name",
279819
+ "size",
279820
+ "contentType",
279821
+ "tags",
278889
279822
  "createdAt",
278890
279823
  "updatedAt",
278891
279824
  "accessPolicies"
@@ -278923,30 +279856,6 @@ var state = {
278923
279856
  "type": "string",
278924
279857
  "description": "File ID",
278925
279858
  "in": "path"
278926
- },
278927
- "x-bot-id": {
278928
- "in": "header",
278929
- "description": "Bot id",
278930
- "type": "string",
278931
- "required": true
278932
- },
278933
- "x-integration-id": {
278934
- "in": "header",
278935
- "description": "Integration id",
278936
- "type": "string",
278937
- "required": false
278938
- },
278939
- "x-user-id": {
278940
- "in": "header",
278941
- "description": "User id",
278942
- "type": "string",
278943
- "required": false
278944
- },
278945
- "x-user-role": {
278946
- "in": "header",
278947
- "description": "User role",
278948
- "type": "string",
278949
- "required": false
278950
279859
  }
278951
279860
  },
278952
279861
  "response": {
@@ -278963,13 +279872,16 @@ var state = {
278963
279872
  "botId": {
278964
279873
  "type": "string"
278965
279874
  },
278966
- "filename": {
279875
+ "name": {
278967
279876
  "type": "string"
278968
279877
  },
278969
- "bytes": {
279878
+ "size": {
278970
279879
  "type": "number",
278971
279880
  "nullable": true
278972
279881
  },
279882
+ "contentType": {
279883
+ "type": "string"
279884
+ },
278973
279885
  "tags": {
278974
279886
  "type": "object",
278975
279887
  "additionalProperties": {
@@ -278989,13 +279901,26 @@ var state = {
278989
279901
  "items": {
278990
279902
  "type": "string"
278991
279903
  }
279904
+ },
279905
+ "indexingStatus": {
279906
+ "type": "string",
279907
+ "enum": [
279908
+ "PENDING",
279909
+ "IN_PROGRESS",
279910
+ "COMPLETE",
279911
+ "FAILED"
279912
+ ]
279913
+ },
279914
+ "indexingFailureReason": {
279915
+ "type": "string"
278992
279916
  }
278993
279917
  },
278994
279918
  "required": [
278995
279919
  "id",
278996
279920
  "botId",
278997
- "filename",
278998
- "bytes",
279921
+ "name",
279922
+ "size",
279923
+ "contentType",
278999
279924
  "tags",
279000
279925
  "createdAt",
279001
279926
  "updatedAt",
@@ -279023,30 +279948,6 @@ var state = {
279023
279948
  "type": "string",
279024
279949
  "description": "File ID",
279025
279950
  "in": "path"
279026
- },
279027
- "x-bot-id": {
279028
- "in": "header",
279029
- "description": "Bot id",
279030
- "type": "string",
279031
- "required": true
279032
- },
279033
- "x-integration-id": {
279034
- "in": "header",
279035
- "description": "Integration id",
279036
- "type": "string",
279037
- "required": false
279038
- },
279039
- "x-user-id": {
279040
- "in": "header",
279041
- "description": "User id",
279042
- "type": "string",
279043
- "required": false
279044
- },
279045
- "x-user-role": {
279046
- "in": "header",
279047
- "description": "User role",
279048
- "type": "string",
279049
- "required": false
279050
279951
  }
279051
279952
  },
279052
279953
  "response": {
@@ -279078,30 +279979,6 @@ var state = {
279078
279979
  "type": "string",
279079
279980
  "description": "File ID",
279080
279981
  "in": "path"
279081
- },
279082
- "x-bot-id": {
279083
- "in": "header",
279084
- "description": "Bot id",
279085
- "type": "string",
279086
- "required": true
279087
- },
279088
- "x-integration-id": {
279089
- "in": "header",
279090
- "description": "Integration id",
279091
- "type": "string",
279092
- "required": false
279093
- },
279094
- "x-user-id": {
279095
- "in": "header",
279096
- "description": "User id",
279097
- "type": "string",
279098
- "required": false
279099
- },
279100
- "x-user-role": {
279101
- "in": "header",
279102
- "description": "User role",
279103
- "type": "string",
279104
- "required": false
279105
279982
  }
279106
279983
  },
279107
279984
  "requestBody": {
@@ -279147,6 +280024,86 @@ var state = {
279147
280024
  }
279148
280025
  }
279149
280026
  },
280027
+ "searchFiles": {
280028
+ "name": "searchFiles",
280029
+ "path": "/v1/files/bot/{botId}/search",
280030
+ "description": "Search files",
280031
+ "method": "get",
280032
+ "section": "files",
280033
+ "parameters": {
280034
+ "botId": {
280035
+ "type": "string",
280036
+ "description": "Bot ID",
280037
+ "in": "path"
280038
+ },
280039
+ "tags": {
280040
+ "in": "query",
280041
+ "description": "Filter by tags",
280042
+ "type": "object",
280043
+ "schema": {
280044
+ "type": "object",
280045
+ "additionalProperties": {
280046
+ "type": "string"
280047
+ }
280048
+ }
280049
+ },
280050
+ "query": {
280051
+ "in": "query",
280052
+ "type": "string",
280053
+ "description": "Query expressed in natural language to retrieve matching text passages within all files using semantical search.",
280054
+ "required": true
280055
+ },
280056
+ "limit": {
280057
+ "in": "query",
280058
+ "type": "string",
280059
+ "description": "The maximum number of passages to return."
280060
+ }
280061
+ },
280062
+ "response": {
280063
+ "description": "Returns the passages matching the query.",
280064
+ "schema": {
280065
+ "type": "object",
280066
+ "properties": {
280067
+ "passages": {
280068
+ "type": "array",
280069
+ "items": {
280070
+ "type": "object",
280071
+ "properties": {
280072
+ "fileId": {
280073
+ "type": "string"
280074
+ },
280075
+ "score": {
280076
+ "type": "number"
280077
+ },
280078
+ "content": {
280079
+ "type": "string"
280080
+ },
280081
+ "tags": {
280082
+ "type": "object",
280083
+ "additionalProperties": {
280084
+ "type": "string",
280085
+ "maxLength": 1e3
280086
+ },
280087
+ "description": "Set of tags that you can attach to a file. Individual keys can be unset by setting them to a `null` value."
280088
+ }
280089
+ },
280090
+ "required": [
280091
+ "fileId",
280092
+ "score",
280093
+ "content",
280094
+ "tags"
280095
+ ]
280096
+ }
280097
+ }
280098
+ },
280099
+ "required": [
280100
+ "passages"
280101
+ ],
280102
+ "title": "searchFilesResponse",
280103
+ "additionalProperties": false
280104
+ }
280105
+ }
280106
+ },
279150
280107
  "listTables": {
279151
280108
  "name": "listTables",
279152
280109
  "path": "/v1/tables",
@@ -279855,7 +280812,7 @@ var state = {
279855
280812
  "title": "Botpress API",
279856
280813
  "description": "API for Botpress Cloud",
279857
280814
  "server": "https://api.botpress.cloud",
279858
- "version": "0.19.1",
280815
+ "version": "0.19.3",
279859
280816
  "prefix": "v1"
279860
280817
  },
279861
280818
  "errors": [
@@ -280122,6 +281079,7 @@ var state = {
280122
281079
  "getFileMetadataResponse": true,
280123
281080
  "getFileContentResponse": true,
280124
281081
  "updateFileMetadataResponse": true,
281082
+ "searchFilesResponse": true,
280125
281083
  "listTablesResponse": true,
280126
281084
  "getTableResponse": true,
280127
281085
  "createTableResponse": true,
@@ -282147,13 +283105,16 @@ var state = {
282147
283105
  "botId": {
282148
283106
  "type": "string"
282149
283107
  },
282150
- "filename": {
283108
+ "name": {
282151
283109
  "type": "string"
282152
283110
  },
282153
- "bytes": {
283111
+ "size": {
282154
283112
  "type": "number",
282155
283113
  "nullable": true
282156
283114
  },
283115
+ "contentType": {
283116
+ "type": "string"
283117
+ },
282157
283118
  "tags": {
282158
283119
  "type": "object",
282159
283120
  "additionalProperties": {
@@ -282173,13 +283134,26 @@ var state = {
282173
283134
  "items": {
282174
283135
  "type": "string"
282175
283136
  }
283137
+ },
283138
+ "indexingStatus": {
283139
+ "type": "string",
283140
+ "enum": [
283141
+ "PENDING",
283142
+ "IN_PROGRESS",
283143
+ "COMPLETE",
283144
+ "FAILED"
283145
+ ]
283146
+ },
283147
+ "indexingFailureReason": {
283148
+ "type": "string"
282176
283149
  }
282177
283150
  },
282178
283151
  "required": [
282179
283152
  "id",
282180
283153
  "botId",
282181
- "filename",
282182
- "bytes",
283154
+ "name",
283155
+ "size",
283156
+ "contentType",
282183
283157
  "tags",
282184
283158
  "createdAt",
282185
283159
  "updatedAt",
@@ -282449,7 +283423,8 @@ var state = {
282449
283423
  "listFiles",
282450
283424
  "getFileMetadata",
282451
283425
  "getFileContent",
282452
- "updateFileMetadata"
283426
+ "updateFileMetadata",
283427
+ "searchFiles"
282453
283428
  ],
282454
283429
  "schema": "File"
282455
283430
  }