qovery-typescript-axios 1.1.881 → 1.1.882
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/api.ts +288 -0
- package/dist/api.d.ts +183 -0
- package/dist/api.js +189 -2
- package/dist/esm/api.d.ts +183 -0
- package/dist/esm/api.js +183 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -11731,6 +11731,82 @@ export interface EnvironmentVariableResponseList {
|
|
|
11731
11731
|
*/
|
|
11732
11732
|
'results'?: Array<EnvironmentVariable>;
|
|
11733
11733
|
}
|
|
11734
|
+
/**
|
|
11735
|
+
*
|
|
11736
|
+
* @export
|
|
11737
|
+
* @interface ExternalSecretAssociatedServiceResponse
|
|
11738
|
+
*/
|
|
11739
|
+
export interface ExternalSecretAssociatedServiceResponse {
|
|
11740
|
+
/**
|
|
11741
|
+
*
|
|
11742
|
+
* @type {string}
|
|
11743
|
+
* @memberof ExternalSecretAssociatedServiceResponse
|
|
11744
|
+
*/
|
|
11745
|
+
'project_id': string;
|
|
11746
|
+
/**
|
|
11747
|
+
*
|
|
11748
|
+
* @type {string}
|
|
11749
|
+
* @memberof ExternalSecretAssociatedServiceResponse
|
|
11750
|
+
*/
|
|
11751
|
+
'project_name': string;
|
|
11752
|
+
/**
|
|
11753
|
+
*
|
|
11754
|
+
* @type {string}
|
|
11755
|
+
* @memberof ExternalSecretAssociatedServiceResponse
|
|
11756
|
+
*/
|
|
11757
|
+
'environment_id': string;
|
|
11758
|
+
/**
|
|
11759
|
+
*
|
|
11760
|
+
* @type {string}
|
|
11761
|
+
* @memberof ExternalSecretAssociatedServiceResponse
|
|
11762
|
+
*/
|
|
11763
|
+
'environment_name': string;
|
|
11764
|
+
/**
|
|
11765
|
+
*
|
|
11766
|
+
* @type {string}
|
|
11767
|
+
* @memberof ExternalSecretAssociatedServiceResponse
|
|
11768
|
+
*/
|
|
11769
|
+
'service_id'?: string;
|
|
11770
|
+
/**
|
|
11771
|
+
*
|
|
11772
|
+
* @type {string}
|
|
11773
|
+
* @memberof ExternalSecretAssociatedServiceResponse
|
|
11774
|
+
*/
|
|
11775
|
+
'service_name'?: string;
|
|
11776
|
+
/**
|
|
11777
|
+
*
|
|
11778
|
+
* @type {APIVariableScopeEnum}
|
|
11779
|
+
* @memberof ExternalSecretAssociatedServiceResponse
|
|
11780
|
+
*/
|
|
11781
|
+
'service_type'?: APIVariableScopeEnum;
|
|
11782
|
+
/**
|
|
11783
|
+
*
|
|
11784
|
+
* @type {string}
|
|
11785
|
+
* @memberof ExternalSecretAssociatedServiceResponse
|
|
11786
|
+
*/
|
|
11787
|
+
'variable_name': string;
|
|
11788
|
+
/**
|
|
11789
|
+
*
|
|
11790
|
+
* @type {string}
|
|
11791
|
+
* @memberof ExternalSecretAssociatedServiceResponse
|
|
11792
|
+
*/
|
|
11793
|
+
'external_secret_name': string;
|
|
11794
|
+
}
|
|
11795
|
+
|
|
11796
|
+
|
|
11797
|
+
/**
|
|
11798
|
+
*
|
|
11799
|
+
* @export
|
|
11800
|
+
* @interface ExternalSecretAssociatedServiceResponseList
|
|
11801
|
+
*/
|
|
11802
|
+
export interface ExternalSecretAssociatedServiceResponseList {
|
|
11803
|
+
/**
|
|
11804
|
+
*
|
|
11805
|
+
* @type {Array<ExternalSecretAssociatedServiceResponse>}
|
|
11806
|
+
* @memberof ExternalSecretAssociatedServiceResponseList
|
|
11807
|
+
*/
|
|
11808
|
+
'results': Array<ExternalSecretAssociatedServiceResponse>;
|
|
11809
|
+
}
|
|
11734
11810
|
/**
|
|
11735
11811
|
*
|
|
11736
11812
|
* @export
|
|
@@ -19318,6 +19394,19 @@ export interface ProjectStatsResponseList {
|
|
|
19318
19394
|
*/
|
|
19319
19395
|
'results'?: Array<ProjectStats>;
|
|
19320
19396
|
}
|
|
19397
|
+
/**
|
|
19398
|
+
*
|
|
19399
|
+
* @export
|
|
19400
|
+
* @interface ProviderSecrets
|
|
19401
|
+
*/
|
|
19402
|
+
export interface ProviderSecrets {
|
|
19403
|
+
/**
|
|
19404
|
+
*
|
|
19405
|
+
* @type {Array<string>}
|
|
19406
|
+
* @memberof ProviderSecrets
|
|
19407
|
+
*/
|
|
19408
|
+
'results': Array<string>;
|
|
19409
|
+
}
|
|
19321
19410
|
/**
|
|
19322
19411
|
*
|
|
19323
19412
|
* @export
|
|
@@ -66026,6 +66115,205 @@ export class ReferralRewardsApi extends BaseAPI {
|
|
|
66026
66115
|
|
|
66027
66116
|
|
|
66028
66117
|
|
|
66118
|
+
/**
|
|
66119
|
+
* SecretManagerAccessApi - axios parameter creator
|
|
66120
|
+
* @export
|
|
66121
|
+
*/
|
|
66122
|
+
export const SecretManagerAccessApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
66123
|
+
return {
|
|
66124
|
+
/**
|
|
66125
|
+
* List external secrets used by a secret manager access
|
|
66126
|
+
* @summary List external secrets used by a secret manager access
|
|
66127
|
+
* @param {string} secretManagerAccessId Secret Manager Access ID
|
|
66128
|
+
* @param {*} [options] Override http request option.
|
|
66129
|
+
* @throws {RequiredError}
|
|
66130
|
+
*/
|
|
66131
|
+
listSecretManagerAccessExternalSecrets: async (secretManagerAccessId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
66132
|
+
// verify required parameter 'secretManagerAccessId' is not null or undefined
|
|
66133
|
+
assertParamExists('listSecretManagerAccessExternalSecrets', 'secretManagerAccessId', secretManagerAccessId)
|
|
66134
|
+
const localVarPath = `/api/secretManagerAccess/{secretManagerAccessId}/associatedServices`
|
|
66135
|
+
.replace(`{${"secretManagerAccessId"}}`, encodeURIComponent(String(secretManagerAccessId)));
|
|
66136
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
66137
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
66138
|
+
let baseOptions;
|
|
66139
|
+
if (configuration) {
|
|
66140
|
+
baseOptions = configuration.baseOptions;
|
|
66141
|
+
}
|
|
66142
|
+
|
|
66143
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
66144
|
+
const localVarHeaderParameter = {} as any;
|
|
66145
|
+
const localVarQueryParameter = {} as any;
|
|
66146
|
+
|
|
66147
|
+
// authentication ApiKeyAuth required
|
|
66148
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
66149
|
+
|
|
66150
|
+
// authentication bearerAuth required
|
|
66151
|
+
// http bearer authentication required
|
|
66152
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
66153
|
+
|
|
66154
|
+
|
|
66155
|
+
|
|
66156
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
66157
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
66158
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
66159
|
+
|
|
66160
|
+
return {
|
|
66161
|
+
url: toPathString(localVarUrlObj),
|
|
66162
|
+
options: localVarRequestOptions,
|
|
66163
|
+
};
|
|
66164
|
+
},
|
|
66165
|
+
/**
|
|
66166
|
+
* List upstream secrets from secret provider
|
|
66167
|
+
* @summary List upstream secrets from secret provider
|
|
66168
|
+
* @param {string} secretManagerAccessId Secret Manager Access ID
|
|
66169
|
+
* @param {string} [namePrefix]
|
|
66170
|
+
* @param {*} [options] Override http request option.
|
|
66171
|
+
* @throws {RequiredError}
|
|
66172
|
+
*/
|
|
66173
|
+
listUpstreamSecretsFromSecretProvider: async (secretManagerAccessId: string, namePrefix?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
66174
|
+
// verify required parameter 'secretManagerAccessId' is not null or undefined
|
|
66175
|
+
assertParamExists('listUpstreamSecretsFromSecretProvider', 'secretManagerAccessId', secretManagerAccessId)
|
|
66176
|
+
const localVarPath = `/api/secretManagerAccess/{secretManagerAccessId}/secrets`
|
|
66177
|
+
.replace(`{${"secretManagerAccessId"}}`, encodeURIComponent(String(secretManagerAccessId)));
|
|
66178
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
66179
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
66180
|
+
let baseOptions;
|
|
66181
|
+
if (configuration) {
|
|
66182
|
+
baseOptions = configuration.baseOptions;
|
|
66183
|
+
}
|
|
66184
|
+
|
|
66185
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
66186
|
+
const localVarHeaderParameter = {} as any;
|
|
66187
|
+
const localVarQueryParameter = {} as any;
|
|
66188
|
+
|
|
66189
|
+
// authentication ApiKeyAuth required
|
|
66190
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
66191
|
+
|
|
66192
|
+
// authentication bearerAuth required
|
|
66193
|
+
// http bearer authentication required
|
|
66194
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
66195
|
+
|
|
66196
|
+
if (namePrefix !== undefined) {
|
|
66197
|
+
localVarQueryParameter['namePrefix'] = namePrefix;
|
|
66198
|
+
}
|
|
66199
|
+
|
|
66200
|
+
|
|
66201
|
+
|
|
66202
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
66203
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
66204
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
66205
|
+
|
|
66206
|
+
return {
|
|
66207
|
+
url: toPathString(localVarUrlObj),
|
|
66208
|
+
options: localVarRequestOptions,
|
|
66209
|
+
};
|
|
66210
|
+
},
|
|
66211
|
+
}
|
|
66212
|
+
};
|
|
66213
|
+
|
|
66214
|
+
/**
|
|
66215
|
+
* SecretManagerAccessApi - functional programming interface
|
|
66216
|
+
* @export
|
|
66217
|
+
*/
|
|
66218
|
+
export const SecretManagerAccessApiFp = function(configuration?: Configuration) {
|
|
66219
|
+
const localVarAxiosParamCreator = SecretManagerAccessApiAxiosParamCreator(configuration)
|
|
66220
|
+
return {
|
|
66221
|
+
/**
|
|
66222
|
+
* List external secrets used by a secret manager access
|
|
66223
|
+
* @summary List external secrets used by a secret manager access
|
|
66224
|
+
* @param {string} secretManagerAccessId Secret Manager Access ID
|
|
66225
|
+
* @param {*} [options] Override http request option.
|
|
66226
|
+
* @throws {RequiredError}
|
|
66227
|
+
*/
|
|
66228
|
+
async listSecretManagerAccessExternalSecrets(secretManagerAccessId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ExternalSecretAssociatedServiceResponseList>> {
|
|
66229
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listSecretManagerAccessExternalSecrets(secretManagerAccessId, options);
|
|
66230
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
66231
|
+
const localVarOperationServerBasePath = operationServerMap['SecretManagerAccessApi.listSecretManagerAccessExternalSecrets']?.[localVarOperationServerIndex]?.url;
|
|
66232
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
66233
|
+
},
|
|
66234
|
+
/**
|
|
66235
|
+
* List upstream secrets from secret provider
|
|
66236
|
+
* @summary List upstream secrets from secret provider
|
|
66237
|
+
* @param {string} secretManagerAccessId Secret Manager Access ID
|
|
66238
|
+
* @param {string} [namePrefix]
|
|
66239
|
+
* @param {*} [options] Override http request option.
|
|
66240
|
+
* @throws {RequiredError}
|
|
66241
|
+
*/
|
|
66242
|
+
async listUpstreamSecretsFromSecretProvider(secretManagerAccessId: string, namePrefix?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProviderSecrets>> {
|
|
66243
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listUpstreamSecretsFromSecretProvider(secretManagerAccessId, namePrefix, options);
|
|
66244
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
66245
|
+
const localVarOperationServerBasePath = operationServerMap['SecretManagerAccessApi.listUpstreamSecretsFromSecretProvider']?.[localVarOperationServerIndex]?.url;
|
|
66246
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
66247
|
+
},
|
|
66248
|
+
}
|
|
66249
|
+
};
|
|
66250
|
+
|
|
66251
|
+
/**
|
|
66252
|
+
* SecretManagerAccessApi - factory interface
|
|
66253
|
+
* @export
|
|
66254
|
+
*/
|
|
66255
|
+
export const SecretManagerAccessApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
66256
|
+
const localVarFp = SecretManagerAccessApiFp(configuration)
|
|
66257
|
+
return {
|
|
66258
|
+
/**
|
|
66259
|
+
* List external secrets used by a secret manager access
|
|
66260
|
+
* @summary List external secrets used by a secret manager access
|
|
66261
|
+
* @param {string} secretManagerAccessId Secret Manager Access ID
|
|
66262
|
+
* @param {*} [options] Override http request option.
|
|
66263
|
+
* @throws {RequiredError}
|
|
66264
|
+
*/
|
|
66265
|
+
listSecretManagerAccessExternalSecrets(secretManagerAccessId: string, options?: RawAxiosRequestConfig): AxiosPromise<ExternalSecretAssociatedServiceResponseList> {
|
|
66266
|
+
return localVarFp.listSecretManagerAccessExternalSecrets(secretManagerAccessId, options).then((request) => request(axios, basePath));
|
|
66267
|
+
},
|
|
66268
|
+
/**
|
|
66269
|
+
* List upstream secrets from secret provider
|
|
66270
|
+
* @summary List upstream secrets from secret provider
|
|
66271
|
+
* @param {string} secretManagerAccessId Secret Manager Access ID
|
|
66272
|
+
* @param {string} [namePrefix]
|
|
66273
|
+
* @param {*} [options] Override http request option.
|
|
66274
|
+
* @throws {RequiredError}
|
|
66275
|
+
*/
|
|
66276
|
+
listUpstreamSecretsFromSecretProvider(secretManagerAccessId: string, namePrefix?: string, options?: RawAxiosRequestConfig): AxiosPromise<ProviderSecrets> {
|
|
66277
|
+
return localVarFp.listUpstreamSecretsFromSecretProvider(secretManagerAccessId, namePrefix, options).then((request) => request(axios, basePath));
|
|
66278
|
+
},
|
|
66279
|
+
};
|
|
66280
|
+
};
|
|
66281
|
+
|
|
66282
|
+
/**
|
|
66283
|
+
* SecretManagerAccessApi - object-oriented interface
|
|
66284
|
+
* @export
|
|
66285
|
+
* @class SecretManagerAccessApi
|
|
66286
|
+
* @extends {BaseAPI}
|
|
66287
|
+
*/
|
|
66288
|
+
export class SecretManagerAccessApi extends BaseAPI {
|
|
66289
|
+
/**
|
|
66290
|
+
* List external secrets used by a secret manager access
|
|
66291
|
+
* @summary List external secrets used by a secret manager access
|
|
66292
|
+
* @param {string} secretManagerAccessId Secret Manager Access ID
|
|
66293
|
+
* @param {*} [options] Override http request option.
|
|
66294
|
+
* @throws {RequiredError}
|
|
66295
|
+
* @memberof SecretManagerAccessApi
|
|
66296
|
+
*/
|
|
66297
|
+
public listSecretManagerAccessExternalSecrets(secretManagerAccessId: string, options?: RawAxiosRequestConfig) {
|
|
66298
|
+
return SecretManagerAccessApiFp(this.configuration).listSecretManagerAccessExternalSecrets(secretManagerAccessId, options).then((request) => request(this.axios, this.basePath));
|
|
66299
|
+
}
|
|
66300
|
+
|
|
66301
|
+
/**
|
|
66302
|
+
* List upstream secrets from secret provider
|
|
66303
|
+
* @summary List upstream secrets from secret provider
|
|
66304
|
+
* @param {string} secretManagerAccessId Secret Manager Access ID
|
|
66305
|
+
* @param {string} [namePrefix]
|
|
66306
|
+
* @param {*} [options] Override http request option.
|
|
66307
|
+
* @throws {RequiredError}
|
|
66308
|
+
* @memberof SecretManagerAccessApi
|
|
66309
|
+
*/
|
|
66310
|
+
public listUpstreamSecretsFromSecretProvider(secretManagerAccessId: string, namePrefix?: string, options?: RawAxiosRequestConfig) {
|
|
66311
|
+
return SecretManagerAccessApiFp(this.configuration).listUpstreamSecretsFromSecretProvider(secretManagerAccessId, namePrefix, options).then((request) => request(this.axios, this.basePath));
|
|
66312
|
+
}
|
|
66313
|
+
}
|
|
66314
|
+
|
|
66315
|
+
|
|
66316
|
+
|
|
66029
66317
|
/**
|
|
66030
66318
|
* ServiceMainCallsApi - axios parameter creator
|
|
66031
66319
|
* @export
|
package/dist/api.d.ts
CHANGED
|
@@ -11376,6 +11376,80 @@ export interface EnvironmentVariableResponseList {
|
|
|
11376
11376
|
*/
|
|
11377
11377
|
'results'?: Array<EnvironmentVariable>;
|
|
11378
11378
|
}
|
|
11379
|
+
/**
|
|
11380
|
+
*
|
|
11381
|
+
* @export
|
|
11382
|
+
* @interface ExternalSecretAssociatedServiceResponse
|
|
11383
|
+
*/
|
|
11384
|
+
export interface ExternalSecretAssociatedServiceResponse {
|
|
11385
|
+
/**
|
|
11386
|
+
*
|
|
11387
|
+
* @type {string}
|
|
11388
|
+
* @memberof ExternalSecretAssociatedServiceResponse
|
|
11389
|
+
*/
|
|
11390
|
+
'project_id': string;
|
|
11391
|
+
/**
|
|
11392
|
+
*
|
|
11393
|
+
* @type {string}
|
|
11394
|
+
* @memberof ExternalSecretAssociatedServiceResponse
|
|
11395
|
+
*/
|
|
11396
|
+
'project_name': string;
|
|
11397
|
+
/**
|
|
11398
|
+
*
|
|
11399
|
+
* @type {string}
|
|
11400
|
+
* @memberof ExternalSecretAssociatedServiceResponse
|
|
11401
|
+
*/
|
|
11402
|
+
'environment_id': string;
|
|
11403
|
+
/**
|
|
11404
|
+
*
|
|
11405
|
+
* @type {string}
|
|
11406
|
+
* @memberof ExternalSecretAssociatedServiceResponse
|
|
11407
|
+
*/
|
|
11408
|
+
'environment_name': string;
|
|
11409
|
+
/**
|
|
11410
|
+
*
|
|
11411
|
+
* @type {string}
|
|
11412
|
+
* @memberof ExternalSecretAssociatedServiceResponse
|
|
11413
|
+
*/
|
|
11414
|
+
'service_id'?: string;
|
|
11415
|
+
/**
|
|
11416
|
+
*
|
|
11417
|
+
* @type {string}
|
|
11418
|
+
* @memberof ExternalSecretAssociatedServiceResponse
|
|
11419
|
+
*/
|
|
11420
|
+
'service_name'?: string;
|
|
11421
|
+
/**
|
|
11422
|
+
*
|
|
11423
|
+
* @type {APIVariableScopeEnum}
|
|
11424
|
+
* @memberof ExternalSecretAssociatedServiceResponse
|
|
11425
|
+
*/
|
|
11426
|
+
'service_type'?: APIVariableScopeEnum;
|
|
11427
|
+
/**
|
|
11428
|
+
*
|
|
11429
|
+
* @type {string}
|
|
11430
|
+
* @memberof ExternalSecretAssociatedServiceResponse
|
|
11431
|
+
*/
|
|
11432
|
+
'variable_name': string;
|
|
11433
|
+
/**
|
|
11434
|
+
*
|
|
11435
|
+
* @type {string}
|
|
11436
|
+
* @memberof ExternalSecretAssociatedServiceResponse
|
|
11437
|
+
*/
|
|
11438
|
+
'external_secret_name': string;
|
|
11439
|
+
}
|
|
11440
|
+
/**
|
|
11441
|
+
*
|
|
11442
|
+
* @export
|
|
11443
|
+
* @interface ExternalSecretAssociatedServiceResponseList
|
|
11444
|
+
*/
|
|
11445
|
+
export interface ExternalSecretAssociatedServiceResponseList {
|
|
11446
|
+
/**
|
|
11447
|
+
*
|
|
11448
|
+
* @type {Array<ExternalSecretAssociatedServiceResponse>}
|
|
11449
|
+
* @memberof ExternalSecretAssociatedServiceResponseList
|
|
11450
|
+
*/
|
|
11451
|
+
'results': Array<ExternalSecretAssociatedServiceResponse>;
|
|
11452
|
+
}
|
|
11379
11453
|
/**
|
|
11380
11454
|
*
|
|
11381
11455
|
* @export
|
|
@@ -18734,6 +18808,19 @@ export interface ProjectStatsResponseList {
|
|
|
18734
18808
|
*/
|
|
18735
18809
|
'results'?: Array<ProjectStats>;
|
|
18736
18810
|
}
|
|
18811
|
+
/**
|
|
18812
|
+
*
|
|
18813
|
+
* @export
|
|
18814
|
+
* @interface ProviderSecrets
|
|
18815
|
+
*/
|
|
18816
|
+
export interface ProviderSecrets {
|
|
18817
|
+
/**
|
|
18818
|
+
*
|
|
18819
|
+
* @type {Array<string>}
|
|
18820
|
+
* @memberof ProviderSecrets
|
|
18821
|
+
*/
|
|
18822
|
+
'results': Array<string>;
|
|
18823
|
+
}
|
|
18737
18824
|
/**
|
|
18738
18825
|
*
|
|
18739
18826
|
* @export
|
|
@@ -42319,6 +42406,102 @@ export declare class ReferralRewardsApi extends BaseAPI {
|
|
|
42319
42406
|
*/
|
|
42320
42407
|
postAccountRewardClaim(rewardClaim?: RewardClaim, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
42321
42408
|
}
|
|
42409
|
+
/**
|
|
42410
|
+
* SecretManagerAccessApi - axios parameter creator
|
|
42411
|
+
* @export
|
|
42412
|
+
*/
|
|
42413
|
+
export declare const SecretManagerAccessApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
42414
|
+
/**
|
|
42415
|
+
* List external secrets used by a secret manager access
|
|
42416
|
+
* @summary List external secrets used by a secret manager access
|
|
42417
|
+
* @param {string} secretManagerAccessId Secret Manager Access ID
|
|
42418
|
+
* @param {*} [options] Override http request option.
|
|
42419
|
+
* @throws {RequiredError}
|
|
42420
|
+
*/
|
|
42421
|
+
listSecretManagerAccessExternalSecrets: (secretManagerAccessId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
42422
|
+
/**
|
|
42423
|
+
* List upstream secrets from secret provider
|
|
42424
|
+
* @summary List upstream secrets from secret provider
|
|
42425
|
+
* @param {string} secretManagerAccessId Secret Manager Access ID
|
|
42426
|
+
* @param {string} [namePrefix]
|
|
42427
|
+
* @param {*} [options] Override http request option.
|
|
42428
|
+
* @throws {RequiredError}
|
|
42429
|
+
*/
|
|
42430
|
+
listUpstreamSecretsFromSecretProvider: (secretManagerAccessId: string, namePrefix?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
42431
|
+
};
|
|
42432
|
+
/**
|
|
42433
|
+
* SecretManagerAccessApi - functional programming interface
|
|
42434
|
+
* @export
|
|
42435
|
+
*/
|
|
42436
|
+
export declare const SecretManagerAccessApiFp: (configuration?: Configuration) => {
|
|
42437
|
+
/**
|
|
42438
|
+
* List external secrets used by a secret manager access
|
|
42439
|
+
* @summary List external secrets used by a secret manager access
|
|
42440
|
+
* @param {string} secretManagerAccessId Secret Manager Access ID
|
|
42441
|
+
* @param {*} [options] Override http request option.
|
|
42442
|
+
* @throws {RequiredError}
|
|
42443
|
+
*/
|
|
42444
|
+
listSecretManagerAccessExternalSecrets(secretManagerAccessId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ExternalSecretAssociatedServiceResponseList>>;
|
|
42445
|
+
/**
|
|
42446
|
+
* List upstream secrets from secret provider
|
|
42447
|
+
* @summary List upstream secrets from secret provider
|
|
42448
|
+
* @param {string} secretManagerAccessId Secret Manager Access ID
|
|
42449
|
+
* @param {string} [namePrefix]
|
|
42450
|
+
* @param {*} [options] Override http request option.
|
|
42451
|
+
* @throws {RequiredError}
|
|
42452
|
+
*/
|
|
42453
|
+
listUpstreamSecretsFromSecretProvider(secretManagerAccessId: string, namePrefix?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProviderSecrets>>;
|
|
42454
|
+
};
|
|
42455
|
+
/**
|
|
42456
|
+
* SecretManagerAccessApi - factory interface
|
|
42457
|
+
* @export
|
|
42458
|
+
*/
|
|
42459
|
+
export declare const SecretManagerAccessApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
42460
|
+
/**
|
|
42461
|
+
* List external secrets used by a secret manager access
|
|
42462
|
+
* @summary List external secrets used by a secret manager access
|
|
42463
|
+
* @param {string} secretManagerAccessId Secret Manager Access ID
|
|
42464
|
+
* @param {*} [options] Override http request option.
|
|
42465
|
+
* @throws {RequiredError}
|
|
42466
|
+
*/
|
|
42467
|
+
listSecretManagerAccessExternalSecrets(secretManagerAccessId: string, options?: RawAxiosRequestConfig): AxiosPromise<ExternalSecretAssociatedServiceResponseList>;
|
|
42468
|
+
/**
|
|
42469
|
+
* List upstream secrets from secret provider
|
|
42470
|
+
* @summary List upstream secrets from secret provider
|
|
42471
|
+
* @param {string} secretManagerAccessId Secret Manager Access ID
|
|
42472
|
+
* @param {string} [namePrefix]
|
|
42473
|
+
* @param {*} [options] Override http request option.
|
|
42474
|
+
* @throws {RequiredError}
|
|
42475
|
+
*/
|
|
42476
|
+
listUpstreamSecretsFromSecretProvider(secretManagerAccessId: string, namePrefix?: string, options?: RawAxiosRequestConfig): AxiosPromise<ProviderSecrets>;
|
|
42477
|
+
};
|
|
42478
|
+
/**
|
|
42479
|
+
* SecretManagerAccessApi - object-oriented interface
|
|
42480
|
+
* @export
|
|
42481
|
+
* @class SecretManagerAccessApi
|
|
42482
|
+
* @extends {BaseAPI}
|
|
42483
|
+
*/
|
|
42484
|
+
export declare class SecretManagerAccessApi extends BaseAPI {
|
|
42485
|
+
/**
|
|
42486
|
+
* List external secrets used by a secret manager access
|
|
42487
|
+
* @summary List external secrets used by a secret manager access
|
|
42488
|
+
* @param {string} secretManagerAccessId Secret Manager Access ID
|
|
42489
|
+
* @param {*} [options] Override http request option.
|
|
42490
|
+
* @throws {RequiredError}
|
|
42491
|
+
* @memberof SecretManagerAccessApi
|
|
42492
|
+
*/
|
|
42493
|
+
listSecretManagerAccessExternalSecrets(secretManagerAccessId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ExternalSecretAssociatedServiceResponseList, any, {}>>;
|
|
42494
|
+
/**
|
|
42495
|
+
* List upstream secrets from secret provider
|
|
42496
|
+
* @summary List upstream secrets from secret provider
|
|
42497
|
+
* @param {string} secretManagerAccessId Secret Manager Access ID
|
|
42498
|
+
* @param {string} [namePrefix]
|
|
42499
|
+
* @param {*} [options] Override http request option.
|
|
42500
|
+
* @throws {RequiredError}
|
|
42501
|
+
* @memberof SecretManagerAccessApi
|
|
42502
|
+
*/
|
|
42503
|
+
listUpstreamSecretsFromSecretProvider(secretManagerAccessId: string, namePrefix?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProviderSecrets, any, {}>>;
|
|
42504
|
+
}
|
|
42322
42505
|
/**
|
|
42323
42506
|
* ServiceMainCallsApi - axios parameter creator
|
|
42324
42507
|
* @export
|
package/dist/api.js
CHANGED
|
@@ -31,8 +31,8 @@ exports.DeploymentStageMainCallsApiFactory = exports.DeploymentStageMainCallsApi
|
|
|
31
31
|
exports.HelmActionsApiAxiosParamCreator = exports.GithubAppApi = exports.GithubAppApiFactory = exports.GithubAppApiFp = exports.GithubAppApiAxiosParamCreator = exports.GitRepositoriesApi = exports.GitRepositoriesApiFactory = exports.GitRepositoriesApiFp = exports.GitRepositoriesApiAxiosParamCreator = exports.EnvironmentsApi = exports.EnvironmentsApiFactory = exports.EnvironmentsApiFp = exports.EnvironmentsApiAxiosParamCreator = exports.EnvironmentVariableApi = exports.EnvironmentVariableApiFactory = exports.EnvironmentVariableApiFp = exports.EnvironmentVariableApiAxiosParamCreator = exports.EnvironmentSecretApi = exports.EnvironmentSecretApiFactory = exports.EnvironmentSecretApiFp = exports.EnvironmentSecretApiAxiosParamCreator = exports.EnvironmentMainCallsApi = exports.EnvironmentMainCallsApiFactory = exports.EnvironmentMainCallsApiFp = exports.EnvironmentMainCallsApiAxiosParamCreator = exports.EnvironmentLogsApi = exports.EnvironmentLogsApiFactory = exports.EnvironmentLogsApiFp = exports.EnvironmentLogsApiAxiosParamCreator = exports.EnvironmentExportApi = exports.EnvironmentExportApiFactory = exports.EnvironmentExportApiFp = exports.EnvironmentExportApiAxiosParamCreator = exports.EnvironmentDeploymentRuleApi = exports.EnvironmentDeploymentRuleApiFactory = exports.EnvironmentDeploymentRuleApiFp = exports.EnvironmentDeploymentRuleApiAxiosParamCreator = exports.EnvironmentDeploymentHistoryApi = exports.EnvironmentDeploymentHistoryApiFactory = exports.EnvironmentDeploymentHistoryApiFp = exports.EnvironmentDeploymentHistoryApiAxiosParamCreator = exports.EnvironmentActionsApi = exports.EnvironmentActionsApiFactory = exports.EnvironmentActionsApiFp = exports.EnvironmentActionsApiAxiosParamCreator = exports.EnvironmentApi = exports.EnvironmentApiFactory = exports.EnvironmentApiFp = exports.EnvironmentApiAxiosParamCreator = exports.DeploymentStageMainCallsApi = void 0;
|
|
32
32
|
exports.JobEnvironmentVariableApiFactory = exports.JobEnvironmentVariableApiFp = exports.JobEnvironmentVariableApiAxiosParamCreator = exports.JobDeploymentRestrictionApi = exports.JobDeploymentRestrictionApiFactory = exports.JobDeploymentRestrictionApiFp = exports.JobDeploymentRestrictionApiAxiosParamCreator = exports.JobDeploymentHistoryApi = exports.JobDeploymentHistoryApiFactory = exports.JobDeploymentHistoryApiFp = exports.JobDeploymentHistoryApiAxiosParamCreator = exports.JobConfigurationApi = exports.JobConfigurationApiFactory = exports.JobConfigurationApiFp = exports.JobConfigurationApiAxiosParamCreator = exports.JobActionsApi = exports.JobActionsApiFactory = exports.JobActionsApiFp = exports.JobActionsApiAxiosParamCreator = exports.HelmsApi = exports.HelmsApiFactory = exports.HelmsApiFp = exports.HelmsApiAxiosParamCreator = exports.HelmRepositoriesApi = exports.HelmRepositoriesApiFactory = exports.HelmRepositoriesApiFp = exports.HelmRepositoriesApiAxiosParamCreator = exports.HelmMainCallsApi = exports.HelmMainCallsApiFactory = exports.HelmMainCallsApiFp = exports.HelmMainCallsApiAxiosParamCreator = exports.HelmDeploymentRestrictionApi = exports.HelmDeploymentRestrictionApiFactory = exports.HelmDeploymentRestrictionApiFp = exports.HelmDeploymentRestrictionApiAxiosParamCreator = exports.HelmDeploymentHistoryApi = exports.HelmDeploymentHistoryApiFactory = exports.HelmDeploymentHistoryApiFp = exports.HelmDeploymentHistoryApiAxiosParamCreator = exports.HelmCustomDomainApi = exports.HelmCustomDomainApiFactory = exports.HelmCustomDomainApiFp = exports.HelmCustomDomainApiAxiosParamCreator = exports.HelmConfigurationApi = exports.HelmConfigurationApiFactory = exports.HelmConfigurationApiFp = exports.HelmConfigurationApiAxiosParamCreator = exports.HelmActionsApi = exports.HelmActionsApiFactory = exports.HelmActionsApiFp = void 0;
|
|
33
33
|
exports.OrganizationLabelsGroupApiAxiosParamCreator = exports.OrganizationEventApi = exports.OrganizationEventApiFactory = exports.OrganizationEventApiFp = exports.OrganizationEventApiAxiosParamCreator = exports.OrganizationEnterpriseConnectionApi = exports.OrganizationEnterpriseConnectionApiFactory = exports.OrganizationEnterpriseConnectionApiFp = exports.OrganizationEnterpriseConnectionApiAxiosParamCreator = exports.OrganizationCustomRoleApi = exports.OrganizationCustomRoleApiFactory = exports.OrganizationCustomRoleApiFp = exports.OrganizationCustomRoleApiAxiosParamCreator = exports.OrganizationClusterLockApi = exports.OrganizationClusterLockApiFactory = exports.OrganizationClusterLockApiFp = exports.OrganizationClusterLockApiAxiosParamCreator = exports.OrganizationApiTokenApi = exports.OrganizationApiTokenApiFactory = exports.OrganizationApiTokenApiFp = exports.OrganizationApiTokenApiAxiosParamCreator = exports.OrganizationAnnotationsGroupApi = exports.OrganizationAnnotationsGroupApiFactory = exports.OrganizationAnnotationsGroupApiFp = exports.OrganizationAnnotationsGroupApiAxiosParamCreator = exports.OrganizationAccountGitRepositoriesApi = exports.OrganizationAccountGitRepositoriesApiFactory = exports.OrganizationAccountGitRepositoriesApiFp = exports.OrganizationAccountGitRepositoriesApiAxiosParamCreator = exports.MembersApi = exports.MembersApiFactory = exports.MembersApiFp = exports.MembersApiAxiosParamCreator = exports.LifecycleTemplateMainCallsApi = exports.LifecycleTemplateMainCallsApiFactory = exports.LifecycleTemplateMainCallsApiFp = exports.LifecycleTemplateMainCallsApiAxiosParamCreator = exports.JobsApi = exports.JobsApiFactory = exports.JobsApiFp = exports.JobsApiAxiosParamCreator = exports.JobSecretApi = exports.JobSecretApiFactory = exports.JobSecretApiFp = exports.JobSecretApiAxiosParamCreator = exports.JobMainCallsApi = exports.JobMainCallsApiFactory = exports.JobMainCallsApiFp = exports.JobMainCallsApiAxiosParamCreator = exports.JobEnvironmentVariableApi = void 0;
|
|
34
|
-
exports.
|
|
35
|
-
exports.VariableMainCallsApi = exports.VariableMainCallsApiFactory = exports.VariableMainCallsApiFp = exports.VariableMainCallsApiAxiosParamCreator = exports.UserSignUpApi = exports.UserSignUpApiFactory = exports.UserSignUpApiFp = exports.UserSignUpApiAxiosParamCreator = exports.TerraformsApi = exports.TerraformsApiFactory = exports.TerraformsApiFp = exports.TerraformsApiAxiosParamCreator = exports.TerraformResourcesApi = exports.TerraformResourcesApiFactory = exports.TerraformResourcesApiFp = exports.TerraformResourcesApiAxiosParamCreator = exports.TerraformMainCallsApi = exports.TerraformMainCallsApiFactory = exports.TerraformMainCallsApiFp = exports.TerraformMainCallsApiAxiosParamCreator = exports.TerraformDeploymentRestrictionApi = exports.TerraformDeploymentRestrictionApiFactory = exports.TerraformDeploymentRestrictionApiFp = exports.TerraformDeploymentRestrictionApiAxiosParamCreator = exports.TerraformDeploymentHistoryApi = exports.TerraformDeploymentHistoryApiFactory = exports.TerraformDeploymentHistoryApiFp = exports.TerraformDeploymentHistoryApiAxiosParamCreator = exports.TerraformConfigurationApi = exports.TerraformConfigurationApiFactory = void 0;
|
|
34
|
+
exports.TerraformActionsApiFp = exports.TerraformActionsApiAxiosParamCreator = exports.GetIngressDeploymentStatusServiceTypeEnum = exports.ServiceStatusApi = exports.ServiceStatusApiFactory = exports.ServiceStatusApiFp = exports.ServiceStatusApiAxiosParamCreator = exports.ServiceMainCallsApi = exports.ServiceMainCallsApiFactory = exports.ServiceMainCallsApiFp = exports.ServiceMainCallsApiAxiosParamCreator = exports.SecretManagerAccessApi = exports.SecretManagerAccessApiFactory = exports.SecretManagerAccessApiFp = exports.SecretManagerAccessApiAxiosParamCreator = exports.ReferralRewardsApi = exports.ReferralRewardsApiFactory = exports.ReferralRewardsApiFp = exports.ReferralRewardsApiAxiosParamCreator = exports.ProjectsApi = exports.ProjectsApiFactory = exports.ProjectsApiFp = exports.ProjectsApiAxiosParamCreator = exports.ProjectSecretApi = exports.ProjectSecretApiFactory = exports.ProjectSecretApiFp = exports.ProjectSecretApiAxiosParamCreator = exports.ProjectMainCallsApi = exports.ProjectMainCallsApiFactory = exports.ProjectMainCallsApiFp = exports.ProjectMainCallsApiAxiosParamCreator = exports.ProjectEnvironmentVariableApi = exports.ProjectEnvironmentVariableApiFactory = exports.ProjectEnvironmentVariableApiFp = exports.ProjectEnvironmentVariableApiAxiosParamCreator = exports.ProjectDeploymentRuleApi = exports.ProjectDeploymentRuleApiFactory = exports.ProjectDeploymentRuleApiFp = exports.ProjectDeploymentRuleApiAxiosParamCreator = exports.OrganizationWebhookApi = exports.OrganizationWebhookApiFactory = exports.OrganizationWebhookApiFp = exports.OrganizationWebhookApiAxiosParamCreator = exports.OrganizationMainCallsApi = exports.OrganizationMainCallsApiFactory = exports.OrganizationMainCallsApiFp = exports.OrganizationMainCallsApiAxiosParamCreator = exports.OrganizationLabelsGroupApi = exports.OrganizationLabelsGroupApiFactory = exports.OrganizationLabelsGroupApiFp = void 0;
|
|
35
|
+
exports.VariableMainCallsApi = exports.VariableMainCallsApiFactory = exports.VariableMainCallsApiFp = exports.VariableMainCallsApiAxiosParamCreator = exports.UserSignUpApi = exports.UserSignUpApiFactory = exports.UserSignUpApiFp = exports.UserSignUpApiAxiosParamCreator = exports.TerraformsApi = exports.TerraformsApiFactory = exports.TerraformsApiFp = exports.TerraformsApiAxiosParamCreator = exports.TerraformResourcesApi = exports.TerraformResourcesApiFactory = exports.TerraformResourcesApiFp = exports.TerraformResourcesApiAxiosParamCreator = exports.TerraformMainCallsApi = exports.TerraformMainCallsApiFactory = exports.TerraformMainCallsApiFp = exports.TerraformMainCallsApiAxiosParamCreator = exports.TerraformDeploymentRestrictionApi = exports.TerraformDeploymentRestrictionApiFactory = exports.TerraformDeploymentRestrictionApiFp = exports.TerraformDeploymentRestrictionApiAxiosParamCreator = exports.TerraformDeploymentHistoryApi = exports.TerraformDeploymentHistoryApiFactory = exports.TerraformDeploymentHistoryApiFp = exports.TerraformDeploymentHistoryApiAxiosParamCreator = exports.TerraformConfigurationApi = exports.TerraformConfigurationApiFactory = exports.TerraformConfigurationApiFp = exports.TerraformConfigurationApiAxiosParamCreator = exports.TerraformActionsApi = exports.TerraformActionsApiFactory = void 0;
|
|
36
36
|
const axios_1 = require("axios");
|
|
37
37
|
// Some imports not used depending on template conditions
|
|
38
38
|
// @ts-ignore
|
|
@@ -41164,6 +41164,193 @@ class ReferralRewardsApi extends base_1.BaseAPI {
|
|
|
41164
41164
|
}
|
|
41165
41165
|
}
|
|
41166
41166
|
exports.ReferralRewardsApi = ReferralRewardsApi;
|
|
41167
|
+
/**
|
|
41168
|
+
* SecretManagerAccessApi - axios parameter creator
|
|
41169
|
+
* @export
|
|
41170
|
+
*/
|
|
41171
|
+
const SecretManagerAccessApiAxiosParamCreator = function (configuration) {
|
|
41172
|
+
return {
|
|
41173
|
+
/**
|
|
41174
|
+
* List external secrets used by a secret manager access
|
|
41175
|
+
* @summary List external secrets used by a secret manager access
|
|
41176
|
+
* @param {string} secretManagerAccessId Secret Manager Access ID
|
|
41177
|
+
* @param {*} [options] Override http request option.
|
|
41178
|
+
* @throws {RequiredError}
|
|
41179
|
+
*/
|
|
41180
|
+
listSecretManagerAccessExternalSecrets: (secretManagerAccessId_1, ...args_1) => __awaiter(this, [secretManagerAccessId_1, ...args_1], void 0, function* (secretManagerAccessId, options = {}) {
|
|
41181
|
+
// verify required parameter 'secretManagerAccessId' is not null or undefined
|
|
41182
|
+
(0, common_1.assertParamExists)('listSecretManagerAccessExternalSecrets', 'secretManagerAccessId', secretManagerAccessId);
|
|
41183
|
+
const localVarPath = `/api/secretManagerAccess/{secretManagerAccessId}/associatedServices`
|
|
41184
|
+
.replace(`{${"secretManagerAccessId"}}`, encodeURIComponent(String(secretManagerAccessId)));
|
|
41185
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
41186
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
41187
|
+
let baseOptions;
|
|
41188
|
+
if (configuration) {
|
|
41189
|
+
baseOptions = configuration.baseOptions;
|
|
41190
|
+
}
|
|
41191
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
41192
|
+
const localVarHeaderParameter = {};
|
|
41193
|
+
const localVarQueryParameter = {};
|
|
41194
|
+
// authentication ApiKeyAuth required
|
|
41195
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
41196
|
+
// authentication bearerAuth required
|
|
41197
|
+
// http bearer authentication required
|
|
41198
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
41199
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
41200
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
41201
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
41202
|
+
return {
|
|
41203
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
41204
|
+
options: localVarRequestOptions,
|
|
41205
|
+
};
|
|
41206
|
+
}),
|
|
41207
|
+
/**
|
|
41208
|
+
* List upstream secrets from secret provider
|
|
41209
|
+
* @summary List upstream secrets from secret provider
|
|
41210
|
+
* @param {string} secretManagerAccessId Secret Manager Access ID
|
|
41211
|
+
* @param {string} [namePrefix]
|
|
41212
|
+
* @param {*} [options] Override http request option.
|
|
41213
|
+
* @throws {RequiredError}
|
|
41214
|
+
*/
|
|
41215
|
+
listUpstreamSecretsFromSecretProvider: (secretManagerAccessId_1, namePrefix_1, ...args_1) => __awaiter(this, [secretManagerAccessId_1, namePrefix_1, ...args_1], void 0, function* (secretManagerAccessId, namePrefix, options = {}) {
|
|
41216
|
+
// verify required parameter 'secretManagerAccessId' is not null or undefined
|
|
41217
|
+
(0, common_1.assertParamExists)('listUpstreamSecretsFromSecretProvider', 'secretManagerAccessId', secretManagerAccessId);
|
|
41218
|
+
const localVarPath = `/api/secretManagerAccess/{secretManagerAccessId}/secrets`
|
|
41219
|
+
.replace(`{${"secretManagerAccessId"}}`, encodeURIComponent(String(secretManagerAccessId)));
|
|
41220
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
41221
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
41222
|
+
let baseOptions;
|
|
41223
|
+
if (configuration) {
|
|
41224
|
+
baseOptions = configuration.baseOptions;
|
|
41225
|
+
}
|
|
41226
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
41227
|
+
const localVarHeaderParameter = {};
|
|
41228
|
+
const localVarQueryParameter = {};
|
|
41229
|
+
// authentication ApiKeyAuth required
|
|
41230
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
41231
|
+
// authentication bearerAuth required
|
|
41232
|
+
// http bearer authentication required
|
|
41233
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
41234
|
+
if (namePrefix !== undefined) {
|
|
41235
|
+
localVarQueryParameter['namePrefix'] = namePrefix;
|
|
41236
|
+
}
|
|
41237
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
41238
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
41239
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
41240
|
+
return {
|
|
41241
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
41242
|
+
options: localVarRequestOptions,
|
|
41243
|
+
};
|
|
41244
|
+
}),
|
|
41245
|
+
};
|
|
41246
|
+
};
|
|
41247
|
+
exports.SecretManagerAccessApiAxiosParamCreator = SecretManagerAccessApiAxiosParamCreator;
|
|
41248
|
+
/**
|
|
41249
|
+
* SecretManagerAccessApi - functional programming interface
|
|
41250
|
+
* @export
|
|
41251
|
+
*/
|
|
41252
|
+
const SecretManagerAccessApiFp = function (configuration) {
|
|
41253
|
+
const localVarAxiosParamCreator = (0, exports.SecretManagerAccessApiAxiosParamCreator)(configuration);
|
|
41254
|
+
return {
|
|
41255
|
+
/**
|
|
41256
|
+
* List external secrets used by a secret manager access
|
|
41257
|
+
* @summary List external secrets used by a secret manager access
|
|
41258
|
+
* @param {string} secretManagerAccessId Secret Manager Access ID
|
|
41259
|
+
* @param {*} [options] Override http request option.
|
|
41260
|
+
* @throws {RequiredError}
|
|
41261
|
+
*/
|
|
41262
|
+
listSecretManagerAccessExternalSecrets(secretManagerAccessId, options) {
|
|
41263
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
41264
|
+
var _a, _b, _c;
|
|
41265
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listSecretManagerAccessExternalSecrets(secretManagerAccessId, options);
|
|
41266
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
41267
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SecretManagerAccessApi.listSecretManagerAccessExternalSecrets']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
41268
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
41269
|
+
});
|
|
41270
|
+
},
|
|
41271
|
+
/**
|
|
41272
|
+
* List upstream secrets from secret provider
|
|
41273
|
+
* @summary List upstream secrets from secret provider
|
|
41274
|
+
* @param {string} secretManagerAccessId Secret Manager Access ID
|
|
41275
|
+
* @param {string} [namePrefix]
|
|
41276
|
+
* @param {*} [options] Override http request option.
|
|
41277
|
+
* @throws {RequiredError}
|
|
41278
|
+
*/
|
|
41279
|
+
listUpstreamSecretsFromSecretProvider(secretManagerAccessId, namePrefix, options) {
|
|
41280
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
41281
|
+
var _a, _b, _c;
|
|
41282
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listUpstreamSecretsFromSecretProvider(secretManagerAccessId, namePrefix, options);
|
|
41283
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
41284
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SecretManagerAccessApi.listUpstreamSecretsFromSecretProvider']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
41285
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
41286
|
+
});
|
|
41287
|
+
},
|
|
41288
|
+
};
|
|
41289
|
+
};
|
|
41290
|
+
exports.SecretManagerAccessApiFp = SecretManagerAccessApiFp;
|
|
41291
|
+
/**
|
|
41292
|
+
* SecretManagerAccessApi - factory interface
|
|
41293
|
+
* @export
|
|
41294
|
+
*/
|
|
41295
|
+
const SecretManagerAccessApiFactory = function (configuration, basePath, axios) {
|
|
41296
|
+
const localVarFp = (0, exports.SecretManagerAccessApiFp)(configuration);
|
|
41297
|
+
return {
|
|
41298
|
+
/**
|
|
41299
|
+
* List external secrets used by a secret manager access
|
|
41300
|
+
* @summary List external secrets used by a secret manager access
|
|
41301
|
+
* @param {string} secretManagerAccessId Secret Manager Access ID
|
|
41302
|
+
* @param {*} [options] Override http request option.
|
|
41303
|
+
* @throws {RequiredError}
|
|
41304
|
+
*/
|
|
41305
|
+
listSecretManagerAccessExternalSecrets(secretManagerAccessId, options) {
|
|
41306
|
+
return localVarFp.listSecretManagerAccessExternalSecrets(secretManagerAccessId, options).then((request) => request(axios, basePath));
|
|
41307
|
+
},
|
|
41308
|
+
/**
|
|
41309
|
+
* List upstream secrets from secret provider
|
|
41310
|
+
* @summary List upstream secrets from secret provider
|
|
41311
|
+
* @param {string} secretManagerAccessId Secret Manager Access ID
|
|
41312
|
+
* @param {string} [namePrefix]
|
|
41313
|
+
* @param {*} [options] Override http request option.
|
|
41314
|
+
* @throws {RequiredError}
|
|
41315
|
+
*/
|
|
41316
|
+
listUpstreamSecretsFromSecretProvider(secretManagerAccessId, namePrefix, options) {
|
|
41317
|
+
return localVarFp.listUpstreamSecretsFromSecretProvider(secretManagerAccessId, namePrefix, options).then((request) => request(axios, basePath));
|
|
41318
|
+
},
|
|
41319
|
+
};
|
|
41320
|
+
};
|
|
41321
|
+
exports.SecretManagerAccessApiFactory = SecretManagerAccessApiFactory;
|
|
41322
|
+
/**
|
|
41323
|
+
* SecretManagerAccessApi - object-oriented interface
|
|
41324
|
+
* @export
|
|
41325
|
+
* @class SecretManagerAccessApi
|
|
41326
|
+
* @extends {BaseAPI}
|
|
41327
|
+
*/
|
|
41328
|
+
class SecretManagerAccessApi extends base_1.BaseAPI {
|
|
41329
|
+
/**
|
|
41330
|
+
* List external secrets used by a secret manager access
|
|
41331
|
+
* @summary List external secrets used by a secret manager access
|
|
41332
|
+
* @param {string} secretManagerAccessId Secret Manager Access ID
|
|
41333
|
+
* @param {*} [options] Override http request option.
|
|
41334
|
+
* @throws {RequiredError}
|
|
41335
|
+
* @memberof SecretManagerAccessApi
|
|
41336
|
+
*/
|
|
41337
|
+
listSecretManagerAccessExternalSecrets(secretManagerAccessId, options) {
|
|
41338
|
+
return (0, exports.SecretManagerAccessApiFp)(this.configuration).listSecretManagerAccessExternalSecrets(secretManagerAccessId, options).then((request) => request(this.axios, this.basePath));
|
|
41339
|
+
}
|
|
41340
|
+
/**
|
|
41341
|
+
* List upstream secrets from secret provider
|
|
41342
|
+
* @summary List upstream secrets from secret provider
|
|
41343
|
+
* @param {string} secretManagerAccessId Secret Manager Access ID
|
|
41344
|
+
* @param {string} [namePrefix]
|
|
41345
|
+
* @param {*} [options] Override http request option.
|
|
41346
|
+
* @throws {RequiredError}
|
|
41347
|
+
* @memberof SecretManagerAccessApi
|
|
41348
|
+
*/
|
|
41349
|
+
listUpstreamSecretsFromSecretProvider(secretManagerAccessId, namePrefix, options) {
|
|
41350
|
+
return (0, exports.SecretManagerAccessApiFp)(this.configuration).listUpstreamSecretsFromSecretProvider(secretManagerAccessId, namePrefix, options).then((request) => request(this.axios, this.basePath));
|
|
41351
|
+
}
|
|
41352
|
+
}
|
|
41353
|
+
exports.SecretManagerAccessApi = SecretManagerAccessApi;
|
|
41167
41354
|
/**
|
|
41168
41355
|
* ServiceMainCallsApi - axios parameter creator
|
|
41169
41356
|
* @export
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -11376,6 +11376,80 @@ export interface EnvironmentVariableResponseList {
|
|
|
11376
11376
|
*/
|
|
11377
11377
|
'results'?: Array<EnvironmentVariable>;
|
|
11378
11378
|
}
|
|
11379
|
+
/**
|
|
11380
|
+
*
|
|
11381
|
+
* @export
|
|
11382
|
+
* @interface ExternalSecretAssociatedServiceResponse
|
|
11383
|
+
*/
|
|
11384
|
+
export interface ExternalSecretAssociatedServiceResponse {
|
|
11385
|
+
/**
|
|
11386
|
+
*
|
|
11387
|
+
* @type {string}
|
|
11388
|
+
* @memberof ExternalSecretAssociatedServiceResponse
|
|
11389
|
+
*/
|
|
11390
|
+
'project_id': string;
|
|
11391
|
+
/**
|
|
11392
|
+
*
|
|
11393
|
+
* @type {string}
|
|
11394
|
+
* @memberof ExternalSecretAssociatedServiceResponse
|
|
11395
|
+
*/
|
|
11396
|
+
'project_name': string;
|
|
11397
|
+
/**
|
|
11398
|
+
*
|
|
11399
|
+
* @type {string}
|
|
11400
|
+
* @memberof ExternalSecretAssociatedServiceResponse
|
|
11401
|
+
*/
|
|
11402
|
+
'environment_id': string;
|
|
11403
|
+
/**
|
|
11404
|
+
*
|
|
11405
|
+
* @type {string}
|
|
11406
|
+
* @memberof ExternalSecretAssociatedServiceResponse
|
|
11407
|
+
*/
|
|
11408
|
+
'environment_name': string;
|
|
11409
|
+
/**
|
|
11410
|
+
*
|
|
11411
|
+
* @type {string}
|
|
11412
|
+
* @memberof ExternalSecretAssociatedServiceResponse
|
|
11413
|
+
*/
|
|
11414
|
+
'service_id'?: string;
|
|
11415
|
+
/**
|
|
11416
|
+
*
|
|
11417
|
+
* @type {string}
|
|
11418
|
+
* @memberof ExternalSecretAssociatedServiceResponse
|
|
11419
|
+
*/
|
|
11420
|
+
'service_name'?: string;
|
|
11421
|
+
/**
|
|
11422
|
+
*
|
|
11423
|
+
* @type {APIVariableScopeEnum}
|
|
11424
|
+
* @memberof ExternalSecretAssociatedServiceResponse
|
|
11425
|
+
*/
|
|
11426
|
+
'service_type'?: APIVariableScopeEnum;
|
|
11427
|
+
/**
|
|
11428
|
+
*
|
|
11429
|
+
* @type {string}
|
|
11430
|
+
* @memberof ExternalSecretAssociatedServiceResponse
|
|
11431
|
+
*/
|
|
11432
|
+
'variable_name': string;
|
|
11433
|
+
/**
|
|
11434
|
+
*
|
|
11435
|
+
* @type {string}
|
|
11436
|
+
* @memberof ExternalSecretAssociatedServiceResponse
|
|
11437
|
+
*/
|
|
11438
|
+
'external_secret_name': string;
|
|
11439
|
+
}
|
|
11440
|
+
/**
|
|
11441
|
+
*
|
|
11442
|
+
* @export
|
|
11443
|
+
* @interface ExternalSecretAssociatedServiceResponseList
|
|
11444
|
+
*/
|
|
11445
|
+
export interface ExternalSecretAssociatedServiceResponseList {
|
|
11446
|
+
/**
|
|
11447
|
+
*
|
|
11448
|
+
* @type {Array<ExternalSecretAssociatedServiceResponse>}
|
|
11449
|
+
* @memberof ExternalSecretAssociatedServiceResponseList
|
|
11450
|
+
*/
|
|
11451
|
+
'results': Array<ExternalSecretAssociatedServiceResponse>;
|
|
11452
|
+
}
|
|
11379
11453
|
/**
|
|
11380
11454
|
*
|
|
11381
11455
|
* @export
|
|
@@ -18734,6 +18808,19 @@ export interface ProjectStatsResponseList {
|
|
|
18734
18808
|
*/
|
|
18735
18809
|
'results'?: Array<ProjectStats>;
|
|
18736
18810
|
}
|
|
18811
|
+
/**
|
|
18812
|
+
*
|
|
18813
|
+
* @export
|
|
18814
|
+
* @interface ProviderSecrets
|
|
18815
|
+
*/
|
|
18816
|
+
export interface ProviderSecrets {
|
|
18817
|
+
/**
|
|
18818
|
+
*
|
|
18819
|
+
* @type {Array<string>}
|
|
18820
|
+
* @memberof ProviderSecrets
|
|
18821
|
+
*/
|
|
18822
|
+
'results': Array<string>;
|
|
18823
|
+
}
|
|
18737
18824
|
/**
|
|
18738
18825
|
*
|
|
18739
18826
|
* @export
|
|
@@ -42319,6 +42406,102 @@ export declare class ReferralRewardsApi extends BaseAPI {
|
|
|
42319
42406
|
*/
|
|
42320
42407
|
postAccountRewardClaim(rewardClaim?: RewardClaim, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
42321
42408
|
}
|
|
42409
|
+
/**
|
|
42410
|
+
* SecretManagerAccessApi - axios parameter creator
|
|
42411
|
+
* @export
|
|
42412
|
+
*/
|
|
42413
|
+
export declare const SecretManagerAccessApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
42414
|
+
/**
|
|
42415
|
+
* List external secrets used by a secret manager access
|
|
42416
|
+
* @summary List external secrets used by a secret manager access
|
|
42417
|
+
* @param {string} secretManagerAccessId Secret Manager Access ID
|
|
42418
|
+
* @param {*} [options] Override http request option.
|
|
42419
|
+
* @throws {RequiredError}
|
|
42420
|
+
*/
|
|
42421
|
+
listSecretManagerAccessExternalSecrets: (secretManagerAccessId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
42422
|
+
/**
|
|
42423
|
+
* List upstream secrets from secret provider
|
|
42424
|
+
* @summary List upstream secrets from secret provider
|
|
42425
|
+
* @param {string} secretManagerAccessId Secret Manager Access ID
|
|
42426
|
+
* @param {string} [namePrefix]
|
|
42427
|
+
* @param {*} [options] Override http request option.
|
|
42428
|
+
* @throws {RequiredError}
|
|
42429
|
+
*/
|
|
42430
|
+
listUpstreamSecretsFromSecretProvider: (secretManagerAccessId: string, namePrefix?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
42431
|
+
};
|
|
42432
|
+
/**
|
|
42433
|
+
* SecretManagerAccessApi - functional programming interface
|
|
42434
|
+
* @export
|
|
42435
|
+
*/
|
|
42436
|
+
export declare const SecretManagerAccessApiFp: (configuration?: Configuration) => {
|
|
42437
|
+
/**
|
|
42438
|
+
* List external secrets used by a secret manager access
|
|
42439
|
+
* @summary List external secrets used by a secret manager access
|
|
42440
|
+
* @param {string} secretManagerAccessId Secret Manager Access ID
|
|
42441
|
+
* @param {*} [options] Override http request option.
|
|
42442
|
+
* @throws {RequiredError}
|
|
42443
|
+
*/
|
|
42444
|
+
listSecretManagerAccessExternalSecrets(secretManagerAccessId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ExternalSecretAssociatedServiceResponseList>>;
|
|
42445
|
+
/**
|
|
42446
|
+
* List upstream secrets from secret provider
|
|
42447
|
+
* @summary List upstream secrets from secret provider
|
|
42448
|
+
* @param {string} secretManagerAccessId Secret Manager Access ID
|
|
42449
|
+
* @param {string} [namePrefix]
|
|
42450
|
+
* @param {*} [options] Override http request option.
|
|
42451
|
+
* @throws {RequiredError}
|
|
42452
|
+
*/
|
|
42453
|
+
listUpstreamSecretsFromSecretProvider(secretManagerAccessId: string, namePrefix?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProviderSecrets>>;
|
|
42454
|
+
};
|
|
42455
|
+
/**
|
|
42456
|
+
* SecretManagerAccessApi - factory interface
|
|
42457
|
+
* @export
|
|
42458
|
+
*/
|
|
42459
|
+
export declare const SecretManagerAccessApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
42460
|
+
/**
|
|
42461
|
+
* List external secrets used by a secret manager access
|
|
42462
|
+
* @summary List external secrets used by a secret manager access
|
|
42463
|
+
* @param {string} secretManagerAccessId Secret Manager Access ID
|
|
42464
|
+
* @param {*} [options] Override http request option.
|
|
42465
|
+
* @throws {RequiredError}
|
|
42466
|
+
*/
|
|
42467
|
+
listSecretManagerAccessExternalSecrets(secretManagerAccessId: string, options?: RawAxiosRequestConfig): AxiosPromise<ExternalSecretAssociatedServiceResponseList>;
|
|
42468
|
+
/**
|
|
42469
|
+
* List upstream secrets from secret provider
|
|
42470
|
+
* @summary List upstream secrets from secret provider
|
|
42471
|
+
* @param {string} secretManagerAccessId Secret Manager Access ID
|
|
42472
|
+
* @param {string} [namePrefix]
|
|
42473
|
+
* @param {*} [options] Override http request option.
|
|
42474
|
+
* @throws {RequiredError}
|
|
42475
|
+
*/
|
|
42476
|
+
listUpstreamSecretsFromSecretProvider(secretManagerAccessId: string, namePrefix?: string, options?: RawAxiosRequestConfig): AxiosPromise<ProviderSecrets>;
|
|
42477
|
+
};
|
|
42478
|
+
/**
|
|
42479
|
+
* SecretManagerAccessApi - object-oriented interface
|
|
42480
|
+
* @export
|
|
42481
|
+
* @class SecretManagerAccessApi
|
|
42482
|
+
* @extends {BaseAPI}
|
|
42483
|
+
*/
|
|
42484
|
+
export declare class SecretManagerAccessApi extends BaseAPI {
|
|
42485
|
+
/**
|
|
42486
|
+
* List external secrets used by a secret manager access
|
|
42487
|
+
* @summary List external secrets used by a secret manager access
|
|
42488
|
+
* @param {string} secretManagerAccessId Secret Manager Access ID
|
|
42489
|
+
* @param {*} [options] Override http request option.
|
|
42490
|
+
* @throws {RequiredError}
|
|
42491
|
+
* @memberof SecretManagerAccessApi
|
|
42492
|
+
*/
|
|
42493
|
+
listSecretManagerAccessExternalSecrets(secretManagerAccessId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ExternalSecretAssociatedServiceResponseList, any, {}>>;
|
|
42494
|
+
/**
|
|
42495
|
+
* List upstream secrets from secret provider
|
|
42496
|
+
* @summary List upstream secrets from secret provider
|
|
42497
|
+
* @param {string} secretManagerAccessId Secret Manager Access ID
|
|
42498
|
+
* @param {string} [namePrefix]
|
|
42499
|
+
* @param {*} [options] Override http request option.
|
|
42500
|
+
* @throws {RequiredError}
|
|
42501
|
+
* @memberof SecretManagerAccessApi
|
|
42502
|
+
*/
|
|
42503
|
+
listUpstreamSecretsFromSecretProvider(secretManagerAccessId: string, namePrefix?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProviderSecrets, any, {}>>;
|
|
42504
|
+
}
|
|
42322
42505
|
/**
|
|
42323
42506
|
* ServiceMainCallsApi - axios parameter creator
|
|
42324
42507
|
* @export
|
package/dist/esm/api.js
CHANGED
|
@@ -40819,6 +40819,189 @@ export class ReferralRewardsApi extends BaseAPI {
|
|
|
40819
40819
|
return ReferralRewardsApiFp(this.configuration).postAccountRewardClaim(rewardClaim, options).then((request) => request(this.axios, this.basePath));
|
|
40820
40820
|
}
|
|
40821
40821
|
}
|
|
40822
|
+
/**
|
|
40823
|
+
* SecretManagerAccessApi - axios parameter creator
|
|
40824
|
+
* @export
|
|
40825
|
+
*/
|
|
40826
|
+
export const SecretManagerAccessApiAxiosParamCreator = function (configuration) {
|
|
40827
|
+
return {
|
|
40828
|
+
/**
|
|
40829
|
+
* List external secrets used by a secret manager access
|
|
40830
|
+
* @summary List external secrets used by a secret manager access
|
|
40831
|
+
* @param {string} secretManagerAccessId Secret Manager Access ID
|
|
40832
|
+
* @param {*} [options] Override http request option.
|
|
40833
|
+
* @throws {RequiredError}
|
|
40834
|
+
*/
|
|
40835
|
+
listSecretManagerAccessExternalSecrets: (secretManagerAccessId_1, ...args_1) => __awaiter(this, [secretManagerAccessId_1, ...args_1], void 0, function* (secretManagerAccessId, options = {}) {
|
|
40836
|
+
// verify required parameter 'secretManagerAccessId' is not null or undefined
|
|
40837
|
+
assertParamExists('listSecretManagerAccessExternalSecrets', 'secretManagerAccessId', secretManagerAccessId);
|
|
40838
|
+
const localVarPath = `/api/secretManagerAccess/{secretManagerAccessId}/associatedServices`
|
|
40839
|
+
.replace(`{${"secretManagerAccessId"}}`, encodeURIComponent(String(secretManagerAccessId)));
|
|
40840
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
40841
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
40842
|
+
let baseOptions;
|
|
40843
|
+
if (configuration) {
|
|
40844
|
+
baseOptions = configuration.baseOptions;
|
|
40845
|
+
}
|
|
40846
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
40847
|
+
const localVarHeaderParameter = {};
|
|
40848
|
+
const localVarQueryParameter = {};
|
|
40849
|
+
// authentication ApiKeyAuth required
|
|
40850
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
40851
|
+
// authentication bearerAuth required
|
|
40852
|
+
// http bearer authentication required
|
|
40853
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
40854
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
40855
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
40856
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
40857
|
+
return {
|
|
40858
|
+
url: toPathString(localVarUrlObj),
|
|
40859
|
+
options: localVarRequestOptions,
|
|
40860
|
+
};
|
|
40861
|
+
}),
|
|
40862
|
+
/**
|
|
40863
|
+
* List upstream secrets from secret provider
|
|
40864
|
+
* @summary List upstream secrets from secret provider
|
|
40865
|
+
* @param {string} secretManagerAccessId Secret Manager Access ID
|
|
40866
|
+
* @param {string} [namePrefix]
|
|
40867
|
+
* @param {*} [options] Override http request option.
|
|
40868
|
+
* @throws {RequiredError}
|
|
40869
|
+
*/
|
|
40870
|
+
listUpstreamSecretsFromSecretProvider: (secretManagerAccessId_1, namePrefix_1, ...args_1) => __awaiter(this, [secretManagerAccessId_1, namePrefix_1, ...args_1], void 0, function* (secretManagerAccessId, namePrefix, options = {}) {
|
|
40871
|
+
// verify required parameter 'secretManagerAccessId' is not null or undefined
|
|
40872
|
+
assertParamExists('listUpstreamSecretsFromSecretProvider', 'secretManagerAccessId', secretManagerAccessId);
|
|
40873
|
+
const localVarPath = `/api/secretManagerAccess/{secretManagerAccessId}/secrets`
|
|
40874
|
+
.replace(`{${"secretManagerAccessId"}}`, encodeURIComponent(String(secretManagerAccessId)));
|
|
40875
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
40876
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
40877
|
+
let baseOptions;
|
|
40878
|
+
if (configuration) {
|
|
40879
|
+
baseOptions = configuration.baseOptions;
|
|
40880
|
+
}
|
|
40881
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
40882
|
+
const localVarHeaderParameter = {};
|
|
40883
|
+
const localVarQueryParameter = {};
|
|
40884
|
+
// authentication ApiKeyAuth required
|
|
40885
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
40886
|
+
// authentication bearerAuth required
|
|
40887
|
+
// http bearer authentication required
|
|
40888
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
40889
|
+
if (namePrefix !== undefined) {
|
|
40890
|
+
localVarQueryParameter['namePrefix'] = namePrefix;
|
|
40891
|
+
}
|
|
40892
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
40893
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
40894
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
40895
|
+
return {
|
|
40896
|
+
url: toPathString(localVarUrlObj),
|
|
40897
|
+
options: localVarRequestOptions,
|
|
40898
|
+
};
|
|
40899
|
+
}),
|
|
40900
|
+
};
|
|
40901
|
+
};
|
|
40902
|
+
/**
|
|
40903
|
+
* SecretManagerAccessApi - functional programming interface
|
|
40904
|
+
* @export
|
|
40905
|
+
*/
|
|
40906
|
+
export const SecretManagerAccessApiFp = function (configuration) {
|
|
40907
|
+
const localVarAxiosParamCreator = SecretManagerAccessApiAxiosParamCreator(configuration);
|
|
40908
|
+
return {
|
|
40909
|
+
/**
|
|
40910
|
+
* List external secrets used by a secret manager access
|
|
40911
|
+
* @summary List external secrets used by a secret manager access
|
|
40912
|
+
* @param {string} secretManagerAccessId Secret Manager Access ID
|
|
40913
|
+
* @param {*} [options] Override http request option.
|
|
40914
|
+
* @throws {RequiredError}
|
|
40915
|
+
*/
|
|
40916
|
+
listSecretManagerAccessExternalSecrets(secretManagerAccessId, options) {
|
|
40917
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
40918
|
+
var _a, _b, _c;
|
|
40919
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listSecretManagerAccessExternalSecrets(secretManagerAccessId, options);
|
|
40920
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
40921
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SecretManagerAccessApi.listSecretManagerAccessExternalSecrets']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
40922
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
40923
|
+
});
|
|
40924
|
+
},
|
|
40925
|
+
/**
|
|
40926
|
+
* List upstream secrets from secret provider
|
|
40927
|
+
* @summary List upstream secrets from secret provider
|
|
40928
|
+
* @param {string} secretManagerAccessId Secret Manager Access ID
|
|
40929
|
+
* @param {string} [namePrefix]
|
|
40930
|
+
* @param {*} [options] Override http request option.
|
|
40931
|
+
* @throws {RequiredError}
|
|
40932
|
+
*/
|
|
40933
|
+
listUpstreamSecretsFromSecretProvider(secretManagerAccessId, namePrefix, options) {
|
|
40934
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
40935
|
+
var _a, _b, _c;
|
|
40936
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listUpstreamSecretsFromSecretProvider(secretManagerAccessId, namePrefix, options);
|
|
40937
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
40938
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SecretManagerAccessApi.listUpstreamSecretsFromSecretProvider']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
40939
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
40940
|
+
});
|
|
40941
|
+
},
|
|
40942
|
+
};
|
|
40943
|
+
};
|
|
40944
|
+
/**
|
|
40945
|
+
* SecretManagerAccessApi - factory interface
|
|
40946
|
+
* @export
|
|
40947
|
+
*/
|
|
40948
|
+
export const SecretManagerAccessApiFactory = function (configuration, basePath, axios) {
|
|
40949
|
+
const localVarFp = SecretManagerAccessApiFp(configuration);
|
|
40950
|
+
return {
|
|
40951
|
+
/**
|
|
40952
|
+
* List external secrets used by a secret manager access
|
|
40953
|
+
* @summary List external secrets used by a secret manager access
|
|
40954
|
+
* @param {string} secretManagerAccessId Secret Manager Access ID
|
|
40955
|
+
* @param {*} [options] Override http request option.
|
|
40956
|
+
* @throws {RequiredError}
|
|
40957
|
+
*/
|
|
40958
|
+
listSecretManagerAccessExternalSecrets(secretManagerAccessId, options) {
|
|
40959
|
+
return localVarFp.listSecretManagerAccessExternalSecrets(secretManagerAccessId, options).then((request) => request(axios, basePath));
|
|
40960
|
+
},
|
|
40961
|
+
/**
|
|
40962
|
+
* List upstream secrets from secret provider
|
|
40963
|
+
* @summary List upstream secrets from secret provider
|
|
40964
|
+
* @param {string} secretManagerAccessId Secret Manager Access ID
|
|
40965
|
+
* @param {string} [namePrefix]
|
|
40966
|
+
* @param {*} [options] Override http request option.
|
|
40967
|
+
* @throws {RequiredError}
|
|
40968
|
+
*/
|
|
40969
|
+
listUpstreamSecretsFromSecretProvider(secretManagerAccessId, namePrefix, options) {
|
|
40970
|
+
return localVarFp.listUpstreamSecretsFromSecretProvider(secretManagerAccessId, namePrefix, options).then((request) => request(axios, basePath));
|
|
40971
|
+
},
|
|
40972
|
+
};
|
|
40973
|
+
};
|
|
40974
|
+
/**
|
|
40975
|
+
* SecretManagerAccessApi - object-oriented interface
|
|
40976
|
+
* @export
|
|
40977
|
+
* @class SecretManagerAccessApi
|
|
40978
|
+
* @extends {BaseAPI}
|
|
40979
|
+
*/
|
|
40980
|
+
export class SecretManagerAccessApi extends BaseAPI {
|
|
40981
|
+
/**
|
|
40982
|
+
* List external secrets used by a secret manager access
|
|
40983
|
+
* @summary List external secrets used by a secret manager access
|
|
40984
|
+
* @param {string} secretManagerAccessId Secret Manager Access ID
|
|
40985
|
+
* @param {*} [options] Override http request option.
|
|
40986
|
+
* @throws {RequiredError}
|
|
40987
|
+
* @memberof SecretManagerAccessApi
|
|
40988
|
+
*/
|
|
40989
|
+
listSecretManagerAccessExternalSecrets(secretManagerAccessId, options) {
|
|
40990
|
+
return SecretManagerAccessApiFp(this.configuration).listSecretManagerAccessExternalSecrets(secretManagerAccessId, options).then((request) => request(this.axios, this.basePath));
|
|
40991
|
+
}
|
|
40992
|
+
/**
|
|
40993
|
+
* List upstream secrets from secret provider
|
|
40994
|
+
* @summary List upstream secrets from secret provider
|
|
40995
|
+
* @param {string} secretManagerAccessId Secret Manager Access ID
|
|
40996
|
+
* @param {string} [namePrefix]
|
|
40997
|
+
* @param {*} [options] Override http request option.
|
|
40998
|
+
* @throws {RequiredError}
|
|
40999
|
+
* @memberof SecretManagerAccessApi
|
|
41000
|
+
*/
|
|
41001
|
+
listUpstreamSecretsFromSecretProvider(secretManagerAccessId, namePrefix, options) {
|
|
41002
|
+
return SecretManagerAccessApiFp(this.configuration).listUpstreamSecretsFromSecretProvider(secretManagerAccessId, namePrefix, options).then((request) => request(this.axios, this.basePath));
|
|
41003
|
+
}
|
|
41004
|
+
}
|
|
40822
41005
|
/**
|
|
40823
41006
|
* ServiceMainCallsApi - axios parameter creator
|
|
40824
41007
|
* @export
|