@emilgroup/payment-sdk 1.13.1-beta.5 → 1.13.1-beta.51

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 (111) hide show
  1. package/.openapi-generator/FILES +11 -0
  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 +72 -44
  6. package/api/payment-methods-api.ts +59 -17
  7. package/api/payment-reminders-api.ts +55 -13
  8. package/api/payments-api.ts +59 -17
  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 +55 -37
  18. package/dist/api/bank-transaction-api.js +47 -35
  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 +39 -12
  24. package/dist/api/payments-api.js +32 -14
  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-order-class.js +15 -0
  35. package/dist/models/bank-transaction-class-without-expand-properties.d.ts +18 -14
  36. package/dist/models/bank-transaction-class-without-expand-properties.js +5 -0
  37. package/dist/models/bank-transaction-class.d.ts +18 -0
  38. package/dist/models/bank-transaction-class.js +5 -0
  39. package/dist/models/complete-adyen-payment-setup-request-dto.d.ts +1 -0
  40. package/dist/models/complete-adyen-payment-setup-request-dto.js +2 -1
  41. package/dist/models/complete-eis-payment-setup-request-dto.d.ts +36 -0
  42. package/dist/models/complete-eis-payment-setup-request-dto.js +15 -0
  43. package/dist/models/complete-payment-setup-request-dto.d.ts +7 -0
  44. package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +1 -0
  45. package/dist/models/complete-stripe-payment-setup-request-dto.js +2 -1
  46. package/dist/models/create-bank-order-request-dto.d.ts +74 -0
  47. package/dist/models/create-bank-order-request-dto.js +28 -0
  48. package/dist/models/create-bank-order-response-class.d.ts +25 -0
  49. package/dist/models/create-bank-order-response-class.js +15 -0
  50. package/dist/models/create-payment-reminder-request-dto.d.ts +7 -1
  51. package/dist/models/create-payment-request-dto.d.ts +7 -1
  52. package/dist/models/create-psp-payment-method-request-dto.d.ts +14 -1
  53. package/dist/models/create-psp-payment-method-request-dto.js +2 -1
  54. package/dist/models/deactivated-payment-reminder-class.d.ts +7 -1
  55. package/dist/models/financial-account-class.d.ts +111 -0
  56. package/dist/models/financial-account-class.js +24 -0
  57. package/dist/models/get-bank-order-response-class.d.ts +25 -0
  58. package/dist/models/get-bank-order-response-class.js +15 -0
  59. package/dist/models/index.d.ts +10 -0
  60. package/dist/models/index.js +10 -0
  61. package/dist/models/initiate-adyen-payment-setup-request-dto.d.ts +6 -0
  62. package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +6 -0
  63. package/dist/models/initiate-eis-payment-setup-request-dto.d.ts +36 -0
  64. package/dist/models/initiate-eis-payment-setup-request-dto.js +15 -0
  65. package/dist/models/initiate-payment-setup-request-dto.d.ts +3 -2
  66. package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +6 -0
  67. package/dist/models/list-bank-orders-response-class.d.ts +31 -0
  68. package/dist/models/list-bank-orders-response-class.js +15 -0
  69. package/dist/models/payment-class-without-expand-properties.d.ts +7 -1
  70. package/dist/models/payment-class.d.ts +7 -1
  71. package/dist/models/payment-method-class.d.ts +6 -0
  72. package/dist/models/payment-reminder-class.d.ts +7 -1
  73. package/dist/models/refund-class.d.ts +7 -1
  74. package/dist/models/unlinked-bank-transaction-response-class.d.ts +18 -14
  75. package/dist/models/unlinked-bank-transaction-response-class.js +5 -0
  76. package/dist/models/update-bank-order-request-dto.d.ts +56 -0
  77. package/dist/models/update-bank-order-request-dto.js +23 -0
  78. package/dist/models/update-bank-order-response-class.d.ts +25 -0
  79. package/dist/models/update-bank-order-response-class.js +15 -0
  80. package/models/bank-order-class.ts +121 -0
  81. package/models/bank-transaction-class-without-expand-properties.ts +21 -14
  82. package/models/bank-transaction-class.ts +21 -0
  83. package/models/complete-adyen-payment-setup-request-dto.ts +2 -1
  84. package/models/complete-eis-payment-setup-request-dto.ts +42 -0
  85. package/models/complete-payment-setup-request-dto.ts +7 -0
  86. package/models/complete-stripe-payment-setup-request-dto.ts +2 -1
  87. package/models/create-bank-order-request-dto.ts +84 -0
  88. package/models/create-bank-order-response-class.ts +31 -0
  89. package/models/create-payment-reminder-request-dto.ts +7 -1
  90. package/models/create-payment-request-dto.ts +7 -1
  91. package/models/create-psp-payment-method-request-dto.ts +15 -2
  92. package/models/deactivated-payment-reminder-class.ts +7 -1
  93. package/models/financial-account-class.ts +120 -0
  94. package/models/get-bank-order-response-class.ts +31 -0
  95. package/models/index.ts +10 -0
  96. package/models/initiate-adyen-payment-setup-request-dto.ts +6 -0
  97. package/models/initiate-braintree-payment-setup-request-dto.ts +6 -0
  98. package/models/initiate-eis-payment-setup-request-dto.ts +42 -0
  99. package/models/initiate-payment-setup-request-dto.ts +3 -2
  100. package/models/initiate-stripe-payment-setup-request-dto.ts +6 -0
  101. package/models/list-bank-orders-response-class.ts +37 -0
  102. package/models/payment-class-without-expand-properties.ts +7 -1
  103. package/models/payment-class.ts +7 -1
  104. package/models/payment-method-class.ts +6 -0
  105. package/models/payment-reminder-class.ts +7 -1
  106. package/models/refund-class.ts +7 -1
  107. package/models/unlinked-bank-transaction-response-class.ts +21 -14
  108. package/models/update-bank-order-request-dto.ts +65 -0
  109. package/models/update-bank-order-response-class.ts +31 -0
  110. package/package.json +1 -1
  111. package/tsconfig.json +1 -0
@@ -13,8 +13,7 @@
13
13
  */
14
14
 
15
15
 
16
- import { InvoiceMatchSuggestionClass } from './invoice-match-suggestion-class';
17
- import { SuggestionGenerationProgressClass } from './suggestion-generation-progress-class';
16
+ import { BankOrderClass } from './bank-order-class';
18
17
 
19
18
  /**
20
19
  *
@@ -52,6 +51,12 @@ export interface UnlinkedBankTransactionResponseClass {
52
51
  * @memberof UnlinkedBankTransactionResponseClass
53
52
  */
54
53
  'messageReference'?: string;
54
+ /**
55
+ * Label of the transaction
56
+ * @type {string}
57
+ * @memberof UnlinkedBankTransactionResponseClass
58
+ */
59
+ 'label'?: UnlinkedBankTransactionResponseClassLabelEnum;
55
60
  /**
56
61
  * Currency of the transaction.
57
62
  * @type {string}
@@ -94,6 +99,12 @@ export interface UnlinkedBankTransactionResponseClass {
94
99
  * @memberof UnlinkedBankTransactionResponseClass
95
100
  */
96
101
  'isLinked': boolean;
102
+ /**
103
+ * The linked bank order object
104
+ * @type {BankOrderClass}
105
+ * @memberof UnlinkedBankTransactionResponseClass
106
+ */
107
+ 'linkedBankOrder'?: BankOrderClass;
97
108
  /**
98
109
  * The file format of the bank transaction
99
110
  * @type {string}
@@ -118,17 +129,13 @@ export interface UnlinkedBankTransactionResponseClass {
118
129
  * @memberof UnlinkedBankTransactionResponseClass
119
130
  */
120
131
  'updatedBy': string;
121
- /**
122
- * The match suggestions for invoices
123
- * @type {Array<InvoiceMatchSuggestionClass>}
124
- * @memberof UnlinkedBankTransactionResponseClass
125
- */
126
- 'invoiceMatchSuggestions': Array<InvoiceMatchSuggestionClass>;
127
- /**
128
- * The progress of the suggestion generation
129
- * @type {SuggestionGenerationProgressClass}
130
- * @memberof UnlinkedBankTransactionResponseClass
131
- */
132
- 'suggestionGenerationProgress'?: SuggestionGenerationProgressClass;
133
132
  }
134
133
 
134
+ export const UnlinkedBankTransactionResponseClassLabelEnum = {
135
+ Automated: 'automated',
136
+ Manual: 'manual'
137
+ } as const;
138
+
139
+ export type UnlinkedBankTransactionResponseClassLabelEnum = typeof UnlinkedBankTransactionResponseClassLabelEnum[keyof typeof UnlinkedBankTransactionResponseClassLabelEnum];
140
+
141
+
@@ -0,0 +1,65 @@
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
+ * List of invoice IDs associated with bank order.
37
+ * @type {Array<number>}
38
+ * @memberof UpdateBankOrderRequestDto
39
+ */
40
+ 'invoiceIds': Array<number>;
41
+ /**
42
+ * Day of execution of bank order.
43
+ * @type {string}
44
+ * @memberof UpdateBankOrderRequestDto
45
+ */
46
+ 'executionDate': string;
47
+ /**
48
+ * Latest due date.
49
+ * @type {string}
50
+ * @memberof UpdateBankOrderRequestDto
51
+ */
52
+ 'dueDate': string;
53
+ }
54
+
55
+ export const UpdateBankOrderRequestDtoStatusEnum = {
56
+ Open: 'open',
57
+ Draft: 'draft',
58
+ Closed: 'closed',
59
+ Accepted: 'accepted',
60
+ Processing: 'processing'
61
+ } as const;
62
+
63
+ export type UpdateBankOrderRequestDtoStatusEnum = typeof UpdateBankOrderRequestDtoStatusEnum[keyof typeof UpdateBankOrderRequestDtoStatusEnum];
64
+
65
+
@@ -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.5",
3
+ "version": "1.13.1-beta.51",
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": [