@emilgroup/payment-sdk 1.0.0 → 1.3.1

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 (86) hide show
  1. package/.openapi-generator/FILES +17 -2
  2. package/README.md +2 -2
  3. package/api/bank-accounts-api.ts +4 -4
  4. package/api/bank-transaction-api.ts +565 -0
  5. package/api/payment-methods-api.ts +4 -4
  6. package/api/payment-reminders-api.ts +12 -10
  7. package/api/payments-api.ts +4 -4
  8. package/api/refunds-api.ts +460 -0
  9. package/api/tenant-bank-account-api.ts +651 -0
  10. package/api.ts +6 -2
  11. package/dist/api/bank-accounts-api.d.ts +4 -4
  12. package/dist/api/bank-accounts-api.js +3 -3
  13. package/dist/api/bank-transaction-api.d.ts +318 -0
  14. package/dist/api/bank-transaction-api.js +539 -0
  15. package/dist/api/payment-methods-api.d.ts +4 -4
  16. package/dist/api/payment-methods-api.js +3 -3
  17. package/dist/api/payment-reminders-api.d.ts +12 -11
  18. package/dist/api/payment-reminders-api.js +7 -7
  19. package/dist/api/payments-api.d.ts +4 -4
  20. package/dist/api/payments-api.js +3 -3
  21. package/dist/api/refunds-api.d.ts +260 -0
  22. package/dist/api/refunds-api.js +441 -0
  23. package/dist/api/tenant-bank-account-api.d.ts +361 -0
  24. package/dist/api/tenant-bank-account-api.js +616 -0
  25. package/dist/api.d.ts +3 -1
  26. package/dist/api.js +3 -1
  27. package/dist/models/bank-transaction-response-class.d.ts +122 -0
  28. package/dist/models/create-payment-request-dto.d.ts +3 -3
  29. package/dist/models/create-refund-request-dto.d.ts +24 -0
  30. package/dist/models/create-refund-request-dto.js +15 -0
  31. package/dist/models/create-refund-response-class.d.ts +25 -0
  32. package/dist/models/create-refund-response-class.js +15 -0
  33. package/dist/models/create-tenant-bank-account-request-dto.d.ts +42 -0
  34. package/dist/models/create-tenant-bank-account-request-dto.js +15 -0
  35. package/dist/models/deactivate-payment-reminder-response-class.d.ts +25 -0
  36. package/dist/models/deactivate-payment-reminder-response-class.js +15 -0
  37. package/dist/models/get-bank-transactions-response-class.d.ts +25 -0
  38. package/dist/models/get-bank-transactions-response-class.js +15 -0
  39. package/dist/models/{validate-pspconfig-response-class.d.ts → get-refund-response-class.d.ts} +7 -6
  40. package/dist/models/get-refund-response-class.js +15 -0
  41. package/dist/models/get-tenant-bank-account-response-class.d.ts +25 -0
  42. package/dist/models/get-tenant-bank-account-response-class.js +15 -0
  43. package/dist/models/index.d.ts +14 -1
  44. package/dist/models/index.js +14 -1
  45. package/dist/models/inline-response200.d.ts +6 -6
  46. package/dist/models/inline-response503.d.ts +6 -6
  47. package/dist/models/link-bank-transaction-request-dto.d.ts +30 -0
  48. package/dist/models/link-bank-transaction-request-dto.js +15 -0
  49. package/dist/models/list-bank-transactions-response-class.d.ts +31 -0
  50. package/dist/models/list-bank-transactions-response-class.js +15 -0
  51. package/dist/models/list-refunds-response-class.d.ts +31 -0
  52. package/dist/models/list-refunds-response-class.js +15 -0
  53. package/dist/models/payment-class.d.ts +1 -1
  54. package/dist/models/payment-method-class.d.ts +8 -2
  55. package/dist/models/refund-class.d.ts +104 -0
  56. package/dist/models/refund-class.js +28 -0
  57. package/dist/models/tenant-bank-account-response-class.d.ts +66 -0
  58. package/dist/models/tenant-bank-account-response-class.js +15 -0
  59. package/dist/models/update-tenant-bank-account-rest-request-dto.d.ts +36 -0
  60. package/dist/models/update-tenant-bank-account-rest-request-dto.js +15 -0
  61. package/git_push.sh +1 -1
  62. package/models/bank-transaction-response-class.ts +128 -0
  63. package/models/create-payment-request-dto.ts +3 -3
  64. package/models/create-refund-request-dto.ts +30 -0
  65. package/models/create-refund-response-class.ts +31 -0
  66. package/models/create-tenant-bank-account-request-dto.ts +48 -0
  67. package/models/deactivate-payment-reminder-response-class.ts +31 -0
  68. package/models/get-bank-transactions-response-class.ts +31 -0
  69. package/models/{validate-pspconfig-response-class.ts → get-refund-response-class.ts} +7 -6
  70. package/models/get-tenant-bank-account-response-class.ts +31 -0
  71. package/models/index.ts +14 -1
  72. package/models/inline-response200.ts +6 -6
  73. package/models/inline-response503.ts +6 -6
  74. package/models/link-bank-transaction-request-dto.ts +36 -0
  75. package/models/list-bank-transactions-response-class.ts +37 -0
  76. package/models/list-refunds-response-class.ts +37 -0
  77. package/models/payment-class.ts +1 -1
  78. package/models/payment-method-class.ts +8 -2
  79. package/models/refund-class.ts +114 -0
  80. package/models/tenant-bank-account-response-class.ts +72 -0
  81. package/models/update-tenant-bank-account-rest-request-dto.ts +42 -0
  82. package/package.json +1 -2
  83. package/api/payment-service-providers-api.ts +0 -161
  84. package/dist/api/payment-service-providers-api.d.ts +0 -93
  85. package/dist/api/payment-service-providers-api.js +0 -220
  86. /package/dist/models/{validate-pspconfig-response-class.js → bank-transaction-response-class.js} +0 -0
@@ -0,0 +1,122 @@
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 { TenantBankAccountResponseClass } from './tenant-bank-account-response-class';
13
+ import { TransactionClass } from './transaction-class';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface BankTransactionResponseClass
18
+ */
19
+ export interface BankTransactionResponseClass {
20
+ /**
21
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
22
+ * @type {number}
23
+ * @memberof BankTransactionResponseClass
24
+ */
25
+ 'id': number;
26
+ /**
27
+ * Unique identifier for the object.
28
+ * @type {string}
29
+ * @memberof BankTransactionResponseClass
30
+ */
31
+ 'code': string;
32
+ /**
33
+ * Bank account ID associated with the transaction.
34
+ * @type {number}
35
+ * @memberof BankTransactionResponseClass
36
+ */
37
+ 'bankAccountId': number;
38
+ /**
39
+ * Account number of the bank account
40
+ * @type {string}
41
+ * @memberof BankTransactionResponseClass
42
+ */
43
+ 'bankAccountNumber': string;
44
+ /**
45
+ * Reference number derived from the MT940 swift Insturctions
46
+ * @type {string}
47
+ * @memberof BankTransactionResponseClass
48
+ */
49
+ 'swiftMessageReference'?: string;
50
+ /**
51
+ * Currency of the transaction.
52
+ * @type {string}
53
+ * @memberof BankTransactionResponseClass
54
+ */
55
+ 'currency': string;
56
+ /**
57
+ * Amount of the transaction - can be negative or positive
58
+ * @type {string}
59
+ * @memberof BankTransactionResponseClass
60
+ */
61
+ 'amount': string;
62
+ /**
63
+ * Date on which the transaction was executed. Also known as Value Date
64
+ * @type {string}
65
+ * @memberof BankTransactionResponseClass
66
+ */
67
+ 'transactionDate': string;
68
+ /**
69
+ * Date on which the transaction entry was made in the system. Also known as Booking Date
70
+ * @type {string}
71
+ * @memberof BankTransactionResponseClass
72
+ */
73
+ 'entryDate': string;
74
+ /**
75
+ * Optional reference number that can be given by the customer or bank to uniquely identify a transaction. If no transaction reference is provided the value is set to \'NONREF\'
76
+ * @type {string}
77
+ * @memberof BankTransactionResponseClass
78
+ */
79
+ 'transactionReference': string;
80
+ /**
81
+ * Optional metadata that can be provided by the customer or bank to give more context to the transaction
82
+ * @type {object}
83
+ * @memberof BankTransactionResponseClass
84
+ */
85
+ 'metadata'?: object;
86
+ /**
87
+ * The id of the PSP transaction that this bank transaction is linked to
88
+ * @type {number}
89
+ * @memberof BankTransactionResponseClass
90
+ */
91
+ 'linkedTransactionId': number;
92
+ /**
93
+ * The code of the invoice that this bank transaction is linked to
94
+ * @type {string}
95
+ * @memberof BankTransactionResponseClass
96
+ */
97
+ 'linkedInvoiceCode'?: string;
98
+ /**
99
+ * Boolean flag to indicate if the bank transaction is linked to an invoice - defaults to false
100
+ * @type {boolean}
101
+ * @memberof BankTransactionResponseClass
102
+ */
103
+ 'isLinked': boolean;
104
+ /**
105
+ * The bank account object that this transaction is belongs to
106
+ * @type {TenantBankAccountResponseClass}
107
+ * @memberof BankTransactionResponseClass
108
+ */
109
+ 'bankAccount': TenantBankAccountResponseClass;
110
+ /**
111
+ * The linked transaction object
112
+ * @type {TransactionClass}
113
+ * @memberof BankTransactionResponseClass
114
+ */
115
+ 'linkedTransaction': TransactionClass;
116
+ /**
117
+ * Time at which the object was created.
118
+ * @type {string}
119
+ * @memberof BankTransactionResponseClass
120
+ */
121
+ 'createdAt': string;
122
+ }
@@ -35,10 +35,10 @@ export interface CreatePaymentRequestDto {
35
35
  'currency'?: string;
36
36
  /**
37
37
  * Invoices referenced in this payment. Usually, one payment has one invoice id but it is possible to pay multiple invoices at once with a single payment.
38
- * @type {Array<string>}
38
+ * @type {Array<number>}
39
39
  * @memberof CreatePaymentRequestDto
40
40
  */
41
- 'invoiceIds': Array<string>;
41
+ 'invoiceIds': Array<number>;
42
42
  /**
43
43
  * Optional field contain extra information.
44
44
  * @type {object}
@@ -46,7 +46,7 @@ export interface CreatePaymentRequestDto {
46
46
  */
47
47
  'metadata': object;
48
48
  /**
49
- * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
49
+ * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
50
50
  * @type {string}
51
51
  * @memberof CreatePaymentRequestDto
52
52
  */
@@ -0,0 +1,24 @@
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 CreateRefundRequestDto
16
+ */
17
+ export interface CreateRefundRequestDto {
18
+ /**
19
+ * The code of the invoice to refund, must be of type Withdraw or Final or Correction
20
+ * @type {string}
21
+ * @memberof CreateRefundRequestDto
22
+ */
23
+ 'invoiceCode': string;
24
+ }
@@ -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 { RefundClass } from './refund-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface CreateRefundResponseClass
17
+ */
18
+ export interface CreateRefundResponseClass {
19
+ /**
20
+ * Refund
21
+ * @type {RefundClass}
22
+ * @memberof CreateRefundResponseClass
23
+ */
24
+ 'refund': RefundClass;
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 });
@@ -0,0 +1,42 @@
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 CreateTenantBankAccountRequestDto
16
+ */
17
+ export interface CreateTenantBankAccountRequestDto {
18
+ /**
19
+ * Name of the account given by the user - to quickly identify the account
20
+ * @type {string}
21
+ * @memberof CreateTenantBankAccountRequestDto
22
+ */
23
+ 'accountName': string;
24
+ /**
25
+ * Name of the bank the account belongs to
26
+ * @type {string}
27
+ * @memberof CreateTenantBankAccountRequestDto
28
+ */
29
+ 'bankName': string;
30
+ /**
31
+ * IBAN number for the bank account
32
+ * @type {string}
33
+ * @memberof CreateTenantBankAccountRequestDto
34
+ */
35
+ 'iban': string;
36
+ /**
37
+ * The name of the account
38
+ * @type {string}
39
+ * @memberof CreateTenantBankAccountRequestDto
40
+ */
41
+ 'bookingAccount': string;
42
+ }
@@ -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 { PaymentReminderClass } from './payment-reminder-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface DeactivatePaymentReminderResponseClass
17
+ */
18
+ export interface DeactivatePaymentReminderResponseClass {
19
+ /**
20
+ * The payment reminder
21
+ * @type {PaymentReminderClass}
22
+ * @memberof DeactivatePaymentReminderResponseClass
23
+ */
24
+ 'paymentReminder': PaymentReminderClass;
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 });
@@ -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 { BankTransactionResponseClass } from './bank-transaction-response-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface GetBankTransactionsResponseClass
17
+ */
18
+ export interface GetBankTransactionsResponseClass {
19
+ /**
20
+ * Bank transaction
21
+ * @type {BankTransactionResponseClass}
22
+ * @memberof GetBankTransactionsResponseClass
23
+ */
24
+ 'bankTransaction': BankTransactionResponseClass;
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 });
@@ -9,16 +9,17 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { RefundClass } from './refund-class';
12
13
  /**
13
14
  *
14
15
  * @export
15
- * @interface ValidatePSPConfigResponseClass
16
+ * @interface GetRefundResponseClass
16
17
  */
17
- export interface ValidatePSPConfigResponseClass {
18
+ export interface GetRefundResponseClass {
18
19
  /**
19
- * Returns if configuration is valid or not.
20
- * @type {boolean}
21
- * @memberof ValidatePSPConfigResponseClass
20
+ * Refund
21
+ * @type {RefundClass}
22
+ * @memberof GetRefundResponseClass
22
23
  */
23
- 'valid': boolean;
24
+ 'refund': RefundClass;
24
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 });
@@ -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 { TenantBankAccountResponseClass } from './tenant-bank-account-response-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface GetTenantBankAccountResponseClass
17
+ */
18
+ export interface GetTenantBankAccountResponseClass {
19
+ /**
20
+ * Tenant Bank Account
21
+ * @type {TenantBankAccountResponseClass}
22
+ * @memberof GetTenantBankAccountResponseClass
23
+ */
24
+ 'bankAccount': TenantBankAccountResponseClass;
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 });
@@ -1,4 +1,5 @@
1
1
  export * from './bank-account-class';
2
+ export * from './bank-transaction-response-class';
2
3
  export * from './billing-profile-dto';
3
4
  export * from './billing-profile-limited-response-dto';
4
5
  export * from './complete-braintree-payment-setup-request-dto';
@@ -11,10 +12,17 @@ export * from './create-payment-reminder-request-dto';
11
12
  export * from './create-payment-request-dto';
12
13
  export * from './create-payment-response-class';
13
14
  export * from './create-psp-payment-method-request-dto';
15
+ export * from './create-refund-request-dto';
16
+ export * from './create-refund-response-class';
17
+ export * from './create-tenant-bank-account-request-dto';
14
18
  export * from './deactivate-payment-reminder-request-dto';
19
+ export * from './deactivate-payment-reminder-response-class';
20
+ export * from './get-bank-transactions-response-class';
15
21
  export * from './get-payment-method-response-class';
16
22
  export * from './get-payment-response-class';
23
+ export * from './get-refund-response-class';
17
24
  export * from './get-request-dto';
25
+ export * from './get-tenant-bank-account-response-class';
18
26
  export * from './initiate-braintree-payment-setup-request-dto';
19
27
  export * from './initiate-braintree-payment-setup-response-class';
20
28
  export * from './initiate-payment-setup-request-dto';
@@ -23,15 +31,20 @@ export * from './initiate-stripe-payment-setup-request-dto';
23
31
  export * from './initiate-stripe-payment-setup-response-class';
24
32
  export * from './inline-response200';
25
33
  export * from './inline-response503';
34
+ export * from './link-bank-transaction-request-dto';
26
35
  export * from './list-bank-accounts-response-class';
36
+ export * from './list-bank-transactions-response-class';
27
37
  export * from './list-payment-methods-response-class';
28
38
  export * from './list-payment-reminders-response-class';
29
39
  export * from './list-payments-response-class';
40
+ export * from './list-refunds-response-class';
30
41
  export * from './payment-class';
31
42
  export * from './payment-method-class';
32
43
  export * from './payment-reminder-class';
44
+ export * from './refund-class';
33
45
  export * from './sepa-direct-dto';
34
46
  export * from './symphony-profile-limited-response-dto';
47
+ export * from './tenant-bank-account-response-class';
35
48
  export * from './transaction-class';
49
+ export * from './update-tenant-bank-account-rest-request-dto';
36
50
  export * from './validate-pspconfig-request-dto';
37
- export * from './validate-pspconfig-response-class';
@@ -15,6 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./bank-account-class"), exports);
18
+ __exportStar(require("./bank-transaction-response-class"), exports);
18
19
  __exportStar(require("./billing-profile-dto"), exports);
19
20
  __exportStar(require("./billing-profile-limited-response-dto"), exports);
20
21
  __exportStar(require("./complete-braintree-payment-setup-request-dto"), exports);
@@ -27,10 +28,17 @@ __exportStar(require("./create-payment-reminder-request-dto"), exports);
27
28
  __exportStar(require("./create-payment-request-dto"), exports);
28
29
  __exportStar(require("./create-payment-response-class"), exports);
29
30
  __exportStar(require("./create-psp-payment-method-request-dto"), exports);
31
+ __exportStar(require("./create-refund-request-dto"), exports);
32
+ __exportStar(require("./create-refund-response-class"), exports);
33
+ __exportStar(require("./create-tenant-bank-account-request-dto"), exports);
30
34
  __exportStar(require("./deactivate-payment-reminder-request-dto"), exports);
35
+ __exportStar(require("./deactivate-payment-reminder-response-class"), exports);
36
+ __exportStar(require("./get-bank-transactions-response-class"), exports);
31
37
  __exportStar(require("./get-payment-method-response-class"), exports);
32
38
  __exportStar(require("./get-payment-response-class"), exports);
39
+ __exportStar(require("./get-refund-response-class"), exports);
33
40
  __exportStar(require("./get-request-dto"), exports);
41
+ __exportStar(require("./get-tenant-bank-account-response-class"), exports);
34
42
  __exportStar(require("./initiate-braintree-payment-setup-request-dto"), exports);
35
43
  __exportStar(require("./initiate-braintree-payment-setup-response-class"), exports);
36
44
  __exportStar(require("./initiate-payment-setup-request-dto"), exports);
@@ -39,15 +47,20 @@ __exportStar(require("./initiate-stripe-payment-setup-request-dto"), exports);
39
47
  __exportStar(require("./initiate-stripe-payment-setup-response-class"), exports);
40
48
  __exportStar(require("./inline-response200"), exports);
41
49
  __exportStar(require("./inline-response503"), exports);
50
+ __exportStar(require("./link-bank-transaction-request-dto"), exports);
42
51
  __exportStar(require("./list-bank-accounts-response-class"), exports);
52
+ __exportStar(require("./list-bank-transactions-response-class"), exports);
43
53
  __exportStar(require("./list-payment-methods-response-class"), exports);
44
54
  __exportStar(require("./list-payment-reminders-response-class"), exports);
45
55
  __exportStar(require("./list-payments-response-class"), exports);
56
+ __exportStar(require("./list-refunds-response-class"), exports);
46
57
  __exportStar(require("./payment-class"), exports);
47
58
  __exportStar(require("./payment-method-class"), exports);
48
59
  __exportStar(require("./payment-reminder-class"), exports);
60
+ __exportStar(require("./refund-class"), exports);
49
61
  __exportStar(require("./sepa-direct-dto"), exports);
50
62
  __exportStar(require("./symphony-profile-limited-response-dto"), exports);
63
+ __exportStar(require("./tenant-bank-account-response-class"), exports);
51
64
  __exportStar(require("./transaction-class"), exports);
65
+ __exportStar(require("./update-tenant-bank-account-rest-request-dto"), exports);
52
66
  __exportStar(require("./validate-pspconfig-request-dto"), exports);
53
- __exportStar(require("./validate-pspconfig-response-class"), exports);
@@ -23,32 +23,32 @@ export interface InlineResponse200 {
23
23
  'status'?: string;
24
24
  /**
25
25
  *
26
- * @type {{ [key: string]: { [key: string]: string; }; }}
26
+ * @type {{ [key: string]: { [key: string]: object; }; }}
27
27
  * @memberof InlineResponse200
28
28
  */
29
29
  'info'?: {
30
30
  [key: string]: {
31
- [key: string]: string;
31
+ [key: string]: object;
32
32
  };
33
33
  } | null;
34
34
  /**
35
35
  *
36
- * @type {{ [key: string]: { [key: string]: string; }; }}
36
+ * @type {{ [key: string]: { [key: string]: object; }; }}
37
37
  * @memberof InlineResponse200
38
38
  */
39
39
  'error'?: {
40
40
  [key: string]: {
41
- [key: string]: string;
41
+ [key: string]: object;
42
42
  };
43
43
  } | null;
44
44
  /**
45
45
  *
46
- * @type {{ [key: string]: { [key: string]: string; }; }}
46
+ * @type {{ [key: string]: { [key: string]: object; }; }}
47
47
  * @memberof InlineResponse200
48
48
  */
49
49
  'details'?: {
50
50
  [key: string]: {
51
- [key: string]: string;
51
+ [key: string]: object;
52
52
  };
53
53
  };
54
54
  }
@@ -23,32 +23,32 @@ export interface InlineResponse503 {
23
23
  'status'?: string;
24
24
  /**
25
25
  *
26
- * @type {{ [key: string]: { [key: string]: string; }; }}
26
+ * @type {{ [key: string]: { [key: string]: object; }; }}
27
27
  * @memberof InlineResponse503
28
28
  */
29
29
  'info'?: {
30
30
  [key: string]: {
31
- [key: string]: string;
31
+ [key: string]: object;
32
32
  };
33
33
  } | null;
34
34
  /**
35
35
  *
36
- * @type {{ [key: string]: { [key: string]: string; }; }}
36
+ * @type {{ [key: string]: { [key: string]: object; }; }}
37
37
  * @memberof InlineResponse503
38
38
  */
39
39
  'error'?: {
40
40
  [key: string]: {
41
- [key: string]: string;
41
+ [key: string]: object;
42
42
  };
43
43
  } | null;
44
44
  /**
45
45
  *
46
- * @type {{ [key: string]: { [key: string]: string; }; }}
46
+ * @type {{ [key: string]: { [key: string]: object; }; }}
47
47
  * @memberof InlineResponse503
48
48
  */
49
49
  'details'?: {
50
50
  [key: string]: {
51
- [key: string]: string;
51
+ [key: string]: object;
52
52
  };
53
53
  };
54
54
  }
@@ -0,0 +1,30 @@
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 LinkBankTransactionRequestDto
16
+ */
17
+ export interface LinkBankTransactionRequestDto {
18
+ /**
19
+ * Unique identifier for the object.
20
+ * @type {string}
21
+ * @memberof LinkBankTransactionRequestDto
22
+ */
23
+ 'code': string;
24
+ /**
25
+ * The code of the invoice that the transaction will be linked to.
26
+ * @type {string}
27
+ * @memberof LinkBankTransactionRequestDto
28
+ */
29
+ 'invoiceCode': string;
30
+ }