windmill-client 1.292.4 → 1.293.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.
@@ -13,7 +13,7 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
13
13
  var _CancelablePromise_isResolved, _CancelablePromise_isRejected, _CancelablePromise_isCancelled, _CancelablePromise_cancelHandlers, _CancelablePromise_promise, _CancelablePromise_resolve, _CancelablePromise_reject;
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
15
  exports.CancelablePromise = exports.CancelError = void 0;
16
- /* generated using openapi-typescript-codegen -- do no edit */
16
+ /* generated using openapi-typescript-codegen -- do not edit */
17
17
  /* istanbul ignore file */
18
18
  /* tslint:disable */
19
19
  /* eslint-disable */
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.OpenAPI = void 0;
4
4
  exports.OpenAPI = {
5
5
  BASE: '/api',
6
- VERSION: '1.292.4',
6
+ VERSION: '1.293.1',
7
7
  WITH_CREDENTIALS: false,
8
8
  CREDENTIALS: 'include',
9
9
  TOKEN: undefined,
@@ -10,7 +10,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.request = exports.catchErrorCodes = exports.getResponseBody = exports.getResponseHeader = exports.sendRequest = exports.getRequestBody = exports.getHeaders = exports.resolve = exports.getFormData = exports.getQueryString = exports.base64 = exports.isFormData = exports.isBlob = exports.isStringWithValue = exports.isString = exports.isDefined = void 0;
13
- /* generated using openapi-typescript-codegen -- do no edit */
13
+ /* generated using openapi-typescript-codegen -- do not edit */
14
14
  /* istanbul ignore file */
15
15
  /* tslint:disable */
16
16
  /* eslint-disable */
@@ -151,7 +151,7 @@ const getHeaders = (config, options) => __awaiter(void 0, void 0, void 0, functi
151
151
  const credentials = (0, exports.base64)(`${username}:${password}`);
152
152
  headers['Authorization'] = `Basic ${credentials}`;
153
153
  }
154
- if (options.body) {
154
+ if (options.body !== undefined) {
155
155
  if (options.mediaType) {
156
156
  headers['Content-Type'] = options.mediaType;
157
157
  }
package/dist/index.js CHANGED
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VariableService = exports.UserService = exports.SettingsService = exports.SettingService = exports.ScriptService = exports.ScheduleService = exports.ResourceService = exports.RawAppService = exports.OidcService = exports.OauthService = exports.MetricsService = exports.JobService = exports.IntegrationService = exports.InputService = exports.HelpersService = exports.GroupService = exports.GranularAclService = exports.FolderService = exports.FlowService = exports.FavoriteService = exports.DraftService = exports.ConfigService = exports.ConcurrencyGroupsService = exports.CaptureService = exports.AuditService = exports.AppService = exports.AdminService = exports.WindmillFilePreview = exports.Script = exports.RunnableType = exports.RawScriptForDependencies = exports.RawScript = exports.QueuedJob = exports.Preview = exports.Policy = exports.NewScript = exports.MainArgSignature = exports.ListableApp = exports.LargeFileStorage = exports.Job = exports.GlobalUserInfo = exports.FlowStatusModule = exports.CompletedJob = exports.AuditLog = exports.AppWithLastVersion = exports.ActionKind = exports.OpenAPI = exports.CancelError = exports.CancelablePromise = exports.ApiError = void 0;
4
4
  exports.getRootJobId = exports.waitJob = exports.runScriptAsync = exports.runScript = exports.task = exports.writeS3File = exports.loadS3File = exports.loadS3FileStream = exports.denoS3LightClientSettings = exports.getIdToken = exports.getState = exports.setState = exports.getResumeUrls = exports.setResource = exports.getResource = exports.setVariable = exports.getVariable = exports.setClient = exports.WorkspaceService = exports.WorkerService = void 0;
5
- /* generated using openapi-typescript-codegen -- do no edit */
5
+ /* generated using openapi-typescript-codegen -- do not edit */
6
6
  /* istanbul ignore file */
7
7
  /* tslint:disable */
8
8
  /* eslint-disable */
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ActionKind = void 0;
4
- /* generated using openapi-typescript-codegen -- do no edit */
4
+ /* generated using openapi-typescript-codegen -- do not edit */
5
5
  /* istanbul ignore file */
6
6
  /* tslint:disable */
7
7
  /* eslint-disable */
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.RunnableType = void 0;
4
- /* generated using openapi-typescript-codegen -- do no edit */
4
+ /* generated using openapi-typescript-codegen -- do not edit */
5
5
  /* istanbul ignore file */
6
6
  /* tslint:disable */
7
7
  /* eslint-disable */
@@ -62,6 +62,23 @@ export declare class SettingService {
62
62
  license_key: string;
63
63
  };
64
64
  }): CancelablePromise<string>;
65
+ /**
66
+ * test s3 config
67
+ * @returns string status
68
+ * @throws ApiError
69
+ */
70
+ static testS3Config({ requestBody, }: {
71
+ /**
72
+ * test s3 config
73
+ */
74
+ requestBody: {
75
+ bucket?: string;
76
+ region?: string;
77
+ access_key?: string;
78
+ secret_key?: string;
79
+ endpoint?: string;
80
+ };
81
+ }): CancelablePromise<string>;
65
82
  /**
66
83
  * send stats
67
84
  * @returns string status
@@ -71,6 +71,19 @@ class SettingService {
71
71
  mediaType: 'application/json',
72
72
  });
73
73
  }
74
+ /**
75
+ * test s3 config
76
+ * @returns string status
77
+ * @throws ApiError
78
+ */
79
+ static testS3Config({ requestBody, }) {
80
+ return (0, request_1.request)(OpenAPI_1.OpenAPI, {
81
+ method: 'POST',
82
+ url: '/settings/test_s3_config',
83
+ body: requestBody,
84
+ mediaType: 'application/json',
85
+ });
86
+ }
74
87
  /**
75
88
  * send stats
76
89
  * @returns string status
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "windmill-client",
3
3
  "description": "Windmill SDK client for browsers and Node.js",
4
- "version": "1.292.4",
4
+ "version": "1.293.1",
5
5
  "author": "Ruben Fiszel",
6
6
  "license": "Apache 2.0",
7
7
  "devDependencies": {