@emilgroup/payment-sdk-node 1.23.1-beta.10 → 1.23.1-beta.101

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 +169 -0
  10. package/api/payment-methods-api.ts +12 -12
  11. package/api/payment-receipts-api.ts +680 -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 +228 -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 +641 -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 +54 -11
  70. package/dist/models/create-payment-request-request-dto.js +8 -4
  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 +68 -12
  89. package/dist/models/payment-request-class.js +9 -5
  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 +53 -11
  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 +67 -12
  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
@@ -50,6 +50,12 @@ export interface BankAccountClassWithoutExpandProperties {
50
50
  * @memberof BankAccountClassWithoutExpandProperties
51
51
  */
52
52
  'bic': string;
53
+ /**
54
+ * Bank name.
55
+ * @type {string}
56
+ * @memberof BankAccountClassWithoutExpandProperties
57
+ */
58
+ 'bankName': string;
53
59
  /**
54
60
  * Bank account holder.
55
61
  * @type {string}
@@ -51,6 +51,12 @@ export interface BankAccountClass {
51
51
  * @memberof BankAccountClass
52
52
  */
53
53
  'bic': string;
54
+ /**
55
+ * Bank name.
56
+ * @type {string}
57
+ * @memberof BankAccountClass
58
+ */
59
+ 'bankName': string;
54
60
  /**
55
61
  * Bank account holder.
56
62
  * @type {string}
@@ -0,0 +1,42 @@
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 BankDataClass
21
+ */
22
+ export interface BankDataClass {
23
+ /**
24
+ * BIC
25
+ * @type {string}
26
+ * @memberof BankDataClass
27
+ */
28
+ 'bic': string;
29
+ /**
30
+ * Bank name
31
+ * @type {string}
32
+ * @memberof BankDataClass
33
+ */
34
+ 'name': string;
35
+ /**
36
+ * Bank code
37
+ * @type {string}
38
+ * @memberof BankDataClass
39
+ */
40
+ 'code': string;
41
+ }
42
+
@@ -100,10 +100,10 @@ export interface BankTransactionEntity {
100
100
  'transactionReference': string;
101
101
  /**
102
102
  *
103
- * @type {object}
103
+ * @type {{ [key: string]: object; }}
104
104
  * @memberof BankTransactionEntity
105
105
  */
106
- 'metadata'?: object;
106
+ 'metadata'?: { [key: string]: object; };
107
107
  /**
108
108
  *
109
109
  * @type {string}
@@ -46,9 +46,9 @@ export interface CreatePaymentOrderDto {
46
46
  'referenceNumber'?: string;
47
47
  /**
48
48
  * Optional field contain extra information.
49
- * @type {object}
49
+ * @type {{ [key: string]: string; }}
50
50
  * @memberof CreatePaymentOrderDto
51
51
  */
52
- 'metadata': object;
52
+ 'metadata': { [key: string]: string; };
53
53
  }
54
54
 
@@ -46,9 +46,9 @@ export interface CreatePaymentOrderRequestDto {
46
46
  'referenceNumber'?: string;
47
47
  /**
48
48
  *
49
- * @type {object}
49
+ * @type {{ [key: string]: string; }}
50
50
  * @memberof CreatePaymentOrderRequestDto
51
51
  */
52
- 'metadata': object;
52
+ 'metadata': { [key: string]: string; };
53
53
  }
54
54
 
@@ -0,0 +1,74 @@
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 CreatePaymentReceiptRequestDto
21
+ */
22
+ export interface CreatePaymentReceiptRequestDto {
23
+ /**
24
+ * amount
25
+ * @type {number}
26
+ * @memberof CreatePaymentReceiptRequestDto
27
+ */
28
+ 'amount': number;
29
+ /**
30
+ * currency
31
+ * @type {string}
32
+ * @memberof CreatePaymentReceiptRequestDto
33
+ */
34
+ 'currency': string;
35
+ /**
36
+ * The flow of the payment: disburse or collect
37
+ * @type {string}
38
+ * @memberof CreatePaymentReceiptRequestDto
39
+ */
40
+ 'direction': CreatePaymentReceiptRequestDtoDirectionEnum;
41
+ /**
42
+ * Date the payment was confirmed
43
+ * @type {string}
44
+ * @memberof CreatePaymentReceiptRequestDto
45
+ */
46
+ 'dateOfPayment': string;
47
+ /**
48
+ * paymentRequestCode
49
+ * @type {string}
50
+ * @memberof CreatePaymentReceiptRequestDto
51
+ */
52
+ 'paymentRequestCode'?: string;
53
+ /**
54
+ * psp
55
+ * @type {string}
56
+ * @memberof CreatePaymentReceiptRequestDto
57
+ */
58
+ 'psp'?: string;
59
+ /**
60
+ * comment
61
+ * @type {string}
62
+ * @memberof CreatePaymentReceiptRequestDto
63
+ */
64
+ 'comment'?: string;
65
+ }
66
+
67
+ export const CreatePaymentReceiptRequestDtoDirectionEnum = {
68
+ Collect: 'collect',
69
+ Disburse: 'disburse'
70
+ } as const;
71
+
72
+ export type CreatePaymentReceiptRequestDtoDirectionEnum = typeof CreatePaymentReceiptRequestDtoDirectionEnum[keyof typeof CreatePaymentReceiptRequestDtoDirectionEnum];
73
+
74
+
@@ -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 CreatePaymentReceiptResponseClass
22
+ */
23
+ export interface CreatePaymentReceiptResponseClass {
24
+ /**
25
+ * The created payment receipt with all its details.
26
+ * @type {PaymentReceiptClass}
27
+ * @memberof CreatePaymentReceiptResponseClass
28
+ */
29
+ 'paymentReceipt'?: PaymentReceiptClass;
30
+ }
31
+
@@ -52,10 +52,10 @@ export interface CreatePaymentRequestDto {
52
52
  'invoiceIds': Array<number>;
53
53
  /**
54
54
  * Optional field contain extra information.
55
- * @type {object}
55
+ * @type {{ [key: string]: string; }}
56
56
  * @memberof CreatePaymentRequestDto
57
57
  */
58
- 'metadata': object;
58
+ 'metadata': { [key: string]: string; };
59
59
  /**
60
60
  * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
61
61
  * @type {string}
@@ -27,7 +27,7 @@ export interface CreatePaymentRequestRequestDto {
27
27
  */
28
28
  'amount': number;
29
29
  /**
30
- * Currency code for the payment request.
30
+ * Currency code for the payment request (ISO 4217 format).
31
31
  * @type {string}
32
32
  * @memberof CreatePaymentRequestRequestDto
33
33
  */
@@ -39,17 +39,53 @@ export interface CreatePaymentRequestRequestDto {
39
39
  */
40
40
  'direction': CreatePaymentRequestRequestDtoDirectionEnum;
41
41
  /**
42
- * Code of the source entity (e.g., invoice code, claim code) that this payment request is associated with.
42
+ * Code of the financial entity (e.g., invoice code, claim adjustment code) that this payment request is associated with.
43
43
  * @type {string}
44
44
  * @memberof CreatePaymentRequestRequestDto
45
45
  */
46
- 'sourceEntityCode'?: string;
46
+ 'financialEntityCode': string;
47
47
  /**
48
- * Type of the payment request. Defines the business context or purpose of the payment.
48
+ * Number of the financial entity (e.g., invoice number, claim adjustment number).
49
49
  * @type {string}
50
50
  * @memberof CreatePaymentRequestRequestDto
51
51
  */
52
- 'type': CreatePaymentRequestRequestDtoTypeEnum;
52
+ 'financialEntityNumber': string;
53
+ /**
54
+ * Type of the financial entity (e.g., refund_allocation, claim_regulation).
55
+ * @type {string}
56
+ * @memberof CreatePaymentRequestRequestDto
57
+ */
58
+ 'financialEntityType': CreatePaymentRequestRequestDtoFinancialEntityTypeEnum;
59
+ /**
60
+ * Code of the domain entity (e.g., policy code, claim code) that this payment request is associated with.
61
+ * @type {string}
62
+ * @memberof CreatePaymentRequestRequestDto
63
+ */
64
+ 'domainEntityCode': string;
65
+ /**
66
+ * Number of the domain entity (e.g., policy number, claim number).
67
+ * @type {string}
68
+ * @memberof CreatePaymentRequestRequestDto
69
+ */
70
+ 'domainEntityNumber': string;
71
+ /**
72
+ * Type of the domain entity (e.g., policy, claim).
73
+ * @type {string}
74
+ * @memberof CreatePaymentRequestRequestDto
75
+ */
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;
53
89
  /**
54
90
  * Code of the payment method to be used for this payment request. If not provided, a default payment method may be selected.
55
91
  * @type {string}
@@ -58,10 +94,10 @@ export interface CreatePaymentRequestRequestDto {
58
94
  'paymentMethodCode'?: string;
59
95
  /**
60
96
  * Optional field containing extra information about the payment request.
61
- * @type {object}
97
+ * @type {{ [key: string]: object; }}
62
98
  * @memberof CreatePaymentRequestRequestDto
63
99
  */
64
- 'metadata'?: object;
100
+ 'metadata'?: { [key: string]: object; };
65
101
  }
66
102
 
67
103
  export const CreatePaymentRequestRequestDtoDirectionEnum = {
@@ -70,13 +106,19 @@ export const CreatePaymentRequestRequestDtoDirectionEnum = {
70
106
  } as const;
71
107
 
72
108
  export type CreatePaymentRequestRequestDtoDirectionEnum = typeof CreatePaymentRequestRequestDtoDirectionEnum[keyof typeof CreatePaymentRequestRequestDtoDirectionEnum];
73
- export const CreatePaymentRequestRequestDtoTypeEnum = {
109
+ export const CreatePaymentRequestRequestDtoFinancialEntityTypeEnum = {
110
+ ClaimRegulation: 'claim_regulation',
111
+ RefundAllocation: 'refund_allocation',
112
+ Other: 'other'
113
+ } as const;
114
+
115
+ export type CreatePaymentRequestRequestDtoFinancialEntityTypeEnum = typeof CreatePaymentRequestRequestDtoFinancialEntityTypeEnum[keyof typeof CreatePaymentRequestRequestDtoFinancialEntityTypeEnum];
116
+ export const CreatePaymentRequestRequestDtoDomainEntityTypeEnum = {
74
117
  Other: 'other',
75
118
  Claim: 'claim',
76
- Premium: 'premium',
77
- Commission: 'commission'
119
+ Policy: 'policy'
78
120
  } as const;
79
121
 
80
- export type CreatePaymentRequestRequestDtoTypeEnum = typeof CreatePaymentRequestRequestDtoTypeEnum[keyof typeof CreatePaymentRequestRequestDtoTypeEnum];
122
+ export type CreatePaymentRequestRequestDtoDomainEntityTypeEnum = typeof CreatePaymentRequestRequestDtoDomainEntityTypeEnum[keyof typeof CreatePaymentRequestRequestDtoDomainEntityTypeEnum];
81
123
 
82
124
 
@@ -0,0 +1,42 @@
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 CreatePayoutMethodByBankAccountRequestDto
21
+ */
22
+ export interface CreatePayoutMethodByBankAccountRequestDto {
23
+ /**
24
+ * The code identifying the bank account that will be used to create the payout method.
25
+ * @type {string}
26
+ * @memberof CreatePayoutMethodByBankAccountRequestDto
27
+ */
28
+ 'bankAccountCode': string;
29
+ /**
30
+ * Billing address code
31
+ * @type {string}
32
+ * @memberof CreatePayoutMethodByBankAccountRequestDto
33
+ */
34
+ 'billingAddressCode': string;
35
+ /**
36
+ * Unique identifier of the partner that this object belongs to.
37
+ * @type {string}
38
+ * @memberof CreatePayoutMethodByBankAccountRequestDto
39
+ */
40
+ 'partnerCode': string;
41
+ }
42
+
@@ -31,13 +31,19 @@ export interface CreatePayoutMethodRequestDto {
31
31
  * @type {string}
32
32
  * @memberof CreatePayoutMethodRequestDto
33
33
  */
34
- 'firstName': string;
34
+ 'firstName'?: string;
35
35
  /**
36
36
  * Last name
37
37
  * @type {string}
38
38
  * @memberof CreatePayoutMethodRequestDto
39
39
  */
40
- 'lastName': string;
40
+ 'lastName'?: string;
41
+ /**
42
+ * Account holder
43
+ * @type {string}
44
+ * @memberof CreatePayoutMethodRequestDto
45
+ */
46
+ 'accountHolder'?: string;
41
47
  /**
42
48
  * IBAN
43
49
  * @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}
@@ -33,6 +33,12 @@ export interface CreditAllocationEntity {
33
33
  * @memberof CreditAllocationEntity
34
34
  */
35
35
  'code': string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof CreditAllocationEntity
40
+ */
41
+ 'partnerCode': string;
36
42
  /**
37
43
  *
38
44
  * @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 GetPaymentReceiptResponseClass
22
+ */
23
+ export interface GetPaymentReceiptResponseClass {
24
+ /**
25
+ * The payment receipt retrieved by its code.
26
+ * @type {PaymentReceiptClass}
27
+ * @memberof GetPaymentReceiptResponseClass
28
+ */
29
+ 'paymentReceipt'?: PaymentReceiptClass;
30
+ }
31
+
package/models/index.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from './activate-policy-payment-method-request-dto';
2
2
  export * from './bank-account-class';
3
3
  export * from './bank-account-class-without-expand-properties';
4
+ export * from './bank-data-class';
4
5
  export * from './bank-order-class';
5
6
  export * from './bank-order-entity';
6
7
  export * from './bank-order-xml-file-class';
@@ -33,12 +34,15 @@ export * from './create-credit-allocation-response-class';
33
34
  export * from './create-payment-method-response-class';
34
35
  export * from './create-payment-order-dto';
35
36
  export * from './create-payment-order-request-dto';
37
+ export * from './create-payment-receipt-request-dto';
38
+ export * from './create-payment-receipt-response-class';
36
39
  export * from './create-payment-reminder-request-dto';
37
40
  export * from './create-payment-reminder-response-class';
38
41
  export * from './create-payment-request-dto';
39
42
  export * from './create-payment-request-request-dto';
40
43
  export * from './create-payment-request-response-class';
41
44
  export * from './create-payment-response-class';
45
+ export * from './create-payout-method-by-bank-account-request-dto';
42
46
  export * from './create-payout-method-request-dto';
43
47
  export * from './create-payout-method-response-class';
44
48
  export * from './create-policy-payment-method-request-dto';
@@ -64,6 +68,7 @@ export * from './get-billing-address-response-class';
64
68
  export * from './get-credit-allocation-response-class';
65
69
  export * from './get-exceeding-credit-response-class';
66
70
  export * from './get-payment-method-response-class';
71
+ export * from './get-payment-receipt-response-class';
67
72
  export * from './get-payment-reminder-response-class';
68
73
  export * from './get-payment-request-response-class';
69
74
  export * from './get-payment-response-class';
@@ -94,6 +99,7 @@ export * from './list-billing-addresses-response-class';
94
99
  export * from './list-credit-allocations-response-class';
95
100
  export * from './list-exceeding-credits-response-class';
96
101
  export * from './list-payment-methods-response-class';
102
+ export * from './list-payment-receipts-response-class';
97
103
  export * from './list-payment-reminders-response-class';
98
104
  export * from './list-payment-requests-response-class';
99
105
  export * from './list-payments-response-class';
@@ -108,6 +114,7 @@ export * from './payment-class';
108
114
  export * from './payment-class-without-expand-properties';
109
115
  export * from './payment-entity';
110
116
  export * from './payment-method-class';
117
+ export * from './payment-receipt-class';
111
118
  export * from './payment-reminder-class';
112
119
  export * from './payment-request-class';
113
120
  export * from './payout-method-class';
@@ -134,8 +141,11 @@ export * from './update-bank-order-request-dto';
134
141
  export * from './update-bank-order-response-class';
135
142
  export * from './update-billing-address-request-dto';
136
143
  export * from './update-billing-address-response-class';
144
+ export * from './update-payment-receipt-response-class';
137
145
  export * from './update-payment-request-request-dto';
138
146
  export * from './update-payment-request-response-class';
139
147
  export * from './update-tenant-bank-account-response-class';
140
148
  export * from './update-tenant-bank-account-rest-request-dto';
149
+ export * from './validate-iban-request-dto';
150
+ export * from './validate-iban-response-class';
141
151
  export * from './validate-pspconfig-request-dto';
@@ -59,10 +59,10 @@ export interface InvoiceMatchSuggestionEntity {
59
59
  'confidenceScore': number;
60
60
  /**
61
61
  *
62
- * @type {object}
62
+ * @type {{ [key: string]: object; }}
63
63
  * @memberof InvoiceMatchSuggestionEntity
64
64
  */
65
- 'matchCriteria'?: object;
65
+ 'matchCriteria'?: { [key: string]: object; };
66
66
  /**
67
67
  *
68
68
  * @type {string}
@@ -0,0 +1,49 @@
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 ListPaymentReceiptsResponseClass
22
+ */
23
+ export interface ListPaymentReceiptsResponseClass {
24
+ /**
25
+ * The list of payment receipts.
26
+ * @type {Array<PaymentReceiptClass>}
27
+ * @memberof ListPaymentReceiptsResponseClass
28
+ */
29
+ 'items': Array<PaymentReceiptClass>;
30
+ /**
31
+ * Next page token.
32
+ * @type {string}
33
+ * @memberof ListPaymentReceiptsResponseClass
34
+ */
35
+ 'nextPageToken': string;
36
+ /**
37
+ * Items per page.
38
+ * @type {number}
39
+ * @memberof ListPaymentReceiptsResponseClass
40
+ */
41
+ 'itemsPerPage': number;
42
+ /**
43
+ * Total amount of items.
44
+ * @type {number}
45
+ * @memberof ListPaymentReceiptsResponseClass
46
+ */
47
+ 'totalItems': number;
48
+ }
49
+
@@ -49,7 +49,7 @@ export interface PaymentClassWithoutExpandProperties {
49
49
  * @type {string}
50
50
  * @memberof PaymentClassWithoutExpandProperties
51
51
  */
52
- 'partnerCode'?: string;
52
+ 'partnerCode': string;
53
53
  /**
54
54
  * Amount to be paid in cents. 100 to charge 1€.
55
55
  * @type {number}
@@ -50,7 +50,7 @@ export interface PaymentClass {
50
50
  * @type {string}
51
51
  * @memberof PaymentClass
52
52
  */
53
- 'partnerCode'?: string;
53
+ 'partnerCode': string;
54
54
  /**
55
55
  * Amount to be paid in cents. 100 to charge 1€.
56
56
  * @type {number}
@@ -56,7 +56,7 @@ export interface PaymentEntity {
56
56
  * @type {string}
57
57
  * @memberof PaymentEntity
58
58
  */
59
- 'partnerCode'?: string;
59
+ 'partnerCode': string;
60
60
  /**
61
61
  *
62
62
  * @type {string}
@@ -89,10 +89,10 @@ export interface PaymentEntity {
89
89
  'transactions': Array<TransactionEntity>;
90
90
  /**
91
91
  *
92
- * @type {object}
92
+ * @type {{ [key: string]: string; }}
93
93
  * @memberof PaymentEntity
94
94
  */
95
- 'metadata': object;
95
+ 'metadata': { [key: string]: string; };
96
96
  /**
97
97
  *
98
98
  * @type {string}