@emilgroup/billing-sdk-node 1.6.0 → 1.7.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.
@@ -22,6 +22,7 @@ models/create-invoice-request-dto.ts
22
22
  models/create-invoice-response-class.ts
23
23
  models/create-invoice-status-request-dto.ts
24
24
  models/create-termination-invoice-request-dto.ts
25
+ models/get-invoice-response-class.ts
25
26
  models/index.ts
26
27
  models/invoice-class.ts
27
28
  models/invoice-item-class.ts
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.6.0 --save
20
+ npm install @emilgroup/billing-sdk-node@1.7.0 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/billing-sdk-node@1.6.0
24
+ yarn add @emilgroup/billing-sdk-node@1.7.0
25
25
  ```
26
26
 
27
27
  And then you can import `InvoicesApi`.
@@ -21,6 +21,8 @@ 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
  // @ts-ignore
24
+ import { GetInvoiceResponseClass } from '../models';
25
+ // @ts-ignore
24
26
  import { ListInvoicesResponseClass } from '../models';
25
27
  // @ts-ignore
26
28
  import { ListPoliciesBillingDatesResponseClass } from '../models';
@@ -34,6 +36,58 @@ const FormData = require('form-data');
34
36
  */
35
37
  export const InvoicesApiAxiosParamCreator = function (configuration?: Configuration) {
36
38
  return {
39
+ /**
40
+ * Returns a list of invoices you have previously created. The invoices are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
41
+ * @summary List invoices
42
+ * @param {string} code
43
+ * @param {string} expand
44
+ * @param {string} [authorization] Bearer Token
45
+ * @param {*} [options] Override http request option.
46
+ * @throws {RequiredError}
47
+ */
48
+ getInvoice: async (code: string, expand: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
49
+ // verify required parameter 'code' is not null or undefined
50
+ assertParamExists('getInvoice', 'code', code)
51
+ // verify required parameter 'expand' is not null or undefined
52
+ assertParamExists('getInvoice', 'expand', expand)
53
+ const localVarPath = `/billingservice/v1/invoices/{code}`
54
+ .replace(`{${"code"}}`, encodeURIComponent(String(code)));
55
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
56
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
57
+ let baseOptions;
58
+ let baseAccessToken;
59
+ if (configuration) {
60
+ baseOptions = configuration.baseOptions;
61
+ baseAccessToken = configuration.accessToken;
62
+ }
63
+
64
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
65
+ const localVarHeaderParameter = {} as any;
66
+ const localVarQueryParameter = {} as any;
67
+
68
+ // authentication bearer required
69
+ // http bearer authentication required
70
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
71
+
72
+ if (expand !== undefined) {
73
+ localVarQueryParameter['expand'] = expand;
74
+ }
75
+
76
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
77
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
78
+ }
79
+
80
+
81
+
82
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
83
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
84
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
85
+
86
+ return {
87
+ url: toPathString(localVarUrlObj),
88
+ options: localVarRequestOptions,
89
+ };
90
+ },
37
91
  /**
38
92
  * Returns a list of invoices you have previously created. The invoices are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
39
93
  * @summary List invoices
@@ -186,6 +240,19 @@ export const InvoicesApiAxiosParamCreator = function (configuration?: Configurat
186
240
  export const InvoicesApiFp = function(configuration?: Configuration) {
187
241
  const localVarAxiosParamCreator = InvoicesApiAxiosParamCreator(configuration)
188
242
  return {
243
+ /**
244
+ * Returns a list of invoices you have previously created. The invoices are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
245
+ * @summary List invoices
246
+ * @param {string} code
247
+ * @param {string} expand
248
+ * @param {string} [authorization] Bearer Token
249
+ * @param {*} [options] Override http request option.
250
+ * @throws {RequiredError}
251
+ */
252
+ async getInvoice(code: string, expand: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetInvoiceResponseClass>> {
253
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getInvoice(code, expand, authorization, options);
254
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
255
+ },
189
256
  /**
190
257
  * Returns a list of invoices you have previously created. The invoices are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
191
258
  * @summary List invoices
@@ -230,6 +297,18 @@ export const InvoicesApiFp = function(configuration?: Configuration) {
230
297
  export const InvoicesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
231
298
  const localVarFp = InvoicesApiFp(configuration)
232
299
  return {
300
+ /**
301
+ * Returns a list of invoices you have previously created. The invoices are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
302
+ * @summary List invoices
303
+ * @param {string} code
304
+ * @param {string} expand
305
+ * @param {string} [authorization] Bearer Token
306
+ * @param {*} [options] Override http request option.
307
+ * @throws {RequiredError}
308
+ */
309
+ getInvoice(code: string, expand: string, authorization?: string, options?: any): AxiosPromise<GetInvoiceResponseClass> {
310
+ return localVarFp.getInvoice(code, expand, authorization, options).then((request) => request(axios, basePath));
311
+ },
233
312
  /**
234
313
  * Returns a list of invoices you have previously created. The invoices are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
235
314
  * @summary List invoices
@@ -265,6 +344,34 @@ export const InvoicesApiFactory = function (configuration?: Configuration, baseP
265
344
  };
266
345
  };
267
346
 
347
+ /**
348
+ * Request parameters for getInvoice operation in InvoicesApi.
349
+ * @export
350
+ * @interface InvoicesApiGetInvoiceRequest
351
+ */
352
+ export interface InvoicesApiGetInvoiceRequest {
353
+ /**
354
+ *
355
+ * @type {string}
356
+ * @memberof InvoicesApiGetInvoice
357
+ */
358
+ readonly code: string
359
+
360
+ /**
361
+ *
362
+ * @type {string}
363
+ * @memberof InvoicesApiGetInvoice
364
+ */
365
+ readonly expand: string
366
+
367
+ /**
368
+ * Bearer Token
369
+ * @type {string}
370
+ * @memberof InvoicesApiGetInvoice
371
+ */
372
+ readonly authorization?: string
373
+ }
374
+
268
375
  /**
269
376
  * Request parameters for listInvoices operation in InvoicesApi.
270
377
  * @export
@@ -384,6 +491,18 @@ export interface InvoicesApiListPoliciesBillingDatesRequest {
384
491
  * @extends {BaseAPI}
385
492
  */
386
493
  export class InvoicesApi extends BaseAPI {
494
+ /**
495
+ * Returns a list of invoices you have previously created. The invoices are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
496
+ * @summary List invoices
497
+ * @param {InvoicesApiGetInvoiceRequest} requestParameters Request parameters.
498
+ * @param {*} [options] Override http request option.
499
+ * @throws {RequiredError}
500
+ * @memberof InvoicesApi
501
+ */
502
+ public getInvoice(requestParameters: InvoicesApiGetInvoiceRequest, options?: AxiosRequestConfig) {
503
+ return InvoicesApiFp(this.configuration).getInvoice(requestParameters.code, requestParameters.expand, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
504
+ }
505
+
387
506
  /**
388
507
  * Returns a list of invoices you have previously created. The invoices are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
389
508
  * @summary List invoices
@@ -12,6 +12,7 @@
12
12
  import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
13
  import { Configuration } from '../configuration';
14
14
  import { RequestArgs, BaseAPI } from '../base';
15
+ import { GetInvoiceResponseClass } from '../models';
15
16
  import { ListInvoicesResponseClass } from '../models';
16
17
  import { ListPoliciesBillingDatesResponseClass } from '../models';
17
18
  /**
@@ -19,6 +20,16 @@ import { ListPoliciesBillingDatesResponseClass } from '../models';
19
20
  * @export
20
21
  */
21
22
  export declare const InvoicesApiAxiosParamCreator: (configuration?: Configuration) => {
23
+ /**
24
+ * Returns a list of invoices you have previously created. The invoices are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
25
+ * @summary List invoices
26
+ * @param {string} code
27
+ * @param {string} expand
28
+ * @param {string} [authorization] Bearer Token
29
+ * @param {*} [options] Override http request option.
30
+ * @throws {RequiredError}
31
+ */
32
+ getInvoice: (code: string, expand: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
22
33
  /**
23
34
  * Returns a list of invoices you have previously created. The invoices are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
24
35
  * @summary List invoices
@@ -53,6 +64,16 @@ export declare const InvoicesApiAxiosParamCreator: (configuration?: Configuratio
53
64
  * @export
54
65
  */
55
66
  export declare const InvoicesApiFp: (configuration?: Configuration) => {
67
+ /**
68
+ * Returns a list of invoices you have previously created. The invoices are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
69
+ * @summary List invoices
70
+ * @param {string} code
71
+ * @param {string} expand
72
+ * @param {string} [authorization] Bearer Token
73
+ * @param {*} [options] Override http request option.
74
+ * @throws {RequiredError}
75
+ */
76
+ getInvoice(code: string, expand: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetInvoiceResponseClass>>;
56
77
  /**
57
78
  * Returns a list of invoices you have previously created. The invoices are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
58
79
  * @summary List invoices
@@ -87,6 +108,16 @@ export declare const InvoicesApiFp: (configuration?: Configuration) => {
87
108
  * @export
88
109
  */
89
110
  export declare const InvoicesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
111
+ /**
112
+ * Returns a list of invoices you have previously created. The invoices are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
113
+ * @summary List invoices
114
+ * @param {string} code
115
+ * @param {string} expand
116
+ * @param {string} [authorization] Bearer Token
117
+ * @param {*} [options] Override http request option.
118
+ * @throws {RequiredError}
119
+ */
120
+ getInvoice(code: string, expand: string, authorization?: string, options?: any): AxiosPromise<GetInvoiceResponseClass>;
90
121
  /**
91
122
  * Returns a list of invoices you have previously created. The invoices are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
92
123
  * @summary List invoices
@@ -116,6 +147,31 @@ export declare const InvoicesApiFactory: (configuration?: Configuration, basePat
116
147
  */
117
148
  listPoliciesBillingDates(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<ListPoliciesBillingDatesResponseClass>;
118
149
  };
150
+ /**
151
+ * Request parameters for getInvoice operation in InvoicesApi.
152
+ * @export
153
+ * @interface InvoicesApiGetInvoiceRequest
154
+ */
155
+ export interface InvoicesApiGetInvoiceRequest {
156
+ /**
157
+ *
158
+ * @type {string}
159
+ * @memberof InvoicesApiGetInvoice
160
+ */
161
+ readonly code: string;
162
+ /**
163
+ *
164
+ * @type {string}
165
+ * @memberof InvoicesApiGetInvoice
166
+ */
167
+ readonly expand: string;
168
+ /**
169
+ * Bearer Token
170
+ * @type {string}
171
+ * @memberof InvoicesApiGetInvoice
172
+ */
173
+ readonly authorization?: string;
174
+ }
119
175
  /**
120
176
  * Request parameters for listInvoices operation in InvoicesApi.
121
177
  * @export
@@ -221,6 +277,15 @@ export interface InvoicesApiListPoliciesBillingDatesRequest {
221
277
  * @extends {BaseAPI}
222
278
  */
223
279
  export declare class InvoicesApi extends BaseAPI {
280
+ /**
281
+ * Returns a list of invoices you have previously created. The invoices are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
282
+ * @summary List invoices
283
+ * @param {InvoicesApiGetInvoiceRequest} requestParameters Request parameters.
284
+ * @param {*} [options] Override http request option.
285
+ * @throws {RequiredError}
286
+ * @memberof InvoicesApi
287
+ */
288
+ getInvoice(requestParameters: InvoicesApiGetInvoiceRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetInvoiceResponseClass, any>>;
224
289
  /**
225
290
  * Returns a list of invoices you have previously created. The invoices are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
226
291
  * @summary List invoices
@@ -96,6 +96,60 @@ var FormData = require('form-data');
96
96
  var InvoicesApiAxiosParamCreator = function (configuration) {
97
97
  var _this = this;
98
98
  return {
99
+ /**
100
+ * Returns a list of invoices you have previously created. The invoices are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
101
+ * @summary List invoices
102
+ * @param {string} code
103
+ * @param {string} expand
104
+ * @param {string} [authorization] Bearer Token
105
+ * @param {*} [options] Override http request option.
106
+ * @throws {RequiredError}
107
+ */
108
+ getInvoice: function (code, expand, authorization, options) {
109
+ if (options === void 0) { options = {}; }
110
+ return __awaiter(_this, void 0, void 0, function () {
111
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
112
+ return __generator(this, function (_a) {
113
+ switch (_a.label) {
114
+ case 0:
115
+ // verify required parameter 'code' is not null or undefined
116
+ (0, common_1.assertParamExists)('getInvoice', 'code', code);
117
+ // verify required parameter 'expand' is not null or undefined
118
+ (0, common_1.assertParamExists)('getInvoice', 'expand', expand);
119
+ localVarPath = "/billingservice/v1/invoices/{code}"
120
+ .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
121
+ localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
122
+ if (configuration) {
123
+ baseOptions = configuration.baseOptions;
124
+ baseAccessToken = configuration.accessToken;
125
+ }
126
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
127
+ localVarHeaderParameter = {};
128
+ localVarQueryParameter = {};
129
+ // authentication bearer required
130
+ // http bearer authentication required
131
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
132
+ case 1:
133
+ // authentication bearer required
134
+ // http bearer authentication required
135
+ _a.sent();
136
+ if (expand !== undefined) {
137
+ localVarQueryParameter['expand'] = expand;
138
+ }
139
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
140
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
141
+ }
142
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
143
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
144
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
145
+ return [2 /*return*/, {
146
+ url: (0, common_1.toPathString)(localVarUrlObj),
147
+ options: localVarRequestOptions,
148
+ }];
149
+ }
150
+ });
151
+ });
152
+ },
99
153
  /**
100
154
  * Returns a list of invoices you have previously created. The invoices are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
101
155
  * @summary List invoices
@@ -242,6 +296,28 @@ exports.InvoicesApiAxiosParamCreator = InvoicesApiAxiosParamCreator;
242
296
  var InvoicesApiFp = function (configuration) {
243
297
  var localVarAxiosParamCreator = (0, exports.InvoicesApiAxiosParamCreator)(configuration);
244
298
  return {
299
+ /**
300
+ * Returns a list of invoices you have previously created. The invoices are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
301
+ * @summary List invoices
302
+ * @param {string} code
303
+ * @param {string} expand
304
+ * @param {string} [authorization] Bearer Token
305
+ * @param {*} [options] Override http request option.
306
+ * @throws {RequiredError}
307
+ */
308
+ getInvoice: function (code, expand, authorization, options) {
309
+ return __awaiter(this, void 0, void 0, function () {
310
+ var localVarAxiosArgs;
311
+ return __generator(this, function (_a) {
312
+ switch (_a.label) {
313
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getInvoice(code, expand, authorization, options)];
314
+ case 1:
315
+ localVarAxiosArgs = _a.sent();
316
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
317
+ }
318
+ });
319
+ });
320
+ },
245
321
  /**
246
322
  * Returns a list of invoices you have previously created. The invoices are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
247
323
  * @summary List invoices
@@ -304,6 +380,18 @@ exports.InvoicesApiFp = InvoicesApiFp;
304
380
  var InvoicesApiFactory = function (configuration, basePath, axios) {
305
381
  var localVarFp = (0, exports.InvoicesApiFp)(configuration);
306
382
  return {
383
+ /**
384
+ * Returns a list of invoices you have previously created. The invoices are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
385
+ * @summary List invoices
386
+ * @param {string} code
387
+ * @param {string} expand
388
+ * @param {string} [authorization] Bearer Token
389
+ * @param {*} [options] Override http request option.
390
+ * @throws {RequiredError}
391
+ */
392
+ getInvoice: function (code, expand, authorization, options) {
393
+ return localVarFp.getInvoice(code, expand, authorization, options).then(function (request) { return request(axios, basePath); });
394
+ },
307
395
  /**
308
396
  * Returns a list of invoices you have previously created. The invoices are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
309
397
  * @summary List invoices
@@ -350,6 +438,18 @@ var InvoicesApi = /** @class */ (function (_super) {
350
438
  function InvoicesApi() {
351
439
  return _super !== null && _super.apply(this, arguments) || this;
352
440
  }
441
+ /**
442
+ * Returns a list of invoices you have previously created. The invoices are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
443
+ * @summary List invoices
444
+ * @param {InvoicesApiGetInvoiceRequest} requestParameters Request parameters.
445
+ * @param {*} [options] Override http request option.
446
+ * @throws {RequiredError}
447
+ * @memberof InvoicesApi
448
+ */
449
+ InvoicesApi.prototype.getInvoice = function (requestParameters, options) {
450
+ var _this = this;
451
+ return (0, exports.InvoicesApiFp)(this.configuration).getInvoice(requestParameters.code, requestParameters.expand, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
452
+ };
353
453
  /**
354
454
  * Returns a list of invoices you have previously created. The invoices are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
355
455
  * @summary List invoices
@@ -0,0 +1,25 @@
1
+ /**
2
+ * EMIL BillingService
3
+ * The EMIL BillingService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { OmitTypeClass } from './omit-type-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface GetInvoiceResponseClass
17
+ */
18
+ export interface GetInvoiceResponseClass {
19
+ /**
20
+ * Invoice response.
21
+ * @type {OmitTypeClass}
22
+ * @memberof GetInvoiceResponseClass
23
+ */
24
+ 'invoice': OmitTypeClass;
25
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL BillingService
6
+ * The EMIL BillingService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -7,6 +7,7 @@ export * from './create-invoice-request-dto';
7
7
  export * from './create-invoice-response-class';
8
8
  export * from './create-invoice-status-request-dto';
9
9
  export * from './create-termination-invoice-request-dto';
10
+ export * from './get-invoice-response-class';
10
11
  export * from './invoice-class';
11
12
  export * from './invoice-item-class';
12
13
  export * from './invoice-status-class';
@@ -23,6 +23,7 @@ __exportStar(require("./create-invoice-request-dto"), exports);
23
23
  __exportStar(require("./create-invoice-response-class"), exports);
24
24
  __exportStar(require("./create-invoice-status-request-dto"), exports);
25
25
  __exportStar(require("./create-termination-invoice-request-dto"), exports);
26
+ __exportStar(require("./get-invoice-response-class"), exports);
26
27
  __exportStar(require("./invoice-class"), exports);
27
28
  __exportStar(require("./invoice-item-class"), exports);
28
29
  __exportStar(require("./invoice-status-class"), exports);
@@ -0,0 +1,31 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL BillingService
5
+ * The EMIL BillingService API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import { OmitTypeClass } from './omit-type-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface GetInvoiceResponseClass
22
+ */
23
+ export interface GetInvoiceResponseClass {
24
+ /**
25
+ * Invoice response.
26
+ * @type {OmitTypeClass}
27
+ * @memberof GetInvoiceResponseClass
28
+ */
29
+ 'invoice': OmitTypeClass;
30
+ }
31
+
package/models/index.ts CHANGED
@@ -7,6 +7,7 @@ export * from './create-invoice-request-dto';
7
7
  export * from './create-invoice-response-class';
8
8
  export * from './create-invoice-status-request-dto';
9
9
  export * from './create-termination-invoice-request-dto';
10
+ export * from './get-invoice-response-class';
10
11
  export * from './invoice-class';
11
12
  export * from './invoice-item-class';
12
13
  export * from './invoice-status-class';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/billing-sdk-node",
3
- "version": "1.6.0",
3
+ "version": "1.7.0",
4
4
  "description": "OpenAPI client for @emilgroup/billing-sdk-node",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [