@xyo-network/api 2.20.44 → 2.20.47
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/cjs/Archivist/Account/Api.d.ts +18 -18
- package/dist/cjs/Archivist/Account/Api.js +14 -14
- package/dist/cjs/Archivist/Account/index.d.ts +1 -1
- package/dist/cjs/Archivist/Account/index.js +4 -4
- package/dist/cjs/Archivist/Api.d.ts +34 -34
- package/dist/cjs/Archivist/Api.js +68 -68
- package/dist/cjs/Archivist/Archive/Api.d.ts +18 -18
- package/dist/cjs/Archivist/Archive/Api.js +39 -39
- package/dist/cjs/Archivist/Archive/Schema/Api.d.ts +7 -7
- package/dist/cjs/Archivist/Archive/Schema/Api.js +14 -14
- package/dist/cjs/Archivist/Archive/Schema/index.d.ts +1 -1
- package/dist/cjs/Archivist/Archive/Schema/index.js +4 -4
- package/dist/cjs/Archivist/Archive/Schemas/Api.d.ts +6 -6
- package/dist/cjs/Archivist/Archive/Schemas/Api.js +13 -13
- package/dist/cjs/Archivist/Archive/Schemas/index.d.ts +1 -1
- package/dist/cjs/Archivist/Archive/Schemas/index.js +4 -4
- package/dist/cjs/Archivist/Archive/Settings/Api.d.ts +6 -6
- package/dist/cjs/Archivist/Archive/Settings/Api.js +14 -14
- package/dist/cjs/Archivist/Archive/Settings/Key/Api.d.ts +5 -5
- package/dist/cjs/Archivist/Archive/Settings/Key/Api.js +10 -10
- package/dist/cjs/Archivist/Archive/Settings/Key/index.d.ts +1 -1
- package/dist/cjs/Archivist/Archive/Settings/Key/index.js +4 -4
- package/dist/cjs/Archivist/Archive/Settings/index.d.ts +2 -2
- package/dist/cjs/Archivist/Archive/Settings/index.js +5 -5
- package/dist/cjs/Archivist/Archive/index.d.ts +4 -4
- package/dist/cjs/Archivist/Archive/index.js +7 -7
- package/dist/cjs/Archivist/Archives/Api.d.ts +8 -8
- package/dist/cjs/Archivist/Archives/Api.js +15 -15
- package/dist/cjs/Archivist/Archives/index.d.ts +1 -1
- package/dist/cjs/Archivist/Archives/index.js +4 -4
- package/dist/cjs/Archivist/Block/Api.d.ts +8 -8
- package/dist/cjs/Archivist/Block/Api.js +11 -11
- package/dist/cjs/Archivist/Block/index.d.ts +1 -1
- package/dist/cjs/Archivist/Block/index.js +4 -4
- package/dist/cjs/Archivist/Node/Api.d.ts +28 -20
- package/dist/cjs/Archivist/Node/Api.js +73 -56
- package/dist/cjs/Archivist/Node/Api.js.map +1 -1
- package/dist/cjs/Archivist/Node/index.d.ts +1 -1
- package/dist/cjs/Archivist/Node/index.js +4 -4
- package/dist/cjs/Archivist/Payload/Api.d.ts +40 -40
- package/dist/cjs/Archivist/Payload/Api.js +83 -83
- package/dist/cjs/Archivist/Payload/Schema/Api.d.ts +8 -8
- package/dist/cjs/Archivist/Payload/Schema/Api.js +13 -13
- package/dist/cjs/Archivist/Payload/Schema/index.d.ts +1 -1
- package/dist/cjs/Archivist/Payload/Schema/index.js +4 -4
- package/dist/cjs/Archivist/Payload/index.d.ts +2 -2
- package/dist/cjs/Archivist/Payload/index.js +5 -5
- package/dist/cjs/Archivist/index.d.ts +6 -6
- package/dist/cjs/Archivist/index.js +9 -9
- package/dist/cjs/Base.d.ts +33 -33
- package/dist/cjs/Base.js +146 -146
- package/dist/cjs/Diviner/LocationDiviner/LocationDivinerApi.d.ts +11 -11
- package/dist/cjs/Diviner/LocationDiviner/LocationDivinerApi.js +27 -27
- package/dist/cjs/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.d.ts +9 -9
- package/dist/cjs/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.js +23 -23
- package/dist/cjs/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapPointProperties.d.ts +4 -4
- package/dist/cjs/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapPointProperties.js +2 -2
- package/dist/cjs/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.d.ts +11 -11
- package/dist/cjs/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.js +9 -9
- package/dist/cjs/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/index.d.ts +2 -2
- package/dist/cjs/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/index.js +5 -5
- package/dist/cjs/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.d.ts +11 -11
- package/dist/cjs/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.js +9 -9
- package/dist/cjs/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/index.d.ts +1 -1
- package/dist/cjs/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/index.js +4 -4
- package/dist/cjs/Diviner/LocationDiviner/Queries/LocationQueryCreationRequest.d.ts +17 -17
- package/dist/cjs/Diviner/LocationDiviner/Queries/LocationQueryCreationRequest.js +2 -2
- package/dist/cjs/Diviner/LocationDiviner/Queries/LocationQueryCreationResponse.d.ts +4 -4
- package/dist/cjs/Diviner/LocationDiviner/Queries/LocationQueryCreationResponse.js +2 -2
- package/dist/cjs/Diviner/LocationDiviner/Queries/LocationQuerySchema.d.ts +5 -5
- package/dist/cjs/Diviner/LocationDiviner/Queries/LocationQuerySchema.js +12 -12
- package/dist/cjs/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangePointProperties.d.ts +7 -7
- package/dist/cjs/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangePointProperties.js +2 -2
- package/dist/cjs/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.d.ts +11 -11
- package/dist/cjs/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.js +9 -9
- package/dist/cjs/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/index.d.ts +2 -2
- package/dist/cjs/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/index.js +5 -5
- package/dist/cjs/Diviner/LocationDiviner/Queries/index.d.ts +6 -6
- package/dist/cjs/Diviner/LocationDiviner/Queries/index.js +9 -9
- package/dist/cjs/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.d.ts +13 -13
- package/dist/cjs/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.js +4 -4
- package/dist/cjs/Diviner/LocationDiviner/Witnesses/LocationWitness.d.ts +21 -21
- package/dist/cjs/Diviner/LocationDiviner/Witnesses/LocationWitness.js +4 -4
- package/dist/cjs/Diviner/LocationDiviner/Witnesses/index.d.ts +2 -2
- package/dist/cjs/Diviner/LocationDiviner/Witnesses/index.js +5 -5
- package/dist/cjs/Diviner/LocationDiviner/index.d.ts +4 -4
- package/dist/cjs/Diviner/LocationDiviner/index.js +7 -7
- package/dist/cjs/Diviner/LocationDiviner/models.d.ts +4 -4
- package/dist/cjs/Diviner/LocationDiviner/models.js +2 -2
- package/dist/cjs/Diviner/index.d.ts +1 -1
- package/dist/cjs/Diviner/index.js +4 -4
- package/dist/cjs/Simple.d.ts +21 -21
- package/dist/cjs/Simple.js +59 -59
- package/dist/cjs/Test/index.d.ts +2 -2
- package/dist/cjs/Test/index.js +5 -5
- package/dist/cjs/Test/testBoundWitness.d.ts +3 -3
- package/dist/cjs/Test/testBoundWitness.js +16 -16
- package/dist/cjs/Test/testPayload.d.ts +4 -4
- package/dist/cjs/Test/testPayload.js +18 -18
- package/dist/cjs/User/Api.d.ts +31 -31
- package/dist/cjs/User/Api.js +24 -24
- package/dist/cjs/User/index.d.ts +1 -1
- package/dist/cjs/User/index.js +4 -4
- package/dist/cjs/WithArchive.d.ts +3 -3
- package/dist/cjs/WithArchive.js +2 -2
- package/dist/cjs/index.d.ts +7 -7
- package/dist/cjs/index.js +10 -10
- package/dist/cjs/models/Api/Config.d.ts +24 -24
- package/dist/cjs/models/Api/Config.js +2 -2
- package/dist/cjs/models/Api/Envelope.d.ts +14 -14
- package/dist/cjs/models/Api/Envelope.js +2 -2
- package/dist/cjs/models/Api/Error.d.ts +4 -4
- package/dist/cjs/models/Api/Error.js +2 -2
- package/dist/cjs/models/Api/Reportable.d.ts +7 -7
- package/dist/cjs/models/Api/Reportable.js +2 -2
- package/dist/cjs/models/Api/Response.d.ts +7 -7
- package/dist/cjs/models/Api/Response.js +2 -2
- package/dist/cjs/models/Api/Warning.d.ts +1 -1
- package/dist/cjs/models/Api/Warning.js +2 -2
- package/dist/cjs/models/Api/index.d.ts +6 -6
- package/dist/cjs/models/Api/index.js +9 -9
- package/dist/cjs/models/Archive.d.ts +24 -24
- package/dist/cjs/models/Archive.js +2 -2
- package/dist/cjs/models/ArchiveKey.d.ts +5 -5
- package/dist/cjs/models/ArchiveKey.js +2 -2
- package/dist/cjs/models/ArchivePath.d.ts +3 -3
- package/dist/cjs/models/ArchivePath.js +2 -2
- package/dist/cjs/models/index.d.ts +4 -4
- package/dist/cjs/models/index.js +7 -7
- package/dist/cjs/objToQuery.d.ts +1 -1
- package/dist/cjs/objToQuery.js +12 -12
- package/dist/docs.json +1 -44449
- package/dist/esm/Archivist/Account/Api.d.ts +18 -18
- package/dist/esm/Archivist/Account/Api.js +16 -16
- package/dist/esm/Archivist/Account/index.d.ts +1 -1
- package/dist/esm/Archivist/Account/index.js +1 -1
- package/dist/esm/Archivist/Api.d.ts +34 -34
- package/dist/esm/Archivist/Api.js +82 -82
- package/dist/esm/Archivist/Archive/Api.d.ts +18 -18
- package/dist/esm/Archivist/Archive/Api.js +50 -50
- package/dist/esm/Archivist/Archive/Schema/Api.d.ts +7 -7
- package/dist/esm/Archivist/Archive/Schema/Api.js +13 -13
- package/dist/esm/Archivist/Archive/Schema/index.d.ts +1 -1
- package/dist/esm/Archivist/Archive/Schema/index.js +1 -1
- package/dist/esm/Archivist/Archive/Schemas/Api.d.ts +6 -6
- package/dist/esm/Archivist/Archive/Schemas/Api.js +12 -12
- package/dist/esm/Archivist/Archive/Schemas/index.d.ts +1 -1
- package/dist/esm/Archivist/Archive/Schemas/index.js +1 -1
- package/dist/esm/Archivist/Archive/Settings/Api.d.ts +6 -6
- package/dist/esm/Archivist/Archive/Settings/Api.js +13 -13
- package/dist/esm/Archivist/Archive/Settings/Key/Api.d.ts +5 -5
- package/dist/esm/Archivist/Archive/Settings/Key/Api.js +9 -9
- package/dist/esm/Archivist/Archive/Settings/Key/index.d.ts +1 -1
- package/dist/esm/Archivist/Archive/Settings/Key/index.js +1 -1
- package/dist/esm/Archivist/Archive/Settings/index.d.ts +2 -2
- package/dist/esm/Archivist/Archive/Settings/index.js +2 -2
- package/dist/esm/Archivist/Archive/index.d.ts +4 -4
- package/dist/esm/Archivist/Archive/index.js +4 -4
- package/dist/esm/Archivist/Archives/Api.d.ts +8 -8
- package/dist/esm/Archivist/Archives/Api.js +14 -14
- package/dist/esm/Archivist/Archives/index.d.ts +1 -1
- package/dist/esm/Archivist/Archives/index.js +1 -1
- package/dist/esm/Archivist/Block/Api.d.ts +8 -8
- package/dist/esm/Archivist/Block/Api.js +10 -10
- package/dist/esm/Archivist/Block/index.d.ts +1 -1
- package/dist/esm/Archivist/Block/index.js +1 -1
- package/dist/esm/Archivist/Node/Api.d.ts +28 -20
- package/dist/esm/Archivist/Node/Api.js +66 -52
- package/dist/esm/Archivist/Node/Api.js.map +1 -1
- package/dist/esm/Archivist/Node/index.d.ts +1 -1
- package/dist/esm/Archivist/Node/index.js +1 -1
- package/dist/esm/Archivist/Payload/Api.d.ts +40 -40
- package/dist/esm/Archivist/Payload/Api.js +67 -67
- package/dist/esm/Archivist/Payload/Schema/Api.d.ts +8 -8
- package/dist/esm/Archivist/Payload/Schema/Api.js +12 -12
- package/dist/esm/Archivist/Payload/Schema/index.d.ts +1 -1
- package/dist/esm/Archivist/Payload/Schema/index.js +1 -1
- package/dist/esm/Archivist/Payload/index.d.ts +2 -2
- package/dist/esm/Archivist/Payload/index.js +2 -2
- package/dist/esm/Archivist/index.d.ts +6 -6
- package/dist/esm/Archivist/index.js +6 -6
- package/dist/esm/Base.d.ts +33 -33
- package/dist/esm/Base.js +128 -128
- package/dist/esm/Diviner/LocationDiviner/LocationDivinerApi.d.ts +11 -11
- package/dist/esm/Diviner/LocationDiviner/LocationDivinerApi.js +19 -19
- package/dist/esm/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.d.ts +9 -9
- package/dist/esm/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.js +17 -17
- package/dist/esm/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapPointProperties.d.ts +4 -4
- package/dist/esm/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapPointProperties.js +1 -1
- package/dist/esm/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.d.ts +11 -11
- package/dist/esm/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.js +5 -5
- package/dist/esm/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/index.d.ts +2 -2
- package/dist/esm/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/index.js +2 -2
- package/dist/esm/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.d.ts +11 -11
- package/dist/esm/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.js +5 -5
- package/dist/esm/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/index.d.ts +1 -1
- package/dist/esm/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/index.js +1 -1
- package/dist/esm/Diviner/LocationDiviner/Queries/LocationQueryCreationRequest.d.ts +17 -17
- package/dist/esm/Diviner/LocationDiviner/Queries/LocationQueryCreationRequest.js +1 -1
- package/dist/esm/Diviner/LocationDiviner/Queries/LocationQueryCreationResponse.d.ts +4 -4
- package/dist/esm/Diviner/LocationDiviner/Queries/LocationQueryCreationResponse.js +1 -1
- package/dist/esm/Diviner/LocationDiviner/Queries/LocationQuerySchema.d.ts +5 -5
- package/dist/esm/Diviner/LocationDiviner/Queries/LocationQuerySchema.js +8 -8
- package/dist/esm/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangePointProperties.d.ts +7 -7
- package/dist/esm/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangePointProperties.js +1 -1
- package/dist/esm/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.d.ts +11 -11
- package/dist/esm/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.js +5 -5
- package/dist/esm/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/index.d.ts +2 -2
- package/dist/esm/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/index.js +2 -2
- package/dist/esm/Diviner/LocationDiviner/Queries/index.d.ts +6 -6
- package/dist/esm/Diviner/LocationDiviner/Queries/index.js +6 -6
- package/dist/esm/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.d.ts +13 -13
- package/dist/esm/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.js +1 -1
- package/dist/esm/Diviner/LocationDiviner/Witnesses/LocationWitness.d.ts +21 -21
- package/dist/esm/Diviner/LocationDiviner/Witnesses/LocationWitness.js +1 -1
- package/dist/esm/Diviner/LocationDiviner/Witnesses/index.d.ts +2 -2
- package/dist/esm/Diviner/LocationDiviner/Witnesses/index.js +2 -2
- package/dist/esm/Diviner/LocationDiviner/index.d.ts +4 -4
- package/dist/esm/Diviner/LocationDiviner/index.js +4 -4
- package/dist/esm/Diviner/LocationDiviner/models.d.ts +4 -4
- package/dist/esm/Diviner/LocationDiviner/models.js +1 -1
- package/dist/esm/Diviner/index.d.ts +1 -1
- package/dist/esm/Diviner/index.js +1 -1
- package/dist/esm/Simple.d.ts +21 -21
- package/dist/esm/Simple.js +44 -44
- package/dist/esm/Test/index.d.ts +2 -2
- package/dist/esm/Test/index.js +2 -2
- package/dist/esm/Test/testBoundWitness.d.ts +3 -3
- package/dist/esm/Test/testBoundWitness.js +13 -13
- package/dist/esm/Test/testPayload.d.ts +4 -4
- package/dist/esm/Test/testPayload.js +14 -14
- package/dist/esm/User/Api.d.ts +31 -31
- package/dist/esm/User/Api.js +26 -26
- package/dist/esm/User/index.d.ts +1 -1
- package/dist/esm/User/index.js +1 -1
- package/dist/esm/WithArchive.d.ts +3 -3
- package/dist/esm/WithArchive.js +1 -1
- package/dist/esm/index.d.ts +7 -7
- package/dist/esm/index.js +7 -7
- package/dist/esm/models/Api/Config.d.ts +24 -24
- package/dist/esm/models/Api/Config.js +1 -1
- package/dist/esm/models/Api/Envelope.d.ts +14 -14
- package/dist/esm/models/Api/Envelope.js +1 -1
- package/dist/esm/models/Api/Error.d.ts +4 -4
- package/dist/esm/models/Api/Error.js +1 -1
- package/dist/esm/models/Api/Reportable.d.ts +7 -7
- package/dist/esm/models/Api/Reportable.js +1 -1
- package/dist/esm/models/Api/Response.d.ts +7 -7
- package/dist/esm/models/Api/Response.js +1 -1
- package/dist/esm/models/Api/Warning.d.ts +1 -1
- package/dist/esm/models/Api/Warning.js +1 -1
- package/dist/esm/models/Api/index.d.ts +6 -6
- package/dist/esm/models/Api/index.js +6 -6
- package/dist/esm/models/Archive.d.ts +24 -24
- package/dist/esm/models/Archive.js +1 -1
- package/dist/esm/models/ArchiveKey.d.ts +5 -5
- package/dist/esm/models/ArchiveKey.js +1 -1
- package/dist/esm/models/ArchivePath.d.ts +3 -3
- package/dist/esm/models/ArchivePath.js +1 -1
- package/dist/esm/models/index.d.ts +4 -4
- package/dist/esm/models/index.js +4 -4
- package/dist/esm/objToQuery.d.ts +1 -1
- package/dist/esm/objToQuery.js +8 -8
- package/package.json +7 -16
- package/src/Archivist/ApiUtil.spec.ts +7 -1
- package/src/Archivist/Node/Api.spec.ts +14 -6
- package/src/Archivist/Node/Api.ts +18 -4
- package/src/Archivist/Payload/Api.spec.ts +8 -5
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=LocationHeatmapPointProperties.js.map
|
package/dist/cjs/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { LocationWitnessPayloadSchema } from '../../Witnesses';
|
|
2
|
-
export declare type LocationHeatmapQuerySchema = 'network.xyo.location.heatmap.query';
|
|
3
|
-
export declare const locationHeatmapQuerySchema: LocationHeatmapQuerySchema;
|
|
4
|
-
export declare type LocationHeatmapAnswerSchema = 'network.xyo.location.heatmap.answer';
|
|
5
|
-
export declare const locationHeatmapAnswerSchema: LocationHeatmapAnswerSchema;
|
|
6
|
-
export declare type LocationHeatmapQuery = {
|
|
7
|
-
startTime?: string;
|
|
8
|
-
stopTime?: string;
|
|
9
|
-
schema: LocationWitnessPayloadSchema;
|
|
10
|
-
};
|
|
11
|
-
export declare const isLocationHeatmapQuery: (query: Record<string, unknown>) => query is LocationHeatmapQuery;
|
|
1
|
+
import { LocationWitnessPayloadSchema } from '../../Witnesses';
|
|
2
|
+
export declare type LocationHeatmapQuerySchema = 'network.xyo.location.heatmap.query';
|
|
3
|
+
export declare const locationHeatmapQuerySchema: LocationHeatmapQuerySchema;
|
|
4
|
+
export declare type LocationHeatmapAnswerSchema = 'network.xyo.location.heatmap.answer';
|
|
5
|
+
export declare const locationHeatmapAnswerSchema: LocationHeatmapAnswerSchema;
|
|
6
|
+
export declare type LocationHeatmapQuery = {
|
|
7
|
+
startTime?: string;
|
|
8
|
+
stopTime?: string;
|
|
9
|
+
schema: LocationWitnessPayloadSchema;
|
|
10
|
+
};
|
|
11
|
+
export declare const isLocationHeatmapQuery: (query: Record<string, unknown>) => query is LocationHeatmapQuery;
|
package/dist/cjs/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.isLocationHeatmapQuery = exports.locationHeatmapAnswerSchema = exports.locationHeatmapQuerySchema = void 0;
|
|
4
|
-
exports.locationHeatmapQuerySchema = 'network.xyo.location.heatmap.query';
|
|
5
|
-
exports.locationHeatmapAnswerSchema = 'network.xyo.location.heatmap.answer';
|
|
6
|
-
const isLocationHeatmapQuery = (query) => {
|
|
7
|
-
return query && (query === null || query === void 0 ? void 0 : query.schema) === exports.locationHeatmapQuerySchema;
|
|
8
|
-
};
|
|
9
|
-
exports.isLocationHeatmapQuery = isLocationHeatmapQuery;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.isLocationHeatmapQuery = exports.locationHeatmapAnswerSchema = exports.locationHeatmapQuerySchema = void 0;
|
|
4
|
+
exports.locationHeatmapQuerySchema = 'network.xyo.location.heatmap.query';
|
|
5
|
+
exports.locationHeatmapAnswerSchema = 'network.xyo.location.heatmap.answer';
|
|
6
|
+
const isLocationHeatmapQuery = (query) => {
|
|
7
|
+
return query && (query === null || query === void 0 ? void 0 : query.schema) === exports.locationHeatmapQuerySchema;
|
|
8
|
+
};
|
|
9
|
+
exports.isLocationHeatmapQuery = isLocationHeatmapQuery;
|
|
10
10
|
//# sourceMappingURL=LocationHeatmapQuery.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './LocationHeatmapPointProperties';
|
|
2
|
-
export * from './LocationHeatmapQuery';
|
|
1
|
+
export * from './LocationHeatmapPointProperties';
|
|
2
|
+
export * from './LocationHeatmapQuery';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./LocationHeatmapPointProperties"), exports);
|
|
5
|
-
tslib_1.__exportStar(require("./LocationHeatmapQuery"), exports);
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./LocationHeatmapPointProperties"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./LocationHeatmapQuery"), exports);
|
|
6
6
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { LocationWitnessPayloadSchema } from '../../Witnesses';
|
|
2
|
-
export declare type LocationQuadkeyHeatmapQuerySchema = 'network.xyo.location.heatmap.quadkey.query';
|
|
3
|
-
export declare const locationQuadkeyHeatmapQuerySchema: LocationQuadkeyHeatmapQuerySchema;
|
|
4
|
-
export declare type LocationQuadkeyHeatmapAnswerSchema = 'network.xyo.location.heatmap.quadkey.answer';
|
|
5
|
-
export declare const locationQuadkeyHeatmapAnswerSchema: LocationQuadkeyHeatmapAnswerSchema;
|
|
6
|
-
export declare type LocationQuadkeyHeatmapQuery = {
|
|
7
|
-
startTime?: string;
|
|
8
|
-
stopTime?: string;
|
|
9
|
-
schema: LocationWitnessPayloadSchema;
|
|
10
|
-
};
|
|
11
|
-
export declare const isLocationQuadkeyHeatmapQuery: (query: Record<string, unknown>) => query is LocationQuadkeyHeatmapQuery;
|
|
1
|
+
import { LocationWitnessPayloadSchema } from '../../Witnesses';
|
|
2
|
+
export declare type LocationQuadkeyHeatmapQuerySchema = 'network.xyo.location.heatmap.quadkey.query';
|
|
3
|
+
export declare const locationQuadkeyHeatmapQuerySchema: LocationQuadkeyHeatmapQuerySchema;
|
|
4
|
+
export declare type LocationQuadkeyHeatmapAnswerSchema = 'network.xyo.location.heatmap.quadkey.answer';
|
|
5
|
+
export declare const locationQuadkeyHeatmapAnswerSchema: LocationQuadkeyHeatmapAnswerSchema;
|
|
6
|
+
export declare type LocationQuadkeyHeatmapQuery = {
|
|
7
|
+
startTime?: string;
|
|
8
|
+
stopTime?: string;
|
|
9
|
+
schema: LocationWitnessPayloadSchema;
|
|
10
|
+
};
|
|
11
|
+
export declare const isLocationQuadkeyHeatmapQuery: (query: Record<string, unknown>) => query is LocationQuadkeyHeatmapQuery;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.isLocationQuadkeyHeatmapQuery = exports.locationQuadkeyHeatmapAnswerSchema = exports.locationQuadkeyHeatmapQuerySchema = void 0;
|
|
4
|
-
exports.locationQuadkeyHeatmapQuerySchema = 'network.xyo.location.heatmap.quadkey.query';
|
|
5
|
-
exports.locationQuadkeyHeatmapAnswerSchema = 'network.xyo.location.heatmap.quadkey.answer';
|
|
6
|
-
const isLocationQuadkeyHeatmapQuery = (query) => {
|
|
7
|
-
return query && (query === null || query === void 0 ? void 0 : query.schema) === exports.locationQuadkeyHeatmapQuerySchema;
|
|
8
|
-
};
|
|
9
|
-
exports.isLocationQuadkeyHeatmapQuery = isLocationQuadkeyHeatmapQuery;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.isLocationQuadkeyHeatmapQuery = exports.locationQuadkeyHeatmapAnswerSchema = exports.locationQuadkeyHeatmapQuerySchema = void 0;
|
|
4
|
+
exports.locationQuadkeyHeatmapQuerySchema = 'network.xyo.location.heatmap.quadkey.query';
|
|
5
|
+
exports.locationQuadkeyHeatmapAnswerSchema = 'network.xyo.location.heatmap.quadkey.answer';
|
|
6
|
+
const isLocationQuadkeyHeatmapQuery = (query) => {
|
|
7
|
+
return query && (query === null || query === void 0 ? void 0 : query.schema) === exports.locationQuadkeyHeatmapQuerySchema;
|
|
8
|
+
};
|
|
9
|
+
exports.isLocationQuadkeyHeatmapQuery = isLocationQuadkeyHeatmapQuery;
|
|
10
10
|
//# sourceMappingURL=LocationQuadkeyHeatmapQuery.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './LocationQuadkeyHeatmapQuery';
|
|
1
|
+
export * from './LocationQuadkeyHeatmapQuery';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./LocationQuadkeyHeatmapQuery"), exports);
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./LocationQuadkeyHeatmapQuery"), exports);
|
|
5
5
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { XyoApiConfig } from '../../../models';
|
|
2
|
-
import { LocationHeatmapQuery, LocationHeatmapQuerySchema } from './LocationHeatmapQuery';
|
|
3
|
-
import { LocationQuadkeyHeatmapQuery, LocationQuadkeyHeatmapQuerySchema } from './LocationQuadkeyHeatmapQuery';
|
|
4
|
-
import { LocationQuerySchema } from './LocationQuerySchema';
|
|
5
|
-
import { LocationTimeRangeQuery, LocationTimeRangeQuerySchema } from './LocationTimeRangeQuery';
|
|
6
|
-
export interface LocationQueryCreationRequest<TSchema extends LocationQuerySchema = LocationQuerySchema, TQuery extends Record<string, unknown> = Record<string, unknown>> {
|
|
7
|
-
sourceArchivist: XyoApiConfig;
|
|
8
|
-
sourceArchive: string;
|
|
9
|
-
resultArchivist: XyoApiConfig;
|
|
10
|
-
resultArchive: string;
|
|
11
|
-
schema: TSchema;
|
|
12
|
-
query: TQuery;
|
|
13
|
-
}
|
|
14
|
-
export declare type LocationTimeRangeQueryCreationRequest = LocationQueryCreationRequest<LocationTimeRangeQuerySchema, LocationTimeRangeQuery>;
|
|
15
|
-
export declare type LocationHeatmapQueryCreationRequest = LocationQueryCreationRequest<LocationHeatmapQuerySchema, LocationHeatmapQuery>;
|
|
16
|
-
export declare type LocationQuadkeyHeatmapQueryCreationRequest = LocationQueryCreationRequest<LocationQuadkeyHeatmapQuerySchema, LocationQuadkeyHeatmapQuery>;
|
|
17
|
-
export declare type SupportedLocationQueryCreationRequest = LocationTimeRangeQueryCreationRequest | LocationHeatmapQueryCreationRequest | LocationQuadkeyHeatmapQueryCreationRequest;
|
|
1
|
+
import { XyoApiConfig } from '../../../models';
|
|
2
|
+
import { LocationHeatmapQuery, LocationHeatmapQuerySchema } from './LocationHeatmapQuery';
|
|
3
|
+
import { LocationQuadkeyHeatmapQuery, LocationQuadkeyHeatmapQuerySchema } from './LocationQuadkeyHeatmapQuery';
|
|
4
|
+
import { LocationQuerySchema } from './LocationQuerySchema';
|
|
5
|
+
import { LocationTimeRangeQuery, LocationTimeRangeQuerySchema } from './LocationTimeRangeQuery';
|
|
6
|
+
export interface LocationQueryCreationRequest<TSchema extends LocationQuerySchema = LocationQuerySchema, TQuery extends Record<string, unknown> = Record<string, unknown>> {
|
|
7
|
+
sourceArchivist: XyoApiConfig;
|
|
8
|
+
sourceArchive: string;
|
|
9
|
+
resultArchivist: XyoApiConfig;
|
|
10
|
+
resultArchive: string;
|
|
11
|
+
schema: TSchema;
|
|
12
|
+
query: TQuery;
|
|
13
|
+
}
|
|
14
|
+
export declare type LocationTimeRangeQueryCreationRequest = LocationQueryCreationRequest<LocationTimeRangeQuerySchema, LocationTimeRangeQuery>;
|
|
15
|
+
export declare type LocationHeatmapQueryCreationRequest = LocationQueryCreationRequest<LocationHeatmapQuerySchema, LocationHeatmapQuery>;
|
|
16
|
+
export declare type LocationQuadkeyHeatmapQueryCreationRequest = LocationQueryCreationRequest<LocationQuadkeyHeatmapQuerySchema, LocationQuadkeyHeatmapQuery>;
|
|
17
|
+
export declare type SupportedLocationQueryCreationRequest = LocationTimeRangeQueryCreationRequest | LocationHeatmapQueryCreationRequest | LocationQuadkeyHeatmapQueryCreationRequest;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=LocationQueryCreationRequest.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { LocationQueryCreationRequest } from './LocationQueryCreationRequest';
|
|
2
|
-
export interface LocationQueryCreationResponse extends LocationQueryCreationRequest {
|
|
3
|
-
hash: string;
|
|
4
|
-
}
|
|
1
|
+
import { LocationQueryCreationRequest } from './LocationQueryCreationRequest';
|
|
2
|
+
export interface LocationQueryCreationResponse extends LocationQueryCreationRequest {
|
|
3
|
+
hash: string;
|
|
4
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=LocationQueryCreationResponse.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { LocationHeatmapQuerySchema } from './LocationHeatmapQuery';
|
|
2
|
-
import { LocationQuadkeyHeatmapQuerySchema } from './LocationQuadkeyHeatmapQuery';
|
|
3
|
-
import { LocationTimeRangeQuerySchema } from './LocationTimeRangeQuery';
|
|
4
|
-
export declare type LocationQuerySchema = LocationQuadkeyHeatmapQuerySchema | LocationHeatmapQuerySchema | LocationTimeRangeQuerySchema;
|
|
5
|
-
export declare const isSupportedLocationQuerySchema: (schema: string) => schema is LocationQuerySchema;
|
|
1
|
+
import { LocationHeatmapQuerySchema } from './LocationHeatmapQuery';
|
|
2
|
+
import { LocationQuadkeyHeatmapQuerySchema } from './LocationQuadkeyHeatmapQuery';
|
|
3
|
+
import { LocationTimeRangeQuerySchema } from './LocationTimeRangeQuery';
|
|
4
|
+
export declare type LocationQuerySchema = LocationQuadkeyHeatmapQuerySchema | LocationHeatmapQuerySchema | LocationTimeRangeQuerySchema;
|
|
5
|
+
export declare const isSupportedLocationQuerySchema: (schema: string) => schema is LocationQuerySchema;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.isSupportedLocationQuerySchema = void 0;
|
|
4
|
-
const locationQuerySchemas = {
|
|
5
|
-
'network.xyo.location.heatmap.quadkey.query': true,
|
|
6
|
-
'network.xyo.location.heatmap.query': true,
|
|
7
|
-
'network.xyo.location.range.query': true,
|
|
8
|
-
};
|
|
9
|
-
const isSupportedLocationQuerySchema = (schema) => {
|
|
10
|
-
return locationQuerySchemas[schema] || false;
|
|
11
|
-
};
|
|
12
|
-
exports.isSupportedLocationQuerySchema = isSupportedLocationQuerySchema;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.isSupportedLocationQuerySchema = void 0;
|
|
4
|
+
const locationQuerySchemas = {
|
|
5
|
+
'network.xyo.location.heatmap.quadkey.query': true,
|
|
6
|
+
'network.xyo.location.heatmap.query': true,
|
|
7
|
+
'network.xyo.location.range.query': true,
|
|
8
|
+
};
|
|
9
|
+
const isSupportedLocationQuerySchema = (schema) => {
|
|
10
|
+
return locationQuerySchemas[schema] || false;
|
|
11
|
+
};
|
|
12
|
+
exports.isSupportedLocationQuerySchema = isSupportedLocationQuerySchema;
|
|
13
13
|
//# sourceMappingURL=LocationQuerySchema.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { LocationWitnessPayloadSchema } from '../../Witnesses';
|
|
2
|
-
export interface LocationTimeRangePointProperties {
|
|
3
|
-
schema: LocationWitnessPayloadSchema;
|
|
4
|
-
_archive: string;
|
|
5
|
-
_client: string;
|
|
6
|
-
_timestamp: number;
|
|
7
|
-
}
|
|
1
|
+
import { LocationWitnessPayloadSchema } from '../../Witnesses';
|
|
2
|
+
export interface LocationTimeRangePointProperties {
|
|
3
|
+
schema: LocationWitnessPayloadSchema;
|
|
4
|
+
_archive: string;
|
|
5
|
+
_client: string;
|
|
6
|
+
_timestamp: number;
|
|
7
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=LocationTimeRangePointProperties.js.map
|
package/dist/cjs/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { LocationWitnessPayloadSchema } from '../../Witnesses';
|
|
2
|
-
export declare type LocationTimeRangeQuerySchema = 'network.xyo.location.range.query';
|
|
3
|
-
export declare const locationTimeRangeQuerySchema = "network.xyo.location.range.query";
|
|
4
|
-
export declare type LocationTimeRangeAnswerSchema = 'network.xyo.location.range.answer';
|
|
5
|
-
export declare const locationTimeRangeAnswerSchema = "network.xyo.location.range.answer";
|
|
6
|
-
export declare type LocationTimeRangeQuery = {
|
|
7
|
-
startTime?: string;
|
|
8
|
-
stopTime?: string;
|
|
9
|
-
schema: LocationWitnessPayloadSchema;
|
|
10
|
-
};
|
|
11
|
-
export declare const isLocationTimeRangeQuery: (query: Record<string, unknown>) => query is LocationTimeRangeQuery;
|
|
1
|
+
import { LocationWitnessPayloadSchema } from '../../Witnesses';
|
|
2
|
+
export declare type LocationTimeRangeQuerySchema = 'network.xyo.location.range.query';
|
|
3
|
+
export declare const locationTimeRangeQuerySchema = "network.xyo.location.range.query";
|
|
4
|
+
export declare type LocationTimeRangeAnswerSchema = 'network.xyo.location.range.answer';
|
|
5
|
+
export declare const locationTimeRangeAnswerSchema = "network.xyo.location.range.answer";
|
|
6
|
+
export declare type LocationTimeRangeQuery = {
|
|
7
|
+
startTime?: string;
|
|
8
|
+
stopTime?: string;
|
|
9
|
+
schema: LocationWitnessPayloadSchema;
|
|
10
|
+
};
|
|
11
|
+
export declare const isLocationTimeRangeQuery: (query: Record<string, unknown>) => query is LocationTimeRangeQuery;
|
package/dist/cjs/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.isLocationTimeRangeQuery = exports.locationTimeRangeAnswerSchema = exports.locationTimeRangeQuerySchema = void 0;
|
|
4
|
-
exports.locationTimeRangeQuerySchema = 'network.xyo.location.range.query';
|
|
5
|
-
exports.locationTimeRangeAnswerSchema = 'network.xyo.location.range.answer';
|
|
6
|
-
const isLocationTimeRangeQuery = (query) => {
|
|
7
|
-
return query && (query === null || query === void 0 ? void 0 : query.schema) === exports.locationTimeRangeQuerySchema;
|
|
8
|
-
};
|
|
9
|
-
exports.isLocationTimeRangeQuery = isLocationTimeRangeQuery;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.isLocationTimeRangeQuery = exports.locationTimeRangeAnswerSchema = exports.locationTimeRangeQuerySchema = void 0;
|
|
4
|
+
exports.locationTimeRangeQuerySchema = 'network.xyo.location.range.query';
|
|
5
|
+
exports.locationTimeRangeAnswerSchema = 'network.xyo.location.range.answer';
|
|
6
|
+
const isLocationTimeRangeQuery = (query) => {
|
|
7
|
+
return query && (query === null || query === void 0 ? void 0 : query.schema) === exports.locationTimeRangeQuerySchema;
|
|
8
|
+
};
|
|
9
|
+
exports.isLocationTimeRangeQuery = isLocationTimeRangeQuery;
|
|
10
10
|
//# sourceMappingURL=LocationTimeRangeQuery.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './LocationTimeRangePointProperties';
|
|
2
|
-
export * from './LocationTimeRangeQuery';
|
|
1
|
+
export * from './LocationTimeRangePointProperties';
|
|
2
|
+
export * from './LocationTimeRangeQuery';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./LocationTimeRangePointProperties"), exports);
|
|
5
|
-
tslib_1.__exportStar(require("./LocationTimeRangeQuery"), exports);
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./LocationTimeRangePointProperties"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./LocationTimeRangeQuery"), exports);
|
|
6
6
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * from './LocationHeatmapQuery';
|
|
2
|
-
export * from './LocationQuadkeyHeatmapQuery';
|
|
3
|
-
export * from './LocationQueryCreationRequest';
|
|
4
|
-
export * from './LocationQueryCreationResponse';
|
|
5
|
-
export * from './LocationQuerySchema';
|
|
6
|
-
export * from './LocationTimeRangeQuery';
|
|
1
|
+
export * from './LocationHeatmapQuery';
|
|
2
|
+
export * from './LocationQuadkeyHeatmapQuery';
|
|
3
|
+
export * from './LocationQueryCreationRequest';
|
|
4
|
+
export * from './LocationQueryCreationResponse';
|
|
5
|
+
export * from './LocationQuerySchema';
|
|
6
|
+
export * from './LocationTimeRangeQuery';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./LocationHeatmapQuery"), exports);
|
|
5
|
-
tslib_1.__exportStar(require("./LocationQuadkeyHeatmapQuery"), exports);
|
|
6
|
-
tslib_1.__exportStar(require("./LocationQueryCreationRequest"), exports);
|
|
7
|
-
tslib_1.__exportStar(require("./LocationQueryCreationResponse"), exports);
|
|
8
|
-
tslib_1.__exportStar(require("./LocationQuerySchema"), exports);
|
|
9
|
-
tslib_1.__exportStar(require("./LocationTimeRangeQuery"), exports);
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./LocationHeatmapQuery"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./LocationQuadkeyHeatmapQuery"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./LocationQueryCreationRequest"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./LocationQueryCreationResponse"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./LocationQuerySchema"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./LocationTimeRangeQuery"), exports);
|
|
10
10
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { WithXyoPayloadMeta, XyoPayloadBody } from '@xyo-network/core';
|
|
2
|
-
export declare const currentLocationWitnessPayloadSchema = "co.coinapp.currentlocationwitness";
|
|
3
|
-
export declare type CurrentLocationWitnessPayloadSchema = 'co.coinapp.currentlocationwitness';
|
|
4
|
-
export interface CurrentLocationWitnessPayloadBody extends XyoPayloadBody {
|
|
5
|
-
altitudeMeters: number;
|
|
6
|
-
directionDegrees: number;
|
|
7
|
-
latitude: number;
|
|
8
|
-
longitude: number;
|
|
9
|
-
quadkey: string;
|
|
10
|
-
schema: CurrentLocationWitnessPayloadSchema;
|
|
11
|
-
speedKph: number;
|
|
12
|
-
}
|
|
13
|
-
export declare type CurrentLocationWitnessPayload = WithXyoPayloadMeta<CurrentLocationWitnessPayloadBody>;
|
|
1
|
+
import { WithXyoPayloadMeta, XyoPayloadBody } from '@xyo-network/core';
|
|
2
|
+
export declare const currentLocationWitnessPayloadSchema = "co.coinapp.currentlocationwitness";
|
|
3
|
+
export declare type CurrentLocationWitnessPayloadSchema = 'co.coinapp.currentlocationwitness';
|
|
4
|
+
export interface CurrentLocationWitnessPayloadBody extends XyoPayloadBody {
|
|
5
|
+
altitudeMeters: number;
|
|
6
|
+
directionDegrees: number;
|
|
7
|
+
latitude: number;
|
|
8
|
+
longitude: number;
|
|
9
|
+
quadkey: string;
|
|
10
|
+
schema: CurrentLocationWitnessPayloadSchema;
|
|
11
|
+
speedKph: number;
|
|
12
|
+
}
|
|
13
|
+
export declare type CurrentLocationWitnessPayload = WithXyoPayloadMeta<CurrentLocationWitnessPayloadBody>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.currentLocationWitnessPayloadSchema = void 0;
|
|
4
|
-
exports.currentLocationWitnessPayloadSchema = 'co.coinapp.currentlocationwitness';
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.currentLocationWitnessPayloadSchema = void 0;
|
|
4
|
+
exports.currentLocationWitnessPayloadSchema = 'co.coinapp.currentlocationwitness';
|
|
5
5
|
//# sourceMappingURL=CurrentLocationWitness.js.map
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { WithXyoPayloadMeta, XyoPayloadBody } from '@xyo-network/core';
|
|
2
|
-
export declare const locationWitnessPayloadSchema: LocationWitnessPayloadSchema;
|
|
3
|
-
export declare type LocationWitnessPayloadSchema = 'network.xyo.location';
|
|
4
|
-
export interface Coordinates {
|
|
5
|
-
accuracy: number | null;
|
|
6
|
-
altitude: number | null;
|
|
7
|
-
altitudeAccuracy: number | null;
|
|
8
|
-
heading: number | null;
|
|
9
|
-
latitude: number;
|
|
10
|
-
longitude: number;
|
|
11
|
-
speed: number | null;
|
|
12
|
-
}
|
|
13
|
-
export interface CurrentLocation {
|
|
14
|
-
coords: Coordinates;
|
|
15
|
-
timestamp: number;
|
|
16
|
-
}
|
|
17
|
-
export interface LocationWitnessPayloadBody extends XyoPayloadBody {
|
|
18
|
-
currentLocation: CurrentLocation;
|
|
19
|
-
schema: LocationWitnessPayloadSchema;
|
|
20
|
-
}
|
|
21
|
-
export declare type LocationWitnessPayload = WithXyoPayloadMeta<LocationWitnessPayloadBody>;
|
|
1
|
+
import { WithXyoPayloadMeta, XyoPayloadBody } from '@xyo-network/core';
|
|
2
|
+
export declare const locationWitnessPayloadSchema: LocationWitnessPayloadSchema;
|
|
3
|
+
export declare type LocationWitnessPayloadSchema = 'network.xyo.location';
|
|
4
|
+
export interface Coordinates {
|
|
5
|
+
accuracy: number | null;
|
|
6
|
+
altitude: number | null;
|
|
7
|
+
altitudeAccuracy: number | null;
|
|
8
|
+
heading: number | null;
|
|
9
|
+
latitude: number;
|
|
10
|
+
longitude: number;
|
|
11
|
+
speed: number | null;
|
|
12
|
+
}
|
|
13
|
+
export interface CurrentLocation {
|
|
14
|
+
coords: Coordinates;
|
|
15
|
+
timestamp: number;
|
|
16
|
+
}
|
|
17
|
+
export interface LocationWitnessPayloadBody extends XyoPayloadBody {
|
|
18
|
+
currentLocation: CurrentLocation;
|
|
19
|
+
schema: LocationWitnessPayloadSchema;
|
|
20
|
+
}
|
|
21
|
+
export declare type LocationWitnessPayload = WithXyoPayloadMeta<LocationWitnessPayloadBody>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.locationWitnessPayloadSchema = void 0;
|
|
4
|
-
exports.locationWitnessPayloadSchema = 'network.xyo.location';
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.locationWitnessPayloadSchema = void 0;
|
|
4
|
+
exports.locationWitnessPayloadSchema = 'network.xyo.location';
|
|
5
5
|
//# sourceMappingURL=LocationWitness.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './CurrentLocationWitness';
|
|
2
|
-
export * from './LocationWitness';
|
|
1
|
+
export * from './CurrentLocationWitness';
|
|
2
|
+
export * from './LocationWitness';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./CurrentLocationWitness"), exports);
|
|
5
|
-
tslib_1.__exportStar(require("./LocationWitness"), exports);
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./CurrentLocationWitness"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./LocationWitness"), exports);
|
|
6
6
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './LocationDivinerApi';
|
|
2
|
-
export * from './models';
|
|
3
|
-
export * from './Queries';
|
|
4
|
-
export * from './Witnesses';
|
|
1
|
+
export * from './LocationDivinerApi';
|
|
2
|
+
export * from './models';
|
|
3
|
+
export * from './Queries';
|
|
4
|
+
export * from './Witnesses';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./LocationDivinerApi"), exports);
|
|
5
|
-
tslib_1.__exportStar(require("./models"), exports);
|
|
6
|
-
tslib_1.__exportStar(require("./Queries"), exports);
|
|
7
|
-
tslib_1.__exportStar(require("./Witnesses"), exports);
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./LocationDivinerApi"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./models"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./Queries"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./Witnesses"), exports);
|
|
8
8
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export interface GetLocationQueryResponse {
|
|
2
|
-
queryHash: string;
|
|
3
|
-
answerHash?: string;
|
|
4
|
-
}
|
|
1
|
+
export interface GetLocationQueryResponse {
|
|
2
|
+
queryHash: string;
|
|
3
|
+
answerHash?: string;
|
|
4
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=models.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './LocationDiviner';
|
|
1
|
+
export * from './LocationDiviner';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./LocationDiviner"), exports);
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./LocationDiviner"), exports);
|
|
5
5
|
//# sourceMappingURL=index.js.map
|
package/dist/cjs/Simple.d.ts
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { XyoPayload } from '@xyo-network/core';
|
|
2
|
-
import { XyoApiBase } from './Base';
|
|
3
|
-
import { XyoApiConfig, XyoApiResponseBody, XyoApiResponseTuple } from './models';
|
|
4
|
-
export declare type XyoApiSimpleQuery = Record<string, unknown>;
|
|
5
|
-
export declare class XyoApiSimple<T = XyoPayload, D = T, Q extends XyoApiSimpleQuery = Record<string, never>, C extends XyoApiConfig = XyoApiConfig> extends XyoApiBase<C> {
|
|
6
|
-
get(): Promise<XyoApiResponseBody<T>>;
|
|
7
|
-
get(responseType?: 'body'): Promise<XyoApiResponseBody<T>>;
|
|
8
|
-
get(responseType?: 'tuple'): Promise<XyoApiResponseTuple<T>>;
|
|
9
|
-
find(query?: Q): Promise<XyoApiResponseBody<T>>;
|
|
10
|
-
find(query?: Q, responseType?: 'body'): Promise<XyoApiResponseBody<T>>;
|
|
11
|
-
find(query?: Q, responseType?: 'tuple'): Promise<XyoApiResponseTuple<T>>;
|
|
12
|
-
post(data?: D): Promise<XyoApiResponseBody<T>>;
|
|
13
|
-
post(data?: D, responseType?: 'body'): Promise<XyoApiResponseBody<T>>;
|
|
14
|
-
post(data?: D, responseType?: 'tuple'): Promise<XyoApiResponseTuple<T>>;
|
|
15
|
-
put(data?: D): Promise<XyoApiResponseBody<T>>;
|
|
16
|
-
put(data?: D, responseType?: 'body'): Promise<XyoApiResponseBody<T>>;
|
|
17
|
-
put(data?: D, responseType?: 'tuple'): Promise<XyoApiResponseTuple<T>>;
|
|
18
|
-
delete(): Promise<XyoApiResponseBody<T>>;
|
|
19
|
-
delete(responseType?: 'body'): Promise<XyoApiResponseBody<T>>;
|
|
20
|
-
delete(responseType?: 'tuple'): Promise<XyoApiResponseTuple<T>>;
|
|
21
|
-
}
|
|
1
|
+
import { XyoPayload } from '@xyo-network/core';
|
|
2
|
+
import { XyoApiBase } from './Base';
|
|
3
|
+
import { XyoApiConfig, XyoApiResponseBody, XyoApiResponseTuple } from './models';
|
|
4
|
+
export declare type XyoApiSimpleQuery = Record<string, unknown>;
|
|
5
|
+
export declare class XyoApiSimple<T = XyoPayload, D = T, Q extends XyoApiSimpleQuery = Record<string, never>, C extends XyoApiConfig = XyoApiConfig> extends XyoApiBase<C> {
|
|
6
|
+
get(): Promise<XyoApiResponseBody<T>>;
|
|
7
|
+
get(responseType?: 'body'): Promise<XyoApiResponseBody<T>>;
|
|
8
|
+
get(responseType?: 'tuple'): Promise<XyoApiResponseTuple<T>>;
|
|
9
|
+
find(query?: Q): Promise<XyoApiResponseBody<T>>;
|
|
10
|
+
find(query?: Q, responseType?: 'body'): Promise<XyoApiResponseBody<T>>;
|
|
11
|
+
find(query?: Q, responseType?: 'tuple'): Promise<XyoApiResponseTuple<T>>;
|
|
12
|
+
post(data?: D): Promise<XyoApiResponseBody<T>>;
|
|
13
|
+
post(data?: D, responseType?: 'body'): Promise<XyoApiResponseBody<T>>;
|
|
14
|
+
post(data?: D, responseType?: 'tuple'): Promise<XyoApiResponseTuple<T>>;
|
|
15
|
+
put(data?: D): Promise<XyoApiResponseBody<T>>;
|
|
16
|
+
put(data?: D, responseType?: 'body'): Promise<XyoApiResponseBody<T>>;
|
|
17
|
+
put(data?: D, responseType?: 'tuple'): Promise<XyoApiResponseTuple<T>>;
|
|
18
|
+
delete(): Promise<XyoApiResponseBody<T>>;
|
|
19
|
+
delete(responseType?: 'body'): Promise<XyoApiResponseBody<T>>;
|
|
20
|
+
delete(responseType?: 'tuple'): Promise<XyoApiResponseTuple<T>>;
|
|
21
|
+
}
|