@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
@@ -0,0 +1,74 @@
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 CreateBankOrderRequestDto
16
+ */
17
+ export interface CreateBankOrderRequestDto {
18
+ /**
19
+ * Bank order type.
20
+ * @type {string}
21
+ * @memberof CreateBankOrderRequestDto
22
+ */
23
+ 'type': CreateBankOrderRequestDtoTypeEnum;
24
+ /**
25
+ * Status associated with bank order.
26
+ * @type {string}
27
+ * @memberof CreateBankOrderRequestDto
28
+ */
29
+ 'status': CreateBankOrderRequestDtoStatusEnum;
30
+ /**
31
+ * Bank order description.
32
+ * @type {string}
33
+ * @memberof CreateBankOrderRequestDto
34
+ */
35
+ 'description'?: string;
36
+ /**
37
+ * Financial account code associated with the bank order.
38
+ * @type {string}
39
+ * @memberof CreateBankOrderRequestDto
40
+ */
41
+ 'financialAccountCode': string;
42
+ /**
43
+ * List of invoice IDs associated with bank order.
44
+ * @type {Array<number>}
45
+ * @memberof CreateBankOrderRequestDto
46
+ */
47
+ 'invoiceIds': Array<number>;
48
+ /**
49
+ * Day of execution of bank order.
50
+ * @type {string}
51
+ * @memberof CreateBankOrderRequestDto
52
+ */
53
+ 'executionDate': string;
54
+ /**
55
+ * Latest due date.
56
+ * @type {string}
57
+ * @memberof CreateBankOrderRequestDto
58
+ */
59
+ 'dueDate': string;
60
+ }
61
+ export declare const CreateBankOrderRequestDtoTypeEnum: {
62
+ readonly DirectDebit: "direct_debit";
63
+ readonly PremiumPayment: "premium_payment";
64
+ readonly ClaimPayment: "claim_payment";
65
+ };
66
+ export type CreateBankOrderRequestDtoTypeEnum = typeof CreateBankOrderRequestDtoTypeEnum[keyof typeof CreateBankOrderRequestDtoTypeEnum];
67
+ export declare const CreateBankOrderRequestDtoStatusEnum: {
68
+ readonly Open: "open";
69
+ readonly Draft: "draft";
70
+ readonly Closed: "closed";
71
+ readonly Accepted: "accepted";
72
+ readonly Processing: "processing";
73
+ };
74
+ export type CreateBankOrderRequestDtoStatusEnum = typeof CreateBankOrderRequestDtoStatusEnum[keyof typeof CreateBankOrderRequestDtoStatusEnum];
@@ -0,0 +1,28 @@
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.CreateBankOrderRequestDtoStatusEnum = exports.CreateBankOrderRequestDtoTypeEnum = void 0;
17
+ exports.CreateBankOrderRequestDtoTypeEnum = {
18
+ DirectDebit: 'direct_debit',
19
+ PremiumPayment: 'premium_payment',
20
+ ClaimPayment: 'claim_payment'
21
+ };
22
+ exports.CreateBankOrderRequestDtoStatusEnum = {
23
+ Open: 'open',
24
+ Draft: 'draft',
25
+ Closed: 'closed',
26
+ Accepted: 'accepted',
27
+ Processing: 'processing'
28
+ };
@@ -0,0 +1,25 @@
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 { BankOrderClass } from './bank-order-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface CreateBankOrderResponseClass
17
+ */
18
+ export interface CreateBankOrderResponseClass {
19
+ /**
20
+ * Bank order
21
+ * @type {BankOrderClass}
22
+ * @memberof CreateBankOrderResponseClass
23
+ */
24
+ 'bankOrder': BankOrderClass;
25
+ }
@@ -0,0 +1,15 @@
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 });
@@ -0,0 +1,48 @@
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 CreatePaymentOrderDto
16
+ */
17
+ export interface CreatePaymentOrderDto {
18
+ /**
19
+ * Invoice referenced in this payment order.
20
+ * @type {number}
21
+ * @memberof CreatePaymentOrderDto
22
+ */
23
+ 'invoiceId': number;
24
+ /**
25
+ * Optional comment.
26
+ * @type {string}
27
+ * @memberof CreatePaymentOrderDto
28
+ */
29
+ 'comment'?: string;
30
+ /**
31
+ * Optional payment date.
32
+ * @type {string}
33
+ * @memberof CreatePaymentOrderDto
34
+ */
35
+ 'receivedDate'?: string;
36
+ /**
37
+ * Optional reference number.
38
+ * @type {string}
39
+ * @memberof CreatePaymentOrderDto
40
+ */
41
+ 'referenceNumber'?: string;
42
+ /**
43
+ * Optional field contain extra information.
44
+ * @type {object}
45
+ * @memberof CreatePaymentOrderDto
46
+ */
47
+ 'metadata': object;
48
+ }
@@ -0,0 +1,15 @@
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 });
@@ -0,0 +1,48 @@
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 CreatePaymentOrderRequestDto
16
+ */
17
+ export interface CreatePaymentOrderRequestDto {
18
+ /**
19
+ *
20
+ * @type {number}
21
+ * @memberof CreatePaymentOrderRequestDto
22
+ */
23
+ 'invoiceId': number;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof CreatePaymentOrderRequestDto
28
+ */
29
+ 'comment'?: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof CreatePaymentOrderRequestDto
34
+ */
35
+ 'receivedDate'?: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof CreatePaymentOrderRequestDto
40
+ */
41
+ 'referenceNumber'?: string;
42
+ /**
43
+ *
44
+ * @type {object}
45
+ * @memberof CreatePaymentOrderRequestDto
46
+ */
47
+ 'metadata': object;
48
+ }
@@ -0,0 +1,15 @@
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 });
@@ -32,7 +32,13 @@ export interface CreatePaymentReminderRequestDto {
32
32
  * @type {string}
33
33
  * @memberof CreatePaymentReminderRequestDto
34
34
  */
35
- 'accountCode': string;
35
+ 'accountCode'?: string;
36
+ /**
37
+ * Code referencing the partner for which this reminder is created.
38
+ * @type {string}
39
+ * @memberof CreatePaymentReminderRequestDto
40
+ */
41
+ 'partnerCode'?: string;
36
42
  /**
37
43
  * The type of invoice is used to determine the proper workflow.
38
44
  * @type {string}
@@ -20,7 +20,13 @@ export interface CreatePaymentRequestDto {
20
20
  * @type {string}
21
21
  * @memberof CreatePaymentRequestDto
22
22
  */
23
- 'accountCode': string;
23
+ 'accountCode'?: string;
24
+ /**
25
+ * Partner code associated to that payment.
26
+ * @type {string}
27
+ * @memberof CreatePaymentRequestDto
28
+ */
29
+ 'partnerCode'?: string;
24
30
  /**
25
31
  * Amount to be paid in cents. 100 to charge 1€.
26
32
  * @type {number}
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { BankTransferDto } from './bank-transfer-dto';
12
13
  import { BillingProfileDto } from './billing-profile-dto';
13
14
  import { SepaDirectDto } from './sepa-direct-dto';
14
15
  /**
@@ -28,7 +29,13 @@ export interface CreatePspPaymentMethodRequestDto {
28
29
  * @type {string}
29
30
  * @memberof CreatePspPaymentMethodRequestDto
30
31
  */
31
- 'accountCode': string;
32
+ 'accountCode'?: string;
33
+ /**
34
+ *
35
+ * @type {string}
36
+ * @memberof CreatePspPaymentMethodRequestDto
37
+ */
38
+ 'partnerCode'?: string;
32
39
  /**
33
40
  *
34
41
  * @type {SepaDirectDto}
@@ -41,12 +48,24 @@ export interface CreatePspPaymentMethodRequestDto {
41
48
  * @memberof CreatePspPaymentMethodRequestDto
42
49
  */
43
50
  'billingProfile'?: BillingProfileDto;
51
+ /**
52
+ *
53
+ * @type {BankTransferDto}
54
+ * @memberof CreatePspPaymentMethodRequestDto
55
+ */
56
+ 'bankTransfer'?: BankTransferDto;
44
57
  /**
45
58
  *
46
59
  * @type {string}
47
60
  * @memberof CreatePspPaymentMethodRequestDto
48
61
  */
49
62
  'productSlug'?: string;
63
+ /**
64
+ *
65
+ * @type {string}
66
+ * @memberof CreatePspPaymentMethodRequestDto
67
+ */
68
+ 'leadCode'?: string;
50
69
  }
51
70
  export declare const CreatePspPaymentMethodRequestDtoTypeEnum: {
52
71
  readonly Paypal: "paypal";
@@ -63,5 +82,7 @@ export declare const CreatePspPaymentMethodRequestDtoTypeEnum: {
63
82
  readonly Venmo: "venmo";
64
83
  readonly Masterpass: "masterpass";
65
84
  readonly B4u: "b4u";
85
+ readonly Invoice: "invoice";
86
+ readonly BankTransfer: "bank_transfer";
66
87
  };
67
88
  export type CreatePspPaymentMethodRequestDtoTypeEnum = typeof CreatePspPaymentMethodRequestDtoTypeEnum[keyof typeof CreatePspPaymentMethodRequestDtoTypeEnum];
@@ -28,5 +28,7 @@ exports.CreatePspPaymentMethodRequestDtoTypeEnum = {
28
28
  SamsungPay: 'samsung_pay',
29
29
  Venmo: 'venmo',
30
30
  Masterpass: 'masterpass',
31
- B4u: 'b4u'
31
+ B4u: 'b4u',
32
+ Invoice: 'invoice',
33
+ BankTransfer: 'bank_transfer'
32
34
  };
@@ -38,7 +38,13 @@ export interface DeactivatedPaymentReminderClass {
38
38
  * @type {string}
39
39
  * @memberof DeactivatedPaymentReminderClass
40
40
  */
41
- 'accountCode': string;
41
+ 'accountCode'?: string;
42
+ /**
43
+ * Unique identifier of related partner.
44
+ * @type {string}
45
+ * @memberof DeactivatedPaymentReminderClass
46
+ */
47
+ 'partnerCode'?: string;
42
48
  /**
43
49
  * Type of the invoice
44
50
  * @type {string}
@@ -0,0 +1,111 @@
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 FinancialAccountClass
16
+ */
17
+ export interface FinancialAccountClass {
18
+ /**
19
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
20
+ * @type {number}
21
+ * @memberof FinancialAccountClass
22
+ */
23
+ 'id': number;
24
+ /**
25
+ * Unique identifier for the object.
26
+ * @type {string}
27
+ * @memberof FinancialAccountClass
28
+ */
29
+ 'code': string;
30
+ /**
31
+ * The name of the account.
32
+ * @type {string}
33
+ * @memberof FinancialAccountClass
34
+ */
35
+ 'name': string;
36
+ /**
37
+ * The financial account number.
38
+ * @type {string}
39
+ * @memberof FinancialAccountClass
40
+ */
41
+ 'financialAccountNumber': string;
42
+ /**
43
+ * The ID of the parent account, if any.
44
+ * @type {number}
45
+ * @memberof FinancialAccountClass
46
+ */
47
+ 'parentId': number;
48
+ /**
49
+ * The partner number of the account.
50
+ * @type {string}
51
+ * @memberof FinancialAccountClass
52
+ */
53
+ 'partnerNumber': string;
54
+ /**
55
+ * The type of account, e.g. \"Asset\", \"Liability\", \"Equity\", \"Revenue\", \"Expense\".
56
+ * @type {string}
57
+ * @memberof FinancialAccountClass
58
+ */
59
+ 'type': FinancialAccountClassTypeEnum;
60
+ /**
61
+ * Metadata about the object.
62
+ * @type {object}
63
+ * @memberof FinancialAccountClass
64
+ */
65
+ 'customFields': object;
66
+ /**
67
+ * The description of the account.
68
+ * @type {string}
69
+ * @memberof FinancialAccountClass
70
+ */
71
+ 'description': string;
72
+ /**
73
+ * Whether the account is clearable.
74
+ * @type {boolean}
75
+ * @memberof FinancialAccountClass
76
+ */
77
+ 'clearable': boolean;
78
+ /**
79
+ * Time at which the object was created.
80
+ * @type {string}
81
+ * @memberof FinancialAccountClass
82
+ */
83
+ 'createdAt': string;
84
+ /**
85
+ * Time at which the object was updated.
86
+ * @type {string}
87
+ * @memberof FinancialAccountClass
88
+ */
89
+ 'updatedAt': string;
90
+ /**
91
+ * Identifier of the user who created the record.
92
+ * @type {string}
93
+ * @memberof FinancialAccountClass
94
+ */
95
+ 'createdBy': string;
96
+ /**
97
+ * Identifier of the user who last updated the record.
98
+ * @type {string}
99
+ * @memberof FinancialAccountClass
100
+ */
101
+ 'updatedBy': string;
102
+ }
103
+ export declare const FinancialAccountClassTypeEnum: {
104
+ readonly Asset: "asset";
105
+ readonly Liability: "liability";
106
+ readonly Equity: "equity";
107
+ readonly Revenue: "revenue";
108
+ readonly Expense: "expense";
109
+ readonly OpeningBalance: "opening_balance";
110
+ };
111
+ export type FinancialAccountClassTypeEnum = typeof FinancialAccountClassTypeEnum[keyof typeof FinancialAccountClassTypeEnum];
@@ -0,0 +1,24 @@
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.FinancialAccountClassTypeEnum = void 0;
17
+ exports.FinancialAccountClassTypeEnum = {
18
+ Asset: 'asset',
19
+ Liability: 'liability',
20
+ Equity: 'equity',
21
+ Revenue: 'revenue',
22
+ Expense: 'expense',
23
+ OpeningBalance: 'opening_balance'
24
+ };
@@ -0,0 +1,25 @@
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 { InvoiceMatchSuggestionClass } from './invoice-match-suggestion-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface GenerateInvoiceMatchSuggestionsResponseClass
17
+ */
18
+ export interface GenerateInvoiceMatchSuggestionsResponseClass {
19
+ /**
20
+ * List of invoice match suggestions
21
+ * @type {Array<InvoiceMatchSuggestionClass>}
22
+ * @memberof GenerateInvoiceMatchSuggestionsResponseClass
23
+ */
24
+ 'invoiceMatchSuggestions': Array<InvoiceMatchSuggestionClass>;
25
+ }
@@ -0,0 +1,15 @@
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 });
@@ -0,0 +1,25 @@
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 { BankOrderClass } from './bank-order-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface GetBankOrderResponseClass
17
+ */
18
+ export interface GetBankOrderResponseClass {
19
+ /**
20
+ * Bank order
21
+ * @type {BankOrderClass}
22
+ * @memberof GetBankOrderResponseClass
23
+ */
24
+ 'bankOrder': BankOrderClass;
25
+ }
@@ -0,0 +1,15 @@
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 });