windmill-client 1.269.0 → 1.270.0
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/core/OpenAPI.js
CHANGED
|
@@ -379,6 +379,30 @@ export declare class WorkspaceService {
|
|
|
379
379
|
default_app_path?: string;
|
|
380
380
|
};
|
|
381
381
|
}): CancelablePromise<string>;
|
|
382
|
+
/**
|
|
383
|
+
* retrieves the encryption key for this workspace
|
|
384
|
+
* @returns any status
|
|
385
|
+
* @throws ApiError
|
|
386
|
+
*/
|
|
387
|
+
static getWorkspaceEncryptionKey({ workspace, }: {
|
|
388
|
+
workspace: string;
|
|
389
|
+
}): CancelablePromise<{
|
|
390
|
+
key: string;
|
|
391
|
+
}>;
|
|
392
|
+
/**
|
|
393
|
+
* update the encryption key for this workspace
|
|
394
|
+
* @returns string status
|
|
395
|
+
* @throws ApiError
|
|
396
|
+
*/
|
|
397
|
+
static setWorkspaceEncryptionKey({ workspace, requestBody, }: {
|
|
398
|
+
workspace: string;
|
|
399
|
+
/**
|
|
400
|
+
* New encryption key
|
|
401
|
+
*/
|
|
402
|
+
requestBody: {
|
|
403
|
+
new_key: string;
|
|
404
|
+
};
|
|
405
|
+
}): CancelablePromise<string>;
|
|
382
406
|
/**
|
|
383
407
|
* get default app for workspace
|
|
384
408
|
* @returns any status
|
|
@@ -439,6 +439,36 @@ class WorkspaceService {
|
|
|
439
439
|
mediaType: 'application/json',
|
|
440
440
|
});
|
|
441
441
|
}
|
|
442
|
+
/**
|
|
443
|
+
* retrieves the encryption key for this workspace
|
|
444
|
+
* @returns any status
|
|
445
|
+
* @throws ApiError
|
|
446
|
+
*/
|
|
447
|
+
static getWorkspaceEncryptionKey({ workspace, }) {
|
|
448
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
449
|
+
method: 'GET',
|
|
450
|
+
url: '/w/{workspace}/workspaces/encryption_key',
|
|
451
|
+
path: {
|
|
452
|
+
'workspace': workspace,
|
|
453
|
+
},
|
|
454
|
+
});
|
|
455
|
+
}
|
|
456
|
+
/**
|
|
457
|
+
* update the encryption key for this workspace
|
|
458
|
+
* @returns string status
|
|
459
|
+
* @throws ApiError
|
|
460
|
+
*/
|
|
461
|
+
static setWorkspaceEncryptionKey({ workspace, requestBody, }) {
|
|
462
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
463
|
+
method: 'POST',
|
|
464
|
+
url: '/w/{workspace}/workspaces/encryption_key',
|
|
465
|
+
path: {
|
|
466
|
+
'workspace': workspace,
|
|
467
|
+
},
|
|
468
|
+
body: requestBody,
|
|
469
|
+
mediaType: 'application/json',
|
|
470
|
+
});
|
|
471
|
+
}
|
|
442
472
|
/**
|
|
443
473
|
* get default app for workspace
|
|
444
474
|
* @returns any status
|