@emilgroup/payment-sdk 1.13.1-beta.2 → 1.13.1-beta.20

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 (102) hide show
  1. package/.openapi-generator/FILES +12 -0
  2. package/README.md +2 -2
  3. package/api/bank-accounts-api.ts +79 -37
  4. package/api/bank-orders-api.ts +691 -0
  5. package/api/bank-transaction-api.ts +187 -56
  6. package/api/payment-methods-api.ts +67 -25
  7. package/api/payment-reminders-api.ts +85 -43
  8. package/api/payment-setup-api.ts +8 -8
  9. package/api/payments-api.ts +67 -25
  10. package/api/refunds-api.ts +57 -29
  11. package/api/tenant-bank-account-api.ts +45 -17
  12. package/api/webhooks-api.ts +4 -4
  13. package/api.ts +2 -0
  14. package/base.ts +1 -1
  15. package/dist/api/bank-accounts-api.d.ts +59 -32
  16. package/dist/api/bank-accounts-api.js +53 -35
  17. package/dist/api/bank-orders-api.d.ts +393 -0
  18. package/dist/api/bank-orders-api.js +642 -0
  19. package/dist/api/bank-transaction-api.d.ts +123 -49
  20. package/dist/api/bank-transaction-api.js +151 -47
  21. package/dist/api/payment-methods-api.d.ts +47 -20
  22. package/dist/api/payment-methods-api.js +41 -23
  23. package/dist/api/payment-reminders-api.d.ts +61 -34
  24. package/dist/api/payment-reminders-api.js +54 -36
  25. package/dist/api/payment-setup-api.d.ts +8 -8
  26. package/dist/api/payment-setup-api.js +8 -8
  27. package/dist/api/payments-api.d.ts +47 -20
  28. package/dist/api/payments-api.js +41 -23
  29. package/dist/api/refunds-api.d.ts +40 -22
  30. package/dist/api/refunds-api.js +36 -24
  31. package/dist/api/tenant-bank-account-api.d.ts +28 -10
  32. package/dist/api/tenant-bank-account-api.js +24 -12
  33. package/dist/api/webhooks-api.d.ts +4 -4
  34. package/dist/api/webhooks-api.js +4 -4
  35. package/dist/api.d.ts +1 -0
  36. package/dist/api.js +1 -0
  37. package/dist/models/bank-order-class.d.ts +115 -0
  38. package/dist/models/bank-order-class.js +15 -0
  39. package/dist/models/bank-transaction-class-without-expand-properties.d.ts +8 -2
  40. package/dist/models/bank-transaction-class.d.ts +22 -2
  41. package/dist/models/create-bank-order-request-dto.d.ts +74 -0
  42. package/dist/models/create-bank-order-request-dto.js +28 -0
  43. package/dist/models/create-bank-order-response-class.d.ts +25 -0
  44. package/dist/models/create-bank-order-response-class.js +15 -0
  45. package/dist/models/create-payment-reminder-request-dto.d.ts +7 -1
  46. package/dist/models/create-payment-request-dto.d.ts +7 -1
  47. package/dist/models/create-psp-payment-method-request-dto.d.ts +7 -1
  48. package/dist/models/deactivated-payment-reminder-class.d.ts +7 -1
  49. package/dist/models/financial-account-class.d.ts +111 -0
  50. package/dist/models/financial-account-class.js +24 -0
  51. package/dist/models/generate-invoice-match-suggestions-response-class.d.ts +25 -0
  52. package/dist/models/generate-invoice-match-suggestions-response-class.js +15 -0
  53. package/dist/models/get-bank-order-response-class.d.ts +25 -0
  54. package/dist/models/get-bank-order-response-class.js +15 -0
  55. package/dist/models/index.d.ts +11 -0
  56. package/dist/models/index.js +11 -0
  57. package/dist/models/initiate-adyen-payment-setup-request-dto.d.ts +6 -0
  58. package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +6 -0
  59. package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +6 -0
  60. package/dist/models/invoice-match-suggestion-class.d.ts +60 -0
  61. package/dist/models/invoice-match-suggestion-class.js +15 -0
  62. package/dist/models/list-bank-orders-response-class.d.ts +31 -0
  63. package/dist/models/list-bank-orders-response-class.js +15 -0
  64. package/dist/models/payment-class-without-expand-properties.d.ts +7 -1
  65. package/dist/models/payment-class.d.ts +7 -1
  66. package/dist/models/payment-reminder-class.d.ts +7 -1
  67. package/dist/models/refund-class.d.ts +7 -1
  68. package/dist/models/suggestion-generation-progress-class.d.ts +43 -0
  69. package/dist/models/suggestion-generation-progress-class.js +22 -0
  70. package/dist/models/unlinked-bank-transaction-response-class.d.ts +8 -2
  71. package/dist/models/update-bank-order-request-dto.d.ts +56 -0
  72. package/dist/models/update-bank-order-request-dto.js +23 -0
  73. package/dist/models/update-bank-order-response-class.d.ts +25 -0
  74. package/dist/models/update-bank-order-response-class.js +15 -0
  75. package/models/bank-order-class.ts +121 -0
  76. package/models/bank-transaction-class-without-expand-properties.ts +8 -2
  77. package/models/bank-transaction-class.ts +22 -2
  78. package/models/create-bank-order-request-dto.ts +84 -0
  79. package/models/create-bank-order-response-class.ts +31 -0
  80. package/models/create-payment-reminder-request-dto.ts +7 -1
  81. package/models/create-payment-request-dto.ts +7 -1
  82. package/models/create-psp-payment-method-request-dto.ts +7 -1
  83. package/models/deactivated-payment-reminder-class.ts +7 -1
  84. package/models/financial-account-class.ts +120 -0
  85. package/models/generate-invoice-match-suggestions-response-class.ts +31 -0
  86. package/models/get-bank-order-response-class.ts +31 -0
  87. package/models/index.ts +11 -0
  88. package/models/initiate-adyen-payment-setup-request-dto.ts +6 -0
  89. package/models/initiate-braintree-payment-setup-request-dto.ts +6 -0
  90. package/models/initiate-stripe-payment-setup-request-dto.ts +6 -0
  91. package/models/invoice-match-suggestion-class.ts +66 -0
  92. package/models/list-bank-orders-response-class.ts +37 -0
  93. package/models/payment-class-without-expand-properties.ts +7 -1
  94. package/models/payment-class.ts +7 -1
  95. package/models/payment-reminder-class.ts +7 -1
  96. package/models/refund-class.ts +7 -1
  97. package/models/suggestion-generation-progress-class.ts +52 -0
  98. package/models/unlinked-bank-transaction-response-class.ts +8 -2
  99. package/models/update-bank-order-request-dto.ts +65 -0
  100. package/models/update-bank-order-response-class.ts +31 -0
  101. package/package.json +1 -1
  102. package/tsconfig.json +1 -0
@@ -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 });
@@ -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';
@@ -12,6 +13,8 @@ export * from './complete-payment-setup-response-class';
12
13
  export * from './complete-stripe-payment-setup-request-dto';
13
14
  export * from './create-bank-account-request-dto';
14
15
  export * from './create-bank-account-response-class';
16
+ export * from './create-bank-order-request-dto';
17
+ export * from './create-bank-order-response-class';
15
18
  export * from './create-payment-method-response-class';
16
19
  export * from './create-payment-reminder-request-dto';
17
20
  export * from './create-payment-reminder-response-class';
@@ -25,7 +28,10 @@ export * from './create-tenant-bank-account-response-class';
25
28
  export * from './deactivate-payment-reminder-request-dto';
26
29
  export * from './deactivate-payment-reminder-response-class';
27
30
  export * from './deactivated-payment-reminder-class';
31
+ export * from './financial-account-class';
32
+ export * from './generate-invoice-match-suggestions-response-class';
28
33
  export * from './get-bank-account-response-class';
34
+ export * from './get-bank-order-response-class';
29
35
  export * from './get-bank-transactions-response-class';
30
36
  export * from './get-payment-method-response-class';
31
37
  export * from './get-payment-reminder-response-class';
@@ -43,9 +49,11 @@ export * from './initiate-stripe-payment-setup-request-dto';
43
49
  export * from './initiate-stripe-payment-setup-response-class';
44
50
  export * from './inline-response200';
45
51
  export * from './inline-response503';
52
+ export * from './invoice-match-suggestion-class';
46
53
  export * from './link-bank-transaction-request-dto-rest';
47
54
  export * from './link-bank-transactions-response-class';
48
55
  export * from './list-bank-accounts-response-class';
56
+ export * from './list-bank-orders-response-class';
49
57
  export * from './list-bank-transactions-response-class';
50
58
  export * from './list-payment-methods-response-class';
51
59
  export * from './list-payment-reminders-response-class';
@@ -62,6 +70,7 @@ export * from './refund-item-class';
62
70
  export * from './sepa-direct-dto';
63
71
  export * from './set-primary-bank-account-request-dto-rest';
64
72
  export * from './shared-transaction-class';
73
+ export * from './suggestion-generation-progress-class';
65
74
  export * from './symphony-profile-limited-response-dto';
66
75
  export * from './tenant-bank-account-class';
67
76
  export * from './tenant-bank-account-class-without-expand-properties';
@@ -71,6 +80,8 @@ export * from './unlinked-bank-transaction-response-class';
71
80
  export * from './update-bank-account-request-dto';
72
81
  export * from './update-bank-account-request-dto-rest';
73
82
  export * from './update-bank-account-response-class';
83
+ export * from './update-bank-order-request-dto';
84
+ export * from './update-bank-order-response-class';
74
85
  export * from './update-tenant-bank-account-response-class';
75
86
  export * from './update-tenant-bank-account-rest-request-dto';
76
87
  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);
@@ -28,6 +29,8 @@ __exportStar(require("./complete-payment-setup-response-class"), exports);
28
29
  __exportStar(require("./complete-stripe-payment-setup-request-dto"), exports);
29
30
  __exportStar(require("./create-bank-account-request-dto"), exports);
30
31
  __exportStar(require("./create-bank-account-response-class"), exports);
32
+ __exportStar(require("./create-bank-order-request-dto"), exports);
33
+ __exportStar(require("./create-bank-order-response-class"), exports);
31
34
  __exportStar(require("./create-payment-method-response-class"), exports);
32
35
  __exportStar(require("./create-payment-reminder-request-dto"), exports);
33
36
  __exportStar(require("./create-payment-reminder-response-class"), exports);
@@ -41,7 +44,10 @@ __exportStar(require("./create-tenant-bank-account-response-class"), exports);
41
44
  __exportStar(require("./deactivate-payment-reminder-request-dto"), exports);
42
45
  __exportStar(require("./deactivate-payment-reminder-response-class"), exports);
43
46
  __exportStar(require("./deactivated-payment-reminder-class"), exports);
47
+ __exportStar(require("./financial-account-class"), exports);
48
+ __exportStar(require("./generate-invoice-match-suggestions-response-class"), exports);
44
49
  __exportStar(require("./get-bank-account-response-class"), exports);
50
+ __exportStar(require("./get-bank-order-response-class"), exports);
45
51
  __exportStar(require("./get-bank-transactions-response-class"), exports);
46
52
  __exportStar(require("./get-payment-method-response-class"), exports);
47
53
  __exportStar(require("./get-payment-reminder-response-class"), exports);
@@ -59,9 +65,11 @@ __exportStar(require("./initiate-stripe-payment-setup-request-dto"), exports);
59
65
  __exportStar(require("./initiate-stripe-payment-setup-response-class"), exports);
60
66
  __exportStar(require("./inline-response200"), exports);
61
67
  __exportStar(require("./inline-response503"), exports);
68
+ __exportStar(require("./invoice-match-suggestion-class"), exports);
62
69
  __exportStar(require("./link-bank-transaction-request-dto-rest"), exports);
63
70
  __exportStar(require("./link-bank-transactions-response-class"), exports);
64
71
  __exportStar(require("./list-bank-accounts-response-class"), exports);
72
+ __exportStar(require("./list-bank-orders-response-class"), exports);
65
73
  __exportStar(require("./list-bank-transactions-response-class"), exports);
66
74
  __exportStar(require("./list-payment-methods-response-class"), exports);
67
75
  __exportStar(require("./list-payment-reminders-response-class"), exports);
@@ -78,6 +86,7 @@ __exportStar(require("./refund-item-class"), exports);
78
86
  __exportStar(require("./sepa-direct-dto"), exports);
79
87
  __exportStar(require("./set-primary-bank-account-request-dto-rest"), exports);
80
88
  __exportStar(require("./shared-transaction-class"), exports);
89
+ __exportStar(require("./suggestion-generation-progress-class"), exports);
81
90
  __exportStar(require("./symphony-profile-limited-response-dto"), exports);
82
91
  __exportStar(require("./tenant-bank-account-class"), exports);
83
92
  __exportStar(require("./tenant-bank-account-class-without-expand-properties"), exports);
@@ -87,6 +96,8 @@ __exportStar(require("./unlinked-bank-transaction-response-class"), exports);
87
96
  __exportStar(require("./update-bank-account-request-dto"), exports);
88
97
  __exportStar(require("./update-bank-account-request-dto-rest"), exports);
89
98
  __exportStar(require("./update-bank-account-response-class"), exports);
99
+ __exportStar(require("./update-bank-order-request-dto"), exports);
100
+ __exportStar(require("./update-bank-order-response-class"), exports);
90
101
  __exportStar(require("./update-tenant-bank-account-response-class"), exports);
91
102
  __exportStar(require("./update-tenant-bank-account-rest-request-dto"), exports);
92
103
  __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
  }
@@ -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,60 @@
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 InvoiceMatchSuggestionClass
16
+ */
17
+ export interface InvoiceMatchSuggestionClass {
18
+ /**
19
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
20
+ * @type {number}
21
+ * @memberof InvoiceMatchSuggestionClass
22
+ */
23
+ 'id': number;
24
+ /**
25
+ * Unique identifier for the object.
26
+ * @type {string}
27
+ * @memberof InvoiceMatchSuggestionClass
28
+ */
29
+ 'code': string;
30
+ /**
31
+ * Invoice code of the suggested match
32
+ * @type {string}
33
+ * @memberof InvoiceMatchSuggestionClass
34
+ */
35
+ 'invoiceCode': string;
36
+ /**
37
+ * Invoice number of the suggested match
38
+ * @type {string}
39
+ * @memberof InvoiceMatchSuggestionClass
40
+ */
41
+ 'invoiceNumber': string;
42
+ /**
43
+ * Confidence score (0-100) of the suggested match
44
+ * @type {number}
45
+ * @memberof InvoiceMatchSuggestionClass
46
+ */
47
+ 'confidenceScore': number;
48
+ /**
49
+ * Criteria used for the match
50
+ * @type {object}
51
+ * @memberof InvoiceMatchSuggestionClass
52
+ */
53
+ 'matchCriteria': object;
54
+ /**
55
+ * Time at which the object was created.
56
+ * @type {string}
57
+ * @memberof InvoiceMatchSuggestionClass
58
+ */
59
+ 'createdAt': string;
60
+ }
@@ -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,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}
@@ -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}
@@ -0,0 +1,43 @@
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 SuggestionGenerationProgressClass
16
+ */
17
+ export interface SuggestionGenerationProgressClass {
18
+ /**
19
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
20
+ * @type {number}
21
+ * @memberof SuggestionGenerationProgressClass
22
+ */
23
+ 'id': number;
24
+ /**
25
+ * Status of the suggestion generation process
26
+ * @type {string}
27
+ * @memberof SuggestionGenerationProgressClass
28
+ */
29
+ 'status': SuggestionGenerationProgressClassStatusEnum;
30
+ /**
31
+ * Error message if suggestion generation failed
32
+ * @type {string}
33
+ * @memberof SuggestionGenerationProgressClass
34
+ */
35
+ 'errorMessage'?: string;
36
+ }
37
+ export declare const SuggestionGenerationProgressClassStatusEnum: {
38
+ readonly Pending: "pending";
39
+ readonly Processing: "processing";
40
+ readonly Completed: "completed";
41
+ readonly Failed: "failed";
42
+ };
43
+ export type SuggestionGenerationProgressClassStatusEnum = typeof SuggestionGenerationProgressClassStatusEnum[keyof typeof SuggestionGenerationProgressClassStatusEnum];
@@ -0,0 +1,22 @@
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.SuggestionGenerationProgressClassStatusEnum = void 0;
17
+ exports.SuggestionGenerationProgressClassStatusEnum = {
18
+ Pending: 'pending',
19
+ Processing: 'processing',
20
+ Completed: 'completed',
21
+ Failed: 'failed'
22
+ };
@@ -40,11 +40,11 @@ export interface UnlinkedBankTransactionResponseClass {
40
40
  */
41
41
  'bankAccountNumber': string;
42
42
  /**
43
- * Reference number derived from the MT940 swift Insturctions
43
+ * Reference number derived from the MT940 or CAMT file
44
44
  * @type {string}
45
45
  * @memberof UnlinkedBankTransactionResponseClass
46
46
  */
47
- 'swiftMessageReference'?: string;
47
+ 'messageReference'?: string;
48
48
  /**
49
49
  * Currency of the transaction.
50
50
  * @type {string}
@@ -87,6 +87,12 @@ export interface UnlinkedBankTransactionResponseClass {
87
87
  * @memberof UnlinkedBankTransactionResponseClass
88
88
  */
89
89
  'isLinked': boolean;
90
+ /**
91
+ * The file format of the bank transaction
92
+ * @type {string}
93
+ * @memberof UnlinkedBankTransactionResponseClass
94
+ */
95
+ 'importedFrom': string;
90
96
  /**
91
97
  * Time at which the object was created.
92
98
  * @type {string}