@emilgroup/process-manager-sdk-node
Advanced tools
@@ -189,2 +189,3 @@ /* tslint:disable */ | ||
| * @param {string} taskKey | ||
| * @param {string} expand | ||
| * @param {string} [authorization] Bearer Token | ||
@@ -194,3 +195,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 | ||
@@ -200,2 +201,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}` | ||
@@ -221,2 +224,6 @@ .replace(`{${"code"}}`, encodeURIComponent(String(code))) | ||
| if (expand !== undefined) { | ||
| localVarQueryParameter['expand'] = expand; | ||
| } | ||
| if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) { | ||
@@ -408,2 +415,3 @@ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken); | ||
| * @param {string} taskKey | ||
| * @param {string} expand | ||
| * @param {string} [authorization] Bearer Token | ||
@@ -413,4 +421,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); | ||
@@ -495,2 +503,3 @@ }, | ||
| * @param {string} taskKey | ||
| * @param {string} expand | ||
| * @param {string} [authorization] Bearer Token | ||
@@ -500,4 +509,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)); | ||
| }, | ||
@@ -632,2 +641,9 @@ /** | ||
| /** | ||
| * | ||
| * @type {string} | ||
| * @memberof WorkflowInstancesApiGetWorkflowInstanceVariables | ||
| */ | ||
| readonly expand: string | ||
| /** | ||
| * Bearer Token | ||
@@ -774,3 +790,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)); | ||
| } | ||
@@ -777,0 +793,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} |
@@ -256,2 +256,3 @@ "use strict"; | ||
| * @param {string} taskKey | ||
| * @param {string} expand | ||
| * @param {string} [authorization] Bearer Token | ||
@@ -261,3 +262,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 = {}; } | ||
@@ -273,2 +274,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}" | ||
@@ -292,2 +295,5 @@ .replace("{".concat("code", "}"), encodeURIComponent(String(code))) | ||
| _a.sent(); | ||
| if (expand !== undefined) { | ||
| localVarQueryParameter['expand'] = expand; | ||
| } | ||
| if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) { | ||
@@ -504,2 +510,3 @@ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken); | ||
| * @param {string} taskKey | ||
| * @param {string} expand | ||
| * @param {string} [authorization] Bearer Token | ||
@@ -509,3 +516,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 () { | ||
@@ -515,3 +522,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: | ||
@@ -619,2 +626,3 @@ localVarAxiosArgs = _a.sent(); | ||
| * @param {string} taskKey | ||
| * @param {string} expand | ||
| * @param {string} [authorization] Bearer Token | ||
@@ -624,4 +632,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); }); | ||
| }, | ||
@@ -713,3 +721,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); }); | ||
| }; | ||
@@ -716,0 +724,0 @@ /** |
+1
-1
| { | ||
| "name": "@emilgroup/process-manager-sdk-node", | ||
| "version": "1.13.0", | ||
| "version": "1.13.1-beta.0", | ||
| "description": "OpenAPI client for @emilgroup/process-manager-sdk-node", | ||
@@ -5,0 +5,0 @@ "author": "OpenAPI-Generator Contributors", |
+2
-2
@@ -20,7 +20,7 @@ # Emil Process Manager SDK for Nodejs | ||
| ``` | ||
| npm install @emilgroup/process-manager-sdk-node@1.13.0 --save | ||
| npm install @emilgroup/process-manager-sdk-node@1.13.1-beta.0 --save | ||
| ``` | ||
| or | ||
| ``` | ||
| yarn add @emilgroup/process-manager-sdk-node@1.13.0 | ||
| yarn add @emilgroup/process-manager-sdk-node@1.13.1-beta.0 | ||
| ``` | ||
@@ -27,0 +27,0 @@ |
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
770946
0.19%15396
0.21%2
100%