@emilgroup/payment-sdk 1.13.1-beta.7 → 1.13.1-beta.71

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 +57 -29
  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 +40 -22
  18. package/dist/api/bank-transaction-api.js +33 -21
  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 -0
  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 -0
  75. package/dist/models/unlinked-bank-transaction-response-class.js +5 -0
  76. package/dist/models/update-bank-order-request-dto.d.ts +62 -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 -0
  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 -0
  108. package/models/update-bank-order-request-dto.ts +71 -0
  109. package/models/update-bank-order-response-class.ts +31 -0
  110. package/package.json +1 -1
  111. package/tsconfig.json +1 -0
@@ -0,0 +1,120 @@
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 FinancialAccountClass
21
+ */
22
+ export interface FinancialAccountClass {
23
+ /**
24
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
25
+ * @type {number}
26
+ * @memberof FinancialAccountClass
27
+ */
28
+ 'id': number;
29
+ /**
30
+ * Unique identifier for the object.
31
+ * @type {string}
32
+ * @memberof FinancialAccountClass
33
+ */
34
+ 'code': string;
35
+ /**
36
+ * The name of the account.
37
+ * @type {string}
38
+ * @memberof FinancialAccountClass
39
+ */
40
+ 'name': string;
41
+ /**
42
+ * The financial account number.
43
+ * @type {string}
44
+ * @memberof FinancialAccountClass
45
+ */
46
+ 'financialAccountNumber': string;
47
+ /**
48
+ * The ID of the parent account, if any.
49
+ * @type {number}
50
+ * @memberof FinancialAccountClass
51
+ */
52
+ 'parentId': number;
53
+ /**
54
+ * The partner number of the account.
55
+ * @type {string}
56
+ * @memberof FinancialAccountClass
57
+ */
58
+ 'partnerNumber': string;
59
+ /**
60
+ * The type of account, e.g. \"Asset\", \"Liability\", \"Equity\", \"Revenue\", \"Expense\".
61
+ * @type {string}
62
+ * @memberof FinancialAccountClass
63
+ */
64
+ 'type': FinancialAccountClassTypeEnum;
65
+ /**
66
+ * Metadata about the object.
67
+ * @type {object}
68
+ * @memberof FinancialAccountClass
69
+ */
70
+ 'customFields': object;
71
+ /**
72
+ * The description of the account.
73
+ * @type {string}
74
+ * @memberof FinancialAccountClass
75
+ */
76
+ 'description': string;
77
+ /**
78
+ * Whether the account is clearable.
79
+ * @type {boolean}
80
+ * @memberof FinancialAccountClass
81
+ */
82
+ 'clearable': boolean;
83
+ /**
84
+ * Time at which the object was created.
85
+ * @type {string}
86
+ * @memberof FinancialAccountClass
87
+ */
88
+ 'createdAt': string;
89
+ /**
90
+ * Time at which the object was updated.
91
+ * @type {string}
92
+ * @memberof FinancialAccountClass
93
+ */
94
+ 'updatedAt': string;
95
+ /**
96
+ * Identifier of the user who created the record.
97
+ * @type {string}
98
+ * @memberof FinancialAccountClass
99
+ */
100
+ 'createdBy': string;
101
+ /**
102
+ * Identifier of the user who last updated the record.
103
+ * @type {string}
104
+ * @memberof FinancialAccountClass
105
+ */
106
+ 'updatedBy': string;
107
+ }
108
+
109
+ export const FinancialAccountClassTypeEnum = {
110
+ Asset: 'asset',
111
+ Liability: 'liability',
112
+ Equity: 'equity',
113
+ Revenue: 'revenue',
114
+ Expense: 'expense',
115
+ OpeningBalance: 'opening_balance'
116
+ } as const;
117
+
118
+ export type FinancialAccountClassTypeEnum = typeof FinancialAccountClassTypeEnum[keyof typeof FinancialAccountClassTypeEnum];
119
+
120
+
@@ -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 GetBankOrderResponseClass
22
+ */
23
+ export interface GetBankOrderResponseClass {
24
+ /**
25
+ * Bank order
26
+ * @type {BankOrderClass}
27
+ * @memberof GetBankOrderResponseClass
28
+ */
29
+ 'bankOrder': BankOrderClass;
30
+ }
31
+
package/models/index.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  export * from './bank-account-class';
2
2
  export * from './bank-account-class-without-expand-properties';
3
+ export * from './bank-order-class';
3
4
  export * from './bank-transaction-class';
4
5
  export * from './bank-transaction-class-without-expand-properties';
5
6
  export * from './billing-profile-dto';
@@ -7,11 +8,14 @@ export * from './billing-profile-limited-response-dto';
7
8
  export * from './card-details-dto';
8
9
  export * from './complete-adyen-payment-setup-request-dto';
9
10
  export * from './complete-braintree-payment-setup-request-dto';
11
+ export * from './complete-eis-payment-setup-request-dto';
10
12
  export * from './complete-payment-setup-request-dto';
11
13
  export * from './complete-payment-setup-response-class';
12
14
  export * from './complete-stripe-payment-setup-request-dto';
13
15
  export * from './create-bank-account-request-dto';
14
16
  export * from './create-bank-account-response-class';
17
+ export * from './create-bank-order-request-dto';
18
+ export * from './create-bank-order-response-class';
15
19
  export * from './create-payment-method-response-class';
16
20
  export * from './create-payment-reminder-request-dto';
17
21
  export * from './create-payment-reminder-response-class';
@@ -25,8 +29,10 @@ export * from './create-tenant-bank-account-response-class';
25
29
  export * from './deactivate-payment-reminder-request-dto';
26
30
  export * from './deactivate-payment-reminder-response-class';
27
31
  export * from './deactivated-payment-reminder-class';
32
+ export * from './financial-account-class';
28
33
  export * from './generate-invoice-match-suggestions-response-class';
29
34
  export * from './get-bank-account-response-class';
35
+ export * from './get-bank-order-response-class';
30
36
  export * from './get-bank-transactions-response-class';
31
37
  export * from './get-payment-method-response-class';
32
38
  export * from './get-payment-reminder-response-class';
@@ -38,6 +44,7 @@ export * from './initiate-adyen-payment-setup-request-dto';
38
44
  export * from './initiate-adyen-payment-setup-response-class';
39
45
  export * from './initiate-braintree-payment-setup-request-dto';
40
46
  export * from './initiate-braintree-payment-setup-response-class';
47
+ export * from './initiate-eis-payment-setup-request-dto';
41
48
  export * from './initiate-payment-setup-request-dto';
42
49
  export * from './initiate-payment-setup-response-class';
43
50
  export * from './initiate-stripe-payment-setup-request-dto';
@@ -48,6 +55,7 @@ export * from './invoice-match-suggestion-class';
48
55
  export * from './link-bank-transaction-request-dto-rest';
49
56
  export * from './link-bank-transactions-response-class';
50
57
  export * from './list-bank-accounts-response-class';
58
+ export * from './list-bank-orders-response-class';
51
59
  export * from './list-bank-transactions-response-class';
52
60
  export * from './list-payment-methods-response-class';
53
61
  export * from './list-payment-reminders-response-class';
@@ -74,6 +82,8 @@ export * from './unlinked-bank-transaction-response-class';
74
82
  export * from './update-bank-account-request-dto';
75
83
  export * from './update-bank-account-request-dto-rest';
76
84
  export * from './update-bank-account-response-class';
85
+ export * from './update-bank-order-request-dto';
86
+ export * from './update-bank-order-response-class';
77
87
  export * from './update-tenant-bank-account-response-class';
78
88
  export * from './update-tenant-bank-account-rest-request-dto';
79
89
  export * from './validate-pspconfig-request-dto';
@@ -32,5 +32,11 @@ export interface InitiateAdyenPaymentSetupRequestDto {
32
32
  * @memberof InitiateAdyenPaymentSetupRequestDto
33
33
  */
34
34
  'accountCode'?: string;
35
+ /**
36
+ * Unique identifier of the partner that this object belongs to.
37
+ * @type {string}
38
+ * @memberof InitiateAdyenPaymentSetupRequestDto
39
+ */
40
+ 'partnerCode'?: string;
35
41
  }
36
42
 
@@ -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
 
@@ -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}
@@ -13,6 +13,7 @@
13
13
  */
14
14
 
15
15
 
16
+ import { BankOrderClass } from './bank-order-class';
16
17
 
17
18
  /**
18
19
  *
@@ -50,6 +51,12 @@ export interface UnlinkedBankTransactionResponseClass {
50
51
  * @memberof UnlinkedBankTransactionResponseClass
51
52
  */
52
53
  'messageReference'?: string;
54
+ /**
55
+ * Label of the transaction
56
+ * @type {string}
57
+ * @memberof UnlinkedBankTransactionResponseClass
58
+ */
59
+ 'label'?: UnlinkedBankTransactionResponseClassLabelEnum;
53
60
  /**
54
61
  * Currency of the transaction.
55
62
  * @type {string}
@@ -92,6 +99,12 @@ export interface UnlinkedBankTransactionResponseClass {
92
99
  * @memberof UnlinkedBankTransactionResponseClass
93
100
  */
94
101
  'isLinked': boolean;
102
+ /**
103
+ * The linked bank order object
104
+ * @type {BankOrderClass}
105
+ * @memberof UnlinkedBankTransactionResponseClass
106
+ */
107
+ 'linkedBankOrder'?: BankOrderClass;
95
108
  /**
96
109
  * The file format of the bank transaction
97
110
  * @type {string}
@@ -118,3 +131,11 @@ export interface UnlinkedBankTransactionResponseClass {
118
131
  'updatedBy': string;
119
132
  }
120
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,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.7",
3
+ "version": "1.13.1-beta.71",
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": [