@emilgroup/billing-sdk 1.57.1-beta.0 → 1.57.1-beta.14
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/{default-api.ts → health-api.ts} +13 -13
- package/api.ts +2 -2
- package/base.ts +1 -0
- package/dist/api/{default-api.d.ts → health-api.d.ts} +10 -10
- package/dist/api/{default-api.js → health-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 +2 -2
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/billing-sdk@1.57.1-beta.
|
|
20
|
+
npm install @emilgroup/billing-sdk@1.57.1-beta.14 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/billing-sdk@1.57.1-beta.
|
|
24
|
+
yarn add @emilgroup/billing-sdk@1.57.1-beta.14
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `InvoicesApi`.
|
|
@@ -25,10 +25,10 @@ import { InlineResponse200 } from '../models';
|
|
|
25
25
|
// @ts-ignore
|
|
26
26
|
import { InlineResponse503 } from '../models';
|
|
27
27
|
/**
|
|
28
|
-
*
|
|
28
|
+
* HealthApi - axios parameter creator
|
|
29
29
|
* @export
|
|
30
30
|
*/
|
|
31
|
-
export const
|
|
31
|
+
export const HealthApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
32
32
|
return {
|
|
33
33
|
/**
|
|
34
34
|
*
|
|
@@ -65,11 +65,11 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
65
65
|
};
|
|
66
66
|
|
|
67
67
|
/**
|
|
68
|
-
*
|
|
68
|
+
* HealthApi - functional programming interface
|
|
69
69
|
* @export
|
|
70
70
|
*/
|
|
71
|
-
export const
|
|
72
|
-
const localVarAxiosParamCreator =
|
|
71
|
+
export const HealthApiFp = function(configuration?: Configuration) {
|
|
72
|
+
const localVarAxiosParamCreator = HealthApiAxiosParamCreator(configuration)
|
|
73
73
|
return {
|
|
74
74
|
/**
|
|
75
75
|
*
|
|
@@ -84,11 +84,11 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
84
84
|
};
|
|
85
85
|
|
|
86
86
|
/**
|
|
87
|
-
*
|
|
87
|
+
* HealthApi - factory interface
|
|
88
88
|
* @export
|
|
89
89
|
*/
|
|
90
|
-
export const
|
|
91
|
-
const localVarFp =
|
|
90
|
+
export const HealthApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
91
|
+
const localVarFp = HealthApiFp(configuration)
|
|
92
92
|
return {
|
|
93
93
|
/**
|
|
94
94
|
*
|
|
@@ -102,19 +102,19 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
102
102
|
};
|
|
103
103
|
|
|
104
104
|
/**
|
|
105
|
-
*
|
|
105
|
+
* HealthApi - object-oriented interface
|
|
106
106
|
* @export
|
|
107
|
-
* @class
|
|
107
|
+
* @class HealthApi
|
|
108
108
|
* @extends {BaseAPI}
|
|
109
109
|
*/
|
|
110
|
-
export class
|
|
110
|
+
export class HealthApi extends BaseAPI {
|
|
111
111
|
/**
|
|
112
112
|
*
|
|
113
113
|
* @param {*} [options] Override http request option.
|
|
114
114
|
* @throws {RequiredError}
|
|
115
|
-
* @memberof
|
|
115
|
+
* @memberof HealthApi
|
|
116
116
|
*/
|
|
117
117
|
public check(options?: AxiosRequestConfig) {
|
|
118
|
-
return
|
|
118
|
+
return HealthApiFp(this.configuration).check(options).then((request) => request(this.axios, this.basePath));
|
|
119
119
|
}
|
|
120
120
|
}
|
package/api.ts
CHANGED
|
@@ -21,9 +21,9 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
|
|
|
21
21
|
// @ts-ignore
|
|
22
22
|
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from './base';
|
|
23
23
|
import { CorrectionInvoicesApi } from './api';
|
|
24
|
-
import { DefaultApi } from './api';
|
|
25
24
|
import { DraftInvoiceApi } from './api';
|
|
26
25
|
import { EstimatedInvoicesApi } from './api';
|
|
26
|
+
import { HealthApi } from './api';
|
|
27
27
|
import { InitialInvoicesApi } from './api';
|
|
28
28
|
import { InvoicesApi } from './api';
|
|
29
29
|
import { PolicyBillingApi } from './api';
|
|
@@ -32,9 +32,9 @@ import { TerminationInvoicesApi } from './api';
|
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
export * from './api/correction-invoices-api';
|
|
35
|
-
export * from './api/default-api';
|
|
36
35
|
export * from './api/draft-invoice-api';
|
|
37
36
|
export * from './api/estimated-invoices-api';
|
|
37
|
+
export * from './api/health-api';
|
|
38
38
|
export * from './api/initial-invoices-api';
|
|
39
39
|
export * from './api/invoices-api';
|
|
40
40
|
export * from './api/policy-billing-api';
|
package/base.ts
CHANGED
|
@@ -53,6 +53,7 @@ export enum Environment {
|
|
|
53
53
|
Staging = 'https://apiv2-staging.emil.de',
|
|
54
54
|
Development = 'https://apiv2-dev.emil.de',
|
|
55
55
|
ProductionZurich = 'https://eu-central-2.apiv2.emil.de',
|
|
56
|
+
StagingZurich = 'https://eu-central-2.apiv2-staging.emil.de',
|
|
56
57
|
}
|
|
57
58
|
|
|
58
59
|
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
|
+
* HealthApi - axios parameter creator
|
|
18
18
|
* @export
|
|
19
19
|
*/
|
|
20
|
-
export declare const
|
|
20
|
+
export declare const HealthApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
21
21
|
/**
|
|
22
22
|
*
|
|
23
23
|
* @param {*} [options] Override http request option.
|
|
@@ -26,10 +26,10 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
26
26
|
check: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
29
|
+
* HealthApi - functional programming interface
|
|
30
30
|
* @export
|
|
31
31
|
*/
|
|
32
|
-
export declare const
|
|
32
|
+
export declare const HealthApiFp: (configuration?: Configuration) => {
|
|
33
33
|
/**
|
|
34
34
|
*
|
|
35
35
|
* @param {*} [options] Override http request option.
|
|
@@ -38,10 +38,10 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
38
38
|
check(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineResponse200>>;
|
|
39
39
|
};
|
|
40
40
|
/**
|
|
41
|
-
*
|
|
41
|
+
* HealthApi - factory interface
|
|
42
42
|
* @export
|
|
43
43
|
*/
|
|
44
|
-
export declare const
|
|
44
|
+
export declare const HealthApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
45
45
|
/**
|
|
46
46
|
*
|
|
47
47
|
* @param {*} [options] Override http request option.
|
|
@@ -50,17 +50,17 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
50
50
|
check(options?: any): AxiosPromise<InlineResponse200>;
|
|
51
51
|
};
|
|
52
52
|
/**
|
|
53
|
-
*
|
|
53
|
+
* HealthApi - object-oriented interface
|
|
54
54
|
* @export
|
|
55
|
-
* @class
|
|
55
|
+
* @class HealthApi
|
|
56
56
|
* @extends {BaseAPI}
|
|
57
57
|
*/
|
|
58
|
-
export declare class
|
|
58
|
+
export declare class HealthApi extends BaseAPI {
|
|
59
59
|
/**
|
|
60
60
|
*
|
|
61
61
|
* @param {*} [options] Override http request option.
|
|
62
62
|
* @throws {RequiredError}
|
|
63
|
-
* @memberof
|
|
63
|
+
* @memberof HealthApi
|
|
64
64
|
*/
|
|
65
65
|
check(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InlineResponse200, any, {}>>;
|
|
66
66
|
}
|
|
@@ -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.HealthApi = exports.HealthApiFactory = exports.HealthApiFp = exports.HealthApiAxiosParamCreator = void 0;
|
|
82
82
|
var axios_1 = __importDefault(require("axios"));
|
|
83
83
|
// Some imports not used depending on template conditions
|
|
84
84
|
// @ts-ignore
|
|
@@ -86,10 +86,10 @@ var common_1 = require("../common");
|
|
|
86
86
|
// @ts-ignore
|
|
87
87
|
var base_1 = require("../base");
|
|
88
88
|
/**
|
|
89
|
-
*
|
|
89
|
+
* HealthApi - axios parameter creator
|
|
90
90
|
* @export
|
|
91
91
|
*/
|
|
92
|
-
var
|
|
92
|
+
var HealthApiAxiosParamCreator = function (configuration) {
|
|
93
93
|
var _this = this;
|
|
94
94
|
return {
|
|
95
95
|
/**
|
|
@@ -123,13 +123,13 @@ var DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
123
123
|
},
|
|
124
124
|
};
|
|
125
125
|
};
|
|
126
|
-
exports.
|
|
126
|
+
exports.HealthApiAxiosParamCreator = HealthApiAxiosParamCreator;
|
|
127
127
|
/**
|
|
128
|
-
*
|
|
128
|
+
* HealthApi - functional programming interface
|
|
129
129
|
* @export
|
|
130
130
|
*/
|
|
131
|
-
var
|
|
132
|
-
var localVarAxiosParamCreator = (0, exports.
|
|
131
|
+
var HealthApiFp = function (configuration) {
|
|
132
|
+
var localVarAxiosParamCreator = (0, exports.HealthApiAxiosParamCreator)(configuration);
|
|
133
133
|
return {
|
|
134
134
|
/**
|
|
135
135
|
*
|
|
@@ -151,13 +151,13 @@ var DefaultApiFp = function (configuration) {
|
|
|
151
151
|
},
|
|
152
152
|
};
|
|
153
153
|
};
|
|
154
|
-
exports.
|
|
154
|
+
exports.HealthApiFp = HealthApiFp;
|
|
155
155
|
/**
|
|
156
|
-
*
|
|
156
|
+
* HealthApi - factory interface
|
|
157
157
|
* @export
|
|
158
158
|
*/
|
|
159
|
-
var
|
|
160
|
-
var localVarFp = (0, exports.
|
|
159
|
+
var HealthApiFactory = function (configuration, basePath, axios) {
|
|
160
|
+
var localVarFp = (0, exports.HealthApiFp)(configuration);
|
|
161
161
|
return {
|
|
162
162
|
/**
|
|
163
163
|
*
|
|
@@ -169,28 +169,28 @@ var DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
169
169
|
},
|
|
170
170
|
};
|
|
171
171
|
};
|
|
172
|
-
exports.
|
|
172
|
+
exports.HealthApiFactory = HealthApiFactory;
|
|
173
173
|
/**
|
|
174
|
-
*
|
|
174
|
+
* HealthApi - object-oriented interface
|
|
175
175
|
* @export
|
|
176
|
-
* @class
|
|
176
|
+
* @class HealthApi
|
|
177
177
|
* @extends {BaseAPI}
|
|
178
178
|
*/
|
|
179
|
-
var
|
|
180
|
-
__extends(
|
|
181
|
-
function
|
|
179
|
+
var HealthApi = /** @class */ (function (_super) {
|
|
180
|
+
__extends(HealthApi, _super);
|
|
181
|
+
function HealthApi() {
|
|
182
182
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
183
183
|
}
|
|
184
184
|
/**
|
|
185
185
|
*
|
|
186
186
|
* @param {*} [options] Override http request option.
|
|
187
187
|
* @throws {RequiredError}
|
|
188
|
-
* @memberof
|
|
188
|
+
* @memberof HealthApi
|
|
189
189
|
*/
|
|
190
|
-
|
|
190
|
+
HealthApi.prototype.check = function (options) {
|
|
191
191
|
var _this = this;
|
|
192
|
-
return (0, exports.
|
|
192
|
+
return (0, exports.HealthApiFp)(this.configuration).check(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
193
193
|
};
|
|
194
|
-
return
|
|
194
|
+
return HealthApi;
|
|
195
195
|
}(base_1.BaseAPI));
|
|
196
|
-
exports.
|
|
196
|
+
exports.HealthApi = HealthApi;
|
package/dist/api.d.ts
CHANGED
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
export * from './api/correction-invoices-api';
|
|
13
|
-
export * from './api/default-api';
|
|
14
13
|
export * from './api/draft-invoice-api';
|
|
15
14
|
export * from './api/estimated-invoices-api';
|
|
15
|
+
export * from './api/health-api';
|
|
16
16
|
export * from './api/initial-invoices-api';
|
|
17
17
|
export * from './api/invoices-api';
|
|
18
18
|
export * from './api/policy-billing-api';
|
package/dist/api.js
CHANGED
|
@@ -28,9 +28,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
28
28
|
};
|
|
29
29
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30
30
|
__exportStar(require("./api/correction-invoices-api"), exports);
|
|
31
|
-
__exportStar(require("./api/default-api"), exports);
|
|
32
31
|
__exportStar(require("./api/draft-invoice-api"), exports);
|
|
33
32
|
__exportStar(require("./api/estimated-invoices-api"), exports);
|
|
33
|
+
__exportStar(require("./api/health-api"), exports);
|
|
34
34
|
__exportStar(require("./api/initial-invoices-api"), exports);
|
|
35
35
|
__exportStar(require("./api/invoices-api"), exports);
|
|
36
36
|
__exportStar(require("./api/policy-billing-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
|
@@ -102,6 +102,7 @@ var Environment;
|
|
|
102
102
|
Environment["Staging"] = "https://apiv2-staging.emil.de";
|
|
103
103
|
Environment["Development"] = "https://apiv2-dev.emil.de";
|
|
104
104
|
Environment["ProductionZurich"] = "https://eu-central-2.apiv2.emil.de";
|
|
105
|
+
Environment["StagingZurich"] = "https://eu-central-2.apiv2-staging.emil.de";
|
|
105
106
|
})(Environment = exports.Environment || (exports.Environment = {}));
|
|
106
107
|
var _retry_count = 0;
|
|
107
108
|
var _retry = null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@emilgroup/billing-sdk",
|
|
3
|
-
"version": "1.57.1-beta.
|
|
3
|
+
"version": "1.57.1-beta.14",
|
|
4
4
|
"description": "OpenAPI client for @emilgroup/billing-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": "
|
|
21
|
+
"axios": "1.12.0"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
|