@emilgroup/payment-sdk 1.4.1-beta.7 → 1.4.1-beta.9

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 (123) hide show
  1. package/.openapi-generator/FILES +2 -29
  2. package/README.md +2 -2
  3. package/api/bank-accounts-api.ts +16 -20
  4. package/api/bank-transaction-api.ts +60 -26
  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/refunds-api.ts +15 -13
  10. package/api/tenant-bank-account-api.ts +48 -28
  11. package/dist/api/bank-accounts-api.d.ts +12 -14
  12. package/dist/api/bank-accounts-api.js +12 -12
  13. package/dist/api/bank-transaction-api.d.ts +41 -21
  14. package/dist/api/bank-transaction-api.js +32 -18
  15. package/dist/api/payment-methods-api.d.ts +27 -31
  16. package/dist/api/payment-methods-api.js +28 -24
  17. package/dist/api/payment-reminders-api.d.ts +12 -14
  18. package/dist/api/payment-setup-api.d.ts +18 -22
  19. package/dist/api/payment-setup-api.js +24 -24
  20. package/dist/api/payments-api.d.ts +21 -24
  21. package/dist/api/payments-api.js +16 -12
  22. package/dist/api/refunds-api.d.ts +10 -10
  23. package/dist/api/refunds-api.js +11 -9
  24. package/dist/api/tenant-bank-account-api.d.ts +48 -28
  25. package/dist/api/tenant-bank-account-api.js +43 -23
  26. package/dist/models/create-payment-request-dto.d.ts +3 -3
  27. package/dist/models/get-request-dto.d.ts +1 -1
  28. package/dist/models/index.d.ts +2 -29
  29. package/dist/models/index.js +2 -29
  30. package/dist/models/{sepa-direct-dto.d.ts → link-bank-transaction-request-dto-rest.d.ts} +5 -5
  31. package/dist/models/{initiate-braintree-payment-setup-response-class.d.ts → unlink-bank-transaction-request-dto-rest.d.ts} +5 -5
  32. package/dist/models/validate-pspconfig-request-dto.d.ts +1 -8
  33. package/dist/models/validate-pspconfig-request-dto.js +0 -7
  34. package/models/create-payment-request-dto.ts +3 -3
  35. package/models/get-request-dto.ts +1 -1
  36. package/models/index.ts +2 -29
  37. package/models/{sepa-direct-dto.ts → link-bank-transaction-request-dto-rest.ts} +5 -5
  38. package/models/{initiate-braintree-payment-setup-response-class.ts → unlink-bank-transaction-request-dto-rest.ts} +5 -5
  39. package/models/validate-pspconfig-request-dto.ts +1 -11
  40. package/package.json +1 -1
  41. package/dist/models/bank-account-class.d.ts +0 -54
  42. package/dist/models/billing-profile-dto.d.ts +0 -38
  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/deactivate-payment-reminder-response-class.d.ts +0 -25
  62. package/dist/models/deactivate-payment-reminder-response-class.js +0 -15
  63. package/dist/models/get-payment-method-response-class.d.ts +0 -25
  64. package/dist/models/get-payment-method-response-class.js +0 -15
  65. package/dist/models/get-payment-response-class.d.ts +0 -25
  66. package/dist/models/get-payment-response-class.js +0 -15
  67. package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +0 -30
  68. package/dist/models/initiate-braintree-payment-setup-request-dto.js +0 -15
  69. package/dist/models/initiate-braintree-payment-setup-response-class.js +0 -15
  70. package/dist/models/initiate-payment-setup-request-dto.d.ts +0 -44
  71. package/dist/models/initiate-payment-setup-request-dto.js +0 -15
  72. package/dist/models/initiate-payment-setup-response-class.d.ts +0 -32
  73. package/dist/models/initiate-payment-setup-response-class.js +0 -15
  74. package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +0 -30
  75. package/dist/models/initiate-stripe-payment-setup-request-dto.js +0 -15
  76. package/dist/models/initiate-stripe-payment-setup-response-class.d.ts +0 -30
  77. package/dist/models/initiate-stripe-payment-setup-response-class.js +0 -15
  78. package/dist/models/list-bank-accounts-response-class.d.ts +0 -31
  79. package/dist/models/list-bank-accounts-response-class.js +0 -15
  80. package/dist/models/list-payment-methods-response-class.d.ts +0 -31
  81. package/dist/models/list-payment-methods-response-class.js +0 -15
  82. package/dist/models/list-payment-reminders-response-class.d.ts +0 -31
  83. package/dist/models/list-payment-reminders-response-class.js +0 -15
  84. package/dist/models/list-payments-response-class.d.ts +0 -31
  85. package/dist/models/list-payments-response-class.js +0 -15
  86. package/dist/models/payment-class.d.ts +0 -103
  87. package/dist/models/payment-class.js +0 -15
  88. package/dist/models/payment-method-class.d.ts +0 -66
  89. package/dist/models/payment-method-class.js +0 -15
  90. package/dist/models/payment-reminder-class.d.ts +0 -112
  91. package/dist/models/payment-reminder-class.js +0 -36
  92. package/dist/models/sepa-direct-dto.js +0 -15
  93. package/dist/models/symphony-profile-limited-response-dto.d.ts +0 -42
  94. package/dist/models/symphony-profile-limited-response-dto.js +0 -15
  95. package/models/bank-account-class.ts +0 -60
  96. package/models/billing-profile-dto.ts +0 -44
  97. package/models/billing-profile-limited-response-dto.ts +0 -60
  98. package/models/complete-braintree-payment-setup-request-dto.ts +0 -54
  99. package/models/complete-payment-setup-request-dto.ts +0 -38
  100. package/models/complete-payment-setup-response-class.ts +0 -31
  101. package/models/complete-stripe-payment-setup-request-dto.ts +0 -66
  102. package/models/create-bank-account-request-dto.ts +0 -36
  103. package/models/create-payment-method-response-class.ts +0 -31
  104. package/models/create-payment-response-class.ts +0 -31
  105. package/models/create-psp-payment-method-request-dto.ts +0 -70
  106. package/models/deactivate-payment-reminder-response-class.ts +0 -31
  107. package/models/get-payment-method-response-class.ts +0 -31
  108. package/models/get-payment-response-class.ts +0 -31
  109. package/models/initiate-braintree-payment-setup-request-dto.ts +0 -36
  110. package/models/initiate-payment-setup-request-dto.ts +0 -50
  111. package/models/initiate-payment-setup-response-class.ts +0 -38
  112. package/models/initiate-stripe-payment-setup-request-dto.ts +0 -36
  113. package/models/initiate-stripe-payment-setup-response-class.ts +0 -36
  114. package/models/list-bank-accounts-response-class.ts +0 -37
  115. package/models/list-payment-methods-response-class.ts +0 -37
  116. package/models/list-payment-reminders-response-class.ts +0 -37
  117. package/models/list-payments-response-class.ts +0 -37
  118. package/models/payment-class.ts +0 -109
  119. package/models/payment-method-class.ts +0 -72
  120. package/models/payment-reminder-class.ts +0 -122
  121. package/models/symphony-profile-limited-response-dto.ts +0 -48
  122. /package/dist/models/{bank-account-class.js → link-bank-transaction-request-dto-rest.js} +0 -0
  123. /package/dist/models/{billing-profile-dto.js → unlink-bank-transaction-request-dto-rest.js} +0 -0
@@ -13,9 +13,6 @@ import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
13
  import { Configuration } from '../configuration';
14
14
  import { RequestArgs, BaseAPI } from '../base';
15
15
  import { CreatePaymentRequestDto } from '../models';
16
- import { CreatePaymentResponseClass } from '../models';
17
- import { GetPaymentResponseClass } from '../models';
18
- import { ListPaymentsResponseClass } from '../models';
19
16
  /**
20
17
  * PaymentsApi - axios parameter creator
21
18
  * @export
@@ -35,13 +32,13 @@ export declare const PaymentsApiAxiosParamCreator: (configuration?: Configuratio
35
32
  * Retrieves the details of a payment that was previously created. Supply the unique payment code that was returned when you created the payment and Emil Api will return the corresponding payment information.
36
33
  * @summary Retrieve a payment
37
34
  * @param {string} code Unique identifier for the object.
35
+ * @param {string} expand Fields to expand response by
36
+ * @param {string} expand2 Fields to expand response by
38
37
  * @param {string} [authorization] Bearer Token
39
- * @param {string} [expand] Fields to expand response by
40
- * @param {string} [expand2] Fields to expand response by
41
38
  * @param {*} [options] Override http request option.
42
39
  * @throws {RequiredError}
43
40
  */
44
- getPayment: (code: string, authorization?: string, expand?: string, expand2?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
41
+ getPayment: (code: string, expand: string, expand2: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
45
42
  /**
46
43
  * Returns a list of payments you’ve previously created. The payments are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
47
44
  * @summary List payments
@@ -72,18 +69,18 @@ export declare const PaymentsApiFp: (configuration?: Configuration) => {
72
69
  * @param {*} [options] Override http request option.
73
70
  * @throws {RequiredError}
74
71
  */
75
- createPayment(idempotencyKey: string, createPaymentRequestDto: CreatePaymentRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePaymentResponseClass>>;
72
+ createPayment(idempotencyKey: string, createPaymentRequestDto: CreatePaymentRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
76
73
  /**
77
74
  * Retrieves the details of a payment that was previously created. Supply the unique payment code that was returned when you created the payment and Emil Api will return the corresponding payment information.
78
75
  * @summary Retrieve a payment
79
76
  * @param {string} code Unique identifier for the object.
77
+ * @param {string} expand Fields to expand response by
78
+ * @param {string} expand2 Fields to expand response by
80
79
  * @param {string} [authorization] Bearer Token
81
- * @param {string} [expand] Fields to expand response by
82
- * @param {string} [expand2] Fields to expand response by
83
80
  * @param {*} [options] Override http request option.
84
81
  * @throws {RequiredError}
85
82
  */
86
- getPayment(code: string, authorization?: string, expand?: string, expand2?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPaymentResponseClass>>;
83
+ getPayment(code: string, expand: string, expand2: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
87
84
  /**
88
85
  * Returns a list of payments you’ve previously created. The payments are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
89
86
  * @summary List payments
@@ -98,7 +95,7 @@ export declare const PaymentsApiFp: (configuration?: Configuration) => {
98
95
  * @param {*} [options] Override http request option.
99
96
  * @throws {RequiredError}
100
97
  */
101
- listPayments(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPaymentsResponseClass>>;
98
+ listPayments(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
102
99
  };
103
100
  /**
104
101
  * PaymentsApi - factory interface
@@ -114,18 +111,18 @@ export declare const PaymentsApiFactory: (configuration?: Configuration, basePat
114
111
  * @param {*} [options] Override http request option.
115
112
  * @throws {RequiredError}
116
113
  */
117
- createPayment(idempotencyKey: string, createPaymentRequestDto: CreatePaymentRequestDto, authorization?: string, options?: any): AxiosPromise<CreatePaymentResponseClass>;
114
+ createPayment(idempotencyKey: string, createPaymentRequestDto: CreatePaymentRequestDto, authorization?: string, options?: any): AxiosPromise<void>;
118
115
  /**
119
116
  * Retrieves the details of a payment that was previously created. Supply the unique payment code that was returned when you created the payment and Emil Api will return the corresponding payment information.
120
117
  * @summary Retrieve a payment
121
118
  * @param {string} code Unique identifier for the object.
119
+ * @param {string} expand Fields to expand response by
120
+ * @param {string} expand2 Fields to expand response by
122
121
  * @param {string} [authorization] Bearer Token
123
- * @param {string} [expand] Fields to expand response by
124
- * @param {string} [expand2] Fields to expand response by
125
122
  * @param {*} [options] Override http request option.
126
123
  * @throws {RequiredError}
127
124
  */
128
- getPayment(code: string, authorization?: string, expand?: string, expand2?: string, options?: any): AxiosPromise<GetPaymentResponseClass>;
125
+ getPayment(code: string, expand: string, expand2: string, authorization?: string, options?: any): AxiosPromise<void>;
129
126
  /**
130
127
  * Returns a list of payments you’ve previously created. The payments are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
131
128
  * @summary List payments
@@ -140,7 +137,7 @@ export declare const PaymentsApiFactory: (configuration?: Configuration, basePat
140
137
  * @param {*} [options] Override http request option.
141
138
  * @throws {RequiredError}
142
139
  */
143
- listPayments(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<ListPaymentsResponseClass>;
140
+ listPayments(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<void>;
144
141
  };
145
142
  /**
146
143
  * Request parameters for createPayment operation in PaymentsApi.
@@ -180,23 +177,23 @@ export interface PaymentsApiGetPaymentRequest {
180
177
  */
181
178
  readonly code: string;
182
179
  /**
183
- * Bearer Token
180
+ * Fields to expand response by
184
181
  * @type {string}
185
182
  * @memberof PaymentsApiGetPayment
186
183
  */
187
- readonly authorization?: string;
184
+ readonly expand: string;
188
185
  /**
189
186
  * Fields to expand response by
190
187
  * @type {string}
191
188
  * @memberof PaymentsApiGetPayment
192
189
  */
193
- readonly expand?: string;
190
+ readonly expand2: string;
194
191
  /**
195
- * Fields to expand response by
192
+ * Bearer Token
196
193
  * @type {string}
197
194
  * @memberof PaymentsApiGetPayment
198
195
  */
199
- readonly expand2?: string;
196
+ readonly authorization?: string;
200
197
  }
201
198
  /**
202
199
  * Request parameters for listPayments operation in PaymentsApi.
@@ -268,7 +265,7 @@ export declare class PaymentsApi extends BaseAPI {
268
265
  * @throws {RequiredError}
269
266
  * @memberof PaymentsApi
270
267
  */
271
- createPayment(requestParameters: PaymentsApiCreatePaymentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePaymentResponseClass, any>>;
268
+ createPayment(requestParameters: PaymentsApiCreatePaymentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
272
269
  /**
273
270
  * Retrieves the details of a payment that was previously created. Supply the unique payment code that was returned when you created the payment and Emil Api will return the corresponding payment information.
274
271
  * @summary Retrieve a payment
@@ -277,7 +274,7 @@ export declare class PaymentsApi extends BaseAPI {
277
274
  * @throws {RequiredError}
278
275
  * @memberof PaymentsApi
279
276
  */
280
- getPayment(requestParameters: PaymentsApiGetPaymentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPaymentResponseClass, any>>;
277
+ getPayment(requestParameters: PaymentsApiGetPaymentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
281
278
  /**
282
279
  * Returns a list of payments you’ve previously created. The payments are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
283
280
  * @summary List payments
@@ -286,5 +283,5 @@ export declare class PaymentsApi extends BaseAPI {
286
283
  * @throws {RequiredError}
287
284
  * @memberof PaymentsApi
288
285
  */
289
- listPayments(requestParameters?: PaymentsApiListPaymentsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPaymentsResponseClass, any>>;
286
+ listPayments(requestParameters?: PaymentsApiListPaymentsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
290
287
  }
@@ -151,13 +151,13 @@ var PaymentsApiAxiosParamCreator = function (configuration) {
151
151
  * Retrieves the details of a payment that was previously created. Supply the unique payment code that was returned when you created the payment and Emil Api will return the corresponding payment information.
152
152
  * @summary Retrieve a payment
153
153
  * @param {string} code Unique identifier for the object.
154
+ * @param {string} expand Fields to expand response by
155
+ * @param {string} expand2 Fields to expand response by
154
156
  * @param {string} [authorization] Bearer Token
155
- * @param {string} [expand] Fields to expand response by
156
- * @param {string} [expand2] Fields to expand response by
157
157
  * @param {*} [options] Override http request option.
158
158
  * @throws {RequiredError}
159
159
  */
160
- getPayment: function (code, authorization, expand, expand2, options) {
160
+ getPayment: function (code, expand, expand2, authorization, options) {
161
161
  if (options === void 0) { options = {}; }
162
162
  return __awaiter(_this, void 0, void 0, function () {
163
163
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -166,6 +166,10 @@ var PaymentsApiAxiosParamCreator = function (configuration) {
166
166
  case 0:
167
167
  // verify required parameter 'code' is not null or undefined
168
168
  (0, common_1.assertParamExists)('getPayment', 'code', code);
169
+ // verify required parameter 'expand' is not null or undefined
170
+ (0, common_1.assertParamExists)('getPayment', 'expand', expand);
171
+ // verify required parameter 'expand2' is not null or undefined
172
+ (0, common_1.assertParamExists)('getPayment', 'expand2', expand2);
169
173
  localVarPath = "/paymentservice/v1/payments/{code}";
170
174
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
171
175
  if (configuration) {
@@ -313,18 +317,18 @@ var PaymentsApiFp = function (configuration) {
313
317
  * Retrieves the details of a payment that was previously created. Supply the unique payment code that was returned when you created the payment and Emil Api will return the corresponding payment information.
314
318
  * @summary Retrieve a payment
315
319
  * @param {string} code Unique identifier for the object.
320
+ * @param {string} expand Fields to expand response by
321
+ * @param {string} expand2 Fields to expand response by
316
322
  * @param {string} [authorization] Bearer Token
317
- * @param {string} [expand] Fields to expand response by
318
- * @param {string} [expand2] Fields to expand response by
319
323
  * @param {*} [options] Override http request option.
320
324
  * @throws {RequiredError}
321
325
  */
322
- getPayment: function (code, authorization, expand, expand2, options) {
326
+ getPayment: function (code, expand, expand2, authorization, options) {
323
327
  return __awaiter(this, void 0, void 0, function () {
324
328
  var localVarAxiosArgs;
325
329
  return __generator(this, function (_a) {
326
330
  switch (_a.label) {
327
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getPayment(code, authorization, expand, expand2, options)];
331
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getPayment(code, expand, expand2, authorization, options)];
328
332
  case 1:
329
333
  localVarAxiosArgs = _a.sent();
330
334
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -385,14 +389,14 @@ var PaymentsApiFactory = function (configuration, basePath, axios) {
385
389
  * Retrieves the details of a payment that was previously created. Supply the unique payment code that was returned when you created the payment and Emil Api will return the corresponding payment information.
386
390
  * @summary Retrieve a payment
387
391
  * @param {string} code Unique identifier for the object.
392
+ * @param {string} expand Fields to expand response by
393
+ * @param {string} expand2 Fields to expand response by
388
394
  * @param {string} [authorization] Bearer Token
389
- * @param {string} [expand] Fields to expand response by
390
- * @param {string} [expand2] Fields to expand response by
391
395
  * @param {*} [options] Override http request option.
392
396
  * @throws {RequiredError}
393
397
  */
394
- getPayment: function (code, authorization, expand, expand2, options) {
395
- return localVarFp.getPayment(code, authorization, expand, expand2, options).then(function (request) { return request(axios, basePath); });
398
+ getPayment: function (code, expand, expand2, authorization, options) {
399
+ return localVarFp.getPayment(code, expand, expand2, authorization, options).then(function (request) { return request(axios, basePath); });
396
400
  },
397
401
  /**
398
402
  * Returns a list of payments you’ve previously created. The payments are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
@@ -447,7 +451,7 @@ var PaymentsApi = /** @class */ (function (_super) {
447
451
  */
448
452
  PaymentsApi.prototype.getPayment = function (requestParameters, options) {
449
453
  var _this = this;
450
- return (0, exports.PaymentsApiFp)(this.configuration).getPayment(requestParameters.code, requestParameters.authorization, requestParameters.expand, requestParameters.expand2, options).then(function (request) { return request(_this.axios, _this.basePath); });
454
+ return (0, exports.PaymentsApiFp)(this.configuration).getPayment(requestParameters.code, requestParameters.expand, requestParameters.expand2, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
451
455
  };
452
456
  /**
453
457
  * Returns a list of payments you’ve previously created. The payments are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
@@ -33,12 +33,12 @@ export declare const RefundsApiAxiosParamCreator: (configuration?: Configuration
33
33
  *
34
34
  * @param {string} code
35
35
  * @param {string} code2 Unique identifier for the object.
36
+ * @param {string} expand Fields to expand response by
36
37
  * @param {string} [authorization] Bearer Token
37
- * @param {string} [expand] Fields to expand response by
38
38
  * @param {*} [options] Override http request option.
39
39
  * @throws {RequiredError}
40
40
  */
41
- getRefund: (code: string, code2: string, authorization?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
41
+ getRefund: (code: string, code2: string, expand: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
42
42
  /**
43
43
  *
44
44
  * @param {string} [authorization] Bearer Token
@@ -71,12 +71,12 @@ export declare const RefundsApiFp: (configuration?: Configuration) => {
71
71
  *
72
72
  * @param {string} code
73
73
  * @param {string} code2 Unique identifier for the object.
74
+ * @param {string} expand Fields to expand response by
74
75
  * @param {string} [authorization] Bearer Token
75
- * @param {string} [expand] Fields to expand response by
76
76
  * @param {*} [options] Override http request option.
77
77
  * @throws {RequiredError}
78
78
  */
79
- getRefund(code: string, code2: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetRefundResponseClass>>;
79
+ getRefund(code: string, code2: string, expand: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetRefundResponseClass>>;
80
80
  /**
81
81
  *
82
82
  * @param {string} [authorization] Bearer Token
@@ -109,12 +109,12 @@ export declare const RefundsApiFactory: (configuration?: Configuration, basePath
109
109
  *
110
110
  * @param {string} code
111
111
  * @param {string} code2 Unique identifier for the object.
112
+ * @param {string} expand Fields to expand response by
112
113
  * @param {string} [authorization] Bearer Token
113
- * @param {string} [expand] Fields to expand response by
114
114
  * @param {*} [options] Override http request option.
115
115
  * @throws {RequiredError}
116
116
  */
117
- getRefund(code: string, code2: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetRefundResponseClass>;
117
+ getRefund(code: string, code2: string, expand: string, authorization?: string, options?: any): AxiosPromise<GetRefundResponseClass>;
118
118
  /**
119
119
  *
120
120
  * @param {string} [authorization] Bearer Token
@@ -168,17 +168,17 @@ export interface RefundsApiGetRefundRequest {
168
168
  */
169
169
  readonly code2: string;
170
170
  /**
171
- * Bearer Token
171
+ * Fields to expand response by
172
172
  * @type {string}
173
173
  * @memberof RefundsApiGetRefund
174
174
  */
175
- readonly authorization?: string;
175
+ readonly expand: string;
176
176
  /**
177
- * Fields to expand response by
177
+ * Bearer Token
178
178
  * @type {string}
179
179
  * @memberof RefundsApiGetRefund
180
180
  */
181
- readonly expand?: string;
181
+ readonly authorization?: string;
182
182
  }
183
183
  /**
184
184
  * Request parameters for listRefunds operation in RefundsApi.
@@ -144,12 +144,12 @@ var RefundsApiAxiosParamCreator = function (configuration) {
144
144
  *
145
145
  * @param {string} code
146
146
  * @param {string} code2 Unique identifier for the object.
147
+ * @param {string} expand Fields to expand response by
147
148
  * @param {string} [authorization] Bearer Token
148
- * @param {string} [expand] Fields to expand response by
149
149
  * @param {*} [options] Override http request option.
150
150
  * @throws {RequiredError}
151
151
  */
152
- getRefund: function (code, code2, authorization, expand, options) {
152
+ getRefund: function (code, code2, expand, authorization, options) {
153
153
  if (options === void 0) { options = {}; }
154
154
  return __awaiter(_this, void 0, void 0, function () {
155
155
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -160,6 +160,8 @@ var RefundsApiAxiosParamCreator = function (configuration) {
160
160
  (0, common_1.assertParamExists)('getRefund', 'code', code);
161
161
  // verify required parameter 'code2' is not null or undefined
162
162
  (0, common_1.assertParamExists)('getRefund', 'code2', code2);
163
+ // verify required parameter 'expand' is not null or undefined
164
+ (0, common_1.assertParamExists)('getRefund', 'expand', expand);
163
165
  localVarPath = "/paymentservice/v1/refunds/{code}"
164
166
  .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
165
167
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -302,17 +304,17 @@ var RefundsApiFp = function (configuration) {
302
304
  *
303
305
  * @param {string} code
304
306
  * @param {string} code2 Unique identifier for the object.
307
+ * @param {string} expand Fields to expand response by
305
308
  * @param {string} [authorization] Bearer Token
306
- * @param {string} [expand] Fields to expand response by
307
309
  * @param {*} [options] Override http request option.
308
310
  * @throws {RequiredError}
309
311
  */
310
- getRefund: function (code, code2, authorization, expand, options) {
312
+ getRefund: function (code, code2, expand, authorization, options) {
311
313
  return __awaiter(this, void 0, void 0, function () {
312
314
  var localVarAxiosArgs;
313
315
  return __generator(this, function (_a) {
314
316
  switch (_a.label) {
315
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getRefund(code, code2, authorization, expand, options)];
317
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getRefund(code, code2, expand, authorization, options)];
316
318
  case 1:
317
319
  localVarAxiosArgs = _a.sent();
318
320
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -370,13 +372,13 @@ var RefundsApiFactory = function (configuration, basePath, axios) {
370
372
  *
371
373
  * @param {string} code
372
374
  * @param {string} code2 Unique identifier for the object.
375
+ * @param {string} expand Fields to expand response by
373
376
  * @param {string} [authorization] Bearer Token
374
- * @param {string} [expand] Fields to expand response by
375
377
  * @param {*} [options] Override http request option.
376
378
  * @throws {RequiredError}
377
379
  */
378
- getRefund: function (code, code2, authorization, expand, options) {
379
- return localVarFp.getRefund(code, code2, authorization, expand, options).then(function (request) { return request(axios, basePath); });
380
+ getRefund: function (code, code2, expand, authorization, options) {
381
+ return localVarFp.getRefund(code, code2, expand, authorization, options).then(function (request) { return request(axios, basePath); });
380
382
  },
381
383
  /**
382
384
  *
@@ -428,7 +430,7 @@ var RefundsApi = /** @class */ (function (_super) {
428
430
  */
429
431
  RefundsApi.prototype.getRefund = function (requestParameters, options) {
430
432
  var _this = this;
431
- return (0, exports.RefundsApiFp)(this.configuration).getRefund(requestParameters.code, requestParameters.code2, requestParameters.authorization, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
433
+ return (0, exports.RefundsApiFp)(this.configuration).getRefund(requestParameters.code, requestParameters.code2, requestParameters.expand, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
432
434
  };
433
435
  /**
434
436
  *
@@ -21,7 +21,8 @@ import { UpdateTenantBankAccountRestRequestDto } from '../models';
21
21
  */
22
22
  export declare const TenantBankAccountApiAxiosParamCreator: (configuration?: Configuration) => {
23
23
  /**
24
- *
24
+ * Create a new tenant bank account
25
+ * @summary Create the Create Tenant Bank Account
25
26
  * @param {CreateTenantBankAccountRequestDto} createTenantBankAccountRequestDto
26
27
  * @param {string} [authorization] Bearer Token
27
28
  * @param {*} [options] Override http request option.
@@ -29,7 +30,8 @@ export declare const TenantBankAccountApiAxiosParamCreator: (configuration?: Con
29
30
  */
30
31
  createTenantBankAccount: (createTenantBankAccountRequestDto: CreateTenantBankAccountRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
31
32
  /**
32
- *
33
+ * Deletes a tenant bank account by code
34
+ * @summary Deletes a tenant bank account
33
35
  * @param {string} code Unique identifier for the object.
34
36
  * @param {string} [authorization] Bearer Token
35
37
  * @param {*} [options] Override http request option.
@@ -37,16 +39,18 @@ export declare const TenantBankAccountApiAxiosParamCreator: (configuration?: Con
37
39
  */
38
40
  deleteTenantBankAccount: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
39
41
  /**
40
- *
42
+ * Retrieves the details of the Bank Transaction that was previously created. Supply the unique Bank Transaction code that was returned when you created it and Emil Api will return the corresponding Bank Transaction information.
43
+ * @summary Retrieve the Bank Transaction
41
44
  * @param {string} code Unique identifier for the object.
42
45
  * @param {string} [authorization] Bearer Token
43
- * @param {string} [expand] Expand the response with additional entities
46
+ * @param {'bankTransactions'} [expand] Expand the response with additional entities
44
47
  * @param {*} [options] Override http request option.
45
48
  * @throws {RequiredError}
46
49
  */
47
- getTenantBankAccount: (code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
50
+ getTenantBankAccount: (code: string, authorization?: string, expand?: 'bankTransactions', options?: AxiosRequestConfig) => Promise<RequestArgs>;
48
51
  /**
49
- *
52
+ * Returns a list of Tenant Bank Accounts you have previously created. The Tenant Bank Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
53
+ * @summary List Tenant Bank Accounts
50
54
  * @param {string} [authorization] Bearer Token
51
55
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
52
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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
@@ -60,7 +64,8 @@ export declare const TenantBankAccountApiAxiosParamCreator: (configuration?: Con
60
64
  */
61
65
  listTenantBankAccounts: (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: string, filters?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
62
66
  /**
63
- *
67
+ * Update a tenant bank account by code
68
+ * @summary Update a tenant bank account
64
69
  * @param {string} code Unique identifier for the object.
65
70
  * @param {UpdateTenantBankAccountRestRequestDto} updateTenantBankAccountRestRequestDto
66
71
  * @param {string} [authorization] Bearer Token
@@ -75,7 +80,8 @@ export declare const TenantBankAccountApiAxiosParamCreator: (configuration?: Con
75
80
  */
76
81
  export declare const TenantBankAccountApiFp: (configuration?: Configuration) => {
77
82
  /**
78
- *
83
+ * Create a new tenant bank account
84
+ * @summary Create the Create Tenant Bank Account
79
85
  * @param {CreateTenantBankAccountRequestDto} createTenantBankAccountRequestDto
80
86
  * @param {string} [authorization] Bearer Token
81
87
  * @param {*} [options] Override http request option.
@@ -83,7 +89,8 @@ export declare const TenantBankAccountApiFp: (configuration?: Configuration) =>
83
89
  */
84
90
  createTenantBankAccount(createTenantBankAccountRequestDto: CreateTenantBankAccountRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
85
91
  /**
86
- *
92
+ * Deletes a tenant bank account by code
93
+ * @summary Deletes a tenant bank account
87
94
  * @param {string} code Unique identifier for the object.
88
95
  * @param {string} [authorization] Bearer Token
89
96
  * @param {*} [options] Override http request option.
@@ -91,16 +98,18 @@ export declare const TenantBankAccountApiFp: (configuration?: Configuration) =>
91
98
  */
92
99
  deleteTenantBankAccount(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
93
100
  /**
94
- *
101
+ * Retrieves the details of the Bank Transaction that was previously created. Supply the unique Bank Transaction code that was returned when you created it and Emil Api will return the corresponding Bank Transaction information.
102
+ * @summary Retrieve the Bank Transaction
95
103
  * @param {string} code Unique identifier for the object.
96
104
  * @param {string} [authorization] Bearer Token
97
- * @param {string} [expand] Expand the response with additional entities
105
+ * @param {'bankTransactions'} [expand] Expand the response with additional entities
98
106
  * @param {*} [options] Override http request option.
99
107
  * @throws {RequiredError}
100
108
  */
101
- getTenantBankAccount(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetTenantBankAccountResponseClass>>;
109
+ getTenantBankAccount(code: string, authorization?: string, expand?: 'bankTransactions', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetTenantBankAccountResponseClass>>;
102
110
  /**
103
- *
111
+ * Returns a list of Tenant Bank Accounts you have previously created. The Tenant Bank Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
112
+ * @summary List Tenant Bank Accounts
104
113
  * @param {string} [authorization] Bearer Token
105
114
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
106
115
  * @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.
@@ -114,7 +123,8 @@ export declare const TenantBankAccountApiFp: (configuration?: Configuration) =>
114
123
  */
115
124
  listTenantBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: string, filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
116
125
  /**
117
- *
126
+ * Update a tenant bank account by code
127
+ * @summary Update a tenant bank account
118
128
  * @param {string} code Unique identifier for the object.
119
129
  * @param {UpdateTenantBankAccountRestRequestDto} updateTenantBankAccountRestRequestDto
120
130
  * @param {string} [authorization] Bearer Token
@@ -129,7 +139,8 @@ export declare const TenantBankAccountApiFp: (configuration?: Configuration) =>
129
139
  */
130
140
  export declare const TenantBankAccountApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
131
141
  /**
132
- *
142
+ * Create a new tenant bank account
143
+ * @summary Create the Create Tenant Bank Account
133
144
  * @param {CreateTenantBankAccountRequestDto} createTenantBankAccountRequestDto
134
145
  * @param {string} [authorization] Bearer Token
135
146
  * @param {*} [options] Override http request option.
@@ -137,7 +148,8 @@ export declare const TenantBankAccountApiFactory: (configuration?: Configuration
137
148
  */
138
149
  createTenantBankAccount(createTenantBankAccountRequestDto: CreateTenantBankAccountRequestDto, authorization?: string, options?: any): AxiosPromise<void>;
139
150
  /**
140
- *
151
+ * Deletes a tenant bank account by code
152
+ * @summary Deletes a tenant bank account
141
153
  * @param {string} code Unique identifier for the object.
142
154
  * @param {string} [authorization] Bearer Token
143
155
  * @param {*} [options] Override http request option.
@@ -145,16 +157,18 @@ export declare const TenantBankAccountApiFactory: (configuration?: Configuration
145
157
  */
146
158
  deleteTenantBankAccount(code: string, authorization?: string, options?: any): AxiosPromise<void>;
147
159
  /**
148
- *
160
+ * Retrieves the details of the Bank Transaction that was previously created. Supply the unique Bank Transaction code that was returned when you created it and Emil Api will return the corresponding Bank Transaction information.
161
+ * @summary Retrieve the Bank Transaction
149
162
  * @param {string} code Unique identifier for the object.
150
163
  * @param {string} [authorization] Bearer Token
151
- * @param {string} [expand] Expand the response with additional entities
164
+ * @param {'bankTransactions'} [expand] Expand the response with additional entities
152
165
  * @param {*} [options] Override http request option.
153
166
  * @throws {RequiredError}
154
167
  */
155
- getTenantBankAccount(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetTenantBankAccountResponseClass>;
168
+ getTenantBankAccount(code: string, authorization?: string, expand?: 'bankTransactions', options?: any): AxiosPromise<GetTenantBankAccountResponseClass>;
156
169
  /**
157
- *
170
+ * Returns a list of Tenant Bank Accounts you have previously created. The Tenant Bank Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
171
+ * @summary List Tenant Bank Accounts
158
172
  * @param {string} [authorization] Bearer Token
159
173
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
160
174
  * @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.
@@ -168,7 +182,8 @@ export declare const TenantBankAccountApiFactory: (configuration?: Configuration
168
182
  */
169
183
  listTenantBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: string, filters?: any, options?: any): AxiosPromise<void>;
170
184
  /**
171
- *
185
+ * Update a tenant bank account by code
186
+ * @summary Update a tenant bank account
172
187
  * @param {string} code Unique identifier for the object.
173
188
  * @param {UpdateTenantBankAccountRestRequestDto} updateTenantBankAccountRestRequestDto
174
189
  * @param {string} [authorization] Bearer Token
@@ -235,10 +250,10 @@ export interface TenantBankAccountApiGetTenantBankAccountRequest {
235
250
  readonly authorization?: string;
236
251
  /**
237
252
  * Expand the response with additional entities
238
- * @type {string}
253
+ * @type {'bankTransactions'}
239
254
  * @memberof TenantBankAccountApiGetTenantBankAccount
240
255
  */
241
- readonly expand?: string;
256
+ readonly expand?: 'bankTransactions';
242
257
  }
243
258
  /**
244
259
  * Request parameters for listTenantBankAccounts operation in TenantBankAccountApi.
@@ -328,7 +343,8 @@ export interface TenantBankAccountApiUpdateTenantBankAccountRequest {
328
343
  */
329
344
  export declare class TenantBankAccountApi extends BaseAPI {
330
345
  /**
331
- *
346
+ * Create a new tenant bank account
347
+ * @summary Create the Create Tenant Bank Account
332
348
  * @param {TenantBankAccountApiCreateTenantBankAccountRequest} requestParameters Request parameters.
333
349
  * @param {*} [options] Override http request option.
334
350
  * @throws {RequiredError}
@@ -336,7 +352,8 @@ export declare class TenantBankAccountApi extends BaseAPI {
336
352
  */
337
353
  createTenantBankAccount(requestParameters: TenantBankAccountApiCreateTenantBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
338
354
  /**
339
- *
355
+ * Deletes a tenant bank account by code
356
+ * @summary Deletes a tenant bank account
340
357
  * @param {TenantBankAccountApiDeleteTenantBankAccountRequest} requestParameters Request parameters.
341
358
  * @param {*} [options] Override http request option.
342
359
  * @throws {RequiredError}
@@ -344,7 +361,8 @@ export declare class TenantBankAccountApi extends BaseAPI {
344
361
  */
345
362
  deleteTenantBankAccount(requestParameters: TenantBankAccountApiDeleteTenantBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
346
363
  /**
347
- *
364
+ * Retrieves the details of the Bank Transaction that was previously created. Supply the unique Bank Transaction code that was returned when you created it and Emil Api will return the corresponding Bank Transaction information.
365
+ * @summary Retrieve the Bank Transaction
348
366
  * @param {TenantBankAccountApiGetTenantBankAccountRequest} requestParameters Request parameters.
349
367
  * @param {*} [options] Override http request option.
350
368
  * @throws {RequiredError}
@@ -352,7 +370,8 @@ export declare class TenantBankAccountApi extends BaseAPI {
352
370
  */
353
371
  getTenantBankAccount(requestParameters: TenantBankAccountApiGetTenantBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetTenantBankAccountResponseClass, any>>;
354
372
  /**
355
- *
373
+ * Returns a list of Tenant Bank Accounts you have previously created. The Tenant Bank Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
374
+ * @summary List Tenant Bank Accounts
356
375
  * @param {TenantBankAccountApiListTenantBankAccountsRequest} requestParameters Request parameters.
357
376
  * @param {*} [options] Override http request option.
358
377
  * @throws {RequiredError}
@@ -360,7 +379,8 @@ export declare class TenantBankAccountApi extends BaseAPI {
360
379
  */
361
380
  listTenantBankAccounts(requestParameters?: TenantBankAccountApiListTenantBankAccountsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
362
381
  /**
363
- *
382
+ * Update a tenant bank account by code
383
+ * @summary Update a tenant bank account
364
384
  * @param {TenantBankAccountApiUpdateTenantBankAccountRequest} requestParameters Request parameters.
365
385
  * @param {*} [options] Override http request option.
366
386
  * @throws {RequiredError}