@emilgroup/payment-sdk 1.13.1-beta.6 → 1.13.1-beta.61

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 -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
@@ -28,7 +28,13 @@ export interface CreatePspPaymentMethodRequestDto {
28
28
  * @type {string}
29
29
  * @memberof CreatePspPaymentMethodRequestDto
30
30
  */
31
- 'accountCode': string;
31
+ 'accountCode'?: string;
32
+ /**
33
+ *
34
+ * @type {string}
35
+ * @memberof CreatePspPaymentMethodRequestDto
36
+ */
37
+ 'partnerCode'?: string;
32
38
  /**
33
39
  *
34
40
  * @type {SepaDirectDto}
@@ -47,6 +53,12 @@ export interface CreatePspPaymentMethodRequestDto {
47
53
  * @memberof CreatePspPaymentMethodRequestDto
48
54
  */
49
55
  'productSlug'?: string;
56
+ /**
57
+ *
58
+ * @type {string}
59
+ * @memberof CreatePspPaymentMethodRequestDto
60
+ */
61
+ 'leadCode'?: string;
50
62
  }
51
63
  export declare const CreatePspPaymentMethodRequestDtoTypeEnum: {
52
64
  readonly Paypal: "paypal";
@@ -63,5 +75,6 @@ export declare const CreatePspPaymentMethodRequestDtoTypeEnum: {
63
75
  readonly Venmo: "venmo";
64
76
  readonly Masterpass: "masterpass";
65
77
  readonly B4u: "b4u";
78
+ readonly Invoice: "invoice";
66
79
  };
67
80
  export type CreatePspPaymentMethodRequestDtoTypeEnum = typeof CreatePspPaymentMethodRequestDtoTypeEnum[keyof typeof CreatePspPaymentMethodRequestDtoTypeEnum];
@@ -28,5 +28,6 @@ exports.CreatePspPaymentMethodRequestDtoTypeEnum = {
28
28
  SamsungPay: 'samsung_pay',
29
29
  Venmo: 'venmo',
30
30
  Masterpass: 'masterpass',
31
- B4u: 'b4u'
31
+ B4u: 'b4u',
32
+ Invoice: 'invoice'
32
33
  };
@@ -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 { 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 });
@@ -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';
@@ -16,6 +16,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./bank-account-class"), exports);
18
18
  __exportStar(require("./bank-account-class-without-expand-properties"), exports);
19
+ __exportStar(require("./bank-order-class"), exports);
19
20
  __exportStar(require("./bank-transaction-class"), exports);
20
21
  __exportStar(require("./bank-transaction-class-without-expand-properties"), exports);
21
22
  __exportStar(require("./billing-profile-dto"), exports);
@@ -23,11 +24,14 @@ __exportStar(require("./billing-profile-limited-response-dto"), exports);
23
24
  __exportStar(require("./card-details-dto"), exports);
24
25
  __exportStar(require("./complete-adyen-payment-setup-request-dto"), exports);
25
26
  __exportStar(require("./complete-braintree-payment-setup-request-dto"), exports);
27
+ __exportStar(require("./complete-eis-payment-setup-request-dto"), exports);
26
28
  __exportStar(require("./complete-payment-setup-request-dto"), exports);
27
29
  __exportStar(require("./complete-payment-setup-response-class"), exports);
28
30
  __exportStar(require("./complete-stripe-payment-setup-request-dto"), exports);
29
31
  __exportStar(require("./create-bank-account-request-dto"), exports);
30
32
  __exportStar(require("./create-bank-account-response-class"), exports);
33
+ __exportStar(require("./create-bank-order-request-dto"), exports);
34
+ __exportStar(require("./create-bank-order-response-class"), exports);
31
35
  __exportStar(require("./create-payment-method-response-class"), exports);
32
36
  __exportStar(require("./create-payment-reminder-request-dto"), exports);
33
37
  __exportStar(require("./create-payment-reminder-response-class"), exports);
@@ -41,8 +45,10 @@ __exportStar(require("./create-tenant-bank-account-response-class"), exports);
41
45
  __exportStar(require("./deactivate-payment-reminder-request-dto"), exports);
42
46
  __exportStar(require("./deactivate-payment-reminder-response-class"), exports);
43
47
  __exportStar(require("./deactivated-payment-reminder-class"), exports);
48
+ __exportStar(require("./financial-account-class"), exports);
44
49
  __exportStar(require("./generate-invoice-match-suggestions-response-class"), exports);
45
50
  __exportStar(require("./get-bank-account-response-class"), exports);
51
+ __exportStar(require("./get-bank-order-response-class"), exports);
46
52
  __exportStar(require("./get-bank-transactions-response-class"), exports);
47
53
  __exportStar(require("./get-payment-method-response-class"), exports);
48
54
  __exportStar(require("./get-payment-reminder-response-class"), exports);
@@ -54,6 +60,7 @@ __exportStar(require("./initiate-adyen-payment-setup-request-dto"), exports);
54
60
  __exportStar(require("./initiate-adyen-payment-setup-response-class"), exports);
55
61
  __exportStar(require("./initiate-braintree-payment-setup-request-dto"), exports);
56
62
  __exportStar(require("./initiate-braintree-payment-setup-response-class"), exports);
63
+ __exportStar(require("./initiate-eis-payment-setup-request-dto"), exports);
57
64
  __exportStar(require("./initiate-payment-setup-request-dto"), exports);
58
65
  __exportStar(require("./initiate-payment-setup-response-class"), exports);
59
66
  __exportStar(require("./initiate-stripe-payment-setup-request-dto"), exports);
@@ -64,6 +71,7 @@ __exportStar(require("./invoice-match-suggestion-class"), exports);
64
71
  __exportStar(require("./link-bank-transaction-request-dto-rest"), exports);
65
72
  __exportStar(require("./link-bank-transactions-response-class"), exports);
66
73
  __exportStar(require("./list-bank-accounts-response-class"), exports);
74
+ __exportStar(require("./list-bank-orders-response-class"), exports);
67
75
  __exportStar(require("./list-bank-transactions-response-class"), exports);
68
76
  __exportStar(require("./list-payment-methods-response-class"), exports);
69
77
  __exportStar(require("./list-payment-reminders-response-class"), exports);
@@ -90,6 +98,8 @@ __exportStar(require("./unlinked-bank-transaction-response-class"), exports);
90
98
  __exportStar(require("./update-bank-account-request-dto"), exports);
91
99
  __exportStar(require("./update-bank-account-request-dto-rest"), exports);
92
100
  __exportStar(require("./update-bank-account-response-class"), exports);
101
+ __exportStar(require("./update-bank-order-request-dto"), exports);
102
+ __exportStar(require("./update-bank-order-response-class"), exports);
93
103
  __exportStar(require("./update-tenant-bank-account-response-class"), exports);
94
104
  __exportStar(require("./update-tenant-bank-account-rest-request-dto"), exports);
95
105
  __exportStar(require("./validate-pspconfig-request-dto"), exports);
@@ -27,4 +27,10 @@ export interface InitiateAdyenPaymentSetupRequestDto {
27
27
  * @memberof InitiateAdyenPaymentSetupRequestDto
28
28
  */
29
29
  'accountCode'?: string;
30
+ /**
31
+ * Unique identifier of the partner that this object belongs to.
32
+ * @type {string}
33
+ * @memberof InitiateAdyenPaymentSetupRequestDto
34
+ */
35
+ 'partnerCode'?: string;
30
36
  }
@@ -27,4 +27,10 @@ export interface InitiateBraintreePaymentSetupRequestDto {
27
27
  * @memberof InitiateBraintreePaymentSetupRequestDto
28
28
  */
29
29
  'accountCode'?: string;
30
+ /**
31
+ * Unique identifier of the partner that this object belongs to.
32
+ * @type {string}
33
+ * @memberof InitiateBraintreePaymentSetupRequestDto
34
+ */
35
+ 'partnerCode'?: string;
30
36
  }
@@ -0,0 +1,36 @@
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 InitiateEisPaymentSetupRequestDto
16
+ */
17
+ export interface InitiateEisPaymentSetupRequestDto {
18
+ /**
19
+ * Unique identifier of the lead that this object belongs to.
20
+ * @type {string}
21
+ * @memberof InitiateEisPaymentSetupRequestDto
22
+ */
23
+ 'leadCode'?: string;
24
+ /**
25
+ * Unique identifier of the account that this object belongs to.
26
+ * @type {string}
27
+ * @memberof InitiateEisPaymentSetupRequestDto
28
+ */
29
+ 'accountCode'?: string;
30
+ /**
31
+ * Unique identifier of the partner that this object belongs to.
32
+ * @type {string}
33
+ * @memberof InitiateEisPaymentSetupRequestDto
34
+ */
35
+ 'partnerCode'?: string;
36
+ }
@@ -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 });
@@ -11,6 +11,7 @@
11
11
  */
12
12
  import { InitiateAdyenPaymentSetupRequestDto } from './initiate-adyen-payment-setup-request-dto';
13
13
  import { InitiateBraintreePaymentSetupRequestDto } from './initiate-braintree-payment-setup-request-dto';
14
+ import { InitiateEisPaymentSetupRequestDto } from './initiate-eis-payment-setup-request-dto';
14
15
  import { InitiateStripePaymentSetupRequestDto } from './initiate-stripe-payment-setup-request-dto';
15
16
  /**
16
17
  *
@@ -38,10 +39,10 @@ export interface InitiatePaymentSetupRequestDto {
38
39
  'b4u'?: object;
39
40
  /**
40
41
  *
41
- * @type {object}
42
+ * @type {InitiateEisPaymentSetupRequestDto}
42
43
  * @memberof InitiatePaymentSetupRequestDto
43
44
  */
44
- 'eis'?: object;
45
+ 'eis'?: InitiateEisPaymentSetupRequestDto;
45
46
  /**
46
47
  *
47
48
  * @type {InitiateAdyenPaymentSetupRequestDto}
@@ -27,4 +27,10 @@ export interface InitiateStripePaymentSetupRequestDto {
27
27
  * @memberof InitiateStripePaymentSetupRequestDto
28
28
  */
29
29
  'accountCode'?: string;
30
+ /**
31
+ * Unique identifier of the partner that this object belongs to.
32
+ * @type {string}
33
+ * @memberof InitiateStripePaymentSetupRequestDto
34
+ */
35
+ 'partnerCode'?: string;
30
36
  }
@@ -0,0 +1,31 @@
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 ListBankOrdersResponseClass
17
+ */
18
+ export interface ListBankOrdersResponseClass {
19
+ /**
20
+ * The list of bank orders.
21
+ * @type {Array<BankOrderClass>}
22
+ * @memberof ListBankOrdersResponseClass
23
+ */
24
+ 'items': Array<BankOrderClass>;
25
+ /**
26
+ * Next page token.
27
+ * @type {string}
28
+ * @memberof ListBankOrdersResponseClass
29
+ */
30
+ 'nextPageToken': string;
31
+ }
@@ -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 });
@@ -38,7 +38,13 @@ export interface PaymentClassWithoutExpandProperties {
38
38
  * @type {string}
39
39
  * @memberof PaymentClassWithoutExpandProperties
40
40
  */
41
- 'accountCode': string;
41
+ 'accountCode'?: string;
42
+ /**
43
+ * Partner code associated to that payment.
44
+ * @type {string}
45
+ * @memberof PaymentClassWithoutExpandProperties
46
+ */
47
+ 'partnerCode'?: string;
42
48
  /**
43
49
  * Amount to be paid in cents. 100 to charge 1€.
44
50
  * @type {number}
@@ -39,7 +39,13 @@ export interface PaymentClass {
39
39
  * @type {string}
40
40
  * @memberof PaymentClass
41
41
  */
42
- 'accountCode': string;
42
+ 'accountCode'?: string;
43
+ /**
44
+ * Partner code associated to that payment.
45
+ * @type {string}
46
+ * @memberof PaymentClass
47
+ */
48
+ 'partnerCode'?: string;
43
49
  /**
44
50
  * Amount to be paid in cents. 100 to charge 1€.
45
51
  * @type {number}
@@ -75,6 +75,12 @@ export interface PaymentMethodClass {
75
75
  * @memberof PaymentMethodClass
76
76
  */
77
77
  'details'?: object;
78
+ /**
79
+ * The account PSP customer associated to this payment method.
80
+ * @type {object}
81
+ * @memberof PaymentMethodClass
82
+ */
83
+ 'accountPspCustomer'?: object;
78
84
  /**
79
85
  * Optional field contain extra information
80
86
  * @type {object}
@@ -38,7 +38,13 @@ export interface PaymentReminderClass {
38
38
  * @type {string}
39
39
  * @memberof PaymentReminderClass
40
40
  */
41
- 'accountCode': string;
41
+ 'accountCode'?: string;
42
+ /**
43
+ * Unique identifier of related partner.
44
+ * @type {string}
45
+ * @memberof PaymentReminderClass
46
+ */
47
+ 'partnerCode'?: string;
42
48
  /**
43
49
  * Type of the invoice
44
50
  * @type {string}
@@ -39,7 +39,13 @@ export interface RefundClass {
39
39
  * @type {string}
40
40
  * @memberof RefundClass
41
41
  */
42
- 'accountCode': string;
42
+ 'accountCode'?: string;
43
+ /**
44
+ * Partner code associated with the payment.
45
+ * @type {string}
46
+ * @memberof RefundClass
47
+ */
48
+ 'partnerCode'?: string;
43
49
  /**
44
50
  * Amount that was refunded in cents. 100 to refund 1€.
45
51
  * @type {number}
@@ -9,8 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { InvoiceMatchSuggestionClass } from './invoice-match-suggestion-class';
13
- import { SuggestionGenerationProgressClass } from './suggestion-generation-progress-class';
12
+ import { BankOrderClass } from './bank-order-class';
14
13
  /**
15
14
  *
16
15
  * @export
@@ -47,6 +46,12 @@ export interface UnlinkedBankTransactionResponseClass {
47
46
  * @memberof UnlinkedBankTransactionResponseClass
48
47
  */
49
48
  'messageReference'?: string;
49
+ /**
50
+ * Label of the transaction
51
+ * @type {string}
52
+ * @memberof UnlinkedBankTransactionResponseClass
53
+ */
54
+ 'label'?: UnlinkedBankTransactionResponseClassLabelEnum;
50
55
  /**
51
56
  * Currency of the transaction.
52
57
  * @type {string}
@@ -89,6 +94,12 @@ export interface UnlinkedBankTransactionResponseClass {
89
94
  * @memberof UnlinkedBankTransactionResponseClass
90
95
  */
91
96
  'isLinked': boolean;
97
+ /**
98
+ * The linked bank order object
99
+ * @type {BankOrderClass}
100
+ * @memberof UnlinkedBankTransactionResponseClass
101
+ */
102
+ 'linkedBankOrder'?: BankOrderClass;
92
103
  /**
93
104
  * The file format of the bank transaction
94
105
  * @type {string}
@@ -113,16 +124,9 @@ export interface UnlinkedBankTransactionResponseClass {
113
124
  * @memberof UnlinkedBankTransactionResponseClass
114
125
  */
115
126
  'updatedBy': string;
116
- /**
117
- * The match suggestions for invoices
118
- * @type {Array<InvoiceMatchSuggestionClass>}
119
- * @memberof UnlinkedBankTransactionResponseClass
120
- */
121
- 'invoiceMatchSuggestions': Array<InvoiceMatchSuggestionClass>;
122
- /**
123
- * The progress of the suggestion generation
124
- * @type {SuggestionGenerationProgressClass}
125
- * @memberof UnlinkedBankTransactionResponseClass
126
- */
127
- 'suggestionGenerationProgress'?: SuggestionGenerationProgressClass;
128
127
  }
128
+ export declare const UnlinkedBankTransactionResponseClassLabelEnum: {
129
+ readonly Automated: "automated";
130
+ readonly Manual: "manual";
131
+ };
132
+ export type UnlinkedBankTransactionResponseClassLabelEnum = typeof UnlinkedBankTransactionResponseClassLabelEnum[keyof typeof UnlinkedBankTransactionResponseClassLabelEnum];
@@ -13,3 +13,8 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.UnlinkedBankTransactionResponseClassLabelEnum = void 0;
17
+ exports.UnlinkedBankTransactionResponseClassLabelEnum = {
18
+ Automated: 'automated',
19
+ Manual: 'manual'
20
+ };