@sovity.de/edc-client 3.2.0 → 4.0.0

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 (43) hide show
  1. package/dist/EdcClient.d.ts +1 -5
  2. package/dist/generated/apis/EnterpriseEditionApi.d.ts +0 -13
  3. package/dist/generated/apis/UIApi.d.ts +18 -1
  4. package/dist/generated/apis/UseCaseApi.d.ts +12 -1
  5. package/dist/generated/apis/index.d.ts +0 -1
  6. package/dist/generated/models/AssetEntryDto.d.ts +28 -0
  7. package/dist/generated/models/AssetRequestDto.d.ts +28 -0
  8. package/dist/generated/models/AtomicConstraintDto.d.ts +45 -0
  9. package/dist/generated/models/ContractAgreementTransferRequest.d.ts +41 -0
  10. package/dist/generated/models/ContractAgreementTransferRequestParams.d.ts +36 -0
  11. package/dist/generated/models/ContractDefinitionRequestDto.d.ts +45 -0
  12. package/dist/generated/models/CreateOfferingDto.d.ts +35 -0
  13. package/dist/generated/models/CriterionDto.d.ts +32 -0
  14. package/dist/generated/models/DataAddressDto.d.ts +22 -0
  15. package/dist/generated/models/ExpressionDto.d.ts +61 -0
  16. package/dist/generated/models/IdResponseDto.d.ts +26 -0
  17. package/dist/generated/models/PermissionDto.d.ts +21 -0
  18. package/dist/generated/models/PolicyDefinitionRequestDto.d.ts +27 -0
  19. package/dist/generated/models/PolicyDto.d.ts +9 -2
  20. package/dist/generated/models/TransferHistoryEntry.d.ts +83 -0
  21. package/dist/generated/models/TransferHistoryPage.d.ts +21 -0
  22. package/dist/generated/models/index.d.ts +15 -15
  23. package/dist/sovity-edc-client.js +661 -706
  24. package/dist/sovity-edc-client.js.map +1 -1
  25. package/dist/sovity-edc-client.umd.cjs +1 -1
  26. package/dist/sovity-edc-client.umd.cjs.map +1 -1
  27. package/package.json +1 -1
  28. package/dist/generated/apis/BrokerServerApi.d.ts +0 -40
  29. package/dist/generated/models/CatalogPageQuery.d.ts +0 -49
  30. package/dist/generated/models/CatalogPageResult.d.ts +0 -42
  31. package/dist/generated/models/CatalogPageSortingItem.d.ts +0 -36
  32. package/dist/generated/models/CnfFilter.d.ts +0 -21
  33. package/dist/generated/models/CnfFilterAttribute.d.ts +0 -33
  34. package/dist/generated/models/CnfFilterItem.d.ts +0 -26
  35. package/dist/generated/models/CnfFilterValue.d.ts +0 -21
  36. package/dist/generated/models/CnfFilterValueAttribute.d.ts +0 -26
  37. package/dist/generated/models/ConnectorListEntry.d.ts +0 -82
  38. package/dist/generated/models/ConnectorPageQuery.d.ts +0 -40
  39. package/dist/generated/models/ConnectorPageResult.d.ts +0 -35
  40. package/dist/generated/models/ConnectorPageSortingItem.d.ts +0 -34
  41. package/dist/generated/models/ContractOfferConnectorInfo.d.ts +0 -52
  42. package/dist/generated/models/ContractOfferDto.d.ts +0 -35
  43. package/dist/generated/models/PaginationMetadata.d.ts +0 -38
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sovity.de/edc-client",
3
- "version": "3.2.0",
3
+ "version": "4.0.0",
4
4
  "description": "TypeScript API Client for our EDC API Wrapper.",
5
5
  "author": "sovity GmbH",
6
6
  "license": "Apache-2.0",
@@ -1,40 +0,0 @@
1
- /**
2
- * sovity EDC API Wrapper
3
- * sovity\'s EDC API Wrapper contains a selection of APIs for multiple consumers, e.g. our EDC UI API, our generic Use Case API, our Commercial APIs, etc. We bundled these APIs, so we can have an easier time generating our API Client Libraries.
4
- *
5
- * The version of the OpenAPI document: 0.0.0
6
- * Contact: contact@sovity.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 type { CatalogPageQuery, CatalogPageResult, ConnectorPageQuery, ConnectorPageResult } from '../models';
13
- import * as runtime from '../runtime';
14
- export interface CatalogPageRequest {
15
- catalogPageQuery?: CatalogPageQuery;
16
- }
17
- export interface ConnectorPageRequest {
18
- connectorPageQuery?: ConnectorPageQuery;
19
- }
20
- /**
21
- *
22
- */
23
- export declare class BrokerServerApi extends runtime.BaseAPI {
24
- /**
25
- * Query indexed Contract Offers
26
- */
27
- catalogPageRaw(requestParameters: CatalogPageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CatalogPageResult>>;
28
- /**
29
- * Query indexed Contract Offers
30
- */
31
- catalogPage(requestParameters?: CatalogPageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CatalogPageResult>;
32
- /**
33
- * Query known Connectors
34
- */
35
- connectorPageRaw(requestParameters: ConnectorPageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ConnectorPageResult>>;
36
- /**
37
- * Query known Connectors
38
- */
39
- connectorPage(requestParameters?: ConnectorPageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ConnectorPageResult>;
40
- }
@@ -1,49 +0,0 @@
1
- import type { CnfFilterValue } from './CnfFilterValue';
2
- /**
3
- * Filterable Catalog Page Query
4
- * @export
5
- * @interface CatalogPageQuery
6
- */
7
- export interface CatalogPageQuery {
8
- /**
9
- *
10
- * @type {CnfFilterValue}
11
- * @memberof CatalogPageQuery
12
- */
13
- filter?: CnfFilterValue;
14
- /**
15
- * Search query
16
- * @type {string}
17
- * @memberof CatalogPageQuery
18
- */
19
- searchQuery?: string;
20
- /**
21
- * Catalog's sorting options
22
- * @type {string}
23
- * @memberof CatalogPageQuery
24
- */
25
- sorting?: CatalogPageQuerySortingEnum;
26
- /**
27
- * Page number, one based, meaning the first page is page 1.
28
- * @type {number}
29
- * @memberof CatalogPageQuery
30
- */
31
- pageOneBased?: number;
32
- }
33
- /**
34
- * @export
35
- */
36
- export declare const CatalogPageQuerySortingEnum: {
37
- readonly Match: "MATCH";
38
- readonly Title: "TITLE";
39
- readonly MostRecent: "MOST_RECENT";
40
- readonly Originator: "ORIGINATOR";
41
- };
42
- export type CatalogPageQuerySortingEnum = (typeof CatalogPageQuerySortingEnum)[keyof typeof CatalogPageQuerySortingEnum];
43
- /**
44
- * Check if a given object implements the CatalogPageQuery interface.
45
- */
46
- export declare function instanceOfCatalogPageQuery(value: object): boolean;
47
- export declare function CatalogPageQueryFromJSON(json: any): CatalogPageQuery;
48
- export declare function CatalogPageQueryFromJSONTyped(json: any, ignoreDiscriminator: boolean): CatalogPageQuery;
49
- export declare function CatalogPageQueryToJSON(value?: CatalogPageQuery | null): any;
@@ -1,42 +0,0 @@
1
- import type { CatalogPageSortingItem } from './CatalogPageSortingItem';
2
- import type { CnfFilter } from './CnfFilter';
3
- import type { ContractOfferDto } from './ContractOfferDto';
4
- import type { PaginationMetadata } from './PaginationMetadata';
5
- /**
6
- * Catalog Page and visible filters
7
- * @export
8
- * @interface CatalogPageResult
9
- */
10
- export interface CatalogPageResult {
11
- /**
12
- *
13
- * @type {CnfFilter}
14
- * @memberof CatalogPageResult
15
- */
16
- availableFilters: CnfFilter;
17
- /**
18
- * Available sorting options
19
- * @type {Array<CatalogPageSortingItem>}
20
- * @memberof CatalogPageResult
21
- */
22
- availableSortings: Array<CatalogPageSortingItem>;
23
- /**
24
- *
25
- * @type {PaginationMetadata}
26
- * @memberof CatalogPageResult
27
- */
28
- paginationMetadata: PaginationMetadata;
29
- /**
30
- * Current page of contract offers
31
- * @type {Array<ContractOfferDto>}
32
- * @memberof CatalogPageResult
33
- */
34
- contractOffers: Array<ContractOfferDto>;
35
- }
36
- /**
37
- * Check if a given object implements the CatalogPageResult interface.
38
- */
39
- export declare function instanceOfCatalogPageResult(value: object): boolean;
40
- export declare function CatalogPageResultFromJSON(json: any): CatalogPageResult;
41
- export declare function CatalogPageResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): CatalogPageResult;
42
- export declare function CatalogPageResultToJSON(value?: CatalogPageResult | null): any;
@@ -1,36 +0,0 @@
1
- /**
2
- * Available Catalog Page Sorting Item
3
- * @export
4
- * @interface CatalogPageSortingItem
5
- */
6
- export interface CatalogPageSortingItem {
7
- /**
8
- * Catalog's sorting options
9
- * @type {string}
10
- * @memberof CatalogPageSortingItem
11
- */
12
- sorting: CatalogPageSortingItemSortingEnum;
13
- /**
14
- * Sorting Title
15
- * @type {string}
16
- * @memberof CatalogPageSortingItem
17
- */
18
- title: string;
19
- }
20
- /**
21
- * @export
22
- */
23
- export declare const CatalogPageSortingItemSortingEnum: {
24
- readonly Match: "MATCH";
25
- readonly Title: "TITLE";
26
- readonly MostRecent: "MOST_RECENT";
27
- readonly Originator: "ORIGINATOR";
28
- };
29
- export type CatalogPageSortingItemSortingEnum = (typeof CatalogPageSortingItemSortingEnum)[keyof typeof CatalogPageSortingItemSortingEnum];
30
- /**
31
- * Check if a given object implements the CatalogPageSortingItem interface.
32
- */
33
- export declare function instanceOfCatalogPageSortingItem(value: object): boolean;
34
- export declare function CatalogPageSortingItemFromJSON(json: any): CatalogPageSortingItem;
35
- export declare function CatalogPageSortingItemFromJSONTyped(json: any, ignoreDiscriminator: boolean): CatalogPageSortingItem;
36
- export declare function CatalogPageSortingItemToJSON(value?: CatalogPageSortingItem | null): any;
@@ -1,21 +0,0 @@
1
- import type { CnfFilterAttribute } from './CnfFilterAttribute';
2
- /**
3
- * Filter in form of a conjunctive normal form, meaning (A=X OR A=Y) AND (B=M or B=N). Not selected attributes default to TRUE. Used here to let the backend be a SSOT for the available filter options, e.g. Transport Mode, Data Model, etc.
4
- * @export
5
- * @interface CnfFilter
6
- */
7
- export interface CnfFilter {
8
- /**
9
- * Available attributes to filter by.
10
- * @type {Array<CnfFilterAttribute>}
11
- * @memberof CnfFilter
12
- */
13
- fields: Array<CnfFilterAttribute>;
14
- }
15
- /**
16
- * Check if a given object implements the CnfFilter interface.
17
- */
18
- export declare function instanceOfCnfFilter(value: object): boolean;
19
- export declare function CnfFilterFromJSON(json: any): CnfFilter;
20
- export declare function CnfFilterFromJSONTyped(json: any, ignoreDiscriminator: boolean): CnfFilter;
21
- export declare function CnfFilterToJSON(value?: CnfFilter | null): any;
@@ -1,33 +0,0 @@
1
- import type { CnfFilterItem } from './CnfFilterItem';
2
- /**
3
- * Attribute, e.g. Language
4
- * @export
5
- * @interface CnfFilterAttribute
6
- */
7
- export interface CnfFilterAttribute {
8
- /**
9
- * Attribute ID
10
- * @type {string}
11
- * @memberof CnfFilterAttribute
12
- */
13
- id: string;
14
- /**
15
- * Attribute Title
16
- * @type {string}
17
- * @memberof CnfFilterAttribute
18
- */
19
- title: string;
20
- /**
21
- * Available values.
22
- * @type {Array<CnfFilterItem>}
23
- * @memberof CnfFilterAttribute
24
- */
25
- values: Array<CnfFilterItem>;
26
- }
27
- /**
28
- * Check if a given object implements the CnfFilterAttribute interface.
29
- */
30
- export declare function instanceOfCnfFilterAttribute(value: object): boolean;
31
- export declare function CnfFilterAttributeFromJSON(json: any): CnfFilterAttribute;
32
- export declare function CnfFilterAttributeFromJSONTyped(json: any, ignoreDiscriminator: boolean): CnfFilterAttribute;
33
- export declare function CnfFilterAttributeToJSON(value?: CnfFilterAttribute | null): any;
@@ -1,26 +0,0 @@
1
- /**
2
- * Attribute Value
3
- * @export
4
- * @interface CnfFilterItem
5
- */
6
- export interface CnfFilterItem {
7
- /**
8
- * Value ID
9
- * @type {string}
10
- * @memberof CnfFilterItem
11
- */
12
- id: string;
13
- /**
14
- * Value Title
15
- * @type {string}
16
- * @memberof CnfFilterItem
17
- */
18
- title: string;
19
- }
20
- /**
21
- * Check if a given object implements the CnfFilterItem interface.
22
- */
23
- export declare function instanceOfCnfFilterItem(value: object): boolean;
24
- export declare function CnfFilterItemFromJSON(json: any): CnfFilterItem;
25
- export declare function CnfFilterItemFromJSONTyped(json: any, ignoreDiscriminator: boolean): CnfFilterItem;
26
- export declare function CnfFilterItemToJSON(value?: CnfFilterItem | null): any;
@@ -1,21 +0,0 @@
1
- import type { CnfFilterValueAttribute } from './CnfFilterValueAttribute';
2
- /**
3
- * Cnf filter's selected value.
4
- * @export
5
- * @interface CnfFilterValue
6
- */
7
- export interface CnfFilterValue {
8
- /**
9
- * Available attributes to filter by.
10
- * @type {Array<CnfFilterValueAttribute>}
11
- * @memberof CnfFilterValue
12
- */
13
- selectedAttributeValues: Array<CnfFilterValueAttribute>;
14
- }
15
- /**
16
- * Check if a given object implements the CnfFilterValue interface.
17
- */
18
- export declare function instanceOfCnfFilterValue(value: object): boolean;
19
- export declare function CnfFilterValueFromJSON(json: any): CnfFilterValue;
20
- export declare function CnfFilterValueFromJSONTyped(json: any, ignoreDiscriminator: boolean): CnfFilterValue;
21
- export declare function CnfFilterValueToJSON(value?: CnfFilterValue | null): any;
@@ -1,26 +0,0 @@
1
- /**
2
- * Single attribute of selected cnf filter's value
3
- * @export
4
- * @interface CnfFilterValueAttribute
5
- */
6
- export interface CnfFilterValueAttribute {
7
- /**
8
- * Attribute ID
9
- * @type {string}
10
- * @memberof CnfFilterValueAttribute
11
- */
12
- id: string;
13
- /**
14
- * Selected attribute values' IDs.
15
- * @type {Array<string>}
16
- * @memberof CnfFilterValueAttribute
17
- */
18
- selectedIds: Array<string>;
19
- }
20
- /**
21
- * Check if a given object implements the CnfFilterValueAttribute interface.
22
- */
23
- export declare function instanceOfCnfFilterValueAttribute(value: object): boolean;
24
- export declare function CnfFilterValueAttributeFromJSON(json: any): CnfFilterValueAttribute;
25
- export declare function CnfFilterValueAttributeFromJSONTyped(json: any, ignoreDiscriminator: boolean): CnfFilterValueAttribute;
26
- export declare function CnfFilterValueAttributeToJSON(value?: CnfFilterValueAttribute | null): any;
@@ -1,82 +0,0 @@
1
- /**
2
- * A Contract Offer's Connector Status
3
- * @export
4
- * @interface ConnectorListEntry
5
- */
6
- export interface ConnectorListEntry {
7
- /**
8
- * Connector ID
9
- * @type {string}
10
- * @memberof ConnectorListEntry
11
- */
12
- id: string;
13
- /**
14
- * Connector IDS ID
15
- * @type {string}
16
- * @memberof ConnectorListEntry
17
- */
18
- idsId: string;
19
- /**
20
- * Connector Endpoint
21
- * @type {string}
22
- * @memberof ConnectorListEntry
23
- */
24
- endpoint: string;
25
- /**
26
- * Connector IDS Title
27
- * @type {string}
28
- * @memberof ConnectorListEntry
29
- */
30
- title: string;
31
- /**
32
- * Connector IDS Description
33
- * @type {string}
34
- * @memberof ConnectorListEntry
35
- */
36
- description: string;
37
- /**
38
- * Time the connector was added
39
- * @type {Date}
40
- * @memberof ConnectorListEntry
41
- */
42
- createdAt?: Date;
43
- /**
44
- * Last time the connector was attempted to be updated.
45
- * @type {Date}
46
- * @memberof ConnectorListEntry
47
- */
48
- lastFetchAt?: Date;
49
- /**
50
- * Connector's online status
51
- * @type {string}
52
- * @memberof ConnectorListEntry
53
- */
54
- onlineStatus: ConnectorListEntryOnlineStatusEnum;
55
- /**
56
- * Last time the connector was created or successfully updated.
57
- * @type {Date}
58
- * @memberof ConnectorListEntry
59
- */
60
- offlineSince?: Date;
61
- /**
62
- * Number of known data offerings
63
- * @type {number}
64
- * @memberof ConnectorListEntry
65
- */
66
- numContractOffers?: number;
67
- }
68
- /**
69
- * @export
70
- */
71
- export declare const ConnectorListEntryOnlineStatusEnum: {
72
- readonly Online: "ONLINE";
73
- readonly Offline: "OFFLINE";
74
- };
75
- export type ConnectorListEntryOnlineStatusEnum = (typeof ConnectorListEntryOnlineStatusEnum)[keyof typeof ConnectorListEntryOnlineStatusEnum];
76
- /**
77
- * Check if a given object implements the ConnectorListEntry interface.
78
- */
79
- export declare function instanceOfConnectorListEntry(value: object): boolean;
80
- export declare function ConnectorListEntryFromJSON(json: any): ConnectorListEntry;
81
- export declare function ConnectorListEntryFromJSONTyped(json: any, ignoreDiscriminator: boolean): ConnectorListEntry;
82
- export declare function ConnectorListEntryToJSON(value?: ConnectorListEntry | null): any;
@@ -1,40 +0,0 @@
1
- /**
2
- * Filterable Connector Page Query
3
- * @export
4
- * @interface ConnectorPageQuery
5
- */
6
- export interface ConnectorPageQuery {
7
- /**
8
- * Search query
9
- * @type {string}
10
- * @memberof ConnectorPageQuery
11
- */
12
- searchQuery?: string;
13
- /**
14
- * Connector List Page's known sorting option IDs
15
- * @type {string}
16
- * @memberof ConnectorPageQuery
17
- */
18
- sorting?: ConnectorPageQuerySortingEnum;
19
- /**
20
- * Page number, one based, meaning the first page is page 1.
21
- * @type {number}
22
- * @memberof ConnectorPageQuery
23
- */
24
- pageOneBased?: number;
25
- }
26
- /**
27
- * @export
28
- */
29
- export declare const ConnectorPageQuerySortingEnum: {
30
- readonly Title: "TITLE";
31
- readonly MostRecent: "MOST_RECENT";
32
- };
33
- export type ConnectorPageQuerySortingEnum = (typeof ConnectorPageQuerySortingEnum)[keyof typeof ConnectorPageQuerySortingEnum];
34
- /**
35
- * Check if a given object implements the ConnectorPageQuery interface.
36
- */
37
- export declare function instanceOfConnectorPageQuery(value: object): boolean;
38
- export declare function ConnectorPageQueryFromJSON(json: any): ConnectorPageQuery;
39
- export declare function ConnectorPageQueryFromJSONTyped(json: any, ignoreDiscriminator: boolean): ConnectorPageQuery;
40
- export declare function ConnectorPageQueryToJSON(value?: ConnectorPageQuery | null): any;
@@ -1,35 +0,0 @@
1
- import type { ConnectorListEntry } from './ConnectorListEntry';
2
- import type { ConnectorPageSortingItem } from './ConnectorPageSortingItem';
3
- import type { PaginationMetadata } from './PaginationMetadata';
4
- /**
5
- * Connector Page Data
6
- * @export
7
- * @interface ConnectorPageResult
8
- */
9
- export interface ConnectorPageResult {
10
- /**
11
- * Available sorting options
12
- * @type {Array<ConnectorPageSortingItem>}
13
- * @memberof ConnectorPageResult
14
- */
15
- availableSortings: Array<ConnectorPageSortingItem>;
16
- /**
17
- *
18
- * @type {PaginationMetadata}
19
- * @memberof ConnectorPageResult
20
- */
21
- paginationMetadata: PaginationMetadata;
22
- /**
23
- * Current page of connector list entries
24
- * @type {Array<ConnectorListEntry>}
25
- * @memberof ConnectorPageResult
26
- */
27
- connectors: Array<ConnectorListEntry>;
28
- }
29
- /**
30
- * Check if a given object implements the ConnectorPageResult interface.
31
- */
32
- export declare function instanceOfConnectorPageResult(value: object): boolean;
33
- export declare function ConnectorPageResultFromJSON(json: any): ConnectorPageResult;
34
- export declare function ConnectorPageResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): ConnectorPageResult;
35
- export declare function ConnectorPageResultToJSON(value?: ConnectorPageResult | null): any;
@@ -1,34 +0,0 @@
1
- /**
2
- * Available Connector Page Sorting Item
3
- * @export
4
- * @interface ConnectorPageSortingItem
5
- */
6
- export interface ConnectorPageSortingItem {
7
- /**
8
- * Connector List Page's known sorting option IDs
9
- * @type {string}
10
- * @memberof ConnectorPageSortingItem
11
- */
12
- sorting: ConnectorPageSortingItemSortingEnum;
13
- /**
14
- * Sorting Title
15
- * @type {string}
16
- * @memberof ConnectorPageSortingItem
17
- */
18
- title: string;
19
- }
20
- /**
21
- * @export
22
- */
23
- export declare const ConnectorPageSortingItemSortingEnum: {
24
- readonly Title: "TITLE";
25
- readonly MostRecent: "MOST_RECENT";
26
- };
27
- export type ConnectorPageSortingItemSortingEnum = (typeof ConnectorPageSortingItemSortingEnum)[keyof typeof ConnectorPageSortingItemSortingEnum];
28
- /**
29
- * Check if a given object implements the ConnectorPageSortingItem interface.
30
- */
31
- export declare function instanceOfConnectorPageSortingItem(value: object): boolean;
32
- export declare function ConnectorPageSortingItemFromJSON(json: any): ConnectorPageSortingItem;
33
- export declare function ConnectorPageSortingItemFromJSONTyped(json: any, ignoreDiscriminator: boolean): ConnectorPageSortingItem;
34
- export declare function ConnectorPageSortingItemToJSON(value?: ConnectorPageSortingItem | null): any;
@@ -1,52 +0,0 @@
1
- /**
2
- * A Contract Offer's Connector Status
3
- * @export
4
- * @interface ContractOfferConnectorInfo
5
- */
6
- export interface ContractOfferConnectorInfo {
7
- /**
8
- * Connector Endpoint
9
- * @type {string}
10
- * @memberof ContractOfferConnectorInfo
11
- */
12
- endpoint: string;
13
- /**
14
- * Connector IDS Title
15
- * @type {string}
16
- * @memberof ContractOfferConnectorInfo
17
- */
18
- title: string;
19
- /**
20
- * Connector IDS Description
21
- * @type {string}
22
- * @memberof ContractOfferConnectorInfo
23
- */
24
- description: string;
25
- /**
26
- * Connector's online status
27
- * @type {string}
28
- * @memberof ContractOfferConnectorInfo
29
- */
30
- onlineStatus: ContractOfferConnectorInfoOnlineStatusEnum;
31
- /**
32
- * Date to be displayed as last update date, for online connectors it's the last refresh date, for offline connectors it's the creation date or last successful fetch.
33
- * @type {Date}
34
- * @memberof ContractOfferConnectorInfo
35
- */
36
- offlineSinceOrLastUpdatedAt?: Date;
37
- }
38
- /**
39
- * @export
40
- */
41
- export declare const ContractOfferConnectorInfoOnlineStatusEnum: {
42
- readonly Online: "ONLINE";
43
- readonly Offline: "OFFLINE";
44
- };
45
- export type ContractOfferConnectorInfoOnlineStatusEnum = (typeof ContractOfferConnectorInfoOnlineStatusEnum)[keyof typeof ContractOfferConnectorInfoOnlineStatusEnum];
46
- /**
47
- * Check if a given object implements the ContractOfferConnectorInfo interface.
48
- */
49
- export declare function instanceOfContractOfferConnectorInfo(value: object): boolean;
50
- export declare function ContractOfferConnectorInfoFromJSON(json: any): ContractOfferConnectorInfo;
51
- export declare function ContractOfferConnectorInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): ContractOfferConnectorInfo;
52
- export declare function ContractOfferConnectorInfoToJSON(value?: ContractOfferConnectorInfo | null): any;
@@ -1,35 +0,0 @@
1
- import type { AssetDto } from './AssetDto';
2
- import type { ContractOfferConnectorInfo } from './ContractOfferConnectorInfo';
3
- import type { PolicyDto } from './PolicyDto';
4
- /**
5
- * Contract Offer
6
- * @export
7
- * @interface ContractOfferDto
8
- */
9
- export interface ContractOfferDto {
10
- /**
11
- *
12
- * @type {ContractOfferConnectorInfo}
13
- * @memberof ContractOfferDto
14
- */
15
- connectorInfo: ContractOfferConnectorInfo;
16
- /**
17
- *
18
- * @type {AssetDto}
19
- * @memberof ContractOfferDto
20
- */
21
- asset: AssetDto;
22
- /**
23
- *
24
- * @type {PolicyDto}
25
- * @memberof ContractOfferDto
26
- */
27
- policy: PolicyDto;
28
- }
29
- /**
30
- * Check if a given object implements the ContractOfferDto interface.
31
- */
32
- export declare function instanceOfContractOfferDto(value: object): boolean;
33
- export declare function ContractOfferDtoFromJSON(json: any): ContractOfferDto;
34
- export declare function ContractOfferDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): ContractOfferDto;
35
- export declare function ContractOfferDtoToJSON(value?: ContractOfferDto | null): any;
@@ -1,38 +0,0 @@
1
- /**
2
- * Pagination Metadata
3
- * @export
4
- * @interface PaginationMetadata
5
- */
6
- export interface PaginationMetadata {
7
- /**
8
- * Total number of results
9
- * @type {number}
10
- * @memberof PaginationMetadata
11
- */
12
- numTotal: number;
13
- /**
14
- * Visible number of results
15
- * @type {number}
16
- * @memberof PaginationMetadata
17
- */
18
- numVisible: number;
19
- /**
20
- * Page number, one based, meaning the first page is page 1.
21
- * @type {number}
22
- * @memberof PaginationMetadata
23
- */
24
- pageOneBased: number;
25
- /**
26
- * Items per page
27
- * @type {number}
28
- * @memberof PaginationMetadata
29
- */
30
- pageSize: number;
31
- }
32
- /**
33
- * Check if a given object implements the PaginationMetadata interface.
34
- */
35
- export declare function instanceOfPaginationMetadata(value: object): boolean;
36
- export declare function PaginationMetadataFromJSON(json: any): PaginationMetadata;
37
- export declare function PaginationMetadataFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginationMetadata;
38
- export declare function PaginationMetadataToJSON(value?: PaginationMetadata | null): any;