@emilgroup/payment-sdk 1.13.1-beta.1 → 1.13.1-beta.11

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 (34) hide show
  1. package/.openapi-generator/FILES +3 -0
  2. package/README.md +2 -2
  3. package/api/bank-transaction-api.ts +131 -28
  4. package/base.ts +1 -1
  5. package/dist/api/bank-accounts-api.js +53 -20
  6. package/dist/api/bank-transaction-api.d.ts +84 -28
  7. package/dist/api/bank-transaction-api.js +164 -39
  8. package/dist/api/health-check-api.js +18 -5
  9. package/dist/api/payment-methods-api.js +32 -11
  10. package/dist/api/payment-reminders-api.js +39 -14
  11. package/dist/api/payment-setup-api.js +25 -8
  12. package/dist/api/payments-api.js +32 -11
  13. package/dist/api/refunds-api.js +32 -11
  14. package/dist/api/tenant-bank-account-api.js +46 -17
  15. package/dist/api/webhooks-api.js +18 -5
  16. package/dist/base.js +5 -5
  17. package/dist/common.d.ts +1 -1
  18. package/dist/common.js +2 -2
  19. package/dist/models/bank-transaction-class.d.ts +14 -0
  20. package/dist/models/generate-invoice-match-suggestions-response-class.d.ts +25 -0
  21. package/dist/models/generate-invoice-match-suggestions-response-class.js +15 -0
  22. package/dist/models/index.d.ts +3 -0
  23. package/dist/models/index.js +3 -0
  24. package/dist/models/invoice-match-suggestion-class.d.ts +60 -0
  25. package/dist/models/invoice-match-suggestion-class.js +15 -0
  26. package/dist/models/suggestion-generation-progress-class.d.ts +43 -0
  27. package/dist/models/suggestion-generation-progress-class.js +22 -0
  28. package/models/bank-transaction-class.ts +14 -0
  29. package/models/generate-invoice-match-suggestions-response-class.ts +31 -0
  30. package/models/index.ts +3 -0
  31. package/models/invoice-match-suggestion-class.ts +66 -0
  32. package/models/suggestion-generation-progress-class.ts +52 -0
  33. package/package.json +3 -3
  34. package/tsconfig.json +1 -0
@@ -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,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
+ };
@@ -13,7 +13,9 @@
13
13
  */
14
14
 
15
15
 
16
+ import { InvoiceMatchSuggestionClass } from './invoice-match-suggestion-class';
16
17
  import { SharedTransactionClass } from './shared-transaction-class';
18
+ import { SuggestionGenerationProgressClass } from './suggestion-generation-progress-class';
17
19
  import { TenantBankAccountClassWithoutExpandProperties } from './tenant-bank-account-class-without-expand-properties';
18
20
 
19
21
  /**
@@ -148,5 +150,17 @@ export interface BankTransactionClass {
148
150
  * @memberof BankTransactionClass
149
151
  */
150
152
  'updatedBy': string;
153
+ /**
154
+ * The match suggestions for invoices
155
+ * @type {Array<InvoiceMatchSuggestionClass>}
156
+ * @memberof BankTransactionClass
157
+ */
158
+ 'invoiceMatchSuggestions': Array<InvoiceMatchSuggestionClass>;
159
+ /**
160
+ * The progress of the suggestion generation
161
+ * @type {SuggestionGenerationProgressClass}
162
+ * @memberof BankTransactionClass
163
+ */
164
+ 'suggestionGenerationProgress'?: SuggestionGenerationProgressClass;
151
165
  }
152
166
 
@@ -0,0 +1,31 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Emil Payment Service
5
+ * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import { InvoiceMatchSuggestionClass } from './invoice-match-suggestion-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface GenerateInvoiceMatchSuggestionsResponseClass
22
+ */
23
+ export interface GenerateInvoiceMatchSuggestionsResponseClass {
24
+ /**
25
+ * List of invoice match suggestions
26
+ * @type {Array<InvoiceMatchSuggestionClass>}
27
+ * @memberof GenerateInvoiceMatchSuggestionsResponseClass
28
+ */
29
+ 'invoiceMatchSuggestions': Array<InvoiceMatchSuggestionClass>;
30
+ }
31
+
package/models/index.ts CHANGED
@@ -25,6 +25,7 @@ export * from './create-tenant-bank-account-response-class';
25
25
  export * from './deactivate-payment-reminder-request-dto';
26
26
  export * from './deactivate-payment-reminder-response-class';
27
27
  export * from './deactivated-payment-reminder-class';
28
+ export * from './generate-invoice-match-suggestions-response-class';
28
29
  export * from './get-bank-account-response-class';
29
30
  export * from './get-bank-transactions-response-class';
30
31
  export * from './get-payment-method-response-class';
@@ -43,6 +44,7 @@ export * from './initiate-stripe-payment-setup-request-dto';
43
44
  export * from './initiate-stripe-payment-setup-response-class';
44
45
  export * from './inline-response200';
45
46
  export * from './inline-response503';
47
+ export * from './invoice-match-suggestion-class';
46
48
  export * from './link-bank-transaction-request-dto-rest';
47
49
  export * from './link-bank-transactions-response-class';
48
50
  export * from './list-bank-accounts-response-class';
@@ -62,6 +64,7 @@ export * from './refund-item-class';
62
64
  export * from './sepa-direct-dto';
63
65
  export * from './set-primary-bank-account-request-dto-rest';
64
66
  export * from './shared-transaction-class';
67
+ export * from './suggestion-generation-progress-class';
65
68
  export * from './symphony-profile-limited-response-dto';
66
69
  export * from './tenant-bank-account-class';
67
70
  export * from './tenant-bank-account-class-without-expand-properties';
@@ -0,0 +1,66 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Emil Payment Service
5
+ * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface InvoiceMatchSuggestionClass
21
+ */
22
+ export interface InvoiceMatchSuggestionClass {
23
+ /**
24
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
25
+ * @type {number}
26
+ * @memberof InvoiceMatchSuggestionClass
27
+ */
28
+ 'id': number;
29
+ /**
30
+ * Unique identifier for the object.
31
+ * @type {string}
32
+ * @memberof InvoiceMatchSuggestionClass
33
+ */
34
+ 'code': string;
35
+ /**
36
+ * Invoice code of the suggested match
37
+ * @type {string}
38
+ * @memberof InvoiceMatchSuggestionClass
39
+ */
40
+ 'invoiceCode': string;
41
+ /**
42
+ * Invoice number of the suggested match
43
+ * @type {string}
44
+ * @memberof InvoiceMatchSuggestionClass
45
+ */
46
+ 'invoiceNumber': string;
47
+ /**
48
+ * Confidence score (0-100) of the suggested match
49
+ * @type {number}
50
+ * @memberof InvoiceMatchSuggestionClass
51
+ */
52
+ 'confidenceScore': number;
53
+ /**
54
+ * Criteria used for the match
55
+ * @type {object}
56
+ * @memberof InvoiceMatchSuggestionClass
57
+ */
58
+ 'matchCriteria': object;
59
+ /**
60
+ * Time at which the object was created.
61
+ * @type {string}
62
+ * @memberof InvoiceMatchSuggestionClass
63
+ */
64
+ 'createdAt': string;
65
+ }
66
+
@@ -0,0 +1,52 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Emil Payment Service
5
+ * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface SuggestionGenerationProgressClass
21
+ */
22
+ export interface SuggestionGenerationProgressClass {
23
+ /**
24
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
25
+ * @type {number}
26
+ * @memberof SuggestionGenerationProgressClass
27
+ */
28
+ 'id': number;
29
+ /**
30
+ * Status of the suggestion generation process
31
+ * @type {string}
32
+ * @memberof SuggestionGenerationProgressClass
33
+ */
34
+ 'status': SuggestionGenerationProgressClassStatusEnum;
35
+ /**
36
+ * Error message if suggestion generation failed
37
+ * @type {string}
38
+ * @memberof SuggestionGenerationProgressClass
39
+ */
40
+ 'errorMessage'?: string;
41
+ }
42
+
43
+ export const SuggestionGenerationProgressClassStatusEnum = {
44
+ Pending: 'pending',
45
+ Processing: 'processing',
46
+ Completed: 'completed',
47
+ Failed: 'failed'
48
+ } as const;
49
+
50
+ export type SuggestionGenerationProgressClassStatusEnum = typeof SuggestionGenerationProgressClassStatusEnum[keyof typeof SuggestionGenerationProgressClassStatusEnum];
51
+
52
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/payment-sdk",
3
- "version": "1.13.1-beta.1",
3
+ "version": "1.13.1-beta.11",
4
4
  "description": "OpenAPI client for @emilgroup/payment-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [
@@ -18,9 +18,9 @@
18
18
  "prepare": "npm run build"
19
19
  },
20
20
  "dependencies": {
21
- "axios": "^0.27.2"
21
+ "axios": "^1.9.0"
22
22
  },
23
23
  "devDependencies": {
24
- "typescript": "^4.0"
24
+ "typescript": "^5.8"
25
25
  }
26
26
  }
package/tsconfig.json CHANGED
@@ -5,6 +5,7 @@
5
5
  "module": "CommonJS",
6
6
  "noImplicitAny": true,
7
7
  "esModuleInterop": true,
8
+ "noImplicitOverride": true,
8
9
  "outDir": "dist",
9
10
  "rootDir": ".",
10
11
  "lib": [