@emilgroup/settlement-sdk 0.3.1-beta.6

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 (61) hide show
  1. package/.openapi-generator/FILES +25 -0
  2. package/.openapi-generator/VERSION +1 -0
  3. package/.openapi-generator-ignore +23 -0
  4. package/README.md +51 -0
  5. package/api/health-api.ts +120 -0
  6. package/api/settlements-api.ts +676 -0
  7. package/api.ts +29 -0
  8. package/base.ts +282 -0
  9. package/common.ts +198 -0
  10. package/configuration.ts +110 -0
  11. package/dist/api/health-api.d.ts +66 -0
  12. package/dist/api/health-api.js +196 -0
  13. package/dist/api/settlements-api.d.ts +383 -0
  14. package/dist/api/settlements-api.js +637 -0
  15. package/dist/api.d.ts +13 -0
  16. package/dist/api.js +31 -0
  17. package/dist/base.d.ts +77 -0
  18. package/dist/base.js +324 -0
  19. package/dist/common.d.ts +91 -0
  20. package/dist/common.js +276 -0
  21. package/dist/configuration.d.ts +89 -0
  22. package/dist/configuration.js +52 -0
  23. package/dist/index.d.ts +15 -0
  24. package/dist/index.js +36 -0
  25. package/dist/models/add-settlement-entry-response-class.d.ts +25 -0
  26. package/dist/models/add-settlement-entry-response-class.js +15 -0
  27. package/dist/models/create-settlement-request-dto.d.ts +42 -0
  28. package/dist/models/create-settlement-request-dto.js +20 -0
  29. package/dist/models/create-settlement-response-class.d.ts +25 -0
  30. package/dist/models/create-settlement-response-class.js +15 -0
  31. package/dist/models/get-settlement-response-class.d.ts +25 -0
  32. package/dist/models/get-settlement-response-class.js +15 -0
  33. package/dist/models/index.d.ts +10 -0
  34. package/dist/models/index.js +26 -0
  35. package/dist/models/inline-response200.d.ts +54 -0
  36. package/dist/models/inline-response200.js +15 -0
  37. package/dist/models/inline-response503.d.ts +54 -0
  38. package/dist/models/inline-response503.js +15 -0
  39. package/dist/models/list-settlements-response-class.d.ts +43 -0
  40. package/dist/models/list-settlements-response-class.js +15 -0
  41. package/dist/models/settlement-class.d.ts +134 -0
  42. package/dist/models/settlement-class.js +38 -0
  43. package/dist/models/settlement-entry-class.d.ts +119 -0
  44. package/dist/models/settlement-entry-class.js +20 -0
  45. package/dist/models/settlement-entry-input-dto.d.ts +103 -0
  46. package/dist/models/settlement-entry-input-dto.js +43 -0
  47. package/git_push.sh +57 -0
  48. package/index.ts +19 -0
  49. package/models/add-settlement-entry-response-class.ts +31 -0
  50. package/models/create-settlement-request-dto.ts +51 -0
  51. package/models/create-settlement-response-class.ts +31 -0
  52. package/models/get-settlement-response-class.ts +31 -0
  53. package/models/index.ts +10 -0
  54. package/models/inline-response200.ts +48 -0
  55. package/models/inline-response503.ts +48 -0
  56. package/models/list-settlements-response-class.ts +49 -0
  57. package/models/settlement-class.ts +145 -0
  58. package/models/settlement-entry-class.ts +128 -0
  59. package/models/settlement-entry-input-dto.ts +115 -0
  60. package/package.json +27 -0
  61. package/tsconfig.json +23 -0
@@ -0,0 +1,115 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL SettlementService
5
+ * The EMIL SettlementService API description
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 SettlementEntryInputDto
21
+ */
22
+ export interface SettlementEntryInputDto {
23
+ /**
24
+ * Code of the financial entity
25
+ * @type {string}
26
+ * @memberof SettlementEntryInputDto
27
+ */
28
+ 'financialEntityCode': string;
29
+ /**
30
+ * Type of the financial entity
31
+ * @type {string}
32
+ * @memberof SettlementEntryInputDto
33
+ */
34
+ 'financialEntityType': SettlementEntryInputDtoFinancialEntityTypeEnum;
35
+ /**
36
+ * Code of the domain entity
37
+ * @type {string}
38
+ * @memberof SettlementEntryInputDto
39
+ */
40
+ 'domainEntityCode': string;
41
+ /**
42
+ * Number of the domain entity
43
+ * @type {string}
44
+ * @memberof SettlementEntryInputDto
45
+ */
46
+ 'domainEntityNumber': string;
47
+ /**
48
+ * Type of the domain entity
49
+ * @type {string}
50
+ * @memberof SettlementEntryInputDto
51
+ */
52
+ 'domainEntityType': SettlementEntryInputDtoDomainEntityTypeEnum;
53
+ /**
54
+ * A description of the origin of the entry
55
+ * @type {string}
56
+ * @memberof SettlementEntryInputDto
57
+ */
58
+ 'details'?: string;
59
+ /**
60
+ * Amount of the entry
61
+ * @type {number}
62
+ * @memberof SettlementEntryInputDto
63
+ */
64
+ 'amount': number;
65
+ /**
66
+ * Currency of the entry
67
+ * @type {string}
68
+ * @memberof SettlementEntryInputDto
69
+ */
70
+ 'currency': SettlementEntryInputDtoCurrencyEnum;
71
+ /**
72
+ * Type of the entry can either be DEBIT or CREDIT
73
+ * @type {string}
74
+ * @memberof SettlementEntryInputDto
75
+ */
76
+ 'type': SettlementEntryInputDtoTypeEnum;
77
+ }
78
+
79
+ export const SettlementEntryInputDtoFinancialEntityTypeEnum = {
80
+ ClaimRegulation: 'claim_regulation',
81
+ RefundAllocation: 'refund_allocation',
82
+ Other: 'other'
83
+ } as const;
84
+
85
+ export type SettlementEntryInputDtoFinancialEntityTypeEnum = typeof SettlementEntryInputDtoFinancialEntityTypeEnum[keyof typeof SettlementEntryInputDtoFinancialEntityTypeEnum];
86
+ export const SettlementEntryInputDtoDomainEntityTypeEnum = {
87
+ Other: 'other',
88
+ Claim: 'claim',
89
+ Policy: 'policy'
90
+ } as const;
91
+
92
+ export type SettlementEntryInputDtoDomainEntityTypeEnum = typeof SettlementEntryInputDtoDomainEntityTypeEnum[keyof typeof SettlementEntryInputDtoDomainEntityTypeEnum];
93
+ export const SettlementEntryInputDtoCurrencyEnum = {
94
+ Eur: 'EUR',
95
+ Usd: 'USD',
96
+ Gbp: 'GBP',
97
+ Chf: 'CHF',
98
+ Pln: 'PLN',
99
+ Aud: 'AUD',
100
+ Cad: 'CAD',
101
+ Ddk: 'DDK',
102
+ Huf: 'HUF',
103
+ Nok: 'NOK',
104
+ Sek: 'SEK'
105
+ } as const;
106
+
107
+ export type SettlementEntryInputDtoCurrencyEnum = typeof SettlementEntryInputDtoCurrencyEnum[keyof typeof SettlementEntryInputDtoCurrencyEnum];
108
+ export const SettlementEntryInputDtoTypeEnum = {
109
+ Debit: 'DEBIT',
110
+ Credit: 'CREDIT'
111
+ } as const;
112
+
113
+ export type SettlementEntryInputDtoTypeEnum = typeof SettlementEntryInputDtoTypeEnum[keyof typeof SettlementEntryInputDtoTypeEnum];
114
+
115
+
package/package.json ADDED
@@ -0,0 +1,27 @@
1
+ {
2
+ "name": "@emilgroup/settlement-sdk",
3
+ "version": "0.3.1-beta.6",
4
+ "description": "OpenAPI client for @emilgroup/settlement-sdk",
5
+ "author": "OpenAPI-Generator Contributors",
6
+ "keywords": [
7
+ "axios",
8
+ "typescript",
9
+ "openapi-client",
10
+ "openapi-generator",
11
+ "@emilgroup/settlement-sdk"
12
+ ],
13
+ "license": "Unlicense",
14
+ "main": "./dist/index.js",
15
+ "typings": "./dist/index.d.ts",
16
+ "scripts": {
17
+ "build": "tsc --outDir dist/",
18
+ "prepare": "npm run build"
19
+ },
20
+ "dependencies": {
21
+ "axios": "1.12.0"
22
+ },
23
+ "devDependencies": {
24
+
25
+ "typescript": "^4.0"
26
+ }
27
+ }
package/tsconfig.json ADDED
@@ -0,0 +1,23 @@
1
+ {
2
+ "compilerOptions": {
3
+ "declaration": true,
4
+ "target": "ES5",
5
+ "module": "CommonJS",
6
+ "noImplicitAny": true,
7
+ "esModuleInterop": true,
8
+ "noImplicitOverride": true,
9
+ "outDir": "dist",
10
+ "rootDir": ".",
11
+ "lib": [
12
+ "es6",
13
+ "dom"
14
+ ],
15
+ "typeRoots": [
16
+ "node_modules/@types"
17
+ ]
18
+ },
19
+ "exclude": [
20
+ "dist",
21
+ "node_modules"
22
+ ]
23
+ }