@emilgroup/payment-sdk 1.4.1-beta.3 → 1.4.1-beta.31
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 +12 -39
- package/README.md +2 -2
- package/api/bank-accounts-api.ts +497 -47
- package/api/bank-transaction-api.ts +128 -96
- package/api/{default-api.ts → health-check-api.ts} +22 -18
- package/api/payment-methods-api.ts +74 -203
- package/api/payment-reminders-api.ts +76 -66
- package/api/payment-setup-api.ts +29 -37
- package/api/payments-api.ts +66 -89
- package/api/refunds-api.ts +74 -84
- package/api/tenant-bank-account-api.ts +88 -62
- package/api/webhooks-api.ts +17 -13
- package/api.ts +3 -3
- package/base.ts +6 -2
- package/common.ts +2 -2
- package/configuration.ts +1 -1
- package/dist/api/bank-accounts-api.d.ts +297 -49
- package/dist/api/bank-accounts-api.js +416 -28
- package/dist/api/bank-transaction-api.d.ts +109 -91
- package/dist/api/bank-transaction-api.js +83 -68
- package/dist/api/health-check-api.d.ts +70 -0
- package/dist/api/{default-api.js → health-check-api.js} +31 -27
- package/dist/api/payment-methods-api.d.ts +66 -134
- package/dist/api/payment-methods-api.js +55 -157
- package/dist/api/payment-reminders-api.d.ts +72 -65
- package/dist/api/payment-reminders-api.js +48 -42
- package/dist/api/payment-setup-api.d.ts +19 -23
- package/dist/api/payment-setup-api.js +25 -25
- package/dist/api/payments-api.d.ts +64 -76
- package/dist/api/payments-api.js +47 -55
- package/dist/api/refunds-api.d.ts +74 -74
- package/dist/api/refunds-api.js +52 -48
- package/dist/api/tenant-bank-account-api.d.ts +89 -66
- package/dist/api/tenant-bank-account-api.js +59 -39
- package/dist/api/webhooks-api.d.ts +17 -13
- package/dist/api/webhooks-api.js +15 -11
- package/dist/api.d.ts +2 -2
- package/dist/api.js +2 -2
- package/dist/base.d.ts +2 -1
- package/dist/base.js +5 -2
- package/dist/common.d.ts +2 -2
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/models/{bank-transaction-response-class.d.ts → bank-transaction-class-without-expand-properties.d.ts} +26 -34
- package/dist/models/{bank-account-class.js → bank-transaction-class-without-expand-properties.js} +1 -1
- package/dist/models/create-bank-account-request-dto.d.ts +15 -3
- package/dist/models/create-bank-account-request-dto.js +1 -1
- package/dist/models/create-payment-reminder-request-dto.d.ts +1 -1
- package/dist/models/create-payment-reminder-request-dto.js +1 -1
- package/dist/models/create-payment-request-dto.d.ts +4 -4
- package/dist/models/create-payment-request-dto.js +1 -1
- package/dist/models/create-refund-request-dto.d.ts +1 -1
- package/dist/models/create-refund-request-dto.js +1 -1
- package/dist/models/create-tenant-bank-account-request-dto.d.ts +1 -1
- package/dist/models/create-tenant-bank-account-request-dto.js +1 -1
- package/dist/models/create-tenant-bank-account-response-class.d.ts +25 -0
- package/dist/models/{bank-transaction-response-class.js → create-tenant-bank-account-response-class.js} +1 -1
- package/dist/models/deactivate-payment-reminder-request-dto.d.ts +1 -1
- package/dist/models/deactivate-payment-reminder-request-dto.js +1 -1
- package/dist/models/get-tenant-bank-account-response-class.d.ts +5 -5
- package/dist/models/get-tenant-bank-account-response-class.js +1 -1
- package/dist/models/index.d.ts +11 -38
- package/dist/models/index.js +11 -38
- package/dist/models/inline-response200.d.ts +1 -1
- package/dist/models/inline-response200.js +1 -1
- package/dist/models/inline-response503.d.ts +1 -1
- package/dist/models/inline-response503.js +1 -1
- package/dist/models/link-bank-transaction-request-dto-rest.d.ts +24 -0
- package/dist/models/{billing-profile-limited-response-dto.js → link-bank-transaction-request-dto-rest.js} +1 -1
- package/dist/models/list-tenant-bank-account-response-class.d.ts +31 -0
- package/dist/models/{billing-profile-dto.js → list-tenant-bank-account-response-class.js} +1 -1
- package/dist/models/set-primary-bank-account-request-dto-rest.d.ts +24 -0
- package/dist/models/set-primary-bank-account-request-dto-rest.js +15 -0
- package/dist/models/{tenant-bank-account-response-class.d.ts → tenant-bank-account-class-without-expand-properties.d.ts} +11 -11
- package/dist/models/tenant-bank-account-class-without-expand-properties.js +15 -0
- package/dist/models/tenant-bank-account-class.d.ts +73 -0
- package/dist/models/tenant-bank-account-class.js +15 -0
- package/dist/models/unlink-bank-transaction-request-dto-rest.d.ts +24 -0
- package/dist/models/unlink-bank-transaction-request-dto-rest.js +15 -0
- package/dist/models/update-bank-account-request-dto-rest.d.ts +30 -0
- package/dist/models/update-bank-account-request-dto-rest.js +15 -0
- package/dist/models/update-bank-account-request-dto.d.ts +36 -0
- package/dist/models/update-bank-account-request-dto.js +15 -0
- package/dist/models/update-tenant-bank-account-response-class.d.ts +25 -0
- package/dist/models/update-tenant-bank-account-response-class.js +15 -0
- package/dist/models/update-tenant-bank-account-rest-request-dto.d.ts +1 -1
- package/dist/models/update-tenant-bank-account-rest-request-dto.js +1 -1
- package/dist/models/validate-pspconfig-request-dto.d.ts +2 -9
- package/dist/models/validate-pspconfig-request-dto.js +1 -8
- package/index.ts +1 -1
- package/models/{bank-transaction-response-class.ts → bank-transaction-class-without-expand-properties.ts} +26 -34
- package/models/create-bank-account-request-dto.ts +15 -3
- package/models/create-payment-reminder-request-dto.ts +1 -1
- package/models/create-payment-request-dto.ts +4 -4
- package/models/create-refund-request-dto.ts +1 -1
- package/models/create-tenant-bank-account-request-dto.ts +1 -1
- package/models/create-tenant-bank-account-response-class.ts +31 -0
- package/models/deactivate-payment-reminder-request-dto.ts +1 -1
- package/models/get-tenant-bank-account-response-class.ts +5 -5
- package/models/index.ts +11 -38
- package/models/inline-response200.ts +1 -1
- package/models/inline-response503.ts +1 -1
- package/models/link-bank-transaction-request-dto-rest.ts +30 -0
- package/models/list-tenant-bank-account-response-class.ts +37 -0
- package/models/set-primary-bank-account-request-dto-rest.ts +30 -0
- package/models/{tenant-bank-account-response-class.ts → tenant-bank-account-class-without-expand-properties.ts} +11 -11
- package/models/tenant-bank-account-class.ts +79 -0
- package/models/unlink-bank-transaction-request-dto-rest.ts +30 -0
- package/models/update-bank-account-request-dto-rest.ts +36 -0
- package/models/update-bank-account-request-dto.ts +42 -0
- package/models/update-tenant-bank-account-response-class.ts +31 -0
- package/models/update-tenant-bank-account-rest-request-dto.ts +1 -1
- package/models/validate-pspconfig-request-dto.ts +2 -12
- package/package.json +1 -1
- package/dist/api/default-api.d.ts +0 -66
- package/dist/models/bank-account-class.d.ts +0 -54
- package/dist/models/billing-profile-dto.d.ts +0 -38
- package/dist/models/billing-profile-limited-response-dto.d.ts +0 -54
- package/dist/models/complete-braintree-payment-setup-request-dto.d.ts +0 -48
- package/dist/models/complete-braintree-payment-setup-request-dto.js +0 -15
- package/dist/models/complete-payment-setup-request-dto.d.ts +0 -32
- package/dist/models/complete-payment-setup-request-dto.js +0 -15
- package/dist/models/complete-payment-setup-response-class.d.ts +0 -25
- package/dist/models/complete-payment-setup-response-class.js +0 -15
- package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +0 -60
- package/dist/models/complete-stripe-payment-setup-request-dto.js +0 -15
- package/dist/models/create-payment-method-response-class.d.ts +0 -25
- package/dist/models/create-payment-method-response-class.js +0 -15
- package/dist/models/create-payment-response-class.d.ts +0 -25
- package/dist/models/create-payment-response-class.js +0 -15
- package/dist/models/create-psp-payment-method-request-dto.d.ts +0 -61
- package/dist/models/create-psp-payment-method-request-dto.js +0 -32
- package/dist/models/create-refund-response-class.d.ts +0 -25
- package/dist/models/create-refund-response-class.js +0 -15
- package/dist/models/deactivate-payment-reminder-response-class.d.ts +0 -25
- package/dist/models/deactivate-payment-reminder-response-class.js +0 -15
- package/dist/models/get-bank-transactions-response-class.d.ts +0 -25
- package/dist/models/get-bank-transactions-response-class.js +0 -15
- package/dist/models/get-payment-method-response-class.d.ts +0 -25
- package/dist/models/get-payment-method-response-class.js +0 -15
- package/dist/models/get-payment-response-class.d.ts +0 -25
- package/dist/models/get-payment-response-class.js +0 -15
- package/dist/models/get-refund-response-class.d.ts +0 -25
- package/dist/models/get-refund-response-class.js +0 -15
- package/dist/models/get-request-dto.d.ts +0 -30
- package/dist/models/get-request-dto.js +0 -15
- package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +0 -30
- package/dist/models/initiate-braintree-payment-setup-request-dto.js +0 -15
- package/dist/models/initiate-braintree-payment-setup-response-class.d.ts +0 -24
- package/dist/models/initiate-braintree-payment-setup-response-class.js +0 -15
- package/dist/models/initiate-payment-setup-request-dto.d.ts +0 -44
- package/dist/models/initiate-payment-setup-request-dto.js +0 -15
- package/dist/models/initiate-payment-setup-response-class.d.ts +0 -32
- package/dist/models/initiate-payment-setup-response-class.js +0 -15
- package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +0 -30
- package/dist/models/initiate-stripe-payment-setup-request-dto.js +0 -15
- package/dist/models/initiate-stripe-payment-setup-response-class.d.ts +0 -30
- package/dist/models/initiate-stripe-payment-setup-response-class.js +0 -15
- package/dist/models/list-bank-accounts-response-class.d.ts +0 -31
- package/dist/models/list-bank-accounts-response-class.js +0 -15
- package/dist/models/list-bank-transactions-response-class.d.ts +0 -31
- package/dist/models/list-bank-transactions-response-class.js +0 -15
- package/dist/models/list-payment-methods-response-class.d.ts +0 -31
- package/dist/models/list-payment-methods-response-class.js +0 -15
- package/dist/models/list-payment-reminders-response-class.d.ts +0 -31
- package/dist/models/list-payment-reminders-response-class.js +0 -15
- package/dist/models/list-payments-response-class.d.ts +0 -31
- package/dist/models/list-payments-response-class.js +0 -15
- package/dist/models/list-refunds-response-class.d.ts +0 -31
- package/dist/models/list-refunds-response-class.js +0 -15
- package/dist/models/payment-class.d.ts +0 -103
- package/dist/models/payment-class.js +0 -15
- package/dist/models/payment-method-class.d.ts +0 -66
- package/dist/models/payment-method-class.js +0 -15
- package/dist/models/payment-reminder-class.d.ts +0 -112
- package/dist/models/payment-reminder-class.js +0 -36
- package/dist/models/refund-class.d.ts +0 -104
- package/dist/models/refund-class.js +0 -28
- package/dist/models/sepa-direct-dto.d.ts +0 -24
- package/dist/models/sepa-direct-dto.js +0 -15
- package/dist/models/symphony-profile-limited-response-dto.d.ts +0 -42
- package/dist/models/symphony-profile-limited-response-dto.js +0 -15
- package/dist/models/tenant-bank-account-response-class.js +0 -15
- package/dist/models/transaction-class.d.ts +0 -54
- package/dist/models/transaction-class.js +0 -15
- package/models/bank-account-class.ts +0 -60
- package/models/billing-profile-dto.ts +0 -44
- package/models/billing-profile-limited-response-dto.ts +0 -60
- package/models/complete-braintree-payment-setup-request-dto.ts +0 -54
- package/models/complete-payment-setup-request-dto.ts +0 -38
- package/models/complete-payment-setup-response-class.ts +0 -31
- package/models/complete-stripe-payment-setup-request-dto.ts +0 -66
- package/models/create-payment-method-response-class.ts +0 -31
- package/models/create-payment-response-class.ts +0 -31
- package/models/create-psp-payment-method-request-dto.ts +0 -70
- package/models/create-refund-response-class.ts +0 -31
- package/models/deactivate-payment-reminder-response-class.ts +0 -31
- package/models/get-bank-transactions-response-class.ts +0 -31
- package/models/get-payment-method-response-class.ts +0 -31
- package/models/get-payment-response-class.ts +0 -31
- package/models/get-refund-response-class.ts +0 -31
- package/models/get-request-dto.ts +0 -36
- package/models/initiate-braintree-payment-setup-request-dto.ts +0 -36
- package/models/initiate-braintree-payment-setup-response-class.ts +0 -30
- package/models/initiate-payment-setup-request-dto.ts +0 -50
- package/models/initiate-payment-setup-response-class.ts +0 -38
- package/models/initiate-stripe-payment-setup-request-dto.ts +0 -36
- package/models/initiate-stripe-payment-setup-response-class.ts +0 -36
- package/models/list-bank-accounts-response-class.ts +0 -37
- package/models/list-bank-transactions-response-class.ts +0 -37
- package/models/list-payment-methods-response-class.ts +0 -37
- package/models/list-payment-reminders-response-class.ts +0 -37
- package/models/list-payments-response-class.ts +0 -37
- package/models/list-refunds-response-class.ts +0 -37
- package/models/payment-class.ts +0 -109
- package/models/payment-method-class.ts +0 -72
- package/models/payment-reminder-class.ts +0 -122
- package/models/refund-class.ts +0 -114
- package/models/sepa-direct-dto.ts +0 -30
- package/models/symphony-profile-limited-response-dto.ts +0 -48
- package/models/transaction-class.ts +0 -60
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Emil Payment Service
|
|
3
|
-
* This service directly communicates with the various Payment Service Providers (PSPs)
|
|
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
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0
|
|
6
6
|
* Contact: kontakt@emil.de
|
|
@@ -14,8 +14,6 @@ import { Configuration } from '../configuration';
|
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
15
|
import { CreatePaymentReminderRequestDto } from '../models';
|
|
16
16
|
import { DeactivatePaymentReminderRequestDto } from '../models';
|
|
17
|
-
import { DeactivatePaymentReminderResponseClass } from '../models';
|
|
18
|
-
import { ListPaymentRemindersResponseClass } from '../models';
|
|
19
17
|
/**
|
|
20
18
|
* PaymentRemindersApi - axios parameter creator
|
|
21
19
|
* @export
|
|
@@ -23,7 +21,7 @@ import { ListPaymentRemindersResponseClass } from '../models';
|
|
|
23
21
|
export declare const PaymentRemindersApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
24
22
|
/**
|
|
25
23
|
* This will create a payment reminder in the database.
|
|
26
|
-
* @summary Create the payment
|
|
24
|
+
* @summary Create the payment reminder
|
|
27
25
|
* @param {CreatePaymentReminderRequestDto} createPaymentReminderRequestDto
|
|
28
26
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
29
27
|
* @param {*} [options] Override http request option.
|
|
@@ -31,8 +29,8 @@ export declare const PaymentRemindersApiAxiosParamCreator: (configuration?: Conf
|
|
|
31
29
|
*/
|
|
32
30
|
createPaymentReminder: (createPaymentReminderRequestDto: CreatePaymentReminderRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
33
31
|
/**
|
|
34
|
-
*
|
|
35
|
-
* @summary
|
|
32
|
+
* This will deactivate the payment reminder
|
|
33
|
+
* @summary Deactivate payment reminder
|
|
36
34
|
* @param {string} code Unique identifier for the object.
|
|
37
35
|
* @param {DeactivatePaymentReminderRequestDto} deactivatePaymentReminderRequestDto
|
|
38
36
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -41,29 +39,30 @@ export declare const PaymentRemindersApiAxiosParamCreator: (configuration?: Conf
|
|
|
41
39
|
*/
|
|
42
40
|
deactivatePaymentReminder: (code: string, deactivatePaymentReminderRequestDto: DeactivatePaymentReminderRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
43
41
|
/**
|
|
44
|
-
* Retrieves the details of the payment reminder that was previously created. Supply the unique payment reminder code
|
|
42
|
+
* Retrieves the details of the payment reminder that was previously created. Supply the unique payment reminder code that was returned when you created it and Emil Api will return the corresponding payment reminder information.
|
|
45
43
|
* @summary Retrieve the payment reminder
|
|
46
44
|
* @param {string} code Unique identifier for the object.
|
|
47
45
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
46
|
+
* @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>
|
|
48
47
|
* @param {*} [options] Override http request option.
|
|
49
48
|
* @throws {RequiredError}
|
|
50
49
|
*/
|
|
51
|
-
getPolicy: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
50
|
+
getPolicy: (code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
52
51
|
/**
|
|
53
|
-
* Returns a list of payment reminders you have previously created.
|
|
52
|
+
* Returns a list of payment reminders you have previously created. The payment reminders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
54
53
|
* @summary List payment reminders
|
|
55
54
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
56
55
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
57
56
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
58
|
-
* @param {
|
|
59
|
-
* @param {any} [search]
|
|
60
|
-
* @param {
|
|
61
|
-
* @param {
|
|
62
|
-
* @param {
|
|
57
|
+
* @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: code, id, policyCode, nextReminderDate</i>
|
|
58
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
59
|
+
* @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: id, createdAt, updatedAt</i>
|
|
60
|
+
* @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>
|
|
61
|
+
* @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: code, id, policyCode, nextReminderDate</i>
|
|
63
62
|
* @param {*} [options] Override http request option.
|
|
64
63
|
* @throws {RequiredError}
|
|
65
64
|
*/
|
|
66
|
-
listPaymentReminders: (authorization?: string, pageSize?: any, pageToken?: any, filter?:
|
|
65
|
+
listPaymentReminders: (authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
67
66
|
};
|
|
68
67
|
/**
|
|
69
68
|
* PaymentRemindersApi - functional programming interface
|
|
@@ -72,47 +71,48 @@ export declare const PaymentRemindersApiAxiosParamCreator: (configuration?: Conf
|
|
|
72
71
|
export declare const PaymentRemindersApiFp: (configuration?: Configuration) => {
|
|
73
72
|
/**
|
|
74
73
|
* This will create a payment reminder in the database.
|
|
75
|
-
* @summary Create the payment
|
|
74
|
+
* @summary Create the payment reminder
|
|
76
75
|
* @param {CreatePaymentReminderRequestDto} createPaymentReminderRequestDto
|
|
77
76
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
78
77
|
* @param {*} [options] Override http request option.
|
|
79
78
|
* @throws {RequiredError}
|
|
80
79
|
*/
|
|
81
|
-
createPaymentReminder(createPaymentReminderRequestDto: CreatePaymentReminderRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
80
|
+
createPaymentReminder(createPaymentReminderRequestDto: CreatePaymentReminderRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
82
81
|
/**
|
|
83
|
-
*
|
|
84
|
-
* @summary
|
|
82
|
+
* This will deactivate the payment reminder
|
|
83
|
+
* @summary Deactivate payment reminder
|
|
85
84
|
* @param {string} code Unique identifier for the object.
|
|
86
85
|
* @param {DeactivatePaymentReminderRequestDto} deactivatePaymentReminderRequestDto
|
|
87
86
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
88
87
|
* @param {*} [options] Override http request option.
|
|
89
88
|
* @throws {RequiredError}
|
|
90
89
|
*/
|
|
91
|
-
deactivatePaymentReminder(code: string, deactivatePaymentReminderRequestDto: DeactivatePaymentReminderRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
90
|
+
deactivatePaymentReminder(code: string, deactivatePaymentReminderRequestDto: DeactivatePaymentReminderRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
92
91
|
/**
|
|
93
|
-
* Retrieves the details of the payment reminder that was previously created. Supply the unique payment reminder code
|
|
92
|
+
* Retrieves the details of the payment reminder that was previously created. Supply the unique payment reminder code that was returned when you created it and Emil Api will return the corresponding payment reminder information.
|
|
94
93
|
* @summary Retrieve the payment reminder
|
|
95
94
|
* @param {string} code Unique identifier for the object.
|
|
96
95
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
96
|
+
* @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>
|
|
97
97
|
* @param {*} [options] Override http request option.
|
|
98
98
|
* @throws {RequiredError}
|
|
99
99
|
*/
|
|
100
|
-
getPolicy(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
100
|
+
getPolicy(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
101
101
|
/**
|
|
102
|
-
* Returns a list of payment reminders you have previously created.
|
|
102
|
+
* Returns a list of payment reminders you have previously created. The payment reminders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
103
103
|
* @summary List payment reminders
|
|
104
104
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
105
105
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
106
106
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
107
|
-
* @param {
|
|
108
|
-
* @param {any} [search]
|
|
109
|
-
* @param {
|
|
110
|
-
* @param {
|
|
111
|
-
* @param {
|
|
107
|
+
* @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: code, id, policyCode, nextReminderDate</i>
|
|
108
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
109
|
+
* @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: id, createdAt, updatedAt</i>
|
|
110
|
+
* @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>
|
|
111
|
+
* @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: code, id, policyCode, nextReminderDate</i>
|
|
112
112
|
* @param {*} [options] Override http request option.
|
|
113
113
|
* @throws {RequiredError}
|
|
114
114
|
*/
|
|
115
|
-
listPaymentReminders(authorization?: string, pageSize?: any, pageToken?: any, filter?:
|
|
115
|
+
listPaymentReminders(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
116
116
|
};
|
|
117
117
|
/**
|
|
118
118
|
* PaymentRemindersApi - factory interface
|
|
@@ -121,47 +121,48 @@ export declare const PaymentRemindersApiFp: (configuration?: Configuration) => {
|
|
|
121
121
|
export declare const PaymentRemindersApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
122
122
|
/**
|
|
123
123
|
* This will create a payment reminder in the database.
|
|
124
|
-
* @summary Create the payment
|
|
124
|
+
* @summary Create the payment reminder
|
|
125
125
|
* @param {CreatePaymentReminderRequestDto} createPaymentReminderRequestDto
|
|
126
126
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
127
127
|
* @param {*} [options] Override http request option.
|
|
128
128
|
* @throws {RequiredError}
|
|
129
129
|
*/
|
|
130
|
-
createPaymentReminder(createPaymentReminderRequestDto: CreatePaymentReminderRequestDto, authorization?: string, options?: any): AxiosPromise<
|
|
130
|
+
createPaymentReminder(createPaymentReminderRequestDto: CreatePaymentReminderRequestDto, authorization?: string, options?: any): AxiosPromise<void>;
|
|
131
131
|
/**
|
|
132
|
-
*
|
|
133
|
-
* @summary
|
|
132
|
+
* This will deactivate the payment reminder
|
|
133
|
+
* @summary Deactivate payment reminder
|
|
134
134
|
* @param {string} code Unique identifier for the object.
|
|
135
135
|
* @param {DeactivatePaymentReminderRequestDto} deactivatePaymentReminderRequestDto
|
|
136
136
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
137
137
|
* @param {*} [options] Override http request option.
|
|
138
138
|
* @throws {RequiredError}
|
|
139
139
|
*/
|
|
140
|
-
deactivatePaymentReminder(code: string, deactivatePaymentReminderRequestDto: DeactivatePaymentReminderRequestDto, authorization?: string, options?: any): AxiosPromise<
|
|
140
|
+
deactivatePaymentReminder(code: string, deactivatePaymentReminderRequestDto: DeactivatePaymentReminderRequestDto, authorization?: string, options?: any): AxiosPromise<void>;
|
|
141
141
|
/**
|
|
142
|
-
* Retrieves the details of the payment reminder that was previously created. Supply the unique payment reminder code
|
|
142
|
+
* Retrieves the details of the payment reminder that was previously created. Supply the unique payment reminder code that was returned when you created it and Emil Api will return the corresponding payment reminder information.
|
|
143
143
|
* @summary Retrieve the payment reminder
|
|
144
144
|
* @param {string} code Unique identifier for the object.
|
|
145
145
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
146
|
+
* @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>
|
|
146
147
|
* @param {*} [options] Override http request option.
|
|
147
148
|
* @throws {RequiredError}
|
|
148
149
|
*/
|
|
149
|
-
getPolicy(code: string, authorization?: string, options?: any): AxiosPromise<
|
|
150
|
+
getPolicy(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<void>;
|
|
150
151
|
/**
|
|
151
|
-
* Returns a list of payment reminders you have previously created.
|
|
152
|
+
* Returns a list of payment reminders you have previously created. The payment reminders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
152
153
|
* @summary List payment reminders
|
|
153
154
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
154
155
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
155
156
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
156
|
-
* @param {
|
|
157
|
-
* @param {any} [search]
|
|
158
|
-
* @param {
|
|
159
|
-
* @param {
|
|
160
|
-
* @param {
|
|
157
|
+
* @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: code, id, policyCode, nextReminderDate</i>
|
|
158
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
159
|
+
* @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: id, createdAt, updatedAt</i>
|
|
160
|
+
* @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>
|
|
161
|
+
* @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: code, id, policyCode, nextReminderDate</i>
|
|
161
162
|
* @param {*} [options] Override http request option.
|
|
162
163
|
* @throws {RequiredError}
|
|
163
164
|
*/
|
|
164
|
-
listPaymentReminders(authorization?: string, pageSize?: any, pageToken?: any, filter?:
|
|
165
|
+
listPaymentReminders(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<void>;
|
|
165
166
|
};
|
|
166
167
|
/**
|
|
167
168
|
* Request parameters for createPaymentReminder operation in PaymentRemindersApi.
|
|
@@ -225,6 +226,12 @@ export interface PaymentRemindersApiGetPolicyRequest {
|
|
|
225
226
|
* @memberof PaymentRemindersApiGetPolicy
|
|
226
227
|
*/
|
|
227
228
|
readonly authorization?: string;
|
|
229
|
+
/**
|
|
230
|
+
* 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>
|
|
231
|
+
* @type {string}
|
|
232
|
+
* @memberof PaymentRemindersApiGetPolicy
|
|
233
|
+
*/
|
|
234
|
+
readonly expand?: string;
|
|
228
235
|
}
|
|
229
236
|
/**
|
|
230
237
|
* Request parameters for listPaymentReminders operation in PaymentRemindersApi.
|
|
@@ -251,35 +258,35 @@ export interface PaymentRemindersApiListPaymentRemindersRequest {
|
|
|
251
258
|
*/
|
|
252
259
|
readonly pageToken?: any;
|
|
253
260
|
/**
|
|
254
|
-
* Filter the response by one or multiple fields.
|
|
255
|
-
* @type {
|
|
261
|
+
* 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: code, id, policyCode, nextReminderDate</i>
|
|
262
|
+
* @type {string}
|
|
256
263
|
* @memberof PaymentRemindersApiListPaymentReminders
|
|
257
264
|
*/
|
|
258
|
-
readonly filter?:
|
|
265
|
+
readonly filter?: string;
|
|
259
266
|
/**
|
|
260
|
-
*
|
|
267
|
+
* To search the list by any field, pass search=xxx to fetch the result.
|
|
261
268
|
* @type {any}
|
|
262
269
|
* @memberof PaymentRemindersApiListPaymentReminders
|
|
263
270
|
*/
|
|
264
271
|
readonly search?: any;
|
|
265
272
|
/**
|
|
266
|
-
*
|
|
267
|
-
* @type {
|
|
273
|
+
* 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: id, createdAt, updatedAt</i>
|
|
274
|
+
* @type {string}
|
|
268
275
|
* @memberof PaymentRemindersApiListPaymentReminders
|
|
269
276
|
*/
|
|
270
|
-
readonly order?:
|
|
277
|
+
readonly order?: string;
|
|
271
278
|
/**
|
|
272
|
-
*
|
|
273
|
-
* @type {
|
|
279
|
+
* 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>
|
|
280
|
+
* @type {string}
|
|
274
281
|
* @memberof PaymentRemindersApiListPaymentReminders
|
|
275
282
|
*/
|
|
276
|
-
readonly expand?:
|
|
283
|
+
readonly expand?: string;
|
|
277
284
|
/**
|
|
278
|
-
* Filters the response by one or multiple fields.
|
|
279
|
-
* @type {
|
|
285
|
+
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, id, policyCode, nextReminderDate</i>
|
|
286
|
+
* @type {string}
|
|
280
287
|
* @memberof PaymentRemindersApiListPaymentReminders
|
|
281
288
|
*/
|
|
282
|
-
readonly filters?:
|
|
289
|
+
readonly filters?: string;
|
|
283
290
|
}
|
|
284
291
|
/**
|
|
285
292
|
* PaymentRemindersApi - object-oriented interface
|
|
@@ -290,38 +297,38 @@ export interface PaymentRemindersApiListPaymentRemindersRequest {
|
|
|
290
297
|
export declare class PaymentRemindersApi extends BaseAPI {
|
|
291
298
|
/**
|
|
292
299
|
* This will create a payment reminder in the database.
|
|
293
|
-
* @summary Create the payment
|
|
300
|
+
* @summary Create the payment reminder
|
|
294
301
|
* @param {PaymentRemindersApiCreatePaymentReminderRequest} requestParameters Request parameters.
|
|
295
302
|
* @param {*} [options] Override http request option.
|
|
296
303
|
* @throws {RequiredError}
|
|
297
304
|
* @memberof PaymentRemindersApi
|
|
298
305
|
*/
|
|
299
|
-
createPaymentReminder(requestParameters: PaymentRemindersApiCreatePaymentReminderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
306
|
+
createPaymentReminder(requestParameters: PaymentRemindersApiCreatePaymentReminderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
300
307
|
/**
|
|
301
|
-
*
|
|
302
|
-
* @summary
|
|
308
|
+
* This will deactivate the payment reminder
|
|
309
|
+
* @summary Deactivate payment reminder
|
|
303
310
|
* @param {PaymentRemindersApiDeactivatePaymentReminderRequest} requestParameters Request parameters.
|
|
304
311
|
* @param {*} [options] Override http request option.
|
|
305
312
|
* @throws {RequiredError}
|
|
306
313
|
* @memberof PaymentRemindersApi
|
|
307
314
|
*/
|
|
308
|
-
deactivatePaymentReminder(requestParameters: PaymentRemindersApiDeactivatePaymentReminderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
315
|
+
deactivatePaymentReminder(requestParameters: PaymentRemindersApiDeactivatePaymentReminderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
309
316
|
/**
|
|
310
|
-
* Retrieves the details of the payment reminder that was previously created. Supply the unique payment reminder code
|
|
317
|
+
* Retrieves the details of the payment reminder that was previously created. Supply the unique payment reminder code that was returned when you created it and Emil Api will return the corresponding payment reminder information.
|
|
311
318
|
* @summary Retrieve the payment reminder
|
|
312
319
|
* @param {PaymentRemindersApiGetPolicyRequest} requestParameters Request parameters.
|
|
313
320
|
* @param {*} [options] Override http request option.
|
|
314
321
|
* @throws {RequiredError}
|
|
315
322
|
* @memberof PaymentRemindersApi
|
|
316
323
|
*/
|
|
317
|
-
getPolicy(requestParameters: PaymentRemindersApiGetPolicyRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
324
|
+
getPolicy(requestParameters: PaymentRemindersApiGetPolicyRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
318
325
|
/**
|
|
319
|
-
* Returns a list of payment reminders you have previously created.
|
|
326
|
+
* Returns a list of payment reminders you have previously created. The payment reminders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
320
327
|
* @summary List payment reminders
|
|
321
328
|
* @param {PaymentRemindersApiListPaymentRemindersRequest} requestParameters Request parameters.
|
|
322
329
|
* @param {*} [options] Override http request option.
|
|
323
330
|
* @throws {RequiredError}
|
|
324
331
|
* @memberof PaymentRemindersApi
|
|
325
332
|
*/
|
|
326
|
-
listPaymentReminders(requestParameters?: PaymentRemindersApiListPaymentRemindersRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
333
|
+
listPaymentReminders(requestParameters?: PaymentRemindersApiListPaymentRemindersRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
327
334
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Emil Payment Service
|
|
6
|
-
* This service directly communicates with the various Payment Service Providers (PSPs)
|
|
6
|
+
* 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.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 1.0
|
|
9
9
|
* Contact: kontakt@emil.de
|
|
@@ -94,7 +94,7 @@ var PaymentRemindersApiAxiosParamCreator = function (configuration) {
|
|
|
94
94
|
return {
|
|
95
95
|
/**
|
|
96
96
|
* This will create a payment reminder in the database.
|
|
97
|
-
* @summary Create the payment
|
|
97
|
+
* @summary Create the payment reminder
|
|
98
98
|
* @param {CreatePaymentReminderRequestDto} createPaymentReminderRequestDto
|
|
99
99
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
100
100
|
* @param {*} [options] Override http request option.
|
|
@@ -142,8 +142,8 @@ var PaymentRemindersApiAxiosParamCreator = function (configuration) {
|
|
|
142
142
|
});
|
|
143
143
|
},
|
|
144
144
|
/**
|
|
145
|
-
*
|
|
146
|
-
* @summary
|
|
145
|
+
* This will deactivate the payment reminder
|
|
146
|
+
* @summary Deactivate payment reminder
|
|
147
147
|
* @param {string} code Unique identifier for the object.
|
|
148
148
|
* @param {DeactivatePaymentReminderRequestDto} deactivatePaymentReminderRequestDto
|
|
149
149
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -195,14 +195,15 @@ var PaymentRemindersApiAxiosParamCreator = function (configuration) {
|
|
|
195
195
|
});
|
|
196
196
|
},
|
|
197
197
|
/**
|
|
198
|
-
* Retrieves the details of the payment reminder that was previously created. Supply the unique payment reminder code
|
|
198
|
+
* Retrieves the details of the payment reminder that was previously created. Supply the unique payment reminder code that was returned when you created it and Emil Api will return the corresponding payment reminder information.
|
|
199
199
|
* @summary Retrieve the payment reminder
|
|
200
200
|
* @param {string} code Unique identifier for the object.
|
|
201
201
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
202
|
+
* @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>
|
|
202
203
|
* @param {*} [options] Override http request option.
|
|
203
204
|
* @throws {RequiredError}
|
|
204
205
|
*/
|
|
205
|
-
getPolicy: function (code, authorization, options) {
|
|
206
|
+
getPolicy: function (code, authorization, expand, options) {
|
|
206
207
|
if (options === void 0) { options = {}; }
|
|
207
208
|
return __awaiter(_this, void 0, void 0, function () {
|
|
208
209
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -228,6 +229,9 @@ var PaymentRemindersApiAxiosParamCreator = function (configuration) {
|
|
|
228
229
|
// authentication bearer required
|
|
229
230
|
// http bearer authentication required
|
|
230
231
|
_a.sent();
|
|
232
|
+
if (expand !== undefined) {
|
|
233
|
+
localVarQueryParameter['expand'] = expand;
|
|
234
|
+
}
|
|
231
235
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
232
236
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
233
237
|
}
|
|
@@ -243,16 +247,16 @@ var PaymentRemindersApiAxiosParamCreator = function (configuration) {
|
|
|
243
247
|
});
|
|
244
248
|
},
|
|
245
249
|
/**
|
|
246
|
-
* Returns a list of payment reminders you have previously created.
|
|
250
|
+
* Returns a list of payment reminders you have previously created. The payment reminders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
247
251
|
* @summary List payment reminders
|
|
248
252
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
249
253
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
250
254
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
251
|
-
* @param {
|
|
252
|
-
* @param {any} [search]
|
|
253
|
-
* @param {
|
|
254
|
-
* @param {
|
|
255
|
-
* @param {
|
|
255
|
+
* @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: code, id, policyCode, nextReminderDate</i>
|
|
256
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
257
|
+
* @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: id, createdAt, updatedAt</i>
|
|
258
|
+
* @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>
|
|
259
|
+
* @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: code, id, policyCode, nextReminderDate</i>
|
|
256
260
|
* @param {*} [options] Override http request option.
|
|
257
261
|
* @throws {RequiredError}
|
|
258
262
|
*/
|
|
@@ -326,7 +330,7 @@ var PaymentRemindersApiFp = function (configuration) {
|
|
|
326
330
|
return {
|
|
327
331
|
/**
|
|
328
332
|
* This will create a payment reminder in the database.
|
|
329
|
-
* @summary Create the payment
|
|
333
|
+
* @summary Create the payment reminder
|
|
330
334
|
* @param {CreatePaymentReminderRequestDto} createPaymentReminderRequestDto
|
|
331
335
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
332
336
|
* @param {*} [options] Override http request option.
|
|
@@ -346,8 +350,8 @@ var PaymentRemindersApiFp = function (configuration) {
|
|
|
346
350
|
});
|
|
347
351
|
},
|
|
348
352
|
/**
|
|
349
|
-
*
|
|
350
|
-
* @summary
|
|
353
|
+
* This will deactivate the payment reminder
|
|
354
|
+
* @summary Deactivate payment reminder
|
|
351
355
|
* @param {string} code Unique identifier for the object.
|
|
352
356
|
* @param {DeactivatePaymentReminderRequestDto} deactivatePaymentReminderRequestDto
|
|
353
357
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -368,19 +372,20 @@ var PaymentRemindersApiFp = function (configuration) {
|
|
|
368
372
|
});
|
|
369
373
|
},
|
|
370
374
|
/**
|
|
371
|
-
* Retrieves the details of the payment reminder that was previously created. Supply the unique payment reminder code
|
|
375
|
+
* Retrieves the details of the payment reminder that was previously created. Supply the unique payment reminder code that was returned when you created it and Emil Api will return the corresponding payment reminder information.
|
|
372
376
|
* @summary Retrieve the payment reminder
|
|
373
377
|
* @param {string} code Unique identifier for the object.
|
|
374
378
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
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.<br/> <br/> <i>Allowed values: .<i>
|
|
375
380
|
* @param {*} [options] Override http request option.
|
|
376
381
|
* @throws {RequiredError}
|
|
377
382
|
*/
|
|
378
|
-
getPolicy: function (code, authorization, options) {
|
|
383
|
+
getPolicy: function (code, authorization, expand, options) {
|
|
379
384
|
return __awaiter(this, void 0, void 0, function () {
|
|
380
385
|
var localVarAxiosArgs;
|
|
381
386
|
return __generator(this, function (_a) {
|
|
382
387
|
switch (_a.label) {
|
|
383
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getPolicy(code, authorization, options)];
|
|
388
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getPolicy(code, authorization, expand, options)];
|
|
384
389
|
case 1:
|
|
385
390
|
localVarAxiosArgs = _a.sent();
|
|
386
391
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -389,16 +394,16 @@ var PaymentRemindersApiFp = function (configuration) {
|
|
|
389
394
|
});
|
|
390
395
|
},
|
|
391
396
|
/**
|
|
392
|
-
* Returns a list of payment reminders you have previously created.
|
|
397
|
+
* Returns a list of payment reminders you have previously created. The payment reminders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
393
398
|
* @summary List payment reminders
|
|
394
399
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
395
400
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
396
401
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
397
|
-
* @param {
|
|
398
|
-
* @param {any} [search]
|
|
399
|
-
* @param {
|
|
400
|
-
* @param {
|
|
401
|
-
* @param {
|
|
402
|
+
* @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: code, id, policyCode, nextReminderDate</i>
|
|
403
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
404
|
+
* @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: id, createdAt, updatedAt</i>
|
|
405
|
+
* @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>
|
|
406
|
+
* @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: code, id, policyCode, nextReminderDate</i>
|
|
402
407
|
* @param {*} [options] Override http request option.
|
|
403
408
|
* @throws {RequiredError}
|
|
404
409
|
*/
|
|
@@ -427,7 +432,7 @@ var PaymentRemindersApiFactory = function (configuration, basePath, axios) {
|
|
|
427
432
|
return {
|
|
428
433
|
/**
|
|
429
434
|
* This will create a payment reminder in the database.
|
|
430
|
-
* @summary Create the payment
|
|
435
|
+
* @summary Create the payment reminder
|
|
431
436
|
* @param {CreatePaymentReminderRequestDto} createPaymentReminderRequestDto
|
|
432
437
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
433
438
|
* @param {*} [options] Override http request option.
|
|
@@ -437,8 +442,8 @@ var PaymentRemindersApiFactory = function (configuration, basePath, axios) {
|
|
|
437
442
|
return localVarFp.createPaymentReminder(createPaymentReminderRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
438
443
|
},
|
|
439
444
|
/**
|
|
440
|
-
*
|
|
441
|
-
* @summary
|
|
445
|
+
* This will deactivate the payment reminder
|
|
446
|
+
* @summary Deactivate payment reminder
|
|
442
447
|
* @param {string} code Unique identifier for the object.
|
|
443
448
|
* @param {DeactivatePaymentReminderRequestDto} deactivatePaymentReminderRequestDto
|
|
444
449
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -449,27 +454,28 @@ var PaymentRemindersApiFactory = function (configuration, basePath, axios) {
|
|
|
449
454
|
return localVarFp.deactivatePaymentReminder(code, deactivatePaymentReminderRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
450
455
|
},
|
|
451
456
|
/**
|
|
452
|
-
* Retrieves the details of the payment reminder that was previously created. Supply the unique payment reminder code
|
|
457
|
+
* Retrieves the details of the payment reminder that was previously created. Supply the unique payment reminder code that was returned when you created it and Emil Api will return the corresponding payment reminder information.
|
|
453
458
|
* @summary Retrieve the payment reminder
|
|
454
459
|
* @param {string} code Unique identifier for the object.
|
|
455
460
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
461
|
+
* @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>
|
|
456
462
|
* @param {*} [options] Override http request option.
|
|
457
463
|
* @throws {RequiredError}
|
|
458
464
|
*/
|
|
459
|
-
getPolicy: function (code, authorization, options) {
|
|
460
|
-
return localVarFp.getPolicy(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
465
|
+
getPolicy: function (code, authorization, expand, options) {
|
|
466
|
+
return localVarFp.getPolicy(code, authorization, expand, options).then(function (request) { return request(axios, basePath); });
|
|
461
467
|
},
|
|
462
468
|
/**
|
|
463
|
-
* Returns a list of payment reminders you have previously created.
|
|
469
|
+
* Returns a list of payment reminders you have previously created. The payment reminders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
464
470
|
* @summary List payment reminders
|
|
465
471
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
466
472
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
467
473
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
468
|
-
* @param {
|
|
469
|
-
* @param {any} [search]
|
|
470
|
-
* @param {
|
|
471
|
-
* @param {
|
|
472
|
-
* @param {
|
|
474
|
+
* @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: code, id, policyCode, nextReminderDate</i>
|
|
475
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
476
|
+
* @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: id, createdAt, updatedAt</i>
|
|
477
|
+
* @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>
|
|
478
|
+
* @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: code, id, policyCode, nextReminderDate</i>
|
|
473
479
|
* @param {*} [options] Override http request option.
|
|
474
480
|
* @throws {RequiredError}
|
|
475
481
|
*/
|
|
@@ -492,7 +498,7 @@ var PaymentRemindersApi = /** @class */ (function (_super) {
|
|
|
492
498
|
}
|
|
493
499
|
/**
|
|
494
500
|
* This will create a payment reminder in the database.
|
|
495
|
-
* @summary Create the payment
|
|
501
|
+
* @summary Create the payment reminder
|
|
496
502
|
* @param {PaymentRemindersApiCreatePaymentReminderRequest} requestParameters Request parameters.
|
|
497
503
|
* @param {*} [options] Override http request option.
|
|
498
504
|
* @throws {RequiredError}
|
|
@@ -503,8 +509,8 @@ var PaymentRemindersApi = /** @class */ (function (_super) {
|
|
|
503
509
|
return (0, exports.PaymentRemindersApiFp)(this.configuration).createPaymentReminder(requestParameters.createPaymentReminderRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
504
510
|
};
|
|
505
511
|
/**
|
|
506
|
-
*
|
|
507
|
-
* @summary
|
|
512
|
+
* This will deactivate the payment reminder
|
|
513
|
+
* @summary Deactivate payment reminder
|
|
508
514
|
* @param {PaymentRemindersApiDeactivatePaymentReminderRequest} requestParameters Request parameters.
|
|
509
515
|
* @param {*} [options] Override http request option.
|
|
510
516
|
* @throws {RequiredError}
|
|
@@ -515,7 +521,7 @@ var PaymentRemindersApi = /** @class */ (function (_super) {
|
|
|
515
521
|
return (0, exports.PaymentRemindersApiFp)(this.configuration).deactivatePaymentReminder(requestParameters.code, requestParameters.deactivatePaymentReminderRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
516
522
|
};
|
|
517
523
|
/**
|
|
518
|
-
* Retrieves the details of the payment reminder that was previously created. Supply the unique payment reminder code
|
|
524
|
+
* Retrieves the details of the payment reminder that was previously created. Supply the unique payment reminder code that was returned when you created it and Emil Api will return the corresponding payment reminder information.
|
|
519
525
|
* @summary Retrieve the payment reminder
|
|
520
526
|
* @param {PaymentRemindersApiGetPolicyRequest} requestParameters Request parameters.
|
|
521
527
|
* @param {*} [options] Override http request option.
|
|
@@ -524,10 +530,10 @@ var PaymentRemindersApi = /** @class */ (function (_super) {
|
|
|
524
530
|
*/
|
|
525
531
|
PaymentRemindersApi.prototype.getPolicy = function (requestParameters, options) {
|
|
526
532
|
var _this = this;
|
|
527
|
-
return (0, exports.PaymentRemindersApiFp)(this.configuration).getPolicy(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
533
|
+
return (0, exports.PaymentRemindersApiFp)(this.configuration).getPolicy(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
528
534
|
};
|
|
529
535
|
/**
|
|
530
|
-
* Returns a list of payment reminders you have previously created.
|
|
536
|
+
* Returns a list of payment reminders you have previously created. The payment reminders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
531
537
|
* @summary List payment reminders
|
|
532
538
|
* @param {PaymentRemindersApiListPaymentRemindersRequest} requestParameters Request parameters.
|
|
533
539
|
* @param {*} [options] Override http request option.
|