Socket
Socket
Sign inDemoInstall

@rhoas/registry-management-sdk

Package Overview
Dependencies
2
Maintainers
5
Versions
88
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.12.3 to 0.14.0

dist/generated/api/default-api.d.ts

4

dist/generated/api.d.ts

@@ -5,3 +5,3 @@ /**

*
* The version of the OpenAPI document: 0.0.5
* The version of the OpenAPI document: 0.0.6
* Contact: rhosak-eval-support@redhat.com

@@ -13,2 +13,4 @@ *

*/
export * from './api/default-api';
export * from './api/errors-api';
export * from './api/registries-api';

@@ -8,3 +8,3 @@ "use strict";

*
* The version of the OpenAPI document: 0.0.5
* The version of the OpenAPI document: 0.0.6
* Contact: rhosak-eval-support@redhat.com

@@ -27,2 +27,4 @@ *

Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("./api/default-api"), exports);
__exportStar(require("./api/errors-api"), exports);
__exportStar(require("./api/registries-api"), exports);

@@ -5,3 +5,3 @@ /**

*
* The version of the OpenAPI document: 0.0.5
* The version of the OpenAPI document: 0.0.6
* Contact: rhosak-eval-support@redhat.com

@@ -16,5 +16,5 @@ *

import { RequestArgs, BaseAPI } from '../base';
import { RegistryCreateRest } from '../model';
import { RegistryListRest } from '../model';
import { RegistryRest } from '../model';
import { Registry } from '../model';
import { RegistryCreate } from '../model';
import { RegistryList } from '../model';
/**

@@ -28,7 +28,7 @@ * RegistriesApi - axios parameter creator

* @summary Create a new Registry instance
* @param {RegistryCreateRest} registryCreateRest A new `Registry` to be created.
* @param {RegistryCreate} registryCreate A new `Registry` to be created.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
createRegistry: (registryCreateRest: RegistryCreateRest, options?: any) => Promise<RequestArgs>;
createRegistry: (registryCreate: RegistryCreate, options?: any) => Promise<RequestArgs>;
/**

@@ -70,7 +70,7 @@ * Deletes an existing `Registry`.

* @summary Create a new Registry instance
* @param {RegistryCreateRest} registryCreateRest A new &#x60;Registry&#x60; to be created.
* @param {RegistryCreate} registryCreate A new &#x60;Registry&#x60; to be created.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
createRegistry(registryCreateRest: RegistryCreateRest, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegistryRest>>;
createRegistry(registryCreate: RegistryCreate, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Registry>>;
/**

@@ -94,3 +94,3 @@ * Deletes an existing `Registry`.

*/
getRegistries(page?: number, size?: number, orderBy?: string, search?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegistryListRest>>;
getRegistries(page?: number, size?: number, orderBy?: string, search?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegistryList>>;
/**

@@ -103,3 +103,3 @@ * Gets the details of a single instance of a `Registry`.

*/
getRegistry(id: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegistryRest>>;
getRegistry(id: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Registry>>;
};

@@ -114,7 +114,7 @@ /**

* @summary Create a new Registry instance
* @param {RegistryCreateRest} registryCreateRest A new &#x60;Registry&#x60; to be created.
* @param {RegistryCreate} registryCreate A new &#x60;Registry&#x60; to be created.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
createRegistry(registryCreateRest: RegistryCreateRest, options?: any): AxiosPromise<RegistryRest>;
createRegistry(registryCreate: RegistryCreate, options?: any): AxiosPromise<Registry>;
/**

@@ -138,3 +138,3 @@ * Deletes an existing `Registry`.

*/
getRegistries(page?: number, size?: number, orderBy?: string, search?: string, options?: any): AxiosPromise<RegistryListRest>;
getRegistries(page?: number, size?: number, orderBy?: string, search?: string, options?: any): AxiosPromise<RegistryList>;
/**

@@ -147,3 +147,3 @@ * Gets the details of a single instance of a `Registry`.

*/
getRegistry(id: string, options?: any): AxiosPromise<RegistryRest>;
getRegistry(id: string, options?: any): AxiosPromise<Registry>;
};

@@ -159,3 +159,3 @@ /**

* @summary Create a new Registry instance
* @param {RegistryCreateRest} registryCreateRest A new &#x60;Registry&#x60; to be created.
* @param {RegistryCreate} registryCreate A new &#x60;Registry&#x60; to be created.
* @param {*} [options] Override http request option.

@@ -165,3 +165,3 @@ * @throws {RequiredError}

*/
createRegistry(registryCreateRest: RegistryCreateRest, options?: any): AxiosPromise<RegistryRest>;
createRegistry(registryCreate: RegistryCreate, options?: any): AxiosPromise<Registry>;
/**

@@ -187,3 +187,3 @@ * Deletes an existing `Registry`.

*/
getRegistries(page?: number, size?: number, orderBy?: string, search?: string, options?: any): AxiosPromise<RegistryListRest>;
getRegistries(page?: number, size?: number, orderBy?: string, search?: string, options?: any): AxiosPromise<RegistryList>;
/**

@@ -197,3 +197,3 @@ * Gets the details of a single instance of a `Registry`.

*/
getRegistry(id: string, options?: any): AxiosPromise<RegistryRest>;
getRegistry(id: string, options?: any): AxiosPromise<Registry>;
}

@@ -210,3 +210,3 @@ /**

* @summary Create a new Registry instance
* @param {RegistryCreateRest} registryCreateRest A new &#x60;Registry&#x60; to be created.
* @param {RegistryCreate} registryCreate A new &#x60;Registry&#x60; to be created.
* @param {*} [options] Override http request option.

@@ -216,3 +216,3 @@ * @throws {RequiredError}

*/
createRegistry(registryCreateRest: RegistryCreateRest, options?: any): Promise<import("axios").AxiosResponse<RegistryRest>>;
createRegistry(registryCreate: RegistryCreate, options?: any): Promise<import("axios").AxiosResponse<Registry>>;
/**

@@ -238,3 +238,3 @@ * Deletes an existing `Registry`.

*/
getRegistries(page?: number, size?: number, orderBy?: string, search?: string, options?: any): Promise<import("axios").AxiosResponse<RegistryListRest>>;
getRegistries(page?: number, size?: number, orderBy?: string, search?: string, options?: any): Promise<import("axios").AxiosResponse<RegistryList>>;
/**

@@ -248,3 +248,3 @@ * Gets the details of a single instance of a `Registry`.

*/
getRegistry(id: string, options?: any): Promise<import("axios").AxiosResponse<RegistryRest>>;
getRegistry(id: string, options?: any): Promise<import("axios").AxiosResponse<Registry>>;
}

@@ -8,3 +8,3 @@ "use strict";

*
* The version of the OpenAPI document: 0.0.5
* The version of the OpenAPI document: 0.0.6
* Contact: rhosak-eval-support@redhat.com

@@ -42,9 +42,9 @@ *

* @summary Create a new Registry instance
* @param {RegistryCreateRest} registryCreateRest A new &#x60;Registry&#x60; to be created.
* @param {RegistryCreate} registryCreate A new &#x60;Registry&#x60; to be created.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
createRegistry: (registryCreateRest, options = {}) => __awaiter(this, void 0, void 0, function* () {
// verify required parameter 'registryCreateRest' is not null or undefined
common_1.assertParamExists('createRegistry', 'registryCreateRest', registryCreateRest);
createRegistry: (registryCreate, options = {}) => __awaiter(this, void 0, void 0, function* () {
// verify required parameter 'registryCreate' is not null or undefined
(0, common_1.assertParamExists)('createRegistry', 'registryCreate', registryCreate);
const localVarPath = `/api/serviceregistry_mgmt/v1/registries`;

@@ -62,10 +62,10 @@ // use dummy base URL string because the URL constructor only accepts absolute URLs.

// http bearer authentication required
yield common_1.setBearerAuthToObject(localVarHeaderParameter, configuration);
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
localVarHeaderParameter['Content-Type'] = 'application/json';
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
localVarRequestOptions.data = common_1.serializeDataIfNeeded(registryCreateRest, localVarRequestOptions, configuration);
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(registryCreate, localVarRequestOptions, configuration);
return {
url: common_1.toPathString(localVarUrlObj),
url: (0, common_1.toPathString)(localVarUrlObj),
options: localVarRequestOptions,

@@ -83,3 +83,3 @@ };

// verify required parameter 'id' is not null or undefined
common_1.assertParamExists('deleteRegistry', 'id', id);
(0, common_1.assertParamExists)('deleteRegistry', 'id', id);
const localVarPath = `/api/serviceregistry_mgmt/v1/registries/{id}`

@@ -98,8 +98,8 @@ .replace(`{${"id"}}`, encodeURIComponent(String(id)));

// http bearer authentication required
yield common_1.setBearerAuthToObject(localVarHeaderParameter, configuration);
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
return {
url: common_1.toPathString(localVarUrlObj),
url: (0, common_1.toPathString)(localVarUrlObj),
options: localVarRequestOptions,

@@ -131,3 +131,3 @@ };

// http bearer authentication required
yield common_1.setBearerAuthToObject(localVarHeaderParameter, configuration);
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
if (page !== undefined) {

@@ -145,7 +145,7 @@ localVarQueryParameter['page'] = page;

}
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
return {
url: common_1.toPathString(localVarUrlObj),
url: (0, common_1.toPathString)(localVarUrlObj),
options: localVarRequestOptions,

@@ -163,3 +163,3 @@ };

// verify required parameter 'id' is not null or undefined
common_1.assertParamExists('getRegistry', 'id', id);
(0, common_1.assertParamExists)('getRegistry', 'id', id);
const localVarPath = `/api/serviceregistry_mgmt/v1/registries/{id}`

@@ -178,8 +178,8 @@ .replace(`{${"id"}}`, encodeURIComponent(String(id)));

// http bearer authentication required
yield common_1.setBearerAuthToObject(localVarHeaderParameter, configuration);
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
return {
url: common_1.toPathString(localVarUrlObj),
url: (0, common_1.toPathString)(localVarUrlObj),
options: localVarRequestOptions,

@@ -196,3 +196,3 @@ };

const RegistriesApiFp = function (configuration) {
const localVarAxiosParamCreator = exports.RegistriesApiAxiosParamCreator(configuration);
const localVarAxiosParamCreator = (0, exports.RegistriesApiAxiosParamCreator)(configuration);
return {

@@ -202,10 +202,10 @@ /**

* @summary Create a new Registry instance
* @param {RegistryCreateRest} registryCreateRest A new &#x60;Registry&#x60; to be created.
* @param {RegistryCreate} registryCreate A new &#x60;Registry&#x60; to be created.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
createRegistry(registryCreateRest, options) {
createRegistry(registryCreate, options) {
return __awaiter(this, void 0, void 0, function* () {
const localVarAxiosArgs = yield localVarAxiosParamCreator.createRegistry(registryCreateRest, options);
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
const localVarAxiosArgs = yield localVarAxiosParamCreator.createRegistry(registryCreate, options);
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
});

@@ -223,3 +223,3 @@ },

const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteRegistry(id, options);
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
});

@@ -240,3 +240,3 @@ },

const localVarAxiosArgs = yield localVarAxiosParamCreator.getRegistries(page, size, orderBy, search, options);
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
});

@@ -254,3 +254,3 @@ },

const localVarAxiosArgs = yield localVarAxiosParamCreator.getRegistry(id, options);
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
});

@@ -266,3 +266,3 @@ },

const RegistriesApiFactory = function (configuration, basePath, axios) {
const localVarFp = exports.RegistriesApiFp(configuration);
const localVarFp = (0, exports.RegistriesApiFp)(configuration);
return {

@@ -272,8 +272,8 @@ /**

* @summary Create a new Registry instance
* @param {RegistryCreateRest} registryCreateRest A new &#x60;Registry&#x60; to be created.
* @param {RegistryCreate} registryCreate A new &#x60;Registry&#x60; to be created.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
createRegistry(registryCreateRest, options) {
return localVarFp.createRegistry(registryCreateRest, options).then((request) => request(axios, basePath));
createRegistry(registryCreate, options) {
return localVarFp.createRegistry(registryCreate, options).then((request) => request(axios, basePath));
},

@@ -326,3 +326,3 @@ /**

* @summary Create a new Registry instance
* @param {RegistryCreateRest} registryCreateRest A new &#x60;Registry&#x60; to be created.
* @param {RegistryCreate} registryCreate A new &#x60;Registry&#x60; to be created.
* @param {*} [options] Override http request option.

@@ -332,4 +332,4 @@ * @throws {RequiredError}

*/
createRegistry(registryCreateRest, options) {
return exports.RegistriesApiFp(this.configuration).createRegistry(registryCreateRest, options).then((request) => request(this.axios, this.basePath));
createRegistry(registryCreate, options) {
return (0, exports.RegistriesApiFp)(this.configuration).createRegistry(registryCreate, options).then((request) => request(this.axios, this.basePath));
}

@@ -345,3 +345,3 @@ /**

deleteRegistry(id, options) {
return exports.RegistriesApiFp(this.configuration).deleteRegistry(id, options).then((request) => request(this.axios, this.basePath));
return (0, exports.RegistriesApiFp)(this.configuration).deleteRegistry(id, options).then((request) => request(this.axios, this.basePath));
}

@@ -360,3 +360,3 @@ /**

getRegistries(page, size, orderBy, search, options) {
return exports.RegistriesApiFp(this.configuration).getRegistries(page, size, orderBy, search, options).then((request) => request(this.axios, this.basePath));
return (0, exports.RegistriesApiFp)(this.configuration).getRegistries(page, size, orderBy, search, options).then((request) => request(this.axios, this.basePath));
}

@@ -372,5 +372,5 @@ /**

getRegistry(id, options) {
return exports.RegistriesApiFp(this.configuration).getRegistry(id, options).then((request) => request(this.axios, this.basePath));
return (0, exports.RegistriesApiFp)(this.configuration).getRegistry(id, options).then((request) => request(this.axios, this.basePath));
}
}
exports.RegistriesApi = RegistriesApi;

@@ -5,3 +5,3 @@ /**

*
* The version of the OpenAPI document: 0.0.5
* The version of the OpenAPI document: 0.0.6
* Contact: rhosak-eval-support@redhat.com

@@ -8,0 +8,0 @@ *

@@ -8,3 +8,3 @@ "use strict";

*
* The version of the OpenAPI document: 0.0.5
* The version of the OpenAPI document: 0.0.6
* Contact: rhosak-eval-support@redhat.com

@@ -11,0 +11,0 @@ *

@@ -5,3 +5,3 @@ /**

*
* The version of the OpenAPI document: 0.0.5
* The version of the OpenAPI document: 0.0.6
* Contact: rhosak-eval-support@redhat.com

@@ -66,2 +66,2 @@ *

*/
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => (axios?: AxiosInstance, basePath?: string) => Promise<import("axios").AxiosResponse<any>>;
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => (axios?: AxiosInstance, basePath?: string) => Promise<import("axios").AxiosResponse<never>>;

@@ -8,3 +8,3 @@ "use strict";

*
* The version of the OpenAPI document: 0.0.5
* The version of the OpenAPI document: 0.0.6
* Contact: rhosak-eval-support@redhat.com

@@ -11,0 +11,0 @@ *

@@ -5,3 +5,3 @@ /**

*
* The version of the OpenAPI document: 0.0.5
* The version of the OpenAPI document: 0.0.6
* Contact: rhosak-eval-support@redhat.com

@@ -8,0 +8,0 @@ *

@@ -8,3 +8,3 @@ "use strict";

*
* The version of the OpenAPI document: 0.0.5
* The version of the OpenAPI document: 0.0.6
* Contact: rhosak-eval-support@redhat.com

@@ -11,0 +11,0 @@ *

@@ -5,3 +5,3 @@ /**

*
* The version of the OpenAPI document: 0.0.5
* The version of the OpenAPI document: 0.0.6
* Contact: rhosak-eval-support@redhat.com

@@ -8,0 +8,0 @@ *

@@ -8,3 +8,3 @@ "use strict";

*
* The version of the OpenAPI document: 0.0.5
* The version of the OpenAPI document: 0.0.6
* Contact: rhosak-eval-support@redhat.com

@@ -11,0 +11,0 @@ *

@@ -1,12 +0,14 @@

export * from './error-list-rest';
export * from './error-list-rest-all-of';
export * from './error-rest';
export * from './error-rest-all-of';
export * from './list-rest';
export * from './object-reference-rest';
export * from './registry-create-rest';
export * from './registry-list-rest';
export * from './registry-list-rest-all-of';
export * from './registry-rest';
export * from './registry-status-value-rest';
export * from './error-all-of';
export * from './error-list';
export * from './error-list-all-of';
export * from './list';
export * from './model-error';
export * from './object-reference';
export * from './registry';
export * from './registry-create';
export * from './registry-instance-type-value';
export * from './registry-list';
export * from './registry-list-all-of';
export * from './registry-status-value';
export * from './root-type-for-registry';
export * from './service-status';

@@ -13,13 +13,15 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("./error-list-rest"), exports);
__exportStar(require("./error-list-rest-all-of"), exports);
__exportStar(require("./error-rest"), exports);
__exportStar(require("./error-rest-all-of"), exports);
__exportStar(require("./list-rest"), exports);
__exportStar(require("./object-reference-rest"), exports);
__exportStar(require("./registry-create-rest"), exports);
__exportStar(require("./registry-list-rest"), exports);
__exportStar(require("./registry-list-rest-all-of"), exports);
__exportStar(require("./registry-rest"), exports);
__exportStar(require("./registry-status-value-rest"), exports);
__exportStar(require("./error-all-of"), exports);
__exportStar(require("./error-list"), exports);
__exportStar(require("./error-list-all-of"), exports);
__exportStar(require("./list"), exports);
__exportStar(require("./model-error"), exports);
__exportStar(require("./object-reference"), exports);
__exportStar(require("./registry"), exports);
__exportStar(require("./registry-create"), exports);
__exportStar(require("./registry-instance-type-value"), exports);
__exportStar(require("./registry-list"), exports);
__exportStar(require("./registry-list-all-of"), exports);
__exportStar(require("./registry-status-value"), exports);
__exportStar(require("./root-type-for-registry"), exports);
__exportStar(require("./service-status"), exports);

@@ -5,3 +5,3 @@ /**

*
* The version of the OpenAPI document: 0.0.5
* The version of the OpenAPI document: 0.0.6
* Contact: rhosak-eval-support@redhat.com

@@ -13,3 +13,4 @@ *

*/
import { RegistryStatusValueRest } from './registry-status-value-rest';
import { RegistryInstanceTypeValue } from './registry-instance-type-value';
import { RegistryStatusValue } from './registry-status-value';
/**

@@ -29,6 +30,6 @@ * Service Registry instance within a multi-tenant deployment.

*
* @type {RegistryStatusValueRest}
* @type {RegistryStatusValue}
* @memberof RootTypeForRegistry
*/
status: RegistryStatusValueRest;
status: RegistryStatusValue;
/**

@@ -41,2 +42,8 @@ *

/**
*
* @type {string}
* @memberof RootTypeForRegistry
*/
browserUrl?: string;
/**
* User-defined Registry name. Does not have to be unique.

@@ -77,2 +84,8 @@ * @type {string}

updated_at: string;
/**
*
* @type {RegistryInstanceTypeValue}
* @memberof RootTypeForRegistry
*/
instance_type: RegistryInstanceTypeValue;
}

@@ -8,3 +8,3 @@ "use strict";

*
* The version of the OpenAPI document: 0.0.5
* The version of the OpenAPI document: 0.0.6
* Contact: rhosak-eval-support@redhat.com

@@ -11,0 +11,0 @@ *

{
"name": "@rhoas/registry-management-sdk",
"version": "0.12.3",
"version": "0.14.0",
"description": "RHOAS Service Registry Management SDK",

@@ -27,8 +27,8 @@ "author": "Red Hat Developers",

"dependencies": {
"axios": "0.21.1"
"axios": "0.22.0"
},
"devDependencies": {
"@types/node": "14.17.11",
"typescript": "4.3.5"
"@types/node": "14.17.21",
"typescript": "4.4.3"
}
}

@@ -7,3 +7,3 @@ /* tslint:disable */

*
* The version of the OpenAPI document: 0.0.5
* The version of the OpenAPI document: 0.0.6
* Contact: rhosak-eval-support@redhat.com

@@ -18,3 +18,5 @@ *

export * from './api/default-api';
export * from './api/errors-api';
export * from './api/registries-api';

@@ -7,3 +7,3 @@ /* tslint:disable */

*
* The version of the OpenAPI document: 0.0.5
* The version of the OpenAPI document: 0.0.6
* Contact: rhosak-eval-support@redhat.com

@@ -25,9 +25,7 @@ *

// @ts-ignore
import { ErrorRest } from '../model';
import { Registry } from '../model';
// @ts-ignore
import { RegistryCreateRest } from '../model';
import { RegistryCreate } from '../model';
// @ts-ignore
import { RegistryListRest } from '../model';
// @ts-ignore
import { RegistryRest } from '../model';
import { RegistryList } from '../model';
/**

@@ -42,9 +40,9 @@ * RegistriesApi - axios parameter creator

* @summary Create a new Registry instance
* @param {RegistryCreateRest} registryCreateRest A new &#x60;Registry&#x60; to be created.
* @param {RegistryCreate} registryCreate A new &#x60;Registry&#x60; to be created.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
createRegistry: async (registryCreateRest: RegistryCreateRest, options: any = {}): Promise<RequestArgs> => {
// verify required parameter 'registryCreateRest' is not null or undefined
assertParamExists('createRegistry', 'registryCreateRest', registryCreateRest)
createRegistry: async (registryCreate: RegistryCreate, options: any = {}): Promise<RequestArgs> => {
// verify required parameter 'registryCreate' is not null or undefined
assertParamExists('createRegistry', 'registryCreate', registryCreate)
const localVarPath = `/api/serviceregistry_mgmt/v1/registries`;

@@ -73,3 +71,3 @@ // use dummy base URL string because the URL constructor only accepts absolute URLs.

localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
localVarRequestOptions.data = serializeDataIfNeeded(registryCreateRest, localVarRequestOptions, configuration)
localVarRequestOptions.data = serializeDataIfNeeded(registryCreate, localVarRequestOptions, configuration)

@@ -224,8 +222,8 @@ return {

* @summary Create a new Registry instance
* @param {RegistryCreateRest} registryCreateRest A new &#x60;Registry&#x60; to be created.
* @param {RegistryCreate} registryCreate A new &#x60;Registry&#x60; to be created.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
async createRegistry(registryCreateRest: RegistryCreateRest, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegistryRest>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.createRegistry(registryCreateRest, options);
async createRegistry(registryCreate: RegistryCreate, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Registry>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.createRegistry(registryCreate, options);
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);

@@ -254,3 +252,3 @@ },

*/
async getRegistries(page?: number, size?: number, orderBy?: string, search?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegistryListRest>> {
async getRegistries(page?: number, size?: number, orderBy?: string, search?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegistryList>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.getRegistries(page, size, orderBy, search, options);

@@ -266,3 +264,3 @@ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);

*/
async getRegistry(id: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegistryRest>> {
async getRegistry(id: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Registry>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.getRegistry(id, options);

@@ -284,8 +282,8 @@ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);

* @summary Create a new Registry instance
* @param {RegistryCreateRest} registryCreateRest A new &#x60;Registry&#x60; to be created.
* @param {RegistryCreate} registryCreate A new &#x60;Registry&#x60; to be created.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
createRegistry(registryCreateRest: RegistryCreateRest, options?: any): AxiosPromise<RegistryRest> {
return localVarFp.createRegistry(registryCreateRest, options).then((request) => request(axios, basePath));
createRegistry(registryCreate: RegistryCreate, options?: any): AxiosPromise<Registry> {
return localVarFp.createRegistry(registryCreate, options).then((request) => request(axios, basePath));
},

@@ -312,3 +310,3 @@ /**

*/
getRegistries(page?: number, size?: number, orderBy?: string, search?: string, options?: any): AxiosPromise<RegistryListRest> {
getRegistries(page?: number, size?: number, orderBy?: string, search?: string, options?: any): AxiosPromise<RegistryList> {
return localVarFp.getRegistries(page, size, orderBy, search, options).then((request) => request(axios, basePath));

@@ -323,3 +321,3 @@ },

*/
getRegistry(id: string, options?: any): AxiosPromise<RegistryRest> {
getRegistry(id: string, options?: any): AxiosPromise<Registry> {
return localVarFp.getRegistry(id, options).then((request) => request(axios, basePath));

@@ -339,3 +337,3 @@ },

* @summary Create a new Registry instance
* @param {RegistryCreateRest} registryCreateRest A new &#x60;Registry&#x60; to be created.
* @param {RegistryCreate} registryCreate A new &#x60;Registry&#x60; to be created.
* @param {*} [options] Override http request option.

@@ -345,3 +343,3 @@ * @throws {RequiredError}

*/
createRegistry(registryCreateRest: RegistryCreateRest, options?: any): AxiosPromise<RegistryRest>;
createRegistry(registryCreate: RegistryCreate, options?: any): AxiosPromise<Registry>;

@@ -369,3 +367,3 @@ /**

*/
getRegistries(page?: number, size?: number, orderBy?: string, search?: string, options?: any): AxiosPromise<RegistryListRest>;
getRegistries(page?: number, size?: number, orderBy?: string, search?: string, options?: any): AxiosPromise<RegistryList>;

@@ -380,3 +378,3 @@ /**

*/
getRegistry(id: string, options?: any): AxiosPromise<RegistryRest>;
getRegistry(id: string, options?: any): AxiosPromise<Registry>;

@@ -395,3 +393,3 @@ }

* @summary Create a new Registry instance
* @param {RegistryCreateRest} registryCreateRest A new &#x60;Registry&#x60; to be created.
* @param {RegistryCreate} registryCreate A new &#x60;Registry&#x60; to be created.
* @param {*} [options] Override http request option.

@@ -401,4 +399,4 @@ * @throws {RequiredError}

*/
public createRegistry(registryCreateRest: RegistryCreateRest, options?: any) {
return RegistriesApiFp(this.configuration).createRegistry(registryCreateRest, options).then((request) => request(this.axios, this.basePath));
public createRegistry(registryCreate: RegistryCreate, options?: any) {
return RegistriesApiFp(this.configuration).createRegistry(registryCreate, options).then((request) => request(this.axios, this.basePath));
}

@@ -405,0 +403,0 @@

@@ -7,3 +7,3 @@ /* tslint:disable */

*
* The version of the OpenAPI document: 0.0.5
* The version of the OpenAPI document: 0.0.6
* Contact: rhosak-eval-support@redhat.com

@@ -10,0 +10,0 @@ *

@@ -7,3 +7,3 @@ /* tslint:disable */

*
* The version of the OpenAPI document: 0.0.5
* The version of the OpenAPI document: 0.0.6
* Contact: rhosak-eval-support@redhat.com

@@ -10,0 +10,0 @@ *

@@ -7,3 +7,3 @@ /* tslint:disable */

*
* The version of the OpenAPI document: 0.0.5
* The version of the OpenAPI document: 0.0.6
* Contact: rhosak-eval-support@redhat.com

@@ -10,0 +10,0 @@ *

@@ -7,3 +7,3 @@ /* tslint:disable */

*
* The version of the OpenAPI document: 0.0.5
* The version of the OpenAPI document: 0.0.6
* Contact: rhosak-eval-support@redhat.com

@@ -10,0 +10,0 @@ *

@@ -1,12 +0,14 @@

export * from './error-list-rest';
export * from './error-list-rest-all-of';
export * from './error-rest';
export * from './error-rest-all-of';
export * from './list-rest';
export * from './object-reference-rest';
export * from './registry-create-rest';
export * from './registry-list-rest';
export * from './registry-list-rest-all-of';
export * from './registry-rest';
export * from './registry-status-value-rest';
export * from './error-all-of';
export * from './error-list';
export * from './error-list-all-of';
export * from './list';
export * from './model-error';
export * from './object-reference';
export * from './registry';
export * from './registry-create';
export * from './registry-instance-type-value';
export * from './registry-list';
export * from './registry-list-all-of';
export * from './registry-status-value';
export * from './root-type-for-registry';
export * from './service-status';

@@ -7,3 +7,3 @@ /* tslint:disable */

*
* The version of the OpenAPI document: 0.0.5
* The version of the OpenAPI document: 0.0.6
* Contact: rhosak-eval-support@redhat.com

@@ -17,3 +17,4 @@ *

import { RegistryStatusValueRest } from './registry-status-value-rest';
import { RegistryInstanceTypeValue } from './registry-instance-type-value';
import { RegistryStatusValue } from './registry-status-value';

@@ -34,6 +35,6 @@ /**

*
* @type {RegistryStatusValueRest}
* @type {RegistryStatusValue}
* @memberof RootTypeForRegistry
*/
status: RegistryStatusValueRest;
status: RegistryStatusValue;
/**

@@ -46,2 +47,8 @@ *

/**
*
* @type {string}
* @memberof RootTypeForRegistry
*/
browserUrl?: string;
/**
* User-defined Registry name. Does not have to be unique.

@@ -82,4 +89,10 @@ * @type {string}

updated_at: string;
/**
*
* @type {RegistryInstanceTypeValue}
* @memberof RootTypeForRegistry
*/
instance_type: RegistryInstanceTypeValue;
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc