@emilgroup/claim-sdk 1.17.2-beta.2 → 1.17.2-beta.3

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.
package/dist/api.js CHANGED
@@ -32,5 +32,5 @@ __exportStar(require("./api/claim-partners-api"), exports);
32
32
  __exportStar(require("./api/claim-regulations-api"), exports);
33
33
  __exportStar(require("./api/claim-statuses-api"), exports);
34
34
  __exportStar(require("./api/claims-api"), exports);
35
- __exportStar(require("./api/default-api"), exports);
35
+ __exportStar(require("./api/health-check-api"), exports);
36
36
  __exportStar(require("./api/settlements-api"), exports);
@@ -19,31 +19,31 @@ import { ReserveDetailsDto } from './reserve-details-dto';
19
19
  */
20
20
  export interface CreateRegulationItemRequestDto {
21
21
  /**
22
- *
22
+ * Indicates the kind of regulation item - regulation items can be of type payout, reserve or regress
23
23
  * @type {string}
24
24
  * @memberof CreateRegulationItemRequestDto
25
25
  */
26
26
  'regulationItemType': CreateRegulationItemRequestDtoRegulationItemTypeEnum;
27
27
  /**
28
- *
28
+ * The amount of the regulation item
29
29
  * @type {number}
30
30
  * @memberof CreateRegulationItemRequestDto
31
31
  */
32
32
  'amount': number;
33
33
  /**
34
- *
34
+ * The currency of the regulation item
35
35
  * @type {string}
36
36
  * @memberof CreateRegulationItemRequestDto
37
37
  */
38
- 'currency': string;
38
+ 'currency': CreateRegulationItemRequestDtoCurrencyEnum;
39
39
  /**
40
- *
40
+ * Booking date for the regulation item
41
41
  * @type {string}
42
42
  * @memberof CreateRegulationItemRequestDto
43
43
  */
44
44
  'bookingDate': string;
45
45
  /**
46
- *
46
+ * Unique identifier of the Claim that this object belongs to.
47
47
  * @type {string}
48
48
  * @memberof CreateRegulationItemRequestDto
49
49
  */
@@ -73,3 +73,17 @@ export declare const CreateRegulationItemRequestDtoRegulationItemTypeEnum: {
73
73
  readonly Reserve: "RESERVE";
74
74
  };
75
75
  export type CreateRegulationItemRequestDtoRegulationItemTypeEnum = typeof CreateRegulationItemRequestDtoRegulationItemTypeEnum[keyof typeof CreateRegulationItemRequestDtoRegulationItemTypeEnum];
76
+ export declare const CreateRegulationItemRequestDtoCurrencyEnum: {
77
+ readonly Eur: "EUR";
78
+ readonly Usd: "USD";
79
+ readonly Gbp: "GBP";
80
+ readonly Chf: "CHF";
81
+ readonly Pln: "PLN";
82
+ readonly Aud: "AUD";
83
+ readonly Cad: "CAD";
84
+ readonly Ddk: "DDK";
85
+ readonly Huf: "HUF";
86
+ readonly Nok: "NOK";
87
+ readonly Sek: "SEK";
88
+ };
89
+ export type CreateRegulationItemRequestDtoCurrencyEnum = typeof CreateRegulationItemRequestDtoCurrencyEnum[keyof typeof CreateRegulationItemRequestDtoCurrencyEnum];
@@ -13,9 +13,22 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.CreateRegulationItemRequestDtoRegulationItemTypeEnum = void 0;
16
+ exports.CreateRegulationItemRequestDtoCurrencyEnum = exports.CreateRegulationItemRequestDtoRegulationItemTypeEnum = void 0;
17
17
  exports.CreateRegulationItemRequestDtoRegulationItemTypeEnum = {
18
18
  Payout: 'PAYOUT',
19
19
  Regress: 'REGRESS',
20
20
  Reserve: 'RESERVE'
21
21
  };
22
+ exports.CreateRegulationItemRequestDtoCurrencyEnum = {
23
+ Eur: 'EUR',
24
+ Usd: 'USD',
25
+ Gbp: 'GBP',
26
+ Chf: 'CHF',
27
+ Pln: 'PLN',
28
+ Aud: 'AUD',
29
+ Cad: 'CAD',
30
+ Ddk: 'DDK',
31
+ Huf: 'HUF',
32
+ Nok: 'NOK',
33
+ Sek: 'SEK'
34
+ };
@@ -24,6 +24,7 @@ export * from './list-claim-partner-roles-response-class';
24
24
  export * from './list-claim-partners-response-class';
25
25
  export * from './list-claim-statuses-response-class';
26
26
  export * from './list-claims-response-class';
27
+ export * from './list-regulations-response-class';
27
28
  export * from './list-settlements-response-class';
28
29
  export * from './patch-claim-request-dto';
29
30
  export * from './patch-claim-response-class';
@@ -40,6 +40,7 @@ __exportStar(require("./list-claim-partner-roles-response-class"), exports);
40
40
  __exportStar(require("./list-claim-partners-response-class"), exports);
41
41
  __exportStar(require("./list-claim-statuses-response-class"), exports);
42
42
  __exportStar(require("./list-claims-response-class"), exports);
43
+ __exportStar(require("./list-regulations-response-class"), exports);
43
44
  __exportStar(require("./list-settlements-response-class"), exports);
44
45
  __exportStar(require("./patch-claim-request-dto"), exports);
45
46
  __exportStar(require("./patch-claim-response-class"), exports);
@@ -0,0 +1,31 @@
1
+ /**
2
+ * EMIL ClaimService
3
+ * The EMIL ClaimService API description
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 { RegulationItemClass } from './regulation-item-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ListRegulationsResponseClass
17
+ */
18
+ export interface ListRegulationsResponseClass {
19
+ /**
20
+ * The list of claim regulations.
21
+ * @type {Array<RegulationItemClass>}
22
+ * @memberof ListRegulationsResponseClass
23
+ */
24
+ 'items': Array<RegulationItemClass>;
25
+ /**
26
+ * Next page token.
27
+ * @type {string}
28
+ * @memberof ListRegulationsResponseClass
29
+ */
30
+ 'nextPageToken': string;
31
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL ClaimService
6
+ * The EMIL ClaimService 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 });
@@ -22,7 +22,7 @@ export interface PayoutDetailsClass {
22
22
  */
23
23
  'code': string;
24
24
  /**
25
- * Unique identifier of the Regulation Item that this object belongs to.
25
+ * Unique identifier for the object.
26
26
  * @type {string}
27
27
  * @memberof PayoutDetailsClass
28
28
  */
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { ClaimClass } from './claim-class';
12
13
  import { PayoutDetailsClass } from './payout-details-class';
13
14
  import { RegressDetailsClass } from './regress-details-class';
14
15
  import { ReserveDetailsClass } from './reserve-details-class';
@@ -31,7 +32,7 @@ export interface RegulationItemClass {
31
32
  */
32
33
  'regulationItemType': RegulationItemClassRegulationItemTypeEnum;
33
34
  /**
34
- * The amount of the regulation item - the amount is displayed in cents
35
+ * The amount of the regulation item
35
36
  * @type {number}
36
37
  * @memberof RegulationItemClass
37
38
  */
@@ -56,10 +57,10 @@ export interface RegulationItemClass {
56
57
  'claimCode': string;
57
58
  /**
58
59
  * The ClaimClass response.
59
- * @type {object}
60
+ * @type {ClaimClass}
60
61
  * @memberof RegulationItemClass
61
62
  */
62
- 'claim': object;
63
+ 'claim': ClaimClass;
63
64
  /**
64
65
  * The PayoutDetailsClass response.
65
66
  * @type {PayoutDetailsClass}
@@ -79,7 +80,7 @@ export interface RegulationItemClass {
79
80
  */
80
81
  'regressDetails': RegressDetailsClass;
81
82
  /**
82
- * The user who created the regulation item - can be `System User` or a real user
83
+ * The system level identifier of the user who made the latest update
83
84
  * @type {string}
84
85
  * @memberof RegulationItemClass
85
86
  */
@@ -24,31 +24,31 @@ import { ReserveDetailsDto } from './reserve-details-dto';
24
24
  */
25
25
  export interface CreateRegulationItemRequestDto {
26
26
  /**
27
- *
27
+ * Indicates the kind of regulation item - regulation items can be of type payout, reserve or regress
28
28
  * @type {string}
29
29
  * @memberof CreateRegulationItemRequestDto
30
30
  */
31
31
  'regulationItemType': CreateRegulationItemRequestDtoRegulationItemTypeEnum;
32
32
  /**
33
- *
33
+ * The amount of the regulation item
34
34
  * @type {number}
35
35
  * @memberof CreateRegulationItemRequestDto
36
36
  */
37
37
  'amount': number;
38
38
  /**
39
- *
39
+ * The currency of the regulation item
40
40
  * @type {string}
41
41
  * @memberof CreateRegulationItemRequestDto
42
42
  */
43
- 'currency': string;
43
+ 'currency': CreateRegulationItemRequestDtoCurrencyEnum;
44
44
  /**
45
- *
45
+ * Booking date for the regulation item
46
46
  * @type {string}
47
47
  * @memberof CreateRegulationItemRequestDto
48
48
  */
49
49
  'bookingDate': string;
50
50
  /**
51
- *
51
+ * Unique identifier of the Claim that this object belongs to.
52
52
  * @type {string}
53
53
  * @memberof CreateRegulationItemRequestDto
54
54
  */
@@ -80,5 +80,20 @@ export const CreateRegulationItemRequestDtoRegulationItemTypeEnum = {
80
80
  } as const;
81
81
 
82
82
  export type CreateRegulationItemRequestDtoRegulationItemTypeEnum = typeof CreateRegulationItemRequestDtoRegulationItemTypeEnum[keyof typeof CreateRegulationItemRequestDtoRegulationItemTypeEnum];
83
+ export const CreateRegulationItemRequestDtoCurrencyEnum = {
84
+ Eur: 'EUR',
85
+ Usd: 'USD',
86
+ Gbp: 'GBP',
87
+ Chf: 'CHF',
88
+ Pln: 'PLN',
89
+ Aud: 'AUD',
90
+ Cad: 'CAD',
91
+ Ddk: 'DDK',
92
+ Huf: 'HUF',
93
+ Nok: 'NOK',
94
+ Sek: 'SEK'
95
+ } as const;
96
+
97
+ export type CreateRegulationItemRequestDtoCurrencyEnum = typeof CreateRegulationItemRequestDtoCurrencyEnum[keyof typeof CreateRegulationItemRequestDtoCurrencyEnum];
83
98
 
84
99
 
package/models/index.ts CHANGED
@@ -24,6 +24,7 @@ export * from './list-claim-partner-roles-response-class';
24
24
  export * from './list-claim-partners-response-class';
25
25
  export * from './list-claim-statuses-response-class';
26
26
  export * from './list-claims-response-class';
27
+ export * from './list-regulations-response-class';
27
28
  export * from './list-settlements-response-class';
28
29
  export * from './patch-claim-request-dto';
29
30
  export * from './patch-claim-response-class';
@@ -0,0 +1,37 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL ClaimService
5
+ * The EMIL ClaimService 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 { RegulationItemClass } from './regulation-item-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface ListRegulationsResponseClass
22
+ */
23
+ export interface ListRegulationsResponseClass {
24
+ /**
25
+ * The list of claim regulations.
26
+ * @type {Array<RegulationItemClass>}
27
+ * @memberof ListRegulationsResponseClass
28
+ */
29
+ 'items': Array<RegulationItemClass>;
30
+ /**
31
+ * Next page token.
32
+ * @type {string}
33
+ * @memberof ListRegulationsResponseClass
34
+ */
35
+ 'nextPageToken': string;
36
+ }
37
+
@@ -27,7 +27,7 @@ export interface PayoutDetailsClass {
27
27
  */
28
28
  'code': string;
29
29
  /**
30
- * Unique identifier of the Regulation Item that this object belongs to.
30
+ * Unique identifier for the object.
31
31
  * @type {string}
32
32
  * @memberof PayoutDetailsClass
33
33
  */
@@ -13,6 +13,7 @@
13
13
  */
14
14
 
15
15
 
16
+ import { ClaimClass } from './claim-class';
16
17
  import { PayoutDetailsClass } from './payout-details-class';
17
18
  import { RegressDetailsClass } from './regress-details-class';
18
19
  import { ReserveDetailsClass } from './reserve-details-class';
@@ -36,7 +37,7 @@ export interface RegulationItemClass {
36
37
  */
37
38
  'regulationItemType': RegulationItemClassRegulationItemTypeEnum;
38
39
  /**
39
- * The amount of the regulation item - the amount is displayed in cents
40
+ * The amount of the regulation item
40
41
  * @type {number}
41
42
  * @memberof RegulationItemClass
42
43
  */
@@ -61,10 +62,10 @@ export interface RegulationItemClass {
61
62
  'claimCode': string;
62
63
  /**
63
64
  * The ClaimClass response.
64
- * @type {object}
65
+ * @type {ClaimClass}
65
66
  * @memberof RegulationItemClass
66
67
  */
67
- 'claim': object;
68
+ 'claim': ClaimClass;
68
69
  /**
69
70
  * The PayoutDetailsClass response.
70
71
  * @type {PayoutDetailsClass}
@@ -84,7 +85,7 @@ export interface RegulationItemClass {
84
85
  */
85
86
  'regressDetails': RegressDetailsClass;
86
87
  /**
87
- * The user who created the regulation item - can be `System User` or a real user
88
+ * The system level identifier of the user who made the latest update
88
89
  * @type {string}
89
90
  * @memberof RegulationItemClass
90
91
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/claim-sdk",
3
- "version": "1.17.2-beta.2",
3
+ "version": "1.17.2-beta.3",
4
4
  "description": "OpenAPI client for @emilgroup/claim-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [
@@ -1,66 +0,0 @@
1
- /**
2
- * EMIL ClaimService
3
- * The EMIL ClaimService API description
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 { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
- import { Configuration } from '../configuration';
14
- import { RequestArgs, BaseAPI } from '../base';
15
- import { InlineResponse200 } from '../models';
16
- /**
17
- * DefaultApi - axios parameter creator
18
- * @export
19
- */
20
- export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration) => {
21
- /**
22
- *
23
- * @param {*} [options] Override http request option.
24
- * @throws {RequiredError}
25
- */
26
- check: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
27
- };
28
- /**
29
- * DefaultApi - functional programming interface
30
- * @export
31
- */
32
- export declare const DefaultApiFp: (configuration?: Configuration) => {
33
- /**
34
- *
35
- * @param {*} [options] Override http request option.
36
- * @throws {RequiredError}
37
- */
38
- check(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineResponse200>>;
39
- };
40
- /**
41
- * DefaultApi - factory interface
42
- * @export
43
- */
44
- export declare const DefaultApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
45
- /**
46
- *
47
- * @param {*} [options] Override http request option.
48
- * @throws {RequiredError}
49
- */
50
- check(options?: any): AxiosPromise<InlineResponse200>;
51
- };
52
- /**
53
- * DefaultApi - object-oriented interface
54
- * @export
55
- * @class DefaultApi
56
- * @extends {BaseAPI}
57
- */
58
- export declare class DefaultApi extends BaseAPI {
59
- /**
60
- *
61
- * @param {*} [options] Override http request option.
62
- * @throws {RequiredError}
63
- * @memberof DefaultApi
64
- */
65
- check(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InlineResponse200, any>>;
66
- }