@xyo-network/api 2.111.2 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/neutral/index.d.ts +191 -7
- package/dist/neutral/index.mjs +1 -1
- package/dist/neutral/index.mjs.map +1 -1
- package/package.json +18 -36
- package/src/Diviner/LocationDiviner/LocationDivinerApi.ts +2 -1
- package/src/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.ts +1 -1
- package/xy.config.ts +12 -0
- package/dist/browser/Api/Api.d.cts +0 -12
- package/dist/browser/Api/Api.d.cts.map +0 -1
- package/dist/browser/Api/Api.d.mts +0 -12
- package/dist/browser/Api/Api.d.mts.map +0 -1
- package/dist/browser/Api/Api.d.ts +0 -12
- package/dist/browser/Api/Api.d.ts.map +0 -1
- package/dist/browser/Api/index.d.cts +0 -2
- package/dist/browser/Api/index.d.cts.map +0 -1
- package/dist/browser/Api/index.d.mts +0 -2
- package/dist/browser/Api/index.d.mts.map +0 -1
- package/dist/browser/Api/index.d.ts +0 -2
- package/dist/browser/Api/index.d.ts.map +0 -1
- package/dist/browser/Base.d.cts +0 -32
- package/dist/browser/Base.d.cts.map +0 -1
- package/dist/browser/Base.d.mts +0 -32
- package/dist/browser/Base.d.mts.map +0 -1
- package/dist/browser/Base.d.ts +0 -32
- package/dist/browser/Base.d.ts.map +0 -1
- package/dist/browser/Diviner/LocationDiviner/LocationDivinerApi.d.cts +0 -12
- package/dist/browser/Diviner/LocationDiviner/LocationDivinerApi.d.cts.map +0 -1
- package/dist/browser/Diviner/LocationDiviner/LocationDivinerApi.d.mts +0 -12
- package/dist/browser/Diviner/LocationDiviner/LocationDivinerApi.d.mts.map +0 -1
- package/dist/browser/Diviner/LocationDiviner/LocationDivinerApi.d.ts +0 -12
- package/dist/browser/Diviner/LocationDiviner/LocationDivinerApi.d.ts.map +0 -1
- package/dist/browser/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.d.cts +0 -4
- package/dist/browser/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.d.cts.map +0 -1
- package/dist/browser/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.d.mts +0 -4
- package/dist/browser/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.d.mts.map +0 -1
- package/dist/browser/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.d.ts +0 -4
- package/dist/browser/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.d.ts.map +0 -1
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapPointProperties.d.cts +0 -5
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapPointProperties.d.cts.map +0 -1
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapPointProperties.d.mts +0 -5
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapPointProperties.d.mts.map +0 -1
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapPointProperties.d.ts +0 -5
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapPointProperties.d.ts.map +0 -1
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.d.cts +0 -12
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.d.cts.map +0 -1
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.d.mts +0 -12
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.d.mts.map +0 -1
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.d.ts +0 -12
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.d.ts.map +0 -1
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/index.d.cts +0 -3
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/index.d.cts.map +0 -1
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/index.d.mts +0 -3
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/index.d.mts.map +0 -1
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/index.d.ts +0 -3
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/index.d.ts.map +0 -1
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.d.cts +0 -12
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.d.cts.map +0 -1
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.d.mts +0 -12
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.d.mts.map +0 -1
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.d.ts +0 -12
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.d.ts.map +0 -1
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/index.d.cts +0 -2
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/index.d.cts.map +0 -1
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/index.d.mts +0 -2
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/index.d.mts.map +0 -1
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/index.d.ts +0 -2
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/index.d.ts.map +0 -1
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQueryCreationRequest.d.cts +0 -18
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQueryCreationRequest.d.cts.map +0 -1
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQueryCreationRequest.d.mts +0 -18
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQueryCreationRequest.d.mts.map +0 -1
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQueryCreationRequest.d.ts +0 -18
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQueryCreationRequest.d.ts.map +0 -1
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQueryCreationResponse.d.cts +0 -5
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQueryCreationResponse.d.cts.map +0 -1
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQueryCreationResponse.d.mts +0 -5
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQueryCreationResponse.d.mts.map +0 -1
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQueryCreationResponse.d.ts +0 -5
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQueryCreationResponse.d.ts.map +0 -1
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQuerySchema.d.cts +0 -6
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQuerySchema.d.cts.map +0 -1
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQuerySchema.d.mts +0 -6
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQuerySchema.d.mts.map +0 -1
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQuerySchema.d.ts +0 -6
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQuerySchema.d.ts.map +0 -1
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangePointProperties.d.cts +0 -8
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangePointProperties.d.cts.map +0 -1
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangePointProperties.d.mts +0 -8
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangePointProperties.d.mts.map +0 -1
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangePointProperties.d.ts +0 -8
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangePointProperties.d.ts.map +0 -1
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.d.cts +0 -12
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.d.cts.map +0 -1
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.d.mts +0 -12
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.d.mts.map +0 -1
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.d.ts +0 -12
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.d.ts.map +0 -1
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/index.d.cts +0 -3
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/index.d.cts.map +0 -1
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/index.d.mts +0 -3
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/index.d.mts.map +0 -1
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/index.d.ts +0 -3
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/index.d.ts.map +0 -1
- package/dist/browser/Diviner/LocationDiviner/Queries/index.d.cts +0 -7
- package/dist/browser/Diviner/LocationDiviner/Queries/index.d.cts.map +0 -1
- package/dist/browser/Diviner/LocationDiviner/Queries/index.d.mts +0 -7
- package/dist/browser/Diviner/LocationDiviner/Queries/index.d.mts.map +0 -1
- package/dist/browser/Diviner/LocationDiviner/Queries/index.d.ts +0 -7
- package/dist/browser/Diviner/LocationDiviner/Queries/index.d.ts.map +0 -1
- package/dist/browser/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.d.cts +0 -13
- package/dist/browser/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.d.cts.map +0 -1
- package/dist/browser/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.d.mts +0 -13
- package/dist/browser/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.d.mts.map +0 -1
- package/dist/browser/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.d.ts +0 -13
- package/dist/browser/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.d.ts.map +0 -1
- package/dist/browser/Diviner/LocationDiviner/Witnesses/LocationWitness.d.cts +0 -21
- package/dist/browser/Diviner/LocationDiviner/Witnesses/LocationWitness.d.cts.map +0 -1
- package/dist/browser/Diviner/LocationDiviner/Witnesses/LocationWitness.d.mts +0 -21
- package/dist/browser/Diviner/LocationDiviner/Witnesses/LocationWitness.d.mts.map +0 -1
- package/dist/browser/Diviner/LocationDiviner/Witnesses/LocationWitness.d.ts +0 -21
- package/dist/browser/Diviner/LocationDiviner/Witnesses/LocationWitness.d.ts.map +0 -1
- package/dist/browser/Diviner/LocationDiviner/Witnesses/index.d.cts +0 -3
- package/dist/browser/Diviner/LocationDiviner/Witnesses/index.d.cts.map +0 -1
- package/dist/browser/Diviner/LocationDiviner/Witnesses/index.d.mts +0 -3
- package/dist/browser/Diviner/LocationDiviner/Witnesses/index.d.mts.map +0 -1
- package/dist/browser/Diviner/LocationDiviner/Witnesses/index.d.ts +0 -3
- package/dist/browser/Diviner/LocationDiviner/Witnesses/index.d.ts.map +0 -1
- package/dist/browser/Diviner/LocationDiviner/index.d.cts +0 -5
- package/dist/browser/Diviner/LocationDiviner/index.d.cts.map +0 -1
- package/dist/browser/Diviner/LocationDiviner/index.d.mts +0 -5
- package/dist/browser/Diviner/LocationDiviner/index.d.mts.map +0 -1
- package/dist/browser/Diviner/LocationDiviner/index.d.ts +0 -5
- package/dist/browser/Diviner/LocationDiviner/index.d.ts.map +0 -1
- package/dist/browser/Diviner/LocationDiviner/models.d.cts +0 -5
- package/dist/browser/Diviner/LocationDiviner/models.d.cts.map +0 -1
- package/dist/browser/Diviner/LocationDiviner/models.d.mts +0 -5
- package/dist/browser/Diviner/LocationDiviner/models.d.mts.map +0 -1
- package/dist/browser/Diviner/LocationDiviner/models.d.ts +0 -5
- package/dist/browser/Diviner/LocationDiviner/models.d.ts.map +0 -1
- package/dist/browser/Diviner/RemoteDivinerConfig.d.cts +0 -10
- package/dist/browser/Diviner/RemoteDivinerConfig.d.cts.map +0 -1
- package/dist/browser/Diviner/RemoteDivinerConfig.d.mts +0 -10
- package/dist/browser/Diviner/RemoteDivinerConfig.d.mts.map +0 -1
- package/dist/browser/Diviner/RemoteDivinerConfig.d.ts +0 -10
- package/dist/browser/Diviner/RemoteDivinerConfig.d.ts.map +0 -1
- package/dist/browser/Diviner/RemoteDivinerError.d.cts +0 -6
- package/dist/browser/Diviner/RemoteDivinerError.d.cts.map +0 -1
- package/dist/browser/Diviner/RemoteDivinerError.d.mts +0 -6
- package/dist/browser/Diviner/RemoteDivinerError.d.mts.map +0 -1
- package/dist/browser/Diviner/RemoteDivinerError.d.ts +0 -6
- package/dist/browser/Diviner/RemoteDivinerError.d.ts.map +0 -1
- package/dist/browser/Diviner/index.d.cts +0 -3
- package/dist/browser/Diviner/index.d.cts.map +0 -1
- package/dist/browser/Diviner/index.d.mts +0 -3
- package/dist/browser/Diviner/index.d.mts.map +0 -1
- package/dist/browser/Diviner/index.d.ts +0 -3
- package/dist/browser/Diviner/index.d.ts.map +0 -1
- package/dist/browser/Simple.d.cts +0 -22
- package/dist/browser/Simple.d.cts.map +0 -1
- package/dist/browser/Simple.d.mts +0 -22
- package/dist/browser/Simple.d.mts.map +0 -1
- package/dist/browser/Simple.d.ts +0 -22
- package/dist/browser/Simple.d.ts.map +0 -1
- package/dist/browser/Test/index.d.cts +0 -3
- package/dist/browser/Test/index.d.cts.map +0 -1
- package/dist/browser/Test/index.d.mts +0 -3
- package/dist/browser/Test/index.d.mts.map +0 -1
- package/dist/browser/Test/index.d.ts +0 -3
- package/dist/browser/Test/index.d.ts.map +0 -1
- package/dist/browser/Test/testBoundWitness.d.cts +0 -4
- package/dist/browser/Test/testBoundWitness.d.cts.map +0 -1
- package/dist/browser/Test/testBoundWitness.d.mts +0 -4
- package/dist/browser/Test/testBoundWitness.d.mts.map +0 -1
- package/dist/browser/Test/testBoundWitness.d.ts +0 -4
- package/dist/browser/Test/testBoundWitness.d.ts.map +0 -1
- package/dist/browser/Test/testPayload.d.cts +0 -6
- package/dist/browser/Test/testPayload.d.cts.map +0 -1
- package/dist/browser/Test/testPayload.d.mts +0 -6
- package/dist/browser/Test/testPayload.d.mts.map +0 -1
- package/dist/browser/Test/testPayload.d.ts +0 -6
- package/dist/browser/Test/testPayload.d.ts.map +0 -1
- package/dist/browser/WithArchive.d.cts +0 -4
- package/dist/browser/WithArchive.d.cts.map +0 -1
- package/dist/browser/WithArchive.d.mts +0 -4
- package/dist/browser/WithArchive.d.mts.map +0 -1
- package/dist/browser/WithArchive.d.ts +0 -4
- package/dist/browser/WithArchive.d.ts.map +0 -1
- package/dist/browser/index.cjs +0 -290
- package/dist/browser/index.cjs.map +0 -1
- package/dist/browser/index.d.cts +0 -7
- package/dist/browser/index.d.cts.map +0 -1
- package/dist/browser/index.d.mts +0 -7
- package/dist/browser/index.d.mts.map +0 -1
- package/dist/browser/index.d.ts +0 -7
- package/dist/browser/index.d.ts.map +0 -1
- package/dist/browser/index.mjs +0 -267
- package/dist/browser/index.mjs.map +0 -1
- package/dist/browser/models/ArchivePath.d.cts +0 -4
- package/dist/browser/models/ArchivePath.d.cts.map +0 -1
- package/dist/browser/models/ArchivePath.d.mts +0 -4
- package/dist/browser/models/ArchivePath.d.mts.map +0 -1
- package/dist/browser/models/ArchivePath.d.ts +0 -4
- package/dist/browser/models/ArchivePath.d.ts.map +0 -1
- package/dist/browser/models/index.d.cts +0 -2
- package/dist/browser/models/index.d.cts.map +0 -1
- package/dist/browser/models/index.d.mts +0 -2
- package/dist/browser/models/index.d.mts.map +0 -1
- package/dist/browser/models/index.d.ts +0 -2
- package/dist/browser/models/index.d.ts.map +0 -1
- package/dist/browser/objToQuery.d.cts +0 -2
- package/dist/browser/objToQuery.d.cts.map +0 -1
- package/dist/browser/objToQuery.d.mts +0 -2
- package/dist/browser/objToQuery.d.mts.map +0 -1
- package/dist/browser/objToQuery.d.ts +0 -2
- package/dist/browser/objToQuery.d.ts.map +0 -1
- package/dist/neutral/Api/Api.d.cts +0 -12
- package/dist/neutral/Api/Api.d.cts.map +0 -1
- package/dist/neutral/Api/Api.d.mts +0 -12
- package/dist/neutral/Api/Api.d.mts.map +0 -1
- package/dist/neutral/Api/Api.d.ts +0 -12
- package/dist/neutral/Api/Api.d.ts.map +0 -1
- package/dist/neutral/Api/index.d.cts +0 -2
- package/dist/neutral/Api/index.d.cts.map +0 -1
- package/dist/neutral/Api/index.d.mts +0 -2
- package/dist/neutral/Api/index.d.mts.map +0 -1
- package/dist/neutral/Api/index.d.ts +0 -2
- package/dist/neutral/Api/index.d.ts.map +0 -1
- package/dist/neutral/Base.d.cts +0 -32
- package/dist/neutral/Base.d.cts.map +0 -1
- package/dist/neutral/Base.d.mts +0 -32
- package/dist/neutral/Base.d.mts.map +0 -1
- package/dist/neutral/Base.d.ts +0 -32
- package/dist/neutral/Base.d.ts.map +0 -1
- package/dist/neutral/Diviner/LocationDiviner/LocationDivinerApi.d.cts +0 -12
- package/dist/neutral/Diviner/LocationDiviner/LocationDivinerApi.d.cts.map +0 -1
- package/dist/neutral/Diviner/LocationDiviner/LocationDivinerApi.d.mts +0 -12
- package/dist/neutral/Diviner/LocationDiviner/LocationDivinerApi.d.mts.map +0 -1
- package/dist/neutral/Diviner/LocationDiviner/LocationDivinerApi.d.ts +0 -12
- package/dist/neutral/Diviner/LocationDiviner/LocationDivinerApi.d.ts.map +0 -1
- package/dist/neutral/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.d.cts +0 -4
- package/dist/neutral/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.d.cts.map +0 -1
- package/dist/neutral/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.d.mts +0 -4
- package/dist/neutral/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.d.mts.map +0 -1
- package/dist/neutral/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.d.ts +0 -4
- package/dist/neutral/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.d.ts.map +0 -1
- package/dist/neutral/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapPointProperties.d.cts +0 -5
- package/dist/neutral/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapPointProperties.d.cts.map +0 -1
- package/dist/neutral/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapPointProperties.d.mts +0 -5
- package/dist/neutral/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapPointProperties.d.mts.map +0 -1
- package/dist/neutral/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapPointProperties.d.ts +0 -5
- package/dist/neutral/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapPointProperties.d.ts.map +0 -1
- package/dist/neutral/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.d.cts +0 -12
- package/dist/neutral/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.d.cts.map +0 -1
- package/dist/neutral/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.d.mts +0 -12
- package/dist/neutral/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.d.mts.map +0 -1
- package/dist/neutral/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.d.ts +0 -12
- package/dist/neutral/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.d.ts.map +0 -1
- package/dist/neutral/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/index.d.cts +0 -3
- package/dist/neutral/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/index.d.cts.map +0 -1
- package/dist/neutral/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/index.d.mts +0 -3
- package/dist/neutral/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/index.d.mts.map +0 -1
- package/dist/neutral/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/index.d.ts +0 -3
- package/dist/neutral/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/index.d.ts.map +0 -1
- package/dist/neutral/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.d.cts +0 -12
- package/dist/neutral/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.d.cts.map +0 -1
- package/dist/neutral/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.d.mts +0 -12
- package/dist/neutral/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.d.mts.map +0 -1
- package/dist/neutral/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.d.ts +0 -12
- package/dist/neutral/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.d.ts.map +0 -1
- package/dist/neutral/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/index.d.cts +0 -2
- package/dist/neutral/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/index.d.cts.map +0 -1
- package/dist/neutral/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/index.d.mts +0 -2
- package/dist/neutral/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/index.d.mts.map +0 -1
- package/dist/neutral/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/index.d.ts +0 -2
- package/dist/neutral/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/index.d.ts.map +0 -1
- package/dist/neutral/Diviner/LocationDiviner/Queries/LocationQueryCreationRequest.d.cts +0 -18
- package/dist/neutral/Diviner/LocationDiviner/Queries/LocationQueryCreationRequest.d.cts.map +0 -1
- package/dist/neutral/Diviner/LocationDiviner/Queries/LocationQueryCreationRequest.d.mts +0 -18
- package/dist/neutral/Diviner/LocationDiviner/Queries/LocationQueryCreationRequest.d.mts.map +0 -1
- package/dist/neutral/Diviner/LocationDiviner/Queries/LocationQueryCreationRequest.d.ts +0 -18
- package/dist/neutral/Diviner/LocationDiviner/Queries/LocationQueryCreationRequest.d.ts.map +0 -1
- package/dist/neutral/Diviner/LocationDiviner/Queries/LocationQueryCreationResponse.d.cts +0 -5
- package/dist/neutral/Diviner/LocationDiviner/Queries/LocationQueryCreationResponse.d.cts.map +0 -1
- package/dist/neutral/Diviner/LocationDiviner/Queries/LocationQueryCreationResponse.d.mts +0 -5
- package/dist/neutral/Diviner/LocationDiviner/Queries/LocationQueryCreationResponse.d.mts.map +0 -1
- package/dist/neutral/Diviner/LocationDiviner/Queries/LocationQueryCreationResponse.d.ts +0 -5
- package/dist/neutral/Diviner/LocationDiviner/Queries/LocationQueryCreationResponse.d.ts.map +0 -1
- package/dist/neutral/Diviner/LocationDiviner/Queries/LocationQuerySchema.d.cts +0 -6
- package/dist/neutral/Diviner/LocationDiviner/Queries/LocationQuerySchema.d.cts.map +0 -1
- package/dist/neutral/Diviner/LocationDiviner/Queries/LocationQuerySchema.d.mts +0 -6
- package/dist/neutral/Diviner/LocationDiviner/Queries/LocationQuerySchema.d.mts.map +0 -1
- package/dist/neutral/Diviner/LocationDiviner/Queries/LocationQuerySchema.d.ts +0 -6
- package/dist/neutral/Diviner/LocationDiviner/Queries/LocationQuerySchema.d.ts.map +0 -1
- package/dist/neutral/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangePointProperties.d.cts +0 -8
- package/dist/neutral/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangePointProperties.d.cts.map +0 -1
- package/dist/neutral/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangePointProperties.d.mts +0 -8
- package/dist/neutral/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangePointProperties.d.mts.map +0 -1
- package/dist/neutral/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangePointProperties.d.ts +0 -8
- package/dist/neutral/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangePointProperties.d.ts.map +0 -1
- package/dist/neutral/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.d.cts +0 -12
- package/dist/neutral/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.d.cts.map +0 -1
- package/dist/neutral/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.d.mts +0 -12
- package/dist/neutral/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.d.mts.map +0 -1
- package/dist/neutral/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.d.ts +0 -12
- package/dist/neutral/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.d.ts.map +0 -1
- package/dist/neutral/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/index.d.cts +0 -3
- package/dist/neutral/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/index.d.cts.map +0 -1
- package/dist/neutral/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/index.d.mts +0 -3
- package/dist/neutral/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/index.d.mts.map +0 -1
- package/dist/neutral/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/index.d.ts +0 -3
- package/dist/neutral/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/index.d.ts.map +0 -1
- package/dist/neutral/Diviner/LocationDiviner/Queries/index.d.cts +0 -7
- package/dist/neutral/Diviner/LocationDiviner/Queries/index.d.cts.map +0 -1
- package/dist/neutral/Diviner/LocationDiviner/Queries/index.d.mts +0 -7
- package/dist/neutral/Diviner/LocationDiviner/Queries/index.d.mts.map +0 -1
- package/dist/neutral/Diviner/LocationDiviner/Queries/index.d.ts +0 -7
- package/dist/neutral/Diviner/LocationDiviner/Queries/index.d.ts.map +0 -1
- package/dist/neutral/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.d.cts +0 -13
- package/dist/neutral/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.d.cts.map +0 -1
- package/dist/neutral/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.d.mts +0 -13
- package/dist/neutral/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.d.mts.map +0 -1
- package/dist/neutral/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.d.ts +0 -13
- package/dist/neutral/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.d.ts.map +0 -1
- package/dist/neutral/Diviner/LocationDiviner/Witnesses/LocationWitness.d.cts +0 -21
- package/dist/neutral/Diviner/LocationDiviner/Witnesses/LocationWitness.d.cts.map +0 -1
- package/dist/neutral/Diviner/LocationDiviner/Witnesses/LocationWitness.d.mts +0 -21
- package/dist/neutral/Diviner/LocationDiviner/Witnesses/LocationWitness.d.mts.map +0 -1
- package/dist/neutral/Diviner/LocationDiviner/Witnesses/LocationWitness.d.ts +0 -21
- package/dist/neutral/Diviner/LocationDiviner/Witnesses/LocationWitness.d.ts.map +0 -1
- package/dist/neutral/Diviner/LocationDiviner/Witnesses/index.d.cts +0 -3
- package/dist/neutral/Diviner/LocationDiviner/Witnesses/index.d.cts.map +0 -1
- package/dist/neutral/Diviner/LocationDiviner/Witnesses/index.d.mts +0 -3
- package/dist/neutral/Diviner/LocationDiviner/Witnesses/index.d.mts.map +0 -1
- package/dist/neutral/Diviner/LocationDiviner/Witnesses/index.d.ts +0 -3
- package/dist/neutral/Diviner/LocationDiviner/Witnesses/index.d.ts.map +0 -1
- package/dist/neutral/Diviner/LocationDiviner/index.d.cts +0 -5
- package/dist/neutral/Diviner/LocationDiviner/index.d.cts.map +0 -1
- package/dist/neutral/Diviner/LocationDiviner/index.d.mts +0 -5
- package/dist/neutral/Diviner/LocationDiviner/index.d.mts.map +0 -1
- package/dist/neutral/Diviner/LocationDiviner/index.d.ts +0 -5
- package/dist/neutral/Diviner/LocationDiviner/index.d.ts.map +0 -1
- package/dist/neutral/Diviner/LocationDiviner/models.d.cts +0 -5
- package/dist/neutral/Diviner/LocationDiviner/models.d.cts.map +0 -1
- package/dist/neutral/Diviner/LocationDiviner/models.d.mts +0 -5
- package/dist/neutral/Diviner/LocationDiviner/models.d.mts.map +0 -1
- package/dist/neutral/Diviner/LocationDiviner/models.d.ts +0 -5
- package/dist/neutral/Diviner/LocationDiviner/models.d.ts.map +0 -1
- package/dist/neutral/Diviner/RemoteDivinerConfig.d.cts +0 -10
- package/dist/neutral/Diviner/RemoteDivinerConfig.d.cts.map +0 -1
- package/dist/neutral/Diviner/RemoteDivinerConfig.d.mts +0 -10
- package/dist/neutral/Diviner/RemoteDivinerConfig.d.mts.map +0 -1
- package/dist/neutral/Diviner/RemoteDivinerConfig.d.ts +0 -10
- package/dist/neutral/Diviner/RemoteDivinerConfig.d.ts.map +0 -1
- package/dist/neutral/Diviner/RemoteDivinerError.d.cts +0 -6
- package/dist/neutral/Diviner/RemoteDivinerError.d.cts.map +0 -1
- package/dist/neutral/Diviner/RemoteDivinerError.d.mts +0 -6
- package/dist/neutral/Diviner/RemoteDivinerError.d.mts.map +0 -1
- package/dist/neutral/Diviner/RemoteDivinerError.d.ts +0 -6
- package/dist/neutral/Diviner/RemoteDivinerError.d.ts.map +0 -1
- package/dist/neutral/Diviner/index.d.cts +0 -3
- package/dist/neutral/Diviner/index.d.cts.map +0 -1
- package/dist/neutral/Diviner/index.d.mts +0 -3
- package/dist/neutral/Diviner/index.d.mts.map +0 -1
- package/dist/neutral/Diviner/index.d.ts +0 -3
- package/dist/neutral/Diviner/index.d.ts.map +0 -1
- package/dist/neutral/Simple.d.cts +0 -22
- package/dist/neutral/Simple.d.cts.map +0 -1
- package/dist/neutral/Simple.d.mts +0 -22
- package/dist/neutral/Simple.d.mts.map +0 -1
- package/dist/neutral/Simple.d.ts +0 -22
- package/dist/neutral/Simple.d.ts.map +0 -1
- package/dist/neutral/Test/index.d.cts +0 -3
- package/dist/neutral/Test/index.d.cts.map +0 -1
- package/dist/neutral/Test/index.d.mts +0 -3
- package/dist/neutral/Test/index.d.mts.map +0 -1
- package/dist/neutral/Test/index.d.ts +0 -3
- package/dist/neutral/Test/index.d.ts.map +0 -1
- package/dist/neutral/Test/testBoundWitness.d.cts +0 -4
- package/dist/neutral/Test/testBoundWitness.d.cts.map +0 -1
- package/dist/neutral/Test/testBoundWitness.d.mts +0 -4
- package/dist/neutral/Test/testBoundWitness.d.mts.map +0 -1
- package/dist/neutral/Test/testBoundWitness.d.ts +0 -4
- package/dist/neutral/Test/testBoundWitness.d.ts.map +0 -1
- package/dist/neutral/Test/testPayload.d.cts +0 -6
- package/dist/neutral/Test/testPayload.d.cts.map +0 -1
- package/dist/neutral/Test/testPayload.d.mts +0 -6
- package/dist/neutral/Test/testPayload.d.mts.map +0 -1
- package/dist/neutral/Test/testPayload.d.ts +0 -6
- package/dist/neutral/Test/testPayload.d.ts.map +0 -1
- package/dist/neutral/WithArchive.d.cts +0 -4
- package/dist/neutral/WithArchive.d.cts.map +0 -1
- package/dist/neutral/WithArchive.d.mts +0 -4
- package/dist/neutral/WithArchive.d.mts.map +0 -1
- package/dist/neutral/WithArchive.d.ts +0 -4
- package/dist/neutral/WithArchive.d.ts.map +0 -1
- package/dist/neutral/index.cjs +0 -290
- package/dist/neutral/index.cjs.map +0 -1
- package/dist/neutral/index.d.cts +0 -7
- package/dist/neutral/index.d.cts.map +0 -1
- package/dist/neutral/index.d.mts +0 -7
- package/dist/neutral/index.d.mts.map +0 -1
- package/dist/neutral/index.d.ts.map +0 -1
- package/dist/neutral/models/ArchivePath.d.cts +0 -4
- package/dist/neutral/models/ArchivePath.d.cts.map +0 -1
- package/dist/neutral/models/ArchivePath.d.mts +0 -4
- package/dist/neutral/models/ArchivePath.d.mts.map +0 -1
- package/dist/neutral/models/ArchivePath.d.ts +0 -4
- package/dist/neutral/models/ArchivePath.d.ts.map +0 -1
- package/dist/neutral/models/index.d.cts +0 -2
- package/dist/neutral/models/index.d.cts.map +0 -1
- package/dist/neutral/models/index.d.mts +0 -2
- package/dist/neutral/models/index.d.mts.map +0 -1
- package/dist/neutral/models/index.d.ts +0 -2
- package/dist/neutral/models/index.d.ts.map +0 -1
- package/dist/neutral/objToQuery.d.cts +0 -2
- package/dist/neutral/objToQuery.d.cts.map +0 -1
- package/dist/neutral/objToQuery.d.mts +0 -2
- package/dist/neutral/objToQuery.d.mts.map +0 -1
- package/dist/neutral/objToQuery.d.ts +0 -2
- package/dist/neutral/objToQuery.d.ts.map +0 -1
- package/dist/node/Api/Api.d.cts +0 -12
- package/dist/node/Api/Api.d.cts.map +0 -1
- package/dist/node/Api/Api.d.mts +0 -12
- package/dist/node/Api/Api.d.mts.map +0 -1
- package/dist/node/Api/Api.d.ts +0 -12
- package/dist/node/Api/Api.d.ts.map +0 -1
- package/dist/node/Api/index.d.cts +0 -2
- package/dist/node/Api/index.d.cts.map +0 -1
- package/dist/node/Api/index.d.mts +0 -2
- package/dist/node/Api/index.d.mts.map +0 -1
- package/dist/node/Api/index.d.ts +0 -2
- package/dist/node/Api/index.d.ts.map +0 -1
- package/dist/node/Base.d.cts +0 -32
- package/dist/node/Base.d.cts.map +0 -1
- package/dist/node/Base.d.mts +0 -32
- package/dist/node/Base.d.mts.map +0 -1
- package/dist/node/Base.d.ts +0 -32
- package/dist/node/Base.d.ts.map +0 -1
- package/dist/node/Diviner/LocationDiviner/LocationDivinerApi.d.cts +0 -12
- package/dist/node/Diviner/LocationDiviner/LocationDivinerApi.d.cts.map +0 -1
- package/dist/node/Diviner/LocationDiviner/LocationDivinerApi.d.mts +0 -12
- package/dist/node/Diviner/LocationDiviner/LocationDivinerApi.d.mts.map +0 -1
- package/dist/node/Diviner/LocationDiviner/LocationDivinerApi.d.ts +0 -12
- package/dist/node/Diviner/LocationDiviner/LocationDivinerApi.d.ts.map +0 -1
- package/dist/node/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.d.cts +0 -4
- package/dist/node/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.d.cts.map +0 -1
- package/dist/node/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.d.mts +0 -4
- package/dist/node/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.d.mts.map +0 -1
- package/dist/node/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.d.ts +0 -4
- package/dist/node/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.d.ts.map +0 -1
- package/dist/node/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapPointProperties.d.cts +0 -5
- package/dist/node/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapPointProperties.d.cts.map +0 -1
- package/dist/node/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapPointProperties.d.mts +0 -5
- package/dist/node/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapPointProperties.d.mts.map +0 -1
- package/dist/node/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapPointProperties.d.ts +0 -5
- package/dist/node/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapPointProperties.d.ts.map +0 -1
- package/dist/node/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.d.cts +0 -12
- package/dist/node/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.d.cts.map +0 -1
- package/dist/node/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.d.mts +0 -12
- package/dist/node/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.d.mts.map +0 -1
- package/dist/node/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.d.ts +0 -12
- package/dist/node/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.d.ts.map +0 -1
- package/dist/node/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/index.d.cts +0 -3
- package/dist/node/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/index.d.cts.map +0 -1
- package/dist/node/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/index.d.mts +0 -3
- package/dist/node/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/index.d.mts.map +0 -1
- package/dist/node/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/index.d.ts +0 -3
- package/dist/node/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/index.d.ts.map +0 -1
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.d.cts +0 -12
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.d.cts.map +0 -1
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.d.mts +0 -12
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.d.mts.map +0 -1
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.d.ts +0 -12
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.d.ts.map +0 -1
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/index.d.cts +0 -2
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/index.d.cts.map +0 -1
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/index.d.mts +0 -2
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/index.d.mts.map +0 -1
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/index.d.ts +0 -2
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/index.d.ts.map +0 -1
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQueryCreationRequest.d.cts +0 -18
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQueryCreationRequest.d.cts.map +0 -1
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQueryCreationRequest.d.mts +0 -18
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQueryCreationRequest.d.mts.map +0 -1
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQueryCreationRequest.d.ts +0 -18
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQueryCreationRequest.d.ts.map +0 -1
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQueryCreationResponse.d.cts +0 -5
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQueryCreationResponse.d.cts.map +0 -1
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQueryCreationResponse.d.mts +0 -5
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQueryCreationResponse.d.mts.map +0 -1
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQueryCreationResponse.d.ts +0 -5
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQueryCreationResponse.d.ts.map +0 -1
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQuerySchema.d.cts +0 -6
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQuerySchema.d.cts.map +0 -1
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQuerySchema.d.mts +0 -6
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQuerySchema.d.mts.map +0 -1
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQuerySchema.d.ts +0 -6
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQuerySchema.d.ts.map +0 -1
- package/dist/node/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangePointProperties.d.cts +0 -8
- package/dist/node/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangePointProperties.d.cts.map +0 -1
- package/dist/node/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangePointProperties.d.mts +0 -8
- package/dist/node/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangePointProperties.d.mts.map +0 -1
- package/dist/node/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangePointProperties.d.ts +0 -8
- package/dist/node/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangePointProperties.d.ts.map +0 -1
- package/dist/node/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.d.cts +0 -12
- package/dist/node/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.d.cts.map +0 -1
- package/dist/node/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.d.mts +0 -12
- package/dist/node/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.d.mts.map +0 -1
- package/dist/node/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.d.ts +0 -12
- package/dist/node/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.d.ts.map +0 -1
- package/dist/node/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/index.d.cts +0 -3
- package/dist/node/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/index.d.cts.map +0 -1
- package/dist/node/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/index.d.mts +0 -3
- package/dist/node/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/index.d.mts.map +0 -1
- package/dist/node/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/index.d.ts +0 -3
- package/dist/node/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/index.d.ts.map +0 -1
- package/dist/node/Diviner/LocationDiviner/Queries/index.d.cts +0 -7
- package/dist/node/Diviner/LocationDiviner/Queries/index.d.cts.map +0 -1
- package/dist/node/Diviner/LocationDiviner/Queries/index.d.mts +0 -7
- package/dist/node/Diviner/LocationDiviner/Queries/index.d.mts.map +0 -1
- package/dist/node/Diviner/LocationDiviner/Queries/index.d.ts +0 -7
- package/dist/node/Diviner/LocationDiviner/Queries/index.d.ts.map +0 -1
- package/dist/node/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.d.cts +0 -13
- package/dist/node/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.d.cts.map +0 -1
- package/dist/node/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.d.mts +0 -13
- package/dist/node/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.d.mts.map +0 -1
- package/dist/node/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.d.ts +0 -13
- package/dist/node/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.d.ts.map +0 -1
- package/dist/node/Diviner/LocationDiviner/Witnesses/LocationWitness.d.cts +0 -21
- package/dist/node/Diviner/LocationDiviner/Witnesses/LocationWitness.d.cts.map +0 -1
- package/dist/node/Diviner/LocationDiviner/Witnesses/LocationWitness.d.mts +0 -21
- package/dist/node/Diviner/LocationDiviner/Witnesses/LocationWitness.d.mts.map +0 -1
- package/dist/node/Diviner/LocationDiviner/Witnesses/LocationWitness.d.ts +0 -21
- package/dist/node/Diviner/LocationDiviner/Witnesses/LocationWitness.d.ts.map +0 -1
- package/dist/node/Diviner/LocationDiviner/Witnesses/index.d.cts +0 -3
- package/dist/node/Diviner/LocationDiviner/Witnesses/index.d.cts.map +0 -1
- package/dist/node/Diviner/LocationDiviner/Witnesses/index.d.mts +0 -3
- package/dist/node/Diviner/LocationDiviner/Witnesses/index.d.mts.map +0 -1
- package/dist/node/Diviner/LocationDiviner/Witnesses/index.d.ts +0 -3
- package/dist/node/Diviner/LocationDiviner/Witnesses/index.d.ts.map +0 -1
- package/dist/node/Diviner/LocationDiviner/index.d.cts +0 -5
- package/dist/node/Diviner/LocationDiviner/index.d.cts.map +0 -1
- package/dist/node/Diviner/LocationDiviner/index.d.mts +0 -5
- package/dist/node/Diviner/LocationDiviner/index.d.mts.map +0 -1
- package/dist/node/Diviner/LocationDiviner/index.d.ts +0 -5
- package/dist/node/Diviner/LocationDiviner/index.d.ts.map +0 -1
- package/dist/node/Diviner/LocationDiviner/models.d.cts +0 -5
- package/dist/node/Diviner/LocationDiviner/models.d.cts.map +0 -1
- package/dist/node/Diviner/LocationDiviner/models.d.mts +0 -5
- package/dist/node/Diviner/LocationDiviner/models.d.mts.map +0 -1
- package/dist/node/Diviner/LocationDiviner/models.d.ts +0 -5
- package/dist/node/Diviner/LocationDiviner/models.d.ts.map +0 -1
- package/dist/node/Diviner/RemoteDivinerConfig.d.cts +0 -10
- package/dist/node/Diviner/RemoteDivinerConfig.d.cts.map +0 -1
- package/dist/node/Diviner/RemoteDivinerConfig.d.mts +0 -10
- package/dist/node/Diviner/RemoteDivinerConfig.d.mts.map +0 -1
- package/dist/node/Diviner/RemoteDivinerConfig.d.ts +0 -10
- package/dist/node/Diviner/RemoteDivinerConfig.d.ts.map +0 -1
- package/dist/node/Diviner/RemoteDivinerError.d.cts +0 -6
- package/dist/node/Diviner/RemoteDivinerError.d.cts.map +0 -1
- package/dist/node/Diviner/RemoteDivinerError.d.mts +0 -6
- package/dist/node/Diviner/RemoteDivinerError.d.mts.map +0 -1
- package/dist/node/Diviner/RemoteDivinerError.d.ts +0 -6
- package/dist/node/Diviner/RemoteDivinerError.d.ts.map +0 -1
- package/dist/node/Diviner/index.d.cts +0 -3
- package/dist/node/Diviner/index.d.cts.map +0 -1
- package/dist/node/Diviner/index.d.mts +0 -3
- package/dist/node/Diviner/index.d.mts.map +0 -1
- package/dist/node/Diviner/index.d.ts +0 -3
- package/dist/node/Diviner/index.d.ts.map +0 -1
- package/dist/node/Simple.d.cts +0 -22
- package/dist/node/Simple.d.cts.map +0 -1
- package/dist/node/Simple.d.mts +0 -22
- package/dist/node/Simple.d.mts.map +0 -1
- package/dist/node/Simple.d.ts +0 -22
- package/dist/node/Simple.d.ts.map +0 -1
- package/dist/node/Test/index.d.cts +0 -3
- package/dist/node/Test/index.d.cts.map +0 -1
- package/dist/node/Test/index.d.mts +0 -3
- package/dist/node/Test/index.d.mts.map +0 -1
- package/dist/node/Test/index.d.ts +0 -3
- package/dist/node/Test/index.d.ts.map +0 -1
- package/dist/node/Test/testBoundWitness.d.cts +0 -4
- package/dist/node/Test/testBoundWitness.d.cts.map +0 -1
- package/dist/node/Test/testBoundWitness.d.mts +0 -4
- package/dist/node/Test/testBoundWitness.d.mts.map +0 -1
- package/dist/node/Test/testBoundWitness.d.ts +0 -4
- package/dist/node/Test/testBoundWitness.d.ts.map +0 -1
- package/dist/node/Test/testPayload.d.cts +0 -6
- package/dist/node/Test/testPayload.d.cts.map +0 -1
- package/dist/node/Test/testPayload.d.mts +0 -6
- package/dist/node/Test/testPayload.d.mts.map +0 -1
- package/dist/node/Test/testPayload.d.ts +0 -6
- package/dist/node/Test/testPayload.d.ts.map +0 -1
- package/dist/node/WithArchive.d.cts +0 -4
- package/dist/node/WithArchive.d.cts.map +0 -1
- package/dist/node/WithArchive.d.mts +0 -4
- package/dist/node/WithArchive.d.mts.map +0 -1
- package/dist/node/WithArchive.d.ts +0 -4
- package/dist/node/WithArchive.d.ts.map +0 -1
- package/dist/node/index.cjs +0 -314
- package/dist/node/index.cjs.map +0 -1
- package/dist/node/index.d.cts +0 -7
- package/dist/node/index.d.cts.map +0 -1
- package/dist/node/index.d.mts +0 -7
- package/dist/node/index.d.mts.map +0 -1
- package/dist/node/index.d.ts +0 -7
- package/dist/node/index.d.ts.map +0 -1
- package/dist/node/index.mjs +0 -271
- package/dist/node/index.mjs.map +0 -1
- package/dist/node/models/ArchivePath.d.cts +0 -4
- package/dist/node/models/ArchivePath.d.cts.map +0 -1
- package/dist/node/models/ArchivePath.d.mts +0 -4
- package/dist/node/models/ArchivePath.d.mts.map +0 -1
- package/dist/node/models/ArchivePath.d.ts +0 -4
- package/dist/node/models/ArchivePath.d.ts.map +0 -1
- package/dist/node/models/index.d.cts +0 -2
- package/dist/node/models/index.d.cts.map +0 -1
- package/dist/node/models/index.d.mts +0 -2
- package/dist/node/models/index.d.mts.map +0 -1
- package/dist/node/models/index.d.ts +0 -2
- package/dist/node/models/index.d.ts.map +0 -1
- package/dist/node/objToQuery.d.cts +0 -2
- package/dist/node/objToQuery.d.cts.map +0 -1
- package/dist/node/objToQuery.d.mts +0 -2
- package/dist/node/objToQuery.d.mts.map +0 -1
- package/dist/node/objToQuery.d.ts +0 -2
- package/dist/node/objToQuery.d.ts.map +0 -1
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"WithArchive.d.ts","sourceRoot":"","sources":["../../src/WithArchive.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,OAAO,MAAM,WAAW,CAAC,kBAAkB,IAAI,kBAAkB,GAAG;IACzE,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"WithArchive.d.ts","sourceRoot":"","sources":["../../src/WithArchive.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,OAAO,MAAM,WAAW,CAAC,kBAAkB,IAAI,kBAAkB,GAAG;IACzE,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB,CAAA"}
|
package/dist/browser/index.cjs
DELETED
@@ -1,290 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
var __defProp = Object.defineProperty;
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
6
|
-
var __export = (target, all) => {
|
7
|
-
for (var name in all)
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
9
|
-
};
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
12
|
-
for (let key of __getOwnPropNames(from))
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
15
|
-
}
|
16
|
-
return to;
|
17
|
-
};
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
19
|
-
|
20
|
-
// src/index.ts
|
21
|
-
var src_exports = {};
|
22
|
-
__export(src_exports, {
|
23
|
-
ApiBase: () => ApiBase,
|
24
|
-
ApiSimple: () => ApiSimple,
|
25
|
-
ArchivistApi: () => ArchivistApi,
|
26
|
-
CurrentLocationWitnessSchema: () => CurrentLocationWitnessSchema,
|
27
|
-
LocationDivinerApi: () => LocationDivinerApi,
|
28
|
-
LocationTimeRangeAnswerSchema: () => LocationTimeRangeAnswerSchema,
|
29
|
-
LocationTimeRangeQuerySchema: () => LocationTimeRangeQuerySchema,
|
30
|
-
LocationWitnessSchema: () => LocationWitnessSchema,
|
31
|
-
RemoteDivinerConfigSchema: () => RemoteDivinerConfigSchema,
|
32
|
-
isLocationHeatmapQuery: () => isLocationHeatmapQuery,
|
33
|
-
isLocationQuadkeyHeatmapQuery: () => isLocationQuadkeyHeatmapQuery,
|
34
|
-
isLocationTimeRangeQuery: () => isLocationTimeRangeQuery,
|
35
|
-
isSupportedLocationQuerySchema: () => isSupportedLocationQuerySchema,
|
36
|
-
locationHeatmapAnswerSchema: () => locationHeatmapAnswerSchema,
|
37
|
-
locationHeatmapQuerySchema: () => locationHeatmapQuerySchema,
|
38
|
-
locationQuadkeyHeatmapAnswerSchema: () => locationQuadkeyHeatmapAnswerSchema,
|
39
|
-
locationQuadkeyHeatmapQuerySchema: () => locationQuadkeyHeatmapQuerySchema
|
40
|
-
});
|
41
|
-
module.exports = __toCommonJS(src_exports);
|
42
|
-
|
43
|
-
// src/Api/Api.ts
|
44
|
-
var import_huri = require("@xyo-network/huri");
|
45
|
-
|
46
|
-
// src/Base.ts
|
47
|
-
var import_axios = require("@xylabs/axios");
|
48
|
-
var ApiBase = class _ApiBase {
|
49
|
-
config;
|
50
|
-
axios;
|
51
|
-
constructor(config) {
|
52
|
-
this.config = config;
|
53
|
-
this.axios = new import_axios.AxiosJson({ ...this.config, headers: this.headers });
|
54
|
-
}
|
55
|
-
get authenticated() {
|
56
|
-
return !!this.config.apiKey || !!this.config.jwtToken;
|
57
|
-
}
|
58
|
-
get headers() {
|
59
|
-
const headers = {};
|
60
|
-
if (this.config.jwtToken) {
|
61
|
-
headers.Authorization = `Bearer ${this.config.jwtToken}`;
|
62
|
-
}
|
63
|
-
if (this.config.apiKey) {
|
64
|
-
headers["x-api-key"] = this.config.apiKey;
|
65
|
-
}
|
66
|
-
return headers;
|
67
|
-
}
|
68
|
-
get query() {
|
69
|
-
return this.config.query ?? "";
|
70
|
-
}
|
71
|
-
get root() {
|
72
|
-
return this.config.root ?? "/";
|
73
|
-
}
|
74
|
-
static resolveResponse(result) {
|
75
|
-
return [result?.data?.data, result?.data, result];
|
76
|
-
}
|
77
|
-
static shapeResponse(response, responseType) {
|
78
|
-
const resolvedResponse = _ApiBase.resolveResponse(response);
|
79
|
-
return responseType === "tuple" ? resolvedResponse : resolvedResponse[0];
|
80
|
-
}
|
81
|
-
onError(error, depth = 0) {
|
82
|
-
this.config.reportableParent?.onError?.(error, depth + 1);
|
83
|
-
this.config.onError?.(error, depth);
|
84
|
-
}
|
85
|
-
onFailure(response, depth = 0) {
|
86
|
-
this.config.reportableParent?.onFailure?.(response, depth + 1);
|
87
|
-
this.config.onFailure?.(response, depth);
|
88
|
-
}
|
89
|
-
onSuccess(response, depth = 0) {
|
90
|
-
this.config.reportableParent?.onSuccess?.(response, depth + 1);
|
91
|
-
this.config.onSuccess?.(response, depth);
|
92
|
-
}
|
93
|
-
async deleteEndpoint(endPoint = "", responseType) {
|
94
|
-
const response = await this.monitorResponse(async () => {
|
95
|
-
return await this.axios.delete(`${this.resolveRoot()}${endPoint}${this.query}`);
|
96
|
-
});
|
97
|
-
return _ApiBase.shapeResponse(response, responseType);
|
98
|
-
}
|
99
|
-
async getEndpoint(endPoint = "", responseType) {
|
100
|
-
const response = await this.monitorResponse(async () => {
|
101
|
-
return await this.axios.get(`${this.resolveRoot()}${endPoint}${this.query}`);
|
102
|
-
});
|
103
|
-
return _ApiBase.shapeResponse(response, responseType);
|
104
|
-
}
|
105
|
-
handleMonitorResponseError(error, trapAxiosException) {
|
106
|
-
if (!error.isError) {
|
107
|
-
throw error;
|
108
|
-
}
|
109
|
-
if (trapAxiosException) {
|
110
|
-
error.response ? this.onFailure(error.response) : this.onError(error);
|
111
|
-
if (this.config.throwFailure) {
|
112
|
-
throw error;
|
113
|
-
}
|
114
|
-
return error.response;
|
115
|
-
}
|
116
|
-
}
|
117
|
-
async monitorResponse(closure) {
|
118
|
-
let trapAxiosException = true;
|
119
|
-
try {
|
120
|
-
const response = await closure();
|
121
|
-
trapAxiosException = false;
|
122
|
-
response.status < 300 ? this.onSuccess(response) : this.onFailure(response);
|
123
|
-
return response;
|
124
|
-
} catch (error) {
|
125
|
-
this.handleMonitorResponseError(error, trapAxiosException);
|
126
|
-
}
|
127
|
-
}
|
128
|
-
async postEndpoint(endPoint = "", data, responseType) {
|
129
|
-
const response = await this.monitorResponse(async () => {
|
130
|
-
return await this.axios.post(`${this.resolveRoot()}${endPoint}${this.query}`, data);
|
131
|
-
});
|
132
|
-
return _ApiBase.shapeResponse(response, responseType);
|
133
|
-
}
|
134
|
-
async putEndpoint(endPoint = "", data, responseType) {
|
135
|
-
const response = await this.monitorResponse(async () => {
|
136
|
-
return await this.axios.put(`${this.resolveRoot()}${endPoint}${this.query}`, data);
|
137
|
-
});
|
138
|
-
return _ApiBase.shapeResponse(response, responseType);
|
139
|
-
}
|
140
|
-
resolveRoot() {
|
141
|
-
return `${this.config.apiDomain}${this.root}`;
|
142
|
-
}
|
143
|
-
};
|
144
|
-
|
145
|
-
// src/objToQuery.ts
|
146
|
-
var objToQuery = (obj) => {
|
147
|
-
return `?${Object.entries(obj).map(([key, value]) => {
|
148
|
-
return `${key}=${value}`;
|
149
|
-
}).filter((value) => value !== void 0).join("&")}`;
|
150
|
-
};
|
151
|
-
|
152
|
-
// src/Simple.ts
|
153
|
-
var ApiSimple = class extends ApiBase {
|
154
|
-
async delete(responseType) {
|
155
|
-
switch (responseType) {
|
156
|
-
case "tuple": {
|
157
|
-
return await this.deleteEndpoint(void 0, "tuple");
|
158
|
-
}
|
159
|
-
default: {
|
160
|
-
return await this.deleteEndpoint();
|
161
|
-
}
|
162
|
-
}
|
163
|
-
}
|
164
|
-
async find(query = {}, responseType) {
|
165
|
-
switch (responseType) {
|
166
|
-
case "tuple": {
|
167
|
-
return await this.getEndpoint(objToQuery(query), "tuple");
|
168
|
-
}
|
169
|
-
default: {
|
170
|
-
return await this.getEndpoint(objToQuery(query));
|
171
|
-
}
|
172
|
-
}
|
173
|
-
}
|
174
|
-
async get(responseType) {
|
175
|
-
switch (responseType) {
|
176
|
-
case "tuple": {
|
177
|
-
return await this.getEndpoint(void 0, "tuple");
|
178
|
-
}
|
179
|
-
default: {
|
180
|
-
return await this.getEndpoint();
|
181
|
-
}
|
182
|
-
}
|
183
|
-
}
|
184
|
-
async post(data, responseType) {
|
185
|
-
switch (responseType) {
|
186
|
-
case "tuple": {
|
187
|
-
return await this.postEndpoint(void 0, data, "tuple");
|
188
|
-
}
|
189
|
-
default: {
|
190
|
-
return await this.postEndpoint(void 0, data);
|
191
|
-
}
|
192
|
-
}
|
193
|
-
}
|
194
|
-
async put(data, responseType) {
|
195
|
-
switch (responseType) {
|
196
|
-
case "tuple": {
|
197
|
-
return await this.putEndpoint(void 0, data, "tuple");
|
198
|
-
}
|
199
|
-
default: {
|
200
|
-
return await this.putEndpoint(void 0, data);
|
201
|
-
}
|
202
|
-
}
|
203
|
-
}
|
204
|
-
};
|
205
|
-
|
206
|
-
// src/Api/Api.ts
|
207
|
-
var ArchivistApi = class extends ApiSimple {
|
208
|
-
huri(huri) {
|
209
|
-
const huriObj = typeof huri === "string" ? new import_huri.Huri(huri) : huri;
|
210
|
-
return new ApiSimple({
|
211
|
-
...this.config,
|
212
|
-
root: `${this.root}${huriObj.href}/`
|
213
|
-
});
|
214
|
-
}
|
215
|
-
};
|
216
|
-
|
217
|
-
// src/Diviner/LocationDiviner/LocationDivinerApi.ts
|
218
|
-
var import_axios3 = require("@xylabs/axios");
|
219
|
-
|
220
|
-
// src/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.ts
|
221
|
-
var import_axios2 = require("@xylabs/axios");
|
222
|
-
var locationDivinerApiResponseTransformer = (data, _headers) => {
|
223
|
-
return data.data;
|
224
|
-
};
|
225
|
-
var getLocationDivinerApiResponseTransformer = (axiosInstance = import_axios2.axios) => {
|
226
|
-
return axiosInstance.defaults.transformResponse ? [
|
227
|
-
...Array.isArray(axiosInstance.defaults.transformResponse) ? axiosInstance.defaults.transformResponse : [axiosInstance.defaults.transformResponse],
|
228
|
-
locationDivinerApiResponseTransformer
|
229
|
-
] : [locationDivinerApiResponseTransformer];
|
230
|
-
};
|
231
|
-
|
232
|
-
// src/Diviner/LocationDiviner/LocationDivinerApi.ts
|
233
|
-
var LocationDivinerApi = class {
|
234
|
-
config;
|
235
|
-
constructor(config) {
|
236
|
-
this.config = config;
|
237
|
-
}
|
238
|
-
get axiosRequestConfig() {
|
239
|
-
return {
|
240
|
-
transformResponse: getLocationDivinerApiResponseTransformer()
|
241
|
-
};
|
242
|
-
}
|
243
|
-
async getLocationQuery(hash) {
|
244
|
-
return (await import_axios3.axios.get(`${this.config.apiDomain}/location/query/${hash}`, this.axiosRequestConfig)).data;
|
245
|
-
}
|
246
|
-
async postLocationQuery(request) {
|
247
|
-
return (await import_axios3.axios.post(`${this.config.apiDomain}/location/query`, { ...request }, this.axiosRequestConfig)).data;
|
248
|
-
}
|
249
|
-
};
|
250
|
-
|
251
|
-
// src/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.ts
|
252
|
-
var locationHeatmapQuerySchema = "network.xyo.location.heatmap.query";
|
253
|
-
var locationHeatmapAnswerSchema = "network.xyo.location.heatmap.answer";
|
254
|
-
var isLocationHeatmapQuery = (query) => {
|
255
|
-
return query && query?.schema === locationHeatmapQuerySchema;
|
256
|
-
};
|
257
|
-
|
258
|
-
// src/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.ts
|
259
|
-
var locationQuadkeyHeatmapQuerySchema = "network.xyo.location.heatmap.quadkey.query";
|
260
|
-
var locationQuadkeyHeatmapAnswerSchema = "network.xyo.location.heatmap.quadkey.answer";
|
261
|
-
var isLocationQuadkeyHeatmapQuery = (query) => {
|
262
|
-
return query && query?.schema === locationQuadkeyHeatmapQuerySchema;
|
263
|
-
};
|
264
|
-
|
265
|
-
// src/Diviner/LocationDiviner/Queries/LocationQuerySchema.ts
|
266
|
-
var locationQuerySchemas = {
|
267
|
-
"network.xyo.location.heatmap.quadkey.query": true,
|
268
|
-
"network.xyo.location.heatmap.query": true,
|
269
|
-
"network.xyo.location.range.query": true
|
270
|
-
};
|
271
|
-
var isSupportedLocationQuerySchema = (schema) => {
|
272
|
-
return locationQuerySchemas[schema] || false;
|
273
|
-
};
|
274
|
-
|
275
|
-
// src/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.ts
|
276
|
-
var LocationTimeRangeQuerySchema = "network.xyo.location.range.query";
|
277
|
-
var LocationTimeRangeAnswerSchema = "network.xyo.location.range.answer";
|
278
|
-
var isLocationTimeRangeQuery = (query) => {
|
279
|
-
return query && query?.schema === LocationTimeRangeAnswerSchema;
|
280
|
-
};
|
281
|
-
|
282
|
-
// src/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.ts
|
283
|
-
var CurrentLocationWitnessSchema = "co.coinapp.currentlocationwitness";
|
284
|
-
|
285
|
-
// src/Diviner/LocationDiviner/Witnesses/LocationWitness.ts
|
286
|
-
var LocationWitnessSchema = "network.xyo.location";
|
287
|
-
|
288
|
-
// src/Diviner/RemoteDivinerConfig.ts
|
289
|
-
var RemoteDivinerConfigSchema = "network.xyo.diviner.remote.config";
|
290
|
-
//# sourceMappingURL=index.cjs.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["../../src/index.ts","../../src/Api/Api.ts","../../src/Base.ts","../../src/objToQuery.ts","../../src/Simple.ts","../../src/Diviner/LocationDiviner/LocationDivinerApi.ts","../../src/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.ts","../../src/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.ts","../../src/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.ts","../../src/Diviner/LocationDiviner/Queries/LocationQuerySchema.ts","../../src/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.ts","../../src/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.ts","../../src/Diviner/LocationDiviner/Witnesses/LocationWitness.ts","../../src/Diviner/RemoteDivinerConfig.ts"],"sourcesContent":["export * from './Api/index.ts'\nexport * from './Base.ts'\nexport * from './Diviner/index.ts'\nexport * from './models/index.ts'\nexport * from './Simple.ts'\nexport * from './WithArchive.ts'\n","import { ApiConfig } from '@xyo-network/api-models'\nimport { Huri } from '@xyo-network/huri'\nimport { Payload } from '@xyo-network/payload-model'\n\nimport { ApiSimple } from '../Simple.ts'\n\nexport class ArchivistApi<C extends ApiConfig = ApiConfig> extends ApiSimple<Payload[], C> {\n huri(huri: Huri | string) {\n const huriObj = typeof huri === 'string' ? new Huri(huri) : huri\n return new ApiSimple<Payload>({\n ...this.config,\n root: `${this.root}${huriObj.href}/`,\n })\n }\n}\n","import { AxiosJson } from '@xylabs/axios'\nimport {\n ApiConfig,\n ApiEnvelope,\n ApiError,\n ApiReportable,\n ApiResponse,\n ApiResponseBody,\n ApiResponseTuple,\n ApiResponseTupleOrBody,\n ApiResponseType,\n} from '@xyo-network/api-models'\n\nexport class ApiBase<C extends ApiConfig = ApiConfig> implements ApiReportable {\n readonly config: C\n protected axios: AxiosJson\n\n constructor(config: C) {\n this.config = config\n this.axios = new AxiosJson({ ...this.config, headers: this.headers })\n }\n\n get authenticated() {\n return !!this.config.apiKey || !!this.config.jwtToken\n }\n\n protected get headers(): Record<string, string> {\n const headers: Record<string, string> = {}\n if (this.config.jwtToken) {\n headers.Authorization = `Bearer ${this.config.jwtToken}`\n }\n if (this.config.apiKey) {\n headers['x-api-key'] = this.config.apiKey\n }\n return headers\n }\n\n protected get query() {\n return this.config.query ?? ''\n }\n\n protected get root() {\n return this.config.root ?? '/'\n }\n\n private static resolveResponse<T>(result?: ApiResponse<ApiEnvelope<T>>) {\n return [result?.data?.data, result?.data, result] as ApiResponseTuple<T>\n }\n\n private static shapeResponse<T = unknown>(response: ApiResponse<ApiEnvelope<T>> | undefined, responseType?: ApiResponseType) {\n const resolvedResponse = ApiBase.resolveResponse(response)\n return responseType === 'tuple' ? resolvedResponse : resolvedResponse[0]\n }\n\n onError(error: ApiError, depth = 0) {\n this.config.reportableParent?.onError?.(error, depth + 1)\n this.config.onError?.(error, depth)\n }\n\n onFailure(response: ApiResponse, depth = 0) {\n this.config.reportableParent?.onFailure?.(response, depth + 1)\n this.config.onFailure?.(response, depth)\n }\n\n onSuccess(response: ApiResponse, depth = 0) {\n this.config.reportableParent?.onSuccess?.(response, depth + 1)\n this.config.onSuccess?.(response, depth)\n }\n\n protected async deleteEndpoint<T = unknown>(endPoint?: string): Promise<ApiResponseBody<T>>\n protected async deleteEndpoint<T = unknown>(endPoint?: string, responseType?: 'body'): Promise<ApiResponseBody<T>>\n protected async deleteEndpoint<T = unknown>(endPoint?: string, responseType?: 'tuple'): Promise<ApiResponseTuple<T>>\n protected async deleteEndpoint<T = unknown>(endPoint = '', responseType?: ApiResponseType): Promise<ApiResponseTupleOrBody<T>> {\n const response = await this.monitorResponse<T>(async () => {\n return await this.axios.delete<ApiEnvelope<T>, ApiResponse<ApiEnvelope<T>>>(`${this.resolveRoot()}${endPoint}${this.query}`)\n })\n return ApiBase.shapeResponse<T>(response, responseType)\n }\n\n protected async getEndpoint<T = unknown>(endPoint?: string): Promise<ApiResponseBody<T>>\n protected async getEndpoint<T = unknown>(endPoint?: string, responseType?: 'body'): Promise<ApiResponseBody<T>>\n protected async getEndpoint<T = unknown>(endPoint?: string, responseType?: 'tuple'): Promise<ApiResponseTuple<T>>\n protected async getEndpoint<T = unknown>(endPoint = '', responseType?: ApiResponseType): Promise<ApiResponseTupleOrBody<T>> {\n const response = await this.monitorResponse<T>(async () => {\n return await this.axios.get<ApiEnvelope<T>, ApiResponse<ApiEnvelope<T>>>(`${this.resolveRoot()}${endPoint}${this.query}`)\n })\n return ApiBase.shapeResponse<T>(response, responseType)\n }\n\n protected handleMonitorResponseError<T>(error: ApiError, trapAxiosException: boolean) {\n if (!error.isError) {\n throw error\n }\n\n if (trapAxiosException) {\n // eslint-disable-next-line @typescript-eslint/no-unused-expressions\n error.response ? this.onFailure(error.response) : this.onError(error)\n if (this.config.throwFailure) {\n throw error\n }\n return error.response as ApiResponse<ApiEnvelope<T>>\n }\n }\n\n protected async monitorResponse<T>(closure: () => Promise<ApiResponse<ApiEnvelope<T>>>) {\n // we use this to prevent accidental catching on exceptions in callbacks\n let trapAxiosException = true\n try {\n const response = await closure()\n trapAxiosException = false\n\n // eslint-disable-next-line @typescript-eslint/no-unused-expressions\n response.status < 300 ? this.onSuccess(response) : this.onFailure(response)\n\n return response\n } catch (error) {\n this.handleMonitorResponseError(error as ApiError, trapAxiosException)\n }\n }\n\n protected async postEndpoint<T = unknown, D = unknown>(endPoint?: string, data?: D): Promise<ApiResponseBody<T>>\n protected async postEndpoint<T = unknown, D = unknown>(endPoint?: string, data?: D, responseType?: 'body'): Promise<ApiResponseBody<T>>\n protected async postEndpoint<T = unknown, D = unknown>(endPoint?: string, data?: D, responseType?: 'tuple'): Promise<ApiResponseTuple<T>>\n protected async postEndpoint<T = unknown, D = unknown>(\n endPoint = '',\n data?: D,\n responseType?: ApiResponseType,\n ): Promise<ApiResponseTupleOrBody<T>> {\n const response = await this.monitorResponse<T>(async () => {\n return await this.axios.post<ApiEnvelope<T>, ApiResponse<ApiEnvelope<T>, D>, D>(`${this.resolveRoot()}${endPoint}${this.query}`, data)\n })\n return ApiBase.shapeResponse<T>(response, responseType)\n }\n\n protected async putEndpoint<T = unknown, D = unknown>(endPoint?: string, data?: D): Promise<ApiResponseBody<T>>\n protected async putEndpoint<T = unknown, D = unknown>(endPoint?: string, data?: D, responseType?: 'body'): Promise<ApiResponseBody<T>>\n protected async putEndpoint<T = unknown, D = unknown>(endPoint?: string, data?: D, responseType?: 'tuple'): Promise<ApiResponseTuple<T>>\n protected async putEndpoint<T = unknown, D = unknown>(endPoint = '', data?: D, responseType?: ApiResponseType): Promise<ApiResponseTupleOrBody<T>> {\n const response = await this.monitorResponse<T>(async () => {\n return await this.axios.put<ApiEnvelope<T>, ApiResponse<ApiEnvelope<T>, D>, D>(`${this.resolveRoot()}${endPoint}${this.query}`, data)\n })\n return ApiBase.shapeResponse<T>(response, responseType)\n }\n\n private resolveRoot() {\n return `${this.config.apiDomain}${this.root}`\n }\n}\n","export const objToQuery = (obj: Record<string, string | number | undefined>) => {\n return `?${Object.entries(obj)\n .map(([key, value]) => {\n return `${key}=${value}`\n })\n .filter(value => value !== undefined)\n .join('&')}`\n}\n","import { ApiConfig, ApiResponseBody, ApiResponseTuple, ApiResponseTupleOrBody, ApiResponseType } from '@xyo-network/api-models'\nimport { Payload, PayloadFindFilter } from '@xyo-network/payload-model'\n\nimport { ApiBase } from './Base.ts'\nimport { objToQuery } from './objToQuery.ts'\n\nexport type ApiSimpleQuery = PayloadFindFilter\n\nexport class ApiSimple<T = Payload, D = T, Q extends ApiSimpleQuery = ApiSimpleQuery, C extends ApiConfig = ApiConfig> extends ApiBase<C> {\n async delete(): Promise<ApiResponseBody<T>>\n async delete(responseType?: 'body'): Promise<ApiResponseBody<T>>\n async delete(responseType?: 'tuple'): Promise<ApiResponseTuple<T>>\n async delete(responseType?: ApiResponseType): Promise<ApiResponseTupleOrBody<T>> {\n switch (responseType) {\n case 'tuple': {\n return await this.deleteEndpoint(undefined, 'tuple')\n }\n default: {\n return await this.deleteEndpoint()\n }\n }\n }\n\n async find(query?: Q): Promise<ApiResponseBody<T>>\n async find(query?: Q, responseType?: 'body'): Promise<ApiResponseBody<T>>\n async find(query?: Q, responseType?: 'tuple'): Promise<ApiResponseTuple<T>>\n async find(query = {}, responseType?: ApiResponseType): Promise<ApiResponseTupleOrBody<T>> {\n switch (responseType) {\n case 'tuple': {\n return await this.getEndpoint(objToQuery(query), 'tuple')\n }\n default: {\n return await this.getEndpoint(objToQuery(query))\n }\n }\n }\n\n async get(): Promise<ApiResponseBody<T>>\n async get(responseType?: 'body'): Promise<ApiResponseBody<T>>\n async get(responseType?: 'tuple'): Promise<ApiResponseTuple<T>>\n async get(responseType?: ApiResponseType): Promise<ApiResponseTupleOrBody<T>> {\n switch (responseType) {\n case 'tuple': {\n return await this.getEndpoint(undefined, 'tuple')\n }\n default: {\n return await this.getEndpoint()\n }\n }\n }\n\n async post(data?: D): Promise<ApiResponseBody<T>>\n async post(data?: D, responseType?: 'body'): Promise<ApiResponseBody<T>>\n async post(data?: D, responseType?: 'tuple'): Promise<ApiResponseTuple<T>>\n async post(data?: D, responseType?: ApiResponseType): Promise<ApiResponseTupleOrBody<T>> {\n switch (responseType) {\n case 'tuple': {\n return await this.postEndpoint(undefined, data, 'tuple')\n }\n default: {\n return await this.postEndpoint(undefined, data)\n }\n }\n }\n\n async put(data?: D): Promise<ApiResponseBody<T>>\n async put(data?: D, responseType?: 'body'): Promise<ApiResponseBody<T>>\n async put(data?: D, responseType?: 'tuple'): Promise<ApiResponseTuple<T>>\n async put(data?: D, responseType?: ApiResponseType): Promise<ApiResponseTupleOrBody<T>> {\n switch (responseType) {\n case 'tuple': {\n return await this.putEndpoint(undefined, data, 'tuple')\n }\n default: {\n return await this.putEndpoint(undefined, data)\n }\n }\n }\n}\n","import { axios, RawAxiosRequestConfig } from '@xylabs/axios'\nimport { ApiConfig } from '@xyo-network/api-models'\n\nimport { getLocationDivinerApiResponseTransformer } from './LocationDivinerApiResponseTransformer.ts'\nimport { GetLocationQueryResponse } from './models.ts'\nimport { LocationQueryCreationResponse, SupportedLocationQueryCreationRequest } from './Queries/index.ts'\n\nclass LocationDivinerApi {\n config: ApiConfig\n constructor(config: ApiConfig) {\n this.config = config\n }\n\n private get axiosRequestConfig(): RawAxiosRequestConfig {\n return {\n transformResponse: getLocationDivinerApiResponseTransformer(),\n }\n }\n\n async getLocationQuery(hash: string) {\n return (await axios.get<GetLocationQueryResponse>(`${this.config.apiDomain}/location/query/${hash}`, this.axiosRequestConfig)).data\n }\n\n async postLocationQuery(request: SupportedLocationQueryCreationRequest) {\n return (await axios.post<LocationQueryCreationResponse>(`${this.config.apiDomain}/location/query`, { ...request }, this.axiosRequestConfig)).data\n }\n}\n\nexport { LocationDivinerApi }\n","import { axios, AxiosResponseTransformer } from '@xylabs/axios'\n\nexport const locationDivinerApiResponseTransformer: AxiosResponseTransformer = (data, _headers) => {\n return data.data\n}\n\n/**\n * Gets the response transformers for the LocationDiviner API. Done as a method instead of a property\n * to allow detection of dynamically added response transformers.\n * @param axiosInstance The axios instance (defaults to the global instance if none provided)\n * @returns the response transformers for the LocationDiviner API\n */\nexport const getLocationDivinerApiResponseTransformer = (axiosInstance = axios): AxiosResponseTransformer[] => {\n // If there's any existing response transforms preserve them and\n // append our response transform, otherwise just return ours\n return axiosInstance.defaults.transformResponse\n ? [\n ...(Array.isArray(axiosInstance.defaults.transformResponse)\n ? axiosInstance.defaults.transformResponse\n : [axiosInstance.defaults.transformResponse]),\n locationDivinerApiResponseTransformer,\n ]\n : [locationDivinerApiResponseTransformer]\n}\n","import { LocationWitnessSchema } from '../../Witnesses/index.ts'\n\nexport type LocationHeatmapQuerySchema = 'network.xyo.location.heatmap.query'\nexport const locationHeatmapQuerySchema: LocationHeatmapQuerySchema = 'network.xyo.location.heatmap.query'\n\nexport type LocationHeatmapAnswerSchema = 'network.xyo.location.heatmap.answer'\nexport const locationHeatmapAnswerSchema: LocationHeatmapAnswerSchema = 'network.xyo.location.heatmap.answer'\n\nexport type LocationHeatmapQuery = {\n schema: LocationWitnessSchema\n startTime?: string\n stopTime?: string\n}\n\nexport const isLocationHeatmapQuery = (query: Record<string, unknown>): query is LocationHeatmapQuery => {\n return query && query?.schema === locationHeatmapQuerySchema\n}\n","import { LocationWitnessSchema } from '../../Witnesses/index.ts'\n\nexport type LocationQuadkeyHeatmapQuerySchema = 'network.xyo.location.heatmap.quadkey.query'\nexport const locationQuadkeyHeatmapQuerySchema: LocationQuadkeyHeatmapQuerySchema = 'network.xyo.location.heatmap.quadkey.query'\nexport type LocationQuadkeyHeatmapAnswerSchema = 'network.xyo.location.heatmap.quadkey.answer'\nexport const locationQuadkeyHeatmapAnswerSchema: LocationQuadkeyHeatmapAnswerSchema = 'network.xyo.location.heatmap.quadkey.answer'\nexport type LocationQuadkeyHeatmapQuery = {\n schema: LocationWitnessSchema\n startTime?: string\n stopTime?: string\n}\n\nexport const isLocationQuadkeyHeatmapQuery = (query: Record<string, unknown>): query is LocationQuadkeyHeatmapQuery => {\n return query && query?.schema === locationQuadkeyHeatmapQuerySchema\n}\n","import { LocationHeatmapQuerySchema } from './LocationHeatmapQuery/index.ts'\nimport { LocationQuadkeyHeatmapQuerySchema } from './LocationQuadkeyHeatmapQuery/index.ts'\nimport { LocationTimeRangeQuerySchema } from './LocationTimeRangeQuery/index.ts'\n\nexport type LocationQuerySchema = LocationQuadkeyHeatmapQuerySchema | LocationHeatmapQuerySchema | LocationTimeRangeQuerySchema\n\nconst locationQuerySchemas: Record<LocationQuerySchema, true> = {\n 'network.xyo.location.heatmap.quadkey.query': true,\n 'network.xyo.location.heatmap.query': true,\n 'network.xyo.location.range.query': true,\n}\n\nexport const isSupportedLocationQuerySchema = (schema: string): schema is LocationQuerySchema => {\n return locationQuerySchemas[schema as LocationQuerySchema] || false\n}\n","import { LocationWitnessSchema } from '../../Witnesses/index.ts'\n\nexport type LocationTimeRangeQuerySchema = 'network.xyo.location.range.query'\nexport const LocationTimeRangeQuerySchema: LocationTimeRangeQuerySchema = 'network.xyo.location.range.query'\n\nexport type LocationTimeRangeAnswerSchema = 'network.xyo.location.range.answer'\nexport const LocationTimeRangeAnswerSchema: LocationTimeRangeAnswerSchema = 'network.xyo.location.range.answer'\n\nexport type LocationTimeRangeQuery = {\n schema: LocationWitnessSchema\n startTime?: string\n stopTime?: string\n\n // TODO: Bounding rectangle, etc.\n}\n\nexport const isLocationTimeRangeQuery = (query: Record<string, unknown>): query is LocationTimeRangeQuery => {\n return query && query?.schema === LocationTimeRangeAnswerSchema\n}\n","import { Payload } from '@xyo-network/payload-model'\n\nexport type CurrentLocationWitnessSchema = 'co.coinapp.currentlocationwitness'\nexport const CurrentLocationWitnessSchema: CurrentLocationWitnessSchema = 'co.coinapp.currentlocationwitness'\n\nexport type CurrentLocationWitnessPayload = Payload<{\n altitudeMeters: number\n directionDegrees: number\n latitude: number\n longitude: number\n quadkey: string\n schema: CurrentLocationWitnessSchema\n speedKph: number\n}>\n","import { Payload } from '@xyo-network/payload-model'\n\nexport type LocationWitnessSchema = 'network.xyo.location'\nexport const LocationWitnessSchema: LocationWitnessSchema = 'network.xyo.location'\n\nexport interface Coordinates {\n accuracy: number | null\n altitude: number | null\n altitudeAccuracy: number | null\n heading: number | null\n latitude: number\n longitude: number\n speed: number | null\n}\nexport interface CurrentLocation {\n coords: Coordinates\n timestamp: number\n}\n\nexport type LocationWitnessPayload = Payload<{\n currentLocation: CurrentLocation\n schema: LocationWitnessSchema\n}>\n","import { DivinerConfig } from '@xyo-network/diviner-model'\n\nimport { ArchivistApi } from '../Api/index.ts'\n\nexport type RemoteDivinerConfigSchema = 'network.xyo.diviner.remote.config'\nexport const RemoteDivinerConfigSchema: RemoteDivinerConfigSchema = 'network.xyo.diviner.remote.config'\n\nexport type RemoteDivinerConfig = DivinerConfig & {\n /** @deprecated use in params instead */\n api?: ArchivistApi\n archive?: string\n schema: RemoteDivinerConfigSchema\n}\n"],"mappings":"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","names":["import_axios","import_axios"]}
|
package/dist/browser/index.d.cts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA;AAC9B,cAAc,WAAW,CAAA;AACzB,cAAc,oBAAoB,CAAA;AAClC,cAAc,mBAAmB,CAAA;AACjC,cAAc,aAAa,CAAA;AAC3B,cAAc,kBAAkB,CAAA"}
|
package/dist/browser/index.d.mts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA;AAC9B,cAAc,WAAW,CAAA;AACzB,cAAc,oBAAoB,CAAA;AAClC,cAAc,mBAAmB,CAAA;AACjC,cAAc,aAAa,CAAA;AAC3B,cAAc,kBAAkB,CAAA"}
|
package/dist/browser/index.d.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA;AAC9B,cAAc,WAAW,CAAA;AACzB,cAAc,oBAAoB,CAAA;AAClC,cAAc,mBAAmB,CAAA;AACjC,cAAc,aAAa,CAAA;AAC3B,cAAc,kBAAkB,CAAA"}
|
package/dist/browser/index.mjs
DELETED
@@ -1,267 +0,0 @@
|
|
1
|
-
// src/Api/Api.ts
|
2
|
-
import { Huri } from "@xyo-network/huri";
|
3
|
-
|
4
|
-
// src/Base.ts
|
5
|
-
import { AxiosJson } from "@xylabs/axios";
|
6
|
-
var ApiBase = class _ApiBase {
|
7
|
-
config;
|
8
|
-
axios;
|
9
|
-
constructor(config) {
|
10
|
-
this.config = config;
|
11
|
-
this.axios = new AxiosJson({ ...this.config, headers: this.headers });
|
12
|
-
}
|
13
|
-
get authenticated() {
|
14
|
-
return !!this.config.apiKey || !!this.config.jwtToken;
|
15
|
-
}
|
16
|
-
get headers() {
|
17
|
-
const headers = {};
|
18
|
-
if (this.config.jwtToken) {
|
19
|
-
headers.Authorization = `Bearer ${this.config.jwtToken}`;
|
20
|
-
}
|
21
|
-
if (this.config.apiKey) {
|
22
|
-
headers["x-api-key"] = this.config.apiKey;
|
23
|
-
}
|
24
|
-
return headers;
|
25
|
-
}
|
26
|
-
get query() {
|
27
|
-
return this.config.query ?? "";
|
28
|
-
}
|
29
|
-
get root() {
|
30
|
-
return this.config.root ?? "/";
|
31
|
-
}
|
32
|
-
static resolveResponse(result) {
|
33
|
-
return [result?.data?.data, result?.data, result];
|
34
|
-
}
|
35
|
-
static shapeResponse(response, responseType) {
|
36
|
-
const resolvedResponse = _ApiBase.resolveResponse(response);
|
37
|
-
return responseType === "tuple" ? resolvedResponse : resolvedResponse[0];
|
38
|
-
}
|
39
|
-
onError(error, depth = 0) {
|
40
|
-
this.config.reportableParent?.onError?.(error, depth + 1);
|
41
|
-
this.config.onError?.(error, depth);
|
42
|
-
}
|
43
|
-
onFailure(response, depth = 0) {
|
44
|
-
this.config.reportableParent?.onFailure?.(response, depth + 1);
|
45
|
-
this.config.onFailure?.(response, depth);
|
46
|
-
}
|
47
|
-
onSuccess(response, depth = 0) {
|
48
|
-
this.config.reportableParent?.onSuccess?.(response, depth + 1);
|
49
|
-
this.config.onSuccess?.(response, depth);
|
50
|
-
}
|
51
|
-
async deleteEndpoint(endPoint = "", responseType) {
|
52
|
-
const response = await this.monitorResponse(async () => {
|
53
|
-
return await this.axios.delete(`${this.resolveRoot()}${endPoint}${this.query}`);
|
54
|
-
});
|
55
|
-
return _ApiBase.shapeResponse(response, responseType);
|
56
|
-
}
|
57
|
-
async getEndpoint(endPoint = "", responseType) {
|
58
|
-
const response = await this.monitorResponse(async () => {
|
59
|
-
return await this.axios.get(`${this.resolveRoot()}${endPoint}${this.query}`);
|
60
|
-
});
|
61
|
-
return _ApiBase.shapeResponse(response, responseType);
|
62
|
-
}
|
63
|
-
handleMonitorResponseError(error, trapAxiosException) {
|
64
|
-
if (!error.isError) {
|
65
|
-
throw error;
|
66
|
-
}
|
67
|
-
if (trapAxiosException) {
|
68
|
-
error.response ? this.onFailure(error.response) : this.onError(error);
|
69
|
-
if (this.config.throwFailure) {
|
70
|
-
throw error;
|
71
|
-
}
|
72
|
-
return error.response;
|
73
|
-
}
|
74
|
-
}
|
75
|
-
async monitorResponse(closure) {
|
76
|
-
let trapAxiosException = true;
|
77
|
-
try {
|
78
|
-
const response = await closure();
|
79
|
-
trapAxiosException = false;
|
80
|
-
response.status < 300 ? this.onSuccess(response) : this.onFailure(response);
|
81
|
-
return response;
|
82
|
-
} catch (error) {
|
83
|
-
this.handleMonitorResponseError(error, trapAxiosException);
|
84
|
-
}
|
85
|
-
}
|
86
|
-
async postEndpoint(endPoint = "", data, responseType) {
|
87
|
-
const response = await this.monitorResponse(async () => {
|
88
|
-
return await this.axios.post(`${this.resolveRoot()}${endPoint}${this.query}`, data);
|
89
|
-
});
|
90
|
-
return _ApiBase.shapeResponse(response, responseType);
|
91
|
-
}
|
92
|
-
async putEndpoint(endPoint = "", data, responseType) {
|
93
|
-
const response = await this.monitorResponse(async () => {
|
94
|
-
return await this.axios.put(`${this.resolveRoot()}${endPoint}${this.query}`, data);
|
95
|
-
});
|
96
|
-
return _ApiBase.shapeResponse(response, responseType);
|
97
|
-
}
|
98
|
-
resolveRoot() {
|
99
|
-
return `${this.config.apiDomain}${this.root}`;
|
100
|
-
}
|
101
|
-
};
|
102
|
-
|
103
|
-
// src/objToQuery.ts
|
104
|
-
var objToQuery = (obj) => {
|
105
|
-
return `?${Object.entries(obj).map(([key, value]) => {
|
106
|
-
return `${key}=${value}`;
|
107
|
-
}).filter((value) => value !== void 0).join("&")}`;
|
108
|
-
};
|
109
|
-
|
110
|
-
// src/Simple.ts
|
111
|
-
var ApiSimple = class extends ApiBase {
|
112
|
-
async delete(responseType) {
|
113
|
-
switch (responseType) {
|
114
|
-
case "tuple": {
|
115
|
-
return await this.deleteEndpoint(void 0, "tuple");
|
116
|
-
}
|
117
|
-
default: {
|
118
|
-
return await this.deleteEndpoint();
|
119
|
-
}
|
120
|
-
}
|
121
|
-
}
|
122
|
-
async find(query = {}, responseType) {
|
123
|
-
switch (responseType) {
|
124
|
-
case "tuple": {
|
125
|
-
return await this.getEndpoint(objToQuery(query), "tuple");
|
126
|
-
}
|
127
|
-
default: {
|
128
|
-
return await this.getEndpoint(objToQuery(query));
|
129
|
-
}
|
130
|
-
}
|
131
|
-
}
|
132
|
-
async get(responseType) {
|
133
|
-
switch (responseType) {
|
134
|
-
case "tuple": {
|
135
|
-
return await this.getEndpoint(void 0, "tuple");
|
136
|
-
}
|
137
|
-
default: {
|
138
|
-
return await this.getEndpoint();
|
139
|
-
}
|
140
|
-
}
|
141
|
-
}
|
142
|
-
async post(data, responseType) {
|
143
|
-
switch (responseType) {
|
144
|
-
case "tuple": {
|
145
|
-
return await this.postEndpoint(void 0, data, "tuple");
|
146
|
-
}
|
147
|
-
default: {
|
148
|
-
return await this.postEndpoint(void 0, data);
|
149
|
-
}
|
150
|
-
}
|
151
|
-
}
|
152
|
-
async put(data, responseType) {
|
153
|
-
switch (responseType) {
|
154
|
-
case "tuple": {
|
155
|
-
return await this.putEndpoint(void 0, data, "tuple");
|
156
|
-
}
|
157
|
-
default: {
|
158
|
-
return await this.putEndpoint(void 0, data);
|
159
|
-
}
|
160
|
-
}
|
161
|
-
}
|
162
|
-
};
|
163
|
-
|
164
|
-
// src/Api/Api.ts
|
165
|
-
var ArchivistApi = class extends ApiSimple {
|
166
|
-
huri(huri) {
|
167
|
-
const huriObj = typeof huri === "string" ? new Huri(huri) : huri;
|
168
|
-
return new ApiSimple({
|
169
|
-
...this.config,
|
170
|
-
root: `${this.root}${huriObj.href}/`
|
171
|
-
});
|
172
|
-
}
|
173
|
-
};
|
174
|
-
|
175
|
-
// src/Diviner/LocationDiviner/LocationDivinerApi.ts
|
176
|
-
import { axios as axios2 } from "@xylabs/axios";
|
177
|
-
|
178
|
-
// src/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.ts
|
179
|
-
import { axios } from "@xylabs/axios";
|
180
|
-
var locationDivinerApiResponseTransformer = (data, _headers) => {
|
181
|
-
return data.data;
|
182
|
-
};
|
183
|
-
var getLocationDivinerApiResponseTransformer = (axiosInstance = axios) => {
|
184
|
-
return axiosInstance.defaults.transformResponse ? [
|
185
|
-
...Array.isArray(axiosInstance.defaults.transformResponse) ? axiosInstance.defaults.transformResponse : [axiosInstance.defaults.transformResponse],
|
186
|
-
locationDivinerApiResponseTransformer
|
187
|
-
] : [locationDivinerApiResponseTransformer];
|
188
|
-
};
|
189
|
-
|
190
|
-
// src/Diviner/LocationDiviner/LocationDivinerApi.ts
|
191
|
-
var LocationDivinerApi = class {
|
192
|
-
config;
|
193
|
-
constructor(config) {
|
194
|
-
this.config = config;
|
195
|
-
}
|
196
|
-
get axiosRequestConfig() {
|
197
|
-
return {
|
198
|
-
transformResponse: getLocationDivinerApiResponseTransformer()
|
199
|
-
};
|
200
|
-
}
|
201
|
-
async getLocationQuery(hash) {
|
202
|
-
return (await axios2.get(`${this.config.apiDomain}/location/query/${hash}`, this.axiosRequestConfig)).data;
|
203
|
-
}
|
204
|
-
async postLocationQuery(request) {
|
205
|
-
return (await axios2.post(`${this.config.apiDomain}/location/query`, { ...request }, this.axiosRequestConfig)).data;
|
206
|
-
}
|
207
|
-
};
|
208
|
-
|
209
|
-
// src/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.ts
|
210
|
-
var locationHeatmapQuerySchema = "network.xyo.location.heatmap.query";
|
211
|
-
var locationHeatmapAnswerSchema = "network.xyo.location.heatmap.answer";
|
212
|
-
var isLocationHeatmapQuery = (query) => {
|
213
|
-
return query && query?.schema === locationHeatmapQuerySchema;
|
214
|
-
};
|
215
|
-
|
216
|
-
// src/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.ts
|
217
|
-
var locationQuadkeyHeatmapQuerySchema = "network.xyo.location.heatmap.quadkey.query";
|
218
|
-
var locationQuadkeyHeatmapAnswerSchema = "network.xyo.location.heatmap.quadkey.answer";
|
219
|
-
var isLocationQuadkeyHeatmapQuery = (query) => {
|
220
|
-
return query && query?.schema === locationQuadkeyHeatmapQuerySchema;
|
221
|
-
};
|
222
|
-
|
223
|
-
// src/Diviner/LocationDiviner/Queries/LocationQuerySchema.ts
|
224
|
-
var locationQuerySchemas = {
|
225
|
-
"network.xyo.location.heatmap.quadkey.query": true,
|
226
|
-
"network.xyo.location.heatmap.query": true,
|
227
|
-
"network.xyo.location.range.query": true
|
228
|
-
};
|
229
|
-
var isSupportedLocationQuerySchema = (schema) => {
|
230
|
-
return locationQuerySchemas[schema] || false;
|
231
|
-
};
|
232
|
-
|
233
|
-
// src/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.ts
|
234
|
-
var LocationTimeRangeQuerySchema = "network.xyo.location.range.query";
|
235
|
-
var LocationTimeRangeAnswerSchema = "network.xyo.location.range.answer";
|
236
|
-
var isLocationTimeRangeQuery = (query) => {
|
237
|
-
return query && query?.schema === LocationTimeRangeAnswerSchema;
|
238
|
-
};
|
239
|
-
|
240
|
-
// src/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.ts
|
241
|
-
var CurrentLocationWitnessSchema = "co.coinapp.currentlocationwitness";
|
242
|
-
|
243
|
-
// src/Diviner/LocationDiviner/Witnesses/LocationWitness.ts
|
244
|
-
var LocationWitnessSchema = "network.xyo.location";
|
245
|
-
|
246
|
-
// src/Diviner/RemoteDivinerConfig.ts
|
247
|
-
var RemoteDivinerConfigSchema = "network.xyo.diviner.remote.config";
|
248
|
-
export {
|
249
|
-
ApiBase,
|
250
|
-
ApiSimple,
|
251
|
-
ArchivistApi,
|
252
|
-
CurrentLocationWitnessSchema,
|
253
|
-
LocationDivinerApi,
|
254
|
-
LocationTimeRangeAnswerSchema,
|
255
|
-
LocationTimeRangeQuerySchema,
|
256
|
-
LocationWitnessSchema,
|
257
|
-
RemoteDivinerConfigSchema,
|
258
|
-
isLocationHeatmapQuery,
|
259
|
-
isLocationQuadkeyHeatmapQuery,
|
260
|
-
isLocationTimeRangeQuery,
|
261
|
-
isSupportedLocationQuerySchema,
|
262
|
-
locationHeatmapAnswerSchema,
|
263
|
-
locationHeatmapQuerySchema,
|
264
|
-
locationQuadkeyHeatmapAnswerSchema,
|
265
|
-
locationQuadkeyHeatmapQuerySchema
|
266
|
-
};
|
267
|
-
//# sourceMappingURL=index.mjs.map
|