@emilgroup/payment-sdk-node 1.28.1-beta.29 → 1.28.1-beta.30

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 (48) hide show
  1. package/.openapi-generator/FILES +2 -0
  2. package/README.md +2 -2
  3. package/api/exceeding-credits-api.ts +107 -0
  4. package/api/payment-requests-api.ts +12 -12
  5. package/dist/api/exceeding-credits-api.d.ts +57 -0
  6. package/dist/api/exceeding-credits-api.js +93 -0
  7. package/dist/api/payment-requests-api.d.ts +12 -12
  8. package/dist/api/payment-requests-api.js +9 -9
  9. package/dist/models/create-exceeding-credit-request-dto.d.ts +48 -0
  10. package/dist/models/create-exceeding-credit-request-dto.js +15 -0
  11. package/dist/models/create-exceeding-credit-response-class.d.ts +25 -0
  12. package/dist/models/create-exceeding-credit-response-class.js +15 -0
  13. package/dist/models/create-payment-request-request-dto.d.ts +12 -0
  14. package/dist/models/credit-allocation-class.d.ts +6 -0
  15. package/dist/models/credit-allocation-entity.d.ts +6 -0
  16. package/dist/models/index.d.ts +2 -0
  17. package/dist/models/index.js +2 -0
  18. package/dist/models/list-billing-addresses-response-class.d.ts +9 -9
  19. package/dist/models/list-exceeding-credits-response-class.d.ts +6 -18
  20. package/dist/models/list-payment-receipts-response-class.d.ts +9 -9
  21. package/dist/models/list-payment-requests-response-class.d.ts +6 -18
  22. package/dist/models/list-payout-methods-response-class.d.ts +9 -9
  23. package/dist/models/list-refunds-response-class.d.ts +6 -18
  24. package/dist/models/payment-class-without-expand-properties.d.ts +1 -1
  25. package/dist/models/payment-class.d.ts +1 -1
  26. package/dist/models/payment-entity.d.ts +1 -1
  27. package/dist/models/payment-request-class.d.ts +12 -0
  28. package/dist/models/shared-transaction-class.d.ts +6 -0
  29. package/dist/models/transaction-entity.d.ts +6 -0
  30. package/models/create-exceeding-credit-request-dto.ts +54 -0
  31. package/models/create-exceeding-credit-response-class.ts +31 -0
  32. package/models/create-payment-request-request-dto.ts +12 -0
  33. package/models/credit-allocation-class.ts +6 -0
  34. package/models/credit-allocation-entity.ts +6 -0
  35. package/models/index.ts +2 -0
  36. package/models/list-billing-addresses-response-class.ts +9 -9
  37. package/models/list-exceeding-credits-response-class.ts +6 -18
  38. package/models/list-payment-receipts-response-class.ts +9 -9
  39. package/models/list-payment-requests-response-class.ts +6 -18
  40. package/models/list-payout-methods-response-class.ts +9 -9
  41. package/models/list-refunds-response-class.ts +6 -18
  42. package/models/payment-class-without-expand-properties.ts +1 -1
  43. package/models/payment-class.ts +1 -1
  44. package/models/payment-entity.ts +1 -1
  45. package/models/payment-request-class.ts +12 -0
  46. package/models/shared-transaction-class.ts +6 -0
  47. package/models/transaction-entity.ts +6 -0
  48. package/package.json +1 -1
@@ -253,11 +253,11 @@ var PaymentRequestsApiAxiosParamCreator = function (configuration) {
253
253
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
254
254
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
255
255
  * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
256
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt</i>
257
- * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, paymentRequestNumber, financialEntityCode, financialEntityNumber, domainEntityCode, domainEntityNumber</i>
256
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt, settlementCode</i>
257
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, paymentRequestNumber, financialEntityCode, financialEntityNumber, domainEntityCode, domainEntityNumber, settlementCode</i>
258
258
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, paymentRequestNumber, financialEntityNumber, domainEntityNumber, createdAt, status</i>
259
259
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: paymentReceipts<i>
260
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt</i>
260
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt, settlementCode</i>
261
261
  * @param {*} [options] Override http request option.
262
262
  * @throws {RequiredError}
263
263
  */
@@ -452,11 +452,11 @@ var PaymentRequestsApiFp = function (configuration) {
452
452
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
453
453
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
454
454
  * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
455
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt</i>
456
- * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, paymentRequestNumber, financialEntityCode, financialEntityNumber, domainEntityCode, domainEntityNumber</i>
455
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt, settlementCode</i>
456
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, paymentRequestNumber, financialEntityCode, financialEntityNumber, domainEntityCode, domainEntityNumber, settlementCode</i>
457
457
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, paymentRequestNumber, financialEntityNumber, domainEntityNumber, createdAt, status</i>
458
458
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: paymentReceipts<i>
459
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt</i>
459
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt, settlementCode</i>
460
460
  * @param {*} [options] Override http request option.
461
461
  * @throws {RequiredError}
462
462
  */
@@ -545,11 +545,11 @@ var PaymentRequestsApiFactory = function (configuration, basePath, axios) {
545
545
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
546
546
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
547
547
  * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
548
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt</i>
549
- * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, paymentRequestNumber, financialEntityCode, financialEntityNumber, domainEntityCode, domainEntityNumber</i>
548
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt, settlementCode</i>
549
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, paymentRequestNumber, financialEntityCode, financialEntityNumber, domainEntityCode, domainEntityNumber, settlementCode</i>
550
550
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, paymentRequestNumber, financialEntityNumber, domainEntityNumber, createdAt, status</i>
551
551
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: paymentReceipts<i>
552
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt</i>
552
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, paymentRequestNumber, status, direction, financialEntityType, domainEntityType, paymentMethodPsp, paymentMethodType, createdAt, settlementCode</i>
553
553
  * @param {*} [options] Override http request option.
554
554
  * @throws {RequiredError}
555
555
  */
@@ -0,0 +1,48 @@
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
+ /**
13
+ *
14
+ * @export
15
+ * @interface CreateExceedingCreditRequestDto
16
+ */
17
+ export interface CreateExceedingCreditRequestDto {
18
+ /**
19
+ * The amount of the credit
20
+ * @type {number}
21
+ * @memberof CreateExceedingCreditRequestDto
22
+ */
23
+ 'amount': number;
24
+ /**
25
+ * The description of the credit
26
+ * @type {string}
27
+ * @memberof CreateExceedingCreditRequestDto
28
+ */
29
+ 'description'?: string;
30
+ /**
31
+ * The policy code of the credit
32
+ * @type {string}
33
+ * @memberof CreateExceedingCreditRequestDto
34
+ */
35
+ 'policyCode': string;
36
+ /**
37
+ * The transaction code of the credit
38
+ * @type {string}
39
+ * @memberof CreateExceedingCreditRequestDto
40
+ */
41
+ 'bankTransactionCode': string;
42
+ /**
43
+ * The invoice code of the credit
44
+ * @type {string}
45
+ * @memberof CreateExceedingCreditRequestDto
46
+ */
47
+ 'invoiceCode': string;
48
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Emil Payment Service
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
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,25 @@
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 { ExceedingCreditClass } from './exceeding-credit-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface CreateExceedingCreditResponseClass
17
+ */
18
+ export interface CreateExceedingCreditResponseClass {
19
+ /**
20
+ * Exceeding credit
21
+ * @type {ExceedingCreditClass}
22
+ * @memberof CreateExceedingCreditResponseClass
23
+ */
24
+ 'exceedingCredit': ExceedingCreditClass;
25
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Emil Payment Service
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
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -69,6 +69,18 @@ export interface CreatePaymentRequestRequestDto {
69
69
  * @memberof CreatePaymentRequestRequestDto
70
70
  */
71
71
  'domainEntityType': CreatePaymentRequestRequestDtoDomainEntityTypeEnum;
72
+ /**
73
+ * Code of the settlement the payment request was created for.
74
+ * @type {string}
75
+ * @memberof CreatePaymentRequestRequestDto
76
+ */
77
+ 'settlementCode'?: string;
78
+ /**
79
+ * Code of the partner the payment request was created for.
80
+ * @type {string}
81
+ * @memberof CreatePaymentRequestRequestDto
82
+ */
83
+ 'partnerCode': string;
72
84
  /**
73
85
  * Code of the payment method to be used for this payment request. If not provided, a default payment method may be selected.
74
86
  * @type {string}
@@ -34,6 +34,12 @@ export interface CreditAllocationClass {
34
34
  * @memberof CreditAllocationClass
35
35
  */
36
36
  'exceedingCreditCodes': Array<string>;
37
+ /**
38
+ * Partner code derived from the policy related to the exceeding credits.
39
+ * @type {string}
40
+ * @memberof CreditAllocationClass
41
+ */
42
+ 'partnerCode': string;
37
43
  /**
38
44
  * Policy code associated with the credit.
39
45
  * @type {string}
@@ -28,6 +28,12 @@ export interface CreditAllocationEntity {
28
28
  * @memberof CreditAllocationEntity
29
29
  */
30
30
  'code': string;
31
+ /**
32
+ *
33
+ * @type {string}
34
+ * @memberof CreditAllocationEntity
35
+ */
36
+ 'partnerCode': string;
31
37
  /**
32
38
  *
33
39
  * @type {string}
@@ -31,6 +31,8 @@ export * from './create-billing-address-request-dto';
31
31
  export * from './create-billing-address-response-class';
32
32
  export * from './create-credit-allocation-request-dto';
33
33
  export * from './create-credit-allocation-response-class';
34
+ export * from './create-exceeding-credit-request-dto';
35
+ export * from './create-exceeding-credit-response-class';
34
36
  export * from './create-payment-method-response-class';
35
37
  export * from './create-payment-order-dto';
36
38
  export * from './create-payment-order-request-dto';
@@ -47,6 +47,8 @@ __exportStar(require("./create-billing-address-request-dto"), exports);
47
47
  __exportStar(require("./create-billing-address-response-class"), exports);
48
48
  __exportStar(require("./create-credit-allocation-request-dto"), exports);
49
49
  __exportStar(require("./create-credit-allocation-response-class"), exports);
50
+ __exportStar(require("./create-exceeding-credit-request-dto"), exports);
51
+ __exportStar(require("./create-exceeding-credit-response-class"), exports);
50
52
  __exportStar(require("./create-payment-method-response-class"), exports);
51
53
  __exportStar(require("./create-payment-order-dto"), exports);
52
54
  __exportStar(require("./create-payment-order-request-dto"), exports);
@@ -17,17 +17,17 @@ import { BillingAddressClass } from './billing-address-class';
17
17
  */
18
18
  export interface ListBillingAddressesResponseClass {
19
19
  /**
20
- * Next page token.
21
- * @type {string}
20
+ * The billing addresses
21
+ * @type {Array<BillingAddressClass>}
22
22
  * @memberof ListBillingAddressesResponseClass
23
23
  */
24
- 'nextPageToken': string;
24
+ 'items': Array<BillingAddressClass>;
25
25
  /**
26
- * Total amount of items.
27
- * @type {number}
26
+ * Next page token.
27
+ * @type {string}
28
28
  * @memberof ListBillingAddressesResponseClass
29
29
  */
30
- 'totalItems': number;
30
+ 'nextPageToken': string;
31
31
  /**
32
32
  * Items per page.
33
33
  * @type {number}
@@ -35,9 +35,9 @@ export interface ListBillingAddressesResponseClass {
35
35
  */
36
36
  'itemsPerPage': number;
37
37
  /**
38
- * The billing addresses
39
- * @type {Array<BillingAddressClass>}
38
+ * Total amount of items.
39
+ * @type {number}
40
40
  * @memberof ListBillingAddressesResponseClass
41
41
  */
42
- 'items': Array<BillingAddressClass>;
42
+ 'totalItems': number;
43
43
  }
@@ -16,28 +16,16 @@ import { ExceedingCreditClass } from './exceeding-credit-class';
16
16
  * @interface ListExceedingCreditsResponseClass
17
17
  */
18
18
  export interface ListExceedingCreditsResponseClass {
19
- /**
20
- * Next page token.
21
- * @type {string}
22
- * @memberof ListExceedingCreditsResponseClass
23
- */
24
- 'nextPageToken': string;
25
- /**
26
- * Total amount of items.
27
- * @type {number}
28
- * @memberof ListExceedingCreditsResponseClass
29
- */
30
- 'totalItems': number;
31
- /**
32
- * Items per page.
33
- * @type {number}
34
- * @memberof ListExceedingCreditsResponseClass
35
- */
36
- 'itemsPerPage': number;
37
19
  /**
38
20
  * The list of exceeding credits.
39
21
  * @type {Array<ExceedingCreditClass>}
40
22
  * @memberof ListExceedingCreditsResponseClass
41
23
  */
42
24
  'items': Array<ExceedingCreditClass>;
25
+ /**
26
+ * Next page token.
27
+ * @type {string}
28
+ * @memberof ListExceedingCreditsResponseClass
29
+ */
30
+ 'nextPageToken': string;
43
31
  }
@@ -17,17 +17,17 @@ import { PaymentReceiptClass } from './payment-receipt-class';
17
17
  */
18
18
  export interface ListPaymentReceiptsResponseClass {
19
19
  /**
20
- * Next page token.
21
- * @type {string}
20
+ * The list of payment receipts.
21
+ * @type {Array<PaymentReceiptClass>}
22
22
  * @memberof ListPaymentReceiptsResponseClass
23
23
  */
24
- 'nextPageToken': string;
24
+ 'items': Array<PaymentReceiptClass>;
25
25
  /**
26
- * Total amount of items.
27
- * @type {number}
26
+ * Next page token.
27
+ * @type {string}
28
28
  * @memberof ListPaymentReceiptsResponseClass
29
29
  */
30
- 'totalItems': number;
30
+ 'nextPageToken': string;
31
31
  /**
32
32
  * Items per page.
33
33
  * @type {number}
@@ -35,9 +35,9 @@ export interface ListPaymentReceiptsResponseClass {
35
35
  */
36
36
  'itemsPerPage': number;
37
37
  /**
38
- * The list of payment receipts.
39
- * @type {Array<PaymentReceiptClass>}
38
+ * Total amount of items.
39
+ * @type {number}
40
40
  * @memberof ListPaymentReceiptsResponseClass
41
41
  */
42
- 'items': Array<PaymentReceiptClass>;
42
+ 'totalItems': number;
43
43
  }
@@ -16,28 +16,16 @@ import { PaymentRequestClass } from './payment-request-class';
16
16
  * @interface ListPaymentRequestsResponseClass
17
17
  */
18
18
  export interface ListPaymentRequestsResponseClass {
19
- /**
20
- * Next page token.
21
- * @type {string}
22
- * @memberof ListPaymentRequestsResponseClass
23
- */
24
- 'nextPageToken': string;
25
- /**
26
- * Total amount of items.
27
- * @type {number}
28
- * @memberof ListPaymentRequestsResponseClass
29
- */
30
- 'totalItems': number;
31
- /**
32
- * Items per page.
33
- * @type {number}
34
- * @memberof ListPaymentRequestsResponseClass
35
- */
36
- 'itemsPerPage': number;
37
19
  /**
38
20
  * The list of payment requests.
39
21
  * @type {Array<PaymentRequestClass>}
40
22
  * @memberof ListPaymentRequestsResponseClass
41
23
  */
42
24
  'items': Array<PaymentRequestClass>;
25
+ /**
26
+ * Next page token.
27
+ * @type {string}
28
+ * @memberof ListPaymentRequestsResponseClass
29
+ */
30
+ 'nextPageToken': string;
43
31
  }
@@ -17,17 +17,17 @@ import { PayoutMethodClass } from './payout-method-class';
17
17
  */
18
18
  export interface ListPayoutMethodsResponseClass {
19
19
  /**
20
- * Next page token.
21
- * @type {string}
20
+ * The payout methods
21
+ * @type {Array<PayoutMethodClass>}
22
22
  * @memberof ListPayoutMethodsResponseClass
23
23
  */
24
- 'nextPageToken': string;
24
+ 'items': Array<PayoutMethodClass>;
25
25
  /**
26
- * Total amount of items.
27
- * @type {number}
26
+ * Next page token.
27
+ * @type {string}
28
28
  * @memberof ListPayoutMethodsResponseClass
29
29
  */
30
- 'totalItems': number;
30
+ 'nextPageToken': string;
31
31
  /**
32
32
  * Items per page.
33
33
  * @type {number}
@@ -35,9 +35,9 @@ export interface ListPayoutMethodsResponseClass {
35
35
  */
36
36
  'itemsPerPage': number;
37
37
  /**
38
- * The payout methods
39
- * @type {Array<PayoutMethodClass>}
38
+ * Total amount of items.
39
+ * @type {number}
40
40
  * @memberof ListPayoutMethodsResponseClass
41
41
  */
42
- 'items': Array<PayoutMethodClass>;
42
+ 'totalItems': number;
43
43
  }
@@ -16,28 +16,16 @@ import { RefundClass } from './refund-class';
16
16
  * @interface ListRefundsResponseClass
17
17
  */
18
18
  export interface ListRefundsResponseClass {
19
- /**
20
- * Next page token.
21
- * @type {string}
22
- * @memberof ListRefundsResponseClass
23
- */
24
- 'nextPageToken': string;
25
- /**
26
- * Total amount of items.
27
- * @type {number}
28
- * @memberof ListRefundsResponseClass
29
- */
30
- 'totalItems': number;
31
- /**
32
- * Items per page.
33
- * @type {number}
34
- * @memberof ListRefundsResponseClass
35
- */
36
- 'itemsPerPage': number;
37
19
  /**
38
20
  * The list of refunds.
39
21
  * @type {Array<RefundClass>}
40
22
  * @memberof ListRefundsResponseClass
41
23
  */
42
24
  'items': Array<RefundClass>;
25
+ /**
26
+ * Next page token.
27
+ * @type {string}
28
+ * @memberof ListRefundsResponseClass
29
+ */
30
+ 'nextPageToken': string;
43
31
  }
@@ -44,7 +44,7 @@ export interface PaymentClassWithoutExpandProperties {
44
44
  * @type {string}
45
45
  * @memberof PaymentClassWithoutExpandProperties
46
46
  */
47
- 'partnerCode'?: string;
47
+ 'partnerCode': string;
48
48
  /**
49
49
  * Amount to be paid in cents. 100 to charge 1€.
50
50
  * @type {number}
@@ -45,7 +45,7 @@ export interface PaymentClass {
45
45
  * @type {string}
46
46
  * @memberof PaymentClass
47
47
  */
48
- 'partnerCode'?: string;
48
+ 'partnerCode': string;
49
49
  /**
50
50
  * Amount to be paid in cents. 100 to charge 1€.
51
51
  * @type {number}
@@ -51,7 +51,7 @@ export interface PaymentEntity {
51
51
  * @type {string}
52
52
  * @memberof PaymentEntity
53
53
  */
54
- 'partnerCode'?: string;
54
+ 'partnerCode': string;
55
55
  /**
56
56
  *
57
57
  * @type {string}
@@ -94,6 +94,18 @@ export interface PaymentRequestClass {
94
94
  * @memberof PaymentRequestClass
95
95
  */
96
96
  'status': PaymentRequestClassStatusEnum;
97
+ /**
98
+ * Code of the settlement the payment request was created for.
99
+ * @type {string}
100
+ * @memberof PaymentRequestClass
101
+ */
102
+ 'settlementCode'?: string;
103
+ /**
104
+ * Code of the partner the payment request was created for.
105
+ * @type {string}
106
+ * @memberof PaymentRequestClass
107
+ */
108
+ 'partnerCode': string;
97
109
  /**
98
110
  * Code of the payment method used for this payment request.
99
111
  * @type {string}
@@ -69,4 +69,10 @@ export interface SharedTransactionClass {
69
69
  * @memberof SharedTransactionClass
70
70
  */
71
71
  'updatedBy': string;
72
+ /**
73
+ * Code of the bank transaction this transaction was matched from. Absent for payments that did not come from a bank transaction.
74
+ * @type {string}
75
+ * @memberof SharedTransactionClass
76
+ */
77
+ 'bankTransactionCode'?: string;
72
78
  }
@@ -71,6 +71,12 @@ export interface TransactionEntity {
71
71
  * @memberof TransactionEntity
72
72
  */
73
73
  'bankTransactionId'?: number;
74
+ /**
75
+ *
76
+ * @type {string}
77
+ * @memberof TransactionEntity
78
+ */
79
+ 'bankTransactionCode'?: string;
74
80
  /**
75
81
  *
76
82
  * @type {string}
@@ -0,0 +1,54 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Emil Payment Service
5
+ * 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.
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface CreateExceedingCreditRequestDto
21
+ */
22
+ export interface CreateExceedingCreditRequestDto {
23
+ /**
24
+ * The amount of the credit
25
+ * @type {number}
26
+ * @memberof CreateExceedingCreditRequestDto
27
+ */
28
+ 'amount': number;
29
+ /**
30
+ * The description of the credit
31
+ * @type {string}
32
+ * @memberof CreateExceedingCreditRequestDto
33
+ */
34
+ 'description'?: string;
35
+ /**
36
+ * The policy code of the credit
37
+ * @type {string}
38
+ * @memberof CreateExceedingCreditRequestDto
39
+ */
40
+ 'policyCode': string;
41
+ /**
42
+ * The transaction code of the credit
43
+ * @type {string}
44
+ * @memberof CreateExceedingCreditRequestDto
45
+ */
46
+ 'bankTransactionCode': string;
47
+ /**
48
+ * The invoice code of the credit
49
+ * @type {string}
50
+ * @memberof CreateExceedingCreditRequestDto
51
+ */
52
+ 'invoiceCode': string;
53
+ }
54
+
@@ -0,0 +1,31 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Emil Payment Service
5
+ * 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.
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import { ExceedingCreditClass } from './exceeding-credit-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface CreateExceedingCreditResponseClass
22
+ */
23
+ export interface CreateExceedingCreditResponseClass {
24
+ /**
25
+ * Exceeding credit
26
+ * @type {ExceedingCreditClass}
27
+ * @memberof CreateExceedingCreditResponseClass
28
+ */
29
+ 'exceedingCredit': ExceedingCreditClass;
30
+ }
31
+
@@ -74,6 +74,18 @@ export interface CreatePaymentRequestRequestDto {
74
74
  * @memberof CreatePaymentRequestRequestDto
75
75
  */
76
76
  'domainEntityType': CreatePaymentRequestRequestDtoDomainEntityTypeEnum;
77
+ /**
78
+ * Code of the settlement the payment request was created for.
79
+ * @type {string}
80
+ * @memberof CreatePaymentRequestRequestDto
81
+ */
82
+ 'settlementCode'?: string;
83
+ /**
84
+ * Code of the partner the payment request was created for.
85
+ * @type {string}
86
+ * @memberof CreatePaymentRequestRequestDto
87
+ */
88
+ 'partnerCode': string;
77
89
  /**
78
90
  * Code of the payment method to be used for this payment request. If not provided, a default payment method may be selected.
79
91
  * @type {string}
@@ -39,6 +39,12 @@ export interface CreditAllocationClass {
39
39
  * @memberof CreditAllocationClass
40
40
  */
41
41
  'exceedingCreditCodes': Array<string>;
42
+ /**
43
+ * Partner code derived from the policy related to the exceeding credits.
44
+ * @type {string}
45
+ * @memberof CreditAllocationClass
46
+ */
47
+ 'partnerCode': string;
42
48
  /**
43
49
  * Policy code associated with the credit.
44
50
  * @type {string}