@here/olp-sdk-dataservice-read 1.11.0 → 1.13.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 (46) hide show
  1. package/lib/cache/MetadataCacheRepository.d.ts +0 -16
  2. package/lib/client/ArtifactClient.d.ts +1 -1
  3. package/lib/client/PartitionsRequest.d.ts +0 -20
  4. package/lib/client/QueryClient.d.ts +1 -16
  5. package/lib/utils/index.d.ts +0 -1
  6. package/package.json +8 -5
  7. package/bundle.umd.dev.js +0 -13648
  8. package/bundle.umd.min.js +0 -1
  9. package/lib/cache/MetadataCacheRepository.js +0 -124
  10. package/lib/cache/QuadTreeIndexCacheRepository.js +0 -59
  11. package/lib/cache/index.js +0 -32
  12. package/lib/client/ArtifactClient.js +0 -96
  13. package/lib/client/CatalogClient.js +0 -206
  14. package/lib/client/CatalogRequest.js +0 -47
  15. package/lib/client/CatalogVersionRequest.js +0 -85
  16. package/lib/client/CatalogsRequest.js +0 -67
  17. package/lib/client/ConfigClient.js +0 -72
  18. package/lib/client/DataRequest.js +0 -115
  19. package/lib/client/IndexLayerClient.js +0 -111
  20. package/lib/client/IndexQueryRequest.js +0 -63
  21. package/lib/client/LayerVersionsRequest.js +0 -64
  22. package/lib/client/PartitionsRequest.js +0 -149
  23. package/lib/client/PollRequest.js +0 -63
  24. package/lib/client/QuadKeyPartitionsRequest.js +0 -110
  25. package/lib/client/QuadTreeIndexRequest.js +0 -168
  26. package/lib/client/QueryClient.js +0 -159
  27. package/lib/client/SchemaDetailsRequest.js +0 -68
  28. package/lib/client/SchemaRequest.js +0 -67
  29. package/lib/client/SeekRequest.js +0 -70
  30. package/lib/client/StatisticsClient.js +0 -127
  31. package/lib/client/StatisticsRequest.js +0 -134
  32. package/lib/client/StreamLayerClient.js +0 -250
  33. package/lib/client/SubscribeRequest.js +0 -101
  34. package/lib/client/SummaryRequest.js +0 -66
  35. package/lib/client/TileRequest.js +0 -118
  36. package/lib/client/UnsubscribeRequest.js +0 -63
  37. package/lib/client/VersionedLayerClient.js +0 -230
  38. package/lib/client/VolatileLayerClient.js +0 -194
  39. package/lib/client/index.js +0 -57
  40. package/lib/index.js +0 -33
  41. package/lib/utils/QuadKeyUtils.d.ts +0 -18
  42. package/lib/utils/QuadKeyUtils.js +0 -48
  43. package/lib/utils/getTile.js +0 -163
  44. package/lib/utils/index.js +0 -34
  45. package/lib/utils/validateBillingTag.js +0 -37
  46. package/lib/utils/validatePartitionsIdsList.js +0 -38
@@ -13,28 +13,12 @@ export declare class MetadataCacheRepository {
13
13
  * @return The [[MetadataCacheRepository]] instance.
14
14
  */
15
15
  constructor(cache: KeyValueCache);
16
- /**
17
- * @deprecated This signature will be removed by 05.2021. Please set the version as the last argument.
18
- * Stores a key-value pair in the cache.
19
- *
20
- * @return True if the operation is successful, false otherwise.
21
- */
22
- put(rq: PartitionsRequest, hrn: string, layerId: string, partitions: MetadataApi.Partition[]): boolean;
23
16
  /**
24
17
  * Stores a key-value pair in the cache.
25
18
  *
26
19
  * @return True if the operation is successful, false otherwise.
27
20
  */
28
21
  put(rq: PartitionsRequest, hrn: string, layerId: string, partitions: MetadataApi.Partition[], version?: number): boolean;
29
- /**
30
- * @deprecated This signature will be removed by 05.2021. Please set the version as the last argument.
31
- * Gets a metadata from the cache.
32
- *
33
- * @param service The name of the API service for which you want to get the base URL.
34
- * @param serviceVersion The service version.
35
- * @return The base URL of the service, or undefined if the base URL does not exist.
36
- */
37
- get(rq: PartitionsRequest, hrn: string, layerId: string): MetadataApi.Partition[] | undefined;
38
22
  /**
39
23
  * Gets a metadata from the cache.
40
24
  *
@@ -20,7 +20,7 @@ export declare class ArtifactClient {
20
20
  * @param schemaDetailsRequest The [[SchemaDetailsRequest]] instance.
21
21
  * @return An object with the schema metadata.
22
22
  */
23
- getSchemaDetails(schemaDetailsRequest: SchemaDetailsRequest): Promise<ArtifactApi.GetSchemaResponse>;
23
+ getSchemaDetails(schemaDetailsRequest: SchemaDetailsRequest): Promise<ArtifactApi.GetSchemaResponseObj>;
24
24
  /**
25
25
  * Gets schema data.
26
26
  *
@@ -9,26 +9,6 @@ export declare class PartitionsRequest {
9
9
  private partitionIds?;
10
10
  private additionalFields?;
11
11
  private fetchOption;
12
- /**
13
- * This method is @deprecated and will be removed by 04.2021. If you need to set the version,
14
- * initialize the version client with the new constructor. Otherwise, the latest version will be used.
15
- *
16
- * Gets a layer version for the request.
17
- *
18
- * @return The layer version number.
19
- */
20
- getVersion(): number | undefined;
21
- /**
22
- * This method is @deprecated and will be removed by 04.2021. If you need to set the version,
23
- * initialize the version client with the new constructor. Otherwise, the latest version will be used.
24
- *
25
- * An optional method that sets the provided layer version.
26
- * If the layer version is not specified, the last layer version is used.
27
- *
28
- * @param version Specify the layer version or, if you want to use the latest layer version, set to undefined.
29
- * @returns The updated [[PartitionsRequest]] instance that you can use to chain methods.
30
- */
31
- withVersion(version?: number): PartitionsRequest;
32
12
  /**
33
13
  * An optional free-form tag that is used for grouping billing records together.
34
14
  *
@@ -29,7 +29,6 @@ export declare class QueryClient {
29
29
  */
30
30
  fetchQuadTreeIndex(request: QuadTreeIndexRequest, abortSignal?: AbortSignal): Promise<QueryApi.Index>;
31
31
  /**
32
- * @deprecated This signature will be removed by 04.2021. Please set the version as the last argument.
33
32
  * Gets partitions using their IDs.
34
33
  *
35
34
  * @param request The `PartitionsRequest` instance.
@@ -42,21 +41,7 @@ export declare class QueryClient {
42
41
  *
43
42
  * @return The requested partitions.
44
43
  */
45
- getPartitionsById(request: PartitionsRequest, layerId: string, hrn: HRN, abortSignal?: AbortSignal): Promise<QueryApi.Partitions>;
46
- /**
47
- * Gets partitions using their IDs.
48
- *
49
- * @param request The `PartitionsRequest` instance.
50
- * @param layerId The ID of the layer from which you want to get partitions.
51
- * @param hrn The HERE Resource Name (HRN) of the layer.
52
- * @param abortSignal A signal object that allows you to communicate with a request (such as the `fetch` request)
53
- * and, if required, abort it using the `AbortController` object.
54
- *
55
- * For more information, see the [`AbortController` documentation](https://developer.mozilla.org/en-US/docs/Web/API/AbortController).
56
- *
57
- * @return The requested partitions.
58
- */
59
- getPartitionsById(request: PartitionsRequest, layerId: string, hrn: HRN, abortSignal?: AbortSignal, version?: number): Promise<QueryApi.Partitions>;
44
+ getPartitionsById(request: PartitionsRequest, layerId: string, hrn: HRN, abortSignal?: AbortSignal, catalogVersion?: number): Promise<QueryApi.Partitions>;
60
45
  /**
61
46
  * Gets the latest available catalog version
62
47
  */
@@ -1,4 +1,3 @@
1
- export * from "./QuadKeyUtils";
2
1
  export * from "./validateBillingTag";
3
2
  export * from "./validatePartitionsIdsList";
4
3
  export * from "./getTile";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@here/olp-sdk-dataservice-read",
3
- "version": "1.11.0",
3
+ "version": "1.13.0",
4
4
  "description": "Wrapper around a subset of the HERE Open Location Platform Data REST API related to reading data from OLP catalogs",
5
5
  "main": "index.js",
6
6
  "browser": "index.web.js",
@@ -49,8 +49,8 @@
49
49
  },
50
50
  "license": "Apache-2.0",
51
51
  "dependencies": {
52
- "@here/olp-sdk-core": "^1.6.0",
53
- "@here/olp-sdk-dataservice-api": "^1.11.0",
52
+ "@here/olp-sdk-core": "^1.8.0",
53
+ "@here/olp-sdk-dataservice-api": "^1.13.0",
54
54
  "@here/olp-sdk-fetch": "^1.9.0"
55
55
  },
56
56
  "devDependencies": {
@@ -72,10 +72,13 @@
72
72
  "ts-node": "^8.5.4",
73
73
  "tslint": "^6.1.3",
74
74
  "tslint-config-prettier": "^1.18.0",
75
- "typedoc": "^0.20.25",
75
+ "typedoc": "^0.22.13",
76
76
  "typescript": "4.0.3",
77
77
  "tslib": "1.13.0",
78
- "webpack": "^4.41.5",
78
+ "webpack": "^4.46.0",
79
79
  "webpack-cli": "^3.3.10"
80
+ },
81
+ "engines": {
82
+ "node": ">= 10.18.0"
80
83
  }
81
84
  }