@emilgroup/payment-sdk 1.16.1-beta.9 → 1.16.1-beta.90

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 (129) hide show
  1. package/.openapi-generator/FILES +12 -0
  2. package/README.md +2 -2
  3. package/api/bank-accounts-api.ts +16 -16
  4. package/api/bank-orders-api.ts +16 -16
  5. package/api/bank-transaction-api.ts +12 -12
  6. package/api/billing-addresses-api.ts +12 -12
  7. package/api/credit-allocation-api.ts +12 -12
  8. package/api/exceeding-credits-api.ts +12 -12
  9. package/api/ibanvalidator-api.ts +165 -0
  10. package/api/payment-methods-api.ts +12 -12
  11. package/api/payment-receipts-api.ts +676 -0
  12. package/api/payment-reminders-api.ts +16 -16
  13. package/api/payment-requests-api.ts +20 -20
  14. package/api/payments-api.ts +12 -12
  15. package/api/payout-methods-api.ts +138 -20
  16. package/api/refunds-api.ts +12 -12
  17. package/api/tenant-bank-account-api.ts +12 -12
  18. package/api/webhooks-api.ts +125 -14
  19. package/api.ts +4 -0
  20. package/base.ts +1 -0
  21. package/dist/api/bank-accounts-api.d.ts +16 -16
  22. package/dist/api/bank-accounts-api.js +13 -13
  23. package/dist/api/bank-orders-api.d.ts +16 -16
  24. package/dist/api/bank-orders-api.js +14 -14
  25. package/dist/api/bank-transaction-api.d.ts +12 -12
  26. package/dist/api/bank-transaction-api.js +10 -10
  27. package/dist/api/billing-addresses-api.d.ts +12 -12
  28. package/dist/api/billing-addresses-api.js +10 -10
  29. package/dist/api/credit-allocation-api.d.ts +12 -12
  30. package/dist/api/credit-allocation-api.js +10 -10
  31. package/dist/api/exceeding-credits-api.d.ts +12 -12
  32. package/dist/api/exceeding-credits-api.js +10 -10
  33. package/dist/api/ibanvalidator-api.d.ts +97 -0
  34. package/dist/api/ibanvalidator-api.js +224 -0
  35. package/dist/api/payment-methods-api.d.ts +12 -12
  36. package/dist/api/payment-methods-api.js +10 -10
  37. package/dist/api/payment-receipts-api.d.ts +383 -0
  38. package/dist/api/payment-receipts-api.js +637 -0
  39. package/dist/api/payment-reminders-api.d.ts +16 -16
  40. package/dist/api/payment-reminders-api.js +13 -13
  41. package/dist/api/payment-requests-api.d.ts +20 -20
  42. package/dist/api/payment-requests-api.js +15 -15
  43. package/dist/api/payments-api.d.ts +12 -12
  44. package/dist/api/payments-api.js +10 -10
  45. package/dist/api/payout-methods-api.d.ts +85 -20
  46. package/dist/api/payout-methods-api.js +115 -16
  47. package/dist/api/refunds-api.d.ts +12 -12
  48. package/dist/api/refunds-api.js +10 -10
  49. package/dist/api/tenant-bank-account-api.d.ts +12 -12
  50. package/dist/api/tenant-bank-account-api.js +10 -10
  51. package/dist/api/webhooks-api.d.ts +73 -9
  52. package/dist/api/webhooks-api.js +100 -11
  53. package/dist/api.d.ts +2 -0
  54. package/dist/api.js +2 -0
  55. package/dist/base.d.ts +2 -1
  56. package/dist/base.js +1 -0
  57. package/dist/models/bank-account-class-without-expand-properties.d.ts +6 -0
  58. package/dist/models/bank-account-class.d.ts +6 -0
  59. package/dist/models/bank-data-class.d.ts +36 -0
  60. package/dist/models/bank-data-class.js +15 -0
  61. package/dist/models/bank-transaction-entity.d.ts +4 -2
  62. package/dist/models/create-payment-order-dto.d.ts +4 -2
  63. package/dist/models/create-payment-order-request-dto.d.ts +4 -2
  64. package/dist/models/create-payment-receipt-request-dto.d.ts +65 -0
  65. package/dist/models/create-payment-receipt-request-dto.js +20 -0
  66. package/dist/models/create-payment-receipt-response-class.d.ts +25 -0
  67. package/dist/models/create-payment-receipt-response-class.js +15 -0
  68. package/dist/models/create-payment-request-dto.d.ts +4 -2
  69. package/dist/models/create-payment-request-request-dto.d.ts +20 -8
  70. package/dist/models/create-payment-request-request-dto.js +3 -5
  71. package/dist/models/create-payout-method-by-bank-account-request-dto.d.ts +36 -0
  72. package/dist/models/create-payout-method-by-bank-account-request-dto.js +15 -0
  73. package/dist/models/create-payout-method-request-dto.d.ts +8 -2
  74. package/dist/models/credit-allocation-class.d.ts +6 -0
  75. package/dist/models/credit-allocation-entity.d.ts +6 -0
  76. package/dist/models/get-payment-receipt-response-class.d.ts +25 -0
  77. package/dist/models/get-payment-receipt-response-class.js +15 -0
  78. package/dist/models/index.d.ts +10 -0
  79. package/dist/models/index.js +10 -0
  80. package/dist/models/invoice-match-suggestion-entity.d.ts +4 -2
  81. package/dist/models/list-payment-receipts-response-class.d.ts +43 -0
  82. package/dist/models/list-payment-receipts-response-class.js +15 -0
  83. package/dist/models/payment-class-without-expand-properties.d.ts +1 -1
  84. package/dist/models/payment-class.d.ts +1 -1
  85. package/dist/models/payment-entity.d.ts +5 -3
  86. package/dist/models/payment-receipt-class.d.ts +101 -0
  87. package/dist/models/payment-receipt-class.js +20 -0
  88. package/dist/models/payment-request-class.d.ts +29 -10
  89. package/dist/models/payment-request-class.js +4 -6
  90. package/dist/models/payout-method-class.d.ts +6 -0
  91. package/dist/models/update-payment-receipt-response-class.d.ts +25 -0
  92. package/dist/models/update-payment-receipt-response-class.js +15 -0
  93. package/dist/models/update-payment-request-request-dto.d.ts +2 -2
  94. package/dist/models/update-payment-request-request-dto.js +1 -1
  95. package/dist/models/validate-iban-request-dto.d.ts +24 -0
  96. package/dist/models/validate-iban-request-dto.js +15 -0
  97. package/dist/models/validate-iban-response-class.d.ts +31 -0
  98. package/dist/models/validate-iban-response-class.js +15 -0
  99. package/dist/models/validate-pspconfig-request-dto.d.ts +4 -2
  100. package/models/bank-account-class-without-expand-properties.ts +6 -0
  101. package/models/bank-account-class.ts +6 -0
  102. package/models/bank-data-class.ts +42 -0
  103. package/models/bank-transaction-entity.ts +2 -2
  104. package/models/create-payment-order-dto.ts +2 -2
  105. package/models/create-payment-order-request-dto.ts +2 -2
  106. package/models/create-payment-receipt-request-dto.ts +74 -0
  107. package/models/create-payment-receipt-response-class.ts +31 -0
  108. package/models/create-payment-request-dto.ts +2 -2
  109. package/models/create-payment-request-request-dto.ts +18 -8
  110. package/models/create-payout-method-by-bank-account-request-dto.ts +42 -0
  111. package/models/create-payout-method-request-dto.ts +8 -2
  112. package/models/credit-allocation-class.ts +6 -0
  113. package/models/credit-allocation-entity.ts +6 -0
  114. package/models/get-payment-receipt-response-class.ts +31 -0
  115. package/models/index.ts +10 -0
  116. package/models/invoice-match-suggestion-entity.ts +2 -2
  117. package/models/list-payment-receipts-response-class.ts +49 -0
  118. package/models/payment-class-without-expand-properties.ts +1 -1
  119. package/models/payment-class.ts +1 -1
  120. package/models/payment-entity.ts +3 -3
  121. package/models/payment-receipt-class.ts +110 -0
  122. package/models/payment-request-class.ts +27 -10
  123. package/models/payout-method-class.ts +6 -0
  124. package/models/update-payment-receipt-response-class.ts +31 -0
  125. package/models/update-payment-request-request-dto.ts +2 -2
  126. package/models/validate-iban-request-dto.ts +30 -0
  127. package/models/validate-iban-response-class.ts +37 -0
  128. package/models/validate-pspconfig-request-dto.ts +2 -2
  129. package/package.json +2 -2
@@ -45,6 +45,12 @@ export interface PayoutMethodClass {
45
45
  * @memberof PayoutMethodClass
46
46
  */
47
47
  'lastName': string;
48
+ /**
49
+ * Bank account holder.
50
+ * @type {string}
51
+ * @memberof PayoutMethodClass
52
+ */
53
+ 'accountHolder': string;
48
54
  /**
49
55
  * IBAN
50
56
  * @type {string}
@@ -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 { PaymentReceiptClass } from './payment-receipt-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface UpdatePaymentReceiptResponseClass
22
+ */
23
+ export interface UpdatePaymentReceiptResponseClass {
24
+ /**
25
+ * The updated payment receipt.
26
+ * @type {PaymentReceiptClass}
27
+ * @memberof UpdatePaymentReceiptResponseClass
28
+ */
29
+ 'paymentReceipt'?: PaymentReceiptClass;
30
+ }
31
+
@@ -27,7 +27,7 @@ export interface UpdatePaymentRequestRequestDto {
27
27
  */
28
28
  'code': string;
29
29
  /**
30
- * New status for the payment request. Valid statuses: open, approved, pending, succeeded, failed, withdrawn
30
+ * New status for the payment request. Valid statuses: open, approved, pending, paid, failed, withdrawn
31
31
  * @type {string}
32
32
  * @memberof UpdatePaymentRequestRequestDto
33
33
  */
@@ -38,7 +38,7 @@ export const UpdatePaymentRequestRequestDtoStatusEnum = {
38
38
  Open: 'open',
39
39
  Approved: 'approved',
40
40
  Pending: 'pending',
41
- Succeeded: 'succeeded',
41
+ Paid: 'paid',
42
42
  Failed: 'failed',
43
43
  Withdrawn: 'withdrawn'
44
44
  } as const;
@@ -0,0 +1,30 @@
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 ValidateIbanRequestDto
21
+ */
22
+ export interface ValidateIbanRequestDto {
23
+ /**
24
+ * iban
25
+ * @type {string}
26
+ * @memberof ValidateIbanRequestDto
27
+ */
28
+ 'iban': string;
29
+ }
30
+
@@ -0,0 +1,37 @@
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 { BankDataClass } from './bank-data-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface ValidateIbanResponseClass
22
+ */
23
+ export interface ValidateIbanResponseClass {
24
+ /**
25
+ * valid
26
+ * @type {boolean}
27
+ * @memberof ValidateIbanResponseClass
28
+ */
29
+ 'valid': boolean;
30
+ /**
31
+ * bankData
32
+ * @type {BankDataClass}
33
+ * @memberof ValidateIbanResponseClass
34
+ */
35
+ 'bankData'?: BankDataClass;
36
+ }
37
+
@@ -28,10 +28,10 @@ export interface ValidatePSPConfigRequestDto {
28
28
  'type': ValidatePSPConfigRequestDtoTypeEnum;
29
29
  /**
30
30
  * Map containing various necessary keys to properly use the payment service provider. In the form of <api key name, api key value>.
31
- * @type {object}
31
+ * @type {{ [key: string]: string; }}
32
32
  * @memberof ValidatePSPConfigRequestDto
33
33
  */
34
- 'apiKeys': object;
34
+ 'apiKeys': { [key: string]: string; };
35
35
  /**
36
36
  * List of payment methods that should be accepted by the payment service provider.
37
37
  * @type {Array<string>}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/payment-sdk",
3
- "version": "1.16.1-beta.9",
3
+ "version": "1.16.1-beta.90",
4
4
  "description": "OpenAPI client for @emilgroup/payment-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [
@@ -18,7 +18,7 @@
18
18
  "prepare": "npm run build"
19
19
  },
20
20
  "dependencies": {
21
- "axios": "^1.12.0"
21
+ "axios": "1.18.0"
22
22
  },
23
23
  "devDependencies": {
24
24