@emilgroup/process-manager-sdk
Advanced tools
@@ -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 @@ /** |
+1
-1
| { | ||
| "name": "@emilgroup/process-manager-sdk", | ||
| "version": "1.4.0", | ||
| "version": "1.4.1-beta.0", | ||
| "description": "OpenAPI client for @emilgroup/process-manager-sdk", | ||
@@ -5,0 +5,0 @@ "author": "OpenAPI-Generator Contributors", |
+2
-2
@@ -20,7 +20,7 @@ # Emil Process Manager SDK | ||
| ``` | ||
| npm install @emilgroup/process-manager-sdk@1.4.0 --save | ||
| npm install @emilgroup/process-manager-sdk@1.4.1-beta.0 --save | ||
| ``` | ||
| or | ||
| ``` | ||
| yarn add @emilgroup/process-manager-sdk@1.4.0 | ||
| yarn add @emilgroup/process-manager-sdk@1.4.1-beta.0 | ||
| ``` | ||
@@ -27,0 +27,0 @@ |
Network access
Supply chain riskThis module accesses the network.
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
Network access
Supply chain riskThis module accesses the network.
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
763686
0.19%15241
0.21%2
100%