@emilgroup/billing-sdk 1.29.0 → 1.30.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.
@@ -31,6 +31,7 @@ models/create-invoice-response-class.ts
31
31
  models/create-invoice-status-request-dto.ts
32
32
  models/create-item-request-dto.ts
33
33
  models/create-policy-billing-request-dto.ts
34
+ models/create-policy-billing-response-class.ts
34
35
  models/create-termination-invoice-request-dto.ts
35
36
  models/get-invoice-response-class.ts
36
37
  models/index.ts
@@ -42,8 +43,10 @@ models/invoice-payment-class.ts
42
43
  models/invoice-payments-class.ts
43
44
  models/invoice-status-class.ts
44
45
  models/list-invoices-response-class.ts
46
+ models/list-policies-billings-response-class.ts
45
47
  models/list-request-dto.ts
46
48
  models/omit-type-class.ts
49
+ models/policy-billing-class.ts
47
50
  models/policy-dto.ts
48
51
  models/policy-object-dto.ts
49
52
  models/policy-premium-dto.ts
@@ -53,5 +56,6 @@ models/premium-formula-dto.ts
53
56
  models/revert-invoice-request-dto.ts
54
57
  models/timeslice-dto.ts
55
58
  models/update-policy-billing-request-dto.ts
59
+ models/update-policy-billing-response-class.ts
56
60
  package.json
57
61
  tsconfig.json
package/README.md CHANGED
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
17
17
  Navigate to the folder of your consuming project and run one of the following commands:
18
18
 
19
19
  ```
20
- npm install @emilgroup/billing-sdk@1.29.0 --save
20
+ npm install @emilgroup/billing-sdk@1.30.0 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/billing-sdk@1.29.0
24
+ yarn add @emilgroup/billing-sdk@1.30.0
25
25
  ```
26
26
 
27
27
  And then you can import `InvoicesApi`.
@@ -28,6 +28,8 @@ import { CreateInvoiceResponseClass } from '../models';
28
28
  import { GetInvoiceResponseClass } from '../models';
29
29
  // @ts-ignore
30
30
  import { ListInvoicesResponseClass } from '../models';
31
+ // @ts-ignore
32
+ import { ListPoliciesBillingsResponseClass } from '../models';
31
33
  /**
32
34
  * InvoicesApi - axios parameter creator
33
35
  * @export
@@ -223,7 +225,7 @@ export const InvoicesApiAxiosParamCreator = function (configuration?: Configurat
223
225
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: policyCode, isInvoiced, nextBillingDate, status, billingIntervalFrom, billingIntervalTo</i>
224
226
  * @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
225
227
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: createdAt</i>
226
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: <i>
228
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
227
229
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: policyCode, isInvoiced, nextBillingDate, status, billingIntervalFrom, billingIntervalTo</i>
228
230
  * @param {*} [options] Override http request option.
229
231
  * @deprecated
@@ -354,13 +356,13 @@ export const InvoicesApiFp = function(configuration?: Configuration) {
354
356
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: policyCode, isInvoiced, nextBillingDate, status, billingIntervalFrom, billingIntervalTo</i>
355
357
  * @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
356
358
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: createdAt</i>
357
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: <i>
359
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
358
360
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: policyCode, isInvoiced, nextBillingDate, status, billingIntervalFrom, billingIntervalTo</i>
359
361
  * @param {*} [options] Override http request option.
360
362
  * @deprecated
361
363
  * @throws {RequiredError}
362
364
  */
363
- async listPoliciesBillingDates(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>> {
365
+ async listPoliciesBillingDates(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPoliciesBillingsResponseClass>> {
364
366
  const localVarAxiosArgs = await localVarAxiosParamCreator.listPoliciesBillingDates(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
365
367
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
366
368
  },
@@ -424,13 +426,13 @@ export const InvoicesApiFactory = function (configuration?: Configuration, baseP
424
426
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: policyCode, isInvoiced, nextBillingDate, status, billingIntervalFrom, billingIntervalTo&lt;/i&gt;
425
427
  * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
426
428
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: createdAt&lt;/i&gt;
427
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: &lt;i&gt;
429
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
428
430
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: policyCode, isInvoiced, nextBillingDate, status, billingIntervalFrom, billingIntervalTo&lt;/i&gt;
429
431
  * @param {*} [options] Override http request option.
430
432
  * @deprecated
431
433
  * @throws {RequiredError}
432
434
  */
433
- listPoliciesBillingDates(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<object> {
435
+ listPoliciesBillingDates(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListPoliciesBillingsResponseClass> {
434
436
  return localVarFp.listPoliciesBillingDates(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
435
437
  },
436
438
  };
@@ -604,7 +606,7 @@ export interface InvoicesApiListPoliciesBillingDatesRequest {
604
606
  readonly order?: string
605
607
 
606
608
  /**
607
- * Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: &lt;i&gt;
609
+ * Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
608
610
  * @type {string}
609
611
  * @memberof InvoicesApiListPoliciesBillingDates
610
612
  */
@@ -23,7 +23,11 @@ import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } fr
23
23
  // @ts-ignore
24
24
  import { CreatePolicyBillingRequestDto } from '../models';
25
25
  // @ts-ignore
26
+ import { CreatePolicyBillingResponseClass } from '../models';
27
+ // @ts-ignore
26
28
  import { UpdatePolicyBillingRequestDto } from '../models';
29
+ // @ts-ignore
30
+ import { UpdatePolicyBillingResponseClass } from '../models';
27
31
  /**
28
32
  * PolicyBillingApi - axios parameter creator
29
33
  * @export
@@ -86,7 +90,7 @@ export const PolicyBillingApiAxiosParamCreator = function (configuration?: Confi
86
90
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: policyCode, isInvoiced, nextBillingDate, status, billingIntervalFrom, billingIntervalTo&lt;/i&gt;
87
91
  * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
88
92
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: createdAt&lt;/i&gt;
89
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: &lt;i&gt;
93
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
90
94
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: policyCode, isInvoiced, nextBillingDate, status, billingIntervalFrom, billingIntervalTo&lt;/i&gt;
91
95
  * @param {*} [options] Override http request option.
92
96
  * @throws {RequiredError}
@@ -222,7 +226,7 @@ export const PolicyBillingApiFp = function(configuration?: Configuration) {
222
226
  * @param {*} [options] Override http request option.
223
227
  * @throws {RequiredError}
224
228
  */
225
- async createPolicyBilling(createPolicyBillingRequestDto: CreatePolicyBillingRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>> {
229
+ async createPolicyBilling(createPolicyBillingRequestDto: CreatePolicyBillingRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePolicyBillingResponseClass>> {
226
230
  const localVarAxiosArgs = await localVarAxiosParamCreator.createPolicyBilling(createPolicyBillingRequestDto, authorization, options);
227
231
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
228
232
  },
@@ -235,7 +239,7 @@ export const PolicyBillingApiFp = function(configuration?: Configuration) {
235
239
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: policyCode, isInvoiced, nextBillingDate, status, billingIntervalFrom, billingIntervalTo&lt;/i&gt;
236
240
  * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
237
241
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: createdAt&lt;/i&gt;
238
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: &lt;i&gt;
242
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
239
243
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: policyCode, isInvoiced, nextBillingDate, status, billingIntervalFrom, billingIntervalTo&lt;/i&gt;
240
244
  * @param {*} [options] Override http request option.
241
245
  * @throws {RequiredError}
@@ -253,7 +257,7 @@ export const PolicyBillingApiFp = function(configuration?: Configuration) {
253
257
  * @param {*} [options] Override http request option.
254
258
  * @throws {RequiredError}
255
259
  */
256
- async updatePolicyBilling(code: string, updatePolicyBillingRequestDto: UpdatePolicyBillingRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>> {
260
+ async updatePolicyBilling(code: string, updatePolicyBillingRequestDto: UpdatePolicyBillingRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdatePolicyBillingResponseClass>> {
257
261
  const localVarAxiosArgs = await localVarAxiosParamCreator.updatePolicyBilling(code, updatePolicyBillingRequestDto, authorization, options);
258
262
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
259
263
  },
@@ -275,7 +279,7 @@ export const PolicyBillingApiFactory = function (configuration?: Configuration,
275
279
  * @param {*} [options] Override http request option.
276
280
  * @throws {RequiredError}
277
281
  */
278
- createPolicyBilling(createPolicyBillingRequestDto: CreatePolicyBillingRequestDto, authorization?: string, options?: any): AxiosPromise<object> {
282
+ createPolicyBilling(createPolicyBillingRequestDto: CreatePolicyBillingRequestDto, authorization?: string, options?: any): AxiosPromise<CreatePolicyBillingResponseClass> {
279
283
  return localVarFp.createPolicyBilling(createPolicyBillingRequestDto, authorization, options).then((request) => request(axios, basePath));
280
284
  },
281
285
  /**
@@ -287,7 +291,7 @@ export const PolicyBillingApiFactory = function (configuration?: Configuration,
287
291
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: policyCode, isInvoiced, nextBillingDate, status, billingIntervalFrom, billingIntervalTo&lt;/i&gt;
288
292
  * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
289
293
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: createdAt&lt;/i&gt;
290
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: &lt;i&gt;
294
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
291
295
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: policyCode, isInvoiced, nextBillingDate, status, billingIntervalFrom, billingIntervalTo&lt;/i&gt;
292
296
  * @param {*} [options] Override http request option.
293
297
  * @throws {RequiredError}
@@ -304,7 +308,7 @@ export const PolicyBillingApiFactory = function (configuration?: Configuration,
304
308
  * @param {*} [options] Override http request option.
305
309
  * @throws {RequiredError}
306
310
  */
307
- updatePolicyBilling(code: string, updatePolicyBillingRequestDto: UpdatePolicyBillingRequestDto, authorization?: string, options?: any): AxiosPromise<object> {
311
+ updatePolicyBilling(code: string, updatePolicyBillingRequestDto: UpdatePolicyBillingRequestDto, authorization?: string, options?: any): AxiosPromise<UpdatePolicyBillingResponseClass> {
308
312
  return localVarFp.updatePolicyBilling(code, updatePolicyBillingRequestDto, authorization, options).then((request) => request(axios, basePath));
309
313
  },
310
314
  };
@@ -380,7 +384,7 @@ export interface PolicyBillingApiListPoliciesBillingsRequest {
380
384
  readonly order?: string
381
385
 
382
386
  /**
383
- * Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: &lt;i&gt;
387
+ * Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
384
388
  * @type {string}
385
389
  * @memberof PolicyBillingApiListPoliciesBillings
386
390
  */
@@ -16,6 +16,7 @@ import { CreateInvoiceRequestDto } from '../models';
16
16
  import { CreateInvoiceResponseClass } from '../models';
17
17
  import { GetInvoiceResponseClass } from '../models';
18
18
  import { ListInvoicesResponseClass } from '../models';
19
+ import { ListPoliciesBillingsResponseClass } from '../models';
19
20
  /**
20
21
  * InvoicesApi - axios parameter creator
21
22
  * @export
@@ -65,7 +66,7 @@ export declare const InvoicesApiAxiosParamCreator: (configuration?: Configuratio
65
66
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: policyCode, isInvoiced, nextBillingDate, status, billingIntervalFrom, billingIntervalTo&lt;/i&gt;
66
67
  * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
67
68
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: createdAt&lt;/i&gt;
68
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: &lt;i&gt;
69
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
69
70
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: policyCode, isInvoiced, nextBillingDate, status, billingIntervalFrom, billingIntervalTo&lt;/i&gt;
70
71
  * @param {*} [options] Override http request option.
71
72
  * @deprecated
@@ -122,13 +123,13 @@ export declare const InvoicesApiFp: (configuration?: Configuration) => {
122
123
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: policyCode, isInvoiced, nextBillingDate, status, billingIntervalFrom, billingIntervalTo&lt;/i&gt;
123
124
  * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
124
125
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: createdAt&lt;/i&gt;
125
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: &lt;i&gt;
126
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
126
127
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: policyCode, isInvoiced, nextBillingDate, status, billingIntervalFrom, billingIntervalTo&lt;/i&gt;
127
128
  * @param {*} [options] Override http request option.
128
129
  * @deprecated
129
130
  * @throws {RequiredError}
130
131
  */
131
- listPoliciesBillingDates(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
132
+ listPoliciesBillingDates(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPoliciesBillingsResponseClass>>;
132
133
  };
133
134
  /**
134
135
  * InvoicesApi - factory interface
@@ -179,13 +180,13 @@ export declare const InvoicesApiFactory: (configuration?: Configuration, basePat
179
180
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: policyCode, isInvoiced, nextBillingDate, status, billingIntervalFrom, billingIntervalTo&lt;/i&gt;
180
181
  * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
181
182
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: createdAt&lt;/i&gt;
182
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: &lt;i&gt;
183
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
183
184
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: policyCode, isInvoiced, nextBillingDate, status, billingIntervalFrom, billingIntervalTo&lt;/i&gt;
184
185
  * @param {*} [options] Override http request option.
185
186
  * @deprecated
186
187
  * @throws {RequiredError}
187
188
  */
188
- listPoliciesBillingDates(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<object>;
189
+ listPoliciesBillingDates(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListPoliciesBillingsResponseClass>;
189
190
  };
190
191
  /**
191
192
  * Request parameters for createInvoice operation in InvoicesApi.
@@ -335,7 +336,7 @@ export interface InvoicesApiListPoliciesBillingDatesRequest {
335
336
  */
336
337
  readonly order?: string;
337
338
  /**
338
- * Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: &lt;i&gt;
339
+ * Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
339
340
  * @type {string}
340
341
  * @memberof InvoicesApiListPoliciesBillingDates
341
342
  */
@@ -390,5 +391,5 @@ export declare class InvoicesApi extends BaseAPI {
390
391
  * @throws {RequiredError}
391
392
  * @memberof InvoicesApi
392
393
  */
393
- listPoliciesBillingDates(requestParameters?: InvoicesApiListPoliciesBillingDatesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
394
+ listPoliciesBillingDates(requestParameters?: InvoicesApiListPoliciesBillingDatesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPoliciesBillingsResponseClass, any>>;
394
395
  }
@@ -280,7 +280,7 @@ var InvoicesApiAxiosParamCreator = function (configuration) {
280
280
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: policyCode, isInvoiced, nextBillingDate, status, billingIntervalFrom, billingIntervalTo&lt;/i&gt;
281
281
  * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
282
282
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: createdAt&lt;/i&gt;
283
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: &lt;i&gt;
283
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
284
284
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: policyCode, isInvoiced, nextBillingDate, status, billingIntervalFrom, billingIntervalTo&lt;/i&gt;
285
285
  * @param {*} [options] Override http request option.
286
286
  * @deprecated
@@ -434,7 +434,7 @@ var InvoicesApiFp = function (configuration) {
434
434
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: policyCode, isInvoiced, nextBillingDate, status, billingIntervalFrom, billingIntervalTo&lt;/i&gt;
435
435
  * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
436
436
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: createdAt&lt;/i&gt;
437
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: &lt;i&gt;
437
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
438
438
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: policyCode, isInvoiced, nextBillingDate, status, billingIntervalFrom, billingIntervalTo&lt;/i&gt;
439
439
  * @param {*} [options] Override http request option.
440
440
  * @deprecated
@@ -513,7 +513,7 @@ var InvoicesApiFactory = function (configuration, basePath, axios) {
513
513
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: policyCode, isInvoiced, nextBillingDate, status, billingIntervalFrom, billingIntervalTo&lt;/i&gt;
514
514
  * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
515
515
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: createdAt&lt;/i&gt;
516
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: &lt;i&gt;
516
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
517
517
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: policyCode, isInvoiced, nextBillingDate, status, billingIntervalFrom, billingIntervalTo&lt;/i&gt;
518
518
  * @param {*} [options] Override http request option.
519
519
  * @deprecated
@@ -13,7 +13,9 @@ import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
13
  import { Configuration } from '../configuration';
14
14
  import { RequestArgs, BaseAPI } from '../base';
15
15
  import { CreatePolicyBillingRequestDto } from '../models';
16
+ import { CreatePolicyBillingResponseClass } from '../models';
16
17
  import { UpdatePolicyBillingRequestDto } from '../models';
18
+ import { UpdatePolicyBillingResponseClass } from '../models';
17
19
  /**
18
20
  * PolicyBillingApi - axios parameter creator
19
21
  * @export
@@ -37,7 +39,7 @@ export declare const PolicyBillingApiAxiosParamCreator: (configuration?: Configu
37
39
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: policyCode, isInvoiced, nextBillingDate, status, billingIntervalFrom, billingIntervalTo&lt;/i&gt;
38
40
  * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
39
41
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: createdAt&lt;/i&gt;
40
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: &lt;i&gt;
42
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
41
43
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: policyCode, isInvoiced, nextBillingDate, status, billingIntervalFrom, billingIntervalTo&lt;/i&gt;
42
44
  * @param {*} [options] Override http request option.
43
45
  * @throws {RequiredError}
@@ -67,7 +69,7 @@ export declare const PolicyBillingApiFp: (configuration?: Configuration) => {
67
69
  * @param {*} [options] Override http request option.
68
70
  * @throws {RequiredError}
69
71
  */
70
- createPolicyBilling(createPolicyBillingRequestDto: CreatePolicyBillingRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
72
+ createPolicyBilling(createPolicyBillingRequestDto: CreatePolicyBillingRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePolicyBillingResponseClass>>;
71
73
  /**
72
74
  * Returns a list of policies billings you have previously created. The policies billings are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
73
75
  * @summary List policies billings
@@ -77,7 +79,7 @@ export declare const PolicyBillingApiFp: (configuration?: Configuration) => {
77
79
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: policyCode, isInvoiced, nextBillingDate, status, billingIntervalFrom, billingIntervalTo&lt;/i&gt;
78
80
  * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
79
81
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: createdAt&lt;/i&gt;
80
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: &lt;i&gt;
82
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
81
83
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: policyCode, isInvoiced, nextBillingDate, status, billingIntervalFrom, billingIntervalTo&lt;/i&gt;
82
84
  * @param {*} [options] Override http request option.
83
85
  * @throws {RequiredError}
@@ -92,7 +94,7 @@ export declare const PolicyBillingApiFp: (configuration?: Configuration) => {
92
94
  * @param {*} [options] Override http request option.
93
95
  * @throws {RequiredError}
94
96
  */
95
- updatePolicyBilling(code: string, updatePolicyBillingRequestDto: UpdatePolicyBillingRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
97
+ updatePolicyBilling(code: string, updatePolicyBillingRequestDto: UpdatePolicyBillingRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdatePolicyBillingResponseClass>>;
96
98
  };
97
99
  /**
98
100
  * PolicyBillingApi - factory interface
@@ -107,7 +109,7 @@ export declare const PolicyBillingApiFactory: (configuration?: Configuration, ba
107
109
  * @param {*} [options] Override http request option.
108
110
  * @throws {RequiredError}
109
111
  */
110
- createPolicyBilling(createPolicyBillingRequestDto: CreatePolicyBillingRequestDto, authorization?: string, options?: any): AxiosPromise<object>;
112
+ createPolicyBilling(createPolicyBillingRequestDto: CreatePolicyBillingRequestDto, authorization?: string, options?: any): AxiosPromise<CreatePolicyBillingResponseClass>;
111
113
  /**
112
114
  * Returns a list of policies billings you have previously created. The policies billings are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
113
115
  * @summary List policies billings
@@ -117,7 +119,7 @@ export declare const PolicyBillingApiFactory: (configuration?: Configuration, ba
117
119
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: policyCode, isInvoiced, nextBillingDate, status, billingIntervalFrom, billingIntervalTo&lt;/i&gt;
118
120
  * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
119
121
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: createdAt&lt;/i&gt;
120
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: &lt;i&gt;
122
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
121
123
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: policyCode, isInvoiced, nextBillingDate, status, billingIntervalFrom, billingIntervalTo&lt;/i&gt;
122
124
  * @param {*} [options] Override http request option.
123
125
  * @throws {RequiredError}
@@ -132,7 +134,7 @@ export declare const PolicyBillingApiFactory: (configuration?: Configuration, ba
132
134
  * @param {*} [options] Override http request option.
133
135
  * @throws {RequiredError}
134
136
  */
135
- updatePolicyBilling(code: string, updatePolicyBillingRequestDto: UpdatePolicyBillingRequestDto, authorization?: string, options?: any): AxiosPromise<object>;
137
+ updatePolicyBilling(code: string, updatePolicyBillingRequestDto: UpdatePolicyBillingRequestDto, authorization?: string, options?: any): AxiosPromise<UpdatePolicyBillingResponseClass>;
136
138
  };
137
139
  /**
138
140
  * Request parameters for createPolicyBilling operation in PolicyBillingApi.
@@ -196,7 +198,7 @@ export interface PolicyBillingApiListPoliciesBillingsRequest {
196
198
  */
197
199
  readonly order?: string;
198
200
  /**
199
- * Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: &lt;i&gt;
201
+ * Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
200
202
  * @type {string}
201
203
  * @memberof PolicyBillingApiListPoliciesBillings
202
204
  */
@@ -248,7 +250,7 @@ export declare class PolicyBillingApi extends BaseAPI {
248
250
  * @throws {RequiredError}
249
251
  * @memberof PolicyBillingApi
250
252
  */
251
- createPolicyBilling(requestParameters: PolicyBillingApiCreatePolicyBillingRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
253
+ createPolicyBilling(requestParameters: PolicyBillingApiCreatePolicyBillingRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePolicyBillingResponseClass, any>>;
252
254
  /**
253
255
  * Returns a list of policies billings you have previously created. The policies billings are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
254
256
  * @summary List policies billings
@@ -266,5 +268,5 @@ export declare class PolicyBillingApi extends BaseAPI {
266
268
  * @throws {RequiredError}
267
269
  * @memberof PolicyBillingApi
268
270
  */
269
- updatePolicyBilling(requestParameters: PolicyBillingApiUpdatePolicyBillingRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
271
+ updatePolicyBilling(requestParameters: PolicyBillingApiUpdatePolicyBillingRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdatePolicyBillingResponseClass, any>>;
270
272
  }
@@ -150,7 +150,7 @@ var PolicyBillingApiAxiosParamCreator = function (configuration) {
150
150
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: policyCode, isInvoiced, nextBillingDate, status, billingIntervalFrom, billingIntervalTo&lt;/i&gt;
151
151
  * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
152
152
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: createdAt&lt;/i&gt;
153
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: &lt;i&gt;
153
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
154
154
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: policyCode, isInvoiced, nextBillingDate, status, billingIntervalFrom, billingIntervalTo&lt;/i&gt;
155
155
  * @param {*} [options] Override http request option.
156
156
  * @throws {RequiredError}
@@ -306,7 +306,7 @@ var PolicyBillingApiFp = function (configuration) {
306
306
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: policyCode, isInvoiced, nextBillingDate, status, billingIntervalFrom, billingIntervalTo&lt;/i&gt;
307
307
  * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
308
308
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: createdAt&lt;/i&gt;
309
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: &lt;i&gt;
309
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
310
310
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: policyCode, isInvoiced, nextBillingDate, status, billingIntervalFrom, billingIntervalTo&lt;/i&gt;
311
311
  * @param {*} [options] Override http request option.
312
312
  * @throws {RequiredError}
@@ -376,7 +376,7 @@ var PolicyBillingApiFactory = function (configuration, basePath, axios) {
376
376
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: policyCode, isInvoiced, nextBillingDate, status, billingIntervalFrom, billingIntervalTo&lt;/i&gt;
377
377
  * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
378
378
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: createdAt&lt;/i&gt;
379
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: &lt;i&gt;
379
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
380
380
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: policyCode, isInvoiced, nextBillingDate, status, billingIntervalFrom, billingIntervalTo&lt;/i&gt;
381
381
  * @param {*} [options] Override http request option.
382
382
  * @throws {RequiredError}
@@ -0,0 +1,25 @@
1
+ /**
2
+ * EMIL BillingService
3
+ * The EMIL BillingService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { PolicyBillingClass } from './policy-billing-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface CreatePolicyBillingResponseClass
17
+ */
18
+ export interface CreatePolicyBillingResponseClass {
19
+ /**
20
+ * Policy billing response.
21
+ * @type {PolicyBillingClass}
22
+ * @memberof CreatePolicyBillingResponseClass
23
+ */
24
+ 'policyBilling': PolicyBillingClass;
25
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL BillingService
6
+ * The EMIL BillingService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -13,6 +13,7 @@ export * from './create-invoice-response-class';
13
13
  export * from './create-invoice-status-request-dto';
14
14
  export * from './create-item-request-dto';
15
15
  export * from './create-policy-billing-request-dto';
16
+ export * from './create-policy-billing-response-class';
16
17
  export * from './create-termination-invoice-request-dto';
17
18
  export * from './get-invoice-response-class';
18
19
  export * from './inline-response200';
@@ -23,8 +24,10 @@ export * from './invoice-payment-class';
23
24
  export * from './invoice-payments-class';
24
25
  export * from './invoice-status-class';
25
26
  export * from './list-invoices-response-class';
27
+ export * from './list-policies-billings-response-class';
26
28
  export * from './list-request-dto';
27
29
  export * from './omit-type-class';
30
+ export * from './policy-billing-class';
28
31
  export * from './policy-dto';
29
32
  export * from './policy-object-dto';
30
33
  export * from './policy-premium-dto';
@@ -34,3 +37,4 @@ export * from './premium-formula-dto';
34
37
  export * from './revert-invoice-request-dto';
35
38
  export * from './timeslice-dto';
36
39
  export * from './update-policy-billing-request-dto';
40
+ export * from './update-policy-billing-response-class';
@@ -29,6 +29,7 @@ __exportStar(require("./create-invoice-response-class"), exports);
29
29
  __exportStar(require("./create-invoice-status-request-dto"), exports);
30
30
  __exportStar(require("./create-item-request-dto"), exports);
31
31
  __exportStar(require("./create-policy-billing-request-dto"), exports);
32
+ __exportStar(require("./create-policy-billing-response-class"), exports);
32
33
  __exportStar(require("./create-termination-invoice-request-dto"), exports);
33
34
  __exportStar(require("./get-invoice-response-class"), exports);
34
35
  __exportStar(require("./inline-response200"), exports);
@@ -39,8 +40,10 @@ __exportStar(require("./invoice-payment-class"), exports);
39
40
  __exportStar(require("./invoice-payments-class"), exports);
40
41
  __exportStar(require("./invoice-status-class"), exports);
41
42
  __exportStar(require("./list-invoices-response-class"), exports);
43
+ __exportStar(require("./list-policies-billings-response-class"), exports);
42
44
  __exportStar(require("./list-request-dto"), exports);
43
45
  __exportStar(require("./omit-type-class"), exports);
46
+ __exportStar(require("./policy-billing-class"), exports);
44
47
  __exportStar(require("./policy-dto"), exports);
45
48
  __exportStar(require("./policy-object-dto"), exports);
46
49
  __exportStar(require("./policy-premium-dto"), exports);
@@ -50,3 +53,4 @@ __exportStar(require("./premium-formula-dto"), exports);
50
53
  __exportStar(require("./revert-invoice-request-dto"), exports);
51
54
  __exportStar(require("./timeslice-dto"), exports);
52
55
  __exportStar(require("./update-policy-billing-request-dto"), exports);
56
+ __exportStar(require("./update-policy-billing-response-class"), exports);
@@ -0,0 +1,25 @@
1
+ /**
2
+ * EMIL BillingService
3
+ * The EMIL BillingService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { PolicyBillingClass } from './policy-billing-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ListPoliciesBillingsResponseClass
17
+ */
18
+ export interface ListPoliciesBillingsResponseClass {
19
+ /**
20
+ * Policies billings list items.
21
+ * @type {Array<PolicyBillingClass>}
22
+ * @memberof ListPoliciesBillingsResponseClass
23
+ */
24
+ 'items': Array<PolicyBillingClass>;
25
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL BillingService
6
+ * The EMIL BillingService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,86 @@
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 PolicyBillingClass
16
+ */
17
+ export interface PolicyBillingClass {
18
+ /**
19
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
20
+ * @type {number}
21
+ * @memberof PolicyBillingClass
22
+ */
23
+ 'id': number;
24
+ /**
25
+ * Unique identifier for the object.
26
+ * @type {string}
27
+ * @memberof PolicyBillingClass
28
+ */
29
+ 'code': string;
30
+ /**
31
+ * Unique identifier of the policy that this object belongs to.
32
+ * @type {string}
33
+ * @memberof PolicyBillingClass
34
+ */
35
+ 'policyCode': string;
36
+ /**
37
+ * The next billing date this policy will be invoiced.
38
+ * @type {string}
39
+ * @memberof PolicyBillingClass
40
+ */
41
+ 'nextBillingDate': string;
42
+ /**
43
+ * This field will be set to true once an invoice has been created on this specific billing date. It is there to avoid a policy being invoiced multiple times in case of retry.
44
+ * @type {boolean}
45
+ * @memberof PolicyBillingClass
46
+ */
47
+ 'isInvoiced': boolean;
48
+ /**
49
+ * Policy billing status.
50
+ * @type {string}
51
+ * @memberof PolicyBillingClass
52
+ */
53
+ 'status': PolicyBillingClassStatusEnum;
54
+ /**
55
+ * Identifier of the user who created the record.
56
+ * @type {string}
57
+ * @memberof PolicyBillingClass
58
+ */
59
+ 'createdBy': string;
60
+ /**
61
+ * Identifier of the user who last updated the record.
62
+ * @type {string}
63
+ * @memberof PolicyBillingClass
64
+ */
65
+ 'updatedBy': string;
66
+ /**
67
+ * Time at which the object was created.
68
+ * @type {string}
69
+ * @memberof PolicyBillingClass
70
+ */
71
+ 'createdAt': string;
72
+ /**
73
+ * Time at which the object was updated.
74
+ * @type {string}
75
+ * @memberof PolicyBillingClass
76
+ */
77
+ 'updatedAt': string;
78
+ }
79
+ export declare const PolicyBillingClassStatusEnum: {
80
+ readonly Invoiced: "invoiced";
81
+ readonly Pending: "pending";
82
+ readonly Terminated: "terminated";
83
+ readonly Withdrawn: "withdrawn";
84
+ readonly Paused: "paused";
85
+ };
86
+ export type PolicyBillingClassStatusEnum = typeof PolicyBillingClassStatusEnum[keyof typeof PolicyBillingClassStatusEnum];
@@ -0,0 +1,23 @@
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 });
16
+ exports.PolicyBillingClassStatusEnum = void 0;
17
+ exports.PolicyBillingClassStatusEnum = {
18
+ Invoiced: 'invoiced',
19
+ Pending: 'pending',
20
+ Terminated: 'terminated',
21
+ Withdrawn: 'withdrawn',
22
+ Paused: 'paused'
23
+ };
@@ -0,0 +1,25 @@
1
+ /**
2
+ * EMIL BillingService
3
+ * The EMIL BillingService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { PolicyBillingClass } from './policy-billing-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface UpdatePolicyBillingResponseClass
17
+ */
18
+ export interface UpdatePolicyBillingResponseClass {
19
+ /**
20
+ * Policy billing response.
21
+ * @type {PolicyBillingClass}
22
+ * @memberof UpdatePolicyBillingResponseClass
23
+ */
24
+ 'policyBilling': PolicyBillingClass;
25
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL BillingService
6
+ * The EMIL BillingService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,31 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL BillingService
5
+ * The EMIL BillingService API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import { PolicyBillingClass } from './policy-billing-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface CreatePolicyBillingResponseClass
22
+ */
23
+ export interface CreatePolicyBillingResponseClass {
24
+ /**
25
+ * Policy billing response.
26
+ * @type {PolicyBillingClass}
27
+ * @memberof CreatePolicyBillingResponseClass
28
+ */
29
+ 'policyBilling': PolicyBillingClass;
30
+ }
31
+
package/models/index.ts CHANGED
@@ -13,6 +13,7 @@ export * from './create-invoice-response-class';
13
13
  export * from './create-invoice-status-request-dto';
14
14
  export * from './create-item-request-dto';
15
15
  export * from './create-policy-billing-request-dto';
16
+ export * from './create-policy-billing-response-class';
16
17
  export * from './create-termination-invoice-request-dto';
17
18
  export * from './get-invoice-response-class';
18
19
  export * from './inline-response200';
@@ -23,8 +24,10 @@ export * from './invoice-payment-class';
23
24
  export * from './invoice-payments-class';
24
25
  export * from './invoice-status-class';
25
26
  export * from './list-invoices-response-class';
27
+ export * from './list-policies-billings-response-class';
26
28
  export * from './list-request-dto';
27
29
  export * from './omit-type-class';
30
+ export * from './policy-billing-class';
28
31
  export * from './policy-dto';
29
32
  export * from './policy-object-dto';
30
33
  export * from './policy-premium-dto';
@@ -34,3 +37,4 @@ export * from './premium-formula-dto';
34
37
  export * from './revert-invoice-request-dto';
35
38
  export * from './timeslice-dto';
36
39
  export * from './update-policy-billing-request-dto';
40
+ export * from './update-policy-billing-response-class';
@@ -0,0 +1,31 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL BillingService
5
+ * The EMIL BillingService API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import { PolicyBillingClass } from './policy-billing-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface ListPoliciesBillingsResponseClass
22
+ */
23
+ export interface ListPoliciesBillingsResponseClass {
24
+ /**
25
+ * Policies billings list items.
26
+ * @type {Array<PolicyBillingClass>}
27
+ * @memberof ListPoliciesBillingsResponseClass
28
+ */
29
+ 'items': Array<PolicyBillingClass>;
30
+ }
31
+
@@ -0,0 +1,95 @@
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 PolicyBillingClass
21
+ */
22
+ export interface PolicyBillingClass {
23
+ /**
24
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
25
+ * @type {number}
26
+ * @memberof PolicyBillingClass
27
+ */
28
+ 'id': number;
29
+ /**
30
+ * Unique identifier for the object.
31
+ * @type {string}
32
+ * @memberof PolicyBillingClass
33
+ */
34
+ 'code': string;
35
+ /**
36
+ * Unique identifier of the policy that this object belongs to.
37
+ * @type {string}
38
+ * @memberof PolicyBillingClass
39
+ */
40
+ 'policyCode': string;
41
+ /**
42
+ * The next billing date this policy will be invoiced.
43
+ * @type {string}
44
+ * @memberof PolicyBillingClass
45
+ */
46
+ 'nextBillingDate': string;
47
+ /**
48
+ * This field will be set to true once an invoice has been created on this specific billing date. It is there to avoid a policy being invoiced multiple times in case of retry.
49
+ * @type {boolean}
50
+ * @memberof PolicyBillingClass
51
+ */
52
+ 'isInvoiced': boolean;
53
+ /**
54
+ * Policy billing status.
55
+ * @type {string}
56
+ * @memberof PolicyBillingClass
57
+ */
58
+ 'status': PolicyBillingClassStatusEnum;
59
+ /**
60
+ * Identifier of the user who created the record.
61
+ * @type {string}
62
+ * @memberof PolicyBillingClass
63
+ */
64
+ 'createdBy': string;
65
+ /**
66
+ * Identifier of the user who last updated the record.
67
+ * @type {string}
68
+ * @memberof PolicyBillingClass
69
+ */
70
+ 'updatedBy': string;
71
+ /**
72
+ * Time at which the object was created.
73
+ * @type {string}
74
+ * @memberof PolicyBillingClass
75
+ */
76
+ 'createdAt': string;
77
+ /**
78
+ * Time at which the object was updated.
79
+ * @type {string}
80
+ * @memberof PolicyBillingClass
81
+ */
82
+ 'updatedAt': string;
83
+ }
84
+
85
+ export const PolicyBillingClassStatusEnum = {
86
+ Invoiced: 'invoiced',
87
+ Pending: 'pending',
88
+ Terminated: 'terminated',
89
+ Withdrawn: 'withdrawn',
90
+ Paused: 'paused'
91
+ } as const;
92
+
93
+ export type PolicyBillingClassStatusEnum = typeof PolicyBillingClassStatusEnum[keyof typeof PolicyBillingClassStatusEnum];
94
+
95
+
@@ -0,0 +1,31 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL BillingService
5
+ * The EMIL BillingService API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import { PolicyBillingClass } from './policy-billing-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface UpdatePolicyBillingResponseClass
22
+ */
23
+ export interface UpdatePolicyBillingResponseClass {
24
+ /**
25
+ * Policy billing response.
26
+ * @type {PolicyBillingClass}
27
+ * @memberof UpdatePolicyBillingResponseClass
28
+ */
29
+ 'policyBilling': PolicyBillingClass;
30
+ }
31
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/billing-sdk",
3
- "version": "1.29.0",
3
+ "version": "1.30.0",
4
4
  "description": "OpenAPI client for @emilgroup/billing-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [