@platzio/sdk 0.6.0-beta.3 → 0.7.0-beta.2
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/.github/workflows/release.yaml +17 -5
- package/AGENTS.md +9 -0
- package/dist/index.d.mts +586 -5347
- package/dist/index.d.ts +586 -5347
- package/dist/index.js +262 -435
- package/dist/index.mjs +258 -432
- package/openapi.yaml +1461 -1596
- package/package.json +3 -3
- package/src/.openapi-generator/FILES +190 -0
- package/src/.openapi-generator/VERSION +1 -1
- package/src/api.ts +565 -5536
- package/src/base.ts +0 -24
- package/src/common.ts +19 -42
- package/src/configuration.ts +32 -21
- package/src/docs/AuthenticationApi.md +147 -0
- package/src/docs/Bot.md +24 -0
- package/src/docs/BotToken.md +26 -0
- package/src/docs/BotTokensApi.md +215 -0
- package/src/docs/BotsApi.md +164 -0
- package/src/docs/ChartExt.md +30 -0
- package/src/docs/ChartExtActionEndpoint.md +8 -0
- package/src/docs/ChartExtActionMethod.md +16 -0
- package/src/docs/ChartExtActionTarget.md +24 -0
- package/src/docs/ChartExtActionUserDeploymentRole.md +10 -0
- package/src/docs/ChartExtActionV0.md +40 -0
- package/src/docs/ChartExtActionV1Beta1.md +24 -0
- package/src/docs/ChartExtActions.md +22 -0
- package/src/docs/ChartExtActionsV0.md +22 -0
- package/src/docs/ChartExtCardinality.md +10 -0
- package/src/docs/ChartExtDeploymentDisplay.md +22 -0
- package/src/docs/ChartExtDeploymentDisplayIcon.md +20 -0
- package/src/docs/ChartExtDeploymentDisplayName.md +20 -0
- package/src/docs/ChartExtDeploymentDisplayNameInputField.md +20 -0
- package/src/docs/ChartExtDeploymentDisplayNameOneOf.md +20 -0
- package/src/docs/ChartExtFeatures.md +36 -0
- package/src/docs/ChartExtFeaturesSpec.md +32 -0
- package/src/docs/ChartExtFeaturesV0.md +30 -0
- package/src/docs/ChartExtFeaturesV1Beta1.md +24 -0
- package/src/docs/ChartExtFeaturesV1Beta2.md +24 -0
- package/src/docs/ChartExtIngress.md +22 -0
- package/src/docs/ChartExtIngressHostnameFormat.md +10 -0
- package/src/docs/ChartExtKindAction.md +8 -0
- package/src/docs/ChartExtKindFeatures.md +8 -0
- package/src/docs/ChartExtKindResourceType.md +8 -0
- package/src/docs/ChartExtKindValuesUi.md +8 -0
- package/src/docs/ChartExtResourceLifecycleActionV1Beta1.md +22 -0
- package/src/docs/ChartExtResourceLifecycleV1Beta1.md +24 -0
- package/src/docs/ChartExtResourceTypeV1Beta1.md +26 -0
- package/src/docs/ChartExtResourceTypeV1Beta1Spec.md +30 -0
- package/src/docs/ChartExtStatusFeature.md +24 -0
- package/src/docs/ChartExtVersionV1Beta1.md +8 -0
- package/src/docs/ChartExtVersionV1Beta2.md +8 -0
- package/src/docs/ChartMetadata.md +28 -0
- package/src/docs/CreateBotToken.md +20 -0
- package/src/docs/CreateDeploymentTask.md +24 -0
- package/src/docs/CreateUserToken.md +20 -0
- package/src/docs/CreatedBotToken.md +20 -0
- package/src/docs/CreatedUserToken.md +20 -0
- package/src/docs/DbEvent.md +24 -0
- package/src/docs/DbEventData.md +20 -0
- package/src/docs/DbEventOperation.md +12 -0
- package/src/docs/DbTable.md +40 -0
- package/src/docs/DbTableOrDeploymentResource.md +22 -0
- package/src/docs/DbTableOrDeploymentResourceOneOf.md +22 -0
- package/src/docs/Deployment.md +46 -0
- package/src/docs/DeploymentInstallTask.md +24 -0
- package/src/docs/DeploymentInvokeActionTask.md +24 -0
- package/src/docs/DeploymentKind.md +24 -0
- package/src/docs/DeploymentKindsApi.md +164 -0
- package/src/docs/DeploymentPermission.md +30 -0
- package/src/docs/DeploymentPermissionsApi.md +212 -0
- package/src/docs/DeploymentRecreaseTask.md +26 -0
- package/src/docs/DeploymentReinstallTask.md +20 -0
- package/src/docs/DeploymentReportedMetric.md +26 -0
- package/src/docs/DeploymentReportedNotice.md +22 -0
- package/src/docs/DeploymentReportedNoticeLevel.md +12 -0
- package/src/docs/DeploymentReportedStatus.md +26 -0
- package/src/docs/DeploymentReportedStatusColor.md +16 -0
- package/src/docs/DeploymentReportedStatusContent.md +26 -0
- package/src/docs/DeploymentReportedStatusSummary.md +22 -0
- package/src/docs/DeploymentResource.md +36 -0
- package/src/docs/DeploymentResourceSyncStatus.md +16 -0
- package/src/docs/DeploymentResourceType.md +30 -0
- package/src/docs/DeploymentResourceTypesApi.md +115 -0
- package/src/docs/DeploymentResourcesApi.md +267 -0
- package/src/docs/DeploymentRestartK8sResourceTask.md +22 -0
- package/src/docs/DeploymentStatus.md +24 -0
- package/src/docs/DeploymentTask.md +48 -0
- package/src/docs/DeploymentTaskOperation.md +32 -0
- package/src/docs/DeploymentTaskOperationOneOf.md +20 -0
- package/src/docs/DeploymentTaskOperationOneOf1.md +20 -0
- package/src/docs/DeploymentTaskOperationOneOf2.md +20 -0
- package/src/docs/DeploymentTaskOperationOneOf3.md +20 -0
- package/src/docs/DeploymentTaskOperationOneOf4.md +20 -0
- package/src/docs/DeploymentTaskOperationOneOf5.md +20 -0
- package/src/docs/DeploymentTaskOperationOneOf6.md +20 -0
- package/src/docs/DeploymentTaskStatus.md +16 -0
- package/src/docs/DeploymentTasksApi.md +164 -0
- package/src/docs/DeploymentUpgradeTask.md +28 -0
- package/src/docs/DeploymentsApi.md +276 -0
- package/src/docs/Env.md +30 -0
- package/src/docs/EnvUserPermission.md +28 -0
- package/src/docs/EnvUserPermissionsApi.md +212 -0
- package/src/docs/EnvUserRole.md +10 -0
- package/src/docs/EnvsApi.md +270 -0
- package/src/docs/FinishGoogleLoginResponse.md +20 -0
- package/src/docs/HelmChart.md +50 -0
- package/src/docs/HelmChartsApi.md +112 -0
- package/src/docs/HelmRegistriesApi.md +167 -0
- package/src/docs/HelmRegistry.md +34 -0
- package/src/docs/HelmRegistryProvider.md +10 -0
- package/src/docs/HelmTagFormat.md +24 -0
- package/src/docs/HelmTagFormatsApi.md +212 -0
- package/src/docs/K8sCluster.md +48 -0
- package/src/docs/K8sResource.md +36 -0
- package/src/docs/KubernetesClustersApi.md +218 -0
- package/src/docs/KubernetesResourcesApi.md +118 -0
- package/src/docs/MeResponse.md +24 -0
- package/src/docs/MeResponseOneOf.md +20 -0
- package/src/docs/MeResponseOneOf1.md +20 -0
- package/src/docs/MeResponseOneOf2.md +20 -0
- package/src/docs/MeResponseOneOf2Deployment.md +22 -0
- package/src/docs/NewDeployment.md +30 -0
- package/src/docs/NewDeploymentPermission.md +26 -0
- package/src/docs/NewDeploymentResource.md +32 -0
- package/src/docs/NewEnv.md +22 -0
- package/src/docs/NewEnvUserPermission.md +24 -0
- package/src/docs/NewHelmTagFormat.md +20 -0
- package/src/docs/NewSecret.md +26 -0
- package/src/docs/OAuth2Response.md +20 -0
- package/src/docs/PaginatedBot.md +26 -0
- package/src/docs/PaginatedBotItemsInner.md +24 -0
- package/src/docs/PaginatedBotToken.md +26 -0
- package/src/docs/PaginatedBotTokenItemsInner.md +26 -0
- package/src/docs/PaginatedDeployment.md +26 -0
- package/src/docs/PaginatedDeploymentItemsInner.md +46 -0
- package/src/docs/PaginatedDeploymentKind.md +26 -0
- package/src/docs/PaginatedDeploymentKindItemsInner.md +24 -0
- package/src/docs/PaginatedDeploymentPermission.md +26 -0
- package/src/docs/PaginatedDeploymentPermissionItemsInner.md +30 -0
- package/src/docs/PaginatedDeploymentResource.md +26 -0
- package/src/docs/PaginatedDeploymentResourceItemsInner.md +36 -0
- package/src/docs/PaginatedDeploymentResourceType.md +26 -0
- package/src/docs/PaginatedDeploymentResourceTypeItemsInner.md +30 -0
- package/src/docs/PaginatedDeploymentTask.md +26 -0
- package/src/docs/PaginatedDeploymentTaskItemsInner.md +48 -0
- package/src/docs/PaginatedEnv.md +26 -0
- package/src/docs/PaginatedEnvItemsInner.md +30 -0
- package/src/docs/PaginatedEnvUserPermission.md +26 -0
- package/src/docs/PaginatedEnvUserPermissionItemsInner.md +28 -0
- package/src/docs/PaginatedHelmChart.md +26 -0
- package/src/docs/PaginatedHelmChartItemsInner.md +50 -0
- package/src/docs/PaginatedHelmRegistry.md +26 -0
- package/src/docs/PaginatedHelmRegistryItemsInner.md +34 -0
- package/src/docs/PaginatedHelmTagFormat.md +26 -0
- package/src/docs/PaginatedHelmTagFormatItemsInner.md +24 -0
- package/src/docs/PaginatedK8sCluster.md +26 -0
- package/src/docs/PaginatedK8sClusterItemsInner.md +48 -0
- package/src/docs/PaginatedK8sResource.md +26 -0
- package/src/docs/PaginatedK8sResourceItemsInner.md +36 -0
- package/src/docs/PaginatedSecret.md +26 -0
- package/src/docs/PaginatedSecretItemsInner.md +30 -0
- package/src/docs/PaginatedUser.md +26 -0
- package/src/docs/PaginatedUserItemsInner.md +30 -0
- package/src/docs/PaginatedUserToken.md +26 -0
- package/src/docs/PaginatedUserTokenItemsInner.md +24 -0
- package/src/docs/Secret.md +30 -0
- package/src/docs/SecretsApi.md +273 -0
- package/src/docs/SerializedUiSchemaInputType.md +24 -0
- package/src/docs/ServerApi.md +51 -0
- package/src/docs/ServerInfo.md +20 -0
- package/src/docs/StartGoogleLoginResponse.md +20 -0
- package/src/docs/UiSchema.md +26 -0
- package/src/docs/UiSchemaFieldValuePair.md +22 -0
- package/src/docs/UiSchemaInput.md +50 -0
- package/src/docs/UiSchemaInputFieldOption.md +24 -0
- package/src/docs/UiSchemaInputFieldValue.md +22 -0
- package/src/docs/UiSchemaInputRef.md +22 -0
- package/src/docs/UiSchemaInputRefField.md +20 -0
- package/src/docs/UiSchemaInputRefOneOf.md +20 -0
- package/src/docs/UiSchemaInputRefOneOf1.md +20 -0
- package/src/docs/UiSchemaInputRefProperty.md +22 -0
- package/src/docs/UiSchemaInputSingleType.md +20 -0
- package/src/docs/UiSchemaInputSingleTypeOneOf.md +20 -0
- package/src/docs/UiSchemaInputSingleTypeOneOfCollectionSelect.md +20 -0
- package/src/docs/UiSchemaInputType.md +22 -0
- package/src/docs/UiSchemaOutputValue.md +22 -0
- package/src/docs/UiSchemaOutputs.md +22 -0
- package/src/docs/UiSchemaV0.md +22 -0
- package/src/docs/UiSchemaV1Beta1.md +26 -0
- package/src/docs/UpdateBot.md +20 -0
- package/src/docs/UpdateDeployment.md +32 -0
- package/src/docs/UpdateDeploymentKind.md +20 -0
- package/src/docs/UpdateDeploymentResource.md +22 -0
- package/src/docs/UpdateEnv.md +26 -0
- package/src/docs/UpdateHelmRegistry.md +20 -0
- package/src/docs/UpdateK8sCluster.md +32 -0
- package/src/docs/UpdateSecret.md +22 -0
- package/src/docs/UpdateUser.md +22 -0
- package/src/docs/User.md +30 -0
- package/src/docs/UserDeploymentRole.md +10 -0
- package/src/docs/UserToken.md +24 -0
- package/src/docs/UserTokensApi.md +212 -0
- package/src/docs/UsersApi.md +170 -0
- package/tsconfig.json +1 -0
package/dist/index.js
CHANGED
|
@@ -65,8 +65,8 @@ var __async = (__this, __arguments, generator) => {
|
|
|
65
65
|
};
|
|
66
66
|
|
|
67
67
|
// src/index.ts
|
|
68
|
-
var
|
|
69
|
-
__export(
|
|
68
|
+
var index_exports = {};
|
|
69
|
+
__export(index_exports, {
|
|
70
70
|
AuthenticationApi: () => AuthenticationApi,
|
|
71
71
|
AuthenticationApiAxiosParamCreator: () => AuthenticationApiAxiosParamCreator,
|
|
72
72
|
AuthenticationApiFactory: () => AuthenticationApiFactory,
|
|
@@ -139,6 +139,7 @@ __export(src_exports, {
|
|
|
139
139
|
HelmRegistriesApiAxiosParamCreator: () => HelmRegistriesApiAxiosParamCreator,
|
|
140
140
|
HelmRegistriesApiFactory: () => HelmRegistriesApiFactory,
|
|
141
141
|
HelmRegistriesApiFp: () => HelmRegistriesApiFp,
|
|
142
|
+
HelmRegistryProvider: () => HelmRegistryProvider,
|
|
142
143
|
HelmTagFormatsApi: () => HelmTagFormatsApi,
|
|
143
144
|
HelmTagFormatsApiAxiosParamCreator: () => HelmTagFormatsApiAxiosParamCreator,
|
|
144
145
|
HelmTagFormatsApiFactory: () => HelmTagFormatsApiFactory,
|
|
@@ -169,7 +170,7 @@ __export(src_exports, {
|
|
|
169
170
|
UsersApiFactory: () => UsersApiFactory,
|
|
170
171
|
UsersApiFp: () => UsersApiFp
|
|
171
172
|
});
|
|
172
|
-
module.exports = __toCommonJS(
|
|
173
|
+
module.exports = __toCommonJS(index_exports);
|
|
173
174
|
|
|
174
175
|
// src/api.ts
|
|
175
176
|
var import_axios2 = __toESM(require("axios"));
|
|
@@ -223,7 +224,7 @@ var setBearerAuthToObject = function(object, configuration) {
|
|
|
223
224
|
function setFlattenedQueryParams(urlSearchParams, parameter, key = "") {
|
|
224
225
|
if (parameter == null) return;
|
|
225
226
|
if (typeof parameter === "object") {
|
|
226
|
-
if (Array.isArray(parameter)) {
|
|
227
|
+
if (Array.isArray(parameter) || parameter instanceof Set) {
|
|
227
228
|
parameter.forEach((item) => setFlattenedQueryParams(urlSearchParams, item, key));
|
|
228
229
|
} else {
|
|
229
230
|
Object.keys(parameter).forEach(
|
|
@@ -243,10 +244,17 @@ var setSearchParams = function(url, ...objects) {
|
|
|
243
244
|
setFlattenedQueryParams(searchParams, objects);
|
|
244
245
|
url.search = searchParams.toString();
|
|
245
246
|
};
|
|
247
|
+
var replaceWithSerializableTypeIfNeeded = function(key, value) {
|
|
248
|
+
if (value instanceof Set) {
|
|
249
|
+
return Array.from(value);
|
|
250
|
+
} else {
|
|
251
|
+
return value;
|
|
252
|
+
}
|
|
253
|
+
};
|
|
246
254
|
var serializeDataIfNeeded = function(value, requestOptions, configuration) {
|
|
247
255
|
const nonString = typeof value !== "string";
|
|
248
256
|
const needsSerialization = nonString && configuration && configuration.isJsonMime ? configuration.isJsonMime(requestOptions.headers["Content-Type"]) : nonString;
|
|
249
|
-
return needsSerialization ? JSON.stringify(value !== void 0 ? value : {}) : value || "";
|
|
257
|
+
return needsSerialization ? JSON.stringify(value !== void 0 ? value : {}, replaceWithSerializableTypeIfNeeded) : value || "";
|
|
250
258
|
};
|
|
251
259
|
var toPathString = function(url) {
|
|
252
260
|
return url.pathname + url.search + url.hash;
|
|
@@ -365,6 +373,10 @@ var EnvUserRole = {
|
|
|
365
373
|
Admin: "Admin",
|
|
366
374
|
User: "User"
|
|
367
375
|
};
|
|
376
|
+
var HelmRegistryProvider = {
|
|
377
|
+
Ecr: "Ecr",
|
|
378
|
+
Oci: "Oci"
|
|
379
|
+
};
|
|
368
380
|
var UserDeploymentRole = {
|
|
369
381
|
Owner: "Owner",
|
|
370
382
|
Maintainer: "Maintainer"
|
|
@@ -376,7 +388,7 @@ var AuthenticationApiAxiosParamCreator = function(configuration) {
|
|
|
376
388
|
* @param {*} [options] Override http request option.
|
|
377
389
|
* @throws {RequiredError}
|
|
378
390
|
*/
|
|
379
|
-
authMe: (..._0) => __async(
|
|
391
|
+
authMe: (..._0) => __async(null, [..._0], function* (options = {}) {
|
|
380
392
|
const localVarPath = `/api/v2/auth/me`;
|
|
381
393
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
382
394
|
let baseOptions;
|
|
@@ -388,6 +400,7 @@ var AuthenticationApiAxiosParamCreator = function(configuration) {
|
|
|
388
400
|
const localVarQueryParameter = {};
|
|
389
401
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
390
402
|
yield setApiKeyToObject(localVarHeaderParameter, "x-platz-token", configuration);
|
|
403
|
+
localVarHeaderParameter["Accept"] = "application/json";
|
|
391
404
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
392
405
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
393
406
|
localVarRequestOptions.headers = __spreadValues(__spreadValues(__spreadValues({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -402,7 +415,7 @@ var AuthenticationApiAxiosParamCreator = function(configuration) {
|
|
|
402
415
|
* @param {*} [options] Override http request option.
|
|
403
416
|
* @throws {RequiredError}
|
|
404
417
|
*/
|
|
405
|
-
finishGoogleLogin: (_0, ..._1) => __async(
|
|
418
|
+
finishGoogleLogin: (_0, ..._1) => __async(null, [_0, ..._1], function* (oAuth2Response, options = {}) {
|
|
406
419
|
assertParamExists("finishGoogleLogin", "oAuth2Response", oAuth2Response);
|
|
407
420
|
const localVarPath = `/api/v2/auth/google/callback`;
|
|
408
421
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -414,6 +427,7 @@ var AuthenticationApiAxiosParamCreator = function(configuration) {
|
|
|
414
427
|
const localVarHeaderParameter = {};
|
|
415
428
|
const localVarQueryParameter = {};
|
|
416
429
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
430
|
+
localVarHeaderParameter["Accept"] = "application/json";
|
|
417
431
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
418
432
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
419
433
|
localVarRequestOptions.headers = __spreadValues(__spreadValues(__spreadValues({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -428,7 +442,7 @@ var AuthenticationApiAxiosParamCreator = function(configuration) {
|
|
|
428
442
|
* @param {*} [options] Override http request option.
|
|
429
443
|
* @throws {RequiredError}
|
|
430
444
|
*/
|
|
431
|
-
startGoogleLogin: (..._0) => __async(
|
|
445
|
+
startGoogleLogin: (..._0) => __async(null, [..._0], function* (options = {}) {
|
|
432
446
|
const localVarPath = `/api/v2/auth/google`;
|
|
433
447
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
434
448
|
let baseOptions;
|
|
@@ -438,6 +452,7 @@ var AuthenticationApiAxiosParamCreator = function(configuration) {
|
|
|
438
452
|
const localVarRequestOptions = __spreadValues(__spreadValues({ method: "GET" }, baseOptions), options);
|
|
439
453
|
const localVarHeaderParameter = {};
|
|
440
454
|
const localVarQueryParameter = {};
|
|
455
|
+
localVarHeaderParameter["Accept"] = "application/json";
|
|
441
456
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
442
457
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
443
458
|
localVarRequestOptions.headers = __spreadValues(__spreadValues(__spreadValues({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -531,7 +546,6 @@ var AuthenticationApi = class extends BaseAPI {
|
|
|
531
546
|
*
|
|
532
547
|
* @param {*} [options] Override http request option.
|
|
533
548
|
* @throws {RequiredError}
|
|
534
|
-
* @memberof AuthenticationApi
|
|
535
549
|
*/
|
|
536
550
|
authMe(options) {
|
|
537
551
|
return AuthenticationApiFp(this.configuration).authMe(options).then((request) => request(this.axios, this.basePath));
|
|
@@ -541,7 +555,6 @@ var AuthenticationApi = class extends BaseAPI {
|
|
|
541
555
|
* @param {AuthenticationApiFinishGoogleLoginRequest} requestParameters Request parameters.
|
|
542
556
|
* @param {*} [options] Override http request option.
|
|
543
557
|
* @throws {RequiredError}
|
|
544
|
-
* @memberof AuthenticationApi
|
|
545
558
|
*/
|
|
546
559
|
finishGoogleLogin(requestParameters, options) {
|
|
547
560
|
return AuthenticationApiFp(this.configuration).finishGoogleLogin(requestParameters.oAuth2Response, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -550,7 +563,6 @@ var AuthenticationApi = class extends BaseAPI {
|
|
|
550
563
|
*
|
|
551
564
|
* @param {*} [options] Override http request option.
|
|
552
565
|
* @throws {RequiredError}
|
|
553
|
-
* @memberof AuthenticationApi
|
|
554
566
|
*/
|
|
555
567
|
startGoogleLogin(options) {
|
|
556
568
|
return AuthenticationApiFp(this.configuration).startGoogleLogin(options).then((request) => request(this.axios, this.basePath));
|
|
@@ -562,12 +574,10 @@ var BotTokensApiAxiosParamCreator = function(configuration) {
|
|
|
562
574
|
*
|
|
563
575
|
* @param {string | null} [botId]
|
|
564
576
|
* @param {string | null} [createdByUserId]
|
|
565
|
-
* @param {number | null} [page]
|
|
566
|
-
* @param {number | null} [perPage]
|
|
567
577
|
* @param {*} [options] Override http request option.
|
|
568
578
|
* @throws {RequiredError}
|
|
569
579
|
*/
|
|
570
|
-
allBotTokens: (_0, _1, _2
|
|
580
|
+
allBotTokens: (_0, _1, ..._2) => __async(null, [_0, _1, ..._2], function* (botId, createdByUserId, options = {}) {
|
|
571
581
|
const localVarPath = `/api/v2/bot-tokens`;
|
|
572
582
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
573
583
|
let baseOptions;
|
|
@@ -584,12 +594,7 @@ var BotTokensApiAxiosParamCreator = function(configuration) {
|
|
|
584
594
|
if (createdByUserId !== void 0) {
|
|
585
595
|
localVarQueryParameter["created_by_user_id"] = createdByUserId;
|
|
586
596
|
}
|
|
587
|
-
|
|
588
|
-
localVarQueryParameter["page"] = page;
|
|
589
|
-
}
|
|
590
|
-
if (perPage !== void 0) {
|
|
591
|
-
localVarQueryParameter["per_page"] = perPage;
|
|
592
|
-
}
|
|
597
|
+
localVarHeaderParameter["Accept"] = "application/json";
|
|
593
598
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
594
599
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
595
600
|
localVarRequestOptions.headers = __spreadValues(__spreadValues(__spreadValues({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -604,7 +609,7 @@ var BotTokensApiAxiosParamCreator = function(configuration) {
|
|
|
604
609
|
* @param {*} [options] Override http request option.
|
|
605
610
|
* @throws {RequiredError}
|
|
606
611
|
*/
|
|
607
|
-
createBotToken: (_0, ..._1) => __async(
|
|
612
|
+
createBotToken: (_0, ..._1) => __async(null, [_0, ..._1], function* (createBotToken, options = {}) {
|
|
608
613
|
assertParamExists("createBotToken", "createBotToken", createBotToken);
|
|
609
614
|
const localVarPath = `/api/v2/bot-tokens`;
|
|
610
615
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -617,6 +622,7 @@ var BotTokensApiAxiosParamCreator = function(configuration) {
|
|
|
617
622
|
const localVarQueryParameter = {};
|
|
618
623
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
619
624
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
625
|
+
localVarHeaderParameter["Accept"] = "application/json";
|
|
620
626
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
621
627
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
622
628
|
localVarRequestOptions.headers = __spreadValues(__spreadValues(__spreadValues({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -632,9 +638,9 @@ var BotTokensApiAxiosParamCreator = function(configuration) {
|
|
|
632
638
|
* @param {*} [options] Override http request option.
|
|
633
639
|
* @throws {RequiredError}
|
|
634
640
|
*/
|
|
635
|
-
deleteBotToken: (_0, ..._1) => __async(
|
|
641
|
+
deleteBotToken: (_0, ..._1) => __async(null, [_0, ..._1], function* (id, options = {}) {
|
|
636
642
|
assertParamExists("deleteBotToken", "id", id);
|
|
637
|
-
const localVarPath = `/api/v2/bot-tokens/{id}`.replace(
|
|
643
|
+
const localVarPath = `/api/v2/bot-tokens/{id}`.replace("{id}", encodeURIComponent(String(id)));
|
|
638
644
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
639
645
|
let baseOptions;
|
|
640
646
|
if (configuration) {
|
|
@@ -658,9 +664,9 @@ var BotTokensApiAxiosParamCreator = function(configuration) {
|
|
|
658
664
|
* @param {*} [options] Override http request option.
|
|
659
665
|
* @throws {RequiredError}
|
|
660
666
|
*/
|
|
661
|
-
getBotToken: (_0, ..._1) => __async(
|
|
667
|
+
getBotToken: (_0, ..._1) => __async(null, [_0, ..._1], function* (id, options = {}) {
|
|
662
668
|
assertParamExists("getBotToken", "id", id);
|
|
663
|
-
const localVarPath = `/api/v2/bot-tokens/{id}`.replace(
|
|
669
|
+
const localVarPath = `/api/v2/bot-tokens/{id}`.replace("{id}", encodeURIComponent(String(id)));
|
|
664
670
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
665
671
|
let baseOptions;
|
|
666
672
|
if (configuration) {
|
|
@@ -670,6 +676,7 @@ var BotTokensApiAxiosParamCreator = function(configuration) {
|
|
|
670
676
|
const localVarHeaderParameter = {};
|
|
671
677
|
const localVarQueryParameter = {};
|
|
672
678
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
679
|
+
localVarHeaderParameter["Accept"] = "application/json";
|
|
673
680
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
674
681
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
675
682
|
localVarRequestOptions.headers = __spreadValues(__spreadValues(__spreadValues({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -687,15 +694,13 @@ var BotTokensApiFp = function(configuration) {
|
|
|
687
694
|
*
|
|
688
695
|
* @param {string | null} [botId]
|
|
689
696
|
* @param {string | null} [createdByUserId]
|
|
690
|
-
* @param {number | null} [page]
|
|
691
|
-
* @param {number | null} [perPage]
|
|
692
697
|
* @param {*} [options] Override http request option.
|
|
693
698
|
* @throws {RequiredError}
|
|
694
699
|
*/
|
|
695
|
-
allBotTokens(botId, createdByUserId,
|
|
700
|
+
allBotTokens(botId, createdByUserId, options) {
|
|
696
701
|
return __async(this, null, function* () {
|
|
697
702
|
var _a2, _b, _c;
|
|
698
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.allBotTokens(botId, createdByUserId,
|
|
703
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.allBotTokens(botId, createdByUserId, options);
|
|
699
704
|
const localVarOperationServerIndex = (_a2 = configuration == null ? void 0 : configuration.serverIndex) != null ? _a2 : 0;
|
|
700
705
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap["BotTokensApi.allBotTokens"]) == null ? void 0 : _b[localVarOperationServerIndex]) == null ? void 0 : _c.url;
|
|
701
706
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, import_axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -758,7 +763,7 @@ var BotTokensApiFactory = function(configuration, basePath, axios) {
|
|
|
758
763
|
* @throws {RequiredError}
|
|
759
764
|
*/
|
|
760
765
|
allBotTokens(requestParameters = {}, options) {
|
|
761
|
-
return localVarFp.allBotTokens(requestParameters.botId, requestParameters.createdByUserId,
|
|
766
|
+
return localVarFp.allBotTokens(requestParameters.botId, requestParameters.createdByUserId, options).then((request) => request(axios, basePath));
|
|
762
767
|
},
|
|
763
768
|
/**
|
|
764
769
|
*
|
|
@@ -795,17 +800,15 @@ var BotTokensApi = class extends BaseAPI {
|
|
|
795
800
|
* @param {BotTokensApiAllBotTokensRequest} requestParameters Request parameters.
|
|
796
801
|
* @param {*} [options] Override http request option.
|
|
797
802
|
* @throws {RequiredError}
|
|
798
|
-
* @memberof BotTokensApi
|
|
799
803
|
*/
|
|
800
804
|
allBotTokens(requestParameters = {}, options) {
|
|
801
|
-
return BotTokensApiFp(this.configuration).allBotTokens(requestParameters.botId, requestParameters.createdByUserId,
|
|
805
|
+
return BotTokensApiFp(this.configuration).allBotTokens(requestParameters.botId, requestParameters.createdByUserId, options).then((request) => request(this.axios, this.basePath));
|
|
802
806
|
}
|
|
803
807
|
/**
|
|
804
808
|
*
|
|
805
809
|
* @param {BotTokensApiCreateBotTokenRequest} requestParameters Request parameters.
|
|
806
810
|
* @param {*} [options] Override http request option.
|
|
807
811
|
* @throws {RequiredError}
|
|
808
|
-
* @memberof BotTokensApi
|
|
809
812
|
*/
|
|
810
813
|
createBotToken(requestParameters, options) {
|
|
811
814
|
return BotTokensApiFp(this.configuration).createBotToken(requestParameters.createBotToken, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -815,7 +818,6 @@ var BotTokensApi = class extends BaseAPI {
|
|
|
815
818
|
* @param {BotTokensApiDeleteBotTokenRequest} requestParameters Request parameters.
|
|
816
819
|
* @param {*} [options] Override http request option.
|
|
817
820
|
* @throws {RequiredError}
|
|
818
|
-
* @memberof BotTokensApi
|
|
819
821
|
*/
|
|
820
822
|
deleteBotToken(requestParameters, options) {
|
|
821
823
|
return BotTokensApiFp(this.configuration).deleteBotToken(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -825,7 +827,6 @@ var BotTokensApi = class extends BaseAPI {
|
|
|
825
827
|
* @param {BotTokensApiGetBotTokenRequest} requestParameters Request parameters.
|
|
826
828
|
* @param {*} [options] Override http request option.
|
|
827
829
|
* @throws {RequiredError}
|
|
828
|
-
* @memberof BotTokensApi
|
|
829
830
|
*/
|
|
830
831
|
getBotToken(requestParameters, options) {
|
|
831
832
|
return BotTokensApiFp(this.configuration).getBotToken(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -836,12 +837,10 @@ var BotsApiAxiosParamCreator = function(configuration) {
|
|
|
836
837
|
/**
|
|
837
838
|
*
|
|
838
839
|
* @param {string | null} [displayName]
|
|
839
|
-
* @param {number | null} [page]
|
|
840
|
-
* @param {number | null} [perPage]
|
|
841
840
|
* @param {*} [options] Override http request option.
|
|
842
841
|
* @throws {RequiredError}
|
|
843
842
|
*/
|
|
844
|
-
allBots: (_0, _1
|
|
843
|
+
allBots: (_0, ..._1) => __async(null, [_0, ..._1], function* (displayName, options = {}) {
|
|
845
844
|
const localVarPath = `/api/v2/bots`;
|
|
846
845
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
847
846
|
let baseOptions;
|
|
@@ -856,12 +855,7 @@ var BotsApiAxiosParamCreator = function(configuration) {
|
|
|
856
855
|
if (displayName !== void 0) {
|
|
857
856
|
localVarQueryParameter["display_name"] = displayName;
|
|
858
857
|
}
|
|
859
|
-
|
|
860
|
-
localVarQueryParameter["page"] = page;
|
|
861
|
-
}
|
|
862
|
-
if (perPage !== void 0) {
|
|
863
|
-
localVarQueryParameter["per_page"] = perPage;
|
|
864
|
-
}
|
|
858
|
+
localVarHeaderParameter["Accept"] = "application/json";
|
|
865
859
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
866
860
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
867
861
|
localVarRequestOptions.headers = __spreadValues(__spreadValues(__spreadValues({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -876,9 +870,9 @@ var BotsApiAxiosParamCreator = function(configuration) {
|
|
|
876
870
|
* @param {*} [options] Override http request option.
|
|
877
871
|
* @throws {RequiredError}
|
|
878
872
|
*/
|
|
879
|
-
getBot: (_0, ..._1) => __async(
|
|
873
|
+
getBot: (_0, ..._1) => __async(null, [_0, ..._1], function* (id, options = {}) {
|
|
880
874
|
assertParamExists("getBot", "id", id);
|
|
881
|
-
const localVarPath = `/api/v2/bots/{id}`.replace(
|
|
875
|
+
const localVarPath = `/api/v2/bots/{id}`.replace("{id}", encodeURIComponent(String(id)));
|
|
882
876
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
883
877
|
let baseOptions;
|
|
884
878
|
if (configuration) {
|
|
@@ -889,6 +883,7 @@ var BotsApiAxiosParamCreator = function(configuration) {
|
|
|
889
883
|
const localVarQueryParameter = {};
|
|
890
884
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
891
885
|
yield setApiKeyToObject(localVarHeaderParameter, "x-platz-token", configuration);
|
|
886
|
+
localVarHeaderParameter["Accept"] = "application/json";
|
|
892
887
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
893
888
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
894
889
|
localVarRequestOptions.headers = __spreadValues(__spreadValues(__spreadValues({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -904,10 +899,10 @@ var BotsApiAxiosParamCreator = function(configuration) {
|
|
|
904
899
|
* @param {*} [options] Override http request option.
|
|
905
900
|
* @throws {RequiredError}
|
|
906
901
|
*/
|
|
907
|
-
updateBot: (_0, _1, ..._2) => __async(
|
|
902
|
+
updateBot: (_0, _1, ..._2) => __async(null, [_0, _1, ..._2], function* (id, updateBot, options = {}) {
|
|
908
903
|
assertParamExists("updateBot", "id", id);
|
|
909
904
|
assertParamExists("updateBot", "updateBot", updateBot);
|
|
910
|
-
const localVarPath = `/api/v2/bots/{id}`.replace(
|
|
905
|
+
const localVarPath = `/api/v2/bots/{id}`.replace("{id}", encodeURIComponent(String(id)));
|
|
911
906
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
912
907
|
let baseOptions;
|
|
913
908
|
if (configuration) {
|
|
@@ -919,6 +914,7 @@ var BotsApiAxiosParamCreator = function(configuration) {
|
|
|
919
914
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
920
915
|
yield setApiKeyToObject(localVarHeaderParameter, "x-platz-token", configuration);
|
|
921
916
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
917
|
+
localVarHeaderParameter["Accept"] = "application/json";
|
|
922
918
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
923
919
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
924
920
|
localVarRequestOptions.headers = __spreadValues(__spreadValues(__spreadValues({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -936,15 +932,13 @@ var BotsApiFp = function(configuration) {
|
|
|
936
932
|
/**
|
|
937
933
|
*
|
|
938
934
|
* @param {string | null} [displayName]
|
|
939
|
-
* @param {number | null} [page]
|
|
940
|
-
* @param {number | null} [perPage]
|
|
941
935
|
* @param {*} [options] Override http request option.
|
|
942
936
|
* @throws {RequiredError}
|
|
943
937
|
*/
|
|
944
|
-
allBots(displayName,
|
|
938
|
+
allBots(displayName, options) {
|
|
945
939
|
return __async(this, null, function* () {
|
|
946
940
|
var _a2, _b, _c;
|
|
947
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.allBots(displayName,
|
|
941
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.allBots(displayName, options);
|
|
948
942
|
const localVarOperationServerIndex = (_a2 = configuration == null ? void 0 : configuration.serverIndex) != null ? _a2 : 0;
|
|
949
943
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap["BotsApi.allBots"]) == null ? void 0 : _b[localVarOperationServerIndex]) == null ? void 0 : _c.url;
|
|
950
944
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, import_axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -993,7 +987,7 @@ var BotsApiFactory = function(configuration, basePath, axios) {
|
|
|
993
987
|
* @throws {RequiredError}
|
|
994
988
|
*/
|
|
995
989
|
allBots(requestParameters = {}, options) {
|
|
996
|
-
return localVarFp.allBots(requestParameters.displayName,
|
|
990
|
+
return localVarFp.allBots(requestParameters.displayName, options).then((request) => request(axios, basePath));
|
|
997
991
|
},
|
|
998
992
|
/**
|
|
999
993
|
*
|
|
@@ -1021,17 +1015,15 @@ var BotsApi = class extends BaseAPI {
|
|
|
1021
1015
|
* @param {BotsApiAllBotsRequest} requestParameters Request parameters.
|
|
1022
1016
|
* @param {*} [options] Override http request option.
|
|
1023
1017
|
* @throws {RequiredError}
|
|
1024
|
-
* @memberof BotsApi
|
|
1025
1018
|
*/
|
|
1026
1019
|
allBots(requestParameters = {}, options) {
|
|
1027
|
-
return BotsApiFp(this.configuration).allBots(requestParameters.displayName,
|
|
1020
|
+
return BotsApiFp(this.configuration).allBots(requestParameters.displayName, options).then((request) => request(this.axios, this.basePath));
|
|
1028
1021
|
}
|
|
1029
1022
|
/**
|
|
1030
1023
|
*
|
|
1031
1024
|
* @param {BotsApiGetBotRequest} requestParameters Request parameters.
|
|
1032
1025
|
* @param {*} [options] Override http request option.
|
|
1033
1026
|
* @throws {RequiredError}
|
|
1034
|
-
* @memberof BotsApi
|
|
1035
1027
|
*/
|
|
1036
1028
|
getBot(requestParameters, options) {
|
|
1037
1029
|
return BotsApiFp(this.configuration).getBot(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1041,7 +1033,6 @@ var BotsApi = class extends BaseAPI {
|
|
|
1041
1033
|
* @param {BotsApiUpdateBotRequest} requestParameters Request parameters.
|
|
1042
1034
|
* @param {*} [options] Override http request option.
|
|
1043
1035
|
* @throws {RequiredError}
|
|
1044
|
-
* @memberof BotsApi
|
|
1045
1036
|
*/
|
|
1046
1037
|
updateBot(requestParameters, options) {
|
|
1047
1038
|
return BotsApiFp(this.configuration).updateBot(requestParameters.id, requestParameters.updateBot, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1052,12 +1043,10 @@ var DeploymentKindsApiAxiosParamCreator = function(configuration) {
|
|
|
1052
1043
|
/**
|
|
1053
1044
|
*
|
|
1054
1045
|
* @param {string | null} [name]
|
|
1055
|
-
* @param {number | null} [page]
|
|
1056
|
-
* @param {number | null} [perPage]
|
|
1057
1046
|
* @param {*} [options] Override http request option.
|
|
1058
1047
|
* @throws {RequiredError}
|
|
1059
1048
|
*/
|
|
1060
|
-
allDeploymentKinds: (_0, _1
|
|
1049
|
+
allDeploymentKinds: (_0, ..._1) => __async(null, [_0, ..._1], function* (name, options = {}) {
|
|
1061
1050
|
const localVarPath = `/api/v2/deployment-kinds`;
|
|
1062
1051
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1063
1052
|
let baseOptions;
|
|
@@ -1072,12 +1061,7 @@ var DeploymentKindsApiAxiosParamCreator = function(configuration) {
|
|
|
1072
1061
|
if (name !== void 0) {
|
|
1073
1062
|
localVarQueryParameter["name"] = name;
|
|
1074
1063
|
}
|
|
1075
|
-
|
|
1076
|
-
localVarQueryParameter["page"] = page;
|
|
1077
|
-
}
|
|
1078
|
-
if (perPage !== void 0) {
|
|
1079
|
-
localVarQueryParameter["per_page"] = perPage;
|
|
1080
|
-
}
|
|
1064
|
+
localVarHeaderParameter["Accept"] = "application/json";
|
|
1081
1065
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1082
1066
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1083
1067
|
localVarRequestOptions.headers = __spreadValues(__spreadValues(__spreadValues({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1092,9 +1076,9 @@ var DeploymentKindsApiAxiosParamCreator = function(configuration) {
|
|
|
1092
1076
|
* @param {*} [options] Override http request option.
|
|
1093
1077
|
* @throws {RequiredError}
|
|
1094
1078
|
*/
|
|
1095
|
-
getDeploymentKind: (_0, ..._1) => __async(
|
|
1079
|
+
getDeploymentKind: (_0, ..._1) => __async(null, [_0, ..._1], function* (id, options = {}) {
|
|
1096
1080
|
assertParamExists("getDeploymentKind", "id", id);
|
|
1097
|
-
const localVarPath = `/api/v2/deployment-kinds/{id}`.replace(
|
|
1081
|
+
const localVarPath = `/api/v2/deployment-kinds/{id}`.replace("{id}", encodeURIComponent(String(id)));
|
|
1098
1082
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1099
1083
|
let baseOptions;
|
|
1100
1084
|
if (configuration) {
|
|
@@ -1105,6 +1089,7 @@ var DeploymentKindsApiAxiosParamCreator = function(configuration) {
|
|
|
1105
1089
|
const localVarQueryParameter = {};
|
|
1106
1090
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1107
1091
|
yield setApiKeyToObject(localVarHeaderParameter, "x-platz-token", configuration);
|
|
1092
|
+
localVarHeaderParameter["Accept"] = "application/json";
|
|
1108
1093
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1109
1094
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1110
1095
|
localVarRequestOptions.headers = __spreadValues(__spreadValues(__spreadValues({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1120,10 +1105,10 @@ var DeploymentKindsApiAxiosParamCreator = function(configuration) {
|
|
|
1120
1105
|
* @param {*} [options] Override http request option.
|
|
1121
1106
|
* @throws {RequiredError}
|
|
1122
1107
|
*/
|
|
1123
|
-
updateDeploymentKind: (_0, _1, ..._2) => __async(
|
|
1108
|
+
updateDeploymentKind: (_0, _1, ..._2) => __async(null, [_0, _1, ..._2], function* (id, updateDeploymentKind, options = {}) {
|
|
1124
1109
|
assertParamExists("updateDeploymentKind", "id", id);
|
|
1125
1110
|
assertParamExists("updateDeploymentKind", "updateDeploymentKind", updateDeploymentKind);
|
|
1126
|
-
const localVarPath = `/api/v2/deployment-kinds/{id}`.replace(
|
|
1111
|
+
const localVarPath = `/api/v2/deployment-kinds/{id}`.replace("{id}", encodeURIComponent(String(id)));
|
|
1127
1112
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1128
1113
|
let baseOptions;
|
|
1129
1114
|
if (configuration) {
|
|
@@ -1135,6 +1120,7 @@ var DeploymentKindsApiAxiosParamCreator = function(configuration) {
|
|
|
1135
1120
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1136
1121
|
yield setApiKeyToObject(localVarHeaderParameter, "x-platz-token", configuration);
|
|
1137
1122
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1123
|
+
localVarHeaderParameter["Accept"] = "application/json";
|
|
1138
1124
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1139
1125
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1140
1126
|
localVarRequestOptions.headers = __spreadValues(__spreadValues(__spreadValues({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1152,15 +1138,13 @@ var DeploymentKindsApiFp = function(configuration) {
|
|
|
1152
1138
|
/**
|
|
1153
1139
|
*
|
|
1154
1140
|
* @param {string | null} [name]
|
|
1155
|
-
* @param {number | null} [page]
|
|
1156
|
-
* @param {number | null} [perPage]
|
|
1157
1141
|
* @param {*} [options] Override http request option.
|
|
1158
1142
|
* @throws {RequiredError}
|
|
1159
1143
|
*/
|
|
1160
|
-
allDeploymentKinds(name,
|
|
1144
|
+
allDeploymentKinds(name, options) {
|
|
1161
1145
|
return __async(this, null, function* () {
|
|
1162
1146
|
var _a2, _b, _c;
|
|
1163
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.allDeploymentKinds(name,
|
|
1147
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.allDeploymentKinds(name, options);
|
|
1164
1148
|
const localVarOperationServerIndex = (_a2 = configuration == null ? void 0 : configuration.serverIndex) != null ? _a2 : 0;
|
|
1165
1149
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap["DeploymentKindsApi.allDeploymentKinds"]) == null ? void 0 : _b[localVarOperationServerIndex]) == null ? void 0 : _c.url;
|
|
1166
1150
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, import_axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1209,7 +1193,7 @@ var DeploymentKindsApiFactory = function(configuration, basePath, axios) {
|
|
|
1209
1193
|
* @throws {RequiredError}
|
|
1210
1194
|
*/
|
|
1211
1195
|
allDeploymentKinds(requestParameters = {}, options) {
|
|
1212
|
-
return localVarFp.allDeploymentKinds(requestParameters.name,
|
|
1196
|
+
return localVarFp.allDeploymentKinds(requestParameters.name, options).then((request) => request(axios, basePath));
|
|
1213
1197
|
},
|
|
1214
1198
|
/**
|
|
1215
1199
|
*
|
|
@@ -1237,17 +1221,15 @@ var DeploymentKindsApi = class extends BaseAPI {
|
|
|
1237
1221
|
* @param {DeploymentKindsApiAllDeploymentKindsRequest} requestParameters Request parameters.
|
|
1238
1222
|
* @param {*} [options] Override http request option.
|
|
1239
1223
|
* @throws {RequiredError}
|
|
1240
|
-
* @memberof DeploymentKindsApi
|
|
1241
1224
|
*/
|
|
1242
1225
|
allDeploymentKinds(requestParameters = {}, options) {
|
|
1243
|
-
return DeploymentKindsApiFp(this.configuration).allDeploymentKinds(requestParameters.name,
|
|
1226
|
+
return DeploymentKindsApiFp(this.configuration).allDeploymentKinds(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
1244
1227
|
}
|
|
1245
1228
|
/**
|
|
1246
1229
|
*
|
|
1247
1230
|
* @param {DeploymentKindsApiGetDeploymentKindRequest} requestParameters Request parameters.
|
|
1248
1231
|
* @param {*} [options] Override http request option.
|
|
1249
1232
|
* @throws {RequiredError}
|
|
1250
|
-
* @memberof DeploymentKindsApi
|
|
1251
1233
|
*/
|
|
1252
1234
|
getDeploymentKind(requestParameters, options) {
|
|
1253
1235
|
return DeploymentKindsApiFp(this.configuration).getDeploymentKind(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1257,7 +1239,6 @@ var DeploymentKindsApi = class extends BaseAPI {
|
|
|
1257
1239
|
* @param {DeploymentKindsApiUpdateDeploymentKindRequest} requestParameters Request parameters.
|
|
1258
1240
|
* @param {*} [options] Override http request option.
|
|
1259
1241
|
* @throws {RequiredError}
|
|
1260
|
-
* @memberof DeploymentKindsApi
|
|
1261
1242
|
*/
|
|
1262
1243
|
updateDeploymentKind(requestParameters, options) {
|
|
1263
1244
|
return DeploymentKindsApiFp(this.configuration).updateDeploymentKind(requestParameters.id, requestParameters.updateDeploymentKind, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1268,12 +1249,10 @@ var DeploymentPermissionsApiAxiosParamCreator = function(configuration) {
|
|
|
1268
1249
|
/**
|
|
1269
1250
|
*
|
|
1270
1251
|
* @param {string | null} [envId]
|
|
1271
|
-
* @param {number | null} [page]
|
|
1272
|
-
* @param {number | null} [perPage]
|
|
1273
1252
|
* @param {*} [options] Override http request option.
|
|
1274
1253
|
* @throws {RequiredError}
|
|
1275
1254
|
*/
|
|
1276
|
-
allDeploymentPermissions: (_0, _1
|
|
1255
|
+
allDeploymentPermissions: (_0, ..._1) => __async(null, [_0, ..._1], function* (envId, options = {}) {
|
|
1277
1256
|
const localVarPath = `/api/v2/deployment-permissions`;
|
|
1278
1257
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1279
1258
|
let baseOptions;
|
|
@@ -1288,12 +1267,7 @@ var DeploymentPermissionsApiAxiosParamCreator = function(configuration) {
|
|
|
1288
1267
|
if (envId !== void 0) {
|
|
1289
1268
|
localVarQueryParameter["env_id"] = envId;
|
|
1290
1269
|
}
|
|
1291
|
-
|
|
1292
|
-
localVarQueryParameter["page"] = page;
|
|
1293
|
-
}
|
|
1294
|
-
if (perPage !== void 0) {
|
|
1295
|
-
localVarQueryParameter["per_page"] = perPage;
|
|
1296
|
-
}
|
|
1270
|
+
localVarHeaderParameter["Accept"] = "application/json";
|
|
1297
1271
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1298
1272
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1299
1273
|
localVarRequestOptions.headers = __spreadValues(__spreadValues(__spreadValues({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1308,7 +1282,7 @@ var DeploymentPermissionsApiAxiosParamCreator = function(configuration) {
|
|
|
1308
1282
|
* @param {*} [options] Override http request option.
|
|
1309
1283
|
* @throws {RequiredError}
|
|
1310
1284
|
*/
|
|
1311
|
-
createDeploymentPermission: (_0, ..._1) => __async(
|
|
1285
|
+
createDeploymentPermission: (_0, ..._1) => __async(null, [_0, ..._1], function* (newDeploymentPermission, options = {}) {
|
|
1312
1286
|
assertParamExists("createDeploymentPermission", "newDeploymentPermission", newDeploymentPermission);
|
|
1313
1287
|
const localVarPath = `/api/v2/deployment-permissions`;
|
|
1314
1288
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -1322,6 +1296,7 @@ var DeploymentPermissionsApiAxiosParamCreator = function(configuration) {
|
|
|
1322
1296
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1323
1297
|
yield setApiKeyToObject(localVarHeaderParameter, "x-platz-token", configuration);
|
|
1324
1298
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1299
|
+
localVarHeaderParameter["Accept"] = "application/json";
|
|
1325
1300
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1326
1301
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1327
1302
|
localVarRequestOptions.headers = __spreadValues(__spreadValues(__spreadValues({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1337,9 +1312,9 @@ var DeploymentPermissionsApiAxiosParamCreator = function(configuration) {
|
|
|
1337
1312
|
* @param {*} [options] Override http request option.
|
|
1338
1313
|
* @throws {RequiredError}
|
|
1339
1314
|
*/
|
|
1340
|
-
deleteDeploymentPermission: (_0, ..._1) => __async(
|
|
1315
|
+
deleteDeploymentPermission: (_0, ..._1) => __async(null, [_0, ..._1], function* (id, options = {}) {
|
|
1341
1316
|
assertParamExists("deleteDeploymentPermission", "id", id);
|
|
1342
|
-
const localVarPath = `/api/v2/deployment-permissions/{id}`.replace(
|
|
1317
|
+
const localVarPath = `/api/v2/deployment-permissions/{id}`.replace("{id}", encodeURIComponent(String(id)));
|
|
1343
1318
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1344
1319
|
let baseOptions;
|
|
1345
1320
|
if (configuration) {
|
|
@@ -1364,9 +1339,9 @@ var DeploymentPermissionsApiAxiosParamCreator = function(configuration) {
|
|
|
1364
1339
|
* @param {*} [options] Override http request option.
|
|
1365
1340
|
* @throws {RequiredError}
|
|
1366
1341
|
*/
|
|
1367
|
-
getDeploymentPermission: (_0, ..._1) => __async(
|
|
1342
|
+
getDeploymentPermission: (_0, ..._1) => __async(null, [_0, ..._1], function* (id, options = {}) {
|
|
1368
1343
|
assertParamExists("getDeploymentPermission", "id", id);
|
|
1369
|
-
const localVarPath = `/api/v2/deployment-permissions/{id}`.replace(
|
|
1344
|
+
const localVarPath = `/api/v2/deployment-permissions/{id}`.replace("{id}", encodeURIComponent(String(id)));
|
|
1370
1345
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1371
1346
|
let baseOptions;
|
|
1372
1347
|
if (configuration) {
|
|
@@ -1377,6 +1352,7 @@ var DeploymentPermissionsApiAxiosParamCreator = function(configuration) {
|
|
|
1377
1352
|
const localVarQueryParameter = {};
|
|
1378
1353
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1379
1354
|
yield setApiKeyToObject(localVarHeaderParameter, "x-platz-token", configuration);
|
|
1355
|
+
localVarHeaderParameter["Accept"] = "application/json";
|
|
1380
1356
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1381
1357
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1382
1358
|
localVarRequestOptions.headers = __spreadValues(__spreadValues(__spreadValues({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1393,15 +1369,13 @@ var DeploymentPermissionsApiFp = function(configuration) {
|
|
|
1393
1369
|
/**
|
|
1394
1370
|
*
|
|
1395
1371
|
* @param {string | null} [envId]
|
|
1396
|
-
* @param {number | null} [page]
|
|
1397
|
-
* @param {number | null} [perPage]
|
|
1398
1372
|
* @param {*} [options] Override http request option.
|
|
1399
1373
|
* @throws {RequiredError}
|
|
1400
1374
|
*/
|
|
1401
|
-
allDeploymentPermissions(envId,
|
|
1375
|
+
allDeploymentPermissions(envId, options) {
|
|
1402
1376
|
return __async(this, null, function* () {
|
|
1403
1377
|
var _a2, _b, _c;
|
|
1404
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.allDeploymentPermissions(envId,
|
|
1378
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.allDeploymentPermissions(envId, options);
|
|
1405
1379
|
const localVarOperationServerIndex = (_a2 = configuration == null ? void 0 : configuration.serverIndex) != null ? _a2 : 0;
|
|
1406
1380
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap["DeploymentPermissionsApi.allDeploymentPermissions"]) == null ? void 0 : _b[localVarOperationServerIndex]) == null ? void 0 : _c.url;
|
|
1407
1381
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, import_axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1464,7 +1438,7 @@ var DeploymentPermissionsApiFactory = function(configuration, basePath, axios) {
|
|
|
1464
1438
|
* @throws {RequiredError}
|
|
1465
1439
|
*/
|
|
1466
1440
|
allDeploymentPermissions(requestParameters = {}, options) {
|
|
1467
|
-
return localVarFp.allDeploymentPermissions(requestParameters.envId,
|
|
1441
|
+
return localVarFp.allDeploymentPermissions(requestParameters.envId, options).then((request) => request(axios, basePath));
|
|
1468
1442
|
},
|
|
1469
1443
|
/**
|
|
1470
1444
|
*
|
|
@@ -1501,17 +1475,15 @@ var DeploymentPermissionsApi = class extends BaseAPI {
|
|
|
1501
1475
|
* @param {DeploymentPermissionsApiAllDeploymentPermissionsRequest} requestParameters Request parameters.
|
|
1502
1476
|
* @param {*} [options] Override http request option.
|
|
1503
1477
|
* @throws {RequiredError}
|
|
1504
|
-
* @memberof DeploymentPermissionsApi
|
|
1505
1478
|
*/
|
|
1506
1479
|
allDeploymentPermissions(requestParameters = {}, options) {
|
|
1507
|
-
return DeploymentPermissionsApiFp(this.configuration).allDeploymentPermissions(requestParameters.envId,
|
|
1480
|
+
return DeploymentPermissionsApiFp(this.configuration).allDeploymentPermissions(requestParameters.envId, options).then((request) => request(this.axios, this.basePath));
|
|
1508
1481
|
}
|
|
1509
1482
|
/**
|
|
1510
1483
|
*
|
|
1511
1484
|
* @param {DeploymentPermissionsApiCreateDeploymentPermissionRequest} requestParameters Request parameters.
|
|
1512
1485
|
* @param {*} [options] Override http request option.
|
|
1513
1486
|
* @throws {RequiredError}
|
|
1514
|
-
* @memberof DeploymentPermissionsApi
|
|
1515
1487
|
*/
|
|
1516
1488
|
createDeploymentPermission(requestParameters, options) {
|
|
1517
1489
|
return DeploymentPermissionsApiFp(this.configuration).createDeploymentPermission(requestParameters.newDeploymentPermission, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1521,7 +1493,6 @@ var DeploymentPermissionsApi = class extends BaseAPI {
|
|
|
1521
1493
|
* @param {DeploymentPermissionsApiDeleteDeploymentPermissionRequest} requestParameters Request parameters.
|
|
1522
1494
|
* @param {*} [options] Override http request option.
|
|
1523
1495
|
* @throws {RequiredError}
|
|
1524
|
-
* @memberof DeploymentPermissionsApi
|
|
1525
1496
|
*/
|
|
1526
1497
|
deleteDeploymentPermission(requestParameters, options) {
|
|
1527
1498
|
return DeploymentPermissionsApiFp(this.configuration).deleteDeploymentPermission(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1531,7 +1502,6 @@ var DeploymentPermissionsApi = class extends BaseAPI {
|
|
|
1531
1502
|
* @param {DeploymentPermissionsApiGetDeploymentPermissionRequest} requestParameters Request parameters.
|
|
1532
1503
|
* @param {*} [options] Override http request option.
|
|
1533
1504
|
* @throws {RequiredError}
|
|
1534
|
-
* @memberof DeploymentPermissionsApi
|
|
1535
1505
|
*/
|
|
1536
1506
|
getDeploymentPermission(requestParameters, options) {
|
|
1537
1507
|
return DeploymentPermissionsApiFp(this.configuration).getDeploymentPermission(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1544,12 +1514,10 @@ var DeploymentResourceTypesApiAxiosParamCreator = function(configuration) {
|
|
|
1544
1514
|
* @param {string | null} [envId]
|
|
1545
1515
|
* @param {string | null} [deploymentKindId]
|
|
1546
1516
|
* @param {string | null} [key]
|
|
1547
|
-
* @param {number | null} [page]
|
|
1548
|
-
* @param {number | null} [perPage]
|
|
1549
1517
|
* @param {*} [options] Override http request option.
|
|
1550
1518
|
* @throws {RequiredError}
|
|
1551
1519
|
*/
|
|
1552
|
-
allDeploymentResourceTypes: (_0, _1, _2, _3
|
|
1520
|
+
allDeploymentResourceTypes: (_0, _1, _2, ..._3) => __async(null, [_0, _1, _2, ..._3], function* (envId, deploymentKindId, key, options = {}) {
|
|
1553
1521
|
const localVarPath = `/api/v2/deployment-resource-types`;
|
|
1554
1522
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1555
1523
|
let baseOptions;
|
|
@@ -1570,12 +1538,7 @@ var DeploymentResourceTypesApiAxiosParamCreator = function(configuration) {
|
|
|
1570
1538
|
if (key !== void 0) {
|
|
1571
1539
|
localVarQueryParameter["key"] = key;
|
|
1572
1540
|
}
|
|
1573
|
-
|
|
1574
|
-
localVarQueryParameter["page"] = page;
|
|
1575
|
-
}
|
|
1576
|
-
if (perPage !== void 0) {
|
|
1577
|
-
localVarQueryParameter["per_page"] = perPage;
|
|
1578
|
-
}
|
|
1541
|
+
localVarHeaderParameter["Accept"] = "application/json";
|
|
1579
1542
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1580
1543
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1581
1544
|
localVarRequestOptions.headers = __spreadValues(__spreadValues(__spreadValues({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1590,9 +1553,9 @@ var DeploymentResourceTypesApiAxiosParamCreator = function(configuration) {
|
|
|
1590
1553
|
* @param {*} [options] Override http request option.
|
|
1591
1554
|
* @throws {RequiredError}
|
|
1592
1555
|
*/
|
|
1593
|
-
getDeploymentResourceType: (_0, ..._1) => __async(
|
|
1556
|
+
getDeploymentResourceType: (_0, ..._1) => __async(null, [_0, ..._1], function* (id, options = {}) {
|
|
1594
1557
|
assertParamExists("getDeploymentResourceType", "id", id);
|
|
1595
|
-
const localVarPath = `/api/v2/deployment-resource-types/{id}`.replace(
|
|
1558
|
+
const localVarPath = `/api/v2/deployment-resource-types/{id}`.replace("{id}", encodeURIComponent(String(id)));
|
|
1596
1559
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1597
1560
|
let baseOptions;
|
|
1598
1561
|
if (configuration) {
|
|
@@ -1603,6 +1566,7 @@ var DeploymentResourceTypesApiAxiosParamCreator = function(configuration) {
|
|
|
1603
1566
|
const localVarQueryParameter = {};
|
|
1604
1567
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1605
1568
|
yield setApiKeyToObject(localVarHeaderParameter, "x-platz-token", configuration);
|
|
1569
|
+
localVarHeaderParameter["Accept"] = "application/json";
|
|
1606
1570
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1607
1571
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1608
1572
|
localVarRequestOptions.headers = __spreadValues(__spreadValues(__spreadValues({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1621,15 +1585,13 @@ var DeploymentResourceTypesApiFp = function(configuration) {
|
|
|
1621
1585
|
* @param {string | null} [envId]
|
|
1622
1586
|
* @param {string | null} [deploymentKindId]
|
|
1623
1587
|
* @param {string | null} [key]
|
|
1624
|
-
* @param {number | null} [page]
|
|
1625
|
-
* @param {number | null} [perPage]
|
|
1626
1588
|
* @param {*} [options] Override http request option.
|
|
1627
1589
|
* @throws {RequiredError}
|
|
1628
1590
|
*/
|
|
1629
|
-
allDeploymentResourceTypes(envId, deploymentKindId, key,
|
|
1591
|
+
allDeploymentResourceTypes(envId, deploymentKindId, key, options) {
|
|
1630
1592
|
return __async(this, null, function* () {
|
|
1631
1593
|
var _a2, _b, _c;
|
|
1632
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.allDeploymentResourceTypes(envId, deploymentKindId, key,
|
|
1594
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.allDeploymentResourceTypes(envId, deploymentKindId, key, options);
|
|
1633
1595
|
const localVarOperationServerIndex = (_a2 = configuration == null ? void 0 : configuration.serverIndex) != null ? _a2 : 0;
|
|
1634
1596
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap["DeploymentResourceTypesApi.allDeploymentResourceTypes"]) == null ? void 0 : _b[localVarOperationServerIndex]) == null ? void 0 : _c.url;
|
|
1635
1597
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, import_axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1662,7 +1624,7 @@ var DeploymentResourceTypesApiFactory = function(configuration, basePath, axios)
|
|
|
1662
1624
|
* @throws {RequiredError}
|
|
1663
1625
|
*/
|
|
1664
1626
|
allDeploymentResourceTypes(requestParameters = {}, options) {
|
|
1665
|
-
return localVarFp.allDeploymentResourceTypes(requestParameters.envId, requestParameters.deploymentKindId, requestParameters.key,
|
|
1627
|
+
return localVarFp.allDeploymentResourceTypes(requestParameters.envId, requestParameters.deploymentKindId, requestParameters.key, options).then((request) => request(axios, basePath));
|
|
1666
1628
|
},
|
|
1667
1629
|
/**
|
|
1668
1630
|
*
|
|
@@ -1681,17 +1643,15 @@ var DeploymentResourceTypesApi = class extends BaseAPI {
|
|
|
1681
1643
|
* @param {DeploymentResourceTypesApiAllDeploymentResourceTypesRequest} requestParameters Request parameters.
|
|
1682
1644
|
* @param {*} [options] Override http request option.
|
|
1683
1645
|
* @throws {RequiredError}
|
|
1684
|
-
* @memberof DeploymentResourceTypesApi
|
|
1685
1646
|
*/
|
|
1686
1647
|
allDeploymentResourceTypes(requestParameters = {}, options) {
|
|
1687
|
-
return DeploymentResourceTypesApiFp(this.configuration).allDeploymentResourceTypes(requestParameters.envId, requestParameters.deploymentKindId, requestParameters.key,
|
|
1648
|
+
return DeploymentResourceTypesApiFp(this.configuration).allDeploymentResourceTypes(requestParameters.envId, requestParameters.deploymentKindId, requestParameters.key, options).then((request) => request(this.axios, this.basePath));
|
|
1688
1649
|
}
|
|
1689
1650
|
/**
|
|
1690
1651
|
*
|
|
1691
1652
|
* @param {DeploymentResourceTypesApiGetDeploymentResourceTypeRequest} requestParameters Request parameters.
|
|
1692
1653
|
* @param {*} [options] Override http request option.
|
|
1693
1654
|
* @throws {RequiredError}
|
|
1694
|
-
* @memberof DeploymentResourceTypesApi
|
|
1695
1655
|
*/
|
|
1696
1656
|
getDeploymentResourceType(requestParameters, options) {
|
|
1697
1657
|
return DeploymentResourceTypesApiFp(this.configuration).getDeploymentResourceType(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1702,12 +1662,10 @@ var DeploymentResourcesApiAxiosParamCreator = function(configuration) {
|
|
|
1702
1662
|
/**
|
|
1703
1663
|
*
|
|
1704
1664
|
* @param {string | null} [typeId]
|
|
1705
|
-
* @param {number | null} [page]
|
|
1706
|
-
* @param {number | null} [perPage]
|
|
1707
1665
|
* @param {*} [options] Override http request option.
|
|
1708
1666
|
* @throws {RequiredError}
|
|
1709
1667
|
*/
|
|
1710
|
-
allDeploymentResources: (_0, _1
|
|
1668
|
+
allDeploymentResources: (_0, ..._1) => __async(null, [_0, ..._1], function* (typeId, options = {}) {
|
|
1711
1669
|
const localVarPath = `/api/v2/deployment-resources`;
|
|
1712
1670
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1713
1671
|
let baseOptions;
|
|
@@ -1722,12 +1680,7 @@ var DeploymentResourcesApiAxiosParamCreator = function(configuration) {
|
|
|
1722
1680
|
if (typeId !== void 0) {
|
|
1723
1681
|
localVarQueryParameter["type_id"] = typeId;
|
|
1724
1682
|
}
|
|
1725
|
-
|
|
1726
|
-
localVarQueryParameter["page"] = page;
|
|
1727
|
-
}
|
|
1728
|
-
if (perPage !== void 0) {
|
|
1729
|
-
localVarQueryParameter["per_page"] = perPage;
|
|
1730
|
-
}
|
|
1683
|
+
localVarHeaderParameter["Accept"] = "application/json";
|
|
1731
1684
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1732
1685
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1733
1686
|
localVarRequestOptions.headers = __spreadValues(__spreadValues(__spreadValues({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1742,7 +1695,7 @@ var DeploymentResourcesApiAxiosParamCreator = function(configuration) {
|
|
|
1742
1695
|
* @param {*} [options] Override http request option.
|
|
1743
1696
|
* @throws {RequiredError}
|
|
1744
1697
|
*/
|
|
1745
|
-
createDeploymentResource: (_0, ..._1) => __async(
|
|
1698
|
+
createDeploymentResource: (_0, ..._1) => __async(null, [_0, ..._1], function* (newDeploymentResource, options = {}) {
|
|
1746
1699
|
assertParamExists("createDeploymentResource", "newDeploymentResource", newDeploymentResource);
|
|
1747
1700
|
const localVarPath = `/api/v2/deployment-resources`;
|
|
1748
1701
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -1756,6 +1709,7 @@ var DeploymentResourcesApiAxiosParamCreator = function(configuration) {
|
|
|
1756
1709
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1757
1710
|
yield setApiKeyToObject(localVarHeaderParameter, "x-platz-token", configuration);
|
|
1758
1711
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1712
|
+
localVarHeaderParameter["Accept"] = "application/json";
|
|
1759
1713
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1760
1714
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1761
1715
|
localVarRequestOptions.headers = __spreadValues(__spreadValues(__spreadValues({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1771,9 +1725,9 @@ var DeploymentResourcesApiAxiosParamCreator = function(configuration) {
|
|
|
1771
1725
|
* @param {*} [options] Override http request option.
|
|
1772
1726
|
* @throws {RequiredError}
|
|
1773
1727
|
*/
|
|
1774
|
-
deleteDeploymentResource: (_0, ..._1) => __async(
|
|
1728
|
+
deleteDeploymentResource: (_0, ..._1) => __async(null, [_0, ..._1], function* (id, options = {}) {
|
|
1775
1729
|
assertParamExists("deleteDeploymentResource", "id", id);
|
|
1776
|
-
const localVarPath = `/api/v2/deployment-resources/{id}`.replace(
|
|
1730
|
+
const localVarPath = `/api/v2/deployment-resources/{id}`.replace("{id}", encodeURIComponent(String(id)));
|
|
1777
1731
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1778
1732
|
let baseOptions;
|
|
1779
1733
|
if (configuration) {
|
|
@@ -1798,9 +1752,9 @@ var DeploymentResourcesApiAxiosParamCreator = function(configuration) {
|
|
|
1798
1752
|
* @param {*} [options] Override http request option.
|
|
1799
1753
|
* @throws {RequiredError}
|
|
1800
1754
|
*/
|
|
1801
|
-
getDeploymentResource: (_0, ..._1) => __async(
|
|
1755
|
+
getDeploymentResource: (_0, ..._1) => __async(null, [_0, ..._1], function* (id, options = {}) {
|
|
1802
1756
|
assertParamExists("getDeploymentResource", "id", id);
|
|
1803
|
-
const localVarPath = `/api/v2/deployment-resources/{id}`.replace(
|
|
1757
|
+
const localVarPath = `/api/v2/deployment-resources/{id}`.replace("{id}", encodeURIComponent(String(id)));
|
|
1804
1758
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1805
1759
|
let baseOptions;
|
|
1806
1760
|
if (configuration) {
|
|
@@ -1811,6 +1765,7 @@ var DeploymentResourcesApiAxiosParamCreator = function(configuration) {
|
|
|
1811
1765
|
const localVarQueryParameter = {};
|
|
1812
1766
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1813
1767
|
yield setApiKeyToObject(localVarHeaderParameter, "x-platz-token", configuration);
|
|
1768
|
+
localVarHeaderParameter["Accept"] = "application/json";
|
|
1814
1769
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1815
1770
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1816
1771
|
localVarRequestOptions.headers = __spreadValues(__spreadValues(__spreadValues({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1826,10 +1781,10 @@ var DeploymentResourcesApiAxiosParamCreator = function(configuration) {
|
|
|
1826
1781
|
* @param {*} [options] Override http request option.
|
|
1827
1782
|
* @throws {RequiredError}
|
|
1828
1783
|
*/
|
|
1829
|
-
updateDeploymentResource: (_0, _1, ..._2) => __async(
|
|
1784
|
+
updateDeploymentResource: (_0, _1, ..._2) => __async(null, [_0, _1, ..._2], function* (id, updateDeploymentResource, options = {}) {
|
|
1830
1785
|
assertParamExists("updateDeploymentResource", "id", id);
|
|
1831
1786
|
assertParamExists("updateDeploymentResource", "updateDeploymentResource", updateDeploymentResource);
|
|
1832
|
-
const localVarPath = `/api/v2/deployment-resources/{id}`.replace(
|
|
1787
|
+
const localVarPath = `/api/v2/deployment-resources/{id}`.replace("{id}", encodeURIComponent(String(id)));
|
|
1833
1788
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1834
1789
|
let baseOptions;
|
|
1835
1790
|
if (configuration) {
|
|
@@ -1841,6 +1796,7 @@ var DeploymentResourcesApiAxiosParamCreator = function(configuration) {
|
|
|
1841
1796
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1842
1797
|
yield setApiKeyToObject(localVarHeaderParameter, "x-platz-token", configuration);
|
|
1843
1798
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1799
|
+
localVarHeaderParameter["Accept"] = "application/json";
|
|
1844
1800
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1845
1801
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1846
1802
|
localVarRequestOptions.headers = __spreadValues(__spreadValues(__spreadValues({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1858,15 +1814,13 @@ var DeploymentResourcesApiFp = function(configuration) {
|
|
|
1858
1814
|
/**
|
|
1859
1815
|
*
|
|
1860
1816
|
* @param {string | null} [typeId]
|
|
1861
|
-
* @param {number | null} [page]
|
|
1862
|
-
* @param {number | null} [perPage]
|
|
1863
1817
|
* @param {*} [options] Override http request option.
|
|
1864
1818
|
* @throws {RequiredError}
|
|
1865
1819
|
*/
|
|
1866
|
-
allDeploymentResources(typeId,
|
|
1820
|
+
allDeploymentResources(typeId, options) {
|
|
1867
1821
|
return __async(this, null, function* () {
|
|
1868
1822
|
var _a2, _b, _c;
|
|
1869
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.allDeploymentResources(typeId,
|
|
1823
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.allDeploymentResources(typeId, options);
|
|
1870
1824
|
const localVarOperationServerIndex = (_a2 = configuration == null ? void 0 : configuration.serverIndex) != null ? _a2 : 0;
|
|
1871
1825
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap["DeploymentResourcesApi.allDeploymentResources"]) == null ? void 0 : _b[localVarOperationServerIndex]) == null ? void 0 : _c.url;
|
|
1872
1826
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, import_axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1945,7 +1899,7 @@ var DeploymentResourcesApiFactory = function(configuration, basePath, axios) {
|
|
|
1945
1899
|
* @throws {RequiredError}
|
|
1946
1900
|
*/
|
|
1947
1901
|
allDeploymentResources(requestParameters = {}, options) {
|
|
1948
|
-
return localVarFp.allDeploymentResources(requestParameters.typeId,
|
|
1902
|
+
return localVarFp.allDeploymentResources(requestParameters.typeId, options).then((request) => request(axios, basePath));
|
|
1949
1903
|
},
|
|
1950
1904
|
/**
|
|
1951
1905
|
*
|
|
@@ -1991,17 +1945,15 @@ var DeploymentResourcesApi = class extends BaseAPI {
|
|
|
1991
1945
|
* @param {DeploymentResourcesApiAllDeploymentResourcesRequest} requestParameters Request parameters.
|
|
1992
1946
|
* @param {*} [options] Override http request option.
|
|
1993
1947
|
* @throws {RequiredError}
|
|
1994
|
-
* @memberof DeploymentResourcesApi
|
|
1995
1948
|
*/
|
|
1996
1949
|
allDeploymentResources(requestParameters = {}, options) {
|
|
1997
|
-
return DeploymentResourcesApiFp(this.configuration).allDeploymentResources(requestParameters.typeId,
|
|
1950
|
+
return DeploymentResourcesApiFp(this.configuration).allDeploymentResources(requestParameters.typeId, options).then((request) => request(this.axios, this.basePath));
|
|
1998
1951
|
}
|
|
1999
1952
|
/**
|
|
2000
1953
|
*
|
|
2001
1954
|
* @param {DeploymentResourcesApiCreateDeploymentResourceRequest} requestParameters Request parameters.
|
|
2002
1955
|
* @param {*} [options] Override http request option.
|
|
2003
1956
|
* @throws {RequiredError}
|
|
2004
|
-
* @memberof DeploymentResourcesApi
|
|
2005
1957
|
*/
|
|
2006
1958
|
createDeploymentResource(requestParameters, options) {
|
|
2007
1959
|
return DeploymentResourcesApiFp(this.configuration).createDeploymentResource(requestParameters.newDeploymentResource, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -2011,7 +1963,6 @@ var DeploymentResourcesApi = class extends BaseAPI {
|
|
|
2011
1963
|
* @param {DeploymentResourcesApiDeleteDeploymentResourceRequest} requestParameters Request parameters.
|
|
2012
1964
|
* @param {*} [options] Override http request option.
|
|
2013
1965
|
* @throws {RequiredError}
|
|
2014
|
-
* @memberof DeploymentResourcesApi
|
|
2015
1966
|
*/
|
|
2016
1967
|
deleteDeploymentResource(requestParameters, options) {
|
|
2017
1968
|
return DeploymentResourcesApiFp(this.configuration).deleteDeploymentResource(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -2021,7 +1972,6 @@ var DeploymentResourcesApi = class extends BaseAPI {
|
|
|
2021
1972
|
* @param {DeploymentResourcesApiGetDeploymentResourceRequest} requestParameters Request parameters.
|
|
2022
1973
|
* @param {*} [options] Override http request option.
|
|
2023
1974
|
* @throws {RequiredError}
|
|
2024
|
-
* @memberof DeploymentResourcesApi
|
|
2025
1975
|
*/
|
|
2026
1976
|
getDeploymentResource(requestParameters, options) {
|
|
2027
1977
|
return DeploymentResourcesApiFp(this.configuration).getDeploymentResource(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -2031,7 +1981,6 @@ var DeploymentResourcesApi = class extends BaseAPI {
|
|
|
2031
1981
|
* @param {DeploymentResourcesApiUpdateDeploymentResourceRequest} requestParameters Request parameters.
|
|
2032
1982
|
* @param {*} [options] Override http request option.
|
|
2033
1983
|
* @throws {RequiredError}
|
|
2034
|
-
* @memberof DeploymentResourcesApi
|
|
2035
1984
|
*/
|
|
2036
1985
|
updateDeploymentResource(requestParameters, options) {
|
|
2037
1986
|
return DeploymentResourcesApiFp(this.configuration).updateDeploymentResource(requestParameters.id, requestParameters.updateDeploymentResource, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -2043,12 +1992,10 @@ var DeploymentTasksApiAxiosParamCreator = function(configuration) {
|
|
|
2043
1992
|
*
|
|
2044
1993
|
* @param {string | null} [clusterId]
|
|
2045
1994
|
* @param {string | null} [deploymentId]
|
|
2046
|
-
* @param {number | null} [page]
|
|
2047
|
-
* @param {number | null} [perPage]
|
|
2048
1995
|
* @param {*} [options] Override http request option.
|
|
2049
1996
|
* @throws {RequiredError}
|
|
2050
1997
|
*/
|
|
2051
|
-
allDeploymentTasks: (_0, _1, _2
|
|
1998
|
+
allDeploymentTasks: (_0, _1, ..._2) => __async(null, [_0, _1, ..._2], function* (clusterId, deploymentId, options = {}) {
|
|
2052
1999
|
const localVarPath = `/api/v2/deployment-tasks`;
|
|
2053
2000
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2054
2001
|
let baseOptions;
|
|
@@ -2066,12 +2013,7 @@ var DeploymentTasksApiAxiosParamCreator = function(configuration) {
|
|
|
2066
2013
|
if (deploymentId !== void 0) {
|
|
2067
2014
|
localVarQueryParameter["deployment_id"] = deploymentId;
|
|
2068
2015
|
}
|
|
2069
|
-
|
|
2070
|
-
localVarQueryParameter["page"] = page;
|
|
2071
|
-
}
|
|
2072
|
-
if (perPage !== void 0) {
|
|
2073
|
-
localVarQueryParameter["per_page"] = perPage;
|
|
2074
|
-
}
|
|
2016
|
+
localVarHeaderParameter["Accept"] = "application/json";
|
|
2075
2017
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2076
2018
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2077
2019
|
localVarRequestOptions.headers = __spreadValues(__spreadValues(__spreadValues({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -2086,7 +2028,7 @@ var DeploymentTasksApiAxiosParamCreator = function(configuration) {
|
|
|
2086
2028
|
* @param {*} [options] Override http request option.
|
|
2087
2029
|
* @throws {RequiredError}
|
|
2088
2030
|
*/
|
|
2089
|
-
createDeploymentTask: (_0, ..._1) => __async(
|
|
2031
|
+
createDeploymentTask: (_0, ..._1) => __async(null, [_0, ..._1], function* (createDeploymentTask, options = {}) {
|
|
2090
2032
|
assertParamExists("createDeploymentTask", "createDeploymentTask", createDeploymentTask);
|
|
2091
2033
|
const localVarPath = `/api/v2/deployment-tasks`;
|
|
2092
2034
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -2100,6 +2042,7 @@ var DeploymentTasksApiAxiosParamCreator = function(configuration) {
|
|
|
2100
2042
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2101
2043
|
yield setApiKeyToObject(localVarHeaderParameter, "x-platz-token", configuration);
|
|
2102
2044
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2045
|
+
localVarHeaderParameter["Accept"] = "application/json";
|
|
2103
2046
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2104
2047
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2105
2048
|
localVarRequestOptions.headers = __spreadValues(__spreadValues(__spreadValues({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -2115,9 +2058,9 @@ var DeploymentTasksApiAxiosParamCreator = function(configuration) {
|
|
|
2115
2058
|
* @param {*} [options] Override http request option.
|
|
2116
2059
|
* @throws {RequiredError}
|
|
2117
2060
|
*/
|
|
2118
|
-
getDeploymentTask: (_0, ..._1) => __async(
|
|
2061
|
+
getDeploymentTask: (_0, ..._1) => __async(null, [_0, ..._1], function* (id, options = {}) {
|
|
2119
2062
|
assertParamExists("getDeploymentTask", "id", id);
|
|
2120
|
-
const localVarPath = `/api/v2/deployment-tasks/{id}`.replace(
|
|
2063
|
+
const localVarPath = `/api/v2/deployment-tasks/{id}`.replace("{id}", encodeURIComponent(String(id)));
|
|
2121
2064
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2122
2065
|
let baseOptions;
|
|
2123
2066
|
if (configuration) {
|
|
@@ -2128,6 +2071,7 @@ var DeploymentTasksApiAxiosParamCreator = function(configuration) {
|
|
|
2128
2071
|
const localVarQueryParameter = {};
|
|
2129
2072
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2130
2073
|
yield setApiKeyToObject(localVarHeaderParameter, "x-platz-token", configuration);
|
|
2074
|
+
localVarHeaderParameter["Accept"] = "application/json";
|
|
2131
2075
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2132
2076
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2133
2077
|
localVarRequestOptions.headers = __spreadValues(__spreadValues(__spreadValues({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -2145,15 +2089,13 @@ var DeploymentTasksApiFp = function(configuration) {
|
|
|
2145
2089
|
*
|
|
2146
2090
|
* @param {string | null} [clusterId]
|
|
2147
2091
|
* @param {string | null} [deploymentId]
|
|
2148
|
-
* @param {number | null} [page]
|
|
2149
|
-
* @param {number | null} [perPage]
|
|
2150
2092
|
* @param {*} [options] Override http request option.
|
|
2151
2093
|
* @throws {RequiredError}
|
|
2152
2094
|
*/
|
|
2153
|
-
allDeploymentTasks(clusterId, deploymentId,
|
|
2095
|
+
allDeploymentTasks(clusterId, deploymentId, options) {
|
|
2154
2096
|
return __async(this, null, function* () {
|
|
2155
2097
|
var _a2, _b, _c;
|
|
2156
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.allDeploymentTasks(clusterId, deploymentId,
|
|
2098
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.allDeploymentTasks(clusterId, deploymentId, options);
|
|
2157
2099
|
const localVarOperationServerIndex = (_a2 = configuration == null ? void 0 : configuration.serverIndex) != null ? _a2 : 0;
|
|
2158
2100
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap["DeploymentTasksApi.allDeploymentTasks"]) == null ? void 0 : _b[localVarOperationServerIndex]) == null ? void 0 : _c.url;
|
|
2159
2101
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, import_axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2201,7 +2143,7 @@ var DeploymentTasksApiFactory = function(configuration, basePath, axios) {
|
|
|
2201
2143
|
* @throws {RequiredError}
|
|
2202
2144
|
*/
|
|
2203
2145
|
allDeploymentTasks(requestParameters = {}, options) {
|
|
2204
|
-
return localVarFp.allDeploymentTasks(requestParameters.clusterId, requestParameters.deploymentId,
|
|
2146
|
+
return localVarFp.allDeploymentTasks(requestParameters.clusterId, requestParameters.deploymentId, options).then((request) => request(axios, basePath));
|
|
2205
2147
|
},
|
|
2206
2148
|
/**
|
|
2207
2149
|
*
|
|
@@ -2229,17 +2171,15 @@ var DeploymentTasksApi = class extends BaseAPI {
|
|
|
2229
2171
|
* @param {DeploymentTasksApiAllDeploymentTasksRequest} requestParameters Request parameters.
|
|
2230
2172
|
* @param {*} [options] Override http request option.
|
|
2231
2173
|
* @throws {RequiredError}
|
|
2232
|
-
* @memberof DeploymentTasksApi
|
|
2233
2174
|
*/
|
|
2234
2175
|
allDeploymentTasks(requestParameters = {}, options) {
|
|
2235
|
-
return DeploymentTasksApiFp(this.configuration).allDeploymentTasks(requestParameters.clusterId, requestParameters.deploymentId,
|
|
2176
|
+
return DeploymentTasksApiFp(this.configuration).allDeploymentTasks(requestParameters.clusterId, requestParameters.deploymentId, options).then((request) => request(this.axios, this.basePath));
|
|
2236
2177
|
}
|
|
2237
2178
|
/**
|
|
2238
2179
|
*
|
|
2239
2180
|
* @param {DeploymentTasksApiCreateDeploymentTaskRequest} requestParameters Request parameters.
|
|
2240
2181
|
* @param {*} [options] Override http request option.
|
|
2241
2182
|
* @throws {RequiredError}
|
|
2242
|
-
* @memberof DeploymentTasksApi
|
|
2243
2183
|
*/
|
|
2244
2184
|
createDeploymentTask(requestParameters, options) {
|
|
2245
2185
|
return DeploymentTasksApiFp(this.configuration).createDeploymentTask(requestParameters.createDeploymentTask, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -2249,7 +2189,6 @@ var DeploymentTasksApi = class extends BaseAPI {
|
|
|
2249
2189
|
* @param {DeploymentTasksApiGetDeploymentTaskRequest} requestParameters Request parameters.
|
|
2250
2190
|
* @param {*} [options] Override http request option.
|
|
2251
2191
|
* @throws {RequiredError}
|
|
2252
|
-
* @memberof DeploymentTasksApi
|
|
2253
2192
|
*/
|
|
2254
2193
|
getDeploymentTask(requestParameters, options) {
|
|
2255
2194
|
return DeploymentTasksApiFp(this.configuration).getDeploymentTask(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -2263,12 +2202,10 @@ var DeploymentsApiAxiosParamCreator = function(configuration) {
|
|
|
2263
2202
|
* @param {string | null} [kindId]
|
|
2264
2203
|
* @param {string | null} [clusterId]
|
|
2265
2204
|
* @param {boolean | null} [enabled]
|
|
2266
|
-
* @param {number | null} [page]
|
|
2267
|
-
* @param {number | null} [perPage]
|
|
2268
2205
|
* @param {*} [options] Override http request option.
|
|
2269
2206
|
* @throws {RequiredError}
|
|
2270
2207
|
*/
|
|
2271
|
-
allDeployments: (_0, _1, _2, _3, _4
|
|
2208
|
+
allDeployments: (_0, _1, _2, _3, ..._4) => __async(null, [_0, _1, _2, _3, ..._4], function* (name, kindId, clusterId, enabled, options = {}) {
|
|
2272
2209
|
const localVarPath = `/api/v2/deployments`;
|
|
2273
2210
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2274
2211
|
let baseOptions;
|
|
@@ -2292,12 +2229,7 @@ var DeploymentsApiAxiosParamCreator = function(configuration) {
|
|
|
2292
2229
|
if (enabled !== void 0) {
|
|
2293
2230
|
localVarQueryParameter["enabled"] = enabled;
|
|
2294
2231
|
}
|
|
2295
|
-
|
|
2296
|
-
localVarQueryParameter["page"] = page;
|
|
2297
|
-
}
|
|
2298
|
-
if (perPage !== void 0) {
|
|
2299
|
-
localVarQueryParameter["per_page"] = perPage;
|
|
2300
|
-
}
|
|
2232
|
+
localVarHeaderParameter["Accept"] = "application/json";
|
|
2301
2233
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2302
2234
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2303
2235
|
localVarRequestOptions.headers = __spreadValues(__spreadValues(__spreadValues({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -2312,7 +2244,7 @@ var DeploymentsApiAxiosParamCreator = function(configuration) {
|
|
|
2312
2244
|
* @param {*} [options] Override http request option.
|
|
2313
2245
|
* @throws {RequiredError}
|
|
2314
2246
|
*/
|
|
2315
|
-
createDeployment: (_0, ..._1) => __async(
|
|
2247
|
+
createDeployment: (_0, ..._1) => __async(null, [_0, ..._1], function* (newDeployment, options = {}) {
|
|
2316
2248
|
assertParamExists("createDeployment", "newDeployment", newDeployment);
|
|
2317
2249
|
const localVarPath = `/api/v2/deployments`;
|
|
2318
2250
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -2326,6 +2258,7 @@ var DeploymentsApiAxiosParamCreator = function(configuration) {
|
|
|
2326
2258
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2327
2259
|
yield setApiKeyToObject(localVarHeaderParameter, "x-platz-token", configuration);
|
|
2328
2260
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2261
|
+
localVarHeaderParameter["Accept"] = "application/json";
|
|
2329
2262
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2330
2263
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2331
2264
|
localVarRequestOptions.headers = __spreadValues(__spreadValues(__spreadValues({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -2341,9 +2274,9 @@ var DeploymentsApiAxiosParamCreator = function(configuration) {
|
|
|
2341
2274
|
* @param {*} [options] Override http request option.
|
|
2342
2275
|
* @throws {RequiredError}
|
|
2343
2276
|
*/
|
|
2344
|
-
deleteDeployment: (_0, ..._1) => __async(
|
|
2277
|
+
deleteDeployment: (_0, ..._1) => __async(null, [_0, ..._1], function* (id, options = {}) {
|
|
2345
2278
|
assertParamExists("deleteDeployment", "id", id);
|
|
2346
|
-
const localVarPath = `/api/v2/deployments/{id}`.replace(
|
|
2279
|
+
const localVarPath = `/api/v2/deployments/{id}`.replace("{id}", encodeURIComponent(String(id)));
|
|
2347
2280
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2348
2281
|
let baseOptions;
|
|
2349
2282
|
if (configuration) {
|
|
@@ -2368,9 +2301,9 @@ var DeploymentsApiAxiosParamCreator = function(configuration) {
|
|
|
2368
2301
|
* @param {*} [options] Override http request option.
|
|
2369
2302
|
* @throws {RequiredError}
|
|
2370
2303
|
*/
|
|
2371
|
-
getDeployment: (_0, ..._1) => __async(
|
|
2304
|
+
getDeployment: (_0, ..._1) => __async(null, [_0, ..._1], function* (id, options = {}) {
|
|
2372
2305
|
assertParamExists("getDeployment", "id", id);
|
|
2373
|
-
const localVarPath = `/api/v2/deployments/{id}`.replace(
|
|
2306
|
+
const localVarPath = `/api/v2/deployments/{id}`.replace("{id}", encodeURIComponent(String(id)));
|
|
2374
2307
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2375
2308
|
let baseOptions;
|
|
2376
2309
|
if (configuration) {
|
|
@@ -2381,6 +2314,7 @@ var DeploymentsApiAxiosParamCreator = function(configuration) {
|
|
|
2381
2314
|
const localVarQueryParameter = {};
|
|
2382
2315
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2383
2316
|
yield setApiKeyToObject(localVarHeaderParameter, "x-platz-token", configuration);
|
|
2317
|
+
localVarHeaderParameter["Accept"] = "application/json";
|
|
2384
2318
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2385
2319
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2386
2320
|
localVarRequestOptions.headers = __spreadValues(__spreadValues(__spreadValues({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -2396,10 +2330,10 @@ var DeploymentsApiAxiosParamCreator = function(configuration) {
|
|
|
2396
2330
|
* @param {*} [options] Override http request option.
|
|
2397
2331
|
* @throws {RequiredError}
|
|
2398
2332
|
*/
|
|
2399
|
-
updateDeployment: (_0, _1, ..._2) => __async(
|
|
2333
|
+
updateDeployment: (_0, _1, ..._2) => __async(null, [_0, _1, ..._2], function* (id, updateDeployment, options = {}) {
|
|
2400
2334
|
assertParamExists("updateDeployment", "id", id);
|
|
2401
2335
|
assertParamExists("updateDeployment", "updateDeployment", updateDeployment);
|
|
2402
|
-
const localVarPath = `/api/v2/deployments/{id}`.replace(
|
|
2336
|
+
const localVarPath = `/api/v2/deployments/{id}`.replace("{id}", encodeURIComponent(String(id)));
|
|
2403
2337
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2404
2338
|
let baseOptions;
|
|
2405
2339
|
if (configuration) {
|
|
@@ -2411,6 +2345,7 @@ var DeploymentsApiAxiosParamCreator = function(configuration) {
|
|
|
2411
2345
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2412
2346
|
yield setApiKeyToObject(localVarHeaderParameter, "x-platz-token", configuration);
|
|
2413
2347
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2348
|
+
localVarHeaderParameter["Accept"] = "application/json";
|
|
2414
2349
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2415
2350
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2416
2351
|
localVarRequestOptions.headers = __spreadValues(__spreadValues(__spreadValues({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -2431,15 +2366,13 @@ var DeploymentsApiFp = function(configuration) {
|
|
|
2431
2366
|
* @param {string | null} [kindId]
|
|
2432
2367
|
* @param {string | null} [clusterId]
|
|
2433
2368
|
* @param {boolean | null} [enabled]
|
|
2434
|
-
* @param {number | null} [page]
|
|
2435
|
-
* @param {number | null} [perPage]
|
|
2436
2369
|
* @param {*} [options] Override http request option.
|
|
2437
2370
|
* @throws {RequiredError}
|
|
2438
2371
|
*/
|
|
2439
|
-
allDeployments(name, kindId, clusterId, enabled,
|
|
2372
|
+
allDeployments(name, kindId, clusterId, enabled, options) {
|
|
2440
2373
|
return __async(this, null, function* () {
|
|
2441
2374
|
var _a2, _b, _c;
|
|
2442
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.allDeployments(name, kindId, clusterId, enabled,
|
|
2375
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.allDeployments(name, kindId, clusterId, enabled, options);
|
|
2443
2376
|
const localVarOperationServerIndex = (_a2 = configuration == null ? void 0 : configuration.serverIndex) != null ? _a2 : 0;
|
|
2444
2377
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap["DeploymentsApi.allDeployments"]) == null ? void 0 : _b[localVarOperationServerIndex]) == null ? void 0 : _c.url;
|
|
2445
2378
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, import_axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2518,7 +2451,7 @@ var DeploymentsApiFactory = function(configuration, basePath, axios) {
|
|
|
2518
2451
|
* @throws {RequiredError}
|
|
2519
2452
|
*/
|
|
2520
2453
|
allDeployments(requestParameters = {}, options) {
|
|
2521
|
-
return localVarFp.allDeployments(requestParameters.name, requestParameters.kindId, requestParameters.clusterId, requestParameters.enabled,
|
|
2454
|
+
return localVarFp.allDeployments(requestParameters.name, requestParameters.kindId, requestParameters.clusterId, requestParameters.enabled, options).then((request) => request(axios, basePath));
|
|
2522
2455
|
},
|
|
2523
2456
|
/**
|
|
2524
2457
|
*
|
|
@@ -2564,17 +2497,15 @@ var DeploymentsApi = class extends BaseAPI {
|
|
|
2564
2497
|
* @param {DeploymentsApiAllDeploymentsRequest} requestParameters Request parameters.
|
|
2565
2498
|
* @param {*} [options] Override http request option.
|
|
2566
2499
|
* @throws {RequiredError}
|
|
2567
|
-
* @memberof DeploymentsApi
|
|
2568
2500
|
*/
|
|
2569
2501
|
allDeployments(requestParameters = {}, options) {
|
|
2570
|
-
return DeploymentsApiFp(this.configuration).allDeployments(requestParameters.name, requestParameters.kindId, requestParameters.clusterId, requestParameters.enabled,
|
|
2502
|
+
return DeploymentsApiFp(this.configuration).allDeployments(requestParameters.name, requestParameters.kindId, requestParameters.clusterId, requestParameters.enabled, options).then((request) => request(this.axios, this.basePath));
|
|
2571
2503
|
}
|
|
2572
2504
|
/**
|
|
2573
2505
|
*
|
|
2574
2506
|
* @param {DeploymentsApiCreateDeploymentRequest} requestParameters Request parameters.
|
|
2575
2507
|
* @param {*} [options] Override http request option.
|
|
2576
2508
|
* @throws {RequiredError}
|
|
2577
|
-
* @memberof DeploymentsApi
|
|
2578
2509
|
*/
|
|
2579
2510
|
createDeployment(requestParameters, options) {
|
|
2580
2511
|
return DeploymentsApiFp(this.configuration).createDeployment(requestParameters.newDeployment, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -2584,7 +2515,6 @@ var DeploymentsApi = class extends BaseAPI {
|
|
|
2584
2515
|
* @param {DeploymentsApiDeleteDeploymentRequest} requestParameters Request parameters.
|
|
2585
2516
|
* @param {*} [options] Override http request option.
|
|
2586
2517
|
* @throws {RequiredError}
|
|
2587
|
-
* @memberof DeploymentsApi
|
|
2588
2518
|
*/
|
|
2589
2519
|
deleteDeployment(requestParameters, options) {
|
|
2590
2520
|
return DeploymentsApiFp(this.configuration).deleteDeployment(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -2594,7 +2524,6 @@ var DeploymentsApi = class extends BaseAPI {
|
|
|
2594
2524
|
* @param {DeploymentsApiGetDeploymentRequest} requestParameters Request parameters.
|
|
2595
2525
|
* @param {*} [options] Override http request option.
|
|
2596
2526
|
* @throws {RequiredError}
|
|
2597
|
-
* @memberof DeploymentsApi
|
|
2598
2527
|
*/
|
|
2599
2528
|
getDeployment(requestParameters, options) {
|
|
2600
2529
|
return DeploymentsApiFp(this.configuration).getDeployment(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -2604,7 +2533,6 @@ var DeploymentsApi = class extends BaseAPI {
|
|
|
2604
2533
|
* @param {DeploymentsApiUpdateDeploymentRequest} requestParameters Request parameters.
|
|
2605
2534
|
* @param {*} [options] Override http request option.
|
|
2606
2535
|
* @throws {RequiredError}
|
|
2607
|
-
* @memberof DeploymentsApi
|
|
2608
2536
|
*/
|
|
2609
2537
|
updateDeployment(requestParameters, options) {
|
|
2610
2538
|
return DeploymentsApiFp(this.configuration).updateDeployment(requestParameters.id, requestParameters.updateDeployment, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -2615,12 +2543,10 @@ var EnvUserPermissionsApiAxiosParamCreator = function(configuration) {
|
|
|
2615
2543
|
/**
|
|
2616
2544
|
*
|
|
2617
2545
|
* @param {string | null} [envId]
|
|
2618
|
-
* @param {number | null} [page]
|
|
2619
|
-
* @param {number | null} [perPage]
|
|
2620
2546
|
* @param {*} [options] Override http request option.
|
|
2621
2547
|
* @throws {RequiredError}
|
|
2622
2548
|
*/
|
|
2623
|
-
allEnvUserPermissions: (_0, _1
|
|
2549
|
+
allEnvUserPermissions: (_0, ..._1) => __async(null, [_0, ..._1], function* (envId, options = {}) {
|
|
2624
2550
|
const localVarPath = `/api/v2/env-user-permissions`;
|
|
2625
2551
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2626
2552
|
let baseOptions;
|
|
@@ -2635,12 +2561,7 @@ var EnvUserPermissionsApiAxiosParamCreator = function(configuration) {
|
|
|
2635
2561
|
if (envId !== void 0) {
|
|
2636
2562
|
localVarQueryParameter["env_id"] = envId;
|
|
2637
2563
|
}
|
|
2638
|
-
|
|
2639
|
-
localVarQueryParameter["page"] = page;
|
|
2640
|
-
}
|
|
2641
|
-
if (perPage !== void 0) {
|
|
2642
|
-
localVarQueryParameter["per_page"] = perPage;
|
|
2643
|
-
}
|
|
2564
|
+
localVarHeaderParameter["Accept"] = "application/json";
|
|
2644
2565
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2645
2566
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2646
2567
|
localVarRequestOptions.headers = __spreadValues(__spreadValues(__spreadValues({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -2655,7 +2576,7 @@ var EnvUserPermissionsApiAxiosParamCreator = function(configuration) {
|
|
|
2655
2576
|
* @param {*} [options] Override http request option.
|
|
2656
2577
|
* @throws {RequiredError}
|
|
2657
2578
|
*/
|
|
2658
|
-
createEnvUserPermission: (_0, ..._1) => __async(
|
|
2579
|
+
createEnvUserPermission: (_0, ..._1) => __async(null, [_0, ..._1], function* (newEnvUserPermission, options = {}) {
|
|
2659
2580
|
assertParamExists("createEnvUserPermission", "newEnvUserPermission", newEnvUserPermission);
|
|
2660
2581
|
const localVarPath = `/api/v2/env-user-permissions`;
|
|
2661
2582
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -2669,6 +2590,7 @@ var EnvUserPermissionsApiAxiosParamCreator = function(configuration) {
|
|
|
2669
2590
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2670
2591
|
yield setApiKeyToObject(localVarHeaderParameter, "x-platz-token", configuration);
|
|
2671
2592
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2593
|
+
localVarHeaderParameter["Accept"] = "application/json";
|
|
2672
2594
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2673
2595
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2674
2596
|
localVarRequestOptions.headers = __spreadValues(__spreadValues(__spreadValues({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -2684,9 +2606,9 @@ var EnvUserPermissionsApiAxiosParamCreator = function(configuration) {
|
|
|
2684
2606
|
* @param {*} [options] Override http request option.
|
|
2685
2607
|
* @throws {RequiredError}
|
|
2686
2608
|
*/
|
|
2687
|
-
deleteEnvUserPermission: (_0, ..._1) => __async(
|
|
2609
|
+
deleteEnvUserPermission: (_0, ..._1) => __async(null, [_0, ..._1], function* (id, options = {}) {
|
|
2688
2610
|
assertParamExists("deleteEnvUserPermission", "id", id);
|
|
2689
|
-
const localVarPath = `/api/v2/env-user-permissions/{id}`.replace(
|
|
2611
|
+
const localVarPath = `/api/v2/env-user-permissions/{id}`.replace("{id}", encodeURIComponent(String(id)));
|
|
2690
2612
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2691
2613
|
let baseOptions;
|
|
2692
2614
|
if (configuration) {
|
|
@@ -2711,9 +2633,9 @@ var EnvUserPermissionsApiAxiosParamCreator = function(configuration) {
|
|
|
2711
2633
|
* @param {*} [options] Override http request option.
|
|
2712
2634
|
* @throws {RequiredError}
|
|
2713
2635
|
*/
|
|
2714
|
-
getEnvUserPermission: (_0, ..._1) => __async(
|
|
2636
|
+
getEnvUserPermission: (_0, ..._1) => __async(null, [_0, ..._1], function* (id, options = {}) {
|
|
2715
2637
|
assertParamExists("getEnvUserPermission", "id", id);
|
|
2716
|
-
const localVarPath = `/api/v2/env-user-permissions/{id}`.replace(
|
|
2638
|
+
const localVarPath = `/api/v2/env-user-permissions/{id}`.replace("{id}", encodeURIComponent(String(id)));
|
|
2717
2639
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2718
2640
|
let baseOptions;
|
|
2719
2641
|
if (configuration) {
|
|
@@ -2724,6 +2646,7 @@ var EnvUserPermissionsApiAxiosParamCreator = function(configuration) {
|
|
|
2724
2646
|
const localVarQueryParameter = {};
|
|
2725
2647
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2726
2648
|
yield setApiKeyToObject(localVarHeaderParameter, "x-platz-token", configuration);
|
|
2649
|
+
localVarHeaderParameter["Accept"] = "application/json";
|
|
2727
2650
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2728
2651
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2729
2652
|
localVarRequestOptions.headers = __spreadValues(__spreadValues(__spreadValues({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -2740,15 +2663,13 @@ var EnvUserPermissionsApiFp = function(configuration) {
|
|
|
2740
2663
|
/**
|
|
2741
2664
|
*
|
|
2742
2665
|
* @param {string | null} [envId]
|
|
2743
|
-
* @param {number | null} [page]
|
|
2744
|
-
* @param {number | null} [perPage]
|
|
2745
2666
|
* @param {*} [options] Override http request option.
|
|
2746
2667
|
* @throws {RequiredError}
|
|
2747
2668
|
*/
|
|
2748
|
-
allEnvUserPermissions(envId,
|
|
2669
|
+
allEnvUserPermissions(envId, options) {
|
|
2749
2670
|
return __async(this, null, function* () {
|
|
2750
2671
|
var _a2, _b, _c;
|
|
2751
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.allEnvUserPermissions(envId,
|
|
2672
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.allEnvUserPermissions(envId, options);
|
|
2752
2673
|
const localVarOperationServerIndex = (_a2 = configuration == null ? void 0 : configuration.serverIndex) != null ? _a2 : 0;
|
|
2753
2674
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap["EnvUserPermissionsApi.allEnvUserPermissions"]) == null ? void 0 : _b[localVarOperationServerIndex]) == null ? void 0 : _c.url;
|
|
2754
2675
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, import_axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2811,7 +2732,7 @@ var EnvUserPermissionsApiFactory = function(configuration, basePath, axios) {
|
|
|
2811
2732
|
* @throws {RequiredError}
|
|
2812
2733
|
*/
|
|
2813
2734
|
allEnvUserPermissions(requestParameters = {}, options) {
|
|
2814
|
-
return localVarFp.allEnvUserPermissions(requestParameters.envId,
|
|
2735
|
+
return localVarFp.allEnvUserPermissions(requestParameters.envId, options).then((request) => request(axios, basePath));
|
|
2815
2736
|
},
|
|
2816
2737
|
/**
|
|
2817
2738
|
*
|
|
@@ -2848,17 +2769,15 @@ var EnvUserPermissionsApi = class extends BaseAPI {
|
|
|
2848
2769
|
* @param {EnvUserPermissionsApiAllEnvUserPermissionsRequest} requestParameters Request parameters.
|
|
2849
2770
|
* @param {*} [options] Override http request option.
|
|
2850
2771
|
* @throws {RequiredError}
|
|
2851
|
-
* @memberof EnvUserPermissionsApi
|
|
2852
2772
|
*/
|
|
2853
2773
|
allEnvUserPermissions(requestParameters = {}, options) {
|
|
2854
|
-
return EnvUserPermissionsApiFp(this.configuration).allEnvUserPermissions(requestParameters.envId,
|
|
2774
|
+
return EnvUserPermissionsApiFp(this.configuration).allEnvUserPermissions(requestParameters.envId, options).then((request) => request(this.axios, this.basePath));
|
|
2855
2775
|
}
|
|
2856
2776
|
/**
|
|
2857
2777
|
*
|
|
2858
2778
|
* @param {EnvUserPermissionsApiCreateEnvUserPermissionRequest} requestParameters Request parameters.
|
|
2859
2779
|
* @param {*} [options] Override http request option.
|
|
2860
2780
|
* @throws {RequiredError}
|
|
2861
|
-
* @memberof EnvUserPermissionsApi
|
|
2862
2781
|
*/
|
|
2863
2782
|
createEnvUserPermission(requestParameters, options) {
|
|
2864
2783
|
return EnvUserPermissionsApiFp(this.configuration).createEnvUserPermission(requestParameters.newEnvUserPermission, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -2868,7 +2787,6 @@ var EnvUserPermissionsApi = class extends BaseAPI {
|
|
|
2868
2787
|
* @param {EnvUserPermissionsApiDeleteEnvUserPermissionRequest} requestParameters Request parameters.
|
|
2869
2788
|
* @param {*} [options] Override http request option.
|
|
2870
2789
|
* @throws {RequiredError}
|
|
2871
|
-
* @memberof EnvUserPermissionsApi
|
|
2872
2790
|
*/
|
|
2873
2791
|
deleteEnvUserPermission(requestParameters, options) {
|
|
2874
2792
|
return EnvUserPermissionsApiFp(this.configuration).deleteEnvUserPermission(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -2878,7 +2796,6 @@ var EnvUserPermissionsApi = class extends BaseAPI {
|
|
|
2878
2796
|
* @param {EnvUserPermissionsApiGetEnvUserPermissionRequest} requestParameters Request parameters.
|
|
2879
2797
|
* @param {*} [options] Override http request option.
|
|
2880
2798
|
* @throws {RequiredError}
|
|
2881
|
-
* @memberof EnvUserPermissionsApi
|
|
2882
2799
|
*/
|
|
2883
2800
|
getEnvUserPermission(requestParameters, options) {
|
|
2884
2801
|
return EnvUserPermissionsApiFp(this.configuration).getEnvUserPermission(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -2890,12 +2807,10 @@ var EnvsApiAxiosParamCreator = function(configuration) {
|
|
|
2890
2807
|
*
|
|
2891
2808
|
* @param {string | null} [name]
|
|
2892
2809
|
* @param {boolean | null} [autoAddNewUsers]
|
|
2893
|
-
* @param {number | null} [page]
|
|
2894
|
-
* @param {number | null} [perPage]
|
|
2895
2810
|
* @param {*} [options] Override http request option.
|
|
2896
2811
|
* @throws {RequiredError}
|
|
2897
2812
|
*/
|
|
2898
|
-
allEnvs: (_0, _1, _2
|
|
2813
|
+
allEnvs: (_0, _1, ..._2) => __async(null, [_0, _1, ..._2], function* (name, autoAddNewUsers, options = {}) {
|
|
2899
2814
|
const localVarPath = `/api/v2/envs`;
|
|
2900
2815
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2901
2816
|
let baseOptions;
|
|
@@ -2913,12 +2828,7 @@ var EnvsApiAxiosParamCreator = function(configuration) {
|
|
|
2913
2828
|
if (autoAddNewUsers !== void 0) {
|
|
2914
2829
|
localVarQueryParameter["auto_add_new_users"] = autoAddNewUsers;
|
|
2915
2830
|
}
|
|
2916
|
-
|
|
2917
|
-
localVarQueryParameter["page"] = page;
|
|
2918
|
-
}
|
|
2919
|
-
if (perPage !== void 0) {
|
|
2920
|
-
localVarQueryParameter["per_page"] = perPage;
|
|
2921
|
-
}
|
|
2831
|
+
localVarHeaderParameter["Accept"] = "application/json";
|
|
2922
2832
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2923
2833
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2924
2834
|
localVarRequestOptions.headers = __spreadValues(__spreadValues(__spreadValues({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -2933,7 +2843,7 @@ var EnvsApiAxiosParamCreator = function(configuration) {
|
|
|
2933
2843
|
* @param {*} [options] Override http request option.
|
|
2934
2844
|
* @throws {RequiredError}
|
|
2935
2845
|
*/
|
|
2936
|
-
createEnv: (_0, ..._1) => __async(
|
|
2846
|
+
createEnv: (_0, ..._1) => __async(null, [_0, ..._1], function* (newEnv, options = {}) {
|
|
2937
2847
|
assertParamExists("createEnv", "newEnv", newEnv);
|
|
2938
2848
|
const localVarPath = `/api/v2/envs`;
|
|
2939
2849
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -2947,6 +2857,7 @@ var EnvsApiAxiosParamCreator = function(configuration) {
|
|
|
2947
2857
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2948
2858
|
yield setApiKeyToObject(localVarHeaderParameter, "x-platz-token", configuration);
|
|
2949
2859
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2860
|
+
localVarHeaderParameter["Accept"] = "application/json";
|
|
2950
2861
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2951
2862
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2952
2863
|
localVarRequestOptions.headers = __spreadValues(__spreadValues(__spreadValues({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -2962,9 +2873,9 @@ var EnvsApiAxiosParamCreator = function(configuration) {
|
|
|
2962
2873
|
* @param {*} [options] Override http request option.
|
|
2963
2874
|
* @throws {RequiredError}
|
|
2964
2875
|
*/
|
|
2965
|
-
deleteEnv: (_0, ..._1) => __async(
|
|
2876
|
+
deleteEnv: (_0, ..._1) => __async(null, [_0, ..._1], function* (id, options = {}) {
|
|
2966
2877
|
assertParamExists("deleteEnv", "id", id);
|
|
2967
|
-
const localVarPath = `/api/v2/envs/{id}`.replace(
|
|
2878
|
+
const localVarPath = `/api/v2/envs/{id}`.replace("{id}", encodeURIComponent(String(id)));
|
|
2968
2879
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2969
2880
|
let baseOptions;
|
|
2970
2881
|
if (configuration) {
|
|
@@ -2989,9 +2900,9 @@ var EnvsApiAxiosParamCreator = function(configuration) {
|
|
|
2989
2900
|
* @param {*} [options] Override http request option.
|
|
2990
2901
|
* @throws {RequiredError}
|
|
2991
2902
|
*/
|
|
2992
|
-
getEnv: (_0, ..._1) => __async(
|
|
2903
|
+
getEnv: (_0, ..._1) => __async(null, [_0, ..._1], function* (id, options = {}) {
|
|
2993
2904
|
assertParamExists("getEnv", "id", id);
|
|
2994
|
-
const localVarPath = `/api/v2/envs/{id}`.replace(
|
|
2905
|
+
const localVarPath = `/api/v2/envs/{id}`.replace("{id}", encodeURIComponent(String(id)));
|
|
2995
2906
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2996
2907
|
let baseOptions;
|
|
2997
2908
|
if (configuration) {
|
|
@@ -3002,6 +2913,7 @@ var EnvsApiAxiosParamCreator = function(configuration) {
|
|
|
3002
2913
|
const localVarQueryParameter = {};
|
|
3003
2914
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3004
2915
|
yield setApiKeyToObject(localVarHeaderParameter, "x-platz-token", configuration);
|
|
2916
|
+
localVarHeaderParameter["Accept"] = "application/json";
|
|
3005
2917
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3006
2918
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3007
2919
|
localVarRequestOptions.headers = __spreadValues(__spreadValues(__spreadValues({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -3017,10 +2929,10 @@ var EnvsApiAxiosParamCreator = function(configuration) {
|
|
|
3017
2929
|
* @param {*} [options] Override http request option.
|
|
3018
2930
|
* @throws {RequiredError}
|
|
3019
2931
|
*/
|
|
3020
|
-
updateEnv: (_0, _1, ..._2) => __async(
|
|
2932
|
+
updateEnv: (_0, _1, ..._2) => __async(null, [_0, _1, ..._2], function* (id, updateEnv, options = {}) {
|
|
3021
2933
|
assertParamExists("updateEnv", "id", id);
|
|
3022
2934
|
assertParamExists("updateEnv", "updateEnv", updateEnv);
|
|
3023
|
-
const localVarPath = `/api/v2/envs/{id}`.replace(
|
|
2935
|
+
const localVarPath = `/api/v2/envs/{id}`.replace("{id}", encodeURIComponent(String(id)));
|
|
3024
2936
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3025
2937
|
let baseOptions;
|
|
3026
2938
|
if (configuration) {
|
|
@@ -3032,6 +2944,7 @@ var EnvsApiAxiosParamCreator = function(configuration) {
|
|
|
3032
2944
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3033
2945
|
yield setApiKeyToObject(localVarHeaderParameter, "x-platz-token", configuration);
|
|
3034
2946
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2947
|
+
localVarHeaderParameter["Accept"] = "application/json";
|
|
3035
2948
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3036
2949
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3037
2950
|
localVarRequestOptions.headers = __spreadValues(__spreadValues(__spreadValues({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -3050,15 +2963,13 @@ var EnvsApiFp = function(configuration) {
|
|
|
3050
2963
|
*
|
|
3051
2964
|
* @param {string | null} [name]
|
|
3052
2965
|
* @param {boolean | null} [autoAddNewUsers]
|
|
3053
|
-
* @param {number | null} [page]
|
|
3054
|
-
* @param {number | null} [perPage]
|
|
3055
2966
|
* @param {*} [options] Override http request option.
|
|
3056
2967
|
* @throws {RequiredError}
|
|
3057
2968
|
*/
|
|
3058
|
-
allEnvs(name, autoAddNewUsers,
|
|
2969
|
+
allEnvs(name, autoAddNewUsers, options) {
|
|
3059
2970
|
return __async(this, null, function* () {
|
|
3060
2971
|
var _a2, _b, _c;
|
|
3061
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.allEnvs(name, autoAddNewUsers,
|
|
2972
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.allEnvs(name, autoAddNewUsers, options);
|
|
3062
2973
|
const localVarOperationServerIndex = (_a2 = configuration == null ? void 0 : configuration.serverIndex) != null ? _a2 : 0;
|
|
3063
2974
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap["EnvsApi.allEnvs"]) == null ? void 0 : _b[localVarOperationServerIndex]) == null ? void 0 : _c.url;
|
|
3064
2975
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, import_axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -3137,7 +3048,7 @@ var EnvsApiFactory = function(configuration, basePath, axios) {
|
|
|
3137
3048
|
* @throws {RequiredError}
|
|
3138
3049
|
*/
|
|
3139
3050
|
allEnvs(requestParameters = {}, options) {
|
|
3140
|
-
return localVarFp.allEnvs(requestParameters.name, requestParameters.autoAddNewUsers,
|
|
3051
|
+
return localVarFp.allEnvs(requestParameters.name, requestParameters.autoAddNewUsers, options).then((request) => request(axios, basePath));
|
|
3141
3052
|
},
|
|
3142
3053
|
/**
|
|
3143
3054
|
*
|
|
@@ -3183,17 +3094,15 @@ var EnvsApi = class extends BaseAPI {
|
|
|
3183
3094
|
* @param {EnvsApiAllEnvsRequest} requestParameters Request parameters.
|
|
3184
3095
|
* @param {*} [options] Override http request option.
|
|
3185
3096
|
* @throws {RequiredError}
|
|
3186
|
-
* @memberof EnvsApi
|
|
3187
3097
|
*/
|
|
3188
3098
|
allEnvs(requestParameters = {}, options) {
|
|
3189
|
-
return EnvsApiFp(this.configuration).allEnvs(requestParameters.name, requestParameters.autoAddNewUsers,
|
|
3099
|
+
return EnvsApiFp(this.configuration).allEnvs(requestParameters.name, requestParameters.autoAddNewUsers, options).then((request) => request(this.axios, this.basePath));
|
|
3190
3100
|
}
|
|
3191
3101
|
/**
|
|
3192
3102
|
*
|
|
3193
3103
|
* @param {EnvsApiCreateEnvRequest} requestParameters Request parameters.
|
|
3194
3104
|
* @param {*} [options] Override http request option.
|
|
3195
3105
|
* @throws {RequiredError}
|
|
3196
|
-
* @memberof EnvsApi
|
|
3197
3106
|
*/
|
|
3198
3107
|
createEnv(requestParameters, options) {
|
|
3199
3108
|
return EnvsApiFp(this.configuration).createEnv(requestParameters.newEnv, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3203,7 +3112,6 @@ var EnvsApi = class extends BaseAPI {
|
|
|
3203
3112
|
* @param {EnvsApiDeleteEnvRequest} requestParameters Request parameters.
|
|
3204
3113
|
* @param {*} [options] Override http request option.
|
|
3205
3114
|
* @throws {RequiredError}
|
|
3206
|
-
* @memberof EnvsApi
|
|
3207
3115
|
*/
|
|
3208
3116
|
deleteEnv(requestParameters, options) {
|
|
3209
3117
|
return EnvsApiFp(this.configuration).deleteEnv(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3213,7 +3121,6 @@ var EnvsApi = class extends BaseAPI {
|
|
|
3213
3121
|
* @param {EnvsApiGetEnvRequest} requestParameters Request parameters.
|
|
3214
3122
|
* @param {*} [options] Override http request option.
|
|
3215
3123
|
* @throws {RequiredError}
|
|
3216
|
-
* @memberof EnvsApi
|
|
3217
3124
|
*/
|
|
3218
3125
|
getEnv(requestParameters, options) {
|
|
3219
3126
|
return EnvsApiFp(this.configuration).getEnv(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3223,7 +3130,6 @@ var EnvsApi = class extends BaseAPI {
|
|
|
3223
3130
|
* @param {EnvsApiUpdateEnvRequest} requestParameters Request parameters.
|
|
3224
3131
|
* @param {*} [options] Override http request option.
|
|
3225
3132
|
* @throws {RequiredError}
|
|
3226
|
-
* @memberof EnvsApi
|
|
3227
3133
|
*/
|
|
3228
3134
|
updateEnv(requestParameters, options) {
|
|
3229
3135
|
return EnvsApiFp(this.configuration).updateEnv(requestParameters.id, requestParameters.updateEnv, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3235,12 +3141,10 @@ var HelmChartsApiAxiosParamCreator = function(configuration) {
|
|
|
3235
3141
|
*
|
|
3236
3142
|
* @param {string | null} [helmRegistryId]
|
|
3237
3143
|
* @param {string | null} [parsedBranch]
|
|
3238
|
-
* @param {number | null} [page]
|
|
3239
|
-
* @param {number | null} [perPage]
|
|
3240
3144
|
* @param {*} [options] Override http request option.
|
|
3241
3145
|
* @throws {RequiredError}
|
|
3242
3146
|
*/
|
|
3243
|
-
allHelmCharts: (_0, _1, _2
|
|
3147
|
+
allHelmCharts: (_0, _1, ..._2) => __async(null, [_0, _1, ..._2], function* (helmRegistryId, parsedBranch, options = {}) {
|
|
3244
3148
|
const localVarPath = `/api/v2/helm-charts`;
|
|
3245
3149
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3246
3150
|
let baseOptions;
|
|
@@ -3258,12 +3162,7 @@ var HelmChartsApiAxiosParamCreator = function(configuration) {
|
|
|
3258
3162
|
if (parsedBranch !== void 0) {
|
|
3259
3163
|
localVarQueryParameter["parsed_branch"] = parsedBranch;
|
|
3260
3164
|
}
|
|
3261
|
-
|
|
3262
|
-
localVarQueryParameter["page"] = page;
|
|
3263
|
-
}
|
|
3264
|
-
if (perPage !== void 0) {
|
|
3265
|
-
localVarQueryParameter["per_page"] = perPage;
|
|
3266
|
-
}
|
|
3165
|
+
localVarHeaderParameter["Accept"] = "application/json";
|
|
3267
3166
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3268
3167
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3269
3168
|
localVarRequestOptions.headers = __spreadValues(__spreadValues(__spreadValues({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -3278,9 +3177,9 @@ var HelmChartsApiAxiosParamCreator = function(configuration) {
|
|
|
3278
3177
|
* @param {*} [options] Override http request option.
|
|
3279
3178
|
* @throws {RequiredError}
|
|
3280
3179
|
*/
|
|
3281
|
-
getHelmChart: (_0, ..._1) => __async(
|
|
3180
|
+
getHelmChart: (_0, ..._1) => __async(null, [_0, ..._1], function* (id, options = {}) {
|
|
3282
3181
|
assertParamExists("getHelmChart", "id", id);
|
|
3283
|
-
const localVarPath = `/api/v2/helm-charts/{id}`.replace(
|
|
3182
|
+
const localVarPath = `/api/v2/helm-charts/{id}`.replace("{id}", encodeURIComponent(String(id)));
|
|
3284
3183
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3285
3184
|
let baseOptions;
|
|
3286
3185
|
if (configuration) {
|
|
@@ -3291,6 +3190,7 @@ var HelmChartsApiAxiosParamCreator = function(configuration) {
|
|
|
3291
3190
|
const localVarQueryParameter = {};
|
|
3292
3191
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3293
3192
|
yield setApiKeyToObject(localVarHeaderParameter, "x-platz-token", configuration);
|
|
3193
|
+
localVarHeaderParameter["Accept"] = "application/json";
|
|
3294
3194
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3295
3195
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3296
3196
|
localVarRequestOptions.headers = __spreadValues(__spreadValues(__spreadValues({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -3308,15 +3208,13 @@ var HelmChartsApiFp = function(configuration) {
|
|
|
3308
3208
|
*
|
|
3309
3209
|
* @param {string | null} [helmRegistryId]
|
|
3310
3210
|
* @param {string | null} [parsedBranch]
|
|
3311
|
-
* @param {number | null} [page]
|
|
3312
|
-
* @param {number | null} [perPage]
|
|
3313
3211
|
* @param {*} [options] Override http request option.
|
|
3314
3212
|
* @throws {RequiredError}
|
|
3315
3213
|
*/
|
|
3316
|
-
allHelmCharts(helmRegistryId, parsedBranch,
|
|
3214
|
+
allHelmCharts(helmRegistryId, parsedBranch, options) {
|
|
3317
3215
|
return __async(this, null, function* () {
|
|
3318
3216
|
var _a2, _b, _c;
|
|
3319
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.allHelmCharts(helmRegistryId, parsedBranch,
|
|
3217
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.allHelmCharts(helmRegistryId, parsedBranch, options);
|
|
3320
3218
|
const localVarOperationServerIndex = (_a2 = configuration == null ? void 0 : configuration.serverIndex) != null ? _a2 : 0;
|
|
3321
3219
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap["HelmChartsApi.allHelmCharts"]) == null ? void 0 : _b[localVarOperationServerIndex]) == null ? void 0 : _c.url;
|
|
3322
3220
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, import_axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -3349,7 +3247,7 @@ var HelmChartsApiFactory = function(configuration, basePath, axios) {
|
|
|
3349
3247
|
* @throws {RequiredError}
|
|
3350
3248
|
*/
|
|
3351
3249
|
allHelmCharts(requestParameters = {}, options) {
|
|
3352
|
-
return localVarFp.allHelmCharts(requestParameters.helmRegistryId, requestParameters.parsedBranch,
|
|
3250
|
+
return localVarFp.allHelmCharts(requestParameters.helmRegistryId, requestParameters.parsedBranch, options).then((request) => request(axios, basePath));
|
|
3353
3251
|
},
|
|
3354
3252
|
/**
|
|
3355
3253
|
*
|
|
@@ -3368,17 +3266,15 @@ var HelmChartsApi = class extends BaseAPI {
|
|
|
3368
3266
|
* @param {HelmChartsApiAllHelmChartsRequest} requestParameters Request parameters.
|
|
3369
3267
|
* @param {*} [options] Override http request option.
|
|
3370
3268
|
* @throws {RequiredError}
|
|
3371
|
-
* @memberof HelmChartsApi
|
|
3372
3269
|
*/
|
|
3373
3270
|
allHelmCharts(requestParameters = {}, options) {
|
|
3374
|
-
return HelmChartsApiFp(this.configuration).allHelmCharts(requestParameters.helmRegistryId, requestParameters.parsedBranch,
|
|
3271
|
+
return HelmChartsApiFp(this.configuration).allHelmCharts(requestParameters.helmRegistryId, requestParameters.parsedBranch, options).then((request) => request(this.axios, this.basePath));
|
|
3375
3272
|
}
|
|
3376
3273
|
/**
|
|
3377
3274
|
*
|
|
3378
3275
|
* @param {HelmChartsApiGetHelmChartRequest} requestParameters Request parameters.
|
|
3379
3276
|
* @param {*} [options] Override http request option.
|
|
3380
3277
|
* @throws {RequiredError}
|
|
3381
|
-
* @memberof HelmChartsApi
|
|
3382
3278
|
*/
|
|
3383
3279
|
getHelmChart(requestParameters, options) {
|
|
3384
3280
|
return HelmChartsApiFp(this.configuration).getHelmChart(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3390,12 +3286,10 @@ var HelmRegistriesApiAxiosParamCreator = function(configuration) {
|
|
|
3390
3286
|
*
|
|
3391
3287
|
* @param {string | null} [repoName]
|
|
3392
3288
|
* @param {string | null} [kindId]
|
|
3393
|
-
* @param {number | null} [page]
|
|
3394
|
-
* @param {number | null} [perPage]
|
|
3395
3289
|
* @param {*} [options] Override http request option.
|
|
3396
3290
|
* @throws {RequiredError}
|
|
3397
3291
|
*/
|
|
3398
|
-
allHelmRegistries: (_0, _1, _2
|
|
3292
|
+
allHelmRegistries: (_0, _1, ..._2) => __async(null, [_0, _1, ..._2], function* (repoName, kindId, options = {}) {
|
|
3399
3293
|
const localVarPath = `/api/v2/helm-registries`;
|
|
3400
3294
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3401
3295
|
let baseOptions;
|
|
@@ -3413,12 +3307,7 @@ var HelmRegistriesApiAxiosParamCreator = function(configuration) {
|
|
|
3413
3307
|
if (kindId !== void 0) {
|
|
3414
3308
|
localVarQueryParameter["kind_id"] = kindId;
|
|
3415
3309
|
}
|
|
3416
|
-
|
|
3417
|
-
localVarQueryParameter["page"] = page;
|
|
3418
|
-
}
|
|
3419
|
-
if (perPage !== void 0) {
|
|
3420
|
-
localVarQueryParameter["per_page"] = perPage;
|
|
3421
|
-
}
|
|
3310
|
+
localVarHeaderParameter["Accept"] = "application/json";
|
|
3422
3311
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3423
3312
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3424
3313
|
localVarRequestOptions.headers = __spreadValues(__spreadValues(__spreadValues({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -3433,9 +3322,9 @@ var HelmRegistriesApiAxiosParamCreator = function(configuration) {
|
|
|
3433
3322
|
* @param {*} [options] Override http request option.
|
|
3434
3323
|
* @throws {RequiredError}
|
|
3435
3324
|
*/
|
|
3436
|
-
getHelmRegistry: (_0, ..._1) => __async(
|
|
3325
|
+
getHelmRegistry: (_0, ..._1) => __async(null, [_0, ..._1], function* (id, options = {}) {
|
|
3437
3326
|
assertParamExists("getHelmRegistry", "id", id);
|
|
3438
|
-
const localVarPath = `/api/v2/helm-registries/{id}`.replace(
|
|
3327
|
+
const localVarPath = `/api/v2/helm-registries/{id}`.replace("{id}", encodeURIComponent(String(id)));
|
|
3439
3328
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3440
3329
|
let baseOptions;
|
|
3441
3330
|
if (configuration) {
|
|
@@ -3446,6 +3335,7 @@ var HelmRegistriesApiAxiosParamCreator = function(configuration) {
|
|
|
3446
3335
|
const localVarQueryParameter = {};
|
|
3447
3336
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3448
3337
|
yield setApiKeyToObject(localVarHeaderParameter, "x-platz-token", configuration);
|
|
3338
|
+
localVarHeaderParameter["Accept"] = "application/json";
|
|
3449
3339
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3450
3340
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3451
3341
|
localVarRequestOptions.headers = __spreadValues(__spreadValues(__spreadValues({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -3461,10 +3351,10 @@ var HelmRegistriesApiAxiosParamCreator = function(configuration) {
|
|
|
3461
3351
|
* @param {*} [options] Override http request option.
|
|
3462
3352
|
* @throws {RequiredError}
|
|
3463
3353
|
*/
|
|
3464
|
-
updateHelmRegistry: (_0, _1, ..._2) => __async(
|
|
3354
|
+
updateHelmRegistry: (_0, _1, ..._2) => __async(null, [_0, _1, ..._2], function* (id, updateHelmRegistry, options = {}) {
|
|
3465
3355
|
assertParamExists("updateHelmRegistry", "id", id);
|
|
3466
3356
|
assertParamExists("updateHelmRegistry", "updateHelmRegistry", updateHelmRegistry);
|
|
3467
|
-
const localVarPath = `/api/v2/helm-registries/{id}`.replace(
|
|
3357
|
+
const localVarPath = `/api/v2/helm-registries/{id}`.replace("{id}", encodeURIComponent(String(id)));
|
|
3468
3358
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3469
3359
|
let baseOptions;
|
|
3470
3360
|
if (configuration) {
|
|
@@ -3476,6 +3366,7 @@ var HelmRegistriesApiAxiosParamCreator = function(configuration) {
|
|
|
3476
3366
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3477
3367
|
yield setApiKeyToObject(localVarHeaderParameter, "x-platz-token", configuration);
|
|
3478
3368
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
3369
|
+
localVarHeaderParameter["Accept"] = "application/json";
|
|
3479
3370
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3480
3371
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3481
3372
|
localVarRequestOptions.headers = __spreadValues(__spreadValues(__spreadValues({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -3494,15 +3385,13 @@ var HelmRegistriesApiFp = function(configuration) {
|
|
|
3494
3385
|
*
|
|
3495
3386
|
* @param {string | null} [repoName]
|
|
3496
3387
|
* @param {string | null} [kindId]
|
|
3497
|
-
* @param {number | null} [page]
|
|
3498
|
-
* @param {number | null} [perPage]
|
|
3499
3388
|
* @param {*} [options] Override http request option.
|
|
3500
3389
|
* @throws {RequiredError}
|
|
3501
3390
|
*/
|
|
3502
|
-
allHelmRegistries(repoName, kindId,
|
|
3391
|
+
allHelmRegistries(repoName, kindId, options) {
|
|
3503
3392
|
return __async(this, null, function* () {
|
|
3504
3393
|
var _a2, _b, _c;
|
|
3505
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.allHelmRegistries(repoName, kindId,
|
|
3394
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.allHelmRegistries(repoName, kindId, options);
|
|
3506
3395
|
const localVarOperationServerIndex = (_a2 = configuration == null ? void 0 : configuration.serverIndex) != null ? _a2 : 0;
|
|
3507
3396
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap["HelmRegistriesApi.allHelmRegistries"]) == null ? void 0 : _b[localVarOperationServerIndex]) == null ? void 0 : _c.url;
|
|
3508
3397
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, import_axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -3551,7 +3440,7 @@ var HelmRegistriesApiFactory = function(configuration, basePath, axios) {
|
|
|
3551
3440
|
* @throws {RequiredError}
|
|
3552
3441
|
*/
|
|
3553
3442
|
allHelmRegistries(requestParameters = {}, options) {
|
|
3554
|
-
return localVarFp.allHelmRegistries(requestParameters.repoName, requestParameters.kindId,
|
|
3443
|
+
return localVarFp.allHelmRegistries(requestParameters.repoName, requestParameters.kindId, options).then((request) => request(axios, basePath));
|
|
3555
3444
|
},
|
|
3556
3445
|
/**
|
|
3557
3446
|
*
|
|
@@ -3579,17 +3468,15 @@ var HelmRegistriesApi = class extends BaseAPI {
|
|
|
3579
3468
|
* @param {HelmRegistriesApiAllHelmRegistriesRequest} requestParameters Request parameters.
|
|
3580
3469
|
* @param {*} [options] Override http request option.
|
|
3581
3470
|
* @throws {RequiredError}
|
|
3582
|
-
* @memberof HelmRegistriesApi
|
|
3583
3471
|
*/
|
|
3584
3472
|
allHelmRegistries(requestParameters = {}, options) {
|
|
3585
|
-
return HelmRegistriesApiFp(this.configuration).allHelmRegistries(requestParameters.repoName, requestParameters.kindId,
|
|
3473
|
+
return HelmRegistriesApiFp(this.configuration).allHelmRegistries(requestParameters.repoName, requestParameters.kindId, options).then((request) => request(this.axios, this.basePath));
|
|
3586
3474
|
}
|
|
3587
3475
|
/**
|
|
3588
3476
|
*
|
|
3589
3477
|
* @param {HelmRegistriesApiGetHelmRegistryRequest} requestParameters Request parameters.
|
|
3590
3478
|
* @param {*} [options] Override http request option.
|
|
3591
3479
|
* @throws {RequiredError}
|
|
3592
|
-
* @memberof HelmRegistriesApi
|
|
3593
3480
|
*/
|
|
3594
3481
|
getHelmRegistry(requestParameters, options) {
|
|
3595
3482
|
return HelmRegistriesApiFp(this.configuration).getHelmRegistry(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3599,7 +3486,6 @@ var HelmRegistriesApi = class extends BaseAPI {
|
|
|
3599
3486
|
* @param {HelmRegistriesApiUpdateHelmRegistryRequest} requestParameters Request parameters.
|
|
3600
3487
|
* @param {*} [options] Override http request option.
|
|
3601
3488
|
* @throws {RequiredError}
|
|
3602
|
-
* @memberof HelmRegistriesApi
|
|
3603
3489
|
*/
|
|
3604
3490
|
updateHelmRegistry(requestParameters, options) {
|
|
3605
3491
|
return HelmRegistriesApiFp(this.configuration).updateHelmRegistry(requestParameters.id, requestParameters.updateHelmRegistry, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3610,12 +3496,10 @@ var HelmTagFormatsApiAxiosParamCreator = function(configuration) {
|
|
|
3610
3496
|
/**
|
|
3611
3497
|
*
|
|
3612
3498
|
* @param {string | null} [pattern]
|
|
3613
|
-
* @param {number | null} [page]
|
|
3614
|
-
* @param {number | null} [perPage]
|
|
3615
3499
|
* @param {*} [options] Override http request option.
|
|
3616
3500
|
* @throws {RequiredError}
|
|
3617
3501
|
*/
|
|
3618
|
-
allHelmTagFormats: (_0, _1
|
|
3502
|
+
allHelmTagFormats: (_0, ..._1) => __async(null, [_0, ..._1], function* (pattern, options = {}) {
|
|
3619
3503
|
const localVarPath = `/api/v2/helm-tag-formats`;
|
|
3620
3504
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3621
3505
|
let baseOptions;
|
|
@@ -3630,12 +3514,7 @@ var HelmTagFormatsApiAxiosParamCreator = function(configuration) {
|
|
|
3630
3514
|
if (pattern !== void 0) {
|
|
3631
3515
|
localVarQueryParameter["pattern"] = pattern;
|
|
3632
3516
|
}
|
|
3633
|
-
|
|
3634
|
-
localVarQueryParameter["page"] = page;
|
|
3635
|
-
}
|
|
3636
|
-
if (perPage !== void 0) {
|
|
3637
|
-
localVarQueryParameter["per_page"] = perPage;
|
|
3638
|
-
}
|
|
3517
|
+
localVarHeaderParameter["Accept"] = "application/json";
|
|
3639
3518
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3640
3519
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3641
3520
|
localVarRequestOptions.headers = __spreadValues(__spreadValues(__spreadValues({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -3650,7 +3529,7 @@ var HelmTagFormatsApiAxiosParamCreator = function(configuration) {
|
|
|
3650
3529
|
* @param {*} [options] Override http request option.
|
|
3651
3530
|
* @throws {RequiredError}
|
|
3652
3531
|
*/
|
|
3653
|
-
createHelmTagFormat: (_0, ..._1) => __async(
|
|
3532
|
+
createHelmTagFormat: (_0, ..._1) => __async(null, [_0, ..._1], function* (newHelmTagFormat, options = {}) {
|
|
3654
3533
|
assertParamExists("createHelmTagFormat", "newHelmTagFormat", newHelmTagFormat);
|
|
3655
3534
|
const localVarPath = `/api/v2/helm-tag-formats`;
|
|
3656
3535
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -3664,6 +3543,7 @@ var HelmTagFormatsApiAxiosParamCreator = function(configuration) {
|
|
|
3664
3543
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3665
3544
|
yield setApiKeyToObject(localVarHeaderParameter, "x-platz-token", configuration);
|
|
3666
3545
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
3546
|
+
localVarHeaderParameter["Accept"] = "application/json";
|
|
3667
3547
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3668
3548
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3669
3549
|
localVarRequestOptions.headers = __spreadValues(__spreadValues(__spreadValues({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -3679,9 +3559,9 @@ var HelmTagFormatsApiAxiosParamCreator = function(configuration) {
|
|
|
3679
3559
|
* @param {*} [options] Override http request option.
|
|
3680
3560
|
* @throws {RequiredError}
|
|
3681
3561
|
*/
|
|
3682
|
-
deleteHelmTagFormat: (_0, ..._1) => __async(
|
|
3562
|
+
deleteHelmTagFormat: (_0, ..._1) => __async(null, [_0, ..._1], function* (id, options = {}) {
|
|
3683
3563
|
assertParamExists("deleteHelmTagFormat", "id", id);
|
|
3684
|
-
const localVarPath = `/api/v2/helm-tag-formats/{id}`.replace(
|
|
3564
|
+
const localVarPath = `/api/v2/helm-tag-formats/{id}`.replace("{id}", encodeURIComponent(String(id)));
|
|
3685
3565
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3686
3566
|
let baseOptions;
|
|
3687
3567
|
if (configuration) {
|
|
@@ -3706,9 +3586,9 @@ var HelmTagFormatsApiAxiosParamCreator = function(configuration) {
|
|
|
3706
3586
|
* @param {*} [options] Override http request option.
|
|
3707
3587
|
* @throws {RequiredError}
|
|
3708
3588
|
*/
|
|
3709
|
-
getHelmTagFormat: (_0, ..._1) => __async(
|
|
3589
|
+
getHelmTagFormat: (_0, ..._1) => __async(null, [_0, ..._1], function* (id, options = {}) {
|
|
3710
3590
|
assertParamExists("getHelmTagFormat", "id", id);
|
|
3711
|
-
const localVarPath = `/api/v2/helm-tag-formats/{id}`.replace(
|
|
3591
|
+
const localVarPath = `/api/v2/helm-tag-formats/{id}`.replace("{id}", encodeURIComponent(String(id)));
|
|
3712
3592
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3713
3593
|
let baseOptions;
|
|
3714
3594
|
if (configuration) {
|
|
@@ -3719,6 +3599,7 @@ var HelmTagFormatsApiAxiosParamCreator = function(configuration) {
|
|
|
3719
3599
|
const localVarQueryParameter = {};
|
|
3720
3600
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3721
3601
|
yield setApiKeyToObject(localVarHeaderParameter, "x-platz-token", configuration);
|
|
3602
|
+
localVarHeaderParameter["Accept"] = "application/json";
|
|
3722
3603
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3723
3604
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3724
3605
|
localVarRequestOptions.headers = __spreadValues(__spreadValues(__spreadValues({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -3735,15 +3616,13 @@ var HelmTagFormatsApiFp = function(configuration) {
|
|
|
3735
3616
|
/**
|
|
3736
3617
|
*
|
|
3737
3618
|
* @param {string | null} [pattern]
|
|
3738
|
-
* @param {number | null} [page]
|
|
3739
|
-
* @param {number | null} [perPage]
|
|
3740
3619
|
* @param {*} [options] Override http request option.
|
|
3741
3620
|
* @throws {RequiredError}
|
|
3742
3621
|
*/
|
|
3743
|
-
allHelmTagFormats(pattern,
|
|
3622
|
+
allHelmTagFormats(pattern, options) {
|
|
3744
3623
|
return __async(this, null, function* () {
|
|
3745
3624
|
var _a2, _b, _c;
|
|
3746
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.allHelmTagFormats(pattern,
|
|
3625
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.allHelmTagFormats(pattern, options);
|
|
3747
3626
|
const localVarOperationServerIndex = (_a2 = configuration == null ? void 0 : configuration.serverIndex) != null ? _a2 : 0;
|
|
3748
3627
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap["HelmTagFormatsApi.allHelmTagFormats"]) == null ? void 0 : _b[localVarOperationServerIndex]) == null ? void 0 : _c.url;
|
|
3749
3628
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, import_axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -3806,7 +3685,7 @@ var HelmTagFormatsApiFactory = function(configuration, basePath, axios) {
|
|
|
3806
3685
|
* @throws {RequiredError}
|
|
3807
3686
|
*/
|
|
3808
3687
|
allHelmTagFormats(requestParameters = {}, options) {
|
|
3809
|
-
return localVarFp.allHelmTagFormats(requestParameters.pattern,
|
|
3688
|
+
return localVarFp.allHelmTagFormats(requestParameters.pattern, options).then((request) => request(axios, basePath));
|
|
3810
3689
|
},
|
|
3811
3690
|
/**
|
|
3812
3691
|
*
|
|
@@ -3843,17 +3722,15 @@ var HelmTagFormatsApi = class extends BaseAPI {
|
|
|
3843
3722
|
* @param {HelmTagFormatsApiAllHelmTagFormatsRequest} requestParameters Request parameters.
|
|
3844
3723
|
* @param {*} [options] Override http request option.
|
|
3845
3724
|
* @throws {RequiredError}
|
|
3846
|
-
* @memberof HelmTagFormatsApi
|
|
3847
3725
|
*/
|
|
3848
3726
|
allHelmTagFormats(requestParameters = {}, options) {
|
|
3849
|
-
return HelmTagFormatsApiFp(this.configuration).allHelmTagFormats(requestParameters.pattern,
|
|
3727
|
+
return HelmTagFormatsApiFp(this.configuration).allHelmTagFormats(requestParameters.pattern, options).then((request) => request(this.axios, this.basePath));
|
|
3850
3728
|
}
|
|
3851
3729
|
/**
|
|
3852
3730
|
*
|
|
3853
3731
|
* @param {HelmTagFormatsApiCreateHelmTagFormatRequest} requestParameters Request parameters.
|
|
3854
3732
|
* @param {*} [options] Override http request option.
|
|
3855
3733
|
* @throws {RequiredError}
|
|
3856
|
-
* @memberof HelmTagFormatsApi
|
|
3857
3734
|
*/
|
|
3858
3735
|
createHelmTagFormat(requestParameters, options) {
|
|
3859
3736
|
return HelmTagFormatsApiFp(this.configuration).createHelmTagFormat(requestParameters.newHelmTagFormat, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3863,7 +3740,6 @@ var HelmTagFormatsApi = class extends BaseAPI {
|
|
|
3863
3740
|
* @param {HelmTagFormatsApiDeleteHelmTagFormatRequest} requestParameters Request parameters.
|
|
3864
3741
|
* @param {*} [options] Override http request option.
|
|
3865
3742
|
* @throws {RequiredError}
|
|
3866
|
-
* @memberof HelmTagFormatsApi
|
|
3867
3743
|
*/
|
|
3868
3744
|
deleteHelmTagFormat(requestParameters, options) {
|
|
3869
3745
|
return HelmTagFormatsApiFp(this.configuration).deleteHelmTagFormat(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3873,7 +3749,6 @@ var HelmTagFormatsApi = class extends BaseAPI {
|
|
|
3873
3749
|
* @param {HelmTagFormatsApiGetHelmTagFormatRequest} requestParameters Request parameters.
|
|
3874
3750
|
* @param {*} [options] Override http request option.
|
|
3875
3751
|
* @throws {RequiredError}
|
|
3876
|
-
* @memberof HelmTagFormatsApi
|
|
3877
3752
|
*/
|
|
3878
3753
|
getHelmTagFormat(requestParameters, options) {
|
|
3879
3754
|
return HelmTagFormatsApiFp(this.configuration).getHelmTagFormat(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3885,12 +3760,10 @@ var KubernetesClustersApiAxiosParamCreator = function(configuration) {
|
|
|
3885
3760
|
*
|
|
3886
3761
|
* @param {string | null} [envId]
|
|
3887
3762
|
* @param {string | null} [name]
|
|
3888
|
-
* @param {number | null} [page]
|
|
3889
|
-
* @param {number | null} [perPage]
|
|
3890
3763
|
* @param {*} [options] Override http request option.
|
|
3891
3764
|
* @throws {RequiredError}
|
|
3892
3765
|
*/
|
|
3893
|
-
allK8sClusters: (_0, _1, _2
|
|
3766
|
+
allK8sClusters: (_0, _1, ..._2) => __async(null, [_0, _1, ..._2], function* (envId, name, options = {}) {
|
|
3894
3767
|
const localVarPath = `/api/v2/k8s-clusters`;
|
|
3895
3768
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3896
3769
|
let baseOptions;
|
|
@@ -3908,12 +3781,7 @@ var KubernetesClustersApiAxiosParamCreator = function(configuration) {
|
|
|
3908
3781
|
if (name !== void 0) {
|
|
3909
3782
|
localVarQueryParameter["name"] = name;
|
|
3910
3783
|
}
|
|
3911
|
-
|
|
3912
|
-
localVarQueryParameter["page"] = page;
|
|
3913
|
-
}
|
|
3914
|
-
if (perPage !== void 0) {
|
|
3915
|
-
localVarQueryParameter["per_page"] = perPage;
|
|
3916
|
-
}
|
|
3784
|
+
localVarHeaderParameter["Accept"] = "application/json";
|
|
3917
3785
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3918
3786
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3919
3787
|
localVarRequestOptions.headers = __spreadValues(__spreadValues(__spreadValues({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -3928,9 +3796,9 @@ var KubernetesClustersApiAxiosParamCreator = function(configuration) {
|
|
|
3928
3796
|
* @param {*} [options] Override http request option.
|
|
3929
3797
|
* @throws {RequiredError}
|
|
3930
3798
|
*/
|
|
3931
|
-
deleteK8sCluster: (_0, ..._1) => __async(
|
|
3799
|
+
deleteK8sCluster: (_0, ..._1) => __async(null, [_0, ..._1], function* (id, options = {}) {
|
|
3932
3800
|
assertParamExists("deleteK8sCluster", "id", id);
|
|
3933
|
-
const localVarPath = `/api/v2/k8s-clusters/{id}`.replace(
|
|
3801
|
+
const localVarPath = `/api/v2/k8s-clusters/{id}`.replace("{id}", encodeURIComponent(String(id)));
|
|
3934
3802
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3935
3803
|
let baseOptions;
|
|
3936
3804
|
if (configuration) {
|
|
@@ -3955,9 +3823,9 @@ var KubernetesClustersApiAxiosParamCreator = function(configuration) {
|
|
|
3955
3823
|
* @param {*} [options] Override http request option.
|
|
3956
3824
|
* @throws {RequiredError}
|
|
3957
3825
|
*/
|
|
3958
|
-
getK8sCluster: (_0, ..._1) => __async(
|
|
3826
|
+
getK8sCluster: (_0, ..._1) => __async(null, [_0, ..._1], function* (id, options = {}) {
|
|
3959
3827
|
assertParamExists("getK8sCluster", "id", id);
|
|
3960
|
-
const localVarPath = `/api/v2/k8s-clusters/{id}`.replace(
|
|
3828
|
+
const localVarPath = `/api/v2/k8s-clusters/{id}`.replace("{id}", encodeURIComponent(String(id)));
|
|
3961
3829
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3962
3830
|
let baseOptions;
|
|
3963
3831
|
if (configuration) {
|
|
@@ -3968,6 +3836,7 @@ var KubernetesClustersApiAxiosParamCreator = function(configuration) {
|
|
|
3968
3836
|
const localVarQueryParameter = {};
|
|
3969
3837
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3970
3838
|
yield setApiKeyToObject(localVarHeaderParameter, "x-platz-token", configuration);
|
|
3839
|
+
localVarHeaderParameter["Accept"] = "application/json";
|
|
3971
3840
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3972
3841
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3973
3842
|
localVarRequestOptions.headers = __spreadValues(__spreadValues(__spreadValues({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -3983,10 +3852,10 @@ var KubernetesClustersApiAxiosParamCreator = function(configuration) {
|
|
|
3983
3852
|
* @param {*} [options] Override http request option.
|
|
3984
3853
|
* @throws {RequiredError}
|
|
3985
3854
|
*/
|
|
3986
|
-
updateK8sCluster: (_0, _1, ..._2) => __async(
|
|
3855
|
+
updateK8sCluster: (_0, _1, ..._2) => __async(null, [_0, _1, ..._2], function* (id, updateK8sCluster, options = {}) {
|
|
3987
3856
|
assertParamExists("updateK8sCluster", "id", id);
|
|
3988
3857
|
assertParamExists("updateK8sCluster", "updateK8sCluster", updateK8sCluster);
|
|
3989
|
-
const localVarPath = `/api/v2/k8s-clusters/{id}`.replace(
|
|
3858
|
+
const localVarPath = `/api/v2/k8s-clusters/{id}`.replace("{id}", encodeURIComponent(String(id)));
|
|
3990
3859
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3991
3860
|
let baseOptions;
|
|
3992
3861
|
if (configuration) {
|
|
@@ -3998,6 +3867,7 @@ var KubernetesClustersApiAxiosParamCreator = function(configuration) {
|
|
|
3998
3867
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3999
3868
|
yield setApiKeyToObject(localVarHeaderParameter, "x-platz-token", configuration);
|
|
4000
3869
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
3870
|
+
localVarHeaderParameter["Accept"] = "application/json";
|
|
4001
3871
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4002
3872
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4003
3873
|
localVarRequestOptions.headers = __spreadValues(__spreadValues(__spreadValues({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -4016,15 +3886,13 @@ var KubernetesClustersApiFp = function(configuration) {
|
|
|
4016
3886
|
*
|
|
4017
3887
|
* @param {string | null} [envId]
|
|
4018
3888
|
* @param {string | null} [name]
|
|
4019
|
-
* @param {number | null} [page]
|
|
4020
|
-
* @param {number | null} [perPage]
|
|
4021
3889
|
* @param {*} [options] Override http request option.
|
|
4022
3890
|
* @throws {RequiredError}
|
|
4023
3891
|
*/
|
|
4024
|
-
allK8sClusters(envId, name,
|
|
3892
|
+
allK8sClusters(envId, name, options) {
|
|
4025
3893
|
return __async(this, null, function* () {
|
|
4026
3894
|
var _a2, _b, _c;
|
|
4027
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.allK8sClusters(envId, name,
|
|
3895
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.allK8sClusters(envId, name, options);
|
|
4028
3896
|
const localVarOperationServerIndex = (_a2 = configuration == null ? void 0 : configuration.serverIndex) != null ? _a2 : 0;
|
|
4029
3897
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap["KubernetesClustersApi.allK8sClusters"]) == null ? void 0 : _b[localVarOperationServerIndex]) == null ? void 0 : _c.url;
|
|
4030
3898
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, import_axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -4088,7 +3956,7 @@ var KubernetesClustersApiFactory = function(configuration, basePath, axios) {
|
|
|
4088
3956
|
* @throws {RequiredError}
|
|
4089
3957
|
*/
|
|
4090
3958
|
allK8sClusters(requestParameters = {}, options) {
|
|
4091
|
-
return localVarFp.allK8sClusters(requestParameters.envId, requestParameters.name,
|
|
3959
|
+
return localVarFp.allK8sClusters(requestParameters.envId, requestParameters.name, options).then((request) => request(axios, basePath));
|
|
4092
3960
|
},
|
|
4093
3961
|
/**
|
|
4094
3962
|
*
|
|
@@ -4125,17 +3993,15 @@ var KubernetesClustersApi = class extends BaseAPI {
|
|
|
4125
3993
|
* @param {KubernetesClustersApiAllK8sClustersRequest} requestParameters Request parameters.
|
|
4126
3994
|
* @param {*} [options] Override http request option.
|
|
4127
3995
|
* @throws {RequiredError}
|
|
4128
|
-
* @memberof KubernetesClustersApi
|
|
4129
3996
|
*/
|
|
4130
3997
|
allK8sClusters(requestParameters = {}, options) {
|
|
4131
|
-
return KubernetesClustersApiFp(this.configuration).allK8sClusters(requestParameters.envId, requestParameters.name,
|
|
3998
|
+
return KubernetesClustersApiFp(this.configuration).allK8sClusters(requestParameters.envId, requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
4132
3999
|
}
|
|
4133
4000
|
/**
|
|
4134
4001
|
*
|
|
4135
4002
|
* @param {KubernetesClustersApiDeleteK8sClusterRequest} requestParameters Request parameters.
|
|
4136
4003
|
* @param {*} [options] Override http request option.
|
|
4137
4004
|
* @throws {RequiredError}
|
|
4138
|
-
* @memberof KubernetesClustersApi
|
|
4139
4005
|
*/
|
|
4140
4006
|
deleteK8sCluster(requestParameters, options) {
|
|
4141
4007
|
return KubernetesClustersApiFp(this.configuration).deleteK8sCluster(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -4145,7 +4011,6 @@ var KubernetesClustersApi = class extends BaseAPI {
|
|
|
4145
4011
|
* @param {KubernetesClustersApiGetK8sClusterRequest} requestParameters Request parameters.
|
|
4146
4012
|
* @param {*} [options] Override http request option.
|
|
4147
4013
|
* @throws {RequiredError}
|
|
4148
|
-
* @memberof KubernetesClustersApi
|
|
4149
4014
|
*/
|
|
4150
4015
|
getK8sCluster(requestParameters, options) {
|
|
4151
4016
|
return KubernetesClustersApiFp(this.configuration).getK8sCluster(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -4155,7 +4020,6 @@ var KubernetesClustersApi = class extends BaseAPI {
|
|
|
4155
4020
|
* @param {KubernetesClustersApiUpdateK8sClusterRequest} requestParameters Request parameters.
|
|
4156
4021
|
* @param {*} [options] Override http request option.
|
|
4157
4022
|
* @throws {RequiredError}
|
|
4158
|
-
* @memberof KubernetesClustersApi
|
|
4159
4023
|
*/
|
|
4160
4024
|
updateK8sCluster(requestParameters, options) {
|
|
4161
4025
|
return KubernetesClustersApiFp(this.configuration).updateK8sCluster(requestParameters.id, requestParameters.updateK8sCluster, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -4169,12 +4033,10 @@ var KubernetesResourcesApiAxiosParamCreator = function(configuration) {
|
|
|
4169
4033
|
* @param {string | null} [deploymentId]
|
|
4170
4034
|
* @param {string | null} [kind]
|
|
4171
4035
|
* @param {string | null} [name]
|
|
4172
|
-
* @param {number | null} [page]
|
|
4173
|
-
* @param {number | null} [perPage]
|
|
4174
4036
|
* @param {*} [options] Override http request option.
|
|
4175
4037
|
* @throws {RequiredError}
|
|
4176
4038
|
*/
|
|
4177
|
-
allK8sResources: (_0, _1, _2, _3, _4
|
|
4039
|
+
allK8sResources: (_0, _1, _2, _3, ..._4) => __async(null, [_0, _1, _2, _3, ..._4], function* (clusterId, deploymentId, kind, name, options = {}) {
|
|
4178
4040
|
const localVarPath = `/api/v2/k8s-resources`;
|
|
4179
4041
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4180
4042
|
let baseOptions;
|
|
@@ -4198,12 +4060,7 @@ var KubernetesResourcesApiAxiosParamCreator = function(configuration) {
|
|
|
4198
4060
|
if (name !== void 0) {
|
|
4199
4061
|
localVarQueryParameter["name"] = name;
|
|
4200
4062
|
}
|
|
4201
|
-
|
|
4202
|
-
localVarQueryParameter["page"] = page;
|
|
4203
|
-
}
|
|
4204
|
-
if (perPage !== void 0) {
|
|
4205
|
-
localVarQueryParameter["per_page"] = perPage;
|
|
4206
|
-
}
|
|
4063
|
+
localVarHeaderParameter["Accept"] = "application/json";
|
|
4207
4064
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4208
4065
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4209
4066
|
localVarRequestOptions.headers = __spreadValues(__spreadValues(__spreadValues({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -4218,9 +4075,9 @@ var KubernetesResourcesApiAxiosParamCreator = function(configuration) {
|
|
|
4218
4075
|
* @param {*} [options] Override http request option.
|
|
4219
4076
|
* @throws {RequiredError}
|
|
4220
4077
|
*/
|
|
4221
|
-
getK8sResource: (_0, ..._1) => __async(
|
|
4078
|
+
getK8sResource: (_0, ..._1) => __async(null, [_0, ..._1], function* (id, options = {}) {
|
|
4222
4079
|
assertParamExists("getK8sResource", "id", id);
|
|
4223
|
-
const localVarPath = `/api/v2/k8s-resources/{id}`.replace(
|
|
4080
|
+
const localVarPath = `/api/v2/k8s-resources/{id}`.replace("{id}", encodeURIComponent(String(id)));
|
|
4224
4081
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4225
4082
|
let baseOptions;
|
|
4226
4083
|
if (configuration) {
|
|
@@ -4231,6 +4088,7 @@ var KubernetesResourcesApiAxiosParamCreator = function(configuration) {
|
|
|
4231
4088
|
const localVarQueryParameter = {};
|
|
4232
4089
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
4233
4090
|
yield setApiKeyToObject(localVarHeaderParameter, "x-platz-token", configuration);
|
|
4091
|
+
localVarHeaderParameter["Accept"] = "application/json";
|
|
4234
4092
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4235
4093
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4236
4094
|
localVarRequestOptions.headers = __spreadValues(__spreadValues(__spreadValues({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -4250,15 +4108,13 @@ var KubernetesResourcesApiFp = function(configuration) {
|
|
|
4250
4108
|
* @param {string | null} [deploymentId]
|
|
4251
4109
|
* @param {string | null} [kind]
|
|
4252
4110
|
* @param {string | null} [name]
|
|
4253
|
-
* @param {number | null} [page]
|
|
4254
|
-
* @param {number | null} [perPage]
|
|
4255
4111
|
* @param {*} [options] Override http request option.
|
|
4256
4112
|
* @throws {RequiredError}
|
|
4257
4113
|
*/
|
|
4258
|
-
allK8sResources(clusterId, deploymentId, kind, name,
|
|
4114
|
+
allK8sResources(clusterId, deploymentId, kind, name, options) {
|
|
4259
4115
|
return __async(this, null, function* () {
|
|
4260
4116
|
var _a2, _b, _c;
|
|
4261
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.allK8sResources(clusterId, deploymentId, kind, name,
|
|
4117
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.allK8sResources(clusterId, deploymentId, kind, name, options);
|
|
4262
4118
|
const localVarOperationServerIndex = (_a2 = configuration == null ? void 0 : configuration.serverIndex) != null ? _a2 : 0;
|
|
4263
4119
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap["KubernetesResourcesApi.allK8sResources"]) == null ? void 0 : _b[localVarOperationServerIndex]) == null ? void 0 : _c.url;
|
|
4264
4120
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, import_axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -4291,7 +4147,7 @@ var KubernetesResourcesApiFactory = function(configuration, basePath, axios) {
|
|
|
4291
4147
|
* @throws {RequiredError}
|
|
4292
4148
|
*/
|
|
4293
4149
|
allK8sResources(requestParameters = {}, options) {
|
|
4294
|
-
return localVarFp.allK8sResources(requestParameters.clusterId, requestParameters.deploymentId, requestParameters.kind, requestParameters.name,
|
|
4150
|
+
return localVarFp.allK8sResources(requestParameters.clusterId, requestParameters.deploymentId, requestParameters.kind, requestParameters.name, options).then((request) => request(axios, basePath));
|
|
4295
4151
|
},
|
|
4296
4152
|
/**
|
|
4297
4153
|
*
|
|
@@ -4310,17 +4166,15 @@ var KubernetesResourcesApi = class extends BaseAPI {
|
|
|
4310
4166
|
* @param {KubernetesResourcesApiAllK8sResourcesRequest} requestParameters Request parameters.
|
|
4311
4167
|
* @param {*} [options] Override http request option.
|
|
4312
4168
|
* @throws {RequiredError}
|
|
4313
|
-
* @memberof KubernetesResourcesApi
|
|
4314
4169
|
*/
|
|
4315
4170
|
allK8sResources(requestParameters = {}, options) {
|
|
4316
|
-
return KubernetesResourcesApiFp(this.configuration).allK8sResources(requestParameters.clusterId, requestParameters.deploymentId, requestParameters.kind, requestParameters.name,
|
|
4171
|
+
return KubernetesResourcesApiFp(this.configuration).allK8sResources(requestParameters.clusterId, requestParameters.deploymentId, requestParameters.kind, requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
4317
4172
|
}
|
|
4318
4173
|
/**
|
|
4319
4174
|
*
|
|
4320
4175
|
* @param {KubernetesResourcesApiGetK8sResourceRequest} requestParameters Request parameters.
|
|
4321
4176
|
* @param {*} [options] Override http request option.
|
|
4322
4177
|
* @throws {RequiredError}
|
|
4323
|
-
* @memberof KubernetesResourcesApi
|
|
4324
4178
|
*/
|
|
4325
4179
|
getK8sResource(requestParameters, options) {
|
|
4326
4180
|
return KubernetesResourcesApiFp(this.configuration).getK8sResource(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -4333,12 +4187,10 @@ var SecretsApiAxiosParamCreator = function(configuration) {
|
|
|
4333
4187
|
* @param {string | null} [envId]
|
|
4334
4188
|
* @param {string | null} [collection]
|
|
4335
4189
|
* @param {string | null} [name]
|
|
4336
|
-
* @param {number | null} [page]
|
|
4337
|
-
* @param {number | null} [perPage]
|
|
4338
4190
|
* @param {*} [options] Override http request option.
|
|
4339
4191
|
* @throws {RequiredError}
|
|
4340
4192
|
*/
|
|
4341
|
-
allSecrets: (_0, _1, _2, _3
|
|
4193
|
+
allSecrets: (_0, _1, _2, ..._3) => __async(null, [_0, _1, _2, ..._3], function* (envId, collection, name, options = {}) {
|
|
4342
4194
|
const localVarPath = `/api/v2/secrets`;
|
|
4343
4195
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4344
4196
|
let baseOptions;
|
|
@@ -4359,12 +4211,7 @@ var SecretsApiAxiosParamCreator = function(configuration) {
|
|
|
4359
4211
|
if (name !== void 0) {
|
|
4360
4212
|
localVarQueryParameter["name"] = name;
|
|
4361
4213
|
}
|
|
4362
|
-
|
|
4363
|
-
localVarQueryParameter["page"] = page;
|
|
4364
|
-
}
|
|
4365
|
-
if (perPage !== void 0) {
|
|
4366
|
-
localVarQueryParameter["per_page"] = perPage;
|
|
4367
|
-
}
|
|
4214
|
+
localVarHeaderParameter["Accept"] = "application/json";
|
|
4368
4215
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4369
4216
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4370
4217
|
localVarRequestOptions.headers = __spreadValues(__spreadValues(__spreadValues({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -4379,7 +4226,7 @@ var SecretsApiAxiosParamCreator = function(configuration) {
|
|
|
4379
4226
|
* @param {*} [options] Override http request option.
|
|
4380
4227
|
* @throws {RequiredError}
|
|
4381
4228
|
*/
|
|
4382
|
-
createSecret: (_0, ..._1) => __async(
|
|
4229
|
+
createSecret: (_0, ..._1) => __async(null, [_0, ..._1], function* (newSecret, options = {}) {
|
|
4383
4230
|
assertParamExists("createSecret", "newSecret", newSecret);
|
|
4384
4231
|
const localVarPath = `/api/v2/secrets`;
|
|
4385
4232
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -4393,6 +4240,7 @@ var SecretsApiAxiosParamCreator = function(configuration) {
|
|
|
4393
4240
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
4394
4241
|
yield setApiKeyToObject(localVarHeaderParameter, "x-platz-token", configuration);
|
|
4395
4242
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
4243
|
+
localVarHeaderParameter["Accept"] = "application/json";
|
|
4396
4244
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4397
4245
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4398
4246
|
localVarRequestOptions.headers = __spreadValues(__spreadValues(__spreadValues({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -4408,9 +4256,9 @@ var SecretsApiAxiosParamCreator = function(configuration) {
|
|
|
4408
4256
|
* @param {*} [options] Override http request option.
|
|
4409
4257
|
* @throws {RequiredError}
|
|
4410
4258
|
*/
|
|
4411
|
-
deleteSecret: (_0, ..._1) => __async(
|
|
4259
|
+
deleteSecret: (_0, ..._1) => __async(null, [_0, ..._1], function* (id, options = {}) {
|
|
4412
4260
|
assertParamExists("deleteSecret", "id", id);
|
|
4413
|
-
const localVarPath = `/api/v2/secrets/{id}`.replace(
|
|
4261
|
+
const localVarPath = `/api/v2/secrets/{id}`.replace("{id}", encodeURIComponent(String(id)));
|
|
4414
4262
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4415
4263
|
let baseOptions;
|
|
4416
4264
|
if (configuration) {
|
|
@@ -4435,9 +4283,9 @@ var SecretsApiAxiosParamCreator = function(configuration) {
|
|
|
4435
4283
|
* @param {*} [options] Override http request option.
|
|
4436
4284
|
* @throws {RequiredError}
|
|
4437
4285
|
*/
|
|
4438
|
-
getSecret: (_0, ..._1) => __async(
|
|
4286
|
+
getSecret: (_0, ..._1) => __async(null, [_0, ..._1], function* (id, options = {}) {
|
|
4439
4287
|
assertParamExists("getSecret", "id", id);
|
|
4440
|
-
const localVarPath = `/api/v2/secrets/{id}`.replace(
|
|
4288
|
+
const localVarPath = `/api/v2/secrets/{id}`.replace("{id}", encodeURIComponent(String(id)));
|
|
4441
4289
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4442
4290
|
let baseOptions;
|
|
4443
4291
|
if (configuration) {
|
|
@@ -4448,6 +4296,7 @@ var SecretsApiAxiosParamCreator = function(configuration) {
|
|
|
4448
4296
|
const localVarQueryParameter = {};
|
|
4449
4297
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
4450
4298
|
yield setApiKeyToObject(localVarHeaderParameter, "x-platz-token", configuration);
|
|
4299
|
+
localVarHeaderParameter["Accept"] = "application/json";
|
|
4451
4300
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4452
4301
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4453
4302
|
localVarRequestOptions.headers = __spreadValues(__spreadValues(__spreadValues({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -4463,10 +4312,10 @@ var SecretsApiAxiosParamCreator = function(configuration) {
|
|
|
4463
4312
|
* @param {*} [options] Override http request option.
|
|
4464
4313
|
* @throws {RequiredError}
|
|
4465
4314
|
*/
|
|
4466
|
-
updateSecret: (_0, _1, ..._2) => __async(
|
|
4315
|
+
updateSecret: (_0, _1, ..._2) => __async(null, [_0, _1, ..._2], function* (id, updateSecret, options = {}) {
|
|
4467
4316
|
assertParamExists("updateSecret", "id", id);
|
|
4468
4317
|
assertParamExists("updateSecret", "updateSecret", updateSecret);
|
|
4469
|
-
const localVarPath = `/api/v2/secrets/{id}`.replace(
|
|
4318
|
+
const localVarPath = `/api/v2/secrets/{id}`.replace("{id}", encodeURIComponent(String(id)));
|
|
4470
4319
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4471
4320
|
let baseOptions;
|
|
4472
4321
|
if (configuration) {
|
|
@@ -4478,6 +4327,7 @@ var SecretsApiAxiosParamCreator = function(configuration) {
|
|
|
4478
4327
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
4479
4328
|
yield setApiKeyToObject(localVarHeaderParameter, "x-platz-token", configuration);
|
|
4480
4329
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
4330
|
+
localVarHeaderParameter["Accept"] = "application/json";
|
|
4481
4331
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4482
4332
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4483
4333
|
localVarRequestOptions.headers = __spreadValues(__spreadValues(__spreadValues({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -4497,15 +4347,13 @@ var SecretsApiFp = function(configuration) {
|
|
|
4497
4347
|
* @param {string | null} [envId]
|
|
4498
4348
|
* @param {string | null} [collection]
|
|
4499
4349
|
* @param {string | null} [name]
|
|
4500
|
-
* @param {number | null} [page]
|
|
4501
|
-
* @param {number | null} [perPage]
|
|
4502
4350
|
* @param {*} [options] Override http request option.
|
|
4503
4351
|
* @throws {RequiredError}
|
|
4504
4352
|
*/
|
|
4505
|
-
allSecrets(envId, collection, name,
|
|
4353
|
+
allSecrets(envId, collection, name, options) {
|
|
4506
4354
|
return __async(this, null, function* () {
|
|
4507
4355
|
var _a2, _b, _c;
|
|
4508
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.allSecrets(envId, collection, name,
|
|
4356
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.allSecrets(envId, collection, name, options);
|
|
4509
4357
|
const localVarOperationServerIndex = (_a2 = configuration == null ? void 0 : configuration.serverIndex) != null ? _a2 : 0;
|
|
4510
4358
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap["SecretsApi.allSecrets"]) == null ? void 0 : _b[localVarOperationServerIndex]) == null ? void 0 : _c.url;
|
|
4511
4359
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, import_axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -4584,7 +4432,7 @@ var SecretsApiFactory = function(configuration, basePath, axios) {
|
|
|
4584
4432
|
* @throws {RequiredError}
|
|
4585
4433
|
*/
|
|
4586
4434
|
allSecrets(requestParameters = {}, options) {
|
|
4587
|
-
return localVarFp.allSecrets(requestParameters.envId, requestParameters.collection, requestParameters.name,
|
|
4435
|
+
return localVarFp.allSecrets(requestParameters.envId, requestParameters.collection, requestParameters.name, options).then((request) => request(axios, basePath));
|
|
4588
4436
|
},
|
|
4589
4437
|
/**
|
|
4590
4438
|
*
|
|
@@ -4630,17 +4478,15 @@ var SecretsApi = class extends BaseAPI {
|
|
|
4630
4478
|
* @param {SecretsApiAllSecretsRequest} requestParameters Request parameters.
|
|
4631
4479
|
* @param {*} [options] Override http request option.
|
|
4632
4480
|
* @throws {RequiredError}
|
|
4633
|
-
* @memberof SecretsApi
|
|
4634
4481
|
*/
|
|
4635
4482
|
allSecrets(requestParameters = {}, options) {
|
|
4636
|
-
return SecretsApiFp(this.configuration).allSecrets(requestParameters.envId, requestParameters.collection, requestParameters.name,
|
|
4483
|
+
return SecretsApiFp(this.configuration).allSecrets(requestParameters.envId, requestParameters.collection, requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
4637
4484
|
}
|
|
4638
4485
|
/**
|
|
4639
4486
|
*
|
|
4640
4487
|
* @param {SecretsApiCreateSecretRequest} requestParameters Request parameters.
|
|
4641
4488
|
* @param {*} [options] Override http request option.
|
|
4642
4489
|
* @throws {RequiredError}
|
|
4643
|
-
* @memberof SecretsApi
|
|
4644
4490
|
*/
|
|
4645
4491
|
createSecret(requestParameters, options) {
|
|
4646
4492
|
return SecretsApiFp(this.configuration).createSecret(requestParameters.newSecret, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -4650,7 +4496,6 @@ var SecretsApi = class extends BaseAPI {
|
|
|
4650
4496
|
* @param {SecretsApiDeleteSecretRequest} requestParameters Request parameters.
|
|
4651
4497
|
* @param {*} [options] Override http request option.
|
|
4652
4498
|
* @throws {RequiredError}
|
|
4653
|
-
* @memberof SecretsApi
|
|
4654
4499
|
*/
|
|
4655
4500
|
deleteSecret(requestParameters, options) {
|
|
4656
4501
|
return SecretsApiFp(this.configuration).deleteSecret(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -4660,7 +4505,6 @@ var SecretsApi = class extends BaseAPI {
|
|
|
4660
4505
|
* @param {SecretsApiGetSecretRequest} requestParameters Request parameters.
|
|
4661
4506
|
* @param {*} [options] Override http request option.
|
|
4662
4507
|
* @throws {RequiredError}
|
|
4663
|
-
* @memberof SecretsApi
|
|
4664
4508
|
*/
|
|
4665
4509
|
getSecret(requestParameters, options) {
|
|
4666
4510
|
return SecretsApiFp(this.configuration).getSecret(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -4670,7 +4514,6 @@ var SecretsApi = class extends BaseAPI {
|
|
|
4670
4514
|
* @param {SecretsApiUpdateSecretRequest} requestParameters Request parameters.
|
|
4671
4515
|
* @param {*} [options] Override http request option.
|
|
4672
4516
|
* @throws {RequiredError}
|
|
4673
|
-
* @memberof SecretsApi
|
|
4674
4517
|
*/
|
|
4675
4518
|
updateSecret(requestParameters, options) {
|
|
4676
4519
|
return SecretsApiFp(this.configuration).updateSecret(requestParameters.id, requestParameters.updateSecret, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -4683,7 +4526,7 @@ var ServerApiAxiosParamCreator = function(configuration) {
|
|
|
4683
4526
|
* @param {*} [options] Override http request option.
|
|
4684
4527
|
* @throws {RequiredError}
|
|
4685
4528
|
*/
|
|
4686
|
-
getServerInfo: (..._0) => __async(
|
|
4529
|
+
getServerInfo: (..._0) => __async(null, [..._0], function* (options = {}) {
|
|
4687
4530
|
const localVarPath = `/api/v2/server`;
|
|
4688
4531
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4689
4532
|
let baseOptions;
|
|
@@ -4695,6 +4538,7 @@ var ServerApiAxiosParamCreator = function(configuration) {
|
|
|
4695
4538
|
const localVarQueryParameter = {};
|
|
4696
4539
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
4697
4540
|
yield setApiKeyToObject(localVarHeaderParameter, "x-platz-token", configuration);
|
|
4541
|
+
localVarHeaderParameter["Accept"] = "application/json";
|
|
4698
4542
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4699
4543
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4700
4544
|
localVarRequestOptions.headers = __spreadValues(__spreadValues(__spreadValues({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -4742,7 +4586,6 @@ var ServerApi = class extends BaseAPI {
|
|
|
4742
4586
|
*
|
|
4743
4587
|
* @param {*} [options] Override http request option.
|
|
4744
4588
|
* @throws {RequiredError}
|
|
4745
|
-
* @memberof ServerApi
|
|
4746
4589
|
*/
|
|
4747
4590
|
getServerInfo(options) {
|
|
4748
4591
|
return ServerApiFp(this.configuration).getServerInfo(options).then((request) => request(this.axios, this.basePath));
|
|
@@ -4753,12 +4596,10 @@ var UserTokensApiAxiosParamCreator = function(configuration) {
|
|
|
4753
4596
|
/**
|
|
4754
4597
|
*
|
|
4755
4598
|
* @param {string | null} [userId]
|
|
4756
|
-
* @param {number | null} [page]
|
|
4757
|
-
* @param {number | null} [perPage]
|
|
4758
4599
|
* @param {*} [options] Override http request option.
|
|
4759
4600
|
* @throws {RequiredError}
|
|
4760
4601
|
*/
|
|
4761
|
-
allUserTokens: (_0, _1
|
|
4602
|
+
allUserTokens: (_0, ..._1) => __async(null, [_0, ..._1], function* (userId, options = {}) {
|
|
4762
4603
|
const localVarPath = `/api/v2/user-tokens`;
|
|
4763
4604
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4764
4605
|
let baseOptions;
|
|
@@ -4773,12 +4614,7 @@ var UserTokensApiAxiosParamCreator = function(configuration) {
|
|
|
4773
4614
|
if (userId !== void 0) {
|
|
4774
4615
|
localVarQueryParameter["user_id"] = userId;
|
|
4775
4616
|
}
|
|
4776
|
-
|
|
4777
|
-
localVarQueryParameter["page"] = page;
|
|
4778
|
-
}
|
|
4779
|
-
if (perPage !== void 0) {
|
|
4780
|
-
localVarQueryParameter["per_page"] = perPage;
|
|
4781
|
-
}
|
|
4617
|
+
localVarHeaderParameter["Accept"] = "application/json";
|
|
4782
4618
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4783
4619
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4784
4620
|
localVarRequestOptions.headers = __spreadValues(__spreadValues(__spreadValues({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -4793,7 +4629,7 @@ var UserTokensApiAxiosParamCreator = function(configuration) {
|
|
|
4793
4629
|
* @param {*} [options] Override http request option.
|
|
4794
4630
|
* @throws {RequiredError}
|
|
4795
4631
|
*/
|
|
4796
|
-
createUserToken: (_0, ..._1) => __async(
|
|
4632
|
+
createUserToken: (_0, ..._1) => __async(null, [_0, ..._1], function* (createUserToken, options = {}) {
|
|
4797
4633
|
assertParamExists("createUserToken", "createUserToken", createUserToken);
|
|
4798
4634
|
const localVarPath = `/api/v2/user-tokens`;
|
|
4799
4635
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -4807,6 +4643,7 @@ var UserTokensApiAxiosParamCreator = function(configuration) {
|
|
|
4807
4643
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
4808
4644
|
yield setApiKeyToObject(localVarHeaderParameter, "x-platz-token", configuration);
|
|
4809
4645
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
4646
|
+
localVarHeaderParameter["Accept"] = "application/json";
|
|
4810
4647
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4811
4648
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4812
4649
|
localVarRequestOptions.headers = __spreadValues(__spreadValues(__spreadValues({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -4822,9 +4659,9 @@ var UserTokensApiAxiosParamCreator = function(configuration) {
|
|
|
4822
4659
|
* @param {*} [options] Override http request option.
|
|
4823
4660
|
* @throws {RequiredError}
|
|
4824
4661
|
*/
|
|
4825
|
-
deleteUserToken: (_0, ..._1) => __async(
|
|
4662
|
+
deleteUserToken: (_0, ..._1) => __async(null, [_0, ..._1], function* (id, options = {}) {
|
|
4826
4663
|
assertParamExists("deleteUserToken", "id", id);
|
|
4827
|
-
const localVarPath = `/api/v2/user-tokens/{id}`.replace(
|
|
4664
|
+
const localVarPath = `/api/v2/user-tokens/{id}`.replace("{id}", encodeURIComponent(String(id)));
|
|
4828
4665
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4829
4666
|
let baseOptions;
|
|
4830
4667
|
if (configuration) {
|
|
@@ -4849,9 +4686,9 @@ var UserTokensApiAxiosParamCreator = function(configuration) {
|
|
|
4849
4686
|
* @param {*} [options] Override http request option.
|
|
4850
4687
|
* @throws {RequiredError}
|
|
4851
4688
|
*/
|
|
4852
|
-
getUserToken: (_0, ..._1) => __async(
|
|
4689
|
+
getUserToken: (_0, ..._1) => __async(null, [_0, ..._1], function* (id, options = {}) {
|
|
4853
4690
|
assertParamExists("getUserToken", "id", id);
|
|
4854
|
-
const localVarPath = `/api/v2/user-tokens/{id}`.replace(
|
|
4691
|
+
const localVarPath = `/api/v2/user-tokens/{id}`.replace("{id}", encodeURIComponent(String(id)));
|
|
4855
4692
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4856
4693
|
let baseOptions;
|
|
4857
4694
|
if (configuration) {
|
|
@@ -4862,6 +4699,7 @@ var UserTokensApiAxiosParamCreator = function(configuration) {
|
|
|
4862
4699
|
const localVarQueryParameter = {};
|
|
4863
4700
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
4864
4701
|
yield setApiKeyToObject(localVarHeaderParameter, "x-platz-token", configuration);
|
|
4702
|
+
localVarHeaderParameter["Accept"] = "application/json";
|
|
4865
4703
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4866
4704
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4867
4705
|
localVarRequestOptions.headers = __spreadValues(__spreadValues(__spreadValues({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -4878,15 +4716,13 @@ var UserTokensApiFp = function(configuration) {
|
|
|
4878
4716
|
/**
|
|
4879
4717
|
*
|
|
4880
4718
|
* @param {string | null} [userId]
|
|
4881
|
-
* @param {number | null} [page]
|
|
4882
|
-
* @param {number | null} [perPage]
|
|
4883
4719
|
* @param {*} [options] Override http request option.
|
|
4884
4720
|
* @throws {RequiredError}
|
|
4885
4721
|
*/
|
|
4886
|
-
allUserTokens(userId,
|
|
4722
|
+
allUserTokens(userId, options) {
|
|
4887
4723
|
return __async(this, null, function* () {
|
|
4888
4724
|
var _a2, _b, _c;
|
|
4889
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.allUserTokens(userId,
|
|
4725
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.allUserTokens(userId, options);
|
|
4890
4726
|
const localVarOperationServerIndex = (_a2 = configuration == null ? void 0 : configuration.serverIndex) != null ? _a2 : 0;
|
|
4891
4727
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap["UserTokensApi.allUserTokens"]) == null ? void 0 : _b[localVarOperationServerIndex]) == null ? void 0 : _c.url;
|
|
4892
4728
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, import_axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -4949,7 +4785,7 @@ var UserTokensApiFactory = function(configuration, basePath, axios) {
|
|
|
4949
4785
|
* @throws {RequiredError}
|
|
4950
4786
|
*/
|
|
4951
4787
|
allUserTokens(requestParameters = {}, options) {
|
|
4952
|
-
return localVarFp.allUserTokens(requestParameters.userId,
|
|
4788
|
+
return localVarFp.allUserTokens(requestParameters.userId, options).then((request) => request(axios, basePath));
|
|
4953
4789
|
},
|
|
4954
4790
|
/**
|
|
4955
4791
|
*
|
|
@@ -4986,17 +4822,15 @@ var UserTokensApi = class extends BaseAPI {
|
|
|
4986
4822
|
* @param {UserTokensApiAllUserTokensRequest} requestParameters Request parameters.
|
|
4987
4823
|
* @param {*} [options] Override http request option.
|
|
4988
4824
|
* @throws {RequiredError}
|
|
4989
|
-
* @memberof UserTokensApi
|
|
4990
4825
|
*/
|
|
4991
4826
|
allUserTokens(requestParameters = {}, options) {
|
|
4992
|
-
return UserTokensApiFp(this.configuration).allUserTokens(requestParameters.userId,
|
|
4827
|
+
return UserTokensApiFp(this.configuration).allUserTokens(requestParameters.userId, options).then((request) => request(this.axios, this.basePath));
|
|
4993
4828
|
}
|
|
4994
4829
|
/**
|
|
4995
4830
|
*
|
|
4996
4831
|
* @param {UserTokensApiCreateUserTokenRequest} requestParameters Request parameters.
|
|
4997
4832
|
* @param {*} [options] Override http request option.
|
|
4998
4833
|
* @throws {RequiredError}
|
|
4999
|
-
* @memberof UserTokensApi
|
|
5000
4834
|
*/
|
|
5001
4835
|
createUserToken(requestParameters, options) {
|
|
5002
4836
|
return UserTokensApiFp(this.configuration).createUserToken(requestParameters.createUserToken, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -5006,7 +4840,6 @@ var UserTokensApi = class extends BaseAPI {
|
|
|
5006
4840
|
* @param {UserTokensApiDeleteUserTokenRequest} requestParameters Request parameters.
|
|
5007
4841
|
* @param {*} [options] Override http request option.
|
|
5008
4842
|
* @throws {RequiredError}
|
|
5009
|
-
* @memberof UserTokensApi
|
|
5010
4843
|
*/
|
|
5011
4844
|
deleteUserToken(requestParameters, options) {
|
|
5012
4845
|
return UserTokensApiFp(this.configuration).deleteUserToken(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -5016,7 +4849,6 @@ var UserTokensApi = class extends BaseAPI {
|
|
|
5016
4849
|
* @param {UserTokensApiGetUserTokenRequest} requestParameters Request parameters.
|
|
5017
4850
|
* @param {*} [options] Override http request option.
|
|
5018
4851
|
* @throws {RequiredError}
|
|
5019
|
-
* @memberof UserTokensApi
|
|
5020
4852
|
*/
|
|
5021
4853
|
getUserToken(requestParameters, options) {
|
|
5022
4854
|
return UserTokensApiFp(this.configuration).getUserToken(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -5029,12 +4861,10 @@ var UsersApiAxiosParamCreator = function(configuration) {
|
|
|
5029
4861
|
* @param {string | null} [displayName]
|
|
5030
4862
|
* @param {string | null} [email]
|
|
5031
4863
|
* @param {boolean | null} [isActive]
|
|
5032
|
-
* @param {number | null} [page]
|
|
5033
|
-
* @param {number | null} [perPage]
|
|
5034
4864
|
* @param {*} [options] Override http request option.
|
|
5035
4865
|
* @throws {RequiredError}
|
|
5036
4866
|
*/
|
|
5037
|
-
allUsers: (_0, _1, _2, _3
|
|
4867
|
+
allUsers: (_0, _1, _2, ..._3) => __async(null, [_0, _1, _2, ..._3], function* (displayName, email, isActive, options = {}) {
|
|
5038
4868
|
const localVarPath = `/api/v2/users`;
|
|
5039
4869
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5040
4870
|
let baseOptions;
|
|
@@ -5055,12 +4885,7 @@ var UsersApiAxiosParamCreator = function(configuration) {
|
|
|
5055
4885
|
if (isActive !== void 0) {
|
|
5056
4886
|
localVarQueryParameter["is_active"] = isActive;
|
|
5057
4887
|
}
|
|
5058
|
-
|
|
5059
|
-
localVarQueryParameter["page"] = page;
|
|
5060
|
-
}
|
|
5061
|
-
if (perPage !== void 0) {
|
|
5062
|
-
localVarQueryParameter["per_page"] = perPage;
|
|
5063
|
-
}
|
|
4888
|
+
localVarHeaderParameter["Accept"] = "application/json";
|
|
5064
4889
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5065
4890
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5066
4891
|
localVarRequestOptions.headers = __spreadValues(__spreadValues(__spreadValues({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -5075,9 +4900,9 @@ var UsersApiAxiosParamCreator = function(configuration) {
|
|
|
5075
4900
|
* @param {*} [options] Override http request option.
|
|
5076
4901
|
* @throws {RequiredError}
|
|
5077
4902
|
*/
|
|
5078
|
-
getUser: (_0, ..._1) => __async(
|
|
4903
|
+
getUser: (_0, ..._1) => __async(null, [_0, ..._1], function* (id, options = {}) {
|
|
5079
4904
|
assertParamExists("getUser", "id", id);
|
|
5080
|
-
const localVarPath = `/api/v2/users/{id}`.replace(
|
|
4905
|
+
const localVarPath = `/api/v2/users/{id}`.replace("{id}", encodeURIComponent(String(id)));
|
|
5081
4906
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5082
4907
|
let baseOptions;
|
|
5083
4908
|
if (configuration) {
|
|
@@ -5088,6 +4913,7 @@ var UsersApiAxiosParamCreator = function(configuration) {
|
|
|
5088
4913
|
const localVarQueryParameter = {};
|
|
5089
4914
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
5090
4915
|
yield setApiKeyToObject(localVarHeaderParameter, "x-platz-token", configuration);
|
|
4916
|
+
localVarHeaderParameter["Accept"] = "application/json";
|
|
5091
4917
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5092
4918
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5093
4919
|
localVarRequestOptions.headers = __spreadValues(__spreadValues(__spreadValues({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -5103,10 +4929,10 @@ var UsersApiAxiosParamCreator = function(configuration) {
|
|
|
5103
4929
|
* @param {*} [options] Override http request option.
|
|
5104
4930
|
* @throws {RequiredError}
|
|
5105
4931
|
*/
|
|
5106
|
-
updateUser: (_0, _1, ..._2) => __async(
|
|
4932
|
+
updateUser: (_0, _1, ..._2) => __async(null, [_0, _1, ..._2], function* (id, updateUser, options = {}) {
|
|
5107
4933
|
assertParamExists("updateUser", "id", id);
|
|
5108
4934
|
assertParamExists("updateUser", "updateUser", updateUser);
|
|
5109
|
-
const localVarPath = `/api/v2/users/{id}`.replace(
|
|
4935
|
+
const localVarPath = `/api/v2/users/{id}`.replace("{id}", encodeURIComponent(String(id)));
|
|
5110
4936
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5111
4937
|
let baseOptions;
|
|
5112
4938
|
if (configuration) {
|
|
@@ -5118,6 +4944,7 @@ var UsersApiAxiosParamCreator = function(configuration) {
|
|
|
5118
4944
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
5119
4945
|
yield setApiKeyToObject(localVarHeaderParameter, "x-platz-token", configuration);
|
|
5120
4946
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
4947
|
+
localVarHeaderParameter["Accept"] = "application/json";
|
|
5121
4948
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5122
4949
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5123
4950
|
localVarRequestOptions.headers = __spreadValues(__spreadValues(__spreadValues({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -5137,15 +4964,13 @@ var UsersApiFp = function(configuration) {
|
|
|
5137
4964
|
* @param {string | null} [displayName]
|
|
5138
4965
|
* @param {string | null} [email]
|
|
5139
4966
|
* @param {boolean | null} [isActive]
|
|
5140
|
-
* @param {number | null} [page]
|
|
5141
|
-
* @param {number | null} [perPage]
|
|
5142
4967
|
* @param {*} [options] Override http request option.
|
|
5143
4968
|
* @throws {RequiredError}
|
|
5144
4969
|
*/
|
|
5145
|
-
allUsers(displayName, email, isActive,
|
|
4970
|
+
allUsers(displayName, email, isActive, options) {
|
|
5146
4971
|
return __async(this, null, function* () {
|
|
5147
4972
|
var _a2, _b, _c;
|
|
5148
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.allUsers(displayName, email, isActive,
|
|
4973
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.allUsers(displayName, email, isActive, options);
|
|
5149
4974
|
const localVarOperationServerIndex = (_a2 = configuration == null ? void 0 : configuration.serverIndex) != null ? _a2 : 0;
|
|
5150
4975
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap["UsersApi.allUsers"]) == null ? void 0 : _b[localVarOperationServerIndex]) == null ? void 0 : _c.url;
|
|
5151
4976
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, import_axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -5194,7 +5019,7 @@ var UsersApiFactory = function(configuration, basePath, axios) {
|
|
|
5194
5019
|
* @throws {RequiredError}
|
|
5195
5020
|
*/
|
|
5196
5021
|
allUsers(requestParameters = {}, options) {
|
|
5197
|
-
return localVarFp.allUsers(requestParameters.displayName, requestParameters.email, requestParameters.isActive,
|
|
5022
|
+
return localVarFp.allUsers(requestParameters.displayName, requestParameters.email, requestParameters.isActive, options).then((request) => request(axios, basePath));
|
|
5198
5023
|
},
|
|
5199
5024
|
/**
|
|
5200
5025
|
*
|
|
@@ -5222,17 +5047,15 @@ var UsersApi = class extends BaseAPI {
|
|
|
5222
5047
|
* @param {UsersApiAllUsersRequest} requestParameters Request parameters.
|
|
5223
5048
|
* @param {*} [options] Override http request option.
|
|
5224
5049
|
* @throws {RequiredError}
|
|
5225
|
-
* @memberof UsersApi
|
|
5226
5050
|
*/
|
|
5227
5051
|
allUsers(requestParameters = {}, options) {
|
|
5228
|
-
return UsersApiFp(this.configuration).allUsers(requestParameters.displayName, requestParameters.email, requestParameters.isActive,
|
|
5052
|
+
return UsersApiFp(this.configuration).allUsers(requestParameters.displayName, requestParameters.email, requestParameters.isActive, options).then((request) => request(this.axios, this.basePath));
|
|
5229
5053
|
}
|
|
5230
5054
|
/**
|
|
5231
5055
|
*
|
|
5232
5056
|
* @param {UsersApiGetUserRequest} requestParameters Request parameters.
|
|
5233
5057
|
* @param {*} [options] Override http request option.
|
|
5234
5058
|
* @throws {RequiredError}
|
|
5235
|
-
* @memberof UsersApi
|
|
5236
5059
|
*/
|
|
5237
5060
|
getUser(requestParameters, options) {
|
|
5238
5061
|
return UsersApiFp(this.configuration).getUser(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -5242,7 +5065,6 @@ var UsersApi = class extends BaseAPI {
|
|
|
5242
5065
|
* @param {UsersApiUpdateUserRequest} requestParameters Request parameters.
|
|
5243
5066
|
* @param {*} [options] Override http request option.
|
|
5244
5067
|
* @throws {RequiredError}
|
|
5245
|
-
* @memberof UsersApi
|
|
5246
5068
|
*/
|
|
5247
5069
|
updateUser(requestParameters, options) {
|
|
5248
5070
|
return UsersApiFp(this.configuration).updateUser(requestParameters.id, requestParameters.updateUser, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -5252,13 +5074,17 @@ var UsersApi = class extends BaseAPI {
|
|
|
5252
5074
|
// src/configuration.ts
|
|
5253
5075
|
var Configuration = class {
|
|
5254
5076
|
constructor(param = {}) {
|
|
5077
|
+
var _a;
|
|
5255
5078
|
this.apiKey = param.apiKey;
|
|
5256
5079
|
this.username = param.username;
|
|
5257
5080
|
this.password = param.password;
|
|
5258
5081
|
this.accessToken = param.accessToken;
|
|
5082
|
+
this.awsv4 = param.awsv4;
|
|
5259
5083
|
this.basePath = param.basePath;
|
|
5260
5084
|
this.serverIndex = param.serverIndex;
|
|
5261
|
-
this.baseOptions = param.baseOptions
|
|
5085
|
+
this.baseOptions = __spreadProps(__spreadValues({}, param.baseOptions), {
|
|
5086
|
+
headers: __spreadValues({}, (_a = param.baseOptions) == null ? void 0 : _a.headers)
|
|
5087
|
+
});
|
|
5262
5088
|
this.formDataCtor = param.formDataCtor;
|
|
5263
5089
|
}
|
|
5264
5090
|
/**
|
|
@@ -5272,8 +5098,8 @@ var Configuration = class {
|
|
|
5272
5098
|
* @return True if the given MIME is JSON, false otherwise.
|
|
5273
5099
|
*/
|
|
5274
5100
|
isJsonMime(mime) {
|
|
5275
|
-
const jsonMime =
|
|
5276
|
-
return mime !== null &&
|
|
5101
|
+
const jsonMime = /^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$/i;
|
|
5102
|
+
return mime !== null && jsonMime.test(mime);
|
|
5277
5103
|
}
|
|
5278
5104
|
};
|
|
5279
5105
|
// Annotate the CommonJS export names for ESM import in node:
|
|
@@ -5350,6 +5176,7 @@ var Configuration = class {
|
|
|
5350
5176
|
HelmRegistriesApiAxiosParamCreator,
|
|
5351
5177
|
HelmRegistriesApiFactory,
|
|
5352
5178
|
HelmRegistriesApiFp,
|
|
5179
|
+
HelmRegistryProvider,
|
|
5353
5180
|
HelmTagFormatsApi,
|
|
5354
5181
|
HelmTagFormatsApiAxiosParamCreator,
|
|
5355
5182
|
HelmTagFormatsApiFactory,
|