@emilgroup/payment-sdk 1.0.0 → 1.4.1-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (178) hide show
  1. package/.openapi-generator/FILES +15 -30
  2. package/README.md +2 -2
  3. package/api/bank-accounts-api.ts +21 -25
  4. package/api/bank-transaction-api.ts +657 -0
  5. package/api/default-api.ts +1 -1
  6. package/api/payment-methods-api.ts +42 -46
  7. package/api/payment-reminders-api.ts +17 -19
  8. package/api/payment-setup-api.ts +29 -37
  9. package/api/payments-api.ts +30 -32
  10. package/api/refunds-api.ts +462 -0
  11. package/api/tenant-bank-account-api.ts +651 -0
  12. package/api/webhooks-api.ts +1 -1
  13. package/api.ts +7 -3
  14. package/base.ts +2 -1
  15. package/common.ts +2 -2
  16. package/configuration.ts +1 -1
  17. package/dist/api/bank-accounts-api.d.ts +17 -19
  18. package/dist/api/bank-accounts-api.js +16 -16
  19. package/dist/api/bank-transaction-api.d.ts +371 -0
  20. package/dist/api/bank-transaction-api.js +632 -0
  21. package/dist/api/default-api.d.ts +1 -1
  22. package/dist/api/default-api.js +1 -1
  23. package/dist/api/payment-methods-api.d.ts +32 -36
  24. package/dist/api/payment-methods-api.js +32 -28
  25. package/dist/api/payment-reminders-api.d.ts +21 -22
  26. package/dist/api/payment-reminders-api.js +8 -8
  27. package/dist/api/payment-setup-api.d.ts +19 -23
  28. package/dist/api/payment-setup-api.js +25 -25
  29. package/dist/api/payments-api.d.ts +26 -29
  30. package/dist/api/payments-api.js +20 -16
  31. package/dist/api/refunds-api.d.ts +260 -0
  32. package/dist/api/refunds-api.js +443 -0
  33. package/dist/api/tenant-bank-account-api.d.ts +361 -0
  34. package/dist/api/tenant-bank-account-api.js +616 -0
  35. package/dist/api/webhooks-api.d.ts +1 -1
  36. package/dist/api/webhooks-api.js +1 -1
  37. package/dist/api.d.ts +4 -2
  38. package/dist/api.js +4 -2
  39. package/dist/base.d.ts +1 -1
  40. package/dist/base.js +2 -1
  41. package/dist/common.d.ts +2 -2
  42. package/dist/common.js +1 -1
  43. package/dist/configuration.d.ts +1 -1
  44. package/dist/configuration.js +1 -1
  45. package/dist/index.d.ts +1 -1
  46. package/dist/index.js +1 -1
  47. package/dist/models/bank-transaction-response-class.d.ts +122 -0
  48. package/dist/models/{bank-account-class.js → bank-transaction-response-class.js} +1 -1
  49. package/dist/models/create-payment-reminder-request-dto.d.ts +1 -1
  50. package/dist/models/create-payment-reminder-request-dto.js +1 -1
  51. package/dist/models/create-payment-request-dto.d.ts +3 -3
  52. package/dist/models/create-payment-request-dto.js +1 -1
  53. package/dist/models/{sepa-direct-dto.d.ts → create-refund-request-dto.d.ts} +6 -6
  54. package/dist/models/{complete-braintree-payment-setup-request-dto.js → create-refund-request-dto.js} +1 -1
  55. package/dist/models/{validate-pspconfig-response-class.d.ts → create-refund-response-class.d.ts} +8 -7
  56. package/dist/models/{billing-profile-dto.js → create-refund-response-class.js} +1 -1
  57. package/dist/models/{billing-profile-limited-response-dto.d.ts → create-tenant-bank-account-request-dto.d.ts} +15 -27
  58. package/dist/models/{billing-profile-limited-response-dto.js → create-tenant-bank-account-request-dto.js} +1 -1
  59. package/dist/models/deactivate-payment-reminder-request-dto.d.ts +1 -1
  60. package/dist/models/deactivate-payment-reminder-request-dto.js +1 -1
  61. package/dist/models/{get-payment-method-response-class.d.ts → get-bank-transactions-response-class.d.ts} +8 -8
  62. package/dist/models/get-bank-transactions-response-class.js +15 -0
  63. package/dist/models/{get-payment-response-class.d.ts → get-refund-response-class.d.ts} +8 -8
  64. package/dist/models/get-refund-response-class.js +15 -0
  65. package/dist/models/get-request-dto.d.ts +2 -2
  66. package/dist/models/get-request-dto.js +1 -1
  67. package/dist/models/{create-bank-account-request-dto.d.ts → get-tenant-bank-account-response-class.d.ts} +8 -13
  68. package/dist/models/get-tenant-bank-account-response-class.js +15 -0
  69. package/dist/models/index.d.ts +12 -29
  70. package/dist/models/index.js +12 -29
  71. package/dist/models/inline-response200.d.ts +7 -7
  72. package/dist/models/inline-response200.js +1 -1
  73. package/dist/models/inline-response503.d.ts +7 -7
  74. package/dist/models/inline-response503.js +1 -1
  75. package/dist/models/{list-payment-methods-response-class.d.ts → list-bank-transactions-response-class.d.ts} +9 -9
  76. package/dist/models/list-bank-transactions-response-class.js +15 -0
  77. package/dist/models/{list-payments-response-class.d.ts → list-refunds-response-class.d.ts} +9 -9
  78. package/dist/models/list-refunds-response-class.js +15 -0
  79. package/dist/models/refund-class.d.ts +104 -0
  80. package/dist/models/refund-class.js +28 -0
  81. package/dist/models/{payment-method-class.d.ts → tenant-bank-account-response-class.d.ts} +25 -19
  82. package/dist/models/tenant-bank-account-response-class.js +15 -0
  83. package/dist/models/transaction-class.d.ts +1 -1
  84. package/dist/models/transaction-class.js +1 -1
  85. package/dist/models/{symphony-profile-limited-response-dto.d.ts → update-tenant-bank-account-rest-request-dto.d.ts} +12 -18
  86. package/dist/models/update-tenant-bank-account-rest-request-dto.js +15 -0
  87. package/dist/models/validate-pspconfig-request-dto.d.ts +2 -9
  88. package/dist/models/validate-pspconfig-request-dto.js +1 -8
  89. package/git_push.sh +1 -1
  90. package/index.ts +1 -1
  91. package/models/bank-transaction-response-class.ts +128 -0
  92. package/models/create-payment-reminder-request-dto.ts +1 -1
  93. package/models/create-payment-request-dto.ts +3 -3
  94. package/models/{sepa-direct-dto.ts → create-refund-request-dto.ts} +6 -6
  95. package/models/{validate-pspconfig-response-class.ts → create-refund-response-class.ts} +8 -7
  96. package/models/{billing-profile-limited-response-dto.ts → create-tenant-bank-account-request-dto.ts} +15 -27
  97. package/models/deactivate-payment-reminder-request-dto.ts +1 -1
  98. package/models/{get-payment-method-response-class.ts → get-bank-transactions-response-class.ts} +8 -8
  99. package/models/{get-payment-response-class.ts → get-refund-response-class.ts} +8 -8
  100. package/models/get-request-dto.ts +2 -2
  101. package/models/{create-bank-account-request-dto.ts → get-tenant-bank-account-response-class.ts} +8 -13
  102. package/models/index.ts +12 -29
  103. package/models/inline-response200.ts +7 -7
  104. package/models/inline-response503.ts +7 -7
  105. package/models/{list-payment-methods-response-class.ts → list-bank-transactions-response-class.ts} +9 -9
  106. package/models/{list-payments-response-class.ts → list-refunds-response-class.ts} +9 -9
  107. package/models/refund-class.ts +114 -0
  108. package/models/{payment-method-class.ts → tenant-bank-account-response-class.ts} +25 -19
  109. package/models/transaction-class.ts +1 -1
  110. package/models/{symphony-profile-limited-response-dto.ts → update-tenant-bank-account-rest-request-dto.ts} +12 -18
  111. package/models/validate-pspconfig-request-dto.ts +2 -12
  112. package/package.json +1 -2
  113. package/api/payment-service-providers-api.ts +0 -161
  114. package/dist/api/payment-service-providers-api.d.ts +0 -93
  115. package/dist/api/payment-service-providers-api.js +0 -220
  116. package/dist/models/bank-account-class.d.ts +0 -54
  117. package/dist/models/billing-profile-dto.d.ts +0 -38
  118. package/dist/models/complete-braintree-payment-setup-request-dto.d.ts +0 -48
  119. package/dist/models/complete-payment-setup-request-dto.d.ts +0 -32
  120. package/dist/models/complete-payment-setup-request-dto.js +0 -15
  121. package/dist/models/complete-payment-setup-response-class.d.ts +0 -25
  122. package/dist/models/complete-payment-setup-response-class.js +0 -15
  123. package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +0 -60
  124. package/dist/models/complete-stripe-payment-setup-request-dto.js +0 -15
  125. package/dist/models/create-bank-account-request-dto.js +0 -15
  126. package/dist/models/create-payment-method-response-class.d.ts +0 -25
  127. package/dist/models/create-payment-method-response-class.js +0 -15
  128. package/dist/models/create-payment-response-class.d.ts +0 -25
  129. package/dist/models/create-payment-response-class.js +0 -15
  130. package/dist/models/create-psp-payment-method-request-dto.d.ts +0 -61
  131. package/dist/models/create-psp-payment-method-request-dto.js +0 -32
  132. package/dist/models/get-payment-method-response-class.js +0 -15
  133. package/dist/models/get-payment-response-class.js +0 -15
  134. package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +0 -30
  135. package/dist/models/initiate-braintree-payment-setup-request-dto.js +0 -15
  136. package/dist/models/initiate-braintree-payment-setup-response-class.d.ts +0 -24
  137. package/dist/models/initiate-braintree-payment-setup-response-class.js +0 -15
  138. package/dist/models/initiate-payment-setup-request-dto.d.ts +0 -44
  139. package/dist/models/initiate-payment-setup-request-dto.js +0 -15
  140. package/dist/models/initiate-payment-setup-response-class.d.ts +0 -32
  141. package/dist/models/initiate-payment-setup-response-class.js +0 -15
  142. package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +0 -30
  143. package/dist/models/initiate-stripe-payment-setup-request-dto.js +0 -15
  144. package/dist/models/initiate-stripe-payment-setup-response-class.d.ts +0 -30
  145. package/dist/models/initiate-stripe-payment-setup-response-class.js +0 -15
  146. package/dist/models/list-bank-accounts-response-class.d.ts +0 -31
  147. package/dist/models/list-bank-accounts-response-class.js +0 -15
  148. package/dist/models/list-payment-methods-response-class.js +0 -15
  149. package/dist/models/list-payment-reminders-response-class.d.ts +0 -31
  150. package/dist/models/list-payment-reminders-response-class.js +0 -15
  151. package/dist/models/list-payments-response-class.js +0 -15
  152. package/dist/models/payment-class.d.ts +0 -103
  153. package/dist/models/payment-class.js +0 -15
  154. package/dist/models/payment-method-class.js +0 -15
  155. package/dist/models/payment-reminder-class.d.ts +0 -112
  156. package/dist/models/payment-reminder-class.js +0 -36
  157. package/dist/models/sepa-direct-dto.js +0 -15
  158. package/dist/models/symphony-profile-limited-response-dto.js +0 -15
  159. package/dist/models/validate-pspconfig-response-class.js +0 -15
  160. package/models/bank-account-class.ts +0 -60
  161. package/models/billing-profile-dto.ts +0 -44
  162. package/models/complete-braintree-payment-setup-request-dto.ts +0 -54
  163. package/models/complete-payment-setup-request-dto.ts +0 -38
  164. package/models/complete-payment-setup-response-class.ts +0 -31
  165. package/models/complete-stripe-payment-setup-request-dto.ts +0 -66
  166. package/models/create-payment-method-response-class.ts +0 -31
  167. package/models/create-payment-response-class.ts +0 -31
  168. package/models/create-psp-payment-method-request-dto.ts +0 -70
  169. package/models/initiate-braintree-payment-setup-request-dto.ts +0 -36
  170. package/models/initiate-braintree-payment-setup-response-class.ts +0 -30
  171. package/models/initiate-payment-setup-request-dto.ts +0 -50
  172. package/models/initiate-payment-setup-response-class.ts +0 -38
  173. package/models/initiate-stripe-payment-setup-request-dto.ts +0 -36
  174. package/models/initiate-stripe-payment-setup-response-class.ts +0 -36
  175. package/models/list-bank-accounts-response-class.ts +0 -37
  176. package/models/list-payment-reminders-response-class.ts +0 -37
  177. package/models/payment-class.ts +0 -109
  178. package/models/payment-reminder-class.ts +0 -122
@@ -3,7 +3,7 @@
3
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
- * Contact: kontakt@emil.de
6
+ * Contact: z
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -12,10 +12,6 @@
12
12
  import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
13
  import { Configuration } from '../configuration';
14
14
  import { RequestArgs, BaseAPI } from '../base';
15
- import { CreatePaymentMethodResponseClass } from '../models';
16
- import { CreatePspPaymentMethodRequestDto } from '../models';
17
- import { GetPaymentMethodResponseClass } from '../models';
18
- import { ListPaymentMethodsResponseClass } from '../models';
19
15
  /**
20
16
  * PaymentMethodsApi - axios parameter creator
21
17
  * @export
@@ -24,12 +20,12 @@ export declare const PaymentMethodsApiAxiosParamCreator: (configuration?: Config
24
20
  /**
25
21
  * This will create payment method in the database as well as in the PSP. The newly created payment method will be set as default payment method will be used by the customer to pay or receive a refund.
26
22
  * @summary Create the payment-method
27
- * @param {CreatePspPaymentMethodRequestDto} createPspPaymentMethodRequestDto
23
+ * @param {object} body
28
24
  * @param {string} [authorization] Bearer Token
29
25
  * @param {*} [options] Override http request option.
30
26
  * @throws {RequiredError}
31
27
  */
32
- createPaymentMethod: (createPspPaymentMethodRequestDto: CreatePspPaymentMethodRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
28
+ createPaymentMethod: (body: object, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
33
29
  /**
34
30
  * Permanently deletes a payment method. Supply the unique payment method id that was returned when you created the payment method and this will delete it. It will also delete it on the corresponding payment service provider.
35
31
  * @summary Delete a payment method
@@ -43,18 +39,18 @@ export declare const PaymentMethodsApiAxiosParamCreator: (configuration?: Config
43
39
  * Retrieves the details of a payment method that was previously created. Supply the unique payment method code that was returned when you created the payment method and Emil Api will return the corresponding payment method information.
44
40
  * @summary Retrieve a payment method
45
41
  * @param {string} code Unique identifier for the object.
42
+ * @param {string} expand Fields to expand response by
43
+ * @param {string} expand2 Fields to expand response by
46
44
  * @param {string} [authorization] Bearer Token
47
- * @param {string} [expand] Fields to expand response by
48
- * @param {string} [expand2] Fields to expand response by
49
45
  * @param {*} [options] Override http request option.
50
46
  * @throws {RequiredError}
51
47
  */
52
- getPaymentMethod: (code: string, authorization?: string, expand?: string, expand2?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
48
+ getPaymentMethod: (code: string, expand: string, expand2: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
53
49
  /**
54
50
  * Returns a list of payment methods you’ve previously created. The payment methods are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
55
51
  * @summary List payment methods
56
52
  * @param {string} [authorization] Bearer Token
57
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
53
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
58
54
  * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
59
55
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
60
56
  * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
@@ -73,12 +69,12 @@ export declare const PaymentMethodsApiFp: (configuration?: Configuration) => {
73
69
  /**
74
70
  * This will create payment method in the database as well as in the PSP. The newly created payment method will be set as default payment method will be used by the customer to pay or receive a refund.
75
71
  * @summary Create the payment-method
76
- * @param {CreatePspPaymentMethodRequestDto} createPspPaymentMethodRequestDto
72
+ * @param {object} body
77
73
  * @param {string} [authorization] Bearer Token
78
74
  * @param {*} [options] Override http request option.
79
75
  * @throws {RequiredError}
80
76
  */
81
- createPaymentMethod(createPspPaymentMethodRequestDto: CreatePspPaymentMethodRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePaymentMethodResponseClass>>;
77
+ createPaymentMethod(body: object, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
82
78
  /**
83
79
  * Permanently deletes a payment method. Supply the unique payment method id that was returned when you created the payment method and this will delete it. It will also delete it on the corresponding payment service provider.
84
80
  * @summary Delete a payment method
@@ -92,18 +88,18 @@ export declare const PaymentMethodsApiFp: (configuration?: Configuration) => {
92
88
  * Retrieves the details of a payment method that was previously created. Supply the unique payment method code that was returned when you created the payment method and Emil Api will return the corresponding payment method information.
93
89
  * @summary Retrieve a payment method
94
90
  * @param {string} code Unique identifier for the object.
91
+ * @param {string} expand Fields to expand response by
92
+ * @param {string} expand2 Fields to expand response by
95
93
  * @param {string} [authorization] Bearer Token
96
- * @param {string} [expand] Fields to expand response by
97
- * @param {string} [expand2] Fields to expand response by
98
94
  * @param {*} [options] Override http request option.
99
95
  * @throws {RequiredError}
100
96
  */
101
- getPaymentMethod(code: string, authorization?: string, expand?: string, expand2?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPaymentMethodResponseClass>>;
97
+ getPaymentMethod(code: string, expand: string, expand2: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
102
98
  /**
103
99
  * Returns a list of payment methods you’ve previously created. The payment methods are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
104
100
  * @summary List payment methods
105
101
  * @param {string} [authorization] Bearer Token
106
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
102
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
107
103
  * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
108
104
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
109
105
  * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
@@ -112,7 +108,7 @@ export declare const PaymentMethodsApiFp: (configuration?: Configuration) => {
112
108
  * @param {*} [options] Override http request option.
113
109
  * @throws {RequiredError}
114
110
  */
115
- listPaymentMethods(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPaymentMethodsResponseClass>>;
111
+ listPaymentMethods(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
116
112
  };
117
113
  /**
118
114
  * PaymentMethodsApi - factory interface
@@ -122,12 +118,12 @@ export declare const PaymentMethodsApiFactory: (configuration?: Configuration, b
122
118
  /**
123
119
  * This will create payment method in the database as well as in the PSP. The newly created payment method will be set as default payment method will be used by the customer to pay or receive a refund.
124
120
  * @summary Create the payment-method
125
- * @param {CreatePspPaymentMethodRequestDto} createPspPaymentMethodRequestDto
121
+ * @param {object} body
126
122
  * @param {string} [authorization] Bearer Token
127
123
  * @param {*} [options] Override http request option.
128
124
  * @throws {RequiredError}
129
125
  */
130
- createPaymentMethod(createPspPaymentMethodRequestDto: CreatePspPaymentMethodRequestDto, authorization?: string, options?: any): AxiosPromise<CreatePaymentMethodResponseClass>;
126
+ createPaymentMethod(body: object, authorization?: string, options?: any): AxiosPromise<void>;
131
127
  /**
132
128
  * Permanently deletes a payment method. Supply the unique payment method id that was returned when you created the payment method and this will delete it. It will also delete it on the corresponding payment service provider.
133
129
  * @summary Delete a payment method
@@ -141,18 +137,18 @@ export declare const PaymentMethodsApiFactory: (configuration?: Configuration, b
141
137
  * Retrieves the details of a payment method that was previously created. Supply the unique payment method code that was returned when you created the payment method and Emil Api will return the corresponding payment method information.
142
138
  * @summary Retrieve a payment method
143
139
  * @param {string} code Unique identifier for the object.
140
+ * @param {string} expand Fields to expand response by
141
+ * @param {string} expand2 Fields to expand response by
144
142
  * @param {string} [authorization] Bearer Token
145
- * @param {string} [expand] Fields to expand response by
146
- * @param {string} [expand2] Fields to expand response by
147
143
  * @param {*} [options] Override http request option.
148
144
  * @throws {RequiredError}
149
145
  */
150
- getPaymentMethod(code: string, authorization?: string, expand?: string, expand2?: string, options?: any): AxiosPromise<GetPaymentMethodResponseClass>;
146
+ getPaymentMethod(code: string, expand: string, expand2: string, authorization?: string, options?: any): AxiosPromise<void>;
151
147
  /**
152
148
  * Returns a list of payment methods you’ve previously created. The payment methods are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
153
149
  * @summary List payment methods
154
150
  * @param {string} [authorization] Bearer Token
155
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
151
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
156
152
  * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
157
153
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
158
154
  * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
@@ -161,7 +157,7 @@ export declare const PaymentMethodsApiFactory: (configuration?: Configuration, b
161
157
  * @param {*} [options] Override http request option.
162
158
  * @throws {RequiredError}
163
159
  */
164
- listPaymentMethods(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<ListPaymentMethodsResponseClass>;
160
+ listPaymentMethods(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<void>;
165
161
  };
166
162
  /**
167
163
  * Request parameters for createPaymentMethod operation in PaymentMethodsApi.
@@ -171,10 +167,10 @@ export declare const PaymentMethodsApiFactory: (configuration?: Configuration, b
171
167
  export interface PaymentMethodsApiCreatePaymentMethodRequest {
172
168
  /**
173
169
  *
174
- * @type {CreatePspPaymentMethodRequestDto}
170
+ * @type {object}
175
171
  * @memberof PaymentMethodsApiCreatePaymentMethod
176
172
  */
177
- readonly createPspPaymentMethodRequestDto: CreatePspPaymentMethodRequestDto;
173
+ readonly body: object;
178
174
  /**
179
175
  * Bearer Token
180
176
  * @type {string}
@@ -214,23 +210,23 @@ export interface PaymentMethodsApiGetPaymentMethodRequest {
214
210
  */
215
211
  readonly code: string;
216
212
  /**
217
- * Bearer Token
213
+ * Fields to expand response by
218
214
  * @type {string}
219
215
  * @memberof PaymentMethodsApiGetPaymentMethod
220
216
  */
221
- readonly authorization?: string;
217
+ readonly expand: string;
222
218
  /**
223
219
  * Fields to expand response by
224
220
  * @type {string}
225
221
  * @memberof PaymentMethodsApiGetPaymentMethod
226
222
  */
227
- readonly expand?: string;
223
+ readonly expand2: string;
228
224
  /**
229
- * Fields to expand response by
225
+ * Bearer Token
230
226
  * @type {string}
231
227
  * @memberof PaymentMethodsApiGetPaymentMethod
232
228
  */
233
- readonly expand2?: string;
229
+ readonly authorization?: string;
234
230
  }
235
231
  /**
236
232
  * Request parameters for listPaymentMethods operation in PaymentMethodsApi.
@@ -245,7 +241,7 @@ export interface PaymentMethodsApiListPaymentMethodsRequest {
245
241
  */
246
242
  readonly authorization?: string;
247
243
  /**
248
- * A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
244
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
249
245
  * @type {any}
250
246
  * @memberof PaymentMethodsApiListPaymentMethods
251
247
  */
@@ -296,7 +292,7 @@ export declare class PaymentMethodsApi extends BaseAPI {
296
292
  * @throws {RequiredError}
297
293
  * @memberof PaymentMethodsApi
298
294
  */
299
- createPaymentMethod(requestParameters: PaymentMethodsApiCreatePaymentMethodRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePaymentMethodResponseClass, any>>;
295
+ createPaymentMethod(requestParameters: PaymentMethodsApiCreatePaymentMethodRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
300
296
  /**
301
297
  * Permanently deletes a payment method. Supply the unique payment method id that was returned when you created the payment method and this will delete it. It will also delete it on the corresponding payment service provider.
302
298
  * @summary Delete a payment method
@@ -314,7 +310,7 @@ export declare class PaymentMethodsApi extends BaseAPI {
314
310
  * @throws {RequiredError}
315
311
  * @memberof PaymentMethodsApi
316
312
  */
317
- getPaymentMethod(requestParameters: PaymentMethodsApiGetPaymentMethodRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPaymentMethodResponseClass, any>>;
313
+ getPaymentMethod(requestParameters: PaymentMethodsApiGetPaymentMethodRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
318
314
  /**
319
315
  * Returns a list of payment methods you’ve previously created. The payment methods are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
320
316
  * @summary List payment methods
@@ -323,5 +319,5 @@ export declare class PaymentMethodsApi extends BaseAPI {
323
319
  * @throws {RequiredError}
324
320
  * @memberof PaymentMethodsApi
325
321
  */
326
- listPaymentMethods(requestParameters?: PaymentMethodsApiListPaymentMethodsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPaymentMethodsResponseClass, any>>;
322
+ listPaymentMethods(requestParameters?: PaymentMethodsApiListPaymentMethodsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
327
323
  }
@@ -6,7 +6,7 @@
6
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
- * Contact: kontakt@emil.de
9
+ * Contact: z
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -95,20 +95,20 @@ var PaymentMethodsApiAxiosParamCreator = function (configuration) {
95
95
  /**
96
96
  * This will create payment method in the database as well as in the PSP. The newly created payment method will be set as default payment method will be used by the customer to pay or receive a refund.
97
97
  * @summary Create the payment-method
98
- * @param {CreatePspPaymentMethodRequestDto} createPspPaymentMethodRequestDto
98
+ * @param {object} body
99
99
  * @param {string} [authorization] Bearer Token
100
100
  * @param {*} [options] Override http request option.
101
101
  * @throws {RequiredError}
102
102
  */
103
- createPaymentMethod: function (createPspPaymentMethodRequestDto, authorization, options) {
103
+ createPaymentMethod: function (body, authorization, options) {
104
104
  if (options === void 0) { options = {}; }
105
105
  return __awaiter(_this, void 0, void 0, function () {
106
106
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
107
107
  return __generator(this, function (_a) {
108
108
  switch (_a.label) {
109
109
  case 0:
110
- // verify required parameter 'createPspPaymentMethodRequestDto' is not null or undefined
111
- (0, common_1.assertParamExists)('createPaymentMethod', 'createPspPaymentMethodRequestDto', createPspPaymentMethodRequestDto);
110
+ // verify required parameter 'body' is not null or undefined
111
+ (0, common_1.assertParamExists)('createPaymentMethod', 'body', body);
112
112
  localVarPath = "/paymentservice/v1/payment-methods";
113
113
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
114
114
  if (configuration) {
@@ -132,7 +132,7 @@ var PaymentMethodsApiAxiosParamCreator = function (configuration) {
132
132
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
133
133
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
134
134
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
135
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createPspPaymentMethodRequestDto, localVarRequestOptions, configuration);
135
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
136
136
  return [2 /*return*/, {
137
137
  url: (0, common_1.toPathString)(localVarUrlObj),
138
138
  options: localVarRequestOptions,
@@ -195,13 +195,13 @@ var PaymentMethodsApiAxiosParamCreator = function (configuration) {
195
195
  * Retrieves the details of a payment method that was previously created. Supply the unique payment method code that was returned when you created the payment method and Emil Api will return the corresponding payment method information.
196
196
  * @summary Retrieve a payment method
197
197
  * @param {string} code Unique identifier for the object.
198
+ * @param {string} expand Fields to expand response by
199
+ * @param {string} expand2 Fields to expand response by
198
200
  * @param {string} [authorization] Bearer Token
199
- * @param {string} [expand] Fields to expand response by
200
- * @param {string} [expand2] Fields to expand response by
201
201
  * @param {*} [options] Override http request option.
202
202
  * @throws {RequiredError}
203
203
  */
204
- getPaymentMethod: function (code, authorization, expand, expand2, options) {
204
+ getPaymentMethod: function (code, expand, expand2, authorization, options) {
205
205
  if (options === void 0) { options = {}; }
206
206
  return __awaiter(_this, void 0, void 0, function () {
207
207
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -210,6 +210,10 @@ var PaymentMethodsApiAxiosParamCreator = function (configuration) {
210
210
  case 0:
211
211
  // verify required parameter 'code' is not null or undefined
212
212
  (0, common_1.assertParamExists)('getPaymentMethod', 'code', code);
213
+ // verify required parameter 'expand' is not null or undefined
214
+ (0, common_1.assertParamExists)('getPaymentMethod', 'expand', expand);
215
+ // verify required parameter 'expand2' is not null or undefined
216
+ (0, common_1.assertParamExists)('getPaymentMethod', 'expand2', expand2);
213
217
  localVarPath = "/paymentservice/v1/payment-methods/{code}";
214
218
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
215
219
  if (configuration) {
@@ -253,7 +257,7 @@ var PaymentMethodsApiAxiosParamCreator = function (configuration) {
253
257
  * Returns a list of payment methods you’ve previously created. The payment methods are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
254
258
  * @summary List payment methods
255
259
  * @param {string} [authorization] Bearer Token
256
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
260
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
257
261
  * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
258
262
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
259
263
  * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
@@ -330,17 +334,17 @@ var PaymentMethodsApiFp = function (configuration) {
330
334
  /**
331
335
  * This will create payment method in the database as well as in the PSP. The newly created payment method will be set as default payment method will be used by the customer to pay or receive a refund.
332
336
  * @summary Create the payment-method
333
- * @param {CreatePspPaymentMethodRequestDto} createPspPaymentMethodRequestDto
337
+ * @param {object} body
334
338
  * @param {string} [authorization] Bearer Token
335
339
  * @param {*} [options] Override http request option.
336
340
  * @throws {RequiredError}
337
341
  */
338
- createPaymentMethod: function (createPspPaymentMethodRequestDto, authorization, options) {
342
+ createPaymentMethod: function (body, authorization, options) {
339
343
  return __awaiter(this, void 0, void 0, function () {
340
344
  var localVarAxiosArgs;
341
345
  return __generator(this, function (_a) {
342
346
  switch (_a.label) {
343
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.createPaymentMethod(createPspPaymentMethodRequestDto, authorization, options)];
347
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.createPaymentMethod(body, authorization, options)];
344
348
  case 1:
345
349
  localVarAxiosArgs = _a.sent();
346
350
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -373,18 +377,18 @@ var PaymentMethodsApiFp = function (configuration) {
373
377
  * Retrieves the details of a payment method that was previously created. Supply the unique payment method code that was returned when you created the payment method and Emil Api will return the corresponding payment method information.
374
378
  * @summary Retrieve a payment method
375
379
  * @param {string} code Unique identifier for the object.
380
+ * @param {string} expand Fields to expand response by
381
+ * @param {string} expand2 Fields to expand response by
376
382
  * @param {string} [authorization] Bearer Token
377
- * @param {string} [expand] Fields to expand response by
378
- * @param {string} [expand2] Fields to expand response by
379
383
  * @param {*} [options] Override http request option.
380
384
  * @throws {RequiredError}
381
385
  */
382
- getPaymentMethod: function (code, authorization, expand, expand2, options) {
386
+ getPaymentMethod: function (code, expand, expand2, authorization, options) {
383
387
  return __awaiter(this, void 0, void 0, function () {
384
388
  var localVarAxiosArgs;
385
389
  return __generator(this, function (_a) {
386
390
  switch (_a.label) {
387
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getPaymentMethod(code, authorization, expand, expand2, options)];
391
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getPaymentMethod(code, expand, expand2, authorization, options)];
388
392
  case 1:
389
393
  localVarAxiosArgs = _a.sent();
390
394
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -396,7 +400,7 @@ var PaymentMethodsApiFp = function (configuration) {
396
400
  * Returns a list of payment methods you’ve previously created. The payment methods are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
397
401
  * @summary List payment methods
398
402
  * @param {string} [authorization] Bearer Token
399
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
403
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
400
404
  * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
401
405
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
402
406
  * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
@@ -431,13 +435,13 @@ var PaymentMethodsApiFactory = function (configuration, basePath, axios) {
431
435
  /**
432
436
  * This will create payment method in the database as well as in the PSP. The newly created payment method will be set as default payment method will be used by the customer to pay or receive a refund.
433
437
  * @summary Create the payment-method
434
- * @param {CreatePspPaymentMethodRequestDto} createPspPaymentMethodRequestDto
438
+ * @param {object} body
435
439
  * @param {string} [authorization] Bearer Token
436
440
  * @param {*} [options] Override http request option.
437
441
  * @throws {RequiredError}
438
442
  */
439
- createPaymentMethod: function (createPspPaymentMethodRequestDto, authorization, options) {
440
- return localVarFp.createPaymentMethod(createPspPaymentMethodRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
443
+ createPaymentMethod: function (body, authorization, options) {
444
+ return localVarFp.createPaymentMethod(body, authorization, options).then(function (request) { return request(axios, basePath); });
441
445
  },
442
446
  /**
443
447
  * Permanently deletes a payment method. Supply the unique payment method id that was returned when you created the payment method and this will delete it. It will also delete it on the corresponding payment service provider.
@@ -454,20 +458,20 @@ var PaymentMethodsApiFactory = function (configuration, basePath, axios) {
454
458
  * Retrieves the details of a payment method that was previously created. Supply the unique payment method code that was returned when you created the payment method and Emil Api will return the corresponding payment method information.
455
459
  * @summary Retrieve a payment method
456
460
  * @param {string} code Unique identifier for the object.
461
+ * @param {string} expand Fields to expand response by
462
+ * @param {string} expand2 Fields to expand response by
457
463
  * @param {string} [authorization] Bearer Token
458
- * @param {string} [expand] Fields to expand response by
459
- * @param {string} [expand2] Fields to expand response by
460
464
  * @param {*} [options] Override http request option.
461
465
  * @throws {RequiredError}
462
466
  */
463
- getPaymentMethod: function (code, authorization, expand, expand2, options) {
464
- return localVarFp.getPaymentMethod(code, authorization, expand, expand2, options).then(function (request) { return request(axios, basePath); });
467
+ getPaymentMethod: function (code, expand, expand2, authorization, options) {
468
+ return localVarFp.getPaymentMethod(code, expand, expand2, authorization, options).then(function (request) { return request(axios, basePath); });
465
469
  },
466
470
  /**
467
471
  * Returns a list of payment methods you’ve previously created. The payment methods are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
468
472
  * @summary List payment methods
469
473
  * @param {string} [authorization] Bearer Token
470
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
474
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
471
475
  * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
472
476
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
473
477
  * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
@@ -503,7 +507,7 @@ var PaymentMethodsApi = /** @class */ (function (_super) {
503
507
  */
504
508
  PaymentMethodsApi.prototype.createPaymentMethod = function (requestParameters, options) {
505
509
  var _this = this;
506
- return (0, exports.PaymentMethodsApiFp)(this.configuration).createPaymentMethod(requestParameters.createPspPaymentMethodRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
510
+ return (0, exports.PaymentMethodsApiFp)(this.configuration).createPaymentMethod(requestParameters.body, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
507
511
  };
508
512
  /**
509
513
  * Permanently deletes a payment method. Supply the unique payment method id that was returned when you created the payment method and this will delete it. It will also delete it on the corresponding payment service provider.
@@ -527,7 +531,7 @@ var PaymentMethodsApi = /** @class */ (function (_super) {
527
531
  */
528
532
  PaymentMethodsApi.prototype.getPaymentMethod = function (requestParameters, options) {
529
533
  var _this = this;
530
- return (0, exports.PaymentMethodsApiFp)(this.configuration).getPaymentMethod(requestParameters.code, requestParameters.authorization, requestParameters.expand, requestParameters.expand2, options).then(function (request) { return request(_this.axios, _this.basePath); });
534
+ return (0, exports.PaymentMethodsApiFp)(this.configuration).getPaymentMethod(requestParameters.code, requestParameters.expand, requestParameters.expand2, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
531
535
  };
532
536
  /**
533
537
  * Returns a list of payment methods you’ve previously created. The payment methods are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
@@ -3,7 +3,7 @@
3
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
- * Contact: kontakt@emil.de
6
+ * Contact: z
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -14,7 +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 { ListPaymentRemindersResponseClass } from '../models';
18
17
  /**
19
18
  * PaymentRemindersApi - axios parameter creator
20
19
  * @export
@@ -30,7 +29,7 @@ export declare const PaymentRemindersApiAxiosParamCreator: (configuration?: Conf
30
29
  */
31
30
  createPaymentReminder: (createPaymentReminderRequestDto: CreatePaymentReminderRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
32
31
  /**
33
- * Updates the specified payment-reminder by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
32
+ * Deactivates the payment reminder
34
33
  * @summary Update the payment-reminder
35
34
  * @param {string} code Unique identifier for the object.
36
35
  * @param {DeactivatePaymentReminderRequestDto} deactivatePaymentReminderRequestDto
@@ -52,7 +51,7 @@ export declare const PaymentRemindersApiAxiosParamCreator: (configuration?: Conf
52
51
  * 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.
53
52
  * @summary List payment reminders
54
53
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
55
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
54
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
56
55
  * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
57
56
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
58
57
  * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
@@ -76,9 +75,9 @@ export declare const PaymentRemindersApiFp: (configuration?: Configuration) => {
76
75
  * @param {*} [options] Override http request option.
77
76
  * @throws {RequiredError}
78
77
  */
79
- createPaymentReminder(createPaymentReminderRequestDto: CreatePaymentReminderRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
78
+ createPaymentReminder(createPaymentReminderRequestDto: CreatePaymentReminderRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
80
79
  /**
81
- * Updates the specified payment-reminder by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
80
+ * Deactivates the payment reminder
82
81
  * @summary Update the payment-reminder
83
82
  * @param {string} code Unique identifier for the object.
84
83
  * @param {DeactivatePaymentReminderRequestDto} deactivatePaymentReminderRequestDto
@@ -86,7 +85,7 @@ export declare const PaymentRemindersApiFp: (configuration?: Configuration) => {
86
85
  * @param {*} [options] Override http request option.
87
86
  * @throws {RequiredError}
88
87
  */
89
- deactivatePaymentReminder(code: string, deactivatePaymentReminderRequestDto: DeactivatePaymentReminderRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
88
+ deactivatePaymentReminder(code: string, deactivatePaymentReminderRequestDto: DeactivatePaymentReminderRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
90
89
  /**
91
90
  * 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.
92
91
  * @summary Retrieve the payment reminder
@@ -95,12 +94,12 @@ export declare const PaymentRemindersApiFp: (configuration?: Configuration) => {
95
94
  * @param {*} [options] Override http request option.
96
95
  * @throws {RequiredError}
97
96
  */
98
- getPolicy(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
97
+ getPolicy(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
99
98
  /**
100
99
  * 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.
101
100
  * @summary List payment reminders
102
101
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
103
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
102
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
104
103
  * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
105
104
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
106
105
  * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
@@ -109,7 +108,7 @@ export declare const PaymentRemindersApiFp: (configuration?: Configuration) => {
109
108
  * @param {*} [options] Override http request option.
110
109
  * @throws {RequiredError}
111
110
  */
112
- listPaymentReminders(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPaymentRemindersResponseClass>>;
111
+ listPaymentReminders(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
113
112
  };
114
113
  /**
115
114
  * PaymentRemindersApi - factory interface
@@ -124,9 +123,9 @@ export declare const PaymentRemindersApiFactory: (configuration?: Configuration,
124
123
  * @param {*} [options] Override http request option.
125
124
  * @throws {RequiredError}
126
125
  */
127
- createPaymentReminder(createPaymentReminderRequestDto: CreatePaymentReminderRequestDto, authorization?: string, options?: any): AxiosPromise<object>;
126
+ createPaymentReminder(createPaymentReminderRequestDto: CreatePaymentReminderRequestDto, authorization?: string, options?: any): AxiosPromise<void>;
128
127
  /**
129
- * Updates the specified payment-reminder by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
128
+ * Deactivates the payment reminder
130
129
  * @summary Update the payment-reminder
131
130
  * @param {string} code Unique identifier for the object.
132
131
  * @param {DeactivatePaymentReminderRequestDto} deactivatePaymentReminderRequestDto
@@ -134,7 +133,7 @@ export declare const PaymentRemindersApiFactory: (configuration?: Configuration,
134
133
  * @param {*} [options] Override http request option.
135
134
  * @throws {RequiredError}
136
135
  */
137
- deactivatePaymentReminder(code: string, deactivatePaymentReminderRequestDto: DeactivatePaymentReminderRequestDto, authorization?: string, options?: any): AxiosPromise<object>;
136
+ deactivatePaymentReminder(code: string, deactivatePaymentReminderRequestDto: DeactivatePaymentReminderRequestDto, authorization?: string, options?: any): AxiosPromise<void>;
138
137
  /**
139
138
  * 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.
140
139
  * @summary Retrieve the payment reminder
@@ -143,12 +142,12 @@ export declare const PaymentRemindersApiFactory: (configuration?: Configuration,
143
142
  * @param {*} [options] Override http request option.
144
143
  * @throws {RequiredError}
145
144
  */
146
- getPolicy(code: string, authorization?: string, options?: any): AxiosPromise<object>;
145
+ getPolicy(code: string, authorization?: string, options?: any): AxiosPromise<void>;
147
146
  /**
148
147
  * 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.
149
148
  * @summary List payment reminders
150
149
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
151
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
150
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
152
151
  * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
153
152
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
154
153
  * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
@@ -157,7 +156,7 @@ export declare const PaymentRemindersApiFactory: (configuration?: Configuration,
157
156
  * @param {*} [options] Override http request option.
158
157
  * @throws {RequiredError}
159
158
  */
160
- listPaymentReminders(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<ListPaymentRemindersResponseClass>;
159
+ listPaymentReminders(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<void>;
161
160
  };
162
161
  /**
163
162
  * Request parameters for createPaymentReminder operation in PaymentRemindersApi.
@@ -235,7 +234,7 @@ export interface PaymentRemindersApiListPaymentRemindersRequest {
235
234
  */
236
235
  readonly authorization?: string;
237
236
  /**
238
- * A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
237
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
239
238
  * @type {any}
240
239
  * @memberof PaymentRemindersApiListPaymentReminders
241
240
  */
@@ -286,16 +285,16 @@ export declare class PaymentRemindersApi extends BaseAPI {
286
285
  * @throws {RequiredError}
287
286
  * @memberof PaymentRemindersApi
288
287
  */
289
- createPaymentReminder(requestParameters: PaymentRemindersApiCreatePaymentReminderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
288
+ createPaymentReminder(requestParameters: PaymentRemindersApiCreatePaymentReminderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
290
289
  /**
291
- * Updates the specified payment-reminder by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
290
+ * Deactivates the payment reminder
292
291
  * @summary Update the payment-reminder
293
292
  * @param {PaymentRemindersApiDeactivatePaymentReminderRequest} requestParameters Request parameters.
294
293
  * @param {*} [options] Override http request option.
295
294
  * @throws {RequiredError}
296
295
  * @memberof PaymentRemindersApi
297
296
  */
298
- deactivatePaymentReminder(requestParameters: PaymentRemindersApiDeactivatePaymentReminderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
297
+ deactivatePaymentReminder(requestParameters: PaymentRemindersApiDeactivatePaymentReminderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
299
298
  /**
300
299
  * 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.
301
300
  * @summary Retrieve the payment reminder
@@ -304,7 +303,7 @@ export declare class PaymentRemindersApi extends BaseAPI {
304
303
  * @throws {RequiredError}
305
304
  * @memberof PaymentRemindersApi
306
305
  */
307
- getPolicy(requestParameters: PaymentRemindersApiGetPolicyRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
306
+ getPolicy(requestParameters: PaymentRemindersApiGetPolicyRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
308
307
  /**
309
308
  * 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.
310
309
  * @summary List payment reminders
@@ -313,5 +312,5 @@ export declare class PaymentRemindersApi extends BaseAPI {
313
312
  * @throws {RequiredError}
314
313
  * @memberof PaymentRemindersApi
315
314
  */
316
- listPaymentReminders(requestParameters?: PaymentRemindersApiListPaymentRemindersRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPaymentRemindersResponseClass, any>>;
315
+ listPaymentReminders(requestParameters?: PaymentRemindersApiListPaymentRemindersRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
317
316
  }