You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

@emilgroup/changelog-sdk-node

Package Overview
Dependencies
Maintainers
20
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@emilgroup/changelog-sdk-node - npm Package Compare versions

Comparing version
1.0.1-beta.12
to
1.0.1-beta.14
+117
-16
api/changelog-configurations-api.ts

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

/**
* Creates a new changelog configuration for an entity type **Required Permissions** none
* Creates a new changelog configuration for an entity type **Required Permissions** \"changelog-management.changelog-configurations.create\"
* @summary Create the changelog configuration

@@ -90,3 +90,48 @@ * @param {CreateChangelogConfigurationDto} createChangelogConfigurationDto

/**
* Retrieves a changelog configuration by its code **Required Permissions** none
* Deletes a changelog configuration by its code **Required Permissions** \"changelog-management.changelog-configurations.delete\"
* @summary Delete the changelog configuration
* @param {string} code Unique identifier code for the changelog configuration
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
deleteChangelogConfiguration: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
// verify required parameter 'code' is not null or undefined
assertParamExists('deleteChangelogConfiguration', 'code', code)
const localVarPath = `/changelogservice/v1/changelog-configurations/{code}`
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
// use dummy base URL string because the URL constructor only accepts absolute URLs.
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
let baseOptions;
let baseAccessToken;
if (configuration) {
baseOptions = configuration.baseOptions;
baseAccessToken = configuration.accessToken;
}
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
const localVarHeaderParameter = {} as any;
const localVarQueryParameter = {} as any;
// authentication bearer required
// http bearer authentication required
await setBearerAuthToObject(localVarHeaderParameter, configuration)
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
}
setSearchParams(localVarUrlObj, localVarQueryParameter);
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
return {
url: toPathString(localVarUrlObj),
options: localVarRequestOptions,
};
},
/**
* Retrieves a changelog configuration by its code **Required Permissions** \"changelog-management.changelog-configurations.view\"
* @summary Retrieve the changelog configuration

@@ -136,3 +181,3 @@ * @param {string} code Unique identifier code for the changelog configuration

/**
* Returns a list of changelog configurations you have previously created. The changelog configurations are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** none
* Returns a list of changelog configurations you have previously created. The changelog configurations are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"changelog-management.changelog-configurations.view\"
* @summary List changelog configurations

@@ -213,3 +258,3 @@ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.

/**
* Updates an existing changelog configuration **Required Permissions** none
* Updates an existing changelog configuration **Required Permissions** \"changelog-management.changelog-configurations.update\"
* @summary Update the changelog configuration

@@ -275,3 +320,3 @@ * @param {string} code Unique identifier code for the changelog configuration

/**
* Creates a new changelog configuration for an entity type **Required Permissions** none
* Creates a new changelog configuration for an entity type **Required Permissions** \"changelog-management.changelog-configurations.create\"
* @summary Create the changelog configuration

@@ -288,3 +333,15 @@ * @param {CreateChangelogConfigurationDto} createChangelogConfigurationDto

/**
* Retrieves a changelog configuration by its code **Required Permissions** none
* Deletes a changelog configuration by its code **Required Permissions** \"changelog-management.changelog-configurations.delete\"
* @summary Delete the changelog configuration
* @param {string} code Unique identifier code for the changelog configuration
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
async deleteChangelogConfiguration(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteChangelogConfiguration(code, authorization, options);
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
},
/**
* Retrieves a changelog configuration by its code **Required Permissions** \"changelog-management.changelog-configurations.view\"
* @summary Retrieve the changelog configuration

@@ -301,3 +358,3 @@ * @param {string} code Unique identifier code for the changelog configuration

/**
* Returns a list of changelog configurations you have previously created. The changelog configurations are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** none
* Returns a list of changelog configurations you have previously created. The changelog configurations are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"changelog-management.changelog-configurations.view\"
* @summary List changelog configurations

@@ -320,3 +377,3 @@ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.

/**
* Updates an existing changelog configuration **Required Permissions** none
* Updates an existing changelog configuration **Required Permissions** \"changelog-management.changelog-configurations.update\"
* @summary Update the changelog configuration

@@ -344,3 +401,3 @@ * @param {string} code Unique identifier code for the changelog configuration

/**
* Creates a new changelog configuration for an entity type **Required Permissions** none
* Creates a new changelog configuration for an entity type **Required Permissions** \"changelog-management.changelog-configurations.create\"
* @summary Create the changelog configuration

@@ -356,3 +413,14 @@ * @param {CreateChangelogConfigurationDto} createChangelogConfigurationDto

/**
* Retrieves a changelog configuration by its code **Required Permissions** none
* Deletes a changelog configuration by its code **Required Permissions** \"changelog-management.changelog-configurations.delete\"
* @summary Delete the changelog configuration
* @param {string} code Unique identifier code for the changelog configuration
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
deleteChangelogConfiguration(code: string, authorization?: string, options?: any): AxiosPromise<void> {
return localVarFp.deleteChangelogConfiguration(code, authorization, options).then((request) => request(axios, basePath));
},
/**
* Retrieves a changelog configuration by its code **Required Permissions** \"changelog-management.changelog-configurations.view\"
* @summary Retrieve the changelog configuration

@@ -368,3 +436,3 @@ * @param {string} code Unique identifier code for the changelog configuration

/**
* Returns a list of changelog configurations you have previously created. The changelog configurations are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** none
* Returns a list of changelog configurations you have previously created. The changelog configurations are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"changelog-management.changelog-configurations.view\"
* @summary List changelog configurations

@@ -386,3 +454,3 @@ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.

/**
* Updates an existing changelog configuration **Required Permissions** none
* Updates an existing changelog configuration **Required Permissions** \"changelog-management.changelog-configurations.update\"
* @summary Update the changelog configuration

@@ -423,2 +491,23 @@ * @param {string} code Unique identifier code for the changelog configuration

/**
* Request parameters for deleteChangelogConfiguration operation in ChangelogConfigurationsApi.
* @export
* @interface ChangelogConfigurationsApiDeleteChangelogConfigurationRequest
*/
export interface ChangelogConfigurationsApiDeleteChangelogConfigurationRequest {
/**
* Unique identifier code for the changelog configuration
* @type {string}
* @memberof ChangelogConfigurationsApiDeleteChangelogConfiguration
*/
readonly code: string
/**
* Bearer Token: provided by the login endpoint under the name accessToken.
* @type {string}
* @memberof ChangelogConfigurationsApiDeleteChangelogConfiguration
*/
readonly authorization?: string
}
/**
* Request parameters for getChangelogConfiguration operation in ChangelogConfigurationsApi.

@@ -543,3 +632,3 @@ * @export

/**
* Creates a new changelog configuration for an entity type **Required Permissions** none
* Creates a new changelog configuration for an entity type **Required Permissions** \"changelog-management.changelog-configurations.create\"
* @summary Create the changelog configuration

@@ -556,3 +645,15 @@ * @param {ChangelogConfigurationsApiCreateChangelogConfigurationRequest} requestParameters Request parameters.

/**
* Retrieves a changelog configuration by its code **Required Permissions** none
* Deletes a changelog configuration by its code **Required Permissions** \"changelog-management.changelog-configurations.delete\"
* @summary Delete the changelog configuration
* @param {ChangelogConfigurationsApiDeleteChangelogConfigurationRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof ChangelogConfigurationsApi
*/
public deleteChangelogConfiguration(requestParameters: ChangelogConfigurationsApiDeleteChangelogConfigurationRequest, options?: AxiosRequestConfig) {
return ChangelogConfigurationsApiFp(this.configuration).deleteChangelogConfiguration(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
}
/**
* Retrieves a changelog configuration by its code **Required Permissions** \"changelog-management.changelog-configurations.view\"
* @summary Retrieve the changelog configuration

@@ -569,3 +670,3 @@ * @param {ChangelogConfigurationsApiGetChangelogConfigurationRequest} requestParameters Request parameters.

/**
* Returns a list of changelog configurations you have previously created. The changelog configurations are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** none
* Returns a list of changelog configurations you have previously created. The changelog configurations are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"changelog-management.changelog-configurations.view\"
* @summary List changelog configurations

@@ -582,3 +683,3 @@ * @param {ChangelogConfigurationsApiListChangelogConfigurationsRequest} requestParameters Request parameters.

/**
* Updates an existing changelog configuration **Required Permissions** none
* Updates an existing changelog configuration **Required Permissions** \"changelog-management.changelog-configurations.update\"
* @summary Update the changelog configuration

@@ -585,0 +686,0 @@ * @param {ChangelogConfigurationsApiUpdateChangelogConfigurationRequest} requestParameters Request parameters.

+12
-12

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

/**
* Retrieves a changelog event by its code **Required Permissions** none
* Retrieves a changelog event by its code **Required Permissions** \"changelog-management.changelog-events.view\"
* @summary Retrieve the changelog event

@@ -86,3 +86,3 @@ * @param {string} code Unique identifier code for the changelog event

/**
* Returns a list of changelog events you have previously created. The changelog events are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** none
* Returns a list of changelog events you have previously created. The changelog events are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"changelog-management.changelog-events.view\"
* @summary List changelog events

@@ -163,3 +163,3 @@ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.

/**
* Returns a list of formatted changelog events you have previously created. The formatted changelog events are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** none
* Returns a list of formatted changelog events you have previously created. The formatted changelog events are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"changelog-management.changelog-events.view\"
* @summary List formatted changelog events

@@ -254,3 +254,3 @@ * @param {string} configSlug Slug of the changelog configuration to apply

/**
* Retrieves a changelog event by its code **Required Permissions** none
* Retrieves a changelog event by its code **Required Permissions** \"changelog-management.changelog-events.view\"
* @summary Retrieve the changelog event

@@ -267,3 +267,3 @@ * @param {string} code Unique identifier code for the changelog event

/**
* Returns a list of changelog events you have previously created. The changelog events are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** none
* Returns a list of changelog events you have previously created. The changelog events are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"changelog-management.changelog-events.view\"
* @summary List changelog events

@@ -286,3 +286,3 @@ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.

/**
* Returns a list of formatted changelog events you have previously created. The formatted changelog events are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** none
* Returns a list of formatted changelog events you have previously created. The formatted changelog events are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"changelog-management.changelog-events.view\"
* @summary List formatted changelog events

@@ -316,3 +316,3 @@ * @param {string} configSlug Slug of the changelog configuration to apply

/**
* Retrieves a changelog event by its code **Required Permissions** none
* Retrieves a changelog event by its code **Required Permissions** \"changelog-management.changelog-events.view\"
* @summary Retrieve the changelog event

@@ -328,3 +328,3 @@ * @param {string} code Unique identifier code for the changelog event

/**
* Returns a list of changelog events you have previously created. The changelog events are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** none
* Returns a list of changelog events you have previously created. The changelog events are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"changelog-management.changelog-events.view\"
* @summary List changelog events

@@ -346,3 +346,3 @@ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.

/**
* Returns a list of formatted changelog events you have previously created. The formatted changelog events are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** none
* Returns a list of formatted changelog events you have previously created. The formatted changelog events are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"changelog-management.changelog-events.view\"
* @summary List formatted changelog events

@@ -529,3 +529,3 @@ * @param {string} configSlug Slug of the changelog configuration to apply

/**
* Retrieves a changelog event by its code **Required Permissions** none
* Retrieves a changelog event by its code **Required Permissions** \"changelog-management.changelog-events.view\"
* @summary Retrieve the changelog event

@@ -542,3 +542,3 @@ * @param {ChangelogEventsApiGetChangelogEventRequest} requestParameters Request parameters.

/**
* Returns a list of changelog events you have previously created. The changelog events are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** none
* Returns a list of changelog events you have previously created. The changelog events are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"changelog-management.changelog-events.view\"
* @summary List changelog events

@@ -555,3 +555,3 @@ * @param {ChangelogEventsApiListChangelogEventsRequest} requestParameters Request parameters.

/**
* Returns a list of formatted changelog events you have previously created. The formatted changelog events are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** none
* Returns a list of formatted changelog events you have previously created. The formatted changelog events are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"changelog-management.changelog-events.view\"
* @summary List formatted changelog events

@@ -558,0 +558,0 @@ * @param {ChangelogEventsApiListFormattedChangelogEventsRequest} requestParameters Request parameters.

@@ -25,3 +25,3 @@ /**

/**
* Creates a new changelog configuration for an entity type **Required Permissions** none
* Creates a new changelog configuration for an entity type **Required Permissions** \"changelog-management.changelog-configurations.create\"
* @summary Create the changelog configuration

@@ -35,3 +35,12 @@ * @param {CreateChangelogConfigurationDto} createChangelogConfigurationDto

/**
* Retrieves a changelog configuration by its code **Required Permissions** none
* Deletes a changelog configuration by its code **Required Permissions** \"changelog-management.changelog-configurations.delete\"
* @summary Delete the changelog configuration
* @param {string} code Unique identifier code for the changelog configuration
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
deleteChangelogConfiguration: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
/**
* Retrieves a changelog configuration by its code **Required Permissions** \"changelog-management.changelog-configurations.view\"
* @summary Retrieve the changelog configuration

@@ -45,3 +54,3 @@ * @param {string} code Unique identifier code for the changelog configuration

/**
* Returns a list of changelog configurations you have previously created. The changelog configurations are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** none
* Returns a list of changelog configurations you have previously created. The changelog configurations are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"changelog-management.changelog-configurations.view\"
* @summary List changelog configurations

@@ -61,3 +70,3 @@ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.

/**
* Updates an existing changelog configuration **Required Permissions** none
* Updates an existing changelog configuration **Required Permissions** \"changelog-management.changelog-configurations.update\"
* @summary Update the changelog configuration

@@ -78,3 +87,3 @@ * @param {string} code Unique identifier code for the changelog configuration

/**
* Creates a new changelog configuration for an entity type **Required Permissions** none
* Creates a new changelog configuration for an entity type **Required Permissions** \"changelog-management.changelog-configurations.create\"
* @summary Create the changelog configuration

@@ -88,3 +97,12 @@ * @param {CreateChangelogConfigurationDto} createChangelogConfigurationDto

/**
* Retrieves a changelog configuration by its code **Required Permissions** none
* Deletes a changelog configuration by its code **Required Permissions** \"changelog-management.changelog-configurations.delete\"
* @summary Delete the changelog configuration
* @param {string} code Unique identifier code for the changelog configuration
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
deleteChangelogConfiguration(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
/**
* Retrieves a changelog configuration by its code **Required Permissions** \"changelog-management.changelog-configurations.view\"
* @summary Retrieve the changelog configuration

@@ -98,3 +116,3 @@ * @param {string} code Unique identifier code for the changelog configuration

/**
* Returns a list of changelog configurations you have previously created. The changelog configurations are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** none
* Returns a list of changelog configurations you have previously created. The changelog configurations are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"changelog-management.changelog-configurations.view\"
* @summary List changelog configurations

@@ -114,3 +132,3 @@ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.

/**
* Updates an existing changelog configuration **Required Permissions** none
* Updates an existing changelog configuration **Required Permissions** \"changelog-management.changelog-configurations.update\"
* @summary Update the changelog configuration

@@ -131,3 +149,3 @@ * @param {string} code Unique identifier code for the changelog configuration

/**
* Creates a new changelog configuration for an entity type **Required Permissions** none
* Creates a new changelog configuration for an entity type **Required Permissions** \"changelog-management.changelog-configurations.create\"
* @summary Create the changelog configuration

@@ -141,3 +159,12 @@ * @param {CreateChangelogConfigurationDto} createChangelogConfigurationDto

/**
* Retrieves a changelog configuration by its code **Required Permissions** none
* Deletes a changelog configuration by its code **Required Permissions** \"changelog-management.changelog-configurations.delete\"
* @summary Delete the changelog configuration
* @param {string} code Unique identifier code for the changelog configuration
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
deleteChangelogConfiguration(code: string, authorization?: string, options?: any): AxiosPromise<void>;
/**
* Retrieves a changelog configuration by its code **Required Permissions** \"changelog-management.changelog-configurations.view\"
* @summary Retrieve the changelog configuration

@@ -151,3 +178,3 @@ * @param {string} code Unique identifier code for the changelog configuration

/**
* Returns a list of changelog configurations you have previously created. The changelog configurations are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** none
* Returns a list of changelog configurations you have previously created. The changelog configurations are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"changelog-management.changelog-configurations.view\"
* @summary List changelog configurations

@@ -167,3 +194,3 @@ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.

/**
* Updates an existing changelog configuration **Required Permissions** none
* Updates an existing changelog configuration **Required Permissions** \"changelog-management.changelog-configurations.update\"
* @summary Update the changelog configuration

@@ -198,2 +225,21 @@ * @param {string} code Unique identifier code for the changelog configuration

/**
* Request parameters for deleteChangelogConfiguration operation in ChangelogConfigurationsApi.
* @export
* @interface ChangelogConfigurationsApiDeleteChangelogConfigurationRequest
*/
export interface ChangelogConfigurationsApiDeleteChangelogConfigurationRequest {
/**
* Unique identifier code for the changelog configuration
* @type {string}
* @memberof ChangelogConfigurationsApiDeleteChangelogConfiguration
*/
readonly code: string;
/**
* Bearer Token: provided by the login endpoint under the name accessToken.
* @type {string}
* @memberof ChangelogConfigurationsApiDeleteChangelogConfiguration
*/
readonly authorization?: string;
}
/**
* Request parameters for getChangelogConfiguration operation in ChangelogConfigurationsApi.

@@ -305,3 +351,3 @@ * @export

/**
* Creates a new changelog configuration for an entity type **Required Permissions** none
* Creates a new changelog configuration for an entity type **Required Permissions** \"changelog-management.changelog-configurations.create\"
* @summary Create the changelog configuration

@@ -315,3 +361,12 @@ * @param {ChangelogConfigurationsApiCreateChangelogConfigurationRequest} requestParameters Request parameters.

/**
* Retrieves a changelog configuration by its code **Required Permissions** none
* Deletes a changelog configuration by its code **Required Permissions** \"changelog-management.changelog-configurations.delete\"
* @summary Delete the changelog configuration
* @param {ChangelogConfigurationsApiDeleteChangelogConfigurationRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof ChangelogConfigurationsApi
*/
deleteChangelogConfiguration(requestParameters: ChangelogConfigurationsApiDeleteChangelogConfigurationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
/**
* Retrieves a changelog configuration by its code **Required Permissions** \"changelog-management.changelog-configurations.view\"
* @summary Retrieve the changelog configuration

@@ -325,3 +380,3 @@ * @param {ChangelogConfigurationsApiGetChangelogConfigurationRequest} requestParameters Request parameters.

/**
* Returns a list of changelog configurations you have previously created. The changelog configurations are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** none
* Returns a list of changelog configurations you have previously created. The changelog configurations are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"changelog-management.changelog-configurations.view\"
* @summary List changelog configurations

@@ -335,3 +390,3 @@ * @param {ChangelogConfigurationsApiListChangelogConfigurationsRequest} requestParameters Request parameters.

/**
* Updates an existing changelog configuration **Required Permissions** none
* Updates an existing changelog configuration **Required Permissions** \"changelog-management.changelog-configurations.update\"
* @summary Update the changelog configuration

@@ -338,0 +393,0 @@ * @param {ChangelogConfigurationsApiUpdateChangelogConfigurationRequest} requestParameters Request parameters.

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

/**
* Creates a new changelog configuration for an entity type **Required Permissions** none
* Creates a new changelog configuration for an entity type **Required Permissions** \"changelog-management.changelog-configurations.create\"
* @summary Create the changelog configuration

@@ -150,3 +150,51 @@ * @param {CreateChangelogConfigurationDto} createChangelogConfigurationDto

/**
* Retrieves a changelog configuration by its code **Required Permissions** none
* Deletes a changelog configuration by its code **Required Permissions** \"changelog-management.changelog-configurations.delete\"
* @summary Delete the changelog configuration
* @param {string} code Unique identifier code for the changelog configuration
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
deleteChangelogConfiguration: function (code, authorization, options) {
if (options === void 0) { options = {}; }
return __awaiter(_this, void 0, void 0, function () {
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
return __generator(this, function (_a) {
switch (_a.label) {
case 0:
// verify required parameter 'code' is not null or undefined
(0, common_1.assertParamExists)('deleteChangelogConfiguration', 'code', code);
localVarPath = "/changelogservice/v1/changelog-configurations/{code}"
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
if (configuration) {
baseOptions = configuration.baseOptions;
baseAccessToken = configuration.accessToken;
}
localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
localVarHeaderParameter = {};
localVarQueryParameter = {};
// authentication bearer required
// http bearer authentication required
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
case 1:
// authentication bearer required
// http bearer authentication required
_a.sent();
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
}
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
return [2 /*return*/, {
url: (0, common_1.toPathString)(localVarUrlObj),
options: localVarRequestOptions,
}];
}
});
});
},
/**
* Retrieves a changelog configuration by its code **Required Permissions** \"changelog-management.changelog-configurations.view\"
* @summary Retrieve the changelog configuration

@@ -199,3 +247,3 @@ * @param {string} code Unique identifier code for the changelog configuration

/**
* Returns a list of changelog configurations you have previously created. The changelog configurations are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** none
* Returns a list of changelog configurations you have previously created. The changelog configurations are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"changelog-management.changelog-configurations.view\"
* @summary List changelog configurations

@@ -272,3 +320,3 @@ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.

/**
* Updates an existing changelog configuration **Required Permissions** none
* Updates an existing changelog configuration **Required Permissions** \"changelog-management.changelog-configurations.update\"
* @summary Update the changelog configuration

@@ -336,3 +384,3 @@ * @param {string} code Unique identifier code for the changelog configuration

/**
* Creates a new changelog configuration for an entity type **Required Permissions** none
* Creates a new changelog configuration for an entity type **Required Permissions** \"changelog-management.changelog-configurations.create\"
* @summary Create the changelog configuration

@@ -358,3 +406,24 @@ * @param {CreateChangelogConfigurationDto} createChangelogConfigurationDto

/**
* Retrieves a changelog configuration by its code **Required Permissions** none
* Deletes a changelog configuration by its code **Required Permissions** \"changelog-management.changelog-configurations.delete\"
* @summary Delete the changelog configuration
* @param {string} code Unique identifier code for the changelog configuration
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
deleteChangelogConfiguration: function (code, authorization, options) {
return __awaiter(this, void 0, void 0, function () {
var localVarAxiosArgs;
return __generator(this, function (_a) {
switch (_a.label) {
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteChangelogConfiguration(code, authorization, options)];
case 1:
localVarAxiosArgs = _a.sent();
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
}
});
});
},
/**
* Retrieves a changelog configuration by its code **Required Permissions** \"changelog-management.changelog-configurations.view\"
* @summary Retrieve the changelog configuration

@@ -380,3 +449,3 @@ * @param {string} code Unique identifier code for the changelog configuration

/**
* Returns a list of changelog configurations you have previously created. The changelog configurations are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** none
* Returns a list of changelog configurations you have previously created. The changelog configurations are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"changelog-management.changelog-configurations.view\"
* @summary List changelog configurations

@@ -408,3 +477,3 @@ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.

/**
* Updates an existing changelog configuration **Required Permissions** none
* Updates an existing changelog configuration **Required Permissions** \"changelog-management.changelog-configurations.update\"
* @summary Update the changelog configuration

@@ -441,3 +510,3 @@ * @param {string} code Unique identifier code for the changelog configuration

/**
* Creates a new changelog configuration for an entity type **Required Permissions** none
* Creates a new changelog configuration for an entity type **Required Permissions** \"changelog-management.changelog-configurations.create\"
* @summary Create the changelog configuration

@@ -453,3 +522,14 @@ * @param {CreateChangelogConfigurationDto} createChangelogConfigurationDto

/**
* Retrieves a changelog configuration by its code **Required Permissions** none
* Deletes a changelog configuration by its code **Required Permissions** \"changelog-management.changelog-configurations.delete\"
* @summary Delete the changelog configuration
* @param {string} code Unique identifier code for the changelog configuration
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
deleteChangelogConfiguration: function (code, authorization, options) {
return localVarFp.deleteChangelogConfiguration(code, authorization, options).then(function (request) { return request(axios, basePath); });
},
/**
* Retrieves a changelog configuration by its code **Required Permissions** \"changelog-management.changelog-configurations.view\"
* @summary Retrieve the changelog configuration

@@ -465,3 +545,3 @@ * @param {string} code Unique identifier code for the changelog configuration

/**
* Returns a list of changelog configurations you have previously created. The changelog configurations are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** none
* Returns a list of changelog configurations you have previously created. The changelog configurations are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"changelog-management.changelog-configurations.view\"
* @summary List changelog configurations

@@ -483,3 +563,3 @@ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.

/**
* Updates an existing changelog configuration **Required Permissions** none
* Updates an existing changelog configuration **Required Permissions** \"changelog-management.changelog-configurations.update\"
* @summary Update the changelog configuration

@@ -510,3 +590,3 @@ * @param {string} code Unique identifier code for the changelog configuration

/**
* Creates a new changelog configuration for an entity type **Required Permissions** none
* Creates a new changelog configuration for an entity type **Required Permissions** \"changelog-management.changelog-configurations.create\"
* @summary Create the changelog configuration

@@ -523,3 +603,15 @@ * @param {ChangelogConfigurationsApiCreateChangelogConfigurationRequest} requestParameters Request parameters.

/**
* Retrieves a changelog configuration by its code **Required Permissions** none
* Deletes a changelog configuration by its code **Required Permissions** \"changelog-management.changelog-configurations.delete\"
* @summary Delete the changelog configuration
* @param {ChangelogConfigurationsApiDeleteChangelogConfigurationRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof ChangelogConfigurationsApi
*/
ChangelogConfigurationsApi.prototype.deleteChangelogConfiguration = function (requestParameters, options) {
var _this = this;
return (0, exports.ChangelogConfigurationsApiFp)(this.configuration).deleteChangelogConfiguration(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
};
/**
* Retrieves a changelog configuration by its code **Required Permissions** \"changelog-management.changelog-configurations.view\"
* @summary Retrieve the changelog configuration

@@ -536,3 +628,3 @@ * @param {ChangelogConfigurationsApiGetChangelogConfigurationRequest} requestParameters Request parameters.

/**
* Returns a list of changelog configurations you have previously created. The changelog configurations are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** none
* Returns a list of changelog configurations you have previously created. The changelog configurations are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"changelog-management.changelog-configurations.view\"
* @summary List changelog configurations

@@ -550,3 +642,3 @@ * @param {ChangelogConfigurationsApiListChangelogConfigurationsRequest} requestParameters Request parameters.

/**
* Updates an existing changelog configuration **Required Permissions** none
* Updates an existing changelog configuration **Required Permissions** \"changelog-management.changelog-configurations.update\"
* @summary Update the changelog configuration

@@ -553,0 +645,0 @@ * @param {ChangelogConfigurationsApiUpdateChangelogConfigurationRequest} requestParameters Request parameters.

@@ -24,3 +24,3 @@ /**

/**
* Retrieves a changelog event by its code **Required Permissions** none
* Retrieves a changelog event by its code **Required Permissions** \"changelog-management.changelog-events.view\"
* @summary Retrieve the changelog event

@@ -34,3 +34,3 @@ * @param {string} code Unique identifier code for the changelog event

/**
* Returns a list of changelog events you have previously created. The changelog events are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** none
* Returns a list of changelog events you have previously created. The changelog events are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"changelog-management.changelog-events.view\"
* @summary List changelog events

@@ -50,3 +50,3 @@ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.

/**
* Returns a list of formatted changelog events you have previously created. The formatted changelog events are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** none
* Returns a list of formatted changelog events you have previously created. The formatted changelog events are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"changelog-management.changelog-events.view\"
* @summary List formatted changelog events

@@ -73,3 +73,3 @@ * @param {string} configSlug Slug of the changelog configuration to apply

/**
* Retrieves a changelog event by its code **Required Permissions** none
* Retrieves a changelog event by its code **Required Permissions** \"changelog-management.changelog-events.view\"
* @summary Retrieve the changelog event

@@ -83,3 +83,3 @@ * @param {string} code Unique identifier code for the changelog event

/**
* Returns a list of changelog events you have previously created. The changelog events are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** none
* Returns a list of changelog events you have previously created. The changelog events are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"changelog-management.changelog-events.view\"
* @summary List changelog events

@@ -99,3 +99,3 @@ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.

/**
* Returns a list of formatted changelog events you have previously created. The formatted changelog events are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** none
* Returns a list of formatted changelog events you have previously created. The formatted changelog events are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"changelog-management.changelog-events.view\"
* @summary List formatted changelog events

@@ -122,3 +122,3 @@ * @param {string} configSlug Slug of the changelog configuration to apply

/**
* Retrieves a changelog event by its code **Required Permissions** none
* Retrieves a changelog event by its code **Required Permissions** \"changelog-management.changelog-events.view\"
* @summary Retrieve the changelog event

@@ -132,3 +132,3 @@ * @param {string} code Unique identifier code for the changelog event

/**
* Returns a list of changelog events you have previously created. The changelog events are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** none
* Returns a list of changelog events you have previously created. The changelog events are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"changelog-management.changelog-events.view\"
* @summary List changelog events

@@ -148,3 +148,3 @@ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.

/**
* Returns a list of formatted changelog events you have previously created. The formatted changelog events are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** none
* Returns a list of formatted changelog events you have previously created. The formatted changelog events are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"changelog-management.changelog-events.view\"
* @summary List formatted changelog events

@@ -308,3 +308,3 @@ * @param {string} configSlug Slug of the changelog configuration to apply

/**
* Retrieves a changelog event by its code **Required Permissions** none
* Retrieves a changelog event by its code **Required Permissions** \"changelog-management.changelog-events.view\"
* @summary Retrieve the changelog event

@@ -318,3 +318,3 @@ * @param {ChangelogEventsApiGetChangelogEventRequest} requestParameters Request parameters.

/**
* Returns a list of changelog events you have previously created. The changelog events are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** none
* Returns a list of changelog events you have previously created. The changelog events are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"changelog-management.changelog-events.view\"
* @summary List changelog events

@@ -328,3 +328,3 @@ * @param {ChangelogEventsApiListChangelogEventsRequest} requestParameters Request parameters.

/**
* Returns a list of formatted changelog events you have previously created. The formatted changelog events are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** none
* Returns a list of formatted changelog events you have previously created. The formatted changelog events are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"changelog-management.changelog-events.view\"
* @summary List formatted changelog events

@@ -331,0 +331,0 @@ * @param {ChangelogEventsApiListFormattedChangelogEventsRequest} requestParameters Request parameters.

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

/**
* Retrieves a changelog event by its code **Required Permissions** none
* Retrieves a changelog event by its code **Required Permissions** \"changelog-management.changelog-events.view\"
* @summary Retrieve the changelog event

@@ -149,3 +149,3 @@ * @param {string} code Unique identifier code for the changelog event

/**
* Returns a list of changelog events you have previously created. The changelog events are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** none
* Returns a list of changelog events you have previously created. The changelog events are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"changelog-management.changelog-events.view\"
* @summary List changelog events

@@ -222,3 +222,3 @@ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.

/**
* Returns a list of formatted changelog events you have previously created. The formatted changelog events are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** none
* Returns a list of formatted changelog events you have previously created. The formatted changelog events are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"changelog-management.changelog-events.view\"
* @summary List formatted changelog events

@@ -309,3 +309,3 @@ * @param {string} configSlug Slug of the changelog configuration to apply

/**
* Retrieves a changelog event by its code **Required Permissions** none
* Retrieves a changelog event by its code **Required Permissions** \"changelog-management.changelog-events.view\"
* @summary Retrieve the changelog event

@@ -331,3 +331,3 @@ * @param {string} code Unique identifier code for the changelog event

/**
* Returns a list of changelog events you have previously created. The changelog events are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** none
* Returns a list of changelog events you have previously created. The changelog events are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"changelog-management.changelog-events.view\"
* @summary List changelog events

@@ -359,3 +359,3 @@ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.

/**
* Returns a list of formatted changelog events you have previously created. The formatted changelog events are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** none
* Returns a list of formatted changelog events you have previously created. The formatted changelog events are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"changelog-management.changelog-events.view\"
* @summary List formatted changelog events

@@ -398,3 +398,3 @@ * @param {string} configSlug Slug of the changelog configuration to apply

/**
* Retrieves a changelog event by its code **Required Permissions** none
* Retrieves a changelog event by its code **Required Permissions** \"changelog-management.changelog-events.view\"
* @summary Retrieve the changelog event

@@ -410,3 +410,3 @@ * @param {string} code Unique identifier code for the changelog event

/**
* Returns a list of changelog events you have previously created. The changelog events are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** none
* Returns a list of changelog events you have previously created. The changelog events are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"changelog-management.changelog-events.view\"
* @summary List changelog events

@@ -428,3 +428,3 @@ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.

/**
* Returns a list of formatted changelog events you have previously created. The formatted changelog events are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** none
* Returns a list of formatted changelog events you have previously created. The formatted changelog events are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"changelog-management.changelog-events.view\"
* @summary List formatted changelog events

@@ -461,3 +461,3 @@ * @param {string} configSlug Slug of the changelog configuration to apply

/**
* Retrieves a changelog event by its code **Required Permissions** none
* Retrieves a changelog event by its code **Required Permissions** \"changelog-management.changelog-events.view\"
* @summary Retrieve the changelog event

@@ -474,3 +474,3 @@ * @param {ChangelogEventsApiGetChangelogEventRequest} requestParameters Request parameters.

/**
* Returns a list of changelog events you have previously created. The changelog events are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** none
* Returns a list of changelog events you have previously created. The changelog events are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"changelog-management.changelog-events.view\"
* @summary List changelog events

@@ -488,3 +488,3 @@ * @param {ChangelogEventsApiListChangelogEventsRequest} requestParameters Request parameters.

/**
* Returns a list of formatted changelog events you have previously created. The formatted changelog events are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** none
* Returns a list of formatted changelog events you have previously created. The formatted changelog events are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"changelog-management.changelog-events.view\"
* @summary List formatted changelog events

@@ -491,0 +491,0 @@ * @param {ChangelogEventsApiListFormattedChangelogEventsRequest} requestParameters Request parameters.

{
"name": "@emilgroup/changelog-sdk-node",
"version": "1.0.1-beta.12",
"version": "1.0.1-beta.14",
"description": "OpenAPI client for @emilgroup/changelog-sdk-node",

@@ -5,0 +5,0 @@ "author": "OpenAPI-Generator Contributors",

@@ -20,7 +20,7 @@ # Emil Changelog SDK for Nodejs

```
npm install @emilgroup/changelog-sdk-node@1.0.1-beta.12 --save
npm install @emilgroup/changelog-sdk-node@1.0.1-beta.14 --save
```
or
```
yarn add @emilgroup/changelog-sdk-node@1.0.1-beta.12
yarn add @emilgroup/changelog-sdk-node@1.0.1-beta.14
```

@@ -27,0 +27,0 @@