@emilgroup/payment-sdk 1.22.1-beta.75 → 1.22.1-beta.77

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 +0 -6
  2. package/README.md +2 -2
  3. package/api/bank-accounts-api.ts +12 -24
  4. package/api/bank-orders-api.ts +10 -20
  5. package/api/bank-transaction-api.ts +20 -154
  6. package/api/billing-addresses-api.ts +10 -20
  7. package/api/credit-allocation-api.ts +6 -12
  8. package/api/exceeding-credits-api.ts +4 -117
  9. package/api/ibanvalidator-api.ts +2 -4
  10. package/api/payment-methods-api.ts +6 -12
  11. package/api/payment-receipts-api.ts +10 -20
  12. package/api/payment-reminders-api.ts +8 -16
  13. package/api/payment-requests-api.ts +22 -32
  14. package/api/payment-setup-api.ts +4 -8
  15. package/api/payments-api.ts +12 -24
  16. package/api/payout-methods-api.ts +12 -24
  17. package/api/policy-payment-methods-api.ts +6 -12
  18. package/api/refunds-api.ts +6 -12
  19. package/api/tenant-bank-account-api.ts +10 -20
  20. package/base.ts +41 -174
  21. package/common.ts +2 -3
  22. package/configuration.ts +0 -20
  23. package/dist/api/bank-accounts-api.d.ts +6 -6
  24. package/dist/api/bank-accounts-api.js +22 -36
  25. package/dist/api/bank-orders-api.d.ts +5 -5
  26. package/dist/api/bank-orders-api.js +18 -29
  27. package/dist/api/bank-transaction-api.d.ts +14 -80
  28. package/dist/api/bank-transaction-api.js +28 -144
  29. package/dist/api/billing-addresses-api.d.ts +5 -5
  30. package/dist/api/billing-addresses-api.js +19 -32
  31. package/dist/api/credit-allocation-api.d.ts +3 -3
  32. package/dist/api/credit-allocation-api.js +11 -18
  33. package/dist/api/exceeding-credits-api.d.ts +2 -59
  34. package/dist/api/exceeding-credits-api.js +7 -107
  35. package/dist/api/health-check-api.d.ts +1 -1
  36. package/dist/api/ibanvalidator-api.d.ts +1 -1
  37. package/dist/api/ibanvalidator-api.js +4 -7
  38. package/dist/api/payment-methods-api.d.ts +3 -3
  39. package/dist/api/payment-methods-api.js +11 -18
  40. package/dist/api/payment-receipts-api.d.ts +5 -5
  41. package/dist/api/payment-receipts-api.js +18 -29
  42. package/dist/api/payment-reminders-api.d.ts +4 -4
  43. package/dist/api/payment-reminders-api.js +15 -25
  44. package/dist/api/payment-requests-api.d.ts +17 -17
  45. package/dist/api/payment-requests-api.js +27 -38
  46. package/dist/api/payment-setup-api.d.ts +2 -2
  47. package/dist/api/payment-setup-api.js +8 -14
  48. package/dist/api/payments-api.d.ts +4 -4
  49. package/dist/api/payments-api.js +18 -28
  50. package/dist/api/payout-methods-api.d.ts +6 -6
  51. package/dist/api/payout-methods-api.js +22 -36
  52. package/dist/api/policy-payment-methods-api.d.ts +3 -3
  53. package/dist/api/policy-payment-methods-api.js +11 -18
  54. package/dist/api/refunds-api.d.ts +3 -3
  55. package/dist/api/refunds-api.js +10 -15
  56. package/dist/api/tenant-bank-account-api.d.ts +5 -5
  57. package/dist/api/tenant-bank-account-api.js +18 -29
  58. package/dist/api/webhooks-api.d.ts +2 -2
  59. package/dist/base.d.ts +0 -24
  60. package/dist/base.js +59 -178
  61. package/dist/common.d.ts +1 -1
  62. package/dist/common.js +0 -1
  63. package/dist/configuration.d.ts +0 -17
  64. package/dist/configuration.js +0 -2
  65. package/dist/models/bank-transaction-class.d.ts +0 -7
  66. package/dist/models/bank-transaction-entity.d.ts +0 -7
  67. package/dist/models/create-payment-order-dto.d.ts +1 -1
  68. package/dist/models/create-payment-receipt-request-dto.d.ts +1 -1
  69. package/dist/models/create-payment-request-dto.d.ts +1 -1
  70. package/dist/models/create-payment-request-request-dto.d.ts +0 -6
  71. package/dist/models/credit-allocation-class.d.ts +0 -6
  72. package/dist/models/credit-allocation-entity.d.ts +0 -6
  73. package/dist/models/index.d.ts +0 -6
  74. package/dist/models/index.js +0 -6
  75. package/dist/models/list-billing-addresses-response-class.d.ts +9 -9
  76. package/dist/models/list-exceeding-credits-response-class.d.ts +18 -6
  77. package/dist/models/list-payment-receipts-response-class.d.ts +9 -9
  78. package/dist/models/list-payment-requests-response-class.d.ts +18 -6
  79. package/dist/models/list-payout-methods-response-class.d.ts +9 -9
  80. package/dist/models/list-refunds-response-class.d.ts +18 -6
  81. package/dist/models/payment-class-without-expand-properties.d.ts +2 -2
  82. package/dist/models/payment-class.d.ts +2 -2
  83. package/dist/models/payment-entity.d.ts +1 -1
  84. package/dist/models/payment-receipt-class.d.ts +1 -13
  85. package/dist/models/payment-request-class.d.ts +6 -13
  86. package/dist/models/payment-request-class.js +0 -1
  87. package/dist/models/shared-transaction-class.d.ts +0 -6
  88. package/dist/models/transaction-entity.d.ts +0 -6
  89. package/models/bank-transaction-class.ts +0 -7
  90. package/models/bank-transaction-entity.ts +0 -7
  91. package/models/create-payment-order-dto.ts +1 -1
  92. package/models/create-payment-receipt-request-dto.ts +1 -1
  93. package/models/create-payment-request-dto.ts +1 -1
  94. package/models/create-payment-request-request-dto.ts +0 -6
  95. package/models/credit-allocation-class.ts +0 -6
  96. package/models/credit-allocation-entity.ts +0 -6
  97. package/models/index.ts +0 -6
  98. package/models/list-billing-addresses-response-class.ts +9 -9
  99. package/models/list-exceeding-credits-response-class.ts +18 -6
  100. package/models/list-payment-receipts-response-class.ts +9 -9
  101. package/models/list-payment-requests-response-class.ts +18 -6
  102. package/models/list-payout-methods-response-class.ts +9 -9
  103. package/models/list-refunds-response-class.ts +18 -6
  104. package/models/payment-class-without-expand-properties.ts +2 -2
  105. package/models/payment-class.ts +2 -2
  106. package/models/payment-entity.ts +1 -1
  107. package/models/payment-receipt-class.ts +1 -13
  108. package/models/payment-request-class.ts +6 -13
  109. package/models/shared-transaction-class.ts +0 -6
  110. package/models/transaction-entity.ts +0 -6
  111. package/package.json +2 -2
  112. package/dist/models/create-exceeding-credit-request-dto.d.ts +0 -48
  113. package/dist/models/create-exceeding-credit-request-dto.js +0 -15
  114. package/dist/models/create-exceeding-credit-response-class.d.ts +0 -25
  115. package/dist/models/create-exceeding-credit-response-class.js +0 -15
  116. package/dist/models/link-bank-transaction-payment-requests-request-dto-rest.d.ts +0 -30
  117. package/dist/models/link-bank-transaction-payment-requests-request-dto-rest.js +0 -15
  118. package/dist/models/link-bank-transaction-payment-requests-response-class.d.ts +0 -25
  119. package/dist/models/link-bank-transaction-payment-requests-response-class.js +0 -15
  120. package/dist/models/payment-receipt-entity.d.ts +0 -139
  121. package/dist/models/payment-receipt-entity.js +0 -20
  122. package/dist/models/payment-request-entity.d.ts +0 -223
  123. package/dist/models/payment-request-entity.js +0 -39
  124. package/models/create-exceeding-credit-request-dto.ts +0 -54
  125. package/models/create-exceeding-credit-response-class.ts +0 -31
  126. package/models/link-bank-transaction-payment-requests-request-dto-rest.ts +0 -36
  127. package/models/link-bank-transaction-payment-requests-response-class.ts +0 -31
  128. package/models/payment-receipt-entity.ts +0 -148
  129. package/models/payment-request-entity.ts +0 -233
@@ -21,17 +21,29 @@ import { RefundClass } from './refund-class';
21
21
  * @interface ListRefundsResponseClass
22
22
  */
23
23
  export interface ListRefundsResponseClass {
24
- /**
25
- * The list of refunds.
26
- * @type {Array<RefundClass>}
27
- * @memberof ListRefundsResponseClass
28
- */
29
- 'items': Array<RefundClass>;
30
24
  /**
31
25
  * Next page token.
32
26
  * @type {string}
33
27
  * @memberof ListRefundsResponseClass
34
28
  */
35
29
  'nextPageToken': string;
30
+ /**
31
+ * Total amount of items.
32
+ * @type {number}
33
+ * @memberof ListRefundsResponseClass
34
+ */
35
+ 'totalItems': number;
36
+ /**
37
+ * Items per page.
38
+ * @type {number}
39
+ * @memberof ListRefundsResponseClass
40
+ */
41
+ 'itemsPerPage': number;
42
+ /**
43
+ * The list of refunds.
44
+ * @type {Array<RefundClass>}
45
+ * @memberof ListRefundsResponseClass
46
+ */
47
+ 'items': Array<RefundClass>;
36
48
  }
37
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}
@@ -81,7 +81,7 @@ export interface PaymentClassWithoutExpandProperties {
81
81
  */
82
82
  'productSlug'?: string;
83
83
  /**
84
- * The payment date, a calendar date: its UTC calendar day is the day the payment books on. Read it in UTC; converting it to a local time zone shows the previous day west of UTC.
84
+ * Time at which the payment was actually received.
85
85
  * @type {string}
86
86
  * @memberof PaymentClassWithoutExpandProperties
87
87
  */
@@ -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}
@@ -88,7 +88,7 @@ export interface PaymentClass {
88
88
  */
89
89
  'productSlug'?: string;
90
90
  /**
91
- * The payment date, a calendar date: its UTC calendar day is the day the payment books on. Read it in UTC; converting it to a local time zone shows the previous day west of UTC.
91
+ * Time at which the payment was actually received.
92
92
  * @type {string}
93
93
  * @memberof PaymentClass
94
94
  */
@@ -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}
@@ -51,7 +51,7 @@ export interface PaymentReceiptClass {
51
51
  */
52
52
  'direction': PaymentReceiptClassDirectionEnum;
53
53
  /**
54
- * The payment date, a calendar date: its UTC calendar day is the day the payment books on. Read it in UTC; converting it to a local time zone shows the previous day west of UTC.
54
+ * Date the payment was confirmed
55
55
  * @type {string}
56
56
  * @memberof PaymentReceiptClass
57
57
  */
@@ -62,12 +62,6 @@ export interface PaymentReceiptClass {
62
62
  * @memberof PaymentReceiptClass
63
63
  */
64
64
  'paymentRequestCode'?: string;
65
- /**
66
- * The number of the payment request the payment receipt pays; read from the payment request, not stored on the receipt.
67
- * @type {string}
68
- * @memberof PaymentReceiptClass
69
- */
70
- 'paymentRequestNumber'?: string;
71
65
  /**
72
66
  * The payment service provider that produced the payment receipt.
73
67
  * @type {string}
@@ -80,12 +74,6 @@ export interface PaymentReceiptClass {
80
74
  * @memberof PaymentReceiptClass
81
75
  */
82
76
  'comment'?: string;
83
- /**
84
- * The code of the bank transaction whose link created the payment receipt; unset for a receipt created by hand.
85
- * @type {string}
86
- * @memberof PaymentReceiptClass
87
- */
88
- 'bankTransactionCode'?: string;
89
77
  /**
90
78
  * Time at which the object was created.
91
79
  * @type {string}
@@ -99,18 +99,6 @@ export interface PaymentRequestClass {
99
99
  * @memberof PaymentRequestClass
100
100
  */
101
101
  'status': PaymentRequestClassStatusEnum;
102
- /**
103
- * Code of the settlement the payment request was created for.
104
- * @type {string}
105
- * @memberof PaymentRequestClass
106
- */
107
- 'settlementCode'?: string;
108
- /**
109
- * Code of the partner the payment request was created for.
110
- * @type {string}
111
- * @memberof PaymentRequestClass
112
- */
113
- 'partnerCode': string;
114
102
  /**
115
103
  * Code of the bank order that contains this payment request. Absent while the request is in no bank order.
116
104
  * @type {string}
@@ -129,6 +117,12 @@ export interface PaymentRequestClass {
129
117
  * @memberof PaymentRequestClass
130
118
  */
131
119
  'recipientHasBankDetails'?: boolean;
120
+ /**
121
+ * Code of the partner the payment request was created for.
122
+ * @type {string}
123
+ * @memberof PaymentRequestClass
124
+ */
125
+ 'partnerCode': string;
132
126
  /**
133
127
  * Code of the payment method used for this payment request.
134
128
  * @type {string}
@@ -170,7 +164,6 @@ export type PaymentRequestClassDirectionEnum = typeof PaymentRequestClassDirecti
170
164
  export const PaymentRequestClassFinancialEntityTypeEnum = {
171
165
  ClaimRegulation: 'claim_regulation',
172
166
  RefundAllocation: 'refund_allocation',
173
- CommissionSettlement: 'commission_settlement',
174
167
  Other: 'other'
175
168
  } as const;
176
169
 
@@ -74,11 +74,5 @@ export interface SharedTransactionClass {
74
74
  * @memberof SharedTransactionClass
75
75
  */
76
76
  'updatedBy': string;
77
- /**
78
- * Code of the bank transaction this transaction was matched from. Absent for payments that did not come from a bank transaction.
79
- * @type {string}
80
- * @memberof SharedTransactionClass
81
- */
82
- 'bankTransactionCode'?: string;
83
77
  }
84
78
 
@@ -76,12 +76,6 @@ export interface TransactionEntity {
76
76
  * @memberof TransactionEntity
77
77
  */
78
78
  'bankTransactionId'?: number;
79
- /**
80
- *
81
- * @type {string}
82
- * @memberof TransactionEntity
83
- */
84
- 'bankTransactionCode'?: string;
85
79
  /**
86
80
  *
87
81
  * @type {string}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/payment-sdk",
3
- "version": "1.22.1-beta.75",
3
+ "version": "1.22.1-beta.77",
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.20.0"
21
+ "axios": "1.18.0"
22
22
  },
23
23
  "devDependencies": {
24
24
 
@@ -1,48 +0,0 @@
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
- }
@@ -1,15 +0,0 @@
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,25 +0,0 @@
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
- }
@@ -1,15 +0,0 @@
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,30 +0,0 @@
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 LinkBankTransactionPaymentRequestsRequestDtoRest
16
- */
17
- export interface LinkBankTransactionPaymentRequestsRequestDtoRest {
18
- /**
19
- * Codes of the open payout payment requests the outgoing bank transaction paid; up to 1000, no duplicates, empty when only bank orders are linked. Together with the payment requests of the bank orders their amounts must add up to the transaction amount.
20
- * @type {Array<string>}
21
- * @memberof LinkBankTransactionPaymentRequestsRequestDtoRest
22
- */
23
- 'paymentRequestCodes': Array<string>;
24
- /**
25
- * Codes of payout bank orders the transaction paid whole: the link pays every open payment request each order holds in the transaction currency. Up to 1000, no duplicates; a payment request may not also be listed in paymentRequestCodes.
26
- * @type {Array<string>}
27
- * @memberof LinkBankTransactionPaymentRequestsRequestDtoRest
28
- */
29
- 'bankOrderCodes'?: Array<string>;
30
- }
@@ -1,15 +0,0 @@
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,25 +0,0 @@
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 { BankTransactionClass } from './bank-transaction-class';
13
- /**
14
- *
15
- * @export
16
- * @interface LinkBankTransactionPaymentRequestsResponseClass
17
- */
18
- export interface LinkBankTransactionPaymentRequestsResponseClass {
19
- /**
20
- * The linked bank transaction, with the payment receipts the link created
21
- * @type {BankTransactionClass}
22
- * @memberof LinkBankTransactionPaymentRequestsResponseClass
23
- */
24
- 'bankTransaction': BankTransactionClass;
25
- }
@@ -1,15 +0,0 @@
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,139 +0,0 @@
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 { BankTransactionEntity } from './bank-transaction-entity';
13
- import { PaymentRequestEntity } from './payment-request-entity';
14
- /**
15
- *
16
- * @export
17
- * @interface PaymentReceiptEntity
18
- */
19
- export interface PaymentReceiptEntity {
20
- /**
21
- *
22
- * @type {number}
23
- * @memberof PaymentReceiptEntity
24
- */
25
- 'id': number;
26
- /**
27
- *
28
- * @type {string}
29
- * @memberof PaymentReceiptEntity
30
- */
31
- 'code': string;
32
- /**
33
- *
34
- * @type {number}
35
- * @memberof PaymentReceiptEntity
36
- */
37
- 'amount': number;
38
- /**
39
- *
40
- * @type {string}
41
- * @memberof PaymentReceiptEntity
42
- */
43
- 'currency': string;
44
- /**
45
- *
46
- * @type {string}
47
- * @memberof PaymentReceiptEntity
48
- */
49
- 'direction': PaymentReceiptEntityDirectionEnum;
50
- /**
51
- *
52
- * @type {string}
53
- * @memberof PaymentReceiptEntity
54
- */
55
- 'dateOfPayment': string;
56
- /**
57
- *
58
- * @type {string}
59
- * @memberof PaymentReceiptEntity
60
- */
61
- 'paymentRequestCode'?: string;
62
- /**
63
- *
64
- * @type {string}
65
- * @memberof PaymentReceiptEntity
66
- */
67
- 'psp'?: string;
68
- /**
69
- *
70
- * @type {string}
71
- * @memberof PaymentReceiptEntity
72
- */
73
- 'comment'?: string;
74
- /**
75
- *
76
- * @type {string}
77
- * @memberof PaymentReceiptEntity
78
- */
79
- 'paymentRequestNumber'?: string;
80
- /**
81
- *
82
- * @type {PaymentRequestEntity}
83
- * @memberof PaymentReceiptEntity
84
- */
85
- 'paymentRequest'?: PaymentRequestEntity;
86
- /**
87
- *
88
- * @type {number}
89
- * @memberof PaymentReceiptEntity
90
- */
91
- 'bankTransactionId'?: number;
92
- /**
93
- *
94
- * @type {string}
95
- * @memberof PaymentReceiptEntity
96
- */
97
- 'bankTransactionCode'?: string;
98
- /**
99
- *
100
- * @type {BankTransactionEntity}
101
- * @memberof PaymentReceiptEntity
102
- */
103
- 'bankTransaction'?: BankTransactionEntity;
104
- /**
105
- *
106
- * @type {string}
107
- * @memberof PaymentReceiptEntity
108
- */
109
- 'createdAt'?: string;
110
- /**
111
- *
112
- * @type {string}
113
- * @memberof PaymentReceiptEntity
114
- */
115
- 'updatedAt'?: string;
116
- /**
117
- *
118
- * @type {string}
119
- * @memberof PaymentReceiptEntity
120
- */
121
- 'deletedAt'?: string;
122
- /**
123
- *
124
- * @type {string}
125
- * @memberof PaymentReceiptEntity
126
- */
127
- 'owner': string;
128
- /**
129
- *
130
- * @type {string}
131
- * @memberof PaymentReceiptEntity
132
- */
133
- 'tenantHierarchy': string;
134
- }
135
- export declare const PaymentReceiptEntityDirectionEnum: {
136
- readonly Collect: "collect";
137
- readonly Disburse: "disburse";
138
- };
139
- export type PaymentReceiptEntityDirectionEnum = typeof PaymentReceiptEntityDirectionEnum[keyof typeof PaymentReceiptEntityDirectionEnum];
@@ -1,20 +0,0 @@
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 });
16
- exports.PaymentReceiptEntityDirectionEnum = void 0;
17
- exports.PaymentReceiptEntityDirectionEnum = {
18
- Collect: 'collect',
19
- Disburse: 'disburse'
20
- };