@emilgroup/billing-sdk-node 1.9.0 → 1.10.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 +3 -0
- package/README.md +2 -2
- package/models/create-invoice-payment-request-dto.ts +60 -0
- package/models/create-invoice-status-request-dto.ts +2 -1
- package/models/index.ts +3 -0
- package/models/invoice-class.ts +15 -1
- package/models/invoice-payment-class.ts +102 -0
- package/{dist/models/create-custom-estimated-invoice-request-dto.js → models/invoice-payments-class.ts} +18 -7
- package/models/invoice-status-class.ts +2 -1
- package/models/omit-type-class.ts +15 -1
- package/package.json +2 -2
- package/dist/api/correction-invoices-api.d.ts +0 -106
- package/dist/api/correction-invoices-api.js +0 -234
- package/dist/api/default-api.d.ts +0 -66
- package/dist/api/default-api.js +0 -200
- package/dist/api/estimated-invoices-api.d.ts +0 -154
- package/dist/api/estimated-invoices-api.js +0 -321
- package/dist/api/initial-invoices-api.d.ts +0 -106
- package/dist/api/initial-invoices-api.js +0 -234
- package/dist/api/invoices-api.d.ts +0 -307
- package/dist/api/invoices-api.js +0 -481
- package/dist/api/recurring-invoices-api.d.ts +0 -106
- package/dist/api/recurring-invoices-api.js +0 -234
- package/dist/api.d.ts +0 -17
- package/dist/api.js +0 -35
- package/dist/base.d.ts +0 -78
- package/dist/base.js +0 -394
- package/dist/common.d.ts +0 -92
- package/dist/common.js +0 -277
- package/dist/configuration.d.ts +0 -90
- package/dist/configuration.js +0 -44
- package/dist/index.d.ts +0 -15
- package/dist/index.js +0 -36
- package/dist/models/create-correction-invoices-response-class.d.ts +0 -25
- package/dist/models/create-correction-invoices-response-class.js +0 -15
- package/dist/models/create-custom-estimated-invoice-request-dto.d.ts +0 -35
- package/dist/models/create-custom-estimated-invoice-response-class.d.ts +0 -24
- package/dist/models/create-custom-estimated-invoice-response-class.js +0 -15
- package/dist/models/create-estimated-invoice-request-dto.d.ts +0 -31
- package/dist/models/create-estimated-invoice-request-dto.js +0 -15
- package/dist/models/create-estimated-invoice-response-class.d.ts +0 -31
- package/dist/models/create-estimated-invoice-response-class.js +0 -15
- package/dist/models/create-invoice-request-dto.d.ts +0 -77
- package/dist/models/create-invoice-request-dto.js +0 -26
- package/dist/models/create-invoice-response-class.d.ts +0 -25
- package/dist/models/create-invoice-response-class.js +0 -15
- package/dist/models/create-invoice-status-request-dto.d.ts +0 -35
- package/dist/models/create-invoice-status-request-dto.js +0 -20
- package/dist/models/create-termination-invoice-request-dto.d.ts +0 -48
- package/dist/models/create-termination-invoice-request-dto.js +0 -15
- package/dist/models/get-invoice-response-class.d.ts +0 -25
- package/dist/models/get-invoice-response-class.js +0 -15
- package/dist/models/index.d.ts +0 -28
- package/dist/models/index.js +0 -44
- package/dist/models/inline-response200.d.ts +0 -54
- package/dist/models/inline-response200.js +0 -15
- package/dist/models/inline-response503.d.ts +0 -54
- package/dist/models/inline-response503.js +0 -15
- package/dist/models/invoice-class.d.ts +0 -150
- package/dist/models/invoice-class.js +0 -30
- package/dist/models/invoice-item-class.d.ts +0 -129
- package/dist/models/invoice-item-class.js +0 -24
- package/dist/models/invoice-status-class.d.ts +0 -47
- package/dist/models/invoice-status-class.js +0 -20
- package/dist/models/list-invoices-response-class.d.ts +0 -31
- package/dist/models/list-invoices-response-class.js +0 -15
- package/dist/models/list-policies-billing-dates-response-class.d.ts +0 -31
- package/dist/models/list-policies-billing-dates-response-class.js +0 -15
- package/dist/models/list-request-dto.d.ts +0 -54
- package/dist/models/list-request-dto.js +0 -15
- package/dist/models/omit-type-class.d.ts +0 -143
- package/dist/models/omit-type-class.js +0 -30
- package/dist/models/policy-billing-date-class.d.ts +0 -42
- package/dist/models/policy-billing-date-class.js +0 -15
- package/dist/models/policy-dto.d.ts +0 -122
- package/dist/models/policy-dto.js +0 -22
- package/dist/models/policy-object-dto.d.ts +0 -48
- package/dist/models/policy-object-dto.js +0 -15
- package/dist/models/policy-premium-dto.d.ts +0 -49
- package/dist/models/policy-premium-dto.js +0 -15
- package/dist/models/policy-premium-item-dto.d.ts +0 -55
- package/dist/models/policy-premium-item-dto.js +0 -15
- package/dist/models/policy-version-dto.d.ts +0 -55
- package/dist/models/policy-version-dto.js +0 -15
- package/dist/models/premium-formula-dto.d.ts +0 -72
- package/dist/models/premium-formula-dto.js +0 -15
- package/dist/models/revert-invoice-request-dto.d.ts +0 -24
- package/dist/models/revert-invoice-request-dto.js +0 -15
- package/dist/models/timeslice-dto.d.ts +0 -62
- package/dist/models/timeslice-dto.js +0 -15
package/dist/api/invoices-api.js
DELETED
|
@@ -1,481 +0,0 @@
|
|
|
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
|
-
var __extends = (this && this.__extends) || (function () {
|
|
16
|
-
var extendStatics = function (d, b) {
|
|
17
|
-
extendStatics = Object.setPrototypeOf ||
|
|
18
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
19
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
20
|
-
return extendStatics(d, b);
|
|
21
|
-
};
|
|
22
|
-
return function (d, b) {
|
|
23
|
-
if (typeof b !== "function" && b !== null)
|
|
24
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
25
|
-
extendStatics(d, b);
|
|
26
|
-
function __() { this.constructor = d; }
|
|
27
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
28
|
-
};
|
|
29
|
-
})();
|
|
30
|
-
var __assign = (this && this.__assign) || function () {
|
|
31
|
-
__assign = Object.assign || function(t) {
|
|
32
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
33
|
-
s = arguments[i];
|
|
34
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
35
|
-
t[p] = s[p];
|
|
36
|
-
}
|
|
37
|
-
return t;
|
|
38
|
-
};
|
|
39
|
-
return __assign.apply(this, arguments);
|
|
40
|
-
};
|
|
41
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
42
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
43
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
44
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
45
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
46
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
47
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
48
|
-
});
|
|
49
|
-
};
|
|
50
|
-
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
51
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
52
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
53
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
54
|
-
function step(op) {
|
|
55
|
-
if (f) throw new TypeError("Generator is already executing.");
|
|
56
|
-
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
57
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
58
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
59
|
-
switch (op[0]) {
|
|
60
|
-
case 0: case 1: t = op; break;
|
|
61
|
-
case 4: _.label++; return { value: op[1], done: false };
|
|
62
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
63
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
64
|
-
default:
|
|
65
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
66
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
67
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
68
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
69
|
-
if (t[2]) _.ops.pop();
|
|
70
|
-
_.trys.pop(); continue;
|
|
71
|
-
}
|
|
72
|
-
op = body.call(thisArg, _);
|
|
73
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
74
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
75
|
-
}
|
|
76
|
-
};
|
|
77
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
78
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
79
|
-
};
|
|
80
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
81
|
-
exports.InvoicesApi = exports.InvoicesApiFactory = exports.InvoicesApiFp = exports.InvoicesApiAxiosParamCreator = void 0;
|
|
82
|
-
var axios_1 = __importDefault(require("axios"));
|
|
83
|
-
// Some imports not used depending on template conditions
|
|
84
|
-
// @ts-ignore
|
|
85
|
-
var common_1 = require("../common");
|
|
86
|
-
// @ts-ignore
|
|
87
|
-
var base_1 = require("../base");
|
|
88
|
-
// URLSearchParams not necessarily used
|
|
89
|
-
// @ts-ignore
|
|
90
|
-
var url_1 = require("url");
|
|
91
|
-
var FormData = require('form-data');
|
|
92
|
-
/**
|
|
93
|
-
* InvoicesApi - axios parameter creator
|
|
94
|
-
* @export
|
|
95
|
-
*/
|
|
96
|
-
var InvoicesApiAxiosParamCreator = function (configuration) {
|
|
97
|
-
var _this = this;
|
|
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
|
-
},
|
|
153
|
-
/**
|
|
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.
|
|
155
|
-
* @summary List invoices
|
|
156
|
-
* @param {string} [authorization] Bearer Token
|
|
157
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
158
|
-
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
159
|
-
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
160
|
-
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
161
|
-
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
162
|
-
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
163
|
-
* @param {*} [options] Override http request option.
|
|
164
|
-
* @throws {RequiredError}
|
|
165
|
-
*/
|
|
166
|
-
listInvoices: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
167
|
-
if (options === void 0) { options = {}; }
|
|
168
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
169
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
170
|
-
return __generator(this, function (_a) {
|
|
171
|
-
switch (_a.label) {
|
|
172
|
-
case 0:
|
|
173
|
-
localVarPath = "/billingservice/v1/invoices";
|
|
174
|
-
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
175
|
-
if (configuration) {
|
|
176
|
-
baseOptions = configuration.baseOptions;
|
|
177
|
-
baseAccessToken = configuration.accessToken;
|
|
178
|
-
}
|
|
179
|
-
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
180
|
-
localVarHeaderParameter = {};
|
|
181
|
-
localVarQueryParameter = {};
|
|
182
|
-
// authentication bearer required
|
|
183
|
-
// http bearer authentication required
|
|
184
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
185
|
-
case 1:
|
|
186
|
-
// authentication bearer required
|
|
187
|
-
// http bearer authentication required
|
|
188
|
-
_a.sent();
|
|
189
|
-
if (pageSize !== undefined) {
|
|
190
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
191
|
-
}
|
|
192
|
-
if (pageToken !== undefined) {
|
|
193
|
-
localVarQueryParameter['pageToken'] = pageToken;
|
|
194
|
-
}
|
|
195
|
-
if (filter !== undefined) {
|
|
196
|
-
localVarQueryParameter['filter'] = filter;
|
|
197
|
-
}
|
|
198
|
-
if (search !== undefined) {
|
|
199
|
-
localVarQueryParameter['search'] = search;
|
|
200
|
-
}
|
|
201
|
-
if (order !== undefined) {
|
|
202
|
-
localVarQueryParameter['order'] = order;
|
|
203
|
-
}
|
|
204
|
-
if (expand !== undefined) {
|
|
205
|
-
localVarQueryParameter['expand'] = expand;
|
|
206
|
-
}
|
|
207
|
-
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
208
|
-
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
209
|
-
}
|
|
210
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
211
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
212
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
213
|
-
return [2 /*return*/, {
|
|
214
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
215
|
-
options: localVarRequestOptions,
|
|
216
|
-
}];
|
|
217
|
-
}
|
|
218
|
-
});
|
|
219
|
-
});
|
|
220
|
-
},
|
|
221
|
-
/**
|
|
222
|
-
* Returns a list of policies billing dates you have previously created. The policies billing dates are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
223
|
-
* @summary List policies billing dates
|
|
224
|
-
* @param {string} [authorization] Bearer Token
|
|
225
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
226
|
-
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
227
|
-
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
228
|
-
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
229
|
-
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
230
|
-
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
231
|
-
* @param {*} [options] Override http request option.
|
|
232
|
-
* @throws {RequiredError}
|
|
233
|
-
*/
|
|
234
|
-
listPoliciesBillingDates: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
235
|
-
if (options === void 0) { options = {}; }
|
|
236
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
237
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
238
|
-
return __generator(this, function (_a) {
|
|
239
|
-
switch (_a.label) {
|
|
240
|
-
case 0:
|
|
241
|
-
localVarPath = "/billingservice/v1/invoices/policies-billing-dates";
|
|
242
|
-
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
243
|
-
if (configuration) {
|
|
244
|
-
baseOptions = configuration.baseOptions;
|
|
245
|
-
baseAccessToken = configuration.accessToken;
|
|
246
|
-
}
|
|
247
|
-
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
248
|
-
localVarHeaderParameter = {};
|
|
249
|
-
localVarQueryParameter = {};
|
|
250
|
-
// authentication bearer required
|
|
251
|
-
// http bearer authentication required
|
|
252
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
253
|
-
case 1:
|
|
254
|
-
// authentication bearer required
|
|
255
|
-
// http bearer authentication required
|
|
256
|
-
_a.sent();
|
|
257
|
-
if (pageSize !== undefined) {
|
|
258
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
259
|
-
}
|
|
260
|
-
if (pageToken !== undefined) {
|
|
261
|
-
localVarQueryParameter['pageToken'] = pageToken;
|
|
262
|
-
}
|
|
263
|
-
if (filter !== undefined) {
|
|
264
|
-
localVarQueryParameter['filter'] = filter;
|
|
265
|
-
}
|
|
266
|
-
if (search !== undefined) {
|
|
267
|
-
localVarQueryParameter['search'] = search;
|
|
268
|
-
}
|
|
269
|
-
if (order !== undefined) {
|
|
270
|
-
localVarQueryParameter['order'] = order;
|
|
271
|
-
}
|
|
272
|
-
if (expand !== undefined) {
|
|
273
|
-
localVarQueryParameter['expand'] = expand;
|
|
274
|
-
}
|
|
275
|
-
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
276
|
-
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
277
|
-
}
|
|
278
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
279
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
280
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
281
|
-
return [2 /*return*/, {
|
|
282
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
283
|
-
options: localVarRequestOptions,
|
|
284
|
-
}];
|
|
285
|
-
}
|
|
286
|
-
});
|
|
287
|
-
});
|
|
288
|
-
},
|
|
289
|
-
};
|
|
290
|
-
};
|
|
291
|
-
exports.InvoicesApiAxiosParamCreator = InvoicesApiAxiosParamCreator;
|
|
292
|
-
/**
|
|
293
|
-
* InvoicesApi - functional programming interface
|
|
294
|
-
* @export
|
|
295
|
-
*/
|
|
296
|
-
var InvoicesApiFp = function (configuration) {
|
|
297
|
-
var localVarAxiosParamCreator = (0, exports.InvoicesApiAxiosParamCreator)(configuration);
|
|
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
|
-
},
|
|
321
|
-
/**
|
|
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.
|
|
323
|
-
* @summary List invoices
|
|
324
|
-
* @param {string} [authorization] Bearer Token
|
|
325
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
326
|
-
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
327
|
-
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
328
|
-
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
329
|
-
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
330
|
-
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
331
|
-
* @param {*} [options] Override http request option.
|
|
332
|
-
* @throws {RequiredError}
|
|
333
|
-
*/
|
|
334
|
-
listInvoices: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
335
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
336
|
-
var localVarAxiosArgs;
|
|
337
|
-
return __generator(this, function (_a) {
|
|
338
|
-
switch (_a.label) {
|
|
339
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listInvoices(authorization, pageSize, pageToken, filter, search, order, expand, options)];
|
|
340
|
-
case 1:
|
|
341
|
-
localVarAxiosArgs = _a.sent();
|
|
342
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
343
|
-
}
|
|
344
|
-
});
|
|
345
|
-
});
|
|
346
|
-
},
|
|
347
|
-
/**
|
|
348
|
-
* Returns a list of policies billing dates you have previously created. The policies billing dates are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
349
|
-
* @summary List policies billing dates
|
|
350
|
-
* @param {string} [authorization] Bearer Token
|
|
351
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
352
|
-
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
353
|
-
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
354
|
-
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
355
|
-
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
356
|
-
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
357
|
-
* @param {*} [options] Override http request option.
|
|
358
|
-
* @throws {RequiredError}
|
|
359
|
-
*/
|
|
360
|
-
listPoliciesBillingDates: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
361
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
362
|
-
var localVarAxiosArgs;
|
|
363
|
-
return __generator(this, function (_a) {
|
|
364
|
-
switch (_a.label) {
|
|
365
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listPoliciesBillingDates(authorization, pageSize, pageToken, filter, search, order, expand, options)];
|
|
366
|
-
case 1:
|
|
367
|
-
localVarAxiosArgs = _a.sent();
|
|
368
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
369
|
-
}
|
|
370
|
-
});
|
|
371
|
-
});
|
|
372
|
-
},
|
|
373
|
-
};
|
|
374
|
-
};
|
|
375
|
-
exports.InvoicesApiFp = InvoicesApiFp;
|
|
376
|
-
/**
|
|
377
|
-
* InvoicesApi - factory interface
|
|
378
|
-
* @export
|
|
379
|
-
*/
|
|
380
|
-
var InvoicesApiFactory = function (configuration, basePath, axios) {
|
|
381
|
-
var localVarFp = (0, exports.InvoicesApiFp)(configuration);
|
|
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
|
-
},
|
|
395
|
-
/**
|
|
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.
|
|
397
|
-
* @summary List invoices
|
|
398
|
-
* @param {string} [authorization] Bearer Token
|
|
399
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
400
|
-
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
401
|
-
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
402
|
-
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
403
|
-
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
404
|
-
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
405
|
-
* @param {*} [options] Override http request option.
|
|
406
|
-
* @throws {RequiredError}
|
|
407
|
-
*/
|
|
408
|
-
listInvoices: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
409
|
-
return localVarFp.listInvoices(authorization, pageSize, pageToken, filter, search, order, expand, options).then(function (request) { return request(axios, basePath); });
|
|
410
|
-
},
|
|
411
|
-
/**
|
|
412
|
-
* Returns a list of policies billing dates you have previously created. The policies billing dates are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
413
|
-
* @summary List policies billing dates
|
|
414
|
-
* @param {string} [authorization] Bearer Token
|
|
415
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
416
|
-
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
417
|
-
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
418
|
-
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
419
|
-
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
420
|
-
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
421
|
-
* @param {*} [options] Override http request option.
|
|
422
|
-
* @throws {RequiredError}
|
|
423
|
-
*/
|
|
424
|
-
listPoliciesBillingDates: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
425
|
-
return localVarFp.listPoliciesBillingDates(authorization, pageSize, pageToken, filter, search, order, expand, options).then(function (request) { return request(axios, basePath); });
|
|
426
|
-
},
|
|
427
|
-
};
|
|
428
|
-
};
|
|
429
|
-
exports.InvoicesApiFactory = InvoicesApiFactory;
|
|
430
|
-
/**
|
|
431
|
-
* InvoicesApi - object-oriented interface
|
|
432
|
-
* @export
|
|
433
|
-
* @class InvoicesApi
|
|
434
|
-
* @extends {BaseAPI}
|
|
435
|
-
*/
|
|
436
|
-
var InvoicesApi = /** @class */ (function (_super) {
|
|
437
|
-
__extends(InvoicesApi, _super);
|
|
438
|
-
function InvoicesApi() {
|
|
439
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
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
|
-
};
|
|
453
|
-
/**
|
|
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.
|
|
455
|
-
* @summary List invoices
|
|
456
|
-
* @param {InvoicesApiListInvoicesRequest} requestParameters Request parameters.
|
|
457
|
-
* @param {*} [options] Override http request option.
|
|
458
|
-
* @throws {RequiredError}
|
|
459
|
-
* @memberof InvoicesApi
|
|
460
|
-
*/
|
|
461
|
-
InvoicesApi.prototype.listInvoices = function (requestParameters, options) {
|
|
462
|
-
var _this = this;
|
|
463
|
-
if (requestParameters === void 0) { requestParameters = {}; }
|
|
464
|
-
return (0, exports.InvoicesApiFp)(this.configuration).listInvoices(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
465
|
-
};
|
|
466
|
-
/**
|
|
467
|
-
* Returns a list of policies billing dates you have previously created. The policies billing dates are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
468
|
-
* @summary List policies billing dates
|
|
469
|
-
* @param {InvoicesApiListPoliciesBillingDatesRequest} requestParameters Request parameters.
|
|
470
|
-
* @param {*} [options] Override http request option.
|
|
471
|
-
* @throws {RequiredError}
|
|
472
|
-
* @memberof InvoicesApi
|
|
473
|
-
*/
|
|
474
|
-
InvoicesApi.prototype.listPoliciesBillingDates = function (requestParameters, options) {
|
|
475
|
-
var _this = this;
|
|
476
|
-
if (requestParameters === void 0) { requestParameters = {}; }
|
|
477
|
-
return (0, exports.InvoicesApiFp)(this.configuration).listPoliciesBillingDates(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
478
|
-
};
|
|
479
|
-
return InvoicesApi;
|
|
480
|
-
}(base_1.BaseAPI));
|
|
481
|
-
exports.InvoicesApi = InvoicesApi;
|
|
@@ -1,106 +0,0 @@
|
|
|
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 { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
13
|
-
import { Configuration } from '../configuration';
|
|
14
|
-
import { RequestArgs, BaseAPI } from '../base';
|
|
15
|
-
import { CreateInvoiceRequestDto } from '../models';
|
|
16
|
-
import { CreateInvoiceResponseClass } from '../models';
|
|
17
|
-
/**
|
|
18
|
-
* RecurringInvoicesApi - axios parameter creator
|
|
19
|
-
* @export
|
|
20
|
-
*/
|
|
21
|
-
export declare const RecurringInvoicesApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
22
|
-
/**
|
|
23
|
-
* This will create recurring invoice. It will be generated on a cyclical basis during the lifetime of a policy.
|
|
24
|
-
* @summary Create the recurring invoice
|
|
25
|
-
* @param {CreateInvoiceRequestDto} createInvoiceRequestDto
|
|
26
|
-
* @param {string} [authorization] Bearer Token
|
|
27
|
-
* @param {string} [idempotencyKey] Idempotency Key used to make the request idempotent. The key should be unique. Usually, a generated v4 UUID is enough.
|
|
28
|
-
* @param {*} [options] Override http request option.
|
|
29
|
-
* @throws {RequiredError}
|
|
30
|
-
*/
|
|
31
|
-
createRecurringInvoice: (createInvoiceRequestDto: CreateInvoiceRequestDto, authorization?: string, idempotencyKey?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
32
|
-
};
|
|
33
|
-
/**
|
|
34
|
-
* RecurringInvoicesApi - functional programming interface
|
|
35
|
-
* @export
|
|
36
|
-
*/
|
|
37
|
-
export declare const RecurringInvoicesApiFp: (configuration?: Configuration) => {
|
|
38
|
-
/**
|
|
39
|
-
* This will create recurring invoice. It will be generated on a cyclical basis during the lifetime of a policy.
|
|
40
|
-
* @summary Create the recurring invoice
|
|
41
|
-
* @param {CreateInvoiceRequestDto} createInvoiceRequestDto
|
|
42
|
-
* @param {string} [authorization] Bearer Token
|
|
43
|
-
* @param {string} [idempotencyKey] Idempotency Key used to make the request idempotent. The key should be unique. Usually, a generated v4 UUID is enough.
|
|
44
|
-
* @param {*} [options] Override http request option.
|
|
45
|
-
* @throws {RequiredError}
|
|
46
|
-
*/
|
|
47
|
-
createRecurringInvoice(createInvoiceRequestDto: CreateInvoiceRequestDto, authorization?: string, idempotencyKey?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateInvoiceResponseClass>>;
|
|
48
|
-
};
|
|
49
|
-
/**
|
|
50
|
-
* RecurringInvoicesApi - factory interface
|
|
51
|
-
* @export
|
|
52
|
-
*/
|
|
53
|
-
export declare const RecurringInvoicesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
54
|
-
/**
|
|
55
|
-
* This will create recurring invoice. It will be generated on a cyclical basis during the lifetime of a policy.
|
|
56
|
-
* @summary Create the recurring invoice
|
|
57
|
-
* @param {CreateInvoiceRequestDto} createInvoiceRequestDto
|
|
58
|
-
* @param {string} [authorization] Bearer Token
|
|
59
|
-
* @param {string} [idempotencyKey] Idempotency Key used to make the request idempotent. The key should be unique. Usually, a generated v4 UUID is enough.
|
|
60
|
-
* @param {*} [options] Override http request option.
|
|
61
|
-
* @throws {RequiredError}
|
|
62
|
-
*/
|
|
63
|
-
createRecurringInvoice(createInvoiceRequestDto: CreateInvoiceRequestDto, authorization?: string, idempotencyKey?: string, options?: any): AxiosPromise<CreateInvoiceResponseClass>;
|
|
64
|
-
};
|
|
65
|
-
/**
|
|
66
|
-
* Request parameters for createRecurringInvoice operation in RecurringInvoicesApi.
|
|
67
|
-
* @export
|
|
68
|
-
* @interface RecurringInvoicesApiCreateRecurringInvoiceRequest
|
|
69
|
-
*/
|
|
70
|
-
export interface RecurringInvoicesApiCreateRecurringInvoiceRequest {
|
|
71
|
-
/**
|
|
72
|
-
*
|
|
73
|
-
* @type {CreateInvoiceRequestDto}
|
|
74
|
-
* @memberof RecurringInvoicesApiCreateRecurringInvoice
|
|
75
|
-
*/
|
|
76
|
-
readonly createInvoiceRequestDto: CreateInvoiceRequestDto;
|
|
77
|
-
/**
|
|
78
|
-
* Bearer Token
|
|
79
|
-
* @type {string}
|
|
80
|
-
* @memberof RecurringInvoicesApiCreateRecurringInvoice
|
|
81
|
-
*/
|
|
82
|
-
readonly authorization?: string;
|
|
83
|
-
/**
|
|
84
|
-
* Idempotency Key used to make the request idempotent. The key should be unique. Usually, a generated v4 UUID is enough.
|
|
85
|
-
* @type {string}
|
|
86
|
-
* @memberof RecurringInvoicesApiCreateRecurringInvoice
|
|
87
|
-
*/
|
|
88
|
-
readonly idempotencyKey?: string;
|
|
89
|
-
}
|
|
90
|
-
/**
|
|
91
|
-
* RecurringInvoicesApi - object-oriented interface
|
|
92
|
-
* @export
|
|
93
|
-
* @class RecurringInvoicesApi
|
|
94
|
-
* @extends {BaseAPI}
|
|
95
|
-
*/
|
|
96
|
-
export declare class RecurringInvoicesApi extends BaseAPI {
|
|
97
|
-
/**
|
|
98
|
-
* This will create recurring invoice. It will be generated on a cyclical basis during the lifetime of a policy.
|
|
99
|
-
* @summary Create the recurring invoice
|
|
100
|
-
* @param {RecurringInvoicesApiCreateRecurringInvoiceRequest} requestParameters Request parameters.
|
|
101
|
-
* @param {*} [options] Override http request option.
|
|
102
|
-
* @throws {RequiredError}
|
|
103
|
-
* @memberof RecurringInvoicesApi
|
|
104
|
-
*/
|
|
105
|
-
createRecurringInvoice(requestParameters: RecurringInvoicesApiCreateRecurringInvoiceRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateInvoiceResponseClass, any>>;
|
|
106
|
-
}
|