@emilgroup/payment-sdk 1.13.1-beta.8 → 1.13.1-beta.81

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 (140) hide show
  1. package/.openapi-generator/FILES +20 -1
  2. package/README.md +2 -2
  3. package/api/bank-accounts-api.ts +55 -13
  4. package/api/bank-orders-api.ts +691 -0
  5. package/api/bank-transaction-api.ts +177 -63
  6. package/api/payment-methods-api.ts +59 -17
  7. package/api/payment-reminders-api.ts +55 -13
  8. package/api/payments-api.ts +188 -21
  9. package/api/refunds-api.ts +45 -17
  10. package/api/tenant-bank-account-api.ts +45 -17
  11. package/api.ts +2 -0
  12. package/base.ts +52 -3
  13. package/dist/api/bank-accounts-api.d.ts +35 -8
  14. package/dist/api/bank-accounts-api.js +29 -11
  15. package/dist/api/bank-orders-api.d.ts +393 -0
  16. package/dist/api/bank-orders-api.js +642 -0
  17. package/dist/api/bank-transaction-api.d.ts +110 -46
  18. package/dist/api/bank-transaction-api.js +141 -44
  19. package/dist/api/payment-methods-api.d.ts +39 -12
  20. package/dist/api/payment-methods-api.js +32 -14
  21. package/dist/api/payment-reminders-api.d.ts +35 -8
  22. package/dist/api/payment-reminders-api.js +29 -11
  23. package/dist/api/payments-api.d.ts +112 -16
  24. package/dist/api/payments-api.js +141 -18
  25. package/dist/api/refunds-api.d.ts +28 -10
  26. package/dist/api/refunds-api.js +24 -12
  27. package/dist/api/tenant-bank-account-api.d.ts +28 -10
  28. package/dist/api/tenant-bank-account-api.js +24 -12
  29. package/dist/api.d.ts +1 -0
  30. package/dist/api.js +1 -0
  31. package/dist/base.d.ts +10 -1
  32. package/dist/base.js +46 -2
  33. package/dist/models/bank-order-class.d.ts +115 -0
  34. package/dist/models/bank-transaction-class-without-expand-properties.d.ts +30 -11
  35. package/dist/models/bank-transaction-class-without-expand-properties.js +5 -0
  36. package/dist/models/bank-transaction-class.d.ts +47 -14
  37. package/dist/models/bank-transaction-class.js +5 -0
  38. package/dist/models/bank-transaction-invoice-class.d.ts +54 -0
  39. package/dist/models/bank-transaction-invoice-class.js +15 -0
  40. package/dist/models/bank-transfer-dto.d.ts +25 -0
  41. package/dist/models/bank-transfer-dto.js +15 -0
  42. package/dist/models/billing-address-dto.d.ts +48 -0
  43. package/dist/models/billing-address-dto.js +15 -0
  44. package/dist/models/complete-adyen-payment-setup-request-dto.d.ts +2 -0
  45. package/dist/models/complete-adyen-payment-setup-request-dto.js +3 -1
  46. package/dist/models/complete-eis-payment-setup-request-dto.d.ts +36 -0
  47. package/dist/models/complete-eis-payment-setup-request-dto.js +15 -0
  48. package/dist/models/complete-payment-setup-request-dto.d.ts +7 -0
  49. package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +2 -0
  50. package/dist/models/complete-stripe-payment-setup-request-dto.js +3 -1
  51. package/dist/models/create-bank-order-request-dto.d.ts +74 -0
  52. package/dist/models/create-bank-order-request-dto.js +28 -0
  53. package/dist/models/create-bank-order-response-class.d.ts +25 -0
  54. package/dist/models/create-bank-order-response-class.js +15 -0
  55. package/dist/models/create-payment-order-dto.d.ts +48 -0
  56. package/dist/models/create-payment-order-dto.js +15 -0
  57. package/dist/models/create-payment-order-request-dto.d.ts +48 -0
  58. package/dist/models/create-payment-order-request-dto.js +15 -0
  59. package/dist/models/create-payment-reminder-request-dto.d.ts +7 -1
  60. package/dist/models/create-payment-request-dto.d.ts +7 -1
  61. package/dist/models/create-psp-payment-method-request-dto.d.ts +22 -1
  62. package/dist/models/create-psp-payment-method-request-dto.js +3 -1
  63. package/dist/models/deactivated-payment-reminder-class.d.ts +7 -1
  64. package/dist/models/financial-account-class.d.ts +111 -0
  65. package/dist/models/financial-account-class.js +24 -0
  66. package/dist/models/generate-invoice-match-suggestions-response-class.d.ts +25 -0
  67. package/dist/models/generate-invoice-match-suggestions-response-class.js +15 -0
  68. package/dist/models/get-bank-order-response-class.d.ts +25 -0
  69. package/dist/models/get-bank-order-response-class.js +15 -0
  70. package/dist/models/index.d.ts +19 -1
  71. package/dist/models/index.js +19 -1
  72. package/dist/models/initiate-adyen-payment-setup-request-dto.d.ts +6 -0
  73. package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +6 -0
  74. package/dist/models/initiate-eis-payment-setup-request-dto.d.ts +36 -0
  75. package/dist/models/initiate-eis-payment-setup-request-dto.js +15 -0
  76. package/dist/models/initiate-payment-setup-request-dto.d.ts +3 -2
  77. package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +6 -0
  78. package/dist/models/{unlink-bank-transaction-request-dto-rest.d.ts → invoice-allocation-dto.d.ts} +10 -4
  79. package/dist/models/invoice-allocation-dto.js +15 -0
  80. package/dist/models/invoice-match-suggestion-class.d.ts +60 -0
  81. package/dist/models/invoice-match-suggestion-class.js +15 -0
  82. package/dist/models/link-bank-transaction-request-dto-rest.d.ts +4 -3
  83. package/dist/models/list-bank-orders-response-class.d.ts +31 -0
  84. package/dist/models/list-bank-orders-response-class.js +15 -0
  85. package/dist/models/payment-class-without-expand-properties.d.ts +7 -1
  86. package/dist/models/payment-class.d.ts +7 -1
  87. package/dist/models/payment-method-class.d.ts +6 -0
  88. package/dist/models/payment-reminder-class.d.ts +7 -1
  89. package/dist/models/refund-class.d.ts +7 -1
  90. package/dist/models/suggestion-generation-progress-class.d.ts +43 -0
  91. package/dist/models/suggestion-generation-progress-class.js +22 -0
  92. package/dist/models/unlinked-bank-transaction-response-class.d.ts +33 -2
  93. package/dist/models/unlinked-bank-transaction-response-class.js +5 -0
  94. package/dist/models/update-bank-order-request-dto.d.ts +62 -0
  95. package/dist/models/update-bank-order-request-dto.js +23 -0
  96. package/dist/models/update-bank-order-response-class.d.ts +25 -0
  97. package/dist/models/update-bank-order-response-class.js +15 -0
  98. package/models/bank-order-class.ts +121 -0
  99. package/models/bank-transaction-class-without-expand-properties.ts +33 -11
  100. package/models/bank-transaction-class.ts +50 -14
  101. package/models/bank-transaction-invoice-class.ts +60 -0
  102. package/models/bank-transfer-dto.ts +31 -0
  103. package/models/billing-address-dto.ts +54 -0
  104. package/models/complete-adyen-payment-setup-request-dto.ts +3 -1
  105. package/models/complete-eis-payment-setup-request-dto.ts +42 -0
  106. package/models/complete-payment-setup-request-dto.ts +7 -0
  107. package/models/complete-stripe-payment-setup-request-dto.ts +3 -1
  108. package/models/create-bank-order-request-dto.ts +84 -0
  109. package/models/create-bank-order-response-class.ts +31 -0
  110. package/models/create-payment-order-dto.ts +54 -0
  111. package/models/create-payment-order-request-dto.ts +54 -0
  112. package/models/create-payment-reminder-request-dto.ts +7 -1
  113. package/models/create-payment-request-dto.ts +7 -1
  114. package/models/create-psp-payment-method-request-dto.ts +23 -2
  115. package/models/deactivated-payment-reminder-class.ts +7 -1
  116. package/models/financial-account-class.ts +120 -0
  117. package/models/generate-invoice-match-suggestions-response-class.ts +31 -0
  118. package/models/get-bank-order-response-class.ts +31 -0
  119. package/models/index.ts +19 -1
  120. package/models/initiate-adyen-payment-setup-request-dto.ts +6 -0
  121. package/models/initiate-braintree-payment-setup-request-dto.ts +6 -0
  122. package/models/initiate-eis-payment-setup-request-dto.ts +42 -0
  123. package/models/initiate-payment-setup-request-dto.ts +3 -2
  124. package/models/initiate-stripe-payment-setup-request-dto.ts +6 -0
  125. package/models/{unlink-bank-transaction-request-dto-rest.ts → invoice-allocation-dto.ts} +10 -4
  126. package/models/invoice-match-suggestion-class.ts +66 -0
  127. package/models/link-bank-transaction-request-dto-rest.ts +4 -3
  128. package/models/list-bank-orders-response-class.ts +37 -0
  129. package/models/payment-class-without-expand-properties.ts +7 -1
  130. package/models/payment-class.ts +7 -1
  131. package/models/payment-method-class.ts +6 -0
  132. package/models/payment-reminder-class.ts +7 -1
  133. package/models/refund-class.ts +7 -1
  134. package/models/suggestion-generation-progress-class.ts +52 -0
  135. package/models/unlinked-bank-transaction-response-class.ts +36 -2
  136. package/models/update-bank-order-request-dto.ts +71 -0
  137. package/models/update-bank-order-response-class.ts +31 -0
  138. package/package.json +1 -1
  139. package/tsconfig.json +1 -0
  140. /package/dist/models/{unlink-bank-transaction-request-dto-rest.js → bank-order-class.js} +0 -0
@@ -32,5 +32,11 @@ export interface InitiateBraintreePaymentSetupRequestDto {
32
32
  * @memberof InitiateBraintreePaymentSetupRequestDto
33
33
  */
34
34
  'accountCode'?: string;
35
+ /**
36
+ * Unique identifier of the partner that this object belongs to.
37
+ * @type {string}
38
+ * @memberof InitiateBraintreePaymentSetupRequestDto
39
+ */
40
+ 'partnerCode'?: string;
35
41
  }
36
42
 
@@ -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 InitiateEisPaymentSetupRequestDto
21
+ */
22
+ export interface InitiateEisPaymentSetupRequestDto {
23
+ /**
24
+ * Unique identifier of the lead that this object belongs to.
25
+ * @type {string}
26
+ * @memberof InitiateEisPaymentSetupRequestDto
27
+ */
28
+ 'leadCode'?: string;
29
+ /**
30
+ * Unique identifier of the account that this object belongs to.
31
+ * @type {string}
32
+ * @memberof InitiateEisPaymentSetupRequestDto
33
+ */
34
+ 'accountCode'?: string;
35
+ /**
36
+ * Unique identifier of the partner that this object belongs to.
37
+ * @type {string}
38
+ * @memberof InitiateEisPaymentSetupRequestDto
39
+ */
40
+ 'partnerCode'?: string;
41
+ }
42
+
@@ -15,6 +15,7 @@
15
15
 
16
16
  import { InitiateAdyenPaymentSetupRequestDto } from './initiate-adyen-payment-setup-request-dto';
17
17
  import { InitiateBraintreePaymentSetupRequestDto } from './initiate-braintree-payment-setup-request-dto';
18
+ import { InitiateEisPaymentSetupRequestDto } from './initiate-eis-payment-setup-request-dto';
18
19
  import { InitiateStripePaymentSetupRequestDto } from './initiate-stripe-payment-setup-request-dto';
19
20
 
20
21
  /**
@@ -43,10 +44,10 @@ export interface InitiatePaymentSetupRequestDto {
43
44
  'b4u'?: object;
44
45
  /**
45
46
  *
46
- * @type {object}
47
+ * @type {InitiateEisPaymentSetupRequestDto}
47
48
  * @memberof InitiatePaymentSetupRequestDto
48
49
  */
49
- 'eis'?: object;
50
+ 'eis'?: InitiateEisPaymentSetupRequestDto;
50
51
  /**
51
52
  *
52
53
  * @type {InitiateAdyenPaymentSetupRequestDto}
@@ -32,5 +32,11 @@ export interface InitiateStripePaymentSetupRequestDto {
32
32
  * @memberof InitiateStripePaymentSetupRequestDto
33
33
  */
34
34
  'accountCode'?: string;
35
+ /**
36
+ * Unique identifier of the partner that this object belongs to.
37
+ * @type {string}
38
+ * @memberof InitiateStripePaymentSetupRequestDto
39
+ */
40
+ 'partnerCode'?: string;
35
41
  }
36
42
 
@@ -17,14 +17,20 @@
17
17
  /**
18
18
  *
19
19
  * @export
20
- * @interface UnlinkBankTransactionRequestDtoRest
20
+ * @interface InvoiceAllocationDto
21
21
  */
22
- export interface UnlinkBankTransactionRequestDtoRest {
22
+ export interface InvoiceAllocationDto {
23
23
  /**
24
- * The code of the invoice that the transaction will be unlinked from
24
+ *
25
25
  * @type {string}
26
- * @memberof UnlinkBankTransactionRequestDtoRest
26
+ * @memberof InvoiceAllocationDto
27
27
  */
28
28
  'invoiceCode': string;
29
+ /**
30
+ *
31
+ * @type {number}
32
+ * @memberof InvoiceAllocationDto
33
+ */
34
+ 'allocatedAmount': number;
29
35
  }
30
36
 
@@ -0,0 +1,66 @@
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 InvoiceMatchSuggestionClass
21
+ */
22
+ export interface InvoiceMatchSuggestionClass {
23
+ /**
24
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
25
+ * @type {number}
26
+ * @memberof InvoiceMatchSuggestionClass
27
+ */
28
+ 'id': number;
29
+ /**
30
+ * Unique identifier for the object.
31
+ * @type {string}
32
+ * @memberof InvoiceMatchSuggestionClass
33
+ */
34
+ 'code': string;
35
+ /**
36
+ * Invoice code of the suggested match
37
+ * @type {string}
38
+ * @memberof InvoiceMatchSuggestionClass
39
+ */
40
+ 'invoiceCode': string;
41
+ /**
42
+ * Invoice number of the suggested match
43
+ * @type {string}
44
+ * @memberof InvoiceMatchSuggestionClass
45
+ */
46
+ 'invoiceNumber': string;
47
+ /**
48
+ * Confidence score (0-100) of the suggested match
49
+ * @type {number}
50
+ * @memberof InvoiceMatchSuggestionClass
51
+ */
52
+ 'confidenceScore': number;
53
+ /**
54
+ * Criteria used for the match
55
+ * @type {object}
56
+ * @memberof InvoiceMatchSuggestionClass
57
+ */
58
+ 'matchCriteria': object;
59
+ /**
60
+ * Time at which the object was created.
61
+ * @type {string}
62
+ * @memberof InvoiceMatchSuggestionClass
63
+ */
64
+ 'createdAt': string;
65
+ }
66
+
@@ -13,6 +13,7 @@
13
13
  */
14
14
 
15
15
 
16
+ import { InvoiceAllocationDto } from './invoice-allocation-dto';
16
17
 
17
18
  /**
18
19
  *
@@ -21,10 +22,10 @@
21
22
  */
22
23
  export interface LinkBankTransactionRequestDtoRest {
23
24
  /**
24
- * The code of the invoice that the transaction will be linked to.
25
- * @type {string}
25
+ * List of invoice allocations associated with bank transaction.
26
+ * @type {Array<InvoiceAllocationDto>}
26
27
  * @memberof LinkBankTransactionRequestDtoRest
27
28
  */
28
- 'invoiceCode': string;
29
+ 'invoiceAllocations': Array<InvoiceAllocationDto>;
29
30
  }
30
31
 
@@ -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 { BankOrderClass } from './bank-order-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface ListBankOrdersResponseClass
22
+ */
23
+ export interface ListBankOrdersResponseClass {
24
+ /**
25
+ * The list of bank orders.
26
+ * @type {Array<BankOrderClass>}
27
+ * @memberof ListBankOrdersResponseClass
28
+ */
29
+ 'items': Array<BankOrderClass>;
30
+ /**
31
+ * Next page token.
32
+ * @type {string}
33
+ * @memberof ListBankOrdersResponseClass
34
+ */
35
+ 'nextPageToken': string;
36
+ }
37
+
@@ -43,7 +43,13 @@ export interface PaymentClassWithoutExpandProperties {
43
43
  * @type {string}
44
44
  * @memberof PaymentClassWithoutExpandProperties
45
45
  */
46
- 'accountCode': string;
46
+ 'accountCode'?: string;
47
+ /**
48
+ * Partner code associated to that payment.
49
+ * @type {string}
50
+ * @memberof PaymentClassWithoutExpandProperties
51
+ */
52
+ 'partnerCode'?: string;
47
53
  /**
48
54
  * Amount to be paid in cents. 100 to charge 1€.
49
55
  * @type {number}
@@ -44,7 +44,13 @@ export interface PaymentClass {
44
44
  * @type {string}
45
45
  * @memberof PaymentClass
46
46
  */
47
- 'accountCode': string;
47
+ 'accountCode'?: string;
48
+ /**
49
+ * Partner code associated to that payment.
50
+ * @type {string}
51
+ * @memberof PaymentClass
52
+ */
53
+ 'partnerCode'?: string;
48
54
  /**
49
55
  * Amount to be paid in cents. 100 to charge 1€.
50
56
  * @type {number}
@@ -80,6 +80,12 @@ export interface PaymentMethodClass {
80
80
  * @memberof PaymentMethodClass
81
81
  */
82
82
  'details'?: object;
83
+ /**
84
+ * The account PSP customer associated to this payment method.
85
+ * @type {object}
86
+ * @memberof PaymentMethodClass
87
+ */
88
+ 'accountPspCustomer'?: object;
83
89
  /**
84
90
  * Optional field contain extra information
85
91
  * @type {object}
@@ -43,7 +43,13 @@ export interface PaymentReminderClass {
43
43
  * @type {string}
44
44
  * @memberof PaymentReminderClass
45
45
  */
46
- 'accountCode': string;
46
+ 'accountCode'?: string;
47
+ /**
48
+ * Unique identifier of related partner.
49
+ * @type {string}
50
+ * @memberof PaymentReminderClass
51
+ */
52
+ 'partnerCode'?: string;
47
53
  /**
48
54
  * Type of the invoice
49
55
  * @type {string}
@@ -44,7 +44,13 @@ export interface RefundClass {
44
44
  * @type {string}
45
45
  * @memberof RefundClass
46
46
  */
47
- 'accountCode': string;
47
+ 'accountCode'?: string;
48
+ /**
49
+ * Partner code associated with the payment.
50
+ * @type {string}
51
+ * @memberof RefundClass
52
+ */
53
+ 'partnerCode'?: string;
48
54
  /**
49
55
  * Amount that was refunded in cents. 100 to refund 1€.
50
56
  * @type {number}
@@ -0,0 +1,52 @@
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 SuggestionGenerationProgressClass
21
+ */
22
+ export interface SuggestionGenerationProgressClass {
23
+ /**
24
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
25
+ * @type {number}
26
+ * @memberof SuggestionGenerationProgressClass
27
+ */
28
+ 'id': number;
29
+ /**
30
+ * Status of the suggestion generation process
31
+ * @type {string}
32
+ * @memberof SuggestionGenerationProgressClass
33
+ */
34
+ 'status': SuggestionGenerationProgressClassStatusEnum;
35
+ /**
36
+ * Error message if suggestion generation failed
37
+ * @type {string}
38
+ * @memberof SuggestionGenerationProgressClass
39
+ */
40
+ 'errorMessage'?: string;
41
+ }
42
+
43
+ export const SuggestionGenerationProgressClassStatusEnum = {
44
+ Pending: 'pending',
45
+ Processing: 'processing',
46
+ Completed: 'completed',
47
+ Failed: 'failed'
48
+ } as const;
49
+
50
+ export type SuggestionGenerationProgressClassStatusEnum = typeof SuggestionGenerationProgressClassStatusEnum[keyof typeof SuggestionGenerationProgressClassStatusEnum];
51
+
52
+
@@ -13,6 +13,8 @@
13
13
  */
14
14
 
15
15
 
16
+ import { BankOrderClass } from './bank-order-class';
17
+ import { BankTransactionInvoiceClass } from './bank-transaction-invoice-class';
16
18
 
17
19
  /**
18
20
  *
@@ -45,11 +47,17 @@ export interface UnlinkedBankTransactionResponseClass {
45
47
  */
46
48
  'bankAccountNumber': string;
47
49
  /**
48
- * Reference number derived from the MT940 swift Insturctions
50
+ * Reference number derived from the MT940 or CAMT file
49
51
  * @type {string}
50
52
  * @memberof UnlinkedBankTransactionResponseClass
51
53
  */
52
- 'swiftMessageReference'?: string;
54
+ 'messageReference'?: string;
55
+ /**
56
+ * Label of the transaction
57
+ * @type {string}
58
+ * @memberof UnlinkedBankTransactionResponseClass
59
+ */
60
+ 'label'?: UnlinkedBankTransactionResponseClassLabelEnum;
53
61
  /**
54
62
  * Currency of the transaction.
55
63
  * @type {string}
@@ -92,6 +100,24 @@ export interface UnlinkedBankTransactionResponseClass {
92
100
  * @memberof UnlinkedBankTransactionResponseClass
93
101
  */
94
102
  'isLinked': boolean;
103
+ /**
104
+ * The bank transaction invoices that this bank transaction is linked to
105
+ * @type {Array<BankTransactionInvoiceClass>}
106
+ * @memberof UnlinkedBankTransactionResponseClass
107
+ */
108
+ 'bankTransactionInvoices'?: Array<BankTransactionInvoiceClass>;
109
+ /**
110
+ * The linked bank order object
111
+ * @type {BankOrderClass}
112
+ * @memberof UnlinkedBankTransactionResponseClass
113
+ */
114
+ 'linkedBankOrder'?: BankOrderClass;
115
+ /**
116
+ * The file format of the bank transaction
117
+ * @type {string}
118
+ * @memberof UnlinkedBankTransactionResponseClass
119
+ */
120
+ 'importedFrom': string;
95
121
  /**
96
122
  * Time at which the object was created.
97
123
  * @type {string}
@@ -112,3 +138,11 @@ export interface UnlinkedBankTransactionResponseClass {
112
138
  'updatedBy': string;
113
139
  }
114
140
 
141
+ export const UnlinkedBankTransactionResponseClassLabelEnum = {
142
+ Automated: 'automated',
143
+ Manual: 'manual'
144
+ } as const;
145
+
146
+ export type UnlinkedBankTransactionResponseClassLabelEnum = typeof UnlinkedBankTransactionResponseClassLabelEnum[keyof typeof UnlinkedBankTransactionResponseClassLabelEnum];
147
+
148
+
@@ -0,0 +1,71 @@
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 UpdateBankOrderRequestDto
21
+ */
22
+ export interface UpdateBankOrderRequestDto {
23
+ /**
24
+ * Bank order status
25
+ * @type {string}
26
+ * @memberof UpdateBankOrderRequestDto
27
+ */
28
+ 'status': UpdateBankOrderRequestDtoStatusEnum;
29
+ /**
30
+ * Bank order description.
31
+ * @type {string}
32
+ * @memberof UpdateBankOrderRequestDto
33
+ */
34
+ 'description'?: string;
35
+ /**
36
+ * Financial account code associated with the bank order.
37
+ * @type {string}
38
+ * @memberof UpdateBankOrderRequestDto
39
+ */
40
+ 'financialAccountCode': string;
41
+ /**
42
+ * List of invoice IDs associated with bank order.
43
+ * @type {Array<number>}
44
+ * @memberof UpdateBankOrderRequestDto
45
+ */
46
+ 'invoiceIds': Array<number>;
47
+ /**
48
+ * Day of execution of bank order.
49
+ * @type {string}
50
+ * @memberof UpdateBankOrderRequestDto
51
+ */
52
+ 'executionDate': string;
53
+ /**
54
+ * Latest due date.
55
+ * @type {string}
56
+ * @memberof UpdateBankOrderRequestDto
57
+ */
58
+ 'dueDate': string;
59
+ }
60
+
61
+ export const UpdateBankOrderRequestDtoStatusEnum = {
62
+ Open: 'open',
63
+ Draft: 'draft',
64
+ Closed: 'closed',
65
+ Accepted: 'accepted',
66
+ Processing: 'processing'
67
+ } as const;
68
+
69
+ export type UpdateBankOrderRequestDtoStatusEnum = typeof UpdateBankOrderRequestDtoStatusEnum[keyof typeof UpdateBankOrderRequestDtoStatusEnum];
70
+
71
+
@@ -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 { BankOrderClass } from './bank-order-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface UpdateBankOrderResponseClass
22
+ */
23
+ export interface UpdateBankOrderResponseClass {
24
+ /**
25
+ * Bank order
26
+ * @type {BankOrderClass}
27
+ * @memberof UpdateBankOrderResponseClass
28
+ */
29
+ 'bankOrder': BankOrderClass;
30
+ }
31
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/payment-sdk",
3
- "version": "1.13.1-beta.8",
3
+ "version": "1.13.1-beta.81",
4
4
  "description": "OpenAPI client for @emilgroup/payment-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [
package/tsconfig.json CHANGED
@@ -5,6 +5,7 @@
5
5
  "module": "CommonJS",
6
6
  "noImplicitAny": true,
7
7
  "esModuleInterop": true,
8
+ "noImplicitOverride": true,
8
9
  "outDir": "dist",
9
10
  "rootDir": ".",
10
11
  "lib": [