qovery-typescript-axios 1.1.418 → 1.1.419
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 +123 -0
- package/dist/api.d.ts +73 -0
- package/dist/api.js +84 -0
- package/dist/esm/api.d.ts +73 -0
- package/dist/esm/api.js +84 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -4215,6 +4215,38 @@ export interface ContainerSource {
|
|
|
4215
4215
|
*/
|
|
4216
4216
|
'registry': ContainerRegistryProviderDetailsResponse;
|
|
4217
4217
|
}
|
|
4218
|
+
/**
|
|
4219
|
+
*
|
|
4220
|
+
* @export
|
|
4221
|
+
* @interface ContainerVersionResponse
|
|
4222
|
+
*/
|
|
4223
|
+
export interface ContainerVersionResponse {
|
|
4224
|
+
/**
|
|
4225
|
+
*
|
|
4226
|
+
* @type {string}
|
|
4227
|
+
* @memberof ContainerVersionResponse
|
|
4228
|
+
*/
|
|
4229
|
+
'image_name'?: string;
|
|
4230
|
+
/**
|
|
4231
|
+
*
|
|
4232
|
+
* @type {Array<string>}
|
|
4233
|
+
* @memberof ContainerVersionResponse
|
|
4234
|
+
*/
|
|
4235
|
+
'versions'?: Array<string>;
|
|
4236
|
+
}
|
|
4237
|
+
/**
|
|
4238
|
+
*
|
|
4239
|
+
* @export
|
|
4240
|
+
* @interface ContainerVersionResponseList
|
|
4241
|
+
*/
|
|
4242
|
+
export interface ContainerVersionResponseList {
|
|
4243
|
+
/**
|
|
4244
|
+
*
|
|
4245
|
+
* @type {Array<ContainerVersionResponse>}
|
|
4246
|
+
* @memberof ContainerVersionResponseList
|
|
4247
|
+
*/
|
|
4248
|
+
'results'?: Array<ContainerVersionResponse>;
|
|
4249
|
+
}
|
|
4218
4250
|
/**
|
|
4219
4251
|
*
|
|
4220
4252
|
* @export
|
|
@@ -26772,6 +26804,58 @@ export const ContainerRegistriesApiAxiosParamCreator = function (configuration?:
|
|
|
26772
26804
|
|
|
26773
26805
|
|
|
26774
26806
|
|
|
26807
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26808
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26809
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
26810
|
+
|
|
26811
|
+
return {
|
|
26812
|
+
url: toPathString(localVarUrlObj),
|
|
26813
|
+
options: localVarRequestOptions,
|
|
26814
|
+
};
|
|
26815
|
+
},
|
|
26816
|
+
/**
|
|
26817
|
+
*
|
|
26818
|
+
* @summary List image version for a container registry
|
|
26819
|
+
* @param {string} organizationId Organization ID
|
|
26820
|
+
* @param {string} containerRegistryId Container Registry ID
|
|
26821
|
+
* @param {string} imageName container image name
|
|
26822
|
+
* @param {*} [options] Override http request option.
|
|
26823
|
+
* @throws {RequiredError}
|
|
26824
|
+
*/
|
|
26825
|
+
getContainerVersions: async (organizationId: string, containerRegistryId: string, imageName: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
26826
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
26827
|
+
assertParamExists('getContainerVersions', 'organizationId', organizationId)
|
|
26828
|
+
// verify required parameter 'containerRegistryId' is not null or undefined
|
|
26829
|
+
assertParamExists('getContainerVersions', 'containerRegistryId', containerRegistryId)
|
|
26830
|
+
// verify required parameter 'imageName' is not null or undefined
|
|
26831
|
+
assertParamExists('getContainerVersions', 'imageName', imageName)
|
|
26832
|
+
const localVarPath = `/organization/{organizationId}/containerRegistry/{containerRegistryId}/images`
|
|
26833
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
26834
|
+
.replace(`{${"containerRegistryId"}}`, encodeURIComponent(String(containerRegistryId)));
|
|
26835
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
26836
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
26837
|
+
let baseOptions;
|
|
26838
|
+
if (configuration) {
|
|
26839
|
+
baseOptions = configuration.baseOptions;
|
|
26840
|
+
}
|
|
26841
|
+
|
|
26842
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
26843
|
+
const localVarHeaderParameter = {} as any;
|
|
26844
|
+
const localVarQueryParameter = {} as any;
|
|
26845
|
+
|
|
26846
|
+
// authentication ApiKeyAuth required
|
|
26847
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
26848
|
+
|
|
26849
|
+
// authentication bearerAuth required
|
|
26850
|
+
// http bearer authentication required
|
|
26851
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
26852
|
+
|
|
26853
|
+
if (imageName !== undefined) {
|
|
26854
|
+
localVarQueryParameter['imageName'] = imageName;
|
|
26855
|
+
}
|
|
26856
|
+
|
|
26857
|
+
|
|
26858
|
+
|
|
26775
26859
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26776
26860
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26777
26861
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -26918,6 +27002,19 @@ export const ContainerRegistriesApiFp = function(configuration?: Configuration)
|
|
|
26918
27002
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getContainerRegistry(organizationId, containerRegistryId, options);
|
|
26919
27003
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
26920
27004
|
},
|
|
27005
|
+
/**
|
|
27006
|
+
*
|
|
27007
|
+
* @summary List image version for a container registry
|
|
27008
|
+
* @param {string} organizationId Organization ID
|
|
27009
|
+
* @param {string} containerRegistryId Container Registry ID
|
|
27010
|
+
* @param {string} imageName container image name
|
|
27011
|
+
* @param {*} [options] Override http request option.
|
|
27012
|
+
* @throws {RequiredError}
|
|
27013
|
+
*/
|
|
27014
|
+
async getContainerVersions(organizationId: string, containerRegistryId: string, imageName: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContainerVersionResponseList>> {
|
|
27015
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getContainerVersions(organizationId, containerRegistryId, imageName, options);
|
|
27016
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
27017
|
+
},
|
|
26921
27018
|
/**
|
|
26922
27019
|
* List supported container registries by Qovery and get the mandatory authentification configuration.
|
|
26923
27020
|
* @summary List supported container registries
|
|
@@ -26994,6 +27091,18 @@ export const ContainerRegistriesApiFactory = function (configuration?: Configura
|
|
|
26994
27091
|
getContainerRegistry(organizationId: string, containerRegistryId: string, options?: any): AxiosPromise<ContainerRegistryResponse> {
|
|
26995
27092
|
return localVarFp.getContainerRegistry(organizationId, containerRegistryId, options).then((request) => request(axios, basePath));
|
|
26996
27093
|
},
|
|
27094
|
+
/**
|
|
27095
|
+
*
|
|
27096
|
+
* @summary List image version for a container registry
|
|
27097
|
+
* @param {string} organizationId Organization ID
|
|
27098
|
+
* @param {string} containerRegistryId Container Registry ID
|
|
27099
|
+
* @param {string} imageName container image name
|
|
27100
|
+
* @param {*} [options] Override http request option.
|
|
27101
|
+
* @throws {RequiredError}
|
|
27102
|
+
*/
|
|
27103
|
+
getContainerVersions(organizationId: string, containerRegistryId: string, imageName: string, options?: any): AxiosPromise<ContainerVersionResponseList> {
|
|
27104
|
+
return localVarFp.getContainerVersions(organizationId, containerRegistryId, imageName, options).then((request) => request(axios, basePath));
|
|
27105
|
+
},
|
|
26997
27106
|
/**
|
|
26998
27107
|
* List supported container registries by Qovery and get the mandatory authentification configuration.
|
|
26999
27108
|
* @summary List supported container registries
|
|
@@ -27076,6 +27185,20 @@ export class ContainerRegistriesApi extends BaseAPI {
|
|
|
27076
27185
|
return ContainerRegistriesApiFp(this.configuration).getContainerRegistry(organizationId, containerRegistryId, options).then((request) => request(this.axios, this.basePath));
|
|
27077
27186
|
}
|
|
27078
27187
|
|
|
27188
|
+
/**
|
|
27189
|
+
*
|
|
27190
|
+
* @summary List image version for a container registry
|
|
27191
|
+
* @param {string} organizationId Organization ID
|
|
27192
|
+
* @param {string} containerRegistryId Container Registry ID
|
|
27193
|
+
* @param {string} imageName container image name
|
|
27194
|
+
* @param {*} [options] Override http request option.
|
|
27195
|
+
* @throws {RequiredError}
|
|
27196
|
+
* @memberof ContainerRegistriesApi
|
|
27197
|
+
*/
|
|
27198
|
+
public getContainerVersions(organizationId: string, containerRegistryId: string, imageName: string, options?: AxiosRequestConfig) {
|
|
27199
|
+
return ContainerRegistriesApiFp(this.configuration).getContainerVersions(organizationId, containerRegistryId, imageName, options).then((request) => request(this.axios, this.basePath));
|
|
27200
|
+
}
|
|
27201
|
+
|
|
27079
27202
|
/**
|
|
27080
27203
|
* List supported container registries by Qovery and get the mandatory authentification configuration.
|
|
27081
27204
|
* @summary List supported container registries
|
package/dist/api.d.ts
CHANGED
|
@@ -4110,6 +4110,38 @@ export interface ContainerSource {
|
|
|
4110
4110
|
*/
|
|
4111
4111
|
'registry': ContainerRegistryProviderDetailsResponse;
|
|
4112
4112
|
}
|
|
4113
|
+
/**
|
|
4114
|
+
*
|
|
4115
|
+
* @export
|
|
4116
|
+
* @interface ContainerVersionResponse
|
|
4117
|
+
*/
|
|
4118
|
+
export interface ContainerVersionResponse {
|
|
4119
|
+
/**
|
|
4120
|
+
*
|
|
4121
|
+
* @type {string}
|
|
4122
|
+
* @memberof ContainerVersionResponse
|
|
4123
|
+
*/
|
|
4124
|
+
'image_name'?: string;
|
|
4125
|
+
/**
|
|
4126
|
+
*
|
|
4127
|
+
* @type {Array<string>}
|
|
4128
|
+
* @memberof ContainerVersionResponse
|
|
4129
|
+
*/
|
|
4130
|
+
'versions'?: Array<string>;
|
|
4131
|
+
}
|
|
4132
|
+
/**
|
|
4133
|
+
*
|
|
4134
|
+
* @export
|
|
4135
|
+
* @interface ContainerVersionResponseList
|
|
4136
|
+
*/
|
|
4137
|
+
export interface ContainerVersionResponseList {
|
|
4138
|
+
/**
|
|
4139
|
+
*
|
|
4140
|
+
* @type {Array<ContainerVersionResponse>}
|
|
4141
|
+
* @memberof ContainerVersionResponseList
|
|
4142
|
+
*/
|
|
4143
|
+
'results'?: Array<ContainerVersionResponse>;
|
|
4144
|
+
}
|
|
4113
4145
|
/**
|
|
4114
4146
|
*
|
|
4115
4147
|
* @export
|
|
@@ -19663,6 +19695,16 @@ export declare const ContainerRegistriesApiAxiosParamCreator: (configuration?: C
|
|
|
19663
19695
|
* @throws {RequiredError}
|
|
19664
19696
|
*/
|
|
19665
19697
|
getContainerRegistry: (organizationId: string, containerRegistryId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
19698
|
+
/**
|
|
19699
|
+
*
|
|
19700
|
+
* @summary List image version for a container registry
|
|
19701
|
+
* @param {string} organizationId Organization ID
|
|
19702
|
+
* @param {string} containerRegistryId Container Registry ID
|
|
19703
|
+
* @param {string} imageName container image name
|
|
19704
|
+
* @param {*} [options] Override http request option.
|
|
19705
|
+
* @throws {RequiredError}
|
|
19706
|
+
*/
|
|
19707
|
+
getContainerVersions: (organizationId: string, containerRegistryId: string, imageName: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
19666
19708
|
/**
|
|
19667
19709
|
* List supported container registries by Qovery and get the mandatory authentification configuration.
|
|
19668
19710
|
* @summary List supported container registries
|
|
@@ -19721,6 +19763,16 @@ export declare const ContainerRegistriesApiFp: (configuration?: Configuration) =
|
|
|
19721
19763
|
* @throws {RequiredError}
|
|
19722
19764
|
*/
|
|
19723
19765
|
getContainerRegistry(organizationId: string, containerRegistryId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContainerRegistryResponse>>;
|
|
19766
|
+
/**
|
|
19767
|
+
*
|
|
19768
|
+
* @summary List image version for a container registry
|
|
19769
|
+
* @param {string} organizationId Organization ID
|
|
19770
|
+
* @param {string} containerRegistryId Container Registry ID
|
|
19771
|
+
* @param {string} imageName container image name
|
|
19772
|
+
* @param {*} [options] Override http request option.
|
|
19773
|
+
* @throws {RequiredError}
|
|
19774
|
+
*/
|
|
19775
|
+
getContainerVersions(organizationId: string, containerRegistryId: string, imageName: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContainerVersionResponseList>>;
|
|
19724
19776
|
/**
|
|
19725
19777
|
* List supported container registries by Qovery and get the mandatory authentification configuration.
|
|
19726
19778
|
* @summary List supported container registries
|
|
@@ -19779,6 +19831,16 @@ export declare const ContainerRegistriesApiFactory: (configuration?: Configurati
|
|
|
19779
19831
|
* @throws {RequiredError}
|
|
19780
19832
|
*/
|
|
19781
19833
|
getContainerRegistry(organizationId: string, containerRegistryId: string, options?: any): AxiosPromise<ContainerRegistryResponse>;
|
|
19834
|
+
/**
|
|
19835
|
+
*
|
|
19836
|
+
* @summary List image version for a container registry
|
|
19837
|
+
* @param {string} organizationId Organization ID
|
|
19838
|
+
* @param {string} containerRegistryId Container Registry ID
|
|
19839
|
+
* @param {string} imageName container image name
|
|
19840
|
+
* @param {*} [options] Override http request option.
|
|
19841
|
+
* @throws {RequiredError}
|
|
19842
|
+
*/
|
|
19843
|
+
getContainerVersions(organizationId: string, containerRegistryId: string, imageName: string, options?: any): AxiosPromise<ContainerVersionResponseList>;
|
|
19782
19844
|
/**
|
|
19783
19845
|
* List supported container registries by Qovery and get the mandatory authentification configuration.
|
|
19784
19846
|
* @summary List supported container registries
|
|
@@ -19843,6 +19905,17 @@ export declare class ContainerRegistriesApi extends BaseAPI {
|
|
|
19843
19905
|
* @memberof ContainerRegistriesApi
|
|
19844
19906
|
*/
|
|
19845
19907
|
getContainerRegistry(organizationId: string, containerRegistryId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ContainerRegistryResponse, any>>;
|
|
19908
|
+
/**
|
|
19909
|
+
*
|
|
19910
|
+
* @summary List image version for a container registry
|
|
19911
|
+
* @param {string} organizationId Organization ID
|
|
19912
|
+
* @param {string} containerRegistryId Container Registry ID
|
|
19913
|
+
* @param {string} imageName container image name
|
|
19914
|
+
* @param {*} [options] Override http request option.
|
|
19915
|
+
* @throws {RequiredError}
|
|
19916
|
+
* @memberof ContainerRegistriesApi
|
|
19917
|
+
*/
|
|
19918
|
+
getContainerVersions(organizationId: string, containerRegistryId: string, imageName: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ContainerVersionResponseList, any>>;
|
|
19846
19919
|
/**
|
|
19847
19920
|
* List supported container registries by Qovery and get the mandatory authentification configuration.
|
|
19848
19921
|
* @summary List supported container registries
|
package/dist/api.js
CHANGED
|
@@ -12277,6 +12277,50 @@ const ContainerRegistriesApiAxiosParamCreator = function (configuration) {
|
|
|
12277
12277
|
options: localVarRequestOptions,
|
|
12278
12278
|
};
|
|
12279
12279
|
}),
|
|
12280
|
+
/**
|
|
12281
|
+
*
|
|
12282
|
+
* @summary List image version for a container registry
|
|
12283
|
+
* @param {string} organizationId Organization ID
|
|
12284
|
+
* @param {string} containerRegistryId Container Registry ID
|
|
12285
|
+
* @param {string} imageName container image name
|
|
12286
|
+
* @param {*} [options] Override http request option.
|
|
12287
|
+
* @throws {RequiredError}
|
|
12288
|
+
*/
|
|
12289
|
+
getContainerVersions: (organizationId, containerRegistryId, imageName, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
12290
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
12291
|
+
(0, common_1.assertParamExists)('getContainerVersions', 'organizationId', organizationId);
|
|
12292
|
+
// verify required parameter 'containerRegistryId' is not null or undefined
|
|
12293
|
+
(0, common_1.assertParamExists)('getContainerVersions', 'containerRegistryId', containerRegistryId);
|
|
12294
|
+
// verify required parameter 'imageName' is not null or undefined
|
|
12295
|
+
(0, common_1.assertParamExists)('getContainerVersions', 'imageName', imageName);
|
|
12296
|
+
const localVarPath = `/organization/{organizationId}/containerRegistry/{containerRegistryId}/images`
|
|
12297
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
12298
|
+
.replace(`{${"containerRegistryId"}}`, encodeURIComponent(String(containerRegistryId)));
|
|
12299
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12300
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12301
|
+
let baseOptions;
|
|
12302
|
+
if (configuration) {
|
|
12303
|
+
baseOptions = configuration.baseOptions;
|
|
12304
|
+
}
|
|
12305
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
12306
|
+
const localVarHeaderParameter = {};
|
|
12307
|
+
const localVarQueryParameter = {};
|
|
12308
|
+
// authentication ApiKeyAuth required
|
|
12309
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
12310
|
+
// authentication bearerAuth required
|
|
12311
|
+
// http bearer authentication required
|
|
12312
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
12313
|
+
if (imageName !== undefined) {
|
|
12314
|
+
localVarQueryParameter['imageName'] = imageName;
|
|
12315
|
+
}
|
|
12316
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
12317
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12318
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
12319
|
+
return {
|
|
12320
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
12321
|
+
options: localVarRequestOptions,
|
|
12322
|
+
};
|
|
12323
|
+
}),
|
|
12280
12324
|
/**
|
|
12281
12325
|
* List supported container registries by Qovery and get the mandatory authentification configuration.
|
|
12282
12326
|
* @summary List supported container registries
|
|
@@ -12408,6 +12452,21 @@ const ContainerRegistriesApiFp = function (configuration) {
|
|
|
12408
12452
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
12409
12453
|
});
|
|
12410
12454
|
},
|
|
12455
|
+
/**
|
|
12456
|
+
*
|
|
12457
|
+
* @summary List image version for a container registry
|
|
12458
|
+
* @param {string} organizationId Organization ID
|
|
12459
|
+
* @param {string} containerRegistryId Container Registry ID
|
|
12460
|
+
* @param {string} imageName container image name
|
|
12461
|
+
* @param {*} [options] Override http request option.
|
|
12462
|
+
* @throws {RequiredError}
|
|
12463
|
+
*/
|
|
12464
|
+
getContainerVersions(organizationId, containerRegistryId, imageName, options) {
|
|
12465
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
12466
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getContainerVersions(organizationId, containerRegistryId, imageName, options);
|
|
12467
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
12468
|
+
});
|
|
12469
|
+
},
|
|
12411
12470
|
/**
|
|
12412
12471
|
* List supported container registries by Qovery and get the mandatory authentification configuration.
|
|
12413
12472
|
* @summary List supported container registries
|
|
@@ -12488,6 +12547,18 @@ const ContainerRegistriesApiFactory = function (configuration, basePath, axios)
|
|
|
12488
12547
|
getContainerRegistry(organizationId, containerRegistryId, options) {
|
|
12489
12548
|
return localVarFp.getContainerRegistry(organizationId, containerRegistryId, options).then((request) => request(axios, basePath));
|
|
12490
12549
|
},
|
|
12550
|
+
/**
|
|
12551
|
+
*
|
|
12552
|
+
* @summary List image version for a container registry
|
|
12553
|
+
* @param {string} organizationId Organization ID
|
|
12554
|
+
* @param {string} containerRegistryId Container Registry ID
|
|
12555
|
+
* @param {string} imageName container image name
|
|
12556
|
+
* @param {*} [options] Override http request option.
|
|
12557
|
+
* @throws {RequiredError}
|
|
12558
|
+
*/
|
|
12559
|
+
getContainerVersions(organizationId, containerRegistryId, imageName, options) {
|
|
12560
|
+
return localVarFp.getContainerVersions(organizationId, containerRegistryId, imageName, options).then((request) => request(axios, basePath));
|
|
12561
|
+
},
|
|
12491
12562
|
/**
|
|
12492
12563
|
* List supported container registries by Qovery and get the mandatory authentification configuration.
|
|
12493
12564
|
* @summary List supported container registries
|
|
@@ -12566,6 +12637,19 @@ class ContainerRegistriesApi extends base_1.BaseAPI {
|
|
|
12566
12637
|
getContainerRegistry(organizationId, containerRegistryId, options) {
|
|
12567
12638
|
return (0, exports.ContainerRegistriesApiFp)(this.configuration).getContainerRegistry(organizationId, containerRegistryId, options).then((request) => request(this.axios, this.basePath));
|
|
12568
12639
|
}
|
|
12640
|
+
/**
|
|
12641
|
+
*
|
|
12642
|
+
* @summary List image version for a container registry
|
|
12643
|
+
* @param {string} organizationId Organization ID
|
|
12644
|
+
* @param {string} containerRegistryId Container Registry ID
|
|
12645
|
+
* @param {string} imageName container image name
|
|
12646
|
+
* @param {*} [options] Override http request option.
|
|
12647
|
+
* @throws {RequiredError}
|
|
12648
|
+
* @memberof ContainerRegistriesApi
|
|
12649
|
+
*/
|
|
12650
|
+
getContainerVersions(organizationId, containerRegistryId, imageName, options) {
|
|
12651
|
+
return (0, exports.ContainerRegistriesApiFp)(this.configuration).getContainerVersions(organizationId, containerRegistryId, imageName, options).then((request) => request(this.axios, this.basePath));
|
|
12652
|
+
}
|
|
12569
12653
|
/**
|
|
12570
12654
|
* List supported container registries by Qovery and get the mandatory authentification configuration.
|
|
12571
12655
|
* @summary List supported container registries
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -4110,6 +4110,38 @@ export interface ContainerSource {
|
|
|
4110
4110
|
*/
|
|
4111
4111
|
'registry': ContainerRegistryProviderDetailsResponse;
|
|
4112
4112
|
}
|
|
4113
|
+
/**
|
|
4114
|
+
*
|
|
4115
|
+
* @export
|
|
4116
|
+
* @interface ContainerVersionResponse
|
|
4117
|
+
*/
|
|
4118
|
+
export interface ContainerVersionResponse {
|
|
4119
|
+
/**
|
|
4120
|
+
*
|
|
4121
|
+
* @type {string}
|
|
4122
|
+
* @memberof ContainerVersionResponse
|
|
4123
|
+
*/
|
|
4124
|
+
'image_name'?: string;
|
|
4125
|
+
/**
|
|
4126
|
+
*
|
|
4127
|
+
* @type {Array<string>}
|
|
4128
|
+
* @memberof ContainerVersionResponse
|
|
4129
|
+
*/
|
|
4130
|
+
'versions'?: Array<string>;
|
|
4131
|
+
}
|
|
4132
|
+
/**
|
|
4133
|
+
*
|
|
4134
|
+
* @export
|
|
4135
|
+
* @interface ContainerVersionResponseList
|
|
4136
|
+
*/
|
|
4137
|
+
export interface ContainerVersionResponseList {
|
|
4138
|
+
/**
|
|
4139
|
+
*
|
|
4140
|
+
* @type {Array<ContainerVersionResponse>}
|
|
4141
|
+
* @memberof ContainerVersionResponseList
|
|
4142
|
+
*/
|
|
4143
|
+
'results'?: Array<ContainerVersionResponse>;
|
|
4144
|
+
}
|
|
4113
4145
|
/**
|
|
4114
4146
|
*
|
|
4115
4147
|
* @export
|
|
@@ -19663,6 +19695,16 @@ export declare const ContainerRegistriesApiAxiosParamCreator: (configuration?: C
|
|
|
19663
19695
|
* @throws {RequiredError}
|
|
19664
19696
|
*/
|
|
19665
19697
|
getContainerRegistry: (organizationId: string, containerRegistryId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
19698
|
+
/**
|
|
19699
|
+
*
|
|
19700
|
+
* @summary List image version for a container registry
|
|
19701
|
+
* @param {string} organizationId Organization ID
|
|
19702
|
+
* @param {string} containerRegistryId Container Registry ID
|
|
19703
|
+
* @param {string} imageName container image name
|
|
19704
|
+
* @param {*} [options] Override http request option.
|
|
19705
|
+
* @throws {RequiredError}
|
|
19706
|
+
*/
|
|
19707
|
+
getContainerVersions: (organizationId: string, containerRegistryId: string, imageName: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
19666
19708
|
/**
|
|
19667
19709
|
* List supported container registries by Qovery and get the mandatory authentification configuration.
|
|
19668
19710
|
* @summary List supported container registries
|
|
@@ -19721,6 +19763,16 @@ export declare const ContainerRegistriesApiFp: (configuration?: Configuration) =
|
|
|
19721
19763
|
* @throws {RequiredError}
|
|
19722
19764
|
*/
|
|
19723
19765
|
getContainerRegistry(organizationId: string, containerRegistryId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContainerRegistryResponse>>;
|
|
19766
|
+
/**
|
|
19767
|
+
*
|
|
19768
|
+
* @summary List image version for a container registry
|
|
19769
|
+
* @param {string} organizationId Organization ID
|
|
19770
|
+
* @param {string} containerRegistryId Container Registry ID
|
|
19771
|
+
* @param {string} imageName container image name
|
|
19772
|
+
* @param {*} [options] Override http request option.
|
|
19773
|
+
* @throws {RequiredError}
|
|
19774
|
+
*/
|
|
19775
|
+
getContainerVersions(organizationId: string, containerRegistryId: string, imageName: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContainerVersionResponseList>>;
|
|
19724
19776
|
/**
|
|
19725
19777
|
* List supported container registries by Qovery and get the mandatory authentification configuration.
|
|
19726
19778
|
* @summary List supported container registries
|
|
@@ -19779,6 +19831,16 @@ export declare const ContainerRegistriesApiFactory: (configuration?: Configurati
|
|
|
19779
19831
|
* @throws {RequiredError}
|
|
19780
19832
|
*/
|
|
19781
19833
|
getContainerRegistry(organizationId: string, containerRegistryId: string, options?: any): AxiosPromise<ContainerRegistryResponse>;
|
|
19834
|
+
/**
|
|
19835
|
+
*
|
|
19836
|
+
* @summary List image version for a container registry
|
|
19837
|
+
* @param {string} organizationId Organization ID
|
|
19838
|
+
* @param {string} containerRegistryId Container Registry ID
|
|
19839
|
+
* @param {string} imageName container image name
|
|
19840
|
+
* @param {*} [options] Override http request option.
|
|
19841
|
+
* @throws {RequiredError}
|
|
19842
|
+
*/
|
|
19843
|
+
getContainerVersions(organizationId: string, containerRegistryId: string, imageName: string, options?: any): AxiosPromise<ContainerVersionResponseList>;
|
|
19782
19844
|
/**
|
|
19783
19845
|
* List supported container registries by Qovery and get the mandatory authentification configuration.
|
|
19784
19846
|
* @summary List supported container registries
|
|
@@ -19843,6 +19905,17 @@ export declare class ContainerRegistriesApi extends BaseAPI {
|
|
|
19843
19905
|
* @memberof ContainerRegistriesApi
|
|
19844
19906
|
*/
|
|
19845
19907
|
getContainerRegistry(organizationId: string, containerRegistryId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ContainerRegistryResponse, any>>;
|
|
19908
|
+
/**
|
|
19909
|
+
*
|
|
19910
|
+
* @summary List image version for a container registry
|
|
19911
|
+
* @param {string} organizationId Organization ID
|
|
19912
|
+
* @param {string} containerRegistryId Container Registry ID
|
|
19913
|
+
* @param {string} imageName container image name
|
|
19914
|
+
* @param {*} [options] Override http request option.
|
|
19915
|
+
* @throws {RequiredError}
|
|
19916
|
+
* @memberof ContainerRegistriesApi
|
|
19917
|
+
*/
|
|
19918
|
+
getContainerVersions(organizationId: string, containerRegistryId: string, imageName: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ContainerVersionResponseList, any>>;
|
|
19846
19919
|
/**
|
|
19847
19920
|
* List supported container registries by Qovery and get the mandatory authentification configuration.
|
|
19848
19921
|
* @summary List supported container registries
|
package/dist/esm/api.js
CHANGED
|
@@ -12179,6 +12179,50 @@ export const ContainerRegistriesApiAxiosParamCreator = function (configuration)
|
|
|
12179
12179
|
options: localVarRequestOptions,
|
|
12180
12180
|
};
|
|
12181
12181
|
}),
|
|
12182
|
+
/**
|
|
12183
|
+
*
|
|
12184
|
+
* @summary List image version for a container registry
|
|
12185
|
+
* @param {string} organizationId Organization ID
|
|
12186
|
+
* @param {string} containerRegistryId Container Registry ID
|
|
12187
|
+
* @param {string} imageName container image name
|
|
12188
|
+
* @param {*} [options] Override http request option.
|
|
12189
|
+
* @throws {RequiredError}
|
|
12190
|
+
*/
|
|
12191
|
+
getContainerVersions: (organizationId, containerRegistryId, imageName, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
12192
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
12193
|
+
assertParamExists('getContainerVersions', 'organizationId', organizationId);
|
|
12194
|
+
// verify required parameter 'containerRegistryId' is not null or undefined
|
|
12195
|
+
assertParamExists('getContainerVersions', 'containerRegistryId', containerRegistryId);
|
|
12196
|
+
// verify required parameter 'imageName' is not null or undefined
|
|
12197
|
+
assertParamExists('getContainerVersions', 'imageName', imageName);
|
|
12198
|
+
const localVarPath = `/organization/{organizationId}/containerRegistry/{containerRegistryId}/images`
|
|
12199
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
12200
|
+
.replace(`{${"containerRegistryId"}}`, encodeURIComponent(String(containerRegistryId)));
|
|
12201
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12202
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12203
|
+
let baseOptions;
|
|
12204
|
+
if (configuration) {
|
|
12205
|
+
baseOptions = configuration.baseOptions;
|
|
12206
|
+
}
|
|
12207
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
12208
|
+
const localVarHeaderParameter = {};
|
|
12209
|
+
const localVarQueryParameter = {};
|
|
12210
|
+
// authentication ApiKeyAuth required
|
|
12211
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
12212
|
+
// authentication bearerAuth required
|
|
12213
|
+
// http bearer authentication required
|
|
12214
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
12215
|
+
if (imageName !== undefined) {
|
|
12216
|
+
localVarQueryParameter['imageName'] = imageName;
|
|
12217
|
+
}
|
|
12218
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12219
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12220
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
12221
|
+
return {
|
|
12222
|
+
url: toPathString(localVarUrlObj),
|
|
12223
|
+
options: localVarRequestOptions,
|
|
12224
|
+
};
|
|
12225
|
+
}),
|
|
12182
12226
|
/**
|
|
12183
12227
|
* List supported container registries by Qovery and get the mandatory authentification configuration.
|
|
12184
12228
|
* @summary List supported container registries
|
|
@@ -12309,6 +12353,21 @@ export const ContainerRegistriesApiFp = function (configuration) {
|
|
|
12309
12353
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
12310
12354
|
});
|
|
12311
12355
|
},
|
|
12356
|
+
/**
|
|
12357
|
+
*
|
|
12358
|
+
* @summary List image version for a container registry
|
|
12359
|
+
* @param {string} organizationId Organization ID
|
|
12360
|
+
* @param {string} containerRegistryId Container Registry ID
|
|
12361
|
+
* @param {string} imageName container image name
|
|
12362
|
+
* @param {*} [options] Override http request option.
|
|
12363
|
+
* @throws {RequiredError}
|
|
12364
|
+
*/
|
|
12365
|
+
getContainerVersions(organizationId, containerRegistryId, imageName, options) {
|
|
12366
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
12367
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getContainerVersions(organizationId, containerRegistryId, imageName, options);
|
|
12368
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
12369
|
+
});
|
|
12370
|
+
},
|
|
12312
12371
|
/**
|
|
12313
12372
|
* List supported container registries by Qovery and get the mandatory authentification configuration.
|
|
12314
12373
|
* @summary List supported container registries
|
|
@@ -12388,6 +12447,18 @@ export const ContainerRegistriesApiFactory = function (configuration, basePath,
|
|
|
12388
12447
|
getContainerRegistry(organizationId, containerRegistryId, options) {
|
|
12389
12448
|
return localVarFp.getContainerRegistry(organizationId, containerRegistryId, options).then((request) => request(axios, basePath));
|
|
12390
12449
|
},
|
|
12450
|
+
/**
|
|
12451
|
+
*
|
|
12452
|
+
* @summary List image version for a container registry
|
|
12453
|
+
* @param {string} organizationId Organization ID
|
|
12454
|
+
* @param {string} containerRegistryId Container Registry ID
|
|
12455
|
+
* @param {string} imageName container image name
|
|
12456
|
+
* @param {*} [options] Override http request option.
|
|
12457
|
+
* @throws {RequiredError}
|
|
12458
|
+
*/
|
|
12459
|
+
getContainerVersions(organizationId, containerRegistryId, imageName, options) {
|
|
12460
|
+
return localVarFp.getContainerVersions(organizationId, containerRegistryId, imageName, options).then((request) => request(axios, basePath));
|
|
12461
|
+
},
|
|
12391
12462
|
/**
|
|
12392
12463
|
* List supported container registries by Qovery and get the mandatory authentification configuration.
|
|
12393
12464
|
* @summary List supported container registries
|
|
@@ -12465,6 +12536,19 @@ export class ContainerRegistriesApi extends BaseAPI {
|
|
|
12465
12536
|
getContainerRegistry(organizationId, containerRegistryId, options) {
|
|
12466
12537
|
return ContainerRegistriesApiFp(this.configuration).getContainerRegistry(organizationId, containerRegistryId, options).then((request) => request(this.axios, this.basePath));
|
|
12467
12538
|
}
|
|
12539
|
+
/**
|
|
12540
|
+
*
|
|
12541
|
+
* @summary List image version for a container registry
|
|
12542
|
+
* @param {string} organizationId Organization ID
|
|
12543
|
+
* @param {string} containerRegistryId Container Registry ID
|
|
12544
|
+
* @param {string} imageName container image name
|
|
12545
|
+
* @param {*} [options] Override http request option.
|
|
12546
|
+
* @throws {RequiredError}
|
|
12547
|
+
* @memberof ContainerRegistriesApi
|
|
12548
|
+
*/
|
|
12549
|
+
getContainerVersions(organizationId, containerRegistryId, imageName, options) {
|
|
12550
|
+
return ContainerRegistriesApiFp(this.configuration).getContainerVersions(organizationId, containerRegistryId, imageName, options).then((request) => request(this.axios, this.basePath));
|
|
12551
|
+
}
|
|
12468
12552
|
/**
|
|
12469
12553
|
* List supported container registries by Qovery and get the mandatory authentification configuration.
|
|
12470
12554
|
* @summary List supported container registries
|