@emilgroup/payment-sdk 1.4.1-beta.3 → 1.4.1-beta.5

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