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

@emilgroup/process-manager-sdk

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@emilgroup/process-manager-sdk - npm Package Compare versions

Comparing version
1.3.0
to
1.3.1-beta.0
+31
dist/models/list-service-event-types-response-class.d.ts
/**
* EMIL Process Manager
* The EMIL Process Manager API description
*
* The version of the OpenAPI document: 1.0
* Contact: kontakt@emil.de
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { ServiceEventTypeClass } from './service-event-type-class';
/**
*
* @export
* @interface ListServiceEventTypesResponseClass
*/
export interface ListServiceEventTypesResponseClass {
/**
* The list of service event types.
* @type {Array<ServiceEventTypeClass>}
* @memberof ListServiceEventTypesResponseClass
*/
'items': Array<ServiceEventTypeClass>;
/**
* Next page token.
* @type {string}
* @memberof ListServiceEventTypesResponseClass
*/
'nextPageToken': string;
}
"use strict";
/* tslint:disable */
/* eslint-disable */
/**
* EMIL Process Manager
* The EMIL Process Manager API description
*
* The version of the OpenAPI document: 1.0
* Contact: kontakt@emil.de
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
Object.defineProperty(exports, "__esModule", { value: true });
/**
* EMIL Process Manager
* The EMIL Process Manager API description
*
* The version of the OpenAPI document: 1.0
* Contact: kontakt@emil.de
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
*
* @export
* @interface ServiceEventTypeClass
*/
export interface ServiceEventTypeClass {
/**
* The event type identifier.
* @type {string}
* @memberof ServiceEventTypeClass
*/
'eventType': string;
/**
* Description of the service event type.
* @type {string}
* @memberof ServiceEventTypeClass
*/
'description': string;
/**
* Human-readable label for the service event type.
* @type {string}
* @memberof ServiceEventTypeClass
*/
'label': string;
}
"use strict";
/* tslint:disable */
/* eslint-disable */
/**
* EMIL Process Manager
* The EMIL Process Manager API description
*
* The version of the OpenAPI document: 1.0
* Contact: kontakt@emil.de
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
Object.defineProperty(exports, "__esModule", { value: true });
/* tslint:disable */
/* eslint-disable */
/**
* EMIL Process Manager
* The EMIL Process Manager API description
*
* The version of the OpenAPI document: 1.0
* Contact: kontakt@emil.de
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { ServiceEventTypeClass } from './service-event-type-class';
/**
*
* @export
* @interface ListServiceEventTypesResponseClass
*/
export interface ListServiceEventTypesResponseClass {
/**
* The list of service event types.
* @type {Array<ServiceEventTypeClass>}
* @memberof ListServiceEventTypesResponseClass
*/
'items': Array<ServiceEventTypeClass>;
/**
* Next page token.
* @type {string}
* @memberof ListServiceEventTypesResponseClass
*/
'nextPageToken': string;
}
/* tslint:disable */
/* eslint-disable */
/**
* EMIL Process Manager
* The EMIL Process Manager API description
*
* The version of the OpenAPI document: 1.0
* Contact: kontakt@emil.de
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
*
* @export
* @interface ServiceEventTypeClass
*/
export interface ServiceEventTypeClass {
/**
* The event type identifier.
* @type {string}
* @memberof ServiceEventTypeClass
*/
'eventType': string;
/**
* Description of the service event type.
* @type {string}
* @memberof ServiceEventTypeClass
*/
'description': string;
/**
* Human-readable label for the service event type.
* @type {string}
* @memberof ServiceEventTypeClass
*/
'label': string;
}
+86
-0

@@ -26,2 +26,4 @@ /* tslint:disable */

// @ts-ignore
import { ListServiceEventTypesResponseClass } from '../models';
// @ts-ignore
import { ListServiceEventsResponseClass } from '../models';

@@ -83,2 +85,42 @@ /**

* @param {string} [authorization] Bearer Token
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
listServiceEventTypes: async (authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
const localVarPath = `/processmanager/v1/service-event/types`;
// 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: 'GET', ...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,
};
},
/**
* undefined **Required Permissions** \"process-management.workflows.view\"
* @param {string} [authorization] Bearer Token
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.

@@ -180,2 +222,12 @@ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.

* @param {string} [authorization] Bearer Token
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
async listServiceEventTypes(authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListServiceEventTypesResponseClass>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.listServiceEventTypes(authorization, options);
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
},
/**
* undefined **Required Permissions** \"process-management.workflows.view\"
* @param {string} [authorization] Bearer Token
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.

@@ -218,2 +270,11 @@ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.

* @param {string} [authorization] Bearer Token
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
listServiceEventTypes(authorization?: string, options?: any): AxiosPromise<ListServiceEventTypesResponseClass> {
return localVarFp.listServiceEventTypes(authorization, options).then((request) => request(axios, basePath));
},
/**
* undefined **Required Permissions** \"process-management.workflows.view\"
* @param {string} [authorization] Bearer Token
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.

@@ -257,2 +318,16 @@ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.

/**
* Request parameters for listServiceEventTypes operation in ServiceEventApi.
* @export
* @interface ServiceEventApiListServiceEventTypesRequest
*/
export interface ServiceEventApiListServiceEventTypesRequest {
/**
* Bearer Token
* @type {string}
* @memberof ServiceEventApiListServiceEventTypes
*/
readonly authorization?: string
}
/**
* Request parameters for listServiceEvents operation in ServiceEventApi.

@@ -340,2 +415,13 @@ * @export

* undefined **Required Permissions** \"process-management.workflows.view\"
* @param {ServiceEventApiListServiceEventTypesRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof ServiceEventApi
*/
public listServiceEventTypes(requestParameters: ServiceEventApiListServiceEventTypesRequest = {}, options?: AxiosRequestConfig) {
return ServiceEventApiFp(this.configuration).listServiceEventTypes(requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
}
/**
* undefined **Required Permissions** \"process-management.workflows.view\"
* @param {ServiceEventApiListServiceEventsRequest} requestParameters Request parameters.

@@ -342,0 +428,0 @@ * @param {*} [options] Override http request option.

@@ -16,2 +16,3 @@ /**

import { DefineServiceEventRequestDto } from '../models';
import { ListServiceEventTypesResponseClass } from '../models';
import { ListServiceEventsResponseClass } from '../models';

@@ -34,2 +35,9 @@ /**

* @param {string} [authorization] Bearer Token
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
listServiceEventTypes: (authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
/**
* undefined **Required Permissions** \"process-management.workflows.view\"
* @param {string} [authorization] Bearer Token
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.

@@ -63,2 +71,9 @@ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.

* @param {string} [authorization] Bearer Token
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
listServiceEventTypes(authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListServiceEventTypesResponseClass>>;
/**
* undefined **Required Permissions** \"process-management.workflows.view\"
* @param {string} [authorization] Bearer Token
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.

@@ -92,2 +107,9 @@ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.

* @param {string} [authorization] Bearer Token
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
listServiceEventTypes(authorization?: string, options?: any): AxiosPromise<ListServiceEventTypesResponseClass>;
/**
* undefined **Required Permissions** \"process-management.workflows.view\"
* @param {string} [authorization] Bearer Token
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.

@@ -125,2 +147,15 @@ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.

/**
* Request parameters for listServiceEventTypes operation in ServiceEventApi.
* @export
* @interface ServiceEventApiListServiceEventTypesRequest
*/
export interface ServiceEventApiListServiceEventTypesRequest {
/**
* Bearer Token
* @type {string}
* @memberof ServiceEventApiListServiceEventTypes
*/
readonly authorization?: string;
}
/**
* Request parameters for listServiceEvents operation in ServiceEventApi.

@@ -197,2 +232,10 @@ * @export

* undefined **Required Permissions** \"process-management.workflows.view\"
* @param {ServiceEventApiListServiceEventTypesRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof ServiceEventApi
*/
listServiceEventTypes(requestParameters?: ServiceEventApiListServiceEventTypesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListServiceEventTypesResponseClass, any>>;
/**
* undefined **Required Permissions** \"process-management.workflows.view\"
* @param {ServiceEventApiListServiceEventsRequest} requestParameters Request parameters.

@@ -199,0 +242,0 @@ * @param {*} [options] Override http request option.

@@ -146,2 +146,45 @@ "use strict";

* @param {string} [authorization] Bearer Token
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
listServiceEventTypes: function (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:
localVarPath = "/processmanager/v1/service-event/types";
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
if (configuration) {
baseOptions = configuration.baseOptions;
baseAccessToken = configuration.accessToken;
}
localVarRequestOptions = __assign(__assign({ method: 'GET' }, 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,
}];
}
});
});
},
/**
* undefined **Required Permissions** \"process-management.workflows.view\"
* @param {string} [authorization] Bearer Token
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.

@@ -248,2 +291,21 @@ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.

* @param {string} [authorization] Bearer Token
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
listServiceEventTypes: function (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.listServiceEventTypes(authorization, options)];
case 1:
localVarAxiosArgs = _a.sent();
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
}
});
});
},
/**
* undefined **Required Permissions** \"process-management.workflows.view\"
* @param {string} [authorization] Bearer Token
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.

@@ -295,2 +357,11 @@ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.

* @param {string} [authorization] Bearer Token
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
listServiceEventTypes: function (authorization, options) {
return localVarFp.listServiceEventTypes(authorization, options).then(function (request) { return request(axios, basePath); });
},
/**
* undefined **Required Permissions** \"process-management.workflows.view\"
* @param {string} [authorization] Bearer Token
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.

@@ -336,2 +407,14 @@ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.

* undefined **Required Permissions** \"process-management.workflows.view\"
* @param {ServiceEventApiListServiceEventTypesRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof ServiceEventApi
*/
ServiceEventApi.prototype.listServiceEventTypes = function (requestParameters, options) {
var _this = this;
if (requestParameters === void 0) { requestParameters = {}; }
return (0, exports.ServiceEventApiFp)(this.configuration).listServiceEventTypes(requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
};
/**
* undefined **Required Permissions** \"process-management.workflows.view\"
* @param {ServiceEventApiListServiceEventsRequest} requestParameters Request parameters.

@@ -338,0 +421,0 @@ * @param {*} [options] Override http request option.

+2
-0

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

readonly InvoiceCreated: "INVOICE_CREATED";
readonly InitialDunningPositionCreated: "INITIAL_DUNNING_POSITION_CREATED";
readonly RecurringDunningPositionCreated: "RECURRING_DUNNING_POSITION_CREATED";
};
export type DefineServiceEventRequestDtoEventTypeEnum = typeof DefineServiceEventRequestDtoEventTypeEnum[keyof typeof DefineServiceEventRequestDtoEventTypeEnum];
+3
-1

@@ -39,3 +39,5 @@ "use strict";

GdvMessageReceived: 'GDV_MESSAGE_RECEIVED',
InvoiceCreated: 'INVOICE_CREATED'
InvoiceCreated: 'INVOICE_CREATED',
InitialDunningPositionCreated: 'INITIAL_DUNNING_POSITION_CREATED',
RecurringDunningPositionCreated: 'RECURRING_DUNNING_POSITION_CREATED'
};

@@ -20,2 +20,3 @@ export * from './create-decision-table-response-class';

export * from './list-decision-tables-response-class';
export * from './list-service-event-types-response-class';
export * from './list-service-events-response-class';

@@ -28,2 +29,3 @@ export * from './list-workflow-instances-response-class';

export * from './service-event-class';
export * from './service-event-type-class';
export * from './trigger-workflow-request-dto';

@@ -30,0 +32,0 @@ export * from './trigger-workflow-request-grpc-dto';

@@ -36,2 +36,3 @@ "use strict";

__exportStar(require("./list-decision-tables-response-class"), exports);
__exportStar(require("./list-service-event-types-response-class"), exports);
__exportStar(require("./list-service-events-response-class"), exports);

@@ -44,2 +45,3 @@ __exportStar(require("./list-workflow-instances-response-class"), exports);

__exportStar(require("./service-event-class"), exports);
__exportStar(require("./service-event-type-class"), exports);
__exportStar(require("./trigger-workflow-request-dto"), exports);

@@ -46,0 +48,0 @@ __exportStar(require("./trigger-workflow-request-grpc-dto"), exports);

@@ -65,3 +65,5 @@ /* tslint:disable */

GdvMessageReceived: 'GDV_MESSAGE_RECEIVED',
InvoiceCreated: 'INVOICE_CREATED'
InvoiceCreated: 'INVOICE_CREATED',
InitialDunningPositionCreated: 'INITIAL_DUNNING_POSITION_CREATED',
RecurringDunningPositionCreated: 'RECURRING_DUNNING_POSITION_CREATED'
} as const;

@@ -68,0 +70,0 @@

@@ -20,2 +20,3 @@ export * from './create-decision-table-response-class';

export * from './list-decision-tables-response-class';
export * from './list-service-event-types-response-class';
export * from './list-service-events-response-class';

@@ -28,2 +29,3 @@ export * from './list-workflow-instances-response-class';

export * from './service-event-class';
export * from './service-event-type-class';
export * from './trigger-workflow-request-dto';

@@ -30,0 +32,0 @@ export * from './trigger-workflow-request-grpc-dto';

{
"name": "@emilgroup/process-manager-sdk",
"version": "1.3.0",
"version": "1.3.1-beta.0",
"description": "OpenAPI client for @emilgroup/process-manager-sdk",

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

@@ -20,7 +20,7 @@ # Emil Process Manager SDK

```
npm install @emilgroup/process-manager-sdk@1.3.0 --save
npm install @emilgroup/process-manager-sdk@1.3.1-beta.0 --save
```
or
```
yarn add @emilgroup/process-manager-sdk@1.3.0
yarn add @emilgroup/process-manager-sdk@1.3.1-beta.0
```

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

Sorry, the diff of this file is not supported yet