@emilgroup/commission-sdk-node 2.3.1-beta.3 → 2.4.0
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/.openapi-generator/FILES +1 -1
- package/README.md +2 -2
- package/api/{health-api.ts → default-api.ts} +13 -13
- package/api.ts +2 -2
- package/base.ts +1 -0
- package/dist/api/{health-api.d.ts → default-api.d.ts} +10 -10
- package/dist/api/{health-api.js → default-api.js} +22 -22
- package/dist/api.d.ts +1 -1
- package/dist/api.js +1 -1
- package/dist/base.d.ts +2 -1
- package/dist/base.js +1 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
package/README.md
CHANGED
|
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
|
|
|
17
17
|
Navigate to the folder of your consuming project and run one of the following commands:
|
|
18
18
|
|
|
19
19
|
```
|
|
20
|
-
npm install @emilgroup/commission-sdk-node@2.
|
|
20
|
+
npm install @emilgroup/commission-sdk-node@2.4.0 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/commission-sdk-node@2.
|
|
24
|
+
yarn add @emilgroup/commission-sdk-node@2.4.0
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `CommissionApi`.
|
|
@@ -29,10 +29,10 @@ import { InlineResponse503 } from '../models';
|
|
|
29
29
|
import { URL, URLSearchParams } from 'url';
|
|
30
30
|
const FormData = require('form-data');
|
|
31
31
|
/**
|
|
32
|
-
*
|
|
32
|
+
* DefaultApi - axios parameter creator
|
|
33
33
|
* @export
|
|
34
34
|
*/
|
|
35
|
-
export const
|
|
35
|
+
export const DefaultApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
36
36
|
return {
|
|
37
37
|
/**
|
|
38
38
|
* Returns the health status of the CommissionService service. This endpoint is used to monitor the operational status of the CommissionService service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
|
|
@@ -70,11 +70,11 @@ export const HealthApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
70
70
|
};
|
|
71
71
|
|
|
72
72
|
/**
|
|
73
|
-
*
|
|
73
|
+
* DefaultApi - functional programming interface
|
|
74
74
|
* @export
|
|
75
75
|
*/
|
|
76
|
-
export const
|
|
77
|
-
const localVarAxiosParamCreator =
|
|
76
|
+
export const DefaultApiFp = function(configuration?: Configuration) {
|
|
77
|
+
const localVarAxiosParamCreator = DefaultApiAxiosParamCreator(configuration)
|
|
78
78
|
return {
|
|
79
79
|
/**
|
|
80
80
|
* Returns the health status of the CommissionService service. This endpoint is used to monitor the operational status of the CommissionService service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
|
|
@@ -90,11 +90,11 @@ export const HealthApiFp = function(configuration?: Configuration) {
|
|
|
90
90
|
};
|
|
91
91
|
|
|
92
92
|
/**
|
|
93
|
-
*
|
|
93
|
+
* DefaultApi - factory interface
|
|
94
94
|
* @export
|
|
95
95
|
*/
|
|
96
|
-
export const
|
|
97
|
-
const localVarFp =
|
|
96
|
+
export const DefaultApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
97
|
+
const localVarFp = DefaultApiFp(configuration)
|
|
98
98
|
return {
|
|
99
99
|
/**
|
|
100
100
|
* Returns the health status of the CommissionService service. This endpoint is used to monitor the operational status of the CommissionService service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
|
|
@@ -109,20 +109,20 @@ export const HealthApiFactory = function (configuration?: Configuration, basePat
|
|
|
109
109
|
};
|
|
110
110
|
|
|
111
111
|
/**
|
|
112
|
-
*
|
|
112
|
+
* DefaultApi - object-oriented interface
|
|
113
113
|
* @export
|
|
114
|
-
* @class
|
|
114
|
+
* @class DefaultApi
|
|
115
115
|
* @extends {BaseAPI}
|
|
116
116
|
*/
|
|
117
|
-
export class
|
|
117
|
+
export class DefaultApi extends BaseAPI {
|
|
118
118
|
/**
|
|
119
119
|
* Returns the health status of the CommissionService service. This endpoint is used to monitor the operational status of the CommissionService service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
|
|
120
120
|
* @summary Health Check
|
|
121
121
|
* @param {*} [options] Override http request option.
|
|
122
122
|
* @throws {RequiredError}
|
|
123
|
-
* @memberof
|
|
123
|
+
* @memberof DefaultApi
|
|
124
124
|
*/
|
|
125
125
|
public check(options?: AxiosRequestConfig) {
|
|
126
|
-
return
|
|
126
|
+
return DefaultApiFp(this.configuration).check(options).then((request) => request(this.axios, this.basePath));
|
|
127
127
|
}
|
|
128
128
|
}
|
package/api.ts
CHANGED
|
@@ -32,7 +32,7 @@ import { CommissionCandidatesApi } from './api';
|
|
|
32
32
|
import { CommissionRecipientsApi } from './api';
|
|
33
33
|
import { CommissionSettlementsApi } from './api';
|
|
34
34
|
import { CommissionsApi } from './api';
|
|
35
|
-
import {
|
|
35
|
+
import { DefaultApi } from './api';
|
|
36
36
|
|
|
37
37
|
|
|
38
38
|
export * from './api/commission-agreement-products-api';
|
|
@@ -43,5 +43,5 @@ export * from './api/commission-candidates-api';
|
|
|
43
43
|
export * from './api/commission-recipients-api';
|
|
44
44
|
export * from './api/commission-settlements-api';
|
|
45
45
|
export * from './api/commissions-api';
|
|
46
|
-
export * from './api/
|
|
46
|
+
export * from './api/default-api';
|
|
47
47
|
|
package/base.ts
CHANGED
|
@@ -60,6 +60,7 @@ export enum Environment {
|
|
|
60
60
|
Staging = 'https://apiv2-staging.emil.de',
|
|
61
61
|
Development = 'https://apiv2-dev.emil.de',
|
|
62
62
|
ProductionZurich = 'https://eu-central-2.apiv2.emil.de',
|
|
63
|
+
StagingZurich = 'https://eu-central-2.apiv2-staging.emil.de',
|
|
63
64
|
}
|
|
64
65
|
|
|
65
66
|
let _retry_count = 0
|
|
@@ -14,10 +14,10 @@ import { Configuration } from '../configuration';
|
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
15
|
import { InlineResponse200 } from '../models';
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
17
|
+
* DefaultApi - axios parameter creator
|
|
18
18
|
* @export
|
|
19
19
|
*/
|
|
20
|
-
export declare const
|
|
20
|
+
export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
21
21
|
/**
|
|
22
22
|
* Returns the health status of the CommissionService service. This endpoint is used to monitor the operational status of the CommissionService service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
|
|
23
23
|
* @summary Health Check
|
|
@@ -27,10 +27,10 @@ export declare const HealthApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
27
27
|
check: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
30
|
+
* DefaultApi - functional programming interface
|
|
31
31
|
* @export
|
|
32
32
|
*/
|
|
33
|
-
export declare const
|
|
33
|
+
export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
34
34
|
/**
|
|
35
35
|
* Returns the health status of the CommissionService service. This endpoint is used to monitor the operational status of the CommissionService service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
|
|
36
36
|
* @summary Health Check
|
|
@@ -40,10 +40,10 @@ export declare const HealthApiFp: (configuration?: Configuration) => {
|
|
|
40
40
|
check(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineResponse200>>;
|
|
41
41
|
};
|
|
42
42
|
/**
|
|
43
|
-
*
|
|
43
|
+
* DefaultApi - factory interface
|
|
44
44
|
* @export
|
|
45
45
|
*/
|
|
46
|
-
export declare const
|
|
46
|
+
export declare const DefaultApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
47
47
|
/**
|
|
48
48
|
* Returns the health status of the CommissionService service. This endpoint is used to monitor the operational status of the CommissionService service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
|
|
49
49
|
* @summary Health Check
|
|
@@ -53,18 +53,18 @@ export declare const HealthApiFactory: (configuration?: Configuration, basePath?
|
|
|
53
53
|
check(options?: any): AxiosPromise<InlineResponse200>;
|
|
54
54
|
};
|
|
55
55
|
/**
|
|
56
|
-
*
|
|
56
|
+
* DefaultApi - object-oriented interface
|
|
57
57
|
* @export
|
|
58
|
-
* @class
|
|
58
|
+
* @class DefaultApi
|
|
59
59
|
* @extends {BaseAPI}
|
|
60
60
|
*/
|
|
61
|
-
export declare class
|
|
61
|
+
export declare class DefaultApi extends BaseAPI {
|
|
62
62
|
/**
|
|
63
63
|
* Returns the health status of the CommissionService service. This endpoint is used to monitor the operational status of the CommissionService service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
|
|
64
64
|
* @summary Health Check
|
|
65
65
|
* @param {*} [options] Override http request option.
|
|
66
66
|
* @throws {RequiredError}
|
|
67
|
-
* @memberof
|
|
67
|
+
* @memberof DefaultApi
|
|
68
68
|
*/
|
|
69
69
|
check(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InlineResponse200, any, {}>>;
|
|
70
70
|
}
|
|
@@ -78,7 +78,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
78
78
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
79
79
|
};
|
|
80
80
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
81
|
-
exports.
|
|
81
|
+
exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = void 0;
|
|
82
82
|
var axios_1 = __importDefault(require("axios"));
|
|
83
83
|
// Some imports not used depending on template conditions
|
|
84
84
|
// @ts-ignore
|
|
@@ -90,10 +90,10 @@ var base_1 = require("../base");
|
|
|
90
90
|
var url_1 = require("url");
|
|
91
91
|
var FormData = require('form-data');
|
|
92
92
|
/**
|
|
93
|
-
*
|
|
93
|
+
* DefaultApi - axios parameter creator
|
|
94
94
|
* @export
|
|
95
95
|
*/
|
|
96
|
-
var
|
|
96
|
+
var DefaultApiAxiosParamCreator = function (configuration) {
|
|
97
97
|
var _this = this;
|
|
98
98
|
return {
|
|
99
99
|
/**
|
|
@@ -128,13 +128,13 @@ var HealthApiAxiosParamCreator = function (configuration) {
|
|
|
128
128
|
},
|
|
129
129
|
};
|
|
130
130
|
};
|
|
131
|
-
exports.
|
|
131
|
+
exports.DefaultApiAxiosParamCreator = DefaultApiAxiosParamCreator;
|
|
132
132
|
/**
|
|
133
|
-
*
|
|
133
|
+
* DefaultApi - functional programming interface
|
|
134
134
|
* @export
|
|
135
135
|
*/
|
|
136
|
-
var
|
|
137
|
-
var localVarAxiosParamCreator = (0, exports.
|
|
136
|
+
var DefaultApiFp = function (configuration) {
|
|
137
|
+
var localVarAxiosParamCreator = (0, exports.DefaultApiAxiosParamCreator)(configuration);
|
|
138
138
|
return {
|
|
139
139
|
/**
|
|
140
140
|
* Returns the health status of the CommissionService service. This endpoint is used to monitor the operational status of the CommissionService service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
|
|
@@ -157,13 +157,13 @@ var HealthApiFp = function (configuration) {
|
|
|
157
157
|
},
|
|
158
158
|
};
|
|
159
159
|
};
|
|
160
|
-
exports.
|
|
160
|
+
exports.DefaultApiFp = DefaultApiFp;
|
|
161
161
|
/**
|
|
162
|
-
*
|
|
162
|
+
* DefaultApi - factory interface
|
|
163
163
|
* @export
|
|
164
164
|
*/
|
|
165
|
-
var
|
|
166
|
-
var localVarFp = (0, exports.
|
|
165
|
+
var DefaultApiFactory = function (configuration, basePath, axios) {
|
|
166
|
+
var localVarFp = (0, exports.DefaultApiFp)(configuration);
|
|
167
167
|
return {
|
|
168
168
|
/**
|
|
169
169
|
* Returns the health status of the CommissionService service. This endpoint is used to monitor the operational status of the CommissionService service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
|
|
@@ -176,16 +176,16 @@ var HealthApiFactory = function (configuration, basePath, axios) {
|
|
|
176
176
|
},
|
|
177
177
|
};
|
|
178
178
|
};
|
|
179
|
-
exports.
|
|
179
|
+
exports.DefaultApiFactory = DefaultApiFactory;
|
|
180
180
|
/**
|
|
181
|
-
*
|
|
181
|
+
* DefaultApi - object-oriented interface
|
|
182
182
|
* @export
|
|
183
|
-
* @class
|
|
183
|
+
* @class DefaultApi
|
|
184
184
|
* @extends {BaseAPI}
|
|
185
185
|
*/
|
|
186
|
-
var
|
|
187
|
-
__extends(
|
|
188
|
-
function
|
|
186
|
+
var DefaultApi = /** @class */ (function (_super) {
|
|
187
|
+
__extends(DefaultApi, _super);
|
|
188
|
+
function DefaultApi() {
|
|
189
189
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
190
190
|
}
|
|
191
191
|
/**
|
|
@@ -193,12 +193,12 @@ var HealthApi = /** @class */ (function (_super) {
|
|
|
193
193
|
* @summary Health Check
|
|
194
194
|
* @param {*} [options] Override http request option.
|
|
195
195
|
* @throws {RequiredError}
|
|
196
|
-
* @memberof
|
|
196
|
+
* @memberof DefaultApi
|
|
197
197
|
*/
|
|
198
|
-
|
|
198
|
+
DefaultApi.prototype.check = function (options) {
|
|
199
199
|
var _this = this;
|
|
200
|
-
return (0, exports.
|
|
200
|
+
return (0, exports.DefaultApiFp)(this.configuration).check(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
201
201
|
};
|
|
202
|
-
return
|
|
202
|
+
return DefaultApi;
|
|
203
203
|
}(base_1.BaseAPI));
|
|
204
|
-
exports.
|
|
204
|
+
exports.DefaultApi = DefaultApi;
|
package/dist/api.d.ts
CHANGED
|
@@ -17,4 +17,4 @@ export * from './api/commission-candidates-api';
|
|
|
17
17
|
export * from './api/commission-recipients-api';
|
|
18
18
|
export * from './api/commission-settlements-api';
|
|
19
19
|
export * from './api/commissions-api';
|
|
20
|
-
export * from './api/
|
|
20
|
+
export * from './api/default-api';
|
package/dist/api.js
CHANGED
|
@@ -35,4 +35,4 @@ __exportStar(require("./api/commission-candidates-api"), exports);
|
|
|
35
35
|
__exportStar(require("./api/commission-recipients-api"), exports);
|
|
36
36
|
__exportStar(require("./api/commission-settlements-api"), exports);
|
|
37
37
|
__exportStar(require("./api/commissions-api"), exports);
|
|
38
|
-
__exportStar(require("./api/
|
|
38
|
+
__exportStar(require("./api/default-api"), exports);
|
package/dist/base.d.ts
CHANGED
|
@@ -39,7 +39,8 @@ export declare enum Environment {
|
|
|
39
39
|
Test = "https://apiv2-test.emil.de",
|
|
40
40
|
Staging = "https://apiv2-staging.emil.de",
|
|
41
41
|
Development = "https://apiv2-dev.emil.de",
|
|
42
|
-
ProductionZurich = "https://eu-central-2.apiv2.emil.de"
|
|
42
|
+
ProductionZurich = "https://eu-central-2.apiv2.emil.de",
|
|
43
|
+
StagingZurich = "https://eu-central-2.apiv2-staging.emil.de"
|
|
43
44
|
}
|
|
44
45
|
export declare function resetRetry(): void;
|
|
45
46
|
/**
|
package/dist/base.js
CHANGED
|
@@ -132,6 +132,7 @@ var Environment;
|
|
|
132
132
|
Environment["Staging"] = "https://apiv2-staging.emil.de";
|
|
133
133
|
Environment["Development"] = "https://apiv2-dev.emil.de";
|
|
134
134
|
Environment["ProductionZurich"] = "https://eu-central-2.apiv2.emil.de";
|
|
135
|
+
Environment["StagingZurich"] = "https://eu-central-2.apiv2-staging.emil.de";
|
|
135
136
|
})(Environment = exports.Environment || (exports.Environment = {}));
|
|
136
137
|
var _retry_count = 0;
|
|
137
138
|
var _retry = null;
|