@emilgroup/billing-sdk 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.
- package/.openapi-generator/FILES +3 -0
- package/README.md +2 -2
- package/api/default-api.ts +120 -0
- package/api/invoices-api.ts +32 -32
- package/api.ts +2 -0
- package/base.ts +1 -0
- package/dist/api/default-api.d.ts +66 -0
- package/dist/api/default-api.js +196 -0
- package/dist/api/invoices-api.d.ts +32 -32
- package/dist/api/invoices-api.js +24 -24
- package/dist/api.d.ts +1 -0
- package/dist/api.js +1 -0
- package/dist/base.d.ts +2 -1
- package/dist/base.js +1 -0
- package/dist/models/index.d.ts +2 -0
- package/dist/models/index.js +2 -0
- package/dist/models/inline-response200.d.ts +54 -0
- package/dist/models/inline-response200.js +15 -0
- package/dist/models/inline-response503.d.ts +54 -0
- package/dist/models/inline-response503.js +15 -0
- package/models/index.ts +2 -0
- package/models/inline-response200.ts +48 -0
- package/models/inline-response503.ts +48 -0
- package/package.json +2 -1
|
@@ -34,12 +34,12 @@ export declare const InvoicesApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
34
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.
|
|
35
35
|
* @summary List invoices
|
|
36
36
|
* @param {string} [authorization] Bearer Token
|
|
37
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned.
|
|
38
|
-
* @param {any} [pageToken] A cursor for use in pagination.
|
|
37
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
38
|
+
* @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.
|
|
39
39
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
40
40
|
* @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.
|
|
41
|
-
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field.
|
|
42
|
-
* @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
|
|
41
|
+
* @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.
|
|
42
|
+
* @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.
|
|
43
43
|
* @param {*} [options] Override http request option.
|
|
44
44
|
* @throws {RequiredError}
|
|
45
45
|
*/
|
|
@@ -48,12 +48,12 @@ export declare const InvoicesApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
48
48
|
* 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.
|
|
49
49
|
* @summary List policies billing dates
|
|
50
50
|
* @param {string} [authorization] Bearer Token
|
|
51
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned.
|
|
52
|
-
* @param {any} [pageToken] A cursor for use in pagination.
|
|
51
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
52
|
+
* @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.
|
|
53
53
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
54
54
|
* @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.
|
|
55
|
-
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field.
|
|
56
|
-
* @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
|
|
55
|
+
* @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.
|
|
56
|
+
* @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.
|
|
57
57
|
* @param {*} [options] Override http request option.
|
|
58
58
|
* @throws {RequiredError}
|
|
59
59
|
*/
|
|
@@ -78,12 +78,12 @@ export declare const InvoicesApiFp: (configuration?: Configuration) => {
|
|
|
78
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.
|
|
79
79
|
* @summary List invoices
|
|
80
80
|
* @param {string} [authorization] Bearer Token
|
|
81
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned.
|
|
82
|
-
* @param {any} [pageToken] A cursor for use in pagination.
|
|
81
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
82
|
+
* @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.
|
|
83
83
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
84
84
|
* @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.
|
|
85
|
-
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field.
|
|
86
|
-
* @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
|
|
85
|
+
* @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.
|
|
86
|
+
* @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.
|
|
87
87
|
* @param {*} [options] Override http request option.
|
|
88
88
|
* @throws {RequiredError}
|
|
89
89
|
*/
|
|
@@ -92,12 +92,12 @@ export declare const InvoicesApiFp: (configuration?: Configuration) => {
|
|
|
92
92
|
* 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.
|
|
93
93
|
* @summary List policies billing dates
|
|
94
94
|
* @param {string} [authorization] Bearer Token
|
|
95
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned.
|
|
96
|
-
* @param {any} [pageToken] A cursor for use in pagination.
|
|
95
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
96
|
+
* @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.
|
|
97
97
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
98
98
|
* @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.
|
|
99
|
-
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field.
|
|
100
|
-
* @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
|
|
99
|
+
* @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.
|
|
100
|
+
* @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.
|
|
101
101
|
* @param {*} [options] Override http request option.
|
|
102
102
|
* @throws {RequiredError}
|
|
103
103
|
*/
|
|
@@ -122,12 +122,12 @@ export declare const InvoicesApiFactory: (configuration?: Configuration, basePat
|
|
|
122
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.
|
|
123
123
|
* @summary List invoices
|
|
124
124
|
* @param {string} [authorization] Bearer Token
|
|
125
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned.
|
|
126
|
-
* @param {any} [pageToken] A cursor for use in pagination.
|
|
125
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
126
|
+
* @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.
|
|
127
127
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
128
128
|
* @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.
|
|
129
|
-
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field.
|
|
130
|
-
* @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
|
|
129
|
+
* @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.
|
|
130
|
+
* @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.
|
|
131
131
|
* @param {*} [options] Override http request option.
|
|
132
132
|
* @throws {RequiredError}
|
|
133
133
|
*/
|
|
@@ -136,12 +136,12 @@ export declare const InvoicesApiFactory: (configuration?: Configuration, basePat
|
|
|
136
136
|
* 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.
|
|
137
137
|
* @summary List policies billing dates
|
|
138
138
|
* @param {string} [authorization] Bearer Token
|
|
139
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned.
|
|
140
|
-
* @param {any} [pageToken] A cursor for use in pagination.
|
|
139
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
140
|
+
* @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.
|
|
141
141
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
142
142
|
* @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.
|
|
143
|
-
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field.
|
|
144
|
-
* @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
|
|
143
|
+
* @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.
|
|
144
|
+
* @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.
|
|
145
145
|
* @param {*} [options] Override http request option.
|
|
146
146
|
* @throws {RequiredError}
|
|
147
147
|
*/
|
|
@@ -185,13 +185,13 @@ export interface InvoicesApiListInvoicesRequest {
|
|
|
185
185
|
*/
|
|
186
186
|
readonly authorization?: string;
|
|
187
187
|
/**
|
|
188
|
-
* A limit on the number of objects to be returned.
|
|
188
|
+
* A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
189
189
|
* @type {any}
|
|
190
190
|
* @memberof InvoicesApiListInvoices
|
|
191
191
|
*/
|
|
192
192
|
readonly pageSize?: any;
|
|
193
193
|
/**
|
|
194
|
-
* A cursor for use in pagination.
|
|
194
|
+
* 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.
|
|
195
195
|
* @type {any}
|
|
196
196
|
* @memberof InvoicesApiListInvoices
|
|
197
197
|
*/
|
|
@@ -209,13 +209,13 @@ export interface InvoicesApiListInvoicesRequest {
|
|
|
209
209
|
*/
|
|
210
210
|
readonly search?: any;
|
|
211
211
|
/**
|
|
212
|
-
* The order parameter determines how the results should be sorted according to a specified field.
|
|
212
|
+
* 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.
|
|
213
213
|
* @type {any}
|
|
214
214
|
* @memberof InvoicesApiListInvoices
|
|
215
215
|
*/
|
|
216
216
|
readonly order?: any;
|
|
217
217
|
/**
|
|
218
|
-
* 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
|
|
218
|
+
* 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.
|
|
219
219
|
* @type {any}
|
|
220
220
|
* @memberof InvoicesApiListInvoices
|
|
221
221
|
*/
|
|
@@ -234,13 +234,13 @@ export interface InvoicesApiListPoliciesBillingDatesRequest {
|
|
|
234
234
|
*/
|
|
235
235
|
readonly authorization?: string;
|
|
236
236
|
/**
|
|
237
|
-
* A limit on the number of objects to be returned.
|
|
237
|
+
* A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
238
238
|
* @type {any}
|
|
239
239
|
* @memberof InvoicesApiListPoliciesBillingDates
|
|
240
240
|
*/
|
|
241
241
|
readonly pageSize?: any;
|
|
242
242
|
/**
|
|
243
|
-
* A cursor for use in pagination.
|
|
243
|
+
* 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.
|
|
244
244
|
* @type {any}
|
|
245
245
|
* @memberof InvoicesApiListPoliciesBillingDates
|
|
246
246
|
*/
|
|
@@ -258,13 +258,13 @@ export interface InvoicesApiListPoliciesBillingDatesRequest {
|
|
|
258
258
|
*/
|
|
259
259
|
readonly search?: any;
|
|
260
260
|
/**
|
|
261
|
-
* The order parameter determines how the results should be sorted according to a specified field.
|
|
261
|
+
* 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.
|
|
262
262
|
* @type {any}
|
|
263
263
|
* @memberof InvoicesApiListPoliciesBillingDates
|
|
264
264
|
*/
|
|
265
265
|
readonly order?: any;
|
|
266
266
|
/**
|
|
267
|
-
* 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
|
|
267
|
+
* 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.
|
|
268
268
|
* @type {any}
|
|
269
269
|
* @memberof InvoicesApiListPoliciesBillingDates
|
|
270
270
|
*/
|
package/dist/api/invoices-api.js
CHANGED
|
@@ -150,12 +150,12 @@ var InvoicesApiAxiosParamCreator = function (configuration) {
|
|
|
150
150
|
* 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.
|
|
151
151
|
* @summary List invoices
|
|
152
152
|
* @param {string} [authorization] Bearer Token
|
|
153
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned.
|
|
154
|
-
* @param {any} [pageToken] A cursor for use in pagination.
|
|
153
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
154
|
+
* @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.
|
|
155
155
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
156
156
|
* @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.
|
|
157
|
-
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field.
|
|
158
|
-
* @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
|
|
157
|
+
* @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.
|
|
158
|
+
* @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.
|
|
159
159
|
* @param {*} [options] Override http request option.
|
|
160
160
|
* @throws {RequiredError}
|
|
161
161
|
*/
|
|
@@ -218,12 +218,12 @@ var InvoicesApiAxiosParamCreator = function (configuration) {
|
|
|
218
218
|
* 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.
|
|
219
219
|
* @summary List policies billing dates
|
|
220
220
|
* @param {string} [authorization] Bearer Token
|
|
221
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned.
|
|
222
|
-
* @param {any} [pageToken] A cursor for use in pagination.
|
|
221
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
222
|
+
* @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.
|
|
223
223
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
224
224
|
* @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.
|
|
225
|
-
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field.
|
|
226
|
-
* @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
|
|
225
|
+
* @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.
|
|
226
|
+
* @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.
|
|
227
227
|
* @param {*} [options] Override http request option.
|
|
228
228
|
* @throws {RequiredError}
|
|
229
229
|
*/
|
|
@@ -318,12 +318,12 @@ var InvoicesApiFp = function (configuration) {
|
|
|
318
318
|
* 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.
|
|
319
319
|
* @summary List invoices
|
|
320
320
|
* @param {string} [authorization] Bearer Token
|
|
321
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned.
|
|
322
|
-
* @param {any} [pageToken] A cursor for use in pagination.
|
|
321
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
322
|
+
* @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.
|
|
323
323
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
324
324
|
* @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.
|
|
325
|
-
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field.
|
|
326
|
-
* @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
|
|
325
|
+
* @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.
|
|
326
|
+
* @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.
|
|
327
327
|
* @param {*} [options] Override http request option.
|
|
328
328
|
* @throws {RequiredError}
|
|
329
329
|
*/
|
|
@@ -344,12 +344,12 @@ var InvoicesApiFp = function (configuration) {
|
|
|
344
344
|
* 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.
|
|
345
345
|
* @summary List policies billing dates
|
|
346
346
|
* @param {string} [authorization] Bearer Token
|
|
347
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned.
|
|
348
|
-
* @param {any} [pageToken] A cursor for use in pagination.
|
|
347
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
348
|
+
* @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.
|
|
349
349
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
350
350
|
* @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.
|
|
351
|
-
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field.
|
|
352
|
-
* @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
|
|
351
|
+
* @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.
|
|
352
|
+
* @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.
|
|
353
353
|
* @param {*} [options] Override http request option.
|
|
354
354
|
* @throws {RequiredError}
|
|
355
355
|
*/
|
|
@@ -392,12 +392,12 @@ var InvoicesApiFactory = function (configuration, basePath, axios) {
|
|
|
392
392
|
* 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.
|
|
393
393
|
* @summary List invoices
|
|
394
394
|
* @param {string} [authorization] Bearer Token
|
|
395
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned.
|
|
396
|
-
* @param {any} [pageToken] A cursor for use in pagination.
|
|
395
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
396
|
+
* @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.
|
|
397
397
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
398
398
|
* @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.
|
|
399
|
-
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field.
|
|
400
|
-
* @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
|
|
399
|
+
* @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.
|
|
400
|
+
* @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.
|
|
401
401
|
* @param {*} [options] Override http request option.
|
|
402
402
|
* @throws {RequiredError}
|
|
403
403
|
*/
|
|
@@ -408,12 +408,12 @@ var InvoicesApiFactory = function (configuration, basePath, axios) {
|
|
|
408
408
|
* 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.
|
|
409
409
|
* @summary List policies billing dates
|
|
410
410
|
* @param {string} [authorization] Bearer Token
|
|
411
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned.
|
|
412
|
-
* @param {any} [pageToken] A cursor for use in pagination.
|
|
411
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
412
|
+
* @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.
|
|
413
413
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
414
414
|
* @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.
|
|
415
|
-
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field.
|
|
416
|
-
* @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
|
|
415
|
+
* @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.
|
|
416
|
+
* @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.
|
|
417
417
|
* @param {*} [options] Override http request option.
|
|
418
418
|
* @throws {RequiredError}
|
|
419
419
|
*/
|
package/dist/api.d.ts
CHANGED
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
export * from './api/correction-invoices-api';
|
|
13
|
+
export * from './api/default-api';
|
|
13
14
|
export * from './api/estimated-invoices-api';
|
|
14
15
|
export * from './api/initial-invoices-api';
|
|
15
16
|
export * from './api/invoices-api';
|
package/dist/api.js
CHANGED
|
@@ -28,6 +28,7 @@ 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);
|
|
31
32
|
__exportStar(require("./api/estimated-invoices-api"), exports);
|
|
32
33
|
__exportStar(require("./api/initial-invoices-api"), exports);
|
|
33
34
|
__exportStar(require("./api/invoices-api"), exports);
|
package/dist/base.d.ts
CHANGED
|
@@ -29,7 +29,8 @@ export interface LoginClass {
|
|
|
29
29
|
export declare enum Environment {
|
|
30
30
|
Production = "https://apiv2.emil.de",
|
|
31
31
|
Test = "https://apiv2-test.emil.de",
|
|
32
|
-
Development = "https://apiv2-dev.emil.de"
|
|
32
|
+
Development = "https://apiv2-dev.emil.de",
|
|
33
|
+
ProductionZurich = "https://eu-central-2.apiv2.emil.de"
|
|
33
34
|
}
|
|
34
35
|
export declare function resetRetry(): void;
|
|
35
36
|
/**
|
package/dist/base.js
CHANGED
|
@@ -100,6 +100,7 @@ var Environment;
|
|
|
100
100
|
Environment["Production"] = "https://apiv2.emil.de";
|
|
101
101
|
Environment["Test"] = "https://apiv2-test.emil.de";
|
|
102
102
|
Environment["Development"] = "https://apiv2-dev.emil.de";
|
|
103
|
+
Environment["ProductionZurich"] = "https://eu-central-2.apiv2.emil.de";
|
|
103
104
|
})(Environment = exports.Environment || (exports.Environment = {}));
|
|
104
105
|
var _retry_count = 0;
|
|
105
106
|
var _retry = null;
|
package/dist/models/index.d.ts
CHANGED
|
@@ -8,6 +8,8 @@ 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
10
|
export * from './get-invoice-response-class';
|
|
11
|
+
export * from './inline-response200';
|
|
12
|
+
export * from './inline-response503';
|
|
11
13
|
export * from './invoice-class';
|
|
12
14
|
export * from './invoice-item-class';
|
|
13
15
|
export * from './invoice-status-class';
|
package/dist/models/index.js
CHANGED
|
@@ -24,6 +24,8 @@ __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
26
|
__exportStar(require("./get-invoice-response-class"), exports);
|
|
27
|
+
__exportStar(require("./inline-response200"), exports);
|
|
28
|
+
__exportStar(require("./inline-response503"), exports);
|
|
27
29
|
__exportStar(require("./invoice-class"), exports);
|
|
28
30
|
__exportStar(require("./invoice-item-class"), exports);
|
|
29
31
|
__exportStar(require("./invoice-status-class"), exports);
|
|
@@ -0,0 +1,54 @@
|
|
|
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
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface InlineResponse200
|
|
16
|
+
*/
|
|
17
|
+
export interface InlineResponse200 {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof InlineResponse200
|
|
22
|
+
*/
|
|
23
|
+
'status'?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {{ [key: string]: { [key: string]: string; }; }}
|
|
27
|
+
* @memberof InlineResponse200
|
|
28
|
+
*/
|
|
29
|
+
'info'?: {
|
|
30
|
+
[key: string]: {
|
|
31
|
+
[key: string]: string;
|
|
32
|
+
};
|
|
33
|
+
} | null;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {{ [key: string]: { [key: string]: string; }; }}
|
|
37
|
+
* @memberof InlineResponse200
|
|
38
|
+
*/
|
|
39
|
+
'error'?: {
|
|
40
|
+
[key: string]: {
|
|
41
|
+
[key: string]: string;
|
|
42
|
+
};
|
|
43
|
+
} | null;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {{ [key: string]: { [key: string]: string; }; }}
|
|
47
|
+
* @memberof InlineResponse200
|
|
48
|
+
*/
|
|
49
|
+
'details'?: {
|
|
50
|
+
[key: string]: {
|
|
51
|
+
[key: string]: string;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -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 });
|
|
@@ -0,0 +1,54 @@
|
|
|
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
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface InlineResponse503
|
|
16
|
+
*/
|
|
17
|
+
export interface InlineResponse503 {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof InlineResponse503
|
|
22
|
+
*/
|
|
23
|
+
'status'?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {{ [key: string]: { [key: string]: string; }; }}
|
|
27
|
+
* @memberof InlineResponse503
|
|
28
|
+
*/
|
|
29
|
+
'info'?: {
|
|
30
|
+
[key: string]: {
|
|
31
|
+
[key: string]: string;
|
|
32
|
+
};
|
|
33
|
+
} | null;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {{ [key: string]: { [key: string]: string; }; }}
|
|
37
|
+
* @memberof InlineResponse503
|
|
38
|
+
*/
|
|
39
|
+
'error'?: {
|
|
40
|
+
[key: string]: {
|
|
41
|
+
[key: string]: string;
|
|
42
|
+
};
|
|
43
|
+
} | null;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {{ [key: string]: { [key: string]: string; }; }}
|
|
47
|
+
* @memberof InlineResponse503
|
|
48
|
+
*/
|
|
49
|
+
'details'?: {
|
|
50
|
+
[key: string]: {
|
|
51
|
+
[key: string]: string;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -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 });
|
package/models/index.ts
CHANGED
|
@@ -8,6 +8,8 @@ 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
10
|
export * from './get-invoice-response-class';
|
|
11
|
+
export * from './inline-response200';
|
|
12
|
+
export * from './inline-response503';
|
|
11
13
|
export * from './invoice-class';
|
|
12
14
|
export * from './invoice-item-class';
|
|
13
15
|
export * from './invoice-status-class';
|
|
@@ -0,0 +1,48 @@
|
|
|
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
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface InlineResponse200
|
|
21
|
+
*/
|
|
22
|
+
export interface InlineResponse200 {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof InlineResponse200
|
|
27
|
+
*/
|
|
28
|
+
'status'?: string;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {{ [key: string]: { [key: string]: string; }; }}
|
|
32
|
+
* @memberof InlineResponse200
|
|
33
|
+
*/
|
|
34
|
+
'info'?: { [key: string]: { [key: string]: string; }; } | null;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {{ [key: string]: { [key: string]: string; }; }}
|
|
38
|
+
* @memberof InlineResponse200
|
|
39
|
+
*/
|
|
40
|
+
'error'?: { [key: string]: { [key: string]: string; }; } | null;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {{ [key: string]: { [key: string]: string; }; }}
|
|
44
|
+
* @memberof InlineResponse200
|
|
45
|
+
*/
|
|
46
|
+
'details'?: { [key: string]: { [key: string]: string; }; };
|
|
47
|
+
}
|
|
48
|
+
|
|
@@ -0,0 +1,48 @@
|
|
|
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
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface InlineResponse503
|
|
21
|
+
*/
|
|
22
|
+
export interface InlineResponse503 {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof InlineResponse503
|
|
27
|
+
*/
|
|
28
|
+
'status'?: string;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {{ [key: string]: { [key: string]: string; }; }}
|
|
32
|
+
* @memberof InlineResponse503
|
|
33
|
+
*/
|
|
34
|
+
'info'?: { [key: string]: { [key: string]: string; }; } | null;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {{ [key: string]: { [key: string]: string; }; }}
|
|
38
|
+
* @memberof InlineResponse503
|
|
39
|
+
*/
|
|
40
|
+
'error'?: { [key: string]: { [key: string]: string; }; } | null;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {{ [key: string]: { [key: string]: string; }; }}
|
|
44
|
+
* @memberof InlineResponse503
|
|
45
|
+
*/
|
|
46
|
+
'details'?: { [key: string]: { [key: string]: string; }; };
|
|
47
|
+
}
|
|
48
|
+
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@emilgroup/billing-sdk",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.7.0",
|
|
4
4
|
"description": "OpenAPI client for @emilgroup/billing-sdk",
|
|
5
5
|
"author": "OpenAPI-Generator Contributors",
|
|
6
6
|
"keywords": [
|
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
"axios": "^0.27.2"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
|
+
|
|
24
25
|
"typescript": "^4.0"
|
|
25
26
|
}
|
|
26
27
|
}
|