@emilgroup/action-sdk 1.8.1-beta.19 → 1.8.1-beta.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/api/action-client-api.ts +36 -96
- package/api/actions-api.ts +27 -72
- package/api/executions-api.ts +9 -24
- package/api/health-api.ts +1 -1
- package/base.ts +43 -239
- package/common.ts +2 -3
- package/configuration.ts +0 -20
- package/dist/api/action-client-api.d.ts +12 -12
- package/dist/api/action-client-api.js +89 -152
- package/dist/api/actions-api.d.ts +9 -9
- package/dist/api/actions-api.js +67 -115
- package/dist/api/executions-api.d.ts +3 -3
- package/dist/api/executions-api.js +22 -37
- package/dist/api/health-api.d.ts +1 -1
- package/dist/api/health-api.js +1 -1
- package/dist/base.d.ts +0 -26
- package/dist/base.js +60 -243
- package/dist/common.d.ts +1 -1
- package/dist/common.js +0 -1
- package/dist/configuration.d.ts +0 -17
- package/dist/configuration.js +0 -2
- package/package.json +2 -2
package/dist/common.d.ts
CHANGED
|
@@ -62,7 +62,7 @@ export declare const toPathString: (url: URL) => string;
|
|
|
62
62
|
*
|
|
63
63
|
* @export
|
|
64
64
|
*/
|
|
65
|
-
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T, any, {}
|
|
65
|
+
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T, any, {}>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
|
|
66
66
|
/**
|
|
67
67
|
* EMIL ActionService
|
|
68
68
|
* The EMIL ActionService API description
|
package/dist/common.js
CHANGED
|
@@ -233,7 +233,6 @@ exports.toPathString = toPathString;
|
|
|
233
233
|
* @export
|
|
234
234
|
*/
|
|
235
235
|
var createRequestFunction = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
|
|
236
|
-
// Typed by hand: since axios 1.20, request() returns an internal axios type that SDK declarations cannot name.
|
|
237
236
|
return function (axios, basePath) {
|
|
238
237
|
if (axios === void 0) { axios = globalAxios; }
|
|
239
238
|
if (basePath === void 0) { basePath = BASE_PATH; }
|
package/dist/configuration.d.ts
CHANGED
|
@@ -17,8 +17,6 @@ export interface ConfigurationParameters {
|
|
|
17
17
|
basePath?: string;
|
|
18
18
|
baseOptions?: any;
|
|
19
19
|
formDataCtor?: new () => any;
|
|
20
|
-
cookieAuth?: boolean;
|
|
21
|
-
account?: string;
|
|
22
20
|
}
|
|
23
21
|
export declare class Configuration {
|
|
24
22
|
/**
|
|
@@ -70,21 +68,6 @@ export declare class Configuration {
|
|
|
70
68
|
* @type {new () => FormData}
|
|
71
69
|
*/
|
|
72
70
|
formDataCtor?: new () => any;
|
|
73
|
-
/**
|
|
74
|
-
* Use a server session when authservice makes one; otherwise the token, as without this option.
|
|
75
|
-
* Set `account` too, so each SDK object keeps its own account.
|
|
76
|
-
*
|
|
77
|
-
* @type {boolean}
|
|
78
|
-
* @memberof Configuration
|
|
79
|
-
*/
|
|
80
|
-
cookieAuth?: boolean;
|
|
81
|
-
/**
|
|
82
|
-
* The session account (Cognito sub) this app shows, so the SDK never takes another tab's account.
|
|
83
|
-
*
|
|
84
|
-
* @type {string}
|
|
85
|
-
* @memberof Configuration
|
|
86
|
-
*/
|
|
87
|
-
account?: string;
|
|
88
71
|
constructor(param?: ConfigurationParameters);
|
|
89
72
|
/**
|
|
90
73
|
* Check if the given MIME is a JSON MIME.
|
package/dist/configuration.js
CHANGED
|
@@ -24,8 +24,6 @@ var Configuration = /** @class */ (function () {
|
|
|
24
24
|
this.basePath = param.basePath;
|
|
25
25
|
this.baseOptions = param.baseOptions;
|
|
26
26
|
this.formDataCtor = param.formDataCtor;
|
|
27
|
-
this.cookieAuth = param.cookieAuth;
|
|
28
|
-
this.account = param.account;
|
|
29
27
|
}
|
|
30
28
|
/**
|
|
31
29
|
* Check if the given MIME is a JSON MIME.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@emilgroup/action-sdk",
|
|
3
|
-
"version": "1.8.1-beta.
|
|
3
|
+
"version": "1.8.1-beta.21",
|
|
4
4
|
"description": "OpenAPI client for @emilgroup/action-sdk",
|
|
5
5
|
"author": "OpenAPI-Generator Contributors",
|
|
6
6
|
"keywords": [
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"prepare": "npm run build"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"axios": "1.
|
|
21
|
+
"axios": "1.18.0"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
|