@emilgroup/billing-v2-sdk-node 0.0.0-stage → 1.0.1-beta.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 +93 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +23 -0
- package/README.md +83 -2
- package/api/bill-runs-api.ts +472 -0
- package/api/bills-api.ts +149 -0
- package/api/invoices-api.ts +1534 -0
- package/api/jobs-api.ts +760 -0
- package/api/policy-billings-api.ts +595 -0
- package/api.ts +39 -0
- package/base.ts +396 -0
- package/common.ts +200 -0
- package/configuration.ts +118 -0
- package/dist/api/bill-runs-api.d.ts +266 -0
- package/dist/api/bill-runs-api.js +470 -0
- package/dist/api/bills-api.d.ts +87 -0
- package/dist/api/bills-api.js +211 -0
- package/dist/api/invoices-api.d.ts +847 -0
- package/dist/api/invoices-api.js +1357 -0
- package/dist/api/jobs-api.d.ts +426 -0
- package/dist/api/jobs-api.js +712 -0
- package/dist/api/policy-billings-api.d.ts +332 -0
- package/dist/api/policy-billings-api.js +565 -0
- package/dist/api.d.ts +16 -0
- package/dist/api.js +34 -0
- package/dist/base.d.ts +97 -0
- package/dist/base.js +493 -0
- package/dist/common.d.ts +92 -0
- package/dist/common.js +278 -0
- package/dist/configuration.d.ts +96 -0
- package/dist/configuration.js +52 -0
- package/dist/index.d.ts +15 -0
- package/dist/index.js +36 -0
- package/dist/models/any.d.ts +25 -0
- package/dist/models/any.js +15 -0
- package/dist/models/bill-item.d.ts +132 -0
- package/dist/models/bill-item.js +15 -0
- package/dist/models/bill-run.d.ts +145 -0
- package/dist/models/bill-run.js +15 -0
- package/dist/models/bill.d.ts +194 -0
- package/dist/models/bill.js +15 -0
- package/dist/models/cancel-job-response.d.ts +25 -0
- package/dist/models/cancel-job-response.js +15 -0
- package/dist/models/create-correction-invoices-request.d.ts +72 -0
- package/dist/models/create-correction-invoices-request.js +15 -0
- package/dist/models/create-correction-invoices-response.d.ts +31 -0
- package/dist/models/create-correction-invoices-response.js +15 -0
- package/dist/models/create-detail-export-job-request.d.ts +56 -0
- package/dist/models/create-detail-export-job-request.js +15 -0
- package/dist/models/create-detail-export-job-response.d.ts +25 -0
- package/dist/models/create-detail-export-job-response.js +15 -0
- package/dist/models/create-estimated-invoice-for-interval-request.d.ts +42 -0
- package/dist/models/create-estimated-invoice-for-interval-request.js +15 -0
- package/dist/models/create-estimated-invoice-for-interval-response.d.ts +25 -0
- package/dist/models/create-estimated-invoice-for-interval-response.js +15 -0
- package/dist/models/create-estimated-invoice-request.d.ts +36 -0
- package/dist/models/create-estimated-invoice-request.js +15 -0
- package/dist/models/create-estimated-invoice-response.d.ts +25 -0
- package/dist/models/create-estimated-invoice-response.js +15 -0
- package/dist/models/create-export-job-request.d.ts +68 -0
- package/dist/models/create-export-job-request.js +15 -0
- package/dist/models/create-export-job-response.d.ts +25 -0
- package/dist/models/create-export-job-response.js +15 -0
- package/dist/models/create-initial-invoice-request.d.ts +72 -0
- package/dist/models/create-initial-invoice-request.js +15 -0
- package/dist/models/create-initial-invoice-response.d.ts +25 -0
- package/dist/models/create-initial-invoice-response.js +15 -0
- package/dist/models/create-invoice-request.d.ts +67 -0
- package/dist/models/create-invoice-request.js +15 -0
- package/dist/models/create-invoice-response.d.ts +25 -0
- package/dist/models/create-invoice-response.js +15 -0
- package/dist/models/create-invoice-status-body.d.ts +24 -0
- package/dist/models/create-invoice-status-body.js +15 -0
- package/dist/models/create-invoice-status-response.d.ts +25 -0
- package/dist/models/create-invoice-status-response.js +15 -0
- package/dist/models/create-item-request.d.ts +36 -0
- package/dist/models/create-item-request.js +15 -0
- package/dist/models/create-policy-billing-request.d.ts +42 -0
- package/dist/models/create-policy-billing-request.js +15 -0
- package/dist/models/create-policy-billing-response.d.ts +25 -0
- package/dist/models/create-policy-billing-response.js +15 -0
- package/dist/models/create-recurring-invoice-request.d.ts +72 -0
- package/dist/models/create-recurring-invoice-request.js +15 -0
- package/dist/models/create-recurring-invoice-response.d.ts +31 -0
- package/dist/models/create-recurring-invoice-response.js +15 -0
- package/dist/models/create-termination-invoice-request.d.ts +60 -0
- package/dist/models/create-termination-invoice-request.js +15 -0
- package/dist/models/create-termination-invoice-response.d.ts +25 -0
- package/dist/models/create-termination-invoice-response.js +15 -0
- package/dist/models/create-withdraw-invoice-request.d.ts +48 -0
- package/dist/models/create-withdraw-invoice-request.js +15 -0
- package/dist/models/create-withdraw-invoice-response.d.ts +25 -0
- package/dist/models/create-withdraw-invoice-response.js +15 -0
- package/dist/models/estimate-history-entry.d.ts +36 -0
- package/dist/models/estimate-history-entry.js +15 -0
- package/dist/models/export-column.d.ts +36 -0
- package/dist/models/export-column.js +15 -0
- package/dist/models/filter-field.d.ts +110 -0
- package/dist/models/filter-field.js +15 -0
- package/dist/models/filter-value.d.ts +37 -0
- package/dist/models/filter-value.js +15 -0
- package/dist/models/get-bill-response.d.ts +25 -0
- package/dist/models/get-bill-response.js +15 -0
- package/dist/models/get-bill-run-filter-catalog-response.d.ts +31 -0
- package/dist/models/get-bill-run-filter-catalog-response.js +15 -0
- package/dist/models/get-bill-run-response.d.ts +25 -0
- package/dist/models/get-bill-run-response.js +15 -0
- package/dist/models/get-invoice-filter-catalog-response.d.ts +31 -0
- package/dist/models/get-invoice-filter-catalog-response.js +15 -0
- package/dist/models/get-invoice-response.d.ts +25 -0
- package/dist/models/get-invoice-response.js +15 -0
- package/dist/models/get-job-download-response.d.ts +25 -0
- package/dist/models/get-job-download-response.js +15 -0
- package/dist/models/get-job-filter-catalog-response.d.ts +31 -0
- package/dist/models/get-job-filter-catalog-response.js +15 -0
- package/dist/models/get-job-response.d.ts +25 -0
- package/dist/models/get-job-response.js +15 -0
- package/dist/models/get-policies-billing-date-filter-catalog-response.d.ts +31 -0
- package/dist/models/get-policies-billing-date-filter-catalog-response.js +15 -0
- package/dist/models/get-policies-billing-filter-catalog-response.d.ts +31 -0
- package/dist/models/get-policies-billing-filter-catalog-response.js +15 -0
- package/dist/models/get-policy-billing-response.d.ts +25 -0
- package/dist/models/get-policy-billing-response.js +15 -0
- package/dist/models/highlight.d.ts +30 -0
- package/dist/models/highlight.js +15 -0
- package/dist/models/index.d.ts +75 -0
- package/dist/models/index.js +91 -0
- package/dist/models/invoice-item.d.ts +204 -0
- package/dist/models/invoice-item.js +15 -0
- package/dist/models/invoice-payment.d.ts +108 -0
- package/dist/models/invoice-payment.js +15 -0
- package/dist/models/invoice-payments.d.ts +25 -0
- package/dist/models/invoice-payments.js +15 -0
- package/dist/models/invoice-status.d.ts +54 -0
- package/dist/models/invoice-status.js +15 -0
- package/dist/models/invoice.d.ts +275 -0
- package/dist/models/invoice.js +15 -0
- package/dist/models/job-download.d.ts +36 -0
- package/dist/models/job-download.js +15 -0
- package/dist/models/job-error.d.ts +30 -0
- package/dist/models/job-error.js +15 -0
- package/dist/models/job-progress.d.ts +36 -0
- package/dist/models/job-progress.js +15 -0
- package/dist/models/job.d.ts +134 -0
- package/dist/models/job.js +15 -0
- package/dist/models/list-bill-runs-response.d.ts +37 -0
- package/dist/models/list-bill-runs-response.js +15 -0
- package/dist/models/list-invoices-response.d.ts +37 -0
- package/dist/models/list-invoices-response.js +15 -0
- package/dist/models/list-jobs-response.d.ts +37 -0
- package/dist/models/list-jobs-response.js +15 -0
- package/dist/models/list-policies-billing-dates-response.d.ts +37 -0
- package/dist/models/list-policies-billing-dates-response.js +15 -0
- package/dist/models/list-policies-billings-response.d.ts +37 -0
- package/dist/models/list-policies-billings-response.js +15 -0
- package/dist/models/list-request.d.ts +60 -0
- package/dist/models/list-request.js +15 -0
- package/dist/models/localized-text.d.ts +30 -0
- package/dist/models/localized-text.js +15 -0
- package/dist/models/match.d.ts +69 -0
- package/dist/models/match.js +15 -0
- package/dist/models/payment-term.d.ts +42 -0
- package/dist/models/payment-term.js +15 -0
- package/dist/models/policy-billing.d.ts +139 -0
- package/dist/models/policy-billing.js +15 -0
- package/dist/models/request-bill-run-request.d.ts +30 -0
- package/dist/models/request-bill-run-request.js +15 -0
- package/dist/models/request-bill-run-response.d.ts +25 -0
- package/dist/models/request-bill-run-response.js +15 -0
- package/dist/models/resolved-billing-config.d.ts +130 -0
- package/dist/models/resolved-billing-config.js +15 -0
- package/dist/models/revert-invoice-request.d.ts +24 -0
- package/dist/models/revert-invoice-request.js +15 -0
- package/dist/models/revert-invoice-response.d.ts +25 -0
- package/dist/models/revert-invoice-response.js +15 -0
- package/dist/models/slice.d.ts +30 -0
- package/dist/models/slice.js +15 -0
- package/dist/models/status.d.ts +37 -0
- package/dist/models/status.js +15 -0
- package/dist/models/tax.d.ts +30 -0
- package/dist/models/tax.js +15 -0
- package/dist/models/update-policy-billing-body.d.ts +24 -0
- package/dist/models/update-policy-billing-body.js +15 -0
- package/dist/models/update-policy-billing-response.d.ts +25 -0
- package/dist/models/update-policy-billing-response.js +15 -0
- package/git_push.sh +57 -0
- package/index.ts +19 -0
- package/models/any.ts +32 -0
- package/models/bill-item.ts +138 -0
- package/models/bill-run.ts +151 -0
- package/models/bill.ts +200 -0
- package/models/cancel-job-response.ts +31 -0
- package/models/create-correction-invoices-request.ts +78 -0
- package/models/create-correction-invoices-response.ts +37 -0
- package/models/create-detail-export-job-request.ts +60 -0
- package/models/create-detail-export-job-response.ts +31 -0
- package/models/create-estimated-invoice-for-interval-request.ts +48 -0
- package/models/create-estimated-invoice-for-interval-response.ts +31 -0
- package/models/create-estimated-invoice-request.ts +42 -0
- package/models/create-estimated-invoice-response.ts +31 -0
- package/models/create-export-job-request.ts +74 -0
- package/models/create-export-job-response.ts +31 -0
- package/models/create-initial-invoice-request.ts +78 -0
- package/models/create-initial-invoice-response.ts +31 -0
- package/models/create-invoice-request.ts +73 -0
- package/models/create-invoice-response.ts +31 -0
- package/models/create-invoice-status-body.ts +30 -0
- package/models/create-invoice-status-response.ts +31 -0
- package/models/create-item-request.ts +42 -0
- package/models/create-policy-billing-request.ts +48 -0
- package/models/create-policy-billing-response.ts +31 -0
- package/models/create-recurring-invoice-request.ts +78 -0
- package/models/create-recurring-invoice-response.ts +37 -0
- package/models/create-termination-invoice-request.ts +66 -0
- package/models/create-termination-invoice-response.ts +31 -0
- package/models/create-withdraw-invoice-request.ts +54 -0
- package/models/create-withdraw-invoice-response.ts +31 -0
- package/models/estimate-history-entry.ts +42 -0
- package/models/export-column.ts +42 -0
- package/models/filter-field.ts +116 -0
- package/models/filter-value.ts +43 -0
- package/models/get-bill-response.ts +31 -0
- package/models/get-bill-run-filter-catalog-response.ts +37 -0
- package/models/get-bill-run-response.ts +31 -0
- package/models/get-invoice-filter-catalog-response.ts +37 -0
- package/models/get-invoice-response.ts +31 -0
- package/models/get-job-download-response.ts +31 -0
- package/models/get-job-filter-catalog-response.ts +37 -0
- package/models/get-job-response.ts +31 -0
- package/models/get-policies-billing-date-filter-catalog-response.ts +37 -0
- package/models/get-policies-billing-filter-catalog-response.ts +37 -0
- package/models/get-policy-billing-response.ts +31 -0
- package/models/highlight.ts +36 -0
- package/models/index.ts +75 -0
- package/models/invoice-item.ts +210 -0
- package/models/invoice-payment.ts +114 -0
- package/models/invoice-payments.ts +31 -0
- package/models/invoice-status.ts +60 -0
- package/models/invoice.ts +281 -0
- package/models/job-download.ts +42 -0
- package/models/job-error.ts +36 -0
- package/models/job-progress.ts +42 -0
- package/models/job.ts +140 -0
- package/models/list-bill-runs-response.ts +43 -0
- package/models/list-invoices-response.ts +43 -0
- package/models/list-jobs-response.ts +43 -0
- package/models/list-policies-billing-dates-response.ts +43 -0
- package/models/list-policies-billings-response.ts +43 -0
- package/models/list-request.ts +66 -0
- package/models/localized-text.ts +36 -0
- package/models/match.ts +75 -0
- package/models/payment-term.ts +48 -0
- package/models/policy-billing.ts +145 -0
- package/models/request-bill-run-request.ts +36 -0
- package/models/request-bill-run-response.ts +31 -0
- package/models/resolved-billing-config.ts +134 -0
- package/models/revert-invoice-request.ts +30 -0
- package/models/revert-invoice-response.ts +31 -0
- package/models/slice.ts +36 -0
- package/models/status.ts +43 -0
- package/models/tax.ts +36 -0
- package/models/update-policy-billing-body.ts +30 -0
- package/models/update-policy-billing-response.ts +31 -0
- package/package.json +27 -4
- package/tsconfig.json +23 -0
|
@@ -0,0 +1,332 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL Billing Service
|
|
3
|
+
* The billing service: bills, bill runs, invoices and policy billings.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
13
|
+
import { Configuration } from '../configuration';
|
|
14
|
+
import { RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import { CreatePolicyBillingRequest } from '../models';
|
|
16
|
+
import { CreatePolicyBillingResponse } from '../models';
|
|
17
|
+
import { GetPoliciesBillingFilterCatalogResponse } from '../models';
|
|
18
|
+
import { GetPolicyBillingResponse } from '../models';
|
|
19
|
+
import { ListPoliciesBillingsResponse } from '../models';
|
|
20
|
+
import { UpdatePolicyBillingBody } from '../models';
|
|
21
|
+
import { UpdatePolicyBillingResponse } from '../models';
|
|
22
|
+
/**
|
|
23
|
+
* PolicyBillingsApi - axios parameter creator
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
export declare const PolicyBillingsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
27
|
+
/**
|
|
28
|
+
* The row is computed from the policy and its billing configuration. When the policy already has a row, it is returned unchanged. Only `policyCode` is read. `policyCode` may also name a group policy: it gets a row only when it is active and bills its members\' premiums together. A member billed through its group policy gets a row with status `via_master`.
|
|
29
|
+
* @summary Opens the billing schedule row of a policy.
|
|
30
|
+
* @param {CreatePolicyBillingRequest} body The request of `CreatePolicyBilling`.
|
|
31
|
+
* @param {*} [options] Override http request option.
|
|
32
|
+
* @throws {RequiredError}
|
|
33
|
+
*/
|
|
34
|
+
billingServiceCreatePolicyBilling: (body: CreatePolicyBillingRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @summary Returns the filter catalog of the billing schedule list.
|
|
38
|
+
* @param {*} [options] Override http request option.
|
|
39
|
+
* @throws {RequiredError}
|
|
40
|
+
*/
|
|
41
|
+
billingServiceGetPoliciesBillingFilterCatalog: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
42
|
+
/**
|
|
43
|
+
* The row carries its `etag`, which `UpdatePolicyBilling` takes in the `If-Match` header.
|
|
44
|
+
* @summary Returns one billing schedule row.
|
|
45
|
+
* @param {string} code The code of the schedule row.
|
|
46
|
+
* @param {*} [options] Override http request option.
|
|
47
|
+
* @throws {RequiredError}
|
|
48
|
+
*/
|
|
49
|
+
billingServiceGetPolicyBilling: (code: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
50
|
+
/**
|
|
51
|
+
* An item is the schedule row, with `match` when `search` is set. - Search: the policy and group policy codes.
|
|
52
|
+
* @summary Lists the billing schedule rows.
|
|
53
|
+
* @param {number} [pageSize]
|
|
54
|
+
* @param {string} [pageToken]
|
|
55
|
+
* @param {string} [filter]
|
|
56
|
+
* @param {string} [search]
|
|
57
|
+
* @param {string} [order]
|
|
58
|
+
* @param {string} [expand]
|
|
59
|
+
* @param {string} [filters]
|
|
60
|
+
* @param {*} [options] Override http request option.
|
|
61
|
+
* @throws {RequiredError}
|
|
62
|
+
*/
|
|
63
|
+
billingServiceListPoliciesBillings: (pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
64
|
+
/**
|
|
65
|
+
* The new `status` is `paused` or `pending`.
|
|
66
|
+
* @summary Pauses or resumes a billing schedule row.
|
|
67
|
+
* @param {string} code The code of the schedule row.
|
|
68
|
+
* @param {string} ifMatch The billing row\'s `etag` as last read, sent back unchanged.
|
|
69
|
+
* @param {UpdatePolicyBillingBody} body
|
|
70
|
+
* @param {*} [options] Override http request option.
|
|
71
|
+
* @throws {RequiredError}
|
|
72
|
+
*/
|
|
73
|
+
billingServiceUpdatePolicyBilling: (code: string, ifMatch: string, body: UpdatePolicyBillingBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
74
|
+
};
|
|
75
|
+
/**
|
|
76
|
+
* PolicyBillingsApi - functional programming interface
|
|
77
|
+
* @export
|
|
78
|
+
*/
|
|
79
|
+
export declare const PolicyBillingsApiFp: (configuration?: Configuration) => {
|
|
80
|
+
/**
|
|
81
|
+
* The row is computed from the policy and its billing configuration. When the policy already has a row, it is returned unchanged. Only `policyCode` is read. `policyCode` may also name a group policy: it gets a row only when it is active and bills its members\' premiums together. A member billed through its group policy gets a row with status `via_master`.
|
|
82
|
+
* @summary Opens the billing schedule row of a policy.
|
|
83
|
+
* @param {CreatePolicyBillingRequest} body The request of `CreatePolicyBilling`.
|
|
84
|
+
* @param {*} [options] Override http request option.
|
|
85
|
+
* @throws {RequiredError}
|
|
86
|
+
*/
|
|
87
|
+
billingServiceCreatePolicyBilling(body: CreatePolicyBillingRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePolicyBillingResponse>>;
|
|
88
|
+
/**
|
|
89
|
+
*
|
|
90
|
+
* @summary Returns the filter catalog of the billing schedule list.
|
|
91
|
+
* @param {*} [options] Override http request option.
|
|
92
|
+
* @throws {RequiredError}
|
|
93
|
+
*/
|
|
94
|
+
billingServiceGetPoliciesBillingFilterCatalog(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPoliciesBillingFilterCatalogResponse>>;
|
|
95
|
+
/**
|
|
96
|
+
* The row carries its `etag`, which `UpdatePolicyBilling` takes in the `If-Match` header.
|
|
97
|
+
* @summary Returns one billing schedule row.
|
|
98
|
+
* @param {string} code The code of the schedule row.
|
|
99
|
+
* @param {*} [options] Override http request option.
|
|
100
|
+
* @throws {RequiredError}
|
|
101
|
+
*/
|
|
102
|
+
billingServiceGetPolicyBilling(code: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPolicyBillingResponse>>;
|
|
103
|
+
/**
|
|
104
|
+
* An item is the schedule row, with `match` when `search` is set. - Search: the policy and group policy codes.
|
|
105
|
+
* @summary Lists the billing schedule rows.
|
|
106
|
+
* @param {number} [pageSize]
|
|
107
|
+
* @param {string} [pageToken]
|
|
108
|
+
* @param {string} [filter]
|
|
109
|
+
* @param {string} [search]
|
|
110
|
+
* @param {string} [order]
|
|
111
|
+
* @param {string} [expand]
|
|
112
|
+
* @param {string} [filters]
|
|
113
|
+
* @param {*} [options] Override http request option.
|
|
114
|
+
* @throws {RequiredError}
|
|
115
|
+
*/
|
|
116
|
+
billingServiceListPoliciesBillings(pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPoliciesBillingsResponse>>;
|
|
117
|
+
/**
|
|
118
|
+
* The new `status` is `paused` or `pending`.
|
|
119
|
+
* @summary Pauses or resumes a billing schedule row.
|
|
120
|
+
* @param {string} code The code of the schedule row.
|
|
121
|
+
* @param {string} ifMatch The billing row\'s `etag` as last read, sent back unchanged.
|
|
122
|
+
* @param {UpdatePolicyBillingBody} body
|
|
123
|
+
* @param {*} [options] Override http request option.
|
|
124
|
+
* @throws {RequiredError}
|
|
125
|
+
*/
|
|
126
|
+
billingServiceUpdatePolicyBilling(code: string, ifMatch: string, body: UpdatePolicyBillingBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdatePolicyBillingResponse>>;
|
|
127
|
+
};
|
|
128
|
+
/**
|
|
129
|
+
* PolicyBillingsApi - factory interface
|
|
130
|
+
* @export
|
|
131
|
+
*/
|
|
132
|
+
export declare const PolicyBillingsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
133
|
+
/**
|
|
134
|
+
* The row is computed from the policy and its billing configuration. When the policy already has a row, it is returned unchanged. Only `policyCode` is read. `policyCode` may also name a group policy: it gets a row only when it is active and bills its members\' premiums together. A member billed through its group policy gets a row with status `via_master`.
|
|
135
|
+
* @summary Opens the billing schedule row of a policy.
|
|
136
|
+
* @param {CreatePolicyBillingRequest} body The request of `CreatePolicyBilling`.
|
|
137
|
+
* @param {*} [options] Override http request option.
|
|
138
|
+
* @throws {RequiredError}
|
|
139
|
+
*/
|
|
140
|
+
billingServiceCreatePolicyBilling(body: CreatePolicyBillingRequest, options?: any): AxiosPromise<CreatePolicyBillingResponse>;
|
|
141
|
+
/**
|
|
142
|
+
*
|
|
143
|
+
* @summary Returns the filter catalog of the billing schedule list.
|
|
144
|
+
* @param {*} [options] Override http request option.
|
|
145
|
+
* @throws {RequiredError}
|
|
146
|
+
*/
|
|
147
|
+
billingServiceGetPoliciesBillingFilterCatalog(options?: any): AxiosPromise<GetPoliciesBillingFilterCatalogResponse>;
|
|
148
|
+
/**
|
|
149
|
+
* The row carries its `etag`, which `UpdatePolicyBilling` takes in the `If-Match` header.
|
|
150
|
+
* @summary Returns one billing schedule row.
|
|
151
|
+
* @param {string} code The code of the schedule row.
|
|
152
|
+
* @param {*} [options] Override http request option.
|
|
153
|
+
* @throws {RequiredError}
|
|
154
|
+
*/
|
|
155
|
+
billingServiceGetPolicyBilling(code: string, options?: any): AxiosPromise<GetPolicyBillingResponse>;
|
|
156
|
+
/**
|
|
157
|
+
* An item is the schedule row, with `match` when `search` is set. - Search: the policy and group policy codes.
|
|
158
|
+
* @summary Lists the billing schedule rows.
|
|
159
|
+
* @param {number} [pageSize]
|
|
160
|
+
* @param {string} [pageToken]
|
|
161
|
+
* @param {string} [filter]
|
|
162
|
+
* @param {string} [search]
|
|
163
|
+
* @param {string} [order]
|
|
164
|
+
* @param {string} [expand]
|
|
165
|
+
* @param {string} [filters]
|
|
166
|
+
* @param {*} [options] Override http request option.
|
|
167
|
+
* @throws {RequiredError}
|
|
168
|
+
*/
|
|
169
|
+
billingServiceListPoliciesBillings(pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListPoliciesBillingsResponse>;
|
|
170
|
+
/**
|
|
171
|
+
* The new `status` is `paused` or `pending`.
|
|
172
|
+
* @summary Pauses or resumes a billing schedule row.
|
|
173
|
+
* @param {string} code The code of the schedule row.
|
|
174
|
+
* @param {string} ifMatch The billing row\'s `etag` as last read, sent back unchanged.
|
|
175
|
+
* @param {UpdatePolicyBillingBody} body
|
|
176
|
+
* @param {*} [options] Override http request option.
|
|
177
|
+
* @throws {RequiredError}
|
|
178
|
+
*/
|
|
179
|
+
billingServiceUpdatePolicyBilling(code: string, ifMatch: string, body: UpdatePolicyBillingBody, options?: any): AxiosPromise<UpdatePolicyBillingResponse>;
|
|
180
|
+
};
|
|
181
|
+
/**
|
|
182
|
+
* Request parameters for billingServiceCreatePolicyBilling operation in PolicyBillingsApi.
|
|
183
|
+
* @export
|
|
184
|
+
* @interface PolicyBillingsApiBillingServiceCreatePolicyBillingRequest
|
|
185
|
+
*/
|
|
186
|
+
export interface PolicyBillingsApiBillingServiceCreatePolicyBillingRequest {
|
|
187
|
+
/**
|
|
188
|
+
* The request of `CreatePolicyBilling`.
|
|
189
|
+
* @type {CreatePolicyBillingRequest}
|
|
190
|
+
* @memberof PolicyBillingsApiBillingServiceCreatePolicyBilling
|
|
191
|
+
*/
|
|
192
|
+
readonly body: CreatePolicyBillingRequest;
|
|
193
|
+
}
|
|
194
|
+
/**
|
|
195
|
+
* Request parameters for billingServiceGetPolicyBilling operation in PolicyBillingsApi.
|
|
196
|
+
* @export
|
|
197
|
+
* @interface PolicyBillingsApiBillingServiceGetPolicyBillingRequest
|
|
198
|
+
*/
|
|
199
|
+
export interface PolicyBillingsApiBillingServiceGetPolicyBillingRequest {
|
|
200
|
+
/**
|
|
201
|
+
* The code of the schedule row.
|
|
202
|
+
* @type {string}
|
|
203
|
+
* @memberof PolicyBillingsApiBillingServiceGetPolicyBilling
|
|
204
|
+
*/
|
|
205
|
+
readonly code: string;
|
|
206
|
+
}
|
|
207
|
+
/**
|
|
208
|
+
* Request parameters for billingServiceListPoliciesBillings operation in PolicyBillingsApi.
|
|
209
|
+
* @export
|
|
210
|
+
* @interface PolicyBillingsApiBillingServiceListPoliciesBillingsRequest
|
|
211
|
+
*/
|
|
212
|
+
export interface PolicyBillingsApiBillingServiceListPoliciesBillingsRequest {
|
|
213
|
+
/**
|
|
214
|
+
*
|
|
215
|
+
* @type {number}
|
|
216
|
+
* @memberof PolicyBillingsApiBillingServiceListPoliciesBillings
|
|
217
|
+
*/
|
|
218
|
+
readonly pageSize?: number;
|
|
219
|
+
/**
|
|
220
|
+
*
|
|
221
|
+
* @type {string}
|
|
222
|
+
* @memberof PolicyBillingsApiBillingServiceListPoliciesBillings
|
|
223
|
+
*/
|
|
224
|
+
readonly pageToken?: string;
|
|
225
|
+
/**
|
|
226
|
+
*
|
|
227
|
+
* @type {string}
|
|
228
|
+
* @memberof PolicyBillingsApiBillingServiceListPoliciesBillings
|
|
229
|
+
*/
|
|
230
|
+
readonly filter?: string;
|
|
231
|
+
/**
|
|
232
|
+
*
|
|
233
|
+
* @type {string}
|
|
234
|
+
* @memberof PolicyBillingsApiBillingServiceListPoliciesBillings
|
|
235
|
+
*/
|
|
236
|
+
readonly search?: string;
|
|
237
|
+
/**
|
|
238
|
+
*
|
|
239
|
+
* @type {string}
|
|
240
|
+
* @memberof PolicyBillingsApiBillingServiceListPoliciesBillings
|
|
241
|
+
*/
|
|
242
|
+
readonly order?: string;
|
|
243
|
+
/**
|
|
244
|
+
*
|
|
245
|
+
* @type {string}
|
|
246
|
+
* @memberof PolicyBillingsApiBillingServiceListPoliciesBillings
|
|
247
|
+
*/
|
|
248
|
+
readonly expand?: string;
|
|
249
|
+
/**
|
|
250
|
+
*
|
|
251
|
+
* @type {string}
|
|
252
|
+
* @memberof PolicyBillingsApiBillingServiceListPoliciesBillings
|
|
253
|
+
*/
|
|
254
|
+
readonly filters?: string;
|
|
255
|
+
}
|
|
256
|
+
/**
|
|
257
|
+
* Request parameters for billingServiceUpdatePolicyBilling operation in PolicyBillingsApi.
|
|
258
|
+
* @export
|
|
259
|
+
* @interface PolicyBillingsApiBillingServiceUpdatePolicyBillingRequest
|
|
260
|
+
*/
|
|
261
|
+
export interface PolicyBillingsApiBillingServiceUpdatePolicyBillingRequest {
|
|
262
|
+
/**
|
|
263
|
+
* The code of the schedule row.
|
|
264
|
+
* @type {string}
|
|
265
|
+
* @memberof PolicyBillingsApiBillingServiceUpdatePolicyBilling
|
|
266
|
+
*/
|
|
267
|
+
readonly code: string;
|
|
268
|
+
/**
|
|
269
|
+
* The billing row\'s `etag` as last read, sent back unchanged.
|
|
270
|
+
* @type {string}
|
|
271
|
+
* @memberof PolicyBillingsApiBillingServiceUpdatePolicyBilling
|
|
272
|
+
*/
|
|
273
|
+
readonly ifMatch: string;
|
|
274
|
+
/**
|
|
275
|
+
*
|
|
276
|
+
* @type {UpdatePolicyBillingBody}
|
|
277
|
+
* @memberof PolicyBillingsApiBillingServiceUpdatePolicyBilling
|
|
278
|
+
*/
|
|
279
|
+
readonly body: UpdatePolicyBillingBody;
|
|
280
|
+
}
|
|
281
|
+
/**
|
|
282
|
+
* PolicyBillingsApi - object-oriented interface
|
|
283
|
+
* @export
|
|
284
|
+
* @class PolicyBillingsApi
|
|
285
|
+
* @extends {BaseAPI}
|
|
286
|
+
*/
|
|
287
|
+
export declare class PolicyBillingsApi extends BaseAPI {
|
|
288
|
+
/**
|
|
289
|
+
* The row is computed from the policy and its billing configuration. When the policy already has a row, it is returned unchanged. Only `policyCode` is read. `policyCode` may also name a group policy: it gets a row only when it is active and bills its members\' premiums together. A member billed through its group policy gets a row with status `via_master`.
|
|
290
|
+
* @summary Opens the billing schedule row of a policy.
|
|
291
|
+
* @param {PolicyBillingsApiBillingServiceCreatePolicyBillingRequest} requestParameters Request parameters.
|
|
292
|
+
* @param {*} [options] Override http request option.
|
|
293
|
+
* @throws {RequiredError}
|
|
294
|
+
* @memberof PolicyBillingsApi
|
|
295
|
+
*/
|
|
296
|
+
billingServiceCreatePolicyBilling(requestParameters: PolicyBillingsApiBillingServiceCreatePolicyBillingRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePolicyBillingResponse, any, {}, any>>;
|
|
297
|
+
/**
|
|
298
|
+
*
|
|
299
|
+
* @summary Returns the filter catalog of the billing schedule list.
|
|
300
|
+
* @param {*} [options] Override http request option.
|
|
301
|
+
* @throws {RequiredError}
|
|
302
|
+
* @memberof PolicyBillingsApi
|
|
303
|
+
*/
|
|
304
|
+
billingServiceGetPoliciesBillingFilterCatalog(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPoliciesBillingFilterCatalogResponse, any, {}, any>>;
|
|
305
|
+
/**
|
|
306
|
+
* The row carries its `etag`, which `UpdatePolicyBilling` takes in the `If-Match` header.
|
|
307
|
+
* @summary Returns one billing schedule row.
|
|
308
|
+
* @param {PolicyBillingsApiBillingServiceGetPolicyBillingRequest} requestParameters Request parameters.
|
|
309
|
+
* @param {*} [options] Override http request option.
|
|
310
|
+
* @throws {RequiredError}
|
|
311
|
+
* @memberof PolicyBillingsApi
|
|
312
|
+
*/
|
|
313
|
+
billingServiceGetPolicyBilling(requestParameters: PolicyBillingsApiBillingServiceGetPolicyBillingRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPolicyBillingResponse, any, {}, any>>;
|
|
314
|
+
/**
|
|
315
|
+
* An item is the schedule row, with `match` when `search` is set. - Search: the policy and group policy codes.
|
|
316
|
+
* @summary Lists the billing schedule rows.
|
|
317
|
+
* @param {PolicyBillingsApiBillingServiceListPoliciesBillingsRequest} requestParameters Request parameters.
|
|
318
|
+
* @param {*} [options] Override http request option.
|
|
319
|
+
* @throws {RequiredError}
|
|
320
|
+
* @memberof PolicyBillingsApi
|
|
321
|
+
*/
|
|
322
|
+
billingServiceListPoliciesBillings(requestParameters?: PolicyBillingsApiBillingServiceListPoliciesBillingsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPoliciesBillingsResponse, any, {}, any>>;
|
|
323
|
+
/**
|
|
324
|
+
* The new `status` is `paused` or `pending`.
|
|
325
|
+
* @summary Pauses or resumes a billing schedule row.
|
|
326
|
+
* @param {PolicyBillingsApiBillingServiceUpdatePolicyBillingRequest} requestParameters Request parameters.
|
|
327
|
+
* @param {*} [options] Override http request option.
|
|
328
|
+
* @throws {RequiredError}
|
|
329
|
+
* @memberof PolicyBillingsApi
|
|
330
|
+
*/
|
|
331
|
+
billingServiceUpdatePolicyBilling(requestParameters: PolicyBillingsApiBillingServiceUpdatePolicyBillingRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdatePolicyBillingResponse, any, {}, any>>;
|
|
332
|
+
}
|