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
13
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.1-beta.1
to
1.3.1-beta.2
+22
-6
api/workflow-instances-api.ts

@@ -185,2 +185,3 @@ /* tslint:disable */

* @param {string} taskKey
* @param {string} expand
* @param {string} [authorization] Bearer Token

@@ -190,3 +191,3 @@ * @param {*} [options] Override http request option.

*/
getWorkflowInstanceVariables: async (code: string, taskKey: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
getWorkflowInstanceVariables: async (code: string, taskKey: string, expand: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
// verify required parameter 'code' is not null or undefined

@@ -196,2 +197,4 @@ assertParamExists('getWorkflowInstanceVariables', 'code', code)

assertParamExists('getWorkflowInstanceVariables', 'taskKey', taskKey)
// verify required parameter 'expand' is not null or undefined
assertParamExists('getWorkflowInstanceVariables', 'expand', expand)
const localVarPath = `/processmanager/v1/workflow-instances/{code}/variables/{taskKey}`

@@ -217,2 +220,6 @@ .replace(`{${"code"}}`, encodeURIComponent(String(code)))

if (expand !== undefined) {
localVarQueryParameter['expand'] = expand;
}
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {

@@ -404,2 +411,3 @@ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);

* @param {string} taskKey
* @param {string} expand
* @param {string} [authorization] Bearer Token

@@ -409,4 +417,4 @@ * @param {*} [options] Override http request option.

*/
async getWorkflowInstanceVariables(code: string, taskKey: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetWorkflowInstanceVariablesClass>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.getWorkflowInstanceVariables(code, taskKey, authorization, options);
async getWorkflowInstanceVariables(code: string, taskKey: string, expand: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetWorkflowInstanceVariablesClass>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.getWorkflowInstanceVariables(code, taskKey, expand, authorization, options);
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);

@@ -491,2 +499,3 @@ },

* @param {string} taskKey
* @param {string} expand
* @param {string} [authorization] Bearer Token

@@ -496,4 +505,4 @@ * @param {*} [options] Override http request option.

*/
getWorkflowInstanceVariables(code: string, taskKey: string, authorization?: string, options?: any): AxiosPromise<GetWorkflowInstanceVariablesClass> {
return localVarFp.getWorkflowInstanceVariables(code, taskKey, authorization, options).then((request) => request(axios, basePath));
getWorkflowInstanceVariables(code: string, taskKey: string, expand: string, authorization?: string, options?: any): AxiosPromise<GetWorkflowInstanceVariablesClass> {
return localVarFp.getWorkflowInstanceVariables(code, taskKey, expand, authorization, options).then((request) => request(axios, basePath));
},

@@ -628,2 +637,9 @@ /**

/**
*
* @type {string}
* @memberof WorkflowInstancesApiGetWorkflowInstanceVariables
*/
readonly expand: string
/**
* Bearer Token

@@ -770,3 +786,3 @@ * @type {string}

public getWorkflowInstanceVariables(requestParameters: WorkflowInstancesApiGetWorkflowInstanceVariablesRequest, options?: AxiosRequestConfig) {
return WorkflowInstancesApiFp(this.configuration).getWorkflowInstanceVariables(requestParameters.code, requestParameters.taskKey, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
return WorkflowInstancesApiFp(this.configuration).getWorkflowInstanceVariables(requestParameters.code, requestParameters.taskKey, requestParameters.expand, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
}

@@ -773,0 +789,0 @@

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

* @param {string} taskKey
* @param {string} expand
* @param {string} [authorization] Bearer Token

@@ -60,3 +61,3 @@ * @param {*} [options] Override http request option.

*/
getWorkflowInstanceVariables: (code: string, taskKey: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
getWorkflowInstanceVariables: (code: string, taskKey: string, expand: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
/**

@@ -123,2 +124,3 @@ * Returns a list of workflow instances you have previously created. The workflow instances are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.

* @param {string} taskKey
* @param {string} expand
* @param {string} [authorization] Bearer Token

@@ -128,3 +130,3 @@ * @param {*} [options] Override http request option.

*/
getWorkflowInstanceVariables(code: string, taskKey: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetWorkflowInstanceVariablesClass>>;
getWorkflowInstanceVariables(code: string, taskKey: string, expand: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetWorkflowInstanceVariablesClass>>;
/**

@@ -191,2 +193,3 @@ * Returns a list of workflow instances you have previously created. The workflow instances are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.

* @param {string} taskKey
* @param {string} expand
* @param {string} [authorization] Bearer Token

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

*/
getWorkflowInstanceVariables(code: string, taskKey: string, authorization?: string, options?: any): AxiosPromise<GetWorkflowInstanceVariablesClass>;
getWorkflowInstanceVariables(code: string, taskKey: string, expand: string, authorization?: string, options?: any): AxiosPromise<GetWorkflowInstanceVariablesClass>;
/**

@@ -310,2 +313,8 @@ * Returns a list of workflow instances you have previously created. The workflow instances are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.

/**
*
* @type {string}
* @memberof WorkflowInstancesApiGetWorkflowInstanceVariables
*/
readonly expand: string;
/**
* Bearer Token

@@ -312,0 +321,0 @@ * @type {string}

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

* @param {string} taskKey
* @param {string} expand
* @param {string} [authorization] Bearer Token

@@ -257,3 +258,3 @@ * @param {*} [options] Override http request option.

*/
getWorkflowInstanceVariables: function (code, taskKey, authorization, options) {
getWorkflowInstanceVariables: function (code, taskKey, expand, authorization, options) {
if (options === void 0) { options = {}; }

@@ -269,2 +270,4 @@ return __awaiter(_this, void 0, void 0, function () {

(0, common_1.assertParamExists)('getWorkflowInstanceVariables', 'taskKey', taskKey);
// verify required parameter 'expand' is not null or undefined
(0, common_1.assertParamExists)('getWorkflowInstanceVariables', 'expand', expand);
localVarPath = "/processmanager/v1/workflow-instances/{code}/variables/{taskKey}"

@@ -288,2 +291,5 @@ .replace("{".concat("code", "}"), encodeURIComponent(String(code)))

_a.sent();
if (expand !== undefined) {
localVarQueryParameter['expand'] = expand;
}
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {

@@ -500,2 +506,3 @@ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);

* @param {string} taskKey
* @param {string} expand
* @param {string} [authorization] Bearer Token

@@ -505,3 +512,3 @@ * @param {*} [options] Override http request option.

*/
getWorkflowInstanceVariables: function (code, taskKey, authorization, options) {
getWorkflowInstanceVariables: function (code, taskKey, expand, authorization, options) {
return __awaiter(this, void 0, void 0, function () {

@@ -511,3 +518,3 @@ var localVarAxiosArgs;

switch (_a.label) {
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getWorkflowInstanceVariables(code, taskKey, authorization, options)];
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getWorkflowInstanceVariables(code, taskKey, expand, authorization, options)];
case 1:

@@ -615,2 +622,3 @@ localVarAxiosArgs = _a.sent();

* @param {string} taskKey
* @param {string} expand
* @param {string} [authorization] Bearer Token

@@ -620,4 +628,4 @@ * @param {*} [options] Override http request option.

*/
getWorkflowInstanceVariables: function (code, taskKey, authorization, options) {
return localVarFp.getWorkflowInstanceVariables(code, taskKey, authorization, options).then(function (request) { return request(axios, basePath); });
getWorkflowInstanceVariables: function (code, taskKey, expand, authorization, options) {
return localVarFp.getWorkflowInstanceVariables(code, taskKey, expand, authorization, options).then(function (request) { return request(axios, basePath); });
},

@@ -709,3 +717,3 @@ /**

var _this = this;
return (0, exports.WorkflowInstancesApiFp)(this.configuration).getWorkflowInstanceVariables(requestParameters.code, requestParameters.taskKey, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
return (0, exports.WorkflowInstancesApiFp)(this.configuration).getWorkflowInstanceVariables(requestParameters.code, requestParameters.taskKey, requestParameters.expand, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
};

@@ -712,0 +720,0 @@ /**

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

readonly AccountUpdated: "account_updated";
readonly DocumentUploaded: "document_uploaded";
readonly LeadCreated: "lead_created";

@@ -74,2 +75,3 @@ readonly PolicyCreated: "policy_created";

readonly PaymentReminderTriggered: "payment_reminder_triggered";
readonly PolicyPaymentMethodActivated: "policy_payment_method_activated";
readonly RecurringInvoiceTriggered: "recurring_invoice_triggered";

@@ -76,0 +78,0 @@ readonly ClaimCreated: "claim_created";

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

AccountUpdated: 'account_updated',
DocumentUploaded: 'document_uploaded',
LeadCreated: 'lead_created',

@@ -30,2 +31,3 @@ PolicyCreated: 'policy_created',

PaymentReminderTriggered: 'payment_reminder_triggered',
PolicyPaymentMethodActivated: 'policy_payment_method_activated',
RecurringInvoiceTriggered: 'recurring_invoice_triggered',

@@ -32,0 +34,0 @@ ClaimCreated: 'claim_created',

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

readonly AccountUpdated: "ACCOUNT_UPDATED";
readonly DocumentUploaded: "DOCUMENT_UPLOADED";
readonly LeadCreated: "LEAD_CREATED";

@@ -51,2 +52,3 @@ readonly PolicyCreated: "POLICY_CREATED";

readonly PaymentReminderTriggered: "PAYMENT_REMINDER_TRIGGERED";
readonly PolicyPaymentMethodActivated: "POLICY_PAYMENT_METHOD_ACTIVATED";
readonly RecurringInvoiceTriggered: "RECURRING_INVOICE_TRIGGERED";

@@ -53,0 +55,0 @@ readonly ClaimCreated: "CLAIM_CREATED";

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

AccountUpdated: 'ACCOUNT_UPDATED',
DocumentUploaded: 'DOCUMENT_UPLOADED',
LeadCreated: 'LEAD_CREATED',

@@ -31,2 +32,3 @@ PolicyCreated: 'POLICY_CREATED',

PaymentReminderTriggered: 'PAYMENT_REMINDER_TRIGGERED',
PolicyPaymentMethodActivated: 'POLICY_PAYMENT_METHOD_ACTIVATED',
RecurringInvoiceTriggered: 'RECURRING_INVOICE_TRIGGERED',

@@ -33,0 +35,0 @@ ClaimCreated: 'CLAIM_CREATED',

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

readonly AccountUpdated: "account_updated";
readonly DocumentUploaded: "document_uploaded";
readonly LeadCreated: "lead_created";

@@ -80,2 +81,3 @@ readonly PolicyCreated: "policy_created";

readonly PaymentReminderTriggered: "payment_reminder_triggered";
readonly PolicyPaymentMethodActivated: "policy_payment_method_activated";
readonly RecurringInvoiceTriggered: "recurring_invoice_triggered";

@@ -82,0 +84,0 @@ readonly ClaimCreated: "claim_created";

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

AccountUpdated: 'account_updated',
DocumentUploaded: 'document_uploaded',
LeadCreated: 'lead_created',

@@ -30,2 +31,3 @@ PolicyCreated: 'policy_created',

PaymentReminderTriggered: 'payment_reminder_triggered',
PolicyPaymentMethodActivated: 'policy_payment_method_activated',
RecurringInvoiceTriggered: 'recurring_invoice_triggered',

@@ -32,0 +34,0 @@ ClaimCreated: 'claim_created',

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

readonly AccountUpdated: "account_updated";
readonly DocumentUploaded: "document_uploaded";
readonly LeadCreated: "lead_created";

@@ -80,2 +81,3 @@ readonly PolicyCreated: "policy_created";

readonly PaymentReminderTriggered: "payment_reminder_triggered";
readonly PolicyPaymentMethodActivated: "policy_payment_method_activated";
readonly RecurringInvoiceTriggered: "recurring_invoice_triggered";

@@ -82,0 +84,0 @@ readonly ClaimCreated: "claim_created";

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

AccountUpdated: 'account_updated',
DocumentUploaded: 'document_uploaded',
LeadCreated: 'lead_created',

@@ -30,2 +31,3 @@ PolicyCreated: 'policy_created',

PaymentReminderTriggered: 'payment_reminder_triggered',
PolicyPaymentMethodActivated: 'policy_payment_method_activated',
RecurringInvoiceTriggered: 'recurring_invoice_triggered',

@@ -32,0 +34,0 @@ ClaimCreated: 'claim_created',

@@ -69,2 +69,3 @@ /* tslint:disable */

AccountUpdated: 'account_updated',
DocumentUploaded: 'document_uploaded',
LeadCreated: 'lead_created',

@@ -80,2 +81,3 @@ PolicyCreated: 'policy_created',

PaymentReminderTriggered: 'payment_reminder_triggered',
PolicyPaymentMethodActivated: 'policy_payment_method_activated',
RecurringInvoiceTriggered: 'recurring_invoice_triggered',

@@ -82,0 +84,0 @@ ClaimCreated: 'claim_created',

@@ -45,2 +45,3 @@ /* tslint:disable */

AccountUpdated: 'ACCOUNT_UPDATED',
DocumentUploaded: 'DOCUMENT_UPLOADED',
LeadCreated: 'LEAD_CREATED',

@@ -57,2 +58,3 @@ PolicyCreated: 'POLICY_CREATED',

PaymentReminderTriggered: 'PAYMENT_REMINDER_TRIGGERED',
PolicyPaymentMethodActivated: 'POLICY_PAYMENT_METHOD_ACTIVATED',
RecurringInvoiceTriggered: 'RECURRING_INVOICE_TRIGGERED',

@@ -59,0 +61,0 @@ ClaimCreated: 'CLAIM_CREATED',

@@ -75,2 +75,3 @@ /* tslint:disable */

AccountUpdated: 'account_updated',
DocumentUploaded: 'document_uploaded',
LeadCreated: 'lead_created',

@@ -86,2 +87,3 @@ PolicyCreated: 'policy_created',

PaymentReminderTriggered: 'payment_reminder_triggered',
PolicyPaymentMethodActivated: 'policy_payment_method_activated',
RecurringInvoiceTriggered: 'recurring_invoice_triggered',

@@ -88,0 +90,0 @@ ClaimCreated: 'claim_created',

@@ -75,2 +75,3 @@ /* tslint:disable */

AccountUpdated: 'account_updated',
DocumentUploaded: 'document_uploaded',
LeadCreated: 'lead_created',

@@ -86,2 +87,3 @@ PolicyCreated: 'policy_created',

PaymentReminderTriggered: 'payment_reminder_triggered',
PolicyPaymentMethodActivated: 'policy_payment_method_activated',
RecurringInvoiceTriggered: 'recurring_invoice_triggered',

@@ -88,0 +90,0 @@ ClaimCreated: 'claim_created',

{
"name": "@emilgroup/process-manager-sdk",
"version": "1.3.1-beta.1",
"version": "1.3.1-beta.2",
"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.1-beta.1 --save
npm install @emilgroup/process-manager-sdk@1.3.1-beta.2 --save
```
or
```
yarn add @emilgroup/process-manager-sdk@1.3.1-beta.1
yarn add @emilgroup/process-manager-sdk@1.3.1-beta.2
```

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