@emilgroup/payment-sdk 1.13.1-beta.13 → 1.13.1-beta.131
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 +24 -1
- package/README.md +2 -2
- package/api/bank-accounts-api.ts +55 -13
- package/api/bank-orders-api.ts +130 -57
- package/api/bank-transaction-api.ts +59 -48
- package/api/exceeding-credits-api.ts +349 -0
- package/api/payment-methods-api.ts +59 -17
- package/api/payment-reminders-api.ts +55 -13
- package/api/payments-api.ts +180 -17
- package/api/policy-payment-methods-api.ts +471 -0
- package/api/refunds-api.ts +45 -17
- package/api/tenant-bank-account-api.ts +45 -17
- package/api.ts +4 -0
- package/base.ts +10 -32
- package/common.ts +2 -2
- package/configuration.ts +0 -9
- package/dist/api/bank-accounts-api.d.ts +35 -8
- package/dist/api/bank-accounts-api.js +29 -11
- package/dist/api/bank-orders-api.d.ts +92 -46
- package/dist/api/bank-orders-api.js +83 -52
- package/dist/api/bank-transaction-api.d.ts +39 -31
- package/dist/api/bank-transaction-api.js +36 -31
- package/dist/api/exceeding-credits-api.d.ts +206 -0
- package/dist/api/exceeding-credits-api.js +352 -0
- package/dist/api/payment-methods-api.d.ts +39 -12
- package/dist/api/payment-methods-api.js +32 -14
- package/dist/api/payment-reminders-api.d.ts +35 -8
- package/dist/api/payment-reminders-api.js +29 -11
- package/dist/api/payments-api.d.ts +104 -12
- package/dist/api/payments-api.js +133 -14
- package/dist/api/policy-payment-methods-api.d.ts +272 -0
- package/dist/api/policy-payment-methods-api.js +452 -0
- package/dist/api/refunds-api.d.ts +28 -10
- package/dist/api/refunds-api.js +24 -12
- package/dist/api/tenant-bank-account-api.d.ts +28 -10
- package/dist/api/tenant-bank-account-api.js +24 -12
- package/dist/api.d.ts +2 -0
- package/dist/api.js +2 -0
- package/dist/base.d.ts +2 -4
- package/dist/base.js +21 -40
- package/dist/common.js +2 -2
- package/dist/configuration.d.ts +0 -6
- package/dist/configuration.js +0 -8
- package/dist/models/activate-policy-payment-method-request-dto.d.ts +24 -0
- package/dist/models/bank-order-class.d.ts +23 -3
- package/dist/models/bank-order-xml-file-class.d.ts +72 -0
- package/dist/models/bank-order-xml-file-class.js +15 -0
- package/dist/models/bank-transaction-class-without-expand-properties.d.ts +18 -18
- package/dist/models/bank-transaction-class-without-expand-properties.js +5 -0
- package/dist/models/bank-transaction-class.d.ts +22 -22
- package/dist/models/bank-transaction-class.js +5 -0
- package/dist/models/bank-transaction-invoice-class.d.ts +60 -0
- package/dist/models/bank-transaction-invoice-class.js +15 -0
- package/dist/models/bank-transfer-dto.d.ts +25 -0
- package/dist/models/bank-transfer-dto.js +15 -0
- package/dist/models/billing-address-dto.d.ts +60 -0
- package/dist/models/billing-address-dto.js +15 -0
- package/dist/models/complete-adyen-payment-setup-request-dto.d.ts +2 -0
- package/dist/models/complete-adyen-payment-setup-request-dto.js +3 -1
- package/dist/models/complete-eis-payment-setup-request-dto.d.ts +36 -0
- package/dist/models/complete-eis-payment-setup-request-dto.js +15 -0
- package/dist/models/complete-payment-setup-request-dto.d.ts +7 -0
- package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +2 -0
- package/dist/models/complete-stripe-payment-setup-request-dto.js +3 -1
- package/dist/models/create-bank-order-request-dto.d.ts +9 -9
- package/dist/models/create-payment-order-dto.d.ts +48 -0
- package/dist/models/create-payment-order-dto.js +15 -0
- package/dist/models/create-payment-order-request-dto.d.ts +48 -0
- package/dist/models/create-payment-order-request-dto.js +15 -0
- package/dist/models/create-payment-reminder-request-dto.d.ts +7 -1
- package/dist/models/create-payment-request-dto.d.ts +7 -1
- package/dist/models/create-policy-payment-method-request-dto.d.ts +30 -0
- package/dist/models/create-policy-payment-method-request-dto.js +15 -0
- package/dist/models/create-policy-payment-method-response-class.d.ts +25 -0
- package/dist/models/create-policy-payment-method-response-class.js +15 -0
- package/dist/models/create-psp-payment-method-request-dto.d.ts +29 -1
- package/dist/models/create-psp-payment-method-request-dto.js +3 -1
- package/dist/models/create-tenant-bank-account-request-dto.d.ts +30 -0
- package/dist/models/deactivated-payment-reminder-class.d.ts +7 -1
- package/dist/models/eis-sepa-debit-dto.d.ts +55 -0
- package/dist/models/eis-sepa-debit-dto.js +15 -0
- package/dist/models/exceeding-credit-class.d.ts +116 -0
- package/dist/models/exceeding-credit-class.js +29 -0
- package/dist/models/financial-account-class.d.ts +111 -0
- package/dist/models/financial-account-class.js +24 -0
- package/dist/models/get-exceeding-credit-response-class.d.ts +25 -0
- package/dist/models/get-exceeding-credit-response-class.js +15 -0
- package/dist/models/index.d.ts +22 -1
- package/dist/models/index.js +22 -1
- package/dist/models/initiate-adyen-payment-setup-request-dto.d.ts +6 -0
- package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +6 -0
- package/dist/models/initiate-eis-payment-setup-request-dto.d.ts +36 -0
- package/dist/models/initiate-eis-payment-setup-request-dto.js +15 -0
- package/dist/models/initiate-payment-setup-request-dto.d.ts +3 -2
- package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +6 -0
- package/dist/models/{unlink-bank-transaction-request-dto-rest.d.ts → invoice-allocation-dto.d.ts} +10 -4
- package/dist/models/invoice-allocation-dto.js +15 -0
- package/dist/models/link-bank-transaction-request-dto-rest.d.ts +4 -3
- package/dist/models/list-exceeding-credits-response-class.d.ts +31 -0
- package/dist/models/list-exceeding-credits-response-class.js +15 -0
- package/dist/models/list-policy-payment-methods-response-class.d.ts +31 -0
- package/dist/models/list-policy-payment-methods-response-class.js +15 -0
- package/dist/models/mandate-dto.d.ts +43 -0
- package/dist/models/mandate-dto.js +15 -0
- package/dist/models/mandate-hash-data-dto.d.ts +42 -0
- package/dist/models/mandate-hash-data-dto.js +15 -0
- package/dist/models/mandate-reference-class.d.ts +90 -0
- package/dist/models/mandate-reference-class.js +15 -0
- package/dist/models/payment-class-without-expand-properties.d.ts +7 -1
- package/dist/models/payment-class.d.ts +7 -1
- package/dist/models/payment-method-class.d.ts +6 -0
- package/dist/models/payment-reminder-class.d.ts +7 -1
- package/dist/models/policy-payment-method-class.d.ts +86 -0
- package/dist/models/policy-payment-method-class.js +15 -0
- package/dist/models/refund-class.d.ts +7 -1
- package/dist/models/tenant-bank-account-class-without-expand-properties.d.ts +30 -0
- package/dist/models/tenant-bank-account-class.d.ts +30 -0
- package/dist/models/unlinked-bank-transaction-response-class.d.ts +18 -0
- package/dist/models/unlinked-bank-transaction-response-class.js +5 -0
- package/dist/models/update-bank-order-request-dto.d.ts +12 -12
- package/dist/models/update-tenant-bank-account-rest-request-dto.d.ts +30 -0
- package/models/activate-policy-payment-method-request-dto.ts +30 -0
- package/models/bank-order-class.ts +23 -3
- package/models/bank-order-xml-file-class.ts +78 -0
- package/models/bank-transaction-class-without-expand-properties.ts +21 -18
- package/models/bank-transaction-class.ts +25 -22
- package/models/bank-transaction-invoice-class.ts +66 -0
- package/models/bank-transfer-dto.ts +31 -0
- package/models/billing-address-dto.ts +66 -0
- package/models/complete-adyen-payment-setup-request-dto.ts +3 -1
- package/models/complete-eis-payment-setup-request-dto.ts +42 -0
- package/models/complete-payment-setup-request-dto.ts +7 -0
- package/models/complete-stripe-payment-setup-request-dto.ts +3 -1
- package/models/create-bank-order-request-dto.ts +9 -9
- package/models/create-payment-order-dto.ts +54 -0
- package/models/create-payment-order-request-dto.ts +54 -0
- package/models/create-payment-reminder-request-dto.ts +7 -1
- package/models/create-payment-request-dto.ts +7 -1
- package/models/create-policy-payment-method-request-dto.ts +36 -0
- package/models/create-policy-payment-method-response-class.ts +31 -0
- package/models/create-psp-payment-method-request-dto.ts +30 -2
- package/models/create-tenant-bank-account-request-dto.ts +30 -0
- package/models/deactivated-payment-reminder-class.ts +7 -1
- package/models/eis-sepa-debit-dto.ts +61 -0
- package/models/exceeding-credit-class.ts +125 -0
- package/models/financial-account-class.ts +120 -0
- package/models/get-exceeding-credit-response-class.ts +31 -0
- package/models/index.ts +22 -1
- package/models/initiate-adyen-payment-setup-request-dto.ts +6 -0
- package/models/initiate-braintree-payment-setup-request-dto.ts +6 -0
- package/models/initiate-eis-payment-setup-request-dto.ts +42 -0
- package/models/initiate-payment-setup-request-dto.ts +3 -2
- package/models/initiate-stripe-payment-setup-request-dto.ts +6 -0
- package/models/{unlink-bank-transaction-request-dto-rest.ts → invoice-allocation-dto.ts} +10 -4
- package/models/link-bank-transaction-request-dto-rest.ts +4 -3
- package/models/list-exceeding-credits-response-class.ts +37 -0
- package/models/list-policy-payment-methods-response-class.ts +37 -0
- package/models/mandate-dto.ts +49 -0
- package/models/mandate-hash-data-dto.ts +48 -0
- package/models/mandate-reference-class.ts +96 -0
- package/models/payment-class-without-expand-properties.ts +7 -1
- package/models/payment-class.ts +7 -1
- package/models/payment-method-class.ts +6 -0
- package/models/payment-reminder-class.ts +7 -1
- package/models/policy-payment-method-class.ts +92 -0
- package/models/refund-class.ts +7 -1
- package/models/tenant-bank-account-class-without-expand-properties.ts +30 -0
- package/models/tenant-bank-account-class.ts +30 -0
- package/models/unlinked-bank-transaction-response-class.ts +21 -0
- package/models/update-bank-order-request-dto.ts +12 -12
- package/models/update-tenant-bank-account-rest-request-dto.ts +30 -0
- package/package.json +1 -1
- package/tsconfig.json +0 -1
- /package/dist/models/{unlink-bank-transaction-request-dto-rest.js → activate-policy-payment-method-request-dto.js} +0 -0
|
@@ -0,0 +1,272 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Emil Payment Service
|
|
3
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
13
|
+
import { Configuration } from '../configuration';
|
|
14
|
+
import { RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import { ActivatePolicyPaymentMethodRequestDto } from '../models';
|
|
16
|
+
import { CreatePolicyPaymentMethodRequestDto } from '../models';
|
|
17
|
+
import { CreatePolicyPaymentMethodResponseClass } from '../models';
|
|
18
|
+
import { ListPolicyPaymentMethodsResponseClass } from '../models';
|
|
19
|
+
/**
|
|
20
|
+
* PolicyPaymentMethodsApi - axios parameter creator
|
|
21
|
+
* @export
|
|
22
|
+
*/
|
|
23
|
+
export declare const PolicyPaymentMethodsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
24
|
+
/**
|
|
25
|
+
* Activates the requested policy payment method and automatically deactivates any currently active policy payment method for the same policy. **Required Permissions** \"payment-management.payments.update\"
|
|
26
|
+
* @summary Activate the policy payment method
|
|
27
|
+
* @param {string} code
|
|
28
|
+
* @param {ActivatePolicyPaymentMethodRequestDto} activatePolicyPaymentMethodRequestDto
|
|
29
|
+
* @param {string} [authorization] Bearer Token
|
|
30
|
+
* @param {*} [options] Override http request option.
|
|
31
|
+
* @throws {RequiredError}
|
|
32
|
+
*/
|
|
33
|
+
activatePolicyPaymentMethod: (code: string, activatePolicyPaymentMethodRequestDto: ActivatePolicyPaymentMethodRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
34
|
+
/**
|
|
35
|
+
* Attaches a payment method to a policy by creating a policy payment method and setting it as active. Any previous payment method attachment will be deactivated. **Required Permissions** \"payment-management.payments.create\"
|
|
36
|
+
* @summary Create the policy payment method
|
|
37
|
+
* @param {CreatePolicyPaymentMethodRequestDto} createPolicyPaymentMethodRequestDto
|
|
38
|
+
* @param {string} [authorization] Bearer Token
|
|
39
|
+
* @param {*} [options] Override http request option.
|
|
40
|
+
* @throws {RequiredError}
|
|
41
|
+
*/
|
|
42
|
+
createPolicyPaymentMethod: (createPolicyPaymentMethodRequestDto: CreatePolicyPaymentMethodRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
43
|
+
/**
|
|
44
|
+
* List policy payment methods **Required Permissions** \"payment-management.payments.view\"
|
|
45
|
+
* @summary Retrieve the policy payment methods
|
|
46
|
+
* @param {string} [authorization] Bearer Token
|
|
47
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
48
|
+
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
49
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
50
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
51
|
+
* @param {string} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
52
|
+
* @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
53
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
54
|
+
* @param {*} [options] Override http request option.
|
|
55
|
+
* @throws {RequiredError}
|
|
56
|
+
*/
|
|
57
|
+
listPolicyPaymentMethods: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
58
|
+
};
|
|
59
|
+
/**
|
|
60
|
+
* PolicyPaymentMethodsApi - functional programming interface
|
|
61
|
+
* @export
|
|
62
|
+
*/
|
|
63
|
+
export declare const PolicyPaymentMethodsApiFp: (configuration?: Configuration) => {
|
|
64
|
+
/**
|
|
65
|
+
* Activates the requested policy payment method and automatically deactivates any currently active policy payment method for the same policy. **Required Permissions** \"payment-management.payments.update\"
|
|
66
|
+
* @summary Activate the policy payment method
|
|
67
|
+
* @param {string} code
|
|
68
|
+
* @param {ActivatePolicyPaymentMethodRequestDto} activatePolicyPaymentMethodRequestDto
|
|
69
|
+
* @param {string} [authorization] Bearer Token
|
|
70
|
+
* @param {*} [options] Override http request option.
|
|
71
|
+
* @throws {RequiredError}
|
|
72
|
+
*/
|
|
73
|
+
activatePolicyPaymentMethod(code: string, activatePolicyPaymentMethodRequestDto: ActivatePolicyPaymentMethodRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
74
|
+
/**
|
|
75
|
+
* Attaches a payment method to a policy by creating a policy payment method and setting it as active. Any previous payment method attachment will be deactivated. **Required Permissions** \"payment-management.payments.create\"
|
|
76
|
+
* @summary Create the policy payment method
|
|
77
|
+
* @param {CreatePolicyPaymentMethodRequestDto} createPolicyPaymentMethodRequestDto
|
|
78
|
+
* @param {string} [authorization] Bearer Token
|
|
79
|
+
* @param {*} [options] Override http request option.
|
|
80
|
+
* @throws {RequiredError}
|
|
81
|
+
*/
|
|
82
|
+
createPolicyPaymentMethod(createPolicyPaymentMethodRequestDto: CreatePolicyPaymentMethodRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePolicyPaymentMethodResponseClass>>;
|
|
83
|
+
/**
|
|
84
|
+
* List policy payment methods **Required Permissions** \"payment-management.payments.view\"
|
|
85
|
+
* @summary Retrieve the policy payment methods
|
|
86
|
+
* @param {string} [authorization] Bearer Token
|
|
87
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
88
|
+
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
89
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
90
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
91
|
+
* @param {string} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
92
|
+
* @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
93
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
94
|
+
* @param {*} [options] Override http request option.
|
|
95
|
+
* @throws {RequiredError}
|
|
96
|
+
*/
|
|
97
|
+
listPolicyPaymentMethods(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPolicyPaymentMethodsResponseClass>>;
|
|
98
|
+
};
|
|
99
|
+
/**
|
|
100
|
+
* PolicyPaymentMethodsApi - factory interface
|
|
101
|
+
* @export
|
|
102
|
+
*/
|
|
103
|
+
export declare const PolicyPaymentMethodsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
104
|
+
/**
|
|
105
|
+
* Activates the requested policy payment method and automatically deactivates any currently active policy payment method for the same policy. **Required Permissions** \"payment-management.payments.update\"
|
|
106
|
+
* @summary Activate the policy payment method
|
|
107
|
+
* @param {string} code
|
|
108
|
+
* @param {ActivatePolicyPaymentMethodRequestDto} activatePolicyPaymentMethodRequestDto
|
|
109
|
+
* @param {string} [authorization] Bearer Token
|
|
110
|
+
* @param {*} [options] Override http request option.
|
|
111
|
+
* @throws {RequiredError}
|
|
112
|
+
*/
|
|
113
|
+
activatePolicyPaymentMethod(code: string, activatePolicyPaymentMethodRequestDto: ActivatePolicyPaymentMethodRequestDto, authorization?: string, options?: any): AxiosPromise<object>;
|
|
114
|
+
/**
|
|
115
|
+
* Attaches a payment method to a policy by creating a policy payment method and setting it as active. Any previous payment method attachment will be deactivated. **Required Permissions** \"payment-management.payments.create\"
|
|
116
|
+
* @summary Create the policy payment method
|
|
117
|
+
* @param {CreatePolicyPaymentMethodRequestDto} createPolicyPaymentMethodRequestDto
|
|
118
|
+
* @param {string} [authorization] Bearer Token
|
|
119
|
+
* @param {*} [options] Override http request option.
|
|
120
|
+
* @throws {RequiredError}
|
|
121
|
+
*/
|
|
122
|
+
createPolicyPaymentMethod(createPolicyPaymentMethodRequestDto: CreatePolicyPaymentMethodRequestDto, authorization?: string, options?: any): AxiosPromise<CreatePolicyPaymentMethodResponseClass>;
|
|
123
|
+
/**
|
|
124
|
+
* List policy payment methods **Required Permissions** \"payment-management.payments.view\"
|
|
125
|
+
* @summary Retrieve the policy payment methods
|
|
126
|
+
* @param {string} [authorization] Bearer Token
|
|
127
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
128
|
+
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
129
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
130
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
131
|
+
* @param {string} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
132
|
+
* @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
133
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
134
|
+
* @param {*} [options] Override http request option.
|
|
135
|
+
* @throws {RequiredError}
|
|
136
|
+
*/
|
|
137
|
+
listPolicyPaymentMethods(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListPolicyPaymentMethodsResponseClass>;
|
|
138
|
+
};
|
|
139
|
+
/**
|
|
140
|
+
* Request parameters for activatePolicyPaymentMethod operation in PolicyPaymentMethodsApi.
|
|
141
|
+
* @export
|
|
142
|
+
* @interface PolicyPaymentMethodsApiActivatePolicyPaymentMethodRequest
|
|
143
|
+
*/
|
|
144
|
+
export interface PolicyPaymentMethodsApiActivatePolicyPaymentMethodRequest {
|
|
145
|
+
/**
|
|
146
|
+
*
|
|
147
|
+
* @type {string}
|
|
148
|
+
* @memberof PolicyPaymentMethodsApiActivatePolicyPaymentMethod
|
|
149
|
+
*/
|
|
150
|
+
readonly code: string;
|
|
151
|
+
/**
|
|
152
|
+
*
|
|
153
|
+
* @type {ActivatePolicyPaymentMethodRequestDto}
|
|
154
|
+
* @memberof PolicyPaymentMethodsApiActivatePolicyPaymentMethod
|
|
155
|
+
*/
|
|
156
|
+
readonly activatePolicyPaymentMethodRequestDto: ActivatePolicyPaymentMethodRequestDto;
|
|
157
|
+
/**
|
|
158
|
+
* Bearer Token
|
|
159
|
+
* @type {string}
|
|
160
|
+
* @memberof PolicyPaymentMethodsApiActivatePolicyPaymentMethod
|
|
161
|
+
*/
|
|
162
|
+
readonly authorization?: string;
|
|
163
|
+
}
|
|
164
|
+
/**
|
|
165
|
+
* Request parameters for createPolicyPaymentMethod operation in PolicyPaymentMethodsApi.
|
|
166
|
+
* @export
|
|
167
|
+
* @interface PolicyPaymentMethodsApiCreatePolicyPaymentMethodRequest
|
|
168
|
+
*/
|
|
169
|
+
export interface PolicyPaymentMethodsApiCreatePolicyPaymentMethodRequest {
|
|
170
|
+
/**
|
|
171
|
+
*
|
|
172
|
+
* @type {CreatePolicyPaymentMethodRequestDto}
|
|
173
|
+
* @memberof PolicyPaymentMethodsApiCreatePolicyPaymentMethod
|
|
174
|
+
*/
|
|
175
|
+
readonly createPolicyPaymentMethodRequestDto: CreatePolicyPaymentMethodRequestDto;
|
|
176
|
+
/**
|
|
177
|
+
* Bearer Token
|
|
178
|
+
* @type {string}
|
|
179
|
+
* @memberof PolicyPaymentMethodsApiCreatePolicyPaymentMethod
|
|
180
|
+
*/
|
|
181
|
+
readonly authorization?: string;
|
|
182
|
+
}
|
|
183
|
+
/**
|
|
184
|
+
* Request parameters for listPolicyPaymentMethods operation in PolicyPaymentMethodsApi.
|
|
185
|
+
* @export
|
|
186
|
+
* @interface PolicyPaymentMethodsApiListPolicyPaymentMethodsRequest
|
|
187
|
+
*/
|
|
188
|
+
export interface PolicyPaymentMethodsApiListPolicyPaymentMethodsRequest {
|
|
189
|
+
/**
|
|
190
|
+
* Bearer Token
|
|
191
|
+
* @type {string}
|
|
192
|
+
* @memberof PolicyPaymentMethodsApiListPolicyPaymentMethods
|
|
193
|
+
*/
|
|
194
|
+
readonly authorization?: string;
|
|
195
|
+
/**
|
|
196
|
+
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
197
|
+
* @type {number}
|
|
198
|
+
* @memberof PolicyPaymentMethodsApiListPolicyPaymentMethods
|
|
199
|
+
*/
|
|
200
|
+
readonly pageSize?: number;
|
|
201
|
+
/**
|
|
202
|
+
* A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
203
|
+
* @type {string}
|
|
204
|
+
* @memberof PolicyPaymentMethodsApiListPolicyPaymentMethods
|
|
205
|
+
*/
|
|
206
|
+
readonly pageToken?: string;
|
|
207
|
+
/**
|
|
208
|
+
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
209
|
+
* @type {string}
|
|
210
|
+
* @memberof PolicyPaymentMethodsApiListPolicyPaymentMethods
|
|
211
|
+
*/
|
|
212
|
+
readonly filter?: string;
|
|
213
|
+
/**
|
|
214
|
+
* To search the list by any field, pass search=xxx to fetch the result.
|
|
215
|
+
* @type {string}
|
|
216
|
+
* @memberof PolicyPaymentMethodsApiListPolicyPaymentMethods
|
|
217
|
+
*/
|
|
218
|
+
readonly search?: string;
|
|
219
|
+
/**
|
|
220
|
+
* The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
221
|
+
* @type {string}
|
|
222
|
+
* @memberof PolicyPaymentMethodsApiListPolicyPaymentMethods
|
|
223
|
+
*/
|
|
224
|
+
readonly order?: string;
|
|
225
|
+
/**
|
|
226
|
+
* Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
227
|
+
* @type {string}
|
|
228
|
+
* @memberof PolicyPaymentMethodsApiListPolicyPaymentMethods
|
|
229
|
+
*/
|
|
230
|
+
readonly expand?: string;
|
|
231
|
+
/**
|
|
232
|
+
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
233
|
+
* @type {string}
|
|
234
|
+
* @memberof PolicyPaymentMethodsApiListPolicyPaymentMethods
|
|
235
|
+
*/
|
|
236
|
+
readonly filters?: string;
|
|
237
|
+
}
|
|
238
|
+
/**
|
|
239
|
+
* PolicyPaymentMethodsApi - object-oriented interface
|
|
240
|
+
* @export
|
|
241
|
+
* @class PolicyPaymentMethodsApi
|
|
242
|
+
* @extends {BaseAPI}
|
|
243
|
+
*/
|
|
244
|
+
export declare class PolicyPaymentMethodsApi extends BaseAPI {
|
|
245
|
+
/**
|
|
246
|
+
* Activates the requested policy payment method and automatically deactivates any currently active policy payment method for the same policy. **Required Permissions** \"payment-management.payments.update\"
|
|
247
|
+
* @summary Activate the policy payment method
|
|
248
|
+
* @param {PolicyPaymentMethodsApiActivatePolicyPaymentMethodRequest} requestParameters Request parameters.
|
|
249
|
+
* @param {*} [options] Override http request option.
|
|
250
|
+
* @throws {RequiredError}
|
|
251
|
+
* @memberof PolicyPaymentMethodsApi
|
|
252
|
+
*/
|
|
253
|
+
activatePolicyPaymentMethod(requestParameters: PolicyPaymentMethodsApiActivatePolicyPaymentMethodRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
|
|
254
|
+
/**
|
|
255
|
+
* Attaches a payment method to a policy by creating a policy payment method and setting it as active. Any previous payment method attachment will be deactivated. **Required Permissions** \"payment-management.payments.create\"
|
|
256
|
+
* @summary Create the policy payment method
|
|
257
|
+
* @param {PolicyPaymentMethodsApiCreatePolicyPaymentMethodRequest} requestParameters Request parameters.
|
|
258
|
+
* @param {*} [options] Override http request option.
|
|
259
|
+
* @throws {RequiredError}
|
|
260
|
+
* @memberof PolicyPaymentMethodsApi
|
|
261
|
+
*/
|
|
262
|
+
createPolicyPaymentMethod(requestParameters: PolicyPaymentMethodsApiCreatePolicyPaymentMethodRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePolicyPaymentMethodResponseClass, any>>;
|
|
263
|
+
/**
|
|
264
|
+
* List policy payment methods **Required Permissions** \"payment-management.payments.view\"
|
|
265
|
+
* @summary Retrieve the policy payment methods
|
|
266
|
+
* @param {PolicyPaymentMethodsApiListPolicyPaymentMethodsRequest} requestParameters Request parameters.
|
|
267
|
+
* @param {*} [options] Override http request option.
|
|
268
|
+
* @throws {RequiredError}
|
|
269
|
+
* @memberof PolicyPaymentMethodsApi
|
|
270
|
+
*/
|
|
271
|
+
listPolicyPaymentMethods(requestParameters?: PolicyPaymentMethodsApiListPolicyPaymentMethodsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPolicyPaymentMethodsResponseClass, any>>;
|
|
272
|
+
}
|