@coscine/api-client
Advanced tools
Comparing version 2.6.0 to 2.7.0
@@ -21,4 +21,4 @@ "use strict"; | ||
const api_17 = require("./Coscine.Api.Resources/api"); | ||
const api_18 = require("./Coscine.Api.Search/api"); | ||
const api_19 = require("./Coscine.Api.STS/api"); | ||
const api_18 = require("./Coscine.Api.Resources/api"); | ||
const api_19 = require("./Coscine.Api.Search/api"); | ||
const api_20 = require("./Coscine.Api.STS/api"); | ||
@@ -28,5 +28,5 @@ const api_21 = require("./Coscine.Api.STS/api"); | ||
const api_23 = require("./Coscine.Api.STS/api"); | ||
const api_24 = require("./Coscine.Api.Token/api"); | ||
const api_25 = require("./Coscine.Api.Tree/api"); | ||
const api_26 = require("./Coscine.Api.User/api"); | ||
const api_24 = require("./Coscine.Api.STS/api"); | ||
const api_25 = require("./Coscine.Api.Token/api"); | ||
const api_26 = require("./Coscine.Api.Tree/api"); | ||
const api_27 = require("./Coscine.Api.User/api"); | ||
@@ -36,2 +36,3 @@ const api_28 = require("./Coscine.Api.User/api"); | ||
const api_30 = require("./Coscine.Api.User/api"); | ||
const api_31 = require("./Coscine.Api.User/api"); | ||
let accessToken = ''; | ||
@@ -60,14 +61,15 @@ if (typeof coscine !== 'undefined' && typeof coscine.authorization !== 'undefined') { | ||
return { | ||
AccountApi: (0, api_19.AccountApiFactory)(new configuration_1.Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.STS', axios), | ||
AccountApi: (0, api_20.AccountApiFactory)(new configuration_1.Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.STS', axios), | ||
AdminApi: (0, api_1.AdminApiFactory)(new configuration_1.Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Admin', axios), | ||
BlobApi: (0, api_2.BlobApiFactory)(new configuration_1.Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Blob', axios), | ||
ContactChangeApi: (0, api_26.ContactChangeApiFactory)(new configuration_1.Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.User', axios), | ||
ContactChangeApi: (0, api_27.ContactChangeApiFactory)(new configuration_1.Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.User', axios), | ||
DisciplineApi: (0, api_7.DisciplineApiFactory)(new configuration_1.Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Project', axios), | ||
HomeApi: (0, api_20.HomeApiFactory)(new configuration_1.Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.STS', axios), | ||
LanguageApi: (0, api_27.LanguageApiFactory)(new configuration_1.Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.User', axios), | ||
GitLabApi: (0, api_15.GitLabApiFactory)(new configuration_1.Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Resources', axios), | ||
HomeApi: (0, api_21.HomeApiFactory)(new configuration_1.Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.STS', axios), | ||
LanguageApi: (0, api_28.LanguageApiFactory)(new configuration_1.Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.User', axios), | ||
LicenseApi: (0, api_8.LicenseApiFactory)(new configuration_1.Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Project', axios), | ||
MergeApi: (0, api_21.MergeApiFactory)(new configuration_1.Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.STS', axios), | ||
MergeApi: (0, api_22.MergeApiFactory)(new configuration_1.Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.STS', axios), | ||
MetadataApi: (0, api_3.MetadataApiFactory)(new configuration_1.Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Metadata', axios), | ||
NoticeApi: (0, api_4.NoticeApiFactory)(new configuration_1.Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Notices', axios), | ||
ORCiDApi: (0, api_22.ORCiDApiFactory)(new configuration_1.Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.STS', axios), | ||
ORCiDApi: (0, api_23.ORCiDApiFactory)(new configuration_1.Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.STS', axios), | ||
OrganizationApi: (0, api_5.OrganizationApiFactory)(new configuration_1.Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Organization', axios), | ||
@@ -78,14 +80,14 @@ PidApi: (0, api_6.PidApiFactory)(new configuration_1.Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Pid', axios), | ||
ProjectRoleApi: (0, api_11.ProjectRoleApiFactory)(new configuration_1.Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Project', axios), | ||
ResourceApi: (0, api_15.ResourceApiFactory)(new configuration_1.Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Resources', axios), | ||
ResourceQuotaApi: (0, api_16.ResourceQuotaApiFactory)(new configuration_1.Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Resources', axios), | ||
ResourceTypeApi: (0, api_17.ResourceTypeApiFactory)(new configuration_1.Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Resources', axios), | ||
ResourceApi: (0, api_16.ResourceApiFactory)(new configuration_1.Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Resources', axios), | ||
ResourceQuotaApi: (0, api_17.ResourceQuotaApiFactory)(new configuration_1.Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Resources', axios), | ||
ResourceTypeApi: (0, api_18.ResourceTypeApiFactory)(new configuration_1.Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Resources', axios), | ||
RoleApi: (0, api_12.RoleApiFactory)(new configuration_1.Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Project', axios), | ||
SearchApi: (0, api_18.SearchApiFactory)(new configuration_1.Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Search', axios), | ||
ShibbolethApi: (0, api_23.ShibbolethApiFactory)(new configuration_1.Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.STS', axios), | ||
SearchApi: (0, api_19.SearchApiFactory)(new configuration_1.Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Search', axios), | ||
ShibbolethApi: (0, api_24.ShibbolethApiFactory)(new configuration_1.Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.STS', axios), | ||
SubProjectApi: (0, api_13.SubProjectApiFactory)(new configuration_1.Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Project', axios), | ||
TitleApi: (0, api_29.TitleApiFactory)(new configuration_1.Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.User', axios), | ||
TokenApi: (0, api_24.TokenApiFactory)(new configuration_1.Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Token', axios), | ||
TOSApi: (0, api_28.TOSApiFactory)(new configuration_1.Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.User', axios), | ||
TreeApi: (0, api_25.TreeApiFactory)(new configuration_1.Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Tree', axios), | ||
UserApi: (0, api_30.UserApiFactory)(new configuration_1.Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.User', axios), | ||
TitleApi: (0, api_30.TitleApiFactory)(new configuration_1.Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.User', axios), | ||
TokenApi: (0, api_25.TokenApiFactory)(new configuration_1.Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Token', axios), | ||
TOSApi: (0, api_29.TOSApiFactory)(new configuration_1.Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.User', axios), | ||
TreeApi: (0, api_26.TreeApiFactory)(new configuration_1.Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Tree', axios), | ||
UserApi: (0, api_31.UserApiFactory)(new configuration_1.Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.User', axios), | ||
VisibilityApi: (0, api_14.VisibilityApiFactory)(new configuration_1.Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Project', axios) | ||
@@ -92,0 +94,0 @@ }; |
@@ -8,3 +8,3 @@ "use strict"; | ||
* | ||
* The version of the OpenAPI document: 4.1.1 | ||
* The version of the OpenAPI document: 4.2.2 | ||
* | ||
@@ -11,0 +11,0 @@ * |
@@ -8,3 +8,3 @@ "use strict"; | ||
* | ||
* The version of the OpenAPI document: 4.1.1 | ||
* The version of the OpenAPI document: 4.2.2 | ||
* | ||
@@ -11,0 +11,0 @@ * |
@@ -8,3 +8,3 @@ "use strict"; | ||
* | ||
* The version of the OpenAPI document: 4.1.1 | ||
* The version of the OpenAPI document: 4.2.2 | ||
* | ||
@@ -11,0 +11,0 @@ * |
@@ -8,3 +8,3 @@ "use strict"; | ||
* | ||
* The version of the OpenAPI document: 4.1.1 | ||
* The version of the OpenAPI document: 4.2.2 | ||
* | ||
@@ -11,0 +11,0 @@ * |
@@ -8,3 +8,3 @@ "use strict"; | ||
* | ||
* The version of the OpenAPI document: 3.0.7 | ||
* The version of the OpenAPI document: 3.1.1 | ||
* | ||
@@ -29,3 +29,3 @@ * | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.ResourceTypeApi = exports.ResourceTypeApiFactory = exports.ResourceTypeApiFp = exports.ResourceTypeApiAxiosParamCreator = exports.ResourceQuotaApi = exports.ResourceQuotaApiFactory = exports.ResourceQuotaApiFp = exports.ResourceQuotaApiAxiosParamCreator = exports.ResourceApi = exports.ResourceApiFactory = exports.ResourceApiFp = exports.ResourceApiAxiosParamCreator = exports.ResourceTypeStatus = exports.QuotaUnit = void 0; | ||
exports.ResourceTypeApi = exports.ResourceTypeApiFactory = exports.ResourceTypeApiFp = exports.ResourceTypeApiAxiosParamCreator = exports.ResourceQuotaApi = exports.ResourceQuotaApiFactory = exports.ResourceQuotaApiFp = exports.ResourceQuotaApiAxiosParamCreator = exports.ResourceApi = exports.ResourceApiFactory = exports.ResourceApiFp = exports.ResourceApiAxiosParamCreator = exports.GitLabApi = exports.GitLabApiFactory = exports.GitLabApiFp = exports.GitLabApiAxiosParamCreator = exports.ResourceTypeStatus = exports.QuotaUnit = exports.ProjectVisibilityLevel = void 0; | ||
const axios_1 = __importDefault(require("axios")); | ||
@@ -42,2 +42,13 @@ // Some imports not used depending on template conditions | ||
*/ | ||
var ProjectVisibilityLevel; | ||
(function (ProjectVisibilityLevel) { | ||
ProjectVisibilityLevel[ProjectVisibilityLevel["NUMBER_0"] = 0] = "NUMBER_0"; | ||
ProjectVisibilityLevel[ProjectVisibilityLevel["NUMBER_1"] = 1] = "NUMBER_1"; | ||
ProjectVisibilityLevel[ProjectVisibilityLevel["NUMBER_2"] = 2] = "NUMBER_2"; | ||
})(ProjectVisibilityLevel = exports.ProjectVisibilityLevel || (exports.ProjectVisibilityLevel = {})); | ||
/** | ||
* | ||
* @export | ||
* @enum {string} | ||
*/ | ||
var QuotaUnit; | ||
@@ -63,2 +74,270 @@ (function (QuotaUnit) { | ||
/** | ||
* GitLabApi - axios parameter creator | ||
* @export | ||
*/ | ||
const GitLabApiAxiosParamCreator = function (configuration) { | ||
return { | ||
/** | ||
* | ||
* @summary Returns all GitLab projects, that the user is a member of, based on the provided credentials. | ||
* @param {string} [domain] Domain/Host of the GitLab Provider | ||
* @param {string} [accessToken] GitLab Project or Group Access Token | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
gitLabGetAllProjects: (domain, accessToken, options = {}) => __awaiter(this, void 0, void 0, function* () { | ||
const localVarPath = `/GitLab/projects`; | ||
// use dummy base URL string because the URL constructor only accepts absolute URLs. | ||
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL); | ||
let baseOptions; | ||
if (configuration) { | ||
baseOptions = configuration.baseOptions; | ||
} | ||
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options); | ||
const localVarHeaderParameter = {}; | ||
const localVarQueryParameter = {}; | ||
// authentication JWT token required | ||
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration); | ||
if (domain !== undefined) { | ||
localVarQueryParameter['Domain'] = domain; | ||
} | ||
if (accessToken !== undefined) { | ||
localVarQueryParameter['AccessToken'] = accessToken; | ||
} | ||
(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: (0, common_1.toPathString)(localVarUrlObj), | ||
options: localVarRequestOptions, | ||
}; | ||
}), | ||
/** | ||
* | ||
* @summary Returns all GitLab branches of a project, that the user is a member of, based on the provided credentials. | ||
* @param {number} projectId GitLab Project Identifier | ||
* @param {string} [domain] Domain/Host of the GitLab Provider | ||
* @param {string} [accessToken] GitLab Project or Group Access Token | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
gitLabGetBranchesForProject: (projectId, domain, accessToken, options = {}) => __awaiter(this, void 0, void 0, function* () { | ||
// verify required parameter 'projectId' is not null or undefined | ||
(0, common_1.assertParamExists)('gitLabGetBranchesForProject', 'projectId', projectId); | ||
const localVarPath = `/GitLab/branches/{projectId}` | ||
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId))); | ||
// use dummy base URL string because the URL constructor only accepts absolute URLs. | ||
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL); | ||
let baseOptions; | ||
if (configuration) { | ||
baseOptions = configuration.baseOptions; | ||
} | ||
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options); | ||
const localVarHeaderParameter = {}; | ||
const localVarQueryParameter = {}; | ||
// authentication JWT token required | ||
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration); | ||
if (domain !== undefined) { | ||
localVarQueryParameter['Domain'] = domain; | ||
} | ||
if (accessToken !== undefined) { | ||
localVarQueryParameter['AccessToken'] = accessToken; | ||
} | ||
(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: (0, common_1.toPathString)(localVarUrlObj), | ||
options: localVarRequestOptions, | ||
}; | ||
}), | ||
/** | ||
* | ||
* @summary Returns a single GitLab project, that the user is a member of, based on the provided credentials. | ||
* @param {number} projectId GitLab Project Identifier | ||
* @param {string} [domain] Domain/Host of the GitLab Provider | ||
* @param {string} [accessToken] GitLab Project or Group Access Token | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
gitLabGetProject: (projectId, domain, accessToken, options = {}) => __awaiter(this, void 0, void 0, function* () { | ||
// verify required parameter 'projectId' is not null or undefined | ||
(0, common_1.assertParamExists)('gitLabGetProject', 'projectId', projectId); | ||
const localVarPath = `/GitLab/projects/{projectId}` | ||
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId))); | ||
// use dummy base URL string because the URL constructor only accepts absolute URLs. | ||
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL); | ||
let baseOptions; | ||
if (configuration) { | ||
baseOptions = configuration.baseOptions; | ||
} | ||
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options); | ||
const localVarHeaderParameter = {}; | ||
const localVarQueryParameter = {}; | ||
// authentication JWT token required | ||
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration); | ||
if (domain !== undefined) { | ||
localVarQueryParameter['Domain'] = domain; | ||
} | ||
if (accessToken !== undefined) { | ||
localVarQueryParameter['AccessToken'] = accessToken; | ||
} | ||
(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: (0, common_1.toPathString)(localVarUrlObj), | ||
options: localVarRequestOptions, | ||
}; | ||
}), | ||
}; | ||
}; | ||
exports.GitLabApiAxiosParamCreator = GitLabApiAxiosParamCreator; | ||
/** | ||
* GitLabApi - functional programming interface | ||
* @export | ||
*/ | ||
const GitLabApiFp = function (configuration) { | ||
const localVarAxiosParamCreator = (0, exports.GitLabApiAxiosParamCreator)(configuration); | ||
return { | ||
/** | ||
* | ||
* @summary Returns all GitLab projects, that the user is a member of, based on the provided credentials. | ||
* @param {string} [domain] Domain/Host of the GitLab Provider | ||
* @param {string} [accessToken] GitLab Project or Group Access Token | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
gitLabGetAllProjects(domain, accessToken, options) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
const localVarAxiosArgs = yield localVarAxiosParamCreator.gitLabGetAllProjects(domain, accessToken, options); | ||
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration); | ||
}); | ||
}, | ||
/** | ||
* | ||
* @summary Returns all GitLab branches of a project, that the user is a member of, based on the provided credentials. | ||
* @param {number} projectId GitLab Project Identifier | ||
* @param {string} [domain] Domain/Host of the GitLab Provider | ||
* @param {string} [accessToken] GitLab Project or Group Access Token | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
gitLabGetBranchesForProject(projectId, domain, accessToken, options) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
const localVarAxiosArgs = yield localVarAxiosParamCreator.gitLabGetBranchesForProject(projectId, domain, accessToken, options); | ||
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration); | ||
}); | ||
}, | ||
/** | ||
* | ||
* @summary Returns a single GitLab project, that the user is a member of, based on the provided credentials. | ||
* @param {number} projectId GitLab Project Identifier | ||
* @param {string} [domain] Domain/Host of the GitLab Provider | ||
* @param {string} [accessToken] GitLab Project or Group Access Token | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
gitLabGetProject(projectId, domain, accessToken, options) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
const localVarAxiosArgs = yield localVarAxiosParamCreator.gitLabGetProject(projectId, domain, accessToken, options); | ||
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration); | ||
}); | ||
}, | ||
}; | ||
}; | ||
exports.GitLabApiFp = GitLabApiFp; | ||
/** | ||
* GitLabApi - factory interface | ||
* @export | ||
*/ | ||
const GitLabApiFactory = function (configuration, basePath, axios) { | ||
const localVarFp = (0, exports.GitLabApiFp)(configuration); | ||
return { | ||
/** | ||
* | ||
* @summary Returns all GitLab projects, that the user is a member of, based on the provided credentials. | ||
* @param {string} [domain] Domain/Host of the GitLab Provider | ||
* @param {string} [accessToken] GitLab Project or Group Access Token | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
gitLabGetAllProjects(domain, accessToken, options) { | ||
return localVarFp.gitLabGetAllProjects(domain, accessToken, options).then((request) => request(axios, basePath)); | ||
}, | ||
/** | ||
* | ||
* @summary Returns all GitLab branches of a project, that the user is a member of, based on the provided credentials. | ||
* @param {number} projectId GitLab Project Identifier | ||
* @param {string} [domain] Domain/Host of the GitLab Provider | ||
* @param {string} [accessToken] GitLab Project or Group Access Token | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
gitLabGetBranchesForProject(projectId, domain, accessToken, options) { | ||
return localVarFp.gitLabGetBranchesForProject(projectId, domain, accessToken, options).then((request) => request(axios, basePath)); | ||
}, | ||
/** | ||
* | ||
* @summary Returns a single GitLab project, that the user is a member of, based on the provided credentials. | ||
* @param {number} projectId GitLab Project Identifier | ||
* @param {string} [domain] Domain/Host of the GitLab Provider | ||
* @param {string} [accessToken] GitLab Project or Group Access Token | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
gitLabGetProject(projectId, domain, accessToken, options) { | ||
return localVarFp.gitLabGetProject(projectId, domain, accessToken, options).then((request) => request(axios, basePath)); | ||
}, | ||
}; | ||
}; | ||
exports.GitLabApiFactory = GitLabApiFactory; | ||
/** | ||
* GitLabApi - object-oriented interface | ||
* @export | ||
* @class GitLabApi | ||
* @extends {BaseAPI} | ||
*/ | ||
class GitLabApi extends base_1.BaseAPI { | ||
/** | ||
* | ||
* @summary Returns all GitLab projects, that the user is a member of, based on the provided credentials. | ||
* @param {string} [domain] Domain/Host of the GitLab Provider | ||
* @param {string} [accessToken] GitLab Project or Group Access Token | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
* @memberof GitLabApi | ||
*/ | ||
gitLabGetAllProjects(domain, accessToken, options) { | ||
return (0, exports.GitLabApiFp)(this.configuration).gitLabGetAllProjects(domain, accessToken, options).then((request) => request(this.axios, this.basePath)); | ||
} | ||
/** | ||
* | ||
* @summary Returns all GitLab branches of a project, that the user is a member of, based on the provided credentials. | ||
* @param {number} projectId GitLab Project Identifier | ||
* @param {string} [domain] Domain/Host of the GitLab Provider | ||
* @param {string} [accessToken] GitLab Project or Group Access Token | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
* @memberof GitLabApi | ||
*/ | ||
gitLabGetBranchesForProject(projectId, domain, accessToken, options) { | ||
return (0, exports.GitLabApiFp)(this.configuration).gitLabGetBranchesForProject(projectId, domain, accessToken, options).then((request) => request(this.axios, this.basePath)); | ||
} | ||
/** | ||
* | ||
* @summary Returns a single GitLab project, that the user is a member of, based on the provided credentials. | ||
* @param {number} projectId GitLab Project Identifier | ||
* @param {string} [domain] Domain/Host of the GitLab Provider | ||
* @param {string} [accessToken] GitLab Project or Group Access Token | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
* @memberof GitLabApi | ||
*/ | ||
gitLabGetProject(projectId, domain, accessToken, options) { | ||
return (0, exports.GitLabApiFp)(this.configuration).gitLabGetProject(projectId, domain, accessToken, options).then((request) => request(this.axios, this.basePath)); | ||
} | ||
} | ||
exports.GitLabApi = GitLabApi; | ||
/** | ||
* ResourceApi - axios parameter creator | ||
@@ -65,0 +344,0 @@ * @export |
@@ -8,3 +8,3 @@ "use strict"; | ||
* | ||
* The version of the OpenAPI document: 3.0.7 | ||
* The version of the OpenAPI document: 3.1.1 | ||
* | ||
@@ -11,0 +11,0 @@ * |
@@ -8,3 +8,3 @@ "use strict"; | ||
* | ||
* The version of the OpenAPI document: 3.0.7 | ||
* The version of the OpenAPI document: 3.1.1 | ||
* | ||
@@ -11,0 +11,0 @@ * |
@@ -8,3 +8,3 @@ "use strict"; | ||
* | ||
* The version of the OpenAPI document: 3.0.7 | ||
* The version of the OpenAPI document: 3.1.1 | ||
* | ||
@@ -11,0 +11,0 @@ * |
@@ -8,3 +8,3 @@ "use strict"; | ||
* | ||
* The version of the OpenAPI document: 3.0.7 | ||
* The version of the OpenAPI document: 3.1.1 | ||
* | ||
@@ -11,0 +11,0 @@ * |
@@ -8,3 +8,3 @@ "use strict"; | ||
* | ||
* The version of the OpenAPI document: 2.8.5 | ||
* The version of the OpenAPI document: 2.8.7 | ||
* | ||
@@ -11,0 +11,0 @@ * |
@@ -8,3 +8,3 @@ "use strict"; | ||
* | ||
* The version of the OpenAPI document: 2.8.5 | ||
* The version of the OpenAPI document: 2.8.7 | ||
* | ||
@@ -11,0 +11,0 @@ * |
@@ -8,3 +8,3 @@ "use strict"; | ||
* | ||
* The version of the OpenAPI document: 2.8.5 | ||
* The version of the OpenAPI document: 2.8.7 | ||
* | ||
@@ -11,0 +11,0 @@ * |
@@ -8,3 +8,3 @@ "use strict"; | ||
* | ||
* The version of the OpenAPI document: 2.8.5 | ||
* The version of the OpenAPI document: 2.8.7 | ||
* | ||
@@ -11,0 +11,0 @@ * |
@@ -8,3 +8,3 @@ "use strict"; | ||
* | ||
* The version of the OpenAPI document: 2.8.5 | ||
* The version of the OpenAPI document: 2.8.7 | ||
* | ||
@@ -11,0 +11,0 @@ * |
@@ -8,3 +8,3 @@ "use strict"; | ||
* | ||
* The version of the OpenAPI document: 3.1.0 | ||
* The version of the OpenAPI document: 3.2.0 | ||
* | ||
@@ -11,0 +11,0 @@ * |
@@ -8,3 +8,3 @@ "use strict"; | ||
* | ||
* The version of the OpenAPI document: 3.1.0 | ||
* The version of the OpenAPI document: 3.2.0 | ||
* | ||
@@ -11,0 +11,0 @@ * |
@@ -8,3 +8,3 @@ "use strict"; | ||
* | ||
* The version of the OpenAPI document: 3.1.0 | ||
* The version of the OpenAPI document: 3.2.0 | ||
* | ||
@@ -11,0 +11,0 @@ * |
@@ -8,3 +8,3 @@ "use strict"; | ||
* | ||
* The version of the OpenAPI document: 3.1.0 | ||
* The version of the OpenAPI document: 3.2.0 | ||
* | ||
@@ -11,0 +11,0 @@ * |
@@ -8,3 +8,3 @@ "use strict"; | ||
* | ||
* The version of the OpenAPI document: 3.1.0 | ||
* The version of the OpenAPI document: 3.2.0 | ||
* | ||
@@ -11,0 +11,0 @@ * |
@@ -6,3 +6,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.VisibilityApi = exports.UserApi = exports.TreeApi = exports.TOSApi = exports.TokenApi = exports.TitleApi = exports.SubProjectApi = exports.ShibbolethApi = exports.SearchApi = exports.RoleApi = exports.ResourceTypeApi = exports.ResourceQuotaApi = exports.ResourceApi = exports.ProjectRoleApi = exports.ProjectQuotaApi = exports.ProjectApi = exports.PidApi = exports.OrganizationApi = exports.ORCiDApi = exports.NoticeApi = exports.MetadataApi = exports.MergeApi = exports.LicenseApi = exports.LanguageApi = exports.HomeApi = exports.DisciplineApi = exports.ContactChangeApi = exports.BlobApi = exports.AdminApi = exports.AccountApi = void 0; | ||
exports.VisibilityApi = exports.UserApi = exports.TreeApi = exports.TOSApi = exports.TokenApi = exports.TitleApi = exports.SubProjectApi = exports.ShibbolethApi = exports.SearchApi = exports.RoleApi = exports.ResourceTypeApi = exports.ResourceQuotaApi = exports.ResourceApi = exports.ProjectRoleApi = exports.ProjectQuotaApi = exports.ProjectApi = exports.PidApi = exports.OrganizationApi = exports.ORCiDApi = exports.NoticeApi = exports.MetadataApi = exports.MergeApi = exports.LicenseApi = exports.LanguageApi = exports.HomeApi = exports.GitLabApi = exports.DisciplineApi = exports.ContactChangeApi = exports.BlobApi = exports.AdminApi = exports.AccountApi = void 0; | ||
const apis_1 = __importDefault(require("./apis")); | ||
@@ -16,2 +16,3 @@ const axios_basic_1 = __importDefault(require("./axios-basic")); | ||
exports.DisciplineApi = apis.DisciplineApi; | ||
exports.GitLabApi = apis.GitLabApi; | ||
exports.HomeApi = apis.HomeApi; | ||
@@ -18,0 +19,0 @@ exports.LanguageApi = apis.LanguageApi; |
@@ -24,2 +24,7 @@ import { AxiosInstance } from 'axios'; | ||
}; | ||
GitLabApi: { | ||
gitLabGetAllProjects(domain?: string, accessToken?: string, options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Resources/api").Project[]>; | ||
gitLabGetBranchesForProject(projectId: number, domain?: string, accessToken?: string, options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Resources/api").Branch[]>; | ||
gitLabGetProject(projectId: number, domain?: string, accessToken?: string, options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Resources/api").Project>; | ||
}; | ||
HomeApi: { | ||
@@ -26,0 +31,0 @@ homeIndex(options?: any): import("axios").AxiosPromise<any>; |
@@ -5,3 +5,3 @@ /** | ||
* | ||
* The version of the OpenAPI document: 4.1.1 | ||
* The version of the OpenAPI document: 4.2.2 | ||
* | ||
@@ -240,2 +240,8 @@ * | ||
* | ||
* @type {string} | ||
* @memberof ProjectObject | ||
*/ | ||
dateCreated?: string | null; | ||
/** | ||
* | ||
* @type {Array<DisciplineObject>} | ||
@@ -263,2 +269,14 @@ * @memberof ProjectObject | ||
parentId?: string; | ||
/** | ||
* | ||
* @type {string} | ||
* @memberof ProjectObject | ||
*/ | ||
creator?: string | null; | ||
/** | ||
* | ||
* @type {boolean} | ||
* @memberof ProjectObject | ||
*/ | ||
deleted?: boolean; | ||
} | ||
@@ -497,2 +515,8 @@ /** | ||
*/ | ||
dateCreated?: string | null; | ||
/** | ||
* | ||
* @type {string} | ||
* @memberof ResourceObject | ||
*/ | ||
creator?: string | null; | ||
@@ -505,2 +529,8 @@ /** | ||
archived?: boolean; | ||
/** | ||
* | ||
* @type {boolean} | ||
* @memberof ResourceObject | ||
*/ | ||
deleted?: boolean; | ||
} | ||
@@ -507,0 +537,0 @@ /** |
@@ -5,3 +5,3 @@ /** | ||
* | ||
* The version of the OpenAPI document: 4.1.1 | ||
* The version of the OpenAPI document: 4.2.2 | ||
* | ||
@@ -8,0 +8,0 @@ * |
@@ -5,3 +5,3 @@ /** | ||
* | ||
* The version of the OpenAPI document: 4.1.1 | ||
* The version of the OpenAPI document: 4.2.2 | ||
* | ||
@@ -8,0 +8,0 @@ * |
@@ -5,3 +5,3 @@ /** | ||
* | ||
* The version of the OpenAPI document: 4.1.1 | ||
* The version of the OpenAPI document: 4.2.2 | ||
* | ||
@@ -8,0 +8,0 @@ * |
@@ -5,3 +5,3 @@ /** | ||
* | ||
* The version of the OpenAPI document: 4.1.1 | ||
* The version of the OpenAPI document: 4.2.2 | ||
* | ||
@@ -8,0 +8,0 @@ * |
@@ -5,3 +5,3 @@ /** | ||
* | ||
* The version of the OpenAPI document: 3.0.7 | ||
* The version of the OpenAPI document: 3.1.1 | ||
* | ||
@@ -19,2 +19,76 @@ * | ||
* @export | ||
* @interface Access | ||
*/ | ||
export interface Access { | ||
/** | ||
* | ||
* @type {number} | ||
* @memberof Access | ||
*/ | ||
access_level?: number; | ||
/** | ||
* | ||
* @type {number} | ||
* @memberof Access | ||
*/ | ||
notification_level?: number; | ||
} | ||
/** | ||
* | ||
* @export | ||
* @interface Branch | ||
*/ | ||
export interface Branch { | ||
/** | ||
* | ||
* @type {string} | ||
* @memberof Branch | ||
*/ | ||
name?: string | null; | ||
/** | ||
* | ||
* @type {boolean} | ||
* @memberof Branch | ||
*/ | ||
merged?: boolean; | ||
/** | ||
* | ||
* @type {boolean} | ||
* @memberof Branch | ||
*/ | ||
_protected?: boolean; | ||
/** | ||
* | ||
* @type {boolean} | ||
* @memberof Branch | ||
*/ | ||
_default?: boolean; | ||
/** | ||
* | ||
* @type {boolean} | ||
* @memberof Branch | ||
*/ | ||
developers_can_push?: boolean; | ||
/** | ||
* | ||
* @type {boolean} | ||
* @memberof Branch | ||
*/ | ||
developers_can_merge?: boolean; | ||
/** | ||
* | ||
* @type {boolean} | ||
* @memberof Branch | ||
*/ | ||
can_push?: boolean; | ||
/** | ||
* | ||
* @type {Commit} | ||
* @memberof Branch | ||
*/ | ||
commit?: Commit | null; | ||
} | ||
/** | ||
* | ||
* @export | ||
* @interface ColumnsObject | ||
@@ -33,2 +107,81 @@ */ | ||
* @export | ||
* @interface Commit | ||
*/ | ||
export interface Commit { | ||
/** | ||
* | ||
* @type {string} | ||
* @memberof Commit | ||
*/ | ||
id?: string | null; | ||
/** | ||
* | ||
* @type {string} | ||
* @memberof Commit | ||
*/ | ||
short_id?: string | null; | ||
/** | ||
* | ||
* @type {string} | ||
* @memberof Commit | ||
*/ | ||
title?: string | null; | ||
/** | ||
* | ||
* @type {string} | ||
* @memberof Commit | ||
*/ | ||
created_at?: string | null; | ||
/** | ||
* | ||
* @type {Array<string>} | ||
* @memberof Commit | ||
*/ | ||
parent_ids?: Array<string> | null; | ||
/** | ||
* | ||
* @type {string} | ||
* @memberof Commit | ||
*/ | ||
message?: string | null; | ||
/** | ||
* | ||
* @type {string} | ||
* @memberof Commit | ||
*/ | ||
author_name?: string | null; | ||
/** | ||
* | ||
* @type {string} | ||
* @memberof Commit | ||
*/ | ||
author_email?: string | null; | ||
/** | ||
* | ||
* @type {string} | ||
* @memberof Commit | ||
*/ | ||
authored_date?: string | null; | ||
/** | ||
* | ||
* @type {string} | ||
* @memberof Commit | ||
*/ | ||
committer_name?: string | null; | ||
/** | ||
* | ||
* @type {string} | ||
* @memberof Commit | ||
*/ | ||
committer_email?: string | null; | ||
/** | ||
* | ||
* @type {string} | ||
* @memberof Commit | ||
*/ | ||
committed_date?: string | null; | ||
} | ||
/** | ||
* | ||
* @export | ||
* @interface DisciplineObject | ||
@@ -97,2 +250,51 @@ */ | ||
* @export | ||
* @interface Links | ||
*/ | ||
export interface Links { | ||
/** | ||
* | ||
* @type {string} | ||
* @memberof Links | ||
*/ | ||
members?: string | null; | ||
/** | ||
* | ||
* @type {string} | ||
* @memberof Links | ||
*/ | ||
issues?: string | null; | ||
/** | ||
* | ||
* @type {string} | ||
* @memberof Links | ||
*/ | ||
events?: string | null; | ||
/** | ||
* | ||
* @type {string} | ||
* @memberof Links | ||
*/ | ||
labels?: string | null; | ||
/** | ||
* | ||
* @type {string} | ||
* @memberof Links | ||
*/ | ||
repo_branches?: string | null; | ||
/** | ||
* | ||
* @type {string} | ||
* @memberof Links | ||
*/ | ||
merge_requests?: string | null; | ||
/** | ||
* | ||
* @type {string} | ||
* @memberof Links | ||
*/ | ||
self?: string | null; | ||
} | ||
/** | ||
* | ||
* @export | ||
* @interface MetadataView | ||
@@ -117,2 +319,334 @@ */ | ||
* @export | ||
* @interface Namespace | ||
*/ | ||
export interface Namespace { | ||
/** | ||
* | ||
* @type {number} | ||
* @memberof Namespace | ||
*/ | ||
id?: number; | ||
/** | ||
* | ||
* @type {string} | ||
* @memberof Namespace | ||
*/ | ||
name?: string | null; | ||
/** | ||
* | ||
* @type {string} | ||
* @memberof Namespace | ||
*/ | ||
full_path?: string | null; | ||
/** | ||
* | ||
* @type {string} | ||
* @memberof Namespace | ||
*/ | ||
kind?: string | null; | ||
/** | ||
* | ||
* @type {string} | ||
* @memberof Namespace | ||
*/ | ||
path?: string | null; | ||
} | ||
/** | ||
* | ||
* @export | ||
* @interface Owner | ||
*/ | ||
export interface Owner { | ||
/** | ||
* | ||
* @type {number} | ||
* @memberof Owner | ||
*/ | ||
id?: number; | ||
/** | ||
* | ||
* @type {string} | ||
* @memberof Owner | ||
*/ | ||
created_at?: string; | ||
/** | ||
* | ||
* @type {string} | ||
* @memberof Owner | ||
*/ | ||
name?: string | null; | ||
} | ||
/** | ||
* | ||
* @export | ||
* @interface Permissions | ||
*/ | ||
export interface Permissions { | ||
/** | ||
* | ||
* @type {Access} | ||
* @memberof Permissions | ||
*/ | ||
group_access?: Access | null; | ||
/** | ||
* | ||
* @type {Access} | ||
* @memberof Permissions | ||
*/ | ||
project_access?: Access | null; | ||
} | ||
/** | ||
* | ||
* @export | ||
* @interface Project | ||
*/ | ||
export interface Project { | ||
/** | ||
* | ||
* @type {string} | ||
* @memberof Project | ||
*/ | ||
last_activity_at?: string | null; | ||
/** | ||
* | ||
* @type {string} | ||
* @memberof Project | ||
*/ | ||
description?: string | null; | ||
/** | ||
* | ||
* @type {boolean} | ||
* @memberof Project | ||
*/ | ||
container_registry_enabled?: boolean; | ||
/** | ||
* | ||
* @type {boolean} | ||
* @memberof Project | ||
*/ | ||
archived?: boolean; | ||
/** | ||
* | ||
* @type {Links} | ||
* @memberof Project | ||
*/ | ||
_links?: Links | null; | ||
/** | ||
* | ||
* @type {string} | ||
* @memberof Project | ||
*/ | ||
avatar_url?: string | null; | ||
/** | ||
* | ||
* @type {number} | ||
* @memberof Project | ||
*/ | ||
creator_id?: number; | ||
/** | ||
* | ||
* @type {string} | ||
* @memberof Project | ||
*/ | ||
created_at?: string | null; | ||
/** | ||
* | ||
* @type {string} | ||
* @memberof Project | ||
*/ | ||
default_branch?: string | null; | ||
/** | ||
* | ||
* @type {string} | ||
* @memberof Project | ||
*/ | ||
import_error?: string | null; | ||
/** | ||
* | ||
* @type {string} | ||
* @memberof Project | ||
*/ | ||
http_url_to_repo?: string | null; | ||
/** | ||
* | ||
* @type {number} | ||
* @memberof Project | ||
*/ | ||
forks_count?: number; | ||
/** | ||
* | ||
* @type {number} | ||
* @memberof Project | ||
*/ | ||
id?: number; | ||
/** | ||
* | ||
* @type {boolean} | ||
* @memberof Project | ||
*/ | ||
issues_enabled?: boolean; | ||
/** | ||
* | ||
* @type {string} | ||
* @memberof Project | ||
*/ | ||
import_status?: string | null; | ||
/** | ||
* | ||
* @type {boolean} | ||
* @memberof Project | ||
*/ | ||
jobs_enabled?: boolean; | ||
/** | ||
* | ||
* @type {Owner} | ||
* @memberof Project | ||
*/ | ||
owner?: Owner | null; | ||
/** | ||
* | ||
* @type {Namespace} | ||
* @memberof Project | ||
*/ | ||
namespace?: Namespace | null; | ||
/** | ||
* | ||
* @type {string} | ||
* @memberof Project | ||
*/ | ||
name?: string | null; | ||
/** | ||
* | ||
* @type {boolean} | ||
* @memberof Project | ||
*/ | ||
merge_requests_enabled?: boolean; | ||
/** | ||
* | ||
* @type {string} | ||
* @memberof Project | ||
*/ | ||
name_with_namespace?: string | null; | ||
/** | ||
* | ||
* @type {boolean} | ||
* @memberof Project | ||
*/ | ||
only_allow_merge_if_pipeline_succeeds?: boolean | null; | ||
/** | ||
* | ||
* @type {boolean} | ||
* @memberof Project | ||
*/ | ||
only_allow_merge_if_all_discussions_are_resolved?: boolean | null; | ||
/** | ||
* | ||
* @type {number} | ||
* @memberof Project | ||
*/ | ||
open_issues_count?: number; | ||
/** | ||
* | ||
* @type {boolean} | ||
* @memberof Project | ||
*/ | ||
public_jobs?: boolean; | ||
/** | ||
* | ||
* @type {string} | ||
* @memberof Project | ||
*/ | ||
path_with_namespace?: string | null; | ||
/** | ||
* | ||
* @type {string} | ||
* @memberof Project | ||
*/ | ||
path?: string | null; | ||
/** | ||
* | ||
* @type {Permissions} | ||
* @memberof Project | ||
*/ | ||
permissions?: Permissions | null; | ||
/** | ||
* | ||
* @type {string} | ||
* @memberof Project | ||
*/ | ||
runners_token?: string | null; | ||
/** | ||
* | ||
* @type {boolean} | ||
* @memberof Project | ||
*/ | ||
request_access_enabled?: boolean; | ||
/** | ||
* | ||
* @type {boolean} | ||
* @memberof Project | ||
*/ | ||
shared_runners_enabled?: boolean; | ||
/** | ||
* | ||
* @type {Statistics} | ||
* @memberof Project | ||
*/ | ||
statistics?: Statistics | null; | ||
/** | ||
* | ||
* @type {string} | ||
* @memberof Project | ||
*/ | ||
ssh_url_to_repo?: string | null; | ||
/** | ||
* | ||
* @type {boolean} | ||
* @memberof Project | ||
*/ | ||
snippets_enabled?: boolean; | ||
/** | ||
* | ||
* @type {number} | ||
* @memberof Project | ||
*/ | ||
star_count?: number; | ||
/** | ||
* | ||
* @type {ProjectVisibilityLevel} | ||
* @memberof Project | ||
*/ | ||
visibility?: ProjectVisibilityLevel; | ||
/** | ||
* | ||
* @type {Array<string>} | ||
* @memberof Project | ||
*/ | ||
tag_list?: Array<string> | null; | ||
/** | ||
* | ||
* @type {string} | ||
* @memberof Project | ||
*/ | ||
web_url?: string | null; | ||
/** | ||
* | ||
* @type {boolean} | ||
* @memberof Project | ||
*/ | ||
wiki_enabled?: boolean; | ||
} | ||
/** | ||
* | ||
* @export | ||
* @enum {string} | ||
*/ | ||
export declare enum ProjectVisibilityLevel { | ||
NUMBER_0 = 0, | ||
NUMBER_1 = 1, | ||
NUMBER_2 = 2 | ||
} | ||
/** | ||
* | ||
* @export | ||
* @interface QuotaDimObject | ||
@@ -280,2 +814,8 @@ */ | ||
*/ | ||
dateCreated?: string | null; | ||
/** | ||
* | ||
* @type {string} | ||
* @memberof ResourceObject | ||
*/ | ||
creator?: string | null; | ||
@@ -288,2 +828,8 @@ /** | ||
archived?: boolean; | ||
/** | ||
* | ||
* @type {boolean} | ||
* @memberof ResourceObject | ||
*/ | ||
deleted?: boolean; | ||
} | ||
@@ -471,4 +1017,41 @@ /** | ||
/** | ||
* Parameter object containing the update informations. | ||
* | ||
* @export | ||
* @interface Statistics | ||
*/ | ||
export interface Statistics { | ||
/** | ||
* | ||
* @type {number} | ||
* @memberof Statistics | ||
*/ | ||
job_artifacts_size?: number; | ||
/** | ||
* | ||
* @type {number} | ||
* @memberof Statistics | ||
*/ | ||
repository_size?: number; | ||
/** | ||
* | ||
* @type {number} | ||
* @memberof Statistics | ||
*/ | ||
commit_count?: number; | ||
/** | ||
* | ||
* @type {number} | ||
* @memberof Statistics | ||
*/ | ||
lfs_objects_size?: number; | ||
/** | ||
* | ||
* @type {number} | ||
* @memberof Statistics | ||
*/ | ||
storage_size?: number; | ||
} | ||
/** | ||
* Parameter object containing the update information. | ||
* @export | ||
* @interface UpdateResourceObject | ||
@@ -504,2 +1087,147 @@ */ | ||
/** | ||
* GitLabApi - axios parameter creator | ||
* @export | ||
*/ | ||
export declare const GitLabApiAxiosParamCreator: (configuration?: Configuration) => { | ||
/** | ||
* | ||
* @summary Returns all GitLab projects, that the user is a member of, based on the provided credentials. | ||
* @param {string} [domain] Domain/Host of the GitLab Provider | ||
* @param {string} [accessToken] GitLab Project or Group Access Token | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
gitLabGetAllProjects: (domain?: string, accessToken?: string, options?: any) => Promise<RequestArgs>; | ||
/** | ||
* | ||
* @summary Returns all GitLab branches of a project, that the user is a member of, based on the provided credentials. | ||
* @param {number} projectId GitLab Project Identifier | ||
* @param {string} [domain] Domain/Host of the GitLab Provider | ||
* @param {string} [accessToken] GitLab Project or Group Access Token | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
gitLabGetBranchesForProject: (projectId: number, domain?: string, accessToken?: string, options?: any) => Promise<RequestArgs>; | ||
/** | ||
* | ||
* @summary Returns a single GitLab project, that the user is a member of, based on the provided credentials. | ||
* @param {number} projectId GitLab Project Identifier | ||
* @param {string} [domain] Domain/Host of the GitLab Provider | ||
* @param {string} [accessToken] GitLab Project or Group Access Token | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
gitLabGetProject: (projectId: number, domain?: string, accessToken?: string, options?: any) => Promise<RequestArgs>; | ||
}; | ||
/** | ||
* GitLabApi - functional programming interface | ||
* @export | ||
*/ | ||
export declare const GitLabApiFp: (configuration?: Configuration) => { | ||
/** | ||
* | ||
* @summary Returns all GitLab projects, that the user is a member of, based on the provided credentials. | ||
* @param {string} [domain] Domain/Host of the GitLab Provider | ||
* @param {string} [accessToken] GitLab Project or Group Access Token | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
gitLabGetAllProjects(domain?: string, accessToken?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Project>>>; | ||
/** | ||
* | ||
* @summary Returns all GitLab branches of a project, that the user is a member of, based on the provided credentials. | ||
* @param {number} projectId GitLab Project Identifier | ||
* @param {string} [domain] Domain/Host of the GitLab Provider | ||
* @param {string} [accessToken] GitLab Project or Group Access Token | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
gitLabGetBranchesForProject(projectId: number, domain?: string, accessToken?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Branch>>>; | ||
/** | ||
* | ||
* @summary Returns a single GitLab project, that the user is a member of, based on the provided credentials. | ||
* @param {number} projectId GitLab Project Identifier | ||
* @param {string} [domain] Domain/Host of the GitLab Provider | ||
* @param {string} [accessToken] GitLab Project or Group Access Token | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
gitLabGetProject(projectId: number, domain?: string, accessToken?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Project>>; | ||
}; | ||
/** | ||
* GitLabApi - factory interface | ||
* @export | ||
*/ | ||
export declare const GitLabApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { | ||
/** | ||
* | ||
* @summary Returns all GitLab projects, that the user is a member of, based on the provided credentials. | ||
* @param {string} [domain] Domain/Host of the GitLab Provider | ||
* @param {string} [accessToken] GitLab Project or Group Access Token | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
gitLabGetAllProjects(domain?: string, accessToken?: string, options?: any): AxiosPromise<Array<Project>>; | ||
/** | ||
* | ||
* @summary Returns all GitLab branches of a project, that the user is a member of, based on the provided credentials. | ||
* @param {number} projectId GitLab Project Identifier | ||
* @param {string} [domain] Domain/Host of the GitLab Provider | ||
* @param {string} [accessToken] GitLab Project or Group Access Token | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
gitLabGetBranchesForProject(projectId: number, domain?: string, accessToken?: string, options?: any): AxiosPromise<Array<Branch>>; | ||
/** | ||
* | ||
* @summary Returns a single GitLab project, that the user is a member of, based on the provided credentials. | ||
* @param {number} projectId GitLab Project Identifier | ||
* @param {string} [domain] Domain/Host of the GitLab Provider | ||
* @param {string} [accessToken] GitLab Project or Group Access Token | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
gitLabGetProject(projectId: number, domain?: string, accessToken?: string, options?: any): AxiosPromise<Project>; | ||
}; | ||
/** | ||
* GitLabApi - object-oriented interface | ||
* @export | ||
* @class GitLabApi | ||
* @extends {BaseAPI} | ||
*/ | ||
export declare class GitLabApi extends BaseAPI { | ||
/** | ||
* | ||
* @summary Returns all GitLab projects, that the user is a member of, based on the provided credentials. | ||
* @param {string} [domain] Domain/Host of the GitLab Provider | ||
* @param {string} [accessToken] GitLab Project or Group Access Token | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
* @memberof GitLabApi | ||
*/ | ||
gitLabGetAllProjects(domain?: string, accessToken?: string, options?: any): Promise<import("axios").AxiosResponse<Project[]>>; | ||
/** | ||
* | ||
* @summary Returns all GitLab branches of a project, that the user is a member of, based on the provided credentials. | ||
* @param {number} projectId GitLab Project Identifier | ||
* @param {string} [domain] Domain/Host of the GitLab Provider | ||
* @param {string} [accessToken] GitLab Project or Group Access Token | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
* @memberof GitLabApi | ||
*/ | ||
gitLabGetBranchesForProject(projectId: number, domain?: string, accessToken?: string, options?: any): Promise<import("axios").AxiosResponse<Branch[]>>; | ||
/** | ||
* | ||
* @summary Returns a single GitLab project, that the user is a member of, based on the provided credentials. | ||
* @param {number} projectId GitLab Project Identifier | ||
* @param {string} [domain] Domain/Host of the GitLab Provider | ||
* @param {string} [accessToken] GitLab Project or Group Access Token | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
* @memberof GitLabApi | ||
*/ | ||
gitLabGetProject(projectId: number, domain?: string, accessToken?: string, options?: any): Promise<import("axios").AxiosResponse<Project>>; | ||
} | ||
/** | ||
* ResourceApi - axios parameter creator | ||
@@ -506,0 +1234,0 @@ * @export |
@@ -5,3 +5,3 @@ /** | ||
* | ||
* The version of the OpenAPI document: 3.0.7 | ||
* The version of the OpenAPI document: 3.1.1 | ||
* | ||
@@ -8,0 +8,0 @@ * |
@@ -5,3 +5,3 @@ /** | ||
* | ||
* The version of the OpenAPI document: 3.0.7 | ||
* The version of the OpenAPI document: 3.1.1 | ||
* | ||
@@ -8,0 +8,0 @@ * |
@@ -5,3 +5,3 @@ /** | ||
* | ||
* The version of the OpenAPI document: 3.0.7 | ||
* The version of the OpenAPI document: 3.1.1 | ||
* | ||
@@ -8,0 +8,0 @@ * |
@@ -5,3 +5,3 @@ /** | ||
* | ||
* The version of the OpenAPI document: 3.0.7 | ||
* The version of the OpenAPI document: 3.1.1 | ||
* | ||
@@ -8,0 +8,0 @@ * |
@@ -5,3 +5,3 @@ /** | ||
* | ||
* The version of the OpenAPI document: 2.8.5 | ||
* The version of the OpenAPI document: 2.8.7 | ||
* | ||
@@ -8,0 +8,0 @@ * |
@@ -5,3 +5,3 @@ /** | ||
* | ||
* The version of the OpenAPI document: 2.8.5 | ||
* The version of the OpenAPI document: 2.8.7 | ||
* | ||
@@ -8,0 +8,0 @@ * |
@@ -5,3 +5,3 @@ /** | ||
* | ||
* The version of the OpenAPI document: 2.8.5 | ||
* The version of the OpenAPI document: 2.8.7 | ||
* | ||
@@ -8,0 +8,0 @@ * |
@@ -5,3 +5,3 @@ /** | ||
* | ||
* The version of the OpenAPI document: 2.8.5 | ||
* The version of the OpenAPI document: 2.8.7 | ||
* | ||
@@ -8,0 +8,0 @@ * |
@@ -5,3 +5,3 @@ /** | ||
* | ||
* The version of the OpenAPI document: 2.8.5 | ||
* The version of the OpenAPI document: 2.8.7 | ||
* | ||
@@ -8,0 +8,0 @@ * |
@@ -5,3 +5,3 @@ /** | ||
* | ||
* The version of the OpenAPI document: 3.1.0 | ||
* The version of the OpenAPI document: 3.2.0 | ||
* | ||
@@ -8,0 +8,0 @@ * |
@@ -5,3 +5,3 @@ /** | ||
* | ||
* The version of the OpenAPI document: 3.1.0 | ||
* The version of the OpenAPI document: 3.2.0 | ||
* | ||
@@ -8,0 +8,0 @@ * |
@@ -5,3 +5,3 @@ /** | ||
* | ||
* The version of the OpenAPI document: 3.1.0 | ||
* The version of the OpenAPI document: 3.2.0 | ||
* | ||
@@ -8,0 +8,0 @@ * |
@@ -5,3 +5,3 @@ /** | ||
* | ||
* The version of the OpenAPI document: 3.1.0 | ||
* The version of the OpenAPI document: 3.2.0 | ||
* | ||
@@ -8,0 +8,0 @@ * |
@@ -5,3 +5,3 @@ /** | ||
* | ||
* The version of the OpenAPI document: 3.1.0 | ||
* The version of the OpenAPI document: 3.2.0 | ||
* | ||
@@ -8,0 +8,0 @@ * |
@@ -23,2 +23,7 @@ declare const apis: { | ||
}; | ||
GitLabApi: { | ||
gitLabGetAllProjects(domain?: string, accessToken?: string, options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Resources").Project[]>; | ||
gitLabGetBranchesForProject(projectId: number, domain?: string, accessToken?: string, options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Resources").Branch[]>; | ||
gitLabGetProject(projectId: number, domain?: string, accessToken?: string, options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Resources").Project>; | ||
}; | ||
HomeApi: { | ||
@@ -173,2 +178,7 @@ homeIndex(options?: any): import("axios").AxiosPromise<any>; | ||
}; | ||
export declare const GitLabApi: { | ||
gitLabGetAllProjects(domain?: string, accessToken?: string, options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Resources").Project[]>; | ||
gitLabGetBranchesForProject(projectId: number, domain?: string, accessToken?: string, options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Resources").Branch[]>; | ||
gitLabGetProject(projectId: number, domain?: string, accessToken?: string, options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Resources").Project>; | ||
}; | ||
export declare const HomeApi: { | ||
@@ -175,0 +185,0 @@ homeIndex(options?: any): import("axios").AxiosPromise<any>; |
{ | ||
"name": "@coscine/api-client", | ||
"version": "2.6.0", | ||
"version": "2.7.0", | ||
"description": "This project contains the generated api connection classes.", | ||
@@ -60,10 +60,3 @@ "keywords": [ | ||
], | ||
"coverageThreshold": { | ||
"global": { | ||
"branches": 90, | ||
"functions": 95, | ||
"lines": 95, | ||
"statements": 95 | ||
} | ||
}, | ||
"coverageThreshold": {}, | ||
"collectCoverageFrom": [ | ||
@@ -70,0 +63,0 @@ "src/*.{js,ts}" |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3580766
40300