@emilgroup/settlement-sdk 0.3.1-beta.6 → 0.3.1-beta.8

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.
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL SettlementService
6
+ * The EMIL SettlementService API description
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,3 +1,4 @@
1
+ export * from './add-settlement-entry-request-body-dto';
1
2
  export * from './add-settlement-entry-response-class';
2
3
  export * from './create-settlement-request-dto';
3
4
  export * from './create-settlement-response-class';
@@ -14,6 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./add-settlement-entry-request-body-dto"), exports);
17
18
  __exportStar(require("./add-settlement-entry-response-class"), exports);
18
19
  __exportStar(require("./create-settlement-request-dto"), exports);
19
20
  __exportStar(require("./create-settlement-response-class"), exports);
@@ -44,7 +44,7 @@ export interface SettlementEntryClass {
44
44
  * @type {string}
45
45
  * @memberof SettlementEntryClass
46
46
  */
47
- 'financialEntityType': string;
47
+ 'financialEntityType': SettlementEntryClassFinancialEntityTypeEnum;
48
48
  /**
49
49
  * domainEntityCode
50
50
  * @type {string}
@@ -62,7 +62,7 @@ export interface SettlementEntryClass {
62
62
  * @type {string}
63
63
  * @memberof SettlementEntryClass
64
64
  */
65
- 'domainEntityType': string;
65
+ 'domainEntityType': SettlementEntryClassDomainEntityTypeEnum;
66
66
  /**
67
67
  * A description of the origin of the entry
68
68
  * @type {string}
@@ -80,7 +80,7 @@ export interface SettlementEntryClass {
80
80
  * @type {string}
81
81
  * @memberof SettlementEntryClass
82
82
  */
83
- 'currency': string;
83
+ 'currency': SettlementEntryClassCurrencyEnum;
84
84
  /**
85
85
  * type can either be DEBIT or CREDIT
86
86
  * @type {string}
@@ -112,6 +112,33 @@ export interface SettlementEntryClass {
112
112
  */
113
113
  'updatedBy': string;
114
114
  }
115
+ export declare const SettlementEntryClassFinancialEntityTypeEnum: {
116
+ readonly PaymentReceipt: "payment_receipt";
117
+ readonly ClaimRegulation: "claim_regulation";
118
+ readonly RefundAllocation: "refund_allocation";
119
+ readonly Other: "other";
120
+ };
121
+ export type SettlementEntryClassFinancialEntityTypeEnum = typeof SettlementEntryClassFinancialEntityTypeEnum[keyof typeof SettlementEntryClassFinancialEntityTypeEnum];
122
+ export declare const SettlementEntryClassDomainEntityTypeEnum: {
123
+ readonly Other: "other";
124
+ readonly Claim: "claim";
125
+ readonly Policy: "policy";
126
+ };
127
+ export type SettlementEntryClassDomainEntityTypeEnum = typeof SettlementEntryClassDomainEntityTypeEnum[keyof typeof SettlementEntryClassDomainEntityTypeEnum];
128
+ export declare const SettlementEntryClassCurrencyEnum: {
129
+ readonly Eur: "EUR";
130
+ readonly Usd: "USD";
131
+ readonly Gbp: "GBP";
132
+ readonly Chf: "CHF";
133
+ readonly Pln: "PLN";
134
+ readonly Aud: "AUD";
135
+ readonly Cad: "CAD";
136
+ readonly Ddk: "DDK";
137
+ readonly Huf: "HUF";
138
+ readonly Nok: "NOK";
139
+ readonly Sek: "SEK";
140
+ };
141
+ export type SettlementEntryClassCurrencyEnum = typeof SettlementEntryClassCurrencyEnum[keyof typeof SettlementEntryClassCurrencyEnum];
115
142
  export declare const SettlementEntryClassTypeEnum: {
116
143
  readonly Debit: "DEBIT";
117
144
  readonly Credit: "CREDIT";
@@ -13,7 +13,31 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.SettlementEntryClassTypeEnum = void 0;
16
+ exports.SettlementEntryClassTypeEnum = exports.SettlementEntryClassCurrencyEnum = exports.SettlementEntryClassDomainEntityTypeEnum = exports.SettlementEntryClassFinancialEntityTypeEnum = void 0;
17
+ exports.SettlementEntryClassFinancialEntityTypeEnum = {
18
+ PaymentReceipt: 'payment_receipt',
19
+ ClaimRegulation: 'claim_regulation',
20
+ RefundAllocation: 'refund_allocation',
21
+ Other: 'other'
22
+ };
23
+ exports.SettlementEntryClassDomainEntityTypeEnum = {
24
+ Other: 'other',
25
+ Claim: 'claim',
26
+ Policy: 'policy'
27
+ };
28
+ exports.SettlementEntryClassCurrencyEnum = {
29
+ Eur: 'EUR',
30
+ Usd: 'USD',
31
+ Gbp: 'GBP',
32
+ Chf: 'CHF',
33
+ Pln: 'PLN',
34
+ Aud: 'AUD',
35
+ Cad: 'CAD',
36
+ Ddk: 'DDK',
37
+ Huf: 'HUF',
38
+ Nok: 'NOK',
39
+ Sek: 'SEK'
40
+ };
17
41
  exports.SettlementEntryClassTypeEnum = {
18
42
  Debit: 'DEBIT',
19
43
  Credit: 'CREDIT'
@@ -71,6 +71,7 @@ export interface SettlementEntryInputDto {
71
71
  'type': SettlementEntryInputDtoTypeEnum;
72
72
  }
73
73
  export declare const SettlementEntryInputDtoFinancialEntityTypeEnum: {
74
+ readonly PaymentReceipt: "payment_receipt";
74
75
  readonly ClaimRegulation: "claim_regulation";
75
76
  readonly RefundAllocation: "refund_allocation";
76
77
  readonly Other: "other";
@@ -15,6 +15,7 @@
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.SettlementEntryInputDtoTypeEnum = exports.SettlementEntryInputDtoCurrencyEnum = exports.SettlementEntryInputDtoDomainEntityTypeEnum = exports.SettlementEntryInputDtoFinancialEntityTypeEnum = void 0;
17
17
  exports.SettlementEntryInputDtoFinancialEntityTypeEnum = {
18
+ PaymentReceipt: 'payment_receipt',
18
19
  ClaimRegulation: 'claim_regulation',
19
20
  RefundAllocation: 'refund_allocation',
20
21
  Other: 'other'
@@ -0,0 +1,31 @@
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
+ import { SettlementEntryInputDto } from './settlement-entry-input-dto';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface AddSettlementEntryRequestBodyDto
22
+ */
23
+ export interface AddSettlementEntryRequestBodyDto {
24
+ /**
25
+ * Entry of the settlement
26
+ * @type {SettlementEntryInputDto}
27
+ * @memberof AddSettlementEntryRequestBodyDto
28
+ */
29
+ 'entry'?: SettlementEntryInputDto;
30
+ }
31
+
package/models/index.ts CHANGED
@@ -1,3 +1,4 @@
1
+ export * from './add-settlement-entry-request-body-dto';
1
2
  export * from './add-settlement-entry-response-class';
2
3
  export * from './create-settlement-request-dto';
3
4
  export * from './create-settlement-response-class';
@@ -49,7 +49,7 @@ export interface SettlementEntryClass {
49
49
  * @type {string}
50
50
  * @memberof SettlementEntryClass
51
51
  */
52
- 'financialEntityType': string;
52
+ 'financialEntityType': SettlementEntryClassFinancialEntityTypeEnum;
53
53
  /**
54
54
  * domainEntityCode
55
55
  * @type {string}
@@ -67,7 +67,7 @@ export interface SettlementEntryClass {
67
67
  * @type {string}
68
68
  * @memberof SettlementEntryClass
69
69
  */
70
- 'domainEntityType': string;
70
+ 'domainEntityType': SettlementEntryClassDomainEntityTypeEnum;
71
71
  /**
72
72
  * A description of the origin of the entry
73
73
  * @type {string}
@@ -85,7 +85,7 @@ export interface SettlementEntryClass {
85
85
  * @type {string}
86
86
  * @memberof SettlementEntryClass
87
87
  */
88
- 'currency': string;
88
+ 'currency': SettlementEntryClassCurrencyEnum;
89
89
  /**
90
90
  * type can either be DEBIT or CREDIT
91
91
  * @type {string}
@@ -118,6 +118,36 @@ export interface SettlementEntryClass {
118
118
  'updatedBy': string;
119
119
  }
120
120
 
121
+ export const SettlementEntryClassFinancialEntityTypeEnum = {
122
+ PaymentReceipt: 'payment_receipt',
123
+ ClaimRegulation: 'claim_regulation',
124
+ RefundAllocation: 'refund_allocation',
125
+ Other: 'other'
126
+ } as const;
127
+
128
+ export type SettlementEntryClassFinancialEntityTypeEnum = typeof SettlementEntryClassFinancialEntityTypeEnum[keyof typeof SettlementEntryClassFinancialEntityTypeEnum];
129
+ export const SettlementEntryClassDomainEntityTypeEnum = {
130
+ Other: 'other',
131
+ Claim: 'claim',
132
+ Policy: 'policy'
133
+ } as const;
134
+
135
+ export type SettlementEntryClassDomainEntityTypeEnum = typeof SettlementEntryClassDomainEntityTypeEnum[keyof typeof SettlementEntryClassDomainEntityTypeEnum];
136
+ export const SettlementEntryClassCurrencyEnum = {
137
+ Eur: 'EUR',
138
+ Usd: 'USD',
139
+ Gbp: 'GBP',
140
+ Chf: 'CHF',
141
+ Pln: 'PLN',
142
+ Aud: 'AUD',
143
+ Cad: 'CAD',
144
+ Ddk: 'DDK',
145
+ Huf: 'HUF',
146
+ Nok: 'NOK',
147
+ Sek: 'SEK'
148
+ } as const;
149
+
150
+ export type SettlementEntryClassCurrencyEnum = typeof SettlementEntryClassCurrencyEnum[keyof typeof SettlementEntryClassCurrencyEnum];
121
151
  export const SettlementEntryClassTypeEnum = {
122
152
  Debit: 'DEBIT',
123
153
  Credit: 'CREDIT'
@@ -77,6 +77,7 @@ export interface SettlementEntryInputDto {
77
77
  }
78
78
 
79
79
  export const SettlementEntryInputDtoFinancialEntityTypeEnum = {
80
+ PaymentReceipt: 'payment_receipt',
80
81
  ClaimRegulation: 'claim_regulation',
81
82
  RefundAllocation: 'refund_allocation',
82
83
  Other: 'other'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/settlement-sdk",
3
- "version": "0.3.1-beta.6",
3
+ "version": "0.3.1-beta.8",
4
4
  "description": "OpenAPI client for @emilgroup/settlement-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [