@emilgroup/billing-sdk-node 1.58.0 → 1.58.1-beta.3
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/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/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-node@1.58.
|
|
20
|
+
npm install @emilgroup/billing-sdk-node@1.58.1-beta.3 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/billing-sdk-node@1.58.
|
|
24
|
+
yarn add @emilgroup/billing-sdk-node@1.58.1-beta.3
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `InvoicesApi`.
|
|
@@ -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
|
+
* HealthApi - axios parameter creator
|
|
33
33
|
* @export
|
|
34
34
|
*/
|
|
35
|
-
export const
|
|
35
|
+
export const HealthApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
36
36
|
return {
|
|
37
37
|
/**
|
|
38
38
|
*
|
|
@@ -69,11 +69,11 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
69
69
|
};
|
|
70
70
|
|
|
71
71
|
/**
|
|
72
|
-
*
|
|
72
|
+
* HealthApi - functional programming interface
|
|
73
73
|
* @export
|
|
74
74
|
*/
|
|
75
|
-
export const
|
|
76
|
-
const localVarAxiosParamCreator =
|
|
75
|
+
export const HealthApiFp = function(configuration?: Configuration) {
|
|
76
|
+
const localVarAxiosParamCreator = HealthApiAxiosParamCreator(configuration)
|
|
77
77
|
return {
|
|
78
78
|
/**
|
|
79
79
|
*
|
|
@@ -88,11 +88,11 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
88
88
|
};
|
|
89
89
|
|
|
90
90
|
/**
|
|
91
|
-
*
|
|
91
|
+
* HealthApi - factory interface
|
|
92
92
|
* @export
|
|
93
93
|
*/
|
|
94
|
-
export const
|
|
95
|
-
const localVarFp =
|
|
94
|
+
export const HealthApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
95
|
+
const localVarFp = HealthApiFp(configuration)
|
|
96
96
|
return {
|
|
97
97
|
/**
|
|
98
98
|
*
|
|
@@ -106,19 +106,19 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
106
106
|
};
|
|
107
107
|
|
|
108
108
|
/**
|
|
109
|
-
*
|
|
109
|
+
* HealthApi - object-oriented interface
|
|
110
110
|
* @export
|
|
111
|
-
* @class
|
|
111
|
+
* @class HealthApi
|
|
112
112
|
* @extends {BaseAPI}
|
|
113
113
|
*/
|
|
114
|
-
export class
|
|
114
|
+
export class HealthApi extends BaseAPI {
|
|
115
115
|
/**
|
|
116
116
|
*
|
|
117
117
|
* @param {*} [options] Override http request option.
|
|
118
118
|
* @throws {RequiredError}
|
|
119
|
-
* @memberof
|
|
119
|
+
* @memberof HealthApi
|
|
120
120
|
*/
|
|
121
121
|
public check(options?: AxiosRequestConfig) {
|
|
122
|
-
return
|
|
122
|
+
return HealthApiFp(this.configuration).check(options).then((request) => request(this.axios, this.basePath));
|
|
123
123
|
}
|
|
124
124
|
}
|
package/api.ts
CHANGED
|
@@ -25,9 +25,9 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
|
|
|
25
25
|
// @ts-ignore
|
|
26
26
|
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from './base';
|
|
27
27
|
import { CorrectionInvoicesApi } from './api';
|
|
28
|
-
import { DefaultApi } from './api';
|
|
29
28
|
import { DraftInvoiceApi } from './api';
|
|
30
29
|
import { EstimatedInvoicesApi } from './api';
|
|
30
|
+
import { HealthApi } from './api';
|
|
31
31
|
import { InitialInvoicesApi } from './api';
|
|
32
32
|
import { InvoicesApi } from './api';
|
|
33
33
|
import { PolicyBillingApi } from './api';
|
|
@@ -36,9 +36,9 @@ import { TerminationInvoicesApi } from './api';
|
|
|
36
36
|
|
|
37
37
|
|
|
38
38
|
export * from './api/correction-invoices-api';
|
|
39
|
-
export * from './api/default-api';
|
|
40
39
|
export * from './api/draft-invoice-api';
|
|
41
40
|
export * from './api/estimated-invoices-api';
|
|
41
|
+
export * from './api/health-api';
|
|
42
42
|
export * from './api/initial-invoices-api';
|
|
43
43
|
export * from './api/invoices-api';
|
|
44
44
|
export * from './api/policy-billing-api';
|
|
@@ -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
|
|
@@ -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
|
+
* HealthApi - axios parameter creator
|
|
94
94
|
* @export
|
|
95
95
|
*/
|
|
96
|
-
var
|
|
96
|
+
var HealthApiAxiosParamCreator = function (configuration) {
|
|
97
97
|
var _this = this;
|
|
98
98
|
return {
|
|
99
99
|
/**
|
|
@@ -127,13 +127,13 @@ var DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
127
127
|
},
|
|
128
128
|
};
|
|
129
129
|
};
|
|
130
|
-
exports.
|
|
130
|
+
exports.HealthApiAxiosParamCreator = HealthApiAxiosParamCreator;
|
|
131
131
|
/**
|
|
132
|
-
*
|
|
132
|
+
* HealthApi - functional programming interface
|
|
133
133
|
* @export
|
|
134
134
|
*/
|
|
135
|
-
var
|
|
136
|
-
var localVarAxiosParamCreator = (0, exports.
|
|
135
|
+
var HealthApiFp = function (configuration) {
|
|
136
|
+
var localVarAxiosParamCreator = (0, exports.HealthApiAxiosParamCreator)(configuration);
|
|
137
137
|
return {
|
|
138
138
|
/**
|
|
139
139
|
*
|
|
@@ -155,13 +155,13 @@ var DefaultApiFp = function (configuration) {
|
|
|
155
155
|
},
|
|
156
156
|
};
|
|
157
157
|
};
|
|
158
|
-
exports.
|
|
158
|
+
exports.HealthApiFp = HealthApiFp;
|
|
159
159
|
/**
|
|
160
|
-
*
|
|
160
|
+
* HealthApi - factory interface
|
|
161
161
|
* @export
|
|
162
162
|
*/
|
|
163
|
-
var
|
|
164
|
-
var localVarFp = (0, exports.
|
|
163
|
+
var HealthApiFactory = function (configuration, basePath, axios) {
|
|
164
|
+
var localVarFp = (0, exports.HealthApiFp)(configuration);
|
|
165
165
|
return {
|
|
166
166
|
/**
|
|
167
167
|
*
|
|
@@ -173,28 +173,28 @@ var DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
173
173
|
},
|
|
174
174
|
};
|
|
175
175
|
};
|
|
176
|
-
exports.
|
|
176
|
+
exports.HealthApiFactory = HealthApiFactory;
|
|
177
177
|
/**
|
|
178
|
-
*
|
|
178
|
+
* HealthApi - object-oriented interface
|
|
179
179
|
* @export
|
|
180
|
-
* @class
|
|
180
|
+
* @class HealthApi
|
|
181
181
|
* @extends {BaseAPI}
|
|
182
182
|
*/
|
|
183
|
-
var
|
|
184
|
-
__extends(
|
|
185
|
-
function
|
|
183
|
+
var HealthApi = /** @class */ (function (_super) {
|
|
184
|
+
__extends(HealthApi, _super);
|
|
185
|
+
function HealthApi() {
|
|
186
186
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
187
187
|
}
|
|
188
188
|
/**
|
|
189
189
|
*
|
|
190
190
|
* @param {*} [options] Override http request option.
|
|
191
191
|
* @throws {RequiredError}
|
|
192
|
-
* @memberof
|
|
192
|
+
* @memberof HealthApi
|
|
193
193
|
*/
|
|
194
|
-
|
|
194
|
+
HealthApi.prototype.check = function (options) {
|
|
195
195
|
var _this = this;
|
|
196
|
-
return (0, exports.
|
|
196
|
+
return (0, exports.HealthApiFp)(this.configuration).check(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
197
197
|
};
|
|
198
|
-
return
|
|
198
|
+
return HealthApi;
|
|
199
199
|
}(base_1.BaseAPI));
|
|
200
|
-
exports.
|
|
200
|
+
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@emilgroup/billing-sdk-node",
|
|
3
|
-
"version": "1.58.
|
|
3
|
+
"version": "1.58.1-beta.3",
|
|
4
4
|
"description": "OpenAPI client for @emilgroup/billing-sdk-node",
|
|
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
|
"form-data": "^4.0.0",
|
|
23
23
|
"url": "^0.11.0"
|
|
24
24
|
},
|