@xyo-network/api 2.74.5 → 2.75.2
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/browser/Api/Api.cjs +188 -0
- package/dist/browser/Api/Api.cjs.map +1 -0
- package/dist/browser/Api/Api.d.cts.map +1 -0
- package/dist/browser/Api/Api.d.mts.map +1 -0
- package/dist/browser/Api/Api.d.ts +12 -0
- package/dist/browser/Api/Api.d.ts.map +1 -0
- package/dist/browser/Api/Api.js +15 -0
- package/dist/browser/Api/Api.js.map +1 -0
- package/dist/browser/Api/index.cjs +190 -0
- package/dist/browser/Api/index.cjs.map +1 -0
- package/dist/browser/Api/index.d.cts.map +1 -0
- package/dist/browser/Api/index.d.mts.map +1 -0
- package/dist/browser/Api/index.d.ts +2 -0
- package/dist/browser/Api/index.d.ts.map +1 -0
- package/dist/browser/Api/index.js +2 -0
- package/dist/browser/Api/index.js.map +1 -0
- package/dist/browser/Base.cjs +123 -0
- package/dist/browser/Base.cjs.map +1 -0
- package/dist/browser/Base.d.cts.map +1 -0
- package/dist/browser/Base.d.mts.map +1 -0
- package/dist/browser/Base.d.ts +32 -0
- package/dist/browser/Base.d.ts.map +1 -0
- package/dist/browser/Base.js +101 -0
- package/dist/browser/Base.js.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/LocationDivinerApi.cjs +55 -0
- package/dist/browser/Diviner/LocationDiviner/LocationDivinerApi.cjs.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/LocationDivinerApi.d.cts.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/LocationDivinerApi.d.mts.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/LocationDivinerApi.d.ts +12 -0
- package/dist/browser/Diviner/LocationDiviner/LocationDivinerApi.d.ts.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/LocationDivinerApi.js +23 -0
- package/dist/browser/Diviner/LocationDiviner/LocationDivinerApi.js.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.cjs +34 -0
- package/dist/browser/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.cjs.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.d.cts.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.d.mts.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.d.ts +10 -0
- package/dist/browser/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.d.ts.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.js +12 -0
- package/dist/browser/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.js.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapPointProperties.cjs +19 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapPointProperties.cjs.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapPointProperties.d.cts.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapPointProperties.d.mts.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapPointProperties.d.ts +5 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapPointProperties.d.ts.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapPointProperties.js +1 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapPointProperties.js.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.cjs +33 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.cjs.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.d.cts.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.d.mts.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.d.ts +12 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.d.ts.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.js +11 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.js.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/index.cjs +35 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/index.cjs.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/index.d.cts.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/index.d.mts.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/index.d.ts +3 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/index.d.ts.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/index.js +3 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/index.js.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.cjs +33 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.cjs.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.d.cts.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.d.mts.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.d.ts +12 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.d.ts.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.js +11 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.js.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/index.cjs +35 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/index.cjs.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/index.d.cts.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/index.d.mts.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/index.d.ts +2 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/index.d.ts.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/index.js +2 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/index.js.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQueryCreationRequest.cjs +19 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQueryCreationRequest.cjs.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQueryCreationRequest.d.cts.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQueryCreationRequest.d.mts.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQueryCreationRequest.d.ts +18 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQueryCreationRequest.d.ts.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQueryCreationRequest.js +1 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQueryCreationRequest.js.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQueryCreationResponse.cjs +19 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQueryCreationResponse.cjs.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQueryCreationResponse.d.cts.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQueryCreationResponse.d.mts.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQueryCreationResponse.d.ts +5 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQueryCreationResponse.d.ts.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQueryCreationResponse.js +1 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQueryCreationResponse.js.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQuerySchema.cjs +34 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQuerySchema.cjs.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQuerySchema.d.cts.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQuerySchema.d.mts.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQuerySchema.d.ts +6 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQuerySchema.d.ts.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQuerySchema.js +12 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationQuerySchema.js.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangePointProperties.cjs +19 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangePointProperties.cjs.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangePointProperties.d.cts.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangePointProperties.d.mts.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangePointProperties.d.ts +8 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangePointProperties.d.ts.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangePointProperties.js +1 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangePointProperties.js.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.cjs +33 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.cjs.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.d.cts.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.d.mts.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.d.ts +12 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.d.ts.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.js +11 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.js.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/index.cjs +35 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/index.cjs.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/index.d.cts.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/index.d.mts.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/index.d.ts +3 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/index.d.ts.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/index.js +3 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/index.js.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/index.cjs +66 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/index.cjs.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/index.d.cts.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/index.d.mts.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/index.d.ts +7 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/index.d.ts.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/index.js +7 -0
- package/dist/browser/Diviner/LocationDiviner/Queries/index.js.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.cjs +27 -0
- package/dist/browser/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.cjs.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.d.cts.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.d.mts.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.d.ts +13 -0
- package/dist/browser/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.d.ts.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.js +5 -0
- package/dist/browser/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.js.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/Witnesses/LocationWitness.cjs +27 -0
- package/dist/browser/Diviner/LocationDiviner/Witnesses/LocationWitness.cjs.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/Witnesses/LocationWitness.d.cts.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/Witnesses/LocationWitness.d.mts.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/Witnesses/LocationWitness.d.ts +21 -0
- package/dist/browser/Diviner/LocationDiviner/Witnesses/LocationWitness.d.ts.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/Witnesses/LocationWitness.js +5 -0
- package/dist/browser/Diviner/LocationDiviner/Witnesses/LocationWitness.js.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/Witnesses/index.cjs +33 -0
- package/dist/browser/Diviner/LocationDiviner/Witnesses/index.cjs.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/Witnesses/index.d.cts.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/Witnesses/index.d.mts.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/Witnesses/index.d.ts +3 -0
- package/dist/browser/Diviner/LocationDiviner/Witnesses/index.d.ts.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/Witnesses/index.js +3 -0
- package/dist/browser/Diviner/LocationDiviner/Witnesses/index.js.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/index.cjs +106 -0
- package/dist/browser/Diviner/LocationDiviner/index.cjs.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/index.d.cts.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/index.d.mts.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/index.d.ts +5 -0
- package/dist/browser/Diviner/LocationDiviner/index.d.ts.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/index.js +5 -0
- package/dist/browser/Diviner/LocationDiviner/index.js.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/models.cjs +19 -0
- package/dist/browser/Diviner/LocationDiviner/models.cjs.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/models.d.cts.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/models.d.mts.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/models.d.ts +5 -0
- package/dist/browser/Diviner/LocationDiviner/models.d.ts.map +1 -0
- package/dist/browser/Diviner/LocationDiviner/models.js +1 -0
- package/dist/browser/Diviner/LocationDiviner/models.js.map +1 -0
- package/dist/browser/Diviner/RemoteDivinerConfig.cjs +27 -0
- package/dist/browser/Diviner/RemoteDivinerConfig.cjs.map +1 -0
- package/dist/browser/Diviner/RemoteDivinerConfig.d.cts.map +1 -0
- package/dist/browser/Diviner/RemoteDivinerConfig.d.mts.map +1 -0
- package/dist/browser/Diviner/RemoteDivinerConfig.d.ts +11 -0
- package/dist/browser/Diviner/RemoteDivinerConfig.d.ts.map +1 -0
- package/dist/browser/Diviner/RemoteDivinerConfig.js +5 -0
- package/dist/browser/Diviner/RemoteDivinerConfig.js.map +1 -0
- package/dist/browser/Diviner/RemoteDivinerError.cjs +35 -0
- package/dist/browser/Diviner/RemoteDivinerError.cjs.map +1 -0
- package/dist/browser/Diviner/RemoteDivinerError.d.cts.map +1 -0
- package/dist/browser/Diviner/RemoteDivinerError.d.mts.map +1 -0
- package/dist/browser/Diviner/RemoteDivinerError.d.ts +6 -0
- package/dist/browser/Diviner/RemoteDivinerError.d.ts.map +1 -0
- package/dist/browser/Diviner/RemoteDivinerError.js +13 -0
- package/dist/browser/Diviner/RemoteDivinerError.js.map +1 -0
- package/dist/browser/Diviner/index.cjs +110 -0
- package/dist/browser/Diviner/index.cjs.map +1 -0
- package/dist/browser/Diviner/index.d.cts.map +1 -0
- package/dist/browser/Diviner/index.d.mts.map +1 -0
- package/dist/browser/Diviner/index.d.ts +3 -0
- package/dist/browser/Diviner/index.d.ts.map +1 -0
- package/dist/browser/Diviner/index.js +3 -0
- package/dist/browser/Diviner/index.js.map +1 -0
- package/dist/browser/Simple.cjs +176 -0
- package/dist/browser/Simple.cjs.map +1 -0
- package/dist/browser/Simple.d.cts.map +1 -0
- package/dist/browser/Simple.d.mts.map +1 -0
- package/dist/browser/Simple.d.ts +22 -0
- package/dist/browser/Simple.d.ts.map +1 -0
- package/dist/browser/Simple.js +48 -0
- package/dist/browser/Simple.js.map +1 -0
- package/dist/browser/Test/index.cjs +56 -0
- package/dist/browser/Test/index.cjs.map +1 -0
- package/dist/browser/Test/index.d.cts.map +1 -0
- package/dist/browser/Test/index.d.mts.map +1 -0
- package/dist/browser/Test/index.d.ts +3 -0
- package/dist/browser/Test/index.d.ts.map +1 -0
- package/dist/browser/Test/index.js +3 -0
- package/dist/browser/Test/index.js.map +1 -0
- package/dist/browser/Test/testBoundWitness.cjs +38 -0
- package/dist/browser/Test/testBoundWitness.cjs.map +1 -0
- package/dist/browser/Test/testBoundWitness.d.cts.map +1 -0
- package/dist/browser/Test/testBoundWitness.d.mts.map +1 -0
- package/dist/browser/Test/testBoundWitness.d.ts +4 -0
- package/dist/browser/Test/testBoundWitness.d.ts.map +1 -0
- package/dist/browser/Test/testBoundWitness.js +16 -0
- package/dist/browser/Test/testBoundWitness.js.map +1 -0
- package/dist/browser/Test/testPayload.cjs +39 -0
- package/dist/browser/Test/testPayload.cjs.map +1 -0
- package/dist/browser/Test/testPayload.d.cts.map +1 -0
- package/dist/browser/Test/testPayload.d.mts.map +1 -0
- package/dist/browser/Test/testPayload.d.ts +6 -0
- package/dist/browser/Test/testPayload.d.ts.map +1 -0
- package/dist/browser/Test/testPayload.js +17 -0
- package/dist/browser/Test/testPayload.js.map +1 -0
- package/dist/browser/WithArchive.cjs +19 -0
- package/dist/browser/WithArchive.cjs.map +1 -0
- package/dist/browser/WithArchive.d.cts.map +1 -0
- package/dist/browser/WithArchive.d.mts.map +1 -0
- package/dist/browser/WithArchive.d.ts +4 -0
- package/dist/browser/WithArchive.d.ts.map +1 -0
- package/dist/browser/WithArchive.js +1 -0
- package/dist/browser/WithArchive.js.map +1 -0
- package/dist/{index.js → browser/index.cjs} +1 -21
- package/dist/browser/index.cjs.map +1 -0
- package/dist/browser/index.d.cts.map +1 -0
- package/dist/browser/index.d.mts.map +1 -0
- package/dist/browser/index.d.ts +7 -0
- package/dist/browser/index.d.ts.map +1 -0
- package/dist/browser/index.js +7 -0
- package/dist/browser/index.js.map +1 -0
- package/dist/browser/models/ArchivePath.cjs +19 -0
- package/dist/browser/models/ArchivePath.cjs.map +1 -0
- package/dist/browser/models/ArchivePath.d.cts.map +1 -0
- package/dist/browser/models/ArchivePath.d.mts.map +1 -0
- package/dist/browser/models/ArchivePath.d.ts +4 -0
- package/dist/browser/models/ArchivePath.d.ts.map +1 -0
- package/dist/browser/models/ArchivePath.js +1 -0
- package/dist/browser/models/ArchivePath.js.map +1 -0
- package/dist/browser/models/index.cjs +19 -0
- package/dist/browser/models/index.cjs.map +1 -0
- package/dist/browser/models/index.d.cts.map +1 -0
- package/dist/browser/models/index.d.mts.map +1 -0
- package/dist/browser/models/index.d.ts +2 -0
- package/dist/browser/models/index.d.ts.map +1 -0
- package/dist/browser/models/index.js +2 -0
- package/dist/browser/models/index.js.map +1 -0
- package/dist/browser/objToQuery.cjs +31 -0
- package/dist/browser/objToQuery.cjs.map +1 -0
- package/dist/browser/objToQuery.d.cts.map +1 -0
- package/dist/browser/objToQuery.d.mts.map +1 -0
- package/dist/browser/objToQuery.d.ts +2 -0
- package/dist/browser/objToQuery.d.ts.map +1 -0
- package/dist/browser/objToQuery.js +9 -0
- package/dist/browser/objToQuery.js.map +1 -0
- package/dist/docs.json +402 -402
- package/dist/node/Api/Api.d.cts +12 -0
- package/dist/node/Api/Api.d.cts.map +1 -0
- package/dist/node/Api/Api.d.mts +12 -0
- package/dist/node/Api/Api.d.mts.map +1 -0
- package/dist/node/Api/Api.d.ts +12 -0
- package/dist/node/Api/Api.d.ts.map +1 -0
- package/dist/node/Api/Api.js +196 -0
- package/dist/node/Api/Api.js.map +1 -0
- package/dist/node/Api/Api.mjs +171 -0
- package/dist/node/Api/Api.mjs.map +1 -0
- package/dist/node/Api/index.d.cts +2 -0
- package/dist/node/Api/index.d.cts.map +1 -0
- package/dist/node/Api/index.d.mts +2 -0
- package/dist/node/Api/index.d.mts.map +1 -0
- package/dist/node/Api/index.d.ts +2 -0
- package/dist/node/Api/index.d.ts.map +1 -0
- package/dist/node/Api/index.js +198 -0
- package/dist/node/Api/index.js.map +1 -0
- package/dist/node/Api/index.mjs +171 -0
- package/dist/node/Api/index.mjs.map +1 -0
- package/dist/node/Base.d.cts +32 -0
- package/dist/node/Base.d.cts.map +1 -0
- package/dist/node/Base.d.mts +32 -0
- package/dist/node/Base.d.mts.map +1 -0
- package/dist/node/Base.d.ts +32 -0
- package/dist/node/Base.d.ts.map +1 -0
- package/dist/node/Base.js +131 -0
- package/dist/node/Base.js.map +1 -0
- package/dist/node/Base.mjs +106 -0
- package/dist/node/Base.mjs.map +1 -0
- package/dist/node/Diviner/LocationDiviner/LocationDivinerApi.d.cts +12 -0
- package/dist/node/Diviner/LocationDiviner/LocationDivinerApi.d.cts.map +1 -0
- package/dist/node/Diviner/LocationDiviner/LocationDivinerApi.d.mts +12 -0
- package/dist/node/Diviner/LocationDiviner/LocationDivinerApi.d.mts.map +1 -0
- package/dist/node/Diviner/LocationDiviner/LocationDivinerApi.d.ts +12 -0
- package/dist/node/Diviner/LocationDiviner/LocationDivinerApi.d.ts.map +1 -0
- package/dist/node/Diviner/LocationDiviner/LocationDivinerApi.js +59 -0
- package/dist/node/Diviner/LocationDiviner/LocationDivinerApi.js.map +1 -0
- package/dist/node/Diviner/LocationDiviner/LocationDivinerApi.mjs +34 -0
- package/dist/node/Diviner/LocationDiviner/LocationDivinerApi.mjs.map +1 -0
- package/dist/node/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.d.cts +10 -0
- package/dist/node/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.d.cts.map +1 -0
- package/dist/node/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.d.mts +10 -0
- package/dist/node/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.d.mts.map +1 -0
- package/dist/node/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.d.ts +10 -0
- package/dist/node/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.d.ts.map +1 -0
- package/dist/node/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.js +39 -0
- package/dist/node/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.js.map +1 -0
- package/dist/node/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.mjs +13 -0
- package/dist/node/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.mjs.map +1 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapPointProperties.d.cts +5 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapPointProperties.d.cts.map +1 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapPointProperties.d.mts +5 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapPointProperties.d.mts.map +1 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapPointProperties.d.ts +5 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapPointProperties.d.ts.map +1 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapPointProperties.js +19 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapPointProperties.js.map +1 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapPointProperties.mjs +1 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapPointProperties.mjs.map +1 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.d.cts +12 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.d.cts.map +1 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.d.mts +12 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.d.mts.map +1 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.d.ts +12 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.d.ts.map +1 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.js +39 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.js.map +1 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.mjs +12 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.mjs.map +1 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/index.d.cts +3 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/index.d.cts.map +1 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/index.d.mts +3 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/index.d.mts.map +1 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/index.d.ts +3 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/index.d.ts.map +1 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/index.js +41 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/index.js.map +1 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/index.mjs +12 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/index.mjs.map +1 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.d.cts +12 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.d.cts.map +1 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.d.mts +12 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.d.mts.map +1 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.d.ts +12 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.d.ts.map +1 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.js +39 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.js.map +1 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.mjs +12 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.mjs.map +1 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/index.d.cts +2 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/index.d.cts.map +1 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/index.d.mts +2 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/index.d.mts.map +1 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/index.d.ts +2 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/index.d.ts.map +1 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/index.js +41 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/index.js.map +1 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/index.mjs +12 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/index.mjs.map +1 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQueryCreationRequest.d.cts +18 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQueryCreationRequest.d.cts.map +1 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQueryCreationRequest.d.mts +18 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQueryCreationRequest.d.mts.map +1 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQueryCreationRequest.d.ts +18 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQueryCreationRequest.d.ts.map +1 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQueryCreationRequest.js +19 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQueryCreationRequest.js.map +1 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQueryCreationRequest.mjs +1 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQueryCreationRequest.mjs.map +1 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQueryCreationResponse.d.cts +5 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQueryCreationResponse.d.cts.map +1 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQueryCreationResponse.d.mts +5 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQueryCreationResponse.d.mts.map +1 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQueryCreationResponse.d.ts +5 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQueryCreationResponse.d.ts.map +1 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQueryCreationResponse.js +19 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQueryCreationResponse.js.map +1 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQueryCreationResponse.mjs +1 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQueryCreationResponse.mjs.map +1 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQuerySchema.d.cts +6 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQuerySchema.d.cts.map +1 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQuerySchema.d.mts +6 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQuerySchema.d.mts.map +1 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQuerySchema.d.ts +6 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQuerySchema.d.ts.map +1 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQuerySchema.js +38 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQuerySchema.js.map +1 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQuerySchema.mjs +13 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationQuerySchema.mjs.map +1 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangePointProperties.d.cts +8 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangePointProperties.d.cts.map +1 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangePointProperties.d.mts +8 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangePointProperties.d.mts.map +1 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangePointProperties.d.ts +8 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangePointProperties.d.ts.map +1 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangePointProperties.js +19 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangePointProperties.js.map +1 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangePointProperties.mjs +1 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangePointProperties.mjs.map +1 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.d.cts +12 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.d.cts.map +1 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.d.mts +12 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.d.mts.map +1 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.d.ts +12 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.d.ts.map +1 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.js +39 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.js.map +1 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.mjs +12 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.mjs.map +1 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/index.d.cts +3 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/index.d.cts.map +1 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/index.d.mts +3 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/index.d.mts.map +1 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/index.d.ts +3 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/index.d.ts.map +1 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/index.js +41 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/index.js.map +1 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/index.mjs +12 -0
- package/dist/node/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/index.mjs.map +1 -0
- package/dist/node/Diviner/LocationDiviner/Queries/index.d.cts +7 -0
- package/dist/node/Diviner/LocationDiviner/Queries/index.d.cts.map +1 -0
- package/dist/node/Diviner/LocationDiviner/Queries/index.d.mts +7 -0
- package/dist/node/Diviner/LocationDiviner/Queries/index.d.mts.map +1 -0
- package/dist/node/Diviner/LocationDiviner/Queries/index.d.ts +7 -0
- package/dist/node/Diviner/LocationDiviner/Queries/index.d.ts.map +1 -0
- package/dist/node/Diviner/LocationDiviner/Queries/index.js +79 -0
- package/dist/node/Diviner/LocationDiviner/Queries/index.js.map +1 -0
- package/dist/node/Diviner/LocationDiviner/Queries/index.mjs +43 -0
- package/dist/node/Diviner/LocationDiviner/Queries/index.mjs.map +1 -0
- package/dist/node/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.d.cts +13 -0
- package/dist/node/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.d.cts.map +1 -0
- package/dist/node/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.d.mts +13 -0
- package/dist/node/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.d.mts.map +1 -0
- package/dist/node/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.d.ts +13 -0
- package/dist/node/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.d.ts.map +1 -0
- package/dist/node/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.js +31 -0
- package/dist/node/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.js.map +1 -0
- package/dist/node/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.mjs +6 -0
- package/dist/node/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.mjs.map +1 -0
- package/dist/node/Diviner/LocationDiviner/Witnesses/LocationWitness.d.cts +21 -0
- package/dist/node/Diviner/LocationDiviner/Witnesses/LocationWitness.d.cts.map +1 -0
- package/dist/node/Diviner/LocationDiviner/Witnesses/LocationWitness.d.mts +21 -0
- package/dist/node/Diviner/LocationDiviner/Witnesses/LocationWitness.d.mts.map +1 -0
- package/dist/node/Diviner/LocationDiviner/Witnesses/LocationWitness.d.ts +21 -0
- package/dist/node/Diviner/LocationDiviner/Witnesses/LocationWitness.d.ts.map +1 -0
- package/dist/node/Diviner/LocationDiviner/Witnesses/LocationWitness.js +31 -0
- package/dist/node/Diviner/LocationDiviner/Witnesses/LocationWitness.js.map +1 -0
- package/dist/node/Diviner/LocationDiviner/Witnesses/LocationWitness.mjs +6 -0
- package/dist/node/Diviner/LocationDiviner/Witnesses/LocationWitness.mjs.map +1 -0
- package/dist/node/Diviner/LocationDiviner/Witnesses/index.d.cts +3 -0
- package/dist/node/Diviner/LocationDiviner/Witnesses/index.d.cts.map +1 -0
- package/dist/node/Diviner/LocationDiviner/Witnesses/index.d.mts +3 -0
- package/dist/node/Diviner/LocationDiviner/Witnesses/index.d.mts.map +1 -0
- package/dist/node/Diviner/LocationDiviner/Witnesses/index.d.ts +3 -0
- package/dist/node/Diviner/LocationDiviner/Witnesses/index.d.ts.map +1 -0
- package/dist/node/Diviner/LocationDiviner/Witnesses/index.js +38 -0
- package/dist/node/Diviner/LocationDiviner/Witnesses/index.js.map +1 -0
- package/dist/node/Diviner/LocationDiviner/Witnesses/index.mjs +10 -0
- package/dist/node/Diviner/LocationDiviner/Witnesses/index.mjs.map +1 -0
- package/dist/node/Diviner/LocationDiviner/index.d.cts +5 -0
- package/dist/node/Diviner/LocationDiviner/index.d.cts.map +1 -0
- package/dist/node/Diviner/LocationDiviner/index.d.mts +5 -0
- package/dist/node/Diviner/LocationDiviner/index.d.mts.map +1 -0
- package/dist/node/Diviner/LocationDiviner/index.d.ts +5 -0
- package/dist/node/Diviner/LocationDiviner/index.d.ts.map +1 -0
- package/dist/node/Diviner/LocationDiviner/index.js +122 -0
- package/dist/node/Diviner/LocationDiviner/index.js.map +1 -0
- package/dist/node/Diviner/LocationDiviner/index.mjs +83 -0
- package/dist/node/Diviner/LocationDiviner/index.mjs.map +1 -0
- package/dist/node/Diviner/LocationDiviner/models.d.cts +5 -0
- package/dist/node/Diviner/LocationDiviner/models.d.cts.map +1 -0
- package/dist/node/Diviner/LocationDiviner/models.d.mts +5 -0
- package/dist/node/Diviner/LocationDiviner/models.d.mts.map +1 -0
- package/dist/node/Diviner/LocationDiviner/models.d.ts +5 -0
- package/dist/node/Diviner/LocationDiviner/models.d.ts.map +1 -0
- package/dist/node/Diviner/LocationDiviner/models.js +19 -0
- package/dist/node/Diviner/LocationDiviner/models.js.map +1 -0
- package/dist/node/Diviner/LocationDiviner/models.mjs +1 -0
- package/dist/node/Diviner/LocationDiviner/models.mjs.map +1 -0
- package/dist/node/Diviner/RemoteDivinerConfig.d.cts +11 -0
- package/dist/node/Diviner/RemoteDivinerConfig.d.cts.map +1 -0
- package/dist/node/Diviner/RemoteDivinerConfig.d.mts +11 -0
- package/dist/node/Diviner/RemoteDivinerConfig.d.mts.map +1 -0
- package/dist/node/Diviner/RemoteDivinerConfig.d.ts +11 -0
- package/dist/node/Diviner/RemoteDivinerConfig.d.ts.map +1 -0
- package/dist/node/Diviner/RemoteDivinerConfig.js +31 -0
- package/dist/node/Diviner/RemoteDivinerConfig.js.map +1 -0
- package/dist/node/Diviner/RemoteDivinerConfig.mjs +6 -0
- package/dist/node/Diviner/RemoteDivinerConfig.mjs.map +1 -0
- package/dist/node/Diviner/RemoteDivinerError.d.cts +6 -0
- package/dist/node/Diviner/RemoteDivinerError.d.cts.map +1 -0
- package/dist/node/Diviner/RemoteDivinerError.d.mts +6 -0
- package/dist/node/Diviner/RemoteDivinerError.d.mts.map +1 -0
- package/dist/node/Diviner/RemoteDivinerError.d.ts +6 -0
- package/dist/node/Diviner/RemoteDivinerError.d.ts.map +1 -0
- package/dist/node/Diviner/RemoteDivinerError.js +39 -0
- package/dist/node/Diviner/RemoteDivinerError.js.map +1 -0
- package/dist/node/Diviner/RemoteDivinerError.mjs +14 -0
- package/dist/node/Diviner/RemoteDivinerError.mjs.map +1 -0
- package/dist/node/Diviner/index.d.cts +3 -0
- package/dist/node/Diviner/index.d.cts.map +1 -0
- package/dist/node/Diviner/index.d.mts +3 -0
- package/dist/node/Diviner/index.d.mts.map +1 -0
- package/dist/node/Diviner/index.d.ts +3 -0
- package/dist/node/Diviner/index.d.ts.map +1 -0
- package/dist/node/Diviner/index.js +127 -0
- package/dist/node/Diviner/index.js.map +1 -0
- package/dist/node/Diviner/index.mjs +87 -0
- package/dist/node/Diviner/index.mjs.map +1 -0
- package/dist/node/Simple.d.cts +22 -0
- package/dist/node/Simple.d.cts.map +1 -0
- package/dist/node/Simple.d.mts +22 -0
- package/dist/node/Simple.d.mts.map +1 -0
- package/dist/node/Simple.d.ts +22 -0
- package/dist/node/Simple.d.ts.map +1 -0
- package/dist/node/Simple.js +184 -0
- package/dist/node/Simple.js.map +1 -0
- package/dist/node/Simple.mjs +157 -0
- package/dist/node/Simple.mjs.map +1 -0
- package/dist/node/Test/index.d.cts +3 -0
- package/dist/node/Test/index.d.cts.map +1 -0
- package/dist/node/Test/index.d.mts +3 -0
- package/dist/node/Test/index.d.mts.map +1 -0
- package/dist/node/Test/index.d.ts +3 -0
- package/dist/node/Test/index.d.ts.map +1 -0
- package/dist/node/Test/index.js +62 -0
- package/dist/node/Test/index.js.map +1 -0
- package/dist/node/Test/index.mjs +33 -0
- package/dist/node/Test/index.mjs.map +1 -0
- package/dist/node/Test/testBoundWitness.d.cts +4 -0
- package/dist/node/Test/testBoundWitness.d.cts.map +1 -0
- package/dist/node/Test/testBoundWitness.d.mts +4 -0
- package/dist/node/Test/testBoundWitness.d.mts.map +1 -0
- package/dist/node/Test/testBoundWitness.d.ts +4 -0
- package/dist/node/Test/testBoundWitness.d.ts.map +1 -0
- package/dist/node/Test/testBoundWitness.js +42 -0
- package/dist/node/Test/testBoundWitness.js.map +1 -0
- package/dist/node/Test/testBoundWitness.mjs +17 -0
- package/dist/node/Test/testBoundWitness.mjs.map +1 -0
- package/dist/node/Test/testPayload.d.cts +6 -0
- package/dist/node/Test/testPayload.d.cts.map +1 -0
- package/dist/node/Test/testPayload.d.mts +6 -0
- package/dist/node/Test/testPayload.d.mts.map +1 -0
- package/dist/node/Test/testPayload.d.ts +6 -0
- package/dist/node/Test/testPayload.d.ts.map +1 -0
- package/dist/node/Test/testPayload.js +44 -0
- package/dist/node/Test/testPayload.js.map +1 -0
- package/dist/node/Test/testPayload.mjs +18 -0
- package/dist/node/Test/testPayload.mjs.map +1 -0
- package/dist/node/WithArchive.d.cts +4 -0
- package/dist/node/WithArchive.d.cts.map +1 -0
- package/dist/node/WithArchive.d.mts +4 -0
- package/dist/node/WithArchive.d.mts.map +1 -0
- package/dist/node/WithArchive.d.ts +4 -0
- package/dist/node/WithArchive.d.ts.map +1 -0
- package/dist/node/WithArchive.js +19 -0
- package/dist/node/WithArchive.js.map +1 -0
- package/dist/node/WithArchive.mjs +1 -0
- package/dist/node/WithArchive.mjs.map +1 -0
- package/dist/node/index.d.cts +7 -0
- package/dist/node/index.d.cts.map +1 -0
- package/dist/node/index.d.mts +7 -0
- package/dist/node/index.d.mts.map +1 -0
- package/dist/node/index.d.ts +7 -0
- package/dist/node/index.d.ts.map +1 -0
- package/dist/node/index.js +301 -0
- package/dist/node/index.js.map +1 -0
- package/dist/{index.mjs → node/index.mjs} +14 -10
- package/dist/node/index.mjs.map +1 -0
- package/dist/node/models/ArchivePath.d.cts +4 -0
- package/dist/node/models/ArchivePath.d.cts.map +1 -0
- package/dist/node/models/ArchivePath.d.mts +4 -0
- package/dist/node/models/ArchivePath.d.mts.map +1 -0
- package/dist/node/models/ArchivePath.d.ts +4 -0
- package/dist/node/models/ArchivePath.d.ts.map +1 -0
- package/dist/node/models/ArchivePath.js +19 -0
- package/dist/node/models/ArchivePath.js.map +1 -0
- package/dist/node/models/ArchivePath.mjs +1 -0
- package/dist/node/models/ArchivePath.mjs.map +1 -0
- package/dist/node/models/index.d.cts +2 -0
- package/dist/node/models/index.d.cts.map +1 -0
- package/dist/node/models/index.d.mts +2 -0
- package/dist/node/models/index.d.mts.map +1 -0
- package/dist/node/models/index.d.ts +2 -0
- package/dist/node/models/index.d.ts.map +1 -0
- package/dist/node/models/index.js +19 -0
- package/dist/node/models/index.js.map +1 -0
- package/dist/node/models/index.mjs +1 -0
- package/dist/node/models/index.mjs.map +1 -0
- package/dist/node/objToQuery.d.cts +2 -0
- package/dist/node/objToQuery.d.cts.map +1 -0
- package/dist/node/objToQuery.d.mts +2 -0
- package/dist/node/objToQuery.d.mts.map +1 -0
- package/dist/node/objToQuery.d.ts +2 -0
- package/dist/node/objToQuery.d.ts.map +1 -0
- package/dist/node/objToQuery.js +35 -0
- package/dist/node/objToQuery.js.map +1 -0
- package/dist/node/objToQuery.mjs +10 -0
- package/dist/node/objToQuery.mjs.map +1 -0
- package/package.json +32 -29
- package/dist/Api/Api.d.mts.map +0 -1
- package/dist/Api/Api.d.ts.map +0 -1
- package/dist/Api/index.d.mts.map +0 -1
- package/dist/Api/index.d.ts.map +0 -1
- package/dist/Base.d.mts.map +0 -1
- package/dist/Base.d.ts.map +0 -1
- package/dist/Diviner/LocationDiviner/LocationDivinerApi.d.mts.map +0 -1
- package/dist/Diviner/LocationDiviner/LocationDivinerApi.d.ts.map +0 -1
- package/dist/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.d.mts.map +0 -1
- package/dist/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.d.ts.map +0 -1
- package/dist/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapPointProperties.d.mts.map +0 -1
- package/dist/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapPointProperties.d.ts.map +0 -1
- package/dist/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.d.mts.map +0 -1
- package/dist/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.d.ts.map +0 -1
- package/dist/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/index.d.mts.map +0 -1
- package/dist/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/index.d.ts.map +0 -1
- package/dist/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.d.mts.map +0 -1
- package/dist/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.d.ts.map +0 -1
- package/dist/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/index.d.mts.map +0 -1
- package/dist/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/index.d.ts.map +0 -1
- package/dist/Diviner/LocationDiviner/Queries/LocationQueryCreationRequest.d.mts.map +0 -1
- package/dist/Diviner/LocationDiviner/Queries/LocationQueryCreationRequest.d.ts.map +0 -1
- package/dist/Diviner/LocationDiviner/Queries/LocationQueryCreationResponse.d.mts.map +0 -1
- package/dist/Diviner/LocationDiviner/Queries/LocationQueryCreationResponse.d.ts.map +0 -1
- package/dist/Diviner/LocationDiviner/Queries/LocationQuerySchema.d.mts.map +0 -1
- package/dist/Diviner/LocationDiviner/Queries/LocationQuerySchema.d.ts.map +0 -1
- package/dist/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangePointProperties.d.mts.map +0 -1
- package/dist/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangePointProperties.d.ts.map +0 -1
- package/dist/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.d.mts.map +0 -1
- package/dist/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.d.ts.map +0 -1
- package/dist/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/index.d.mts.map +0 -1
- package/dist/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/index.d.ts.map +0 -1
- package/dist/Diviner/LocationDiviner/Queries/index.d.mts.map +0 -1
- package/dist/Diviner/LocationDiviner/Queries/index.d.ts.map +0 -1
- package/dist/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.d.mts.map +0 -1
- package/dist/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.d.ts.map +0 -1
- package/dist/Diviner/LocationDiviner/Witnesses/LocationWitness.d.mts.map +0 -1
- package/dist/Diviner/LocationDiviner/Witnesses/LocationWitness.d.ts.map +0 -1
- package/dist/Diviner/LocationDiviner/Witnesses/index.d.mts.map +0 -1
- package/dist/Diviner/LocationDiviner/Witnesses/index.d.ts.map +0 -1
- package/dist/Diviner/LocationDiviner/index.d.mts.map +0 -1
- package/dist/Diviner/LocationDiviner/index.d.ts.map +0 -1
- package/dist/Diviner/LocationDiviner/models.d.mts.map +0 -1
- package/dist/Diviner/LocationDiviner/models.d.ts.map +0 -1
- package/dist/Diviner/RemoteDivinerConfig.d.mts.map +0 -1
- package/dist/Diviner/RemoteDivinerConfig.d.ts.map +0 -1
- package/dist/Diviner/RemoteDivinerError.d.mts.map +0 -1
- package/dist/Diviner/RemoteDivinerError.d.ts.map +0 -1
- package/dist/Diviner/index.d.mts.map +0 -1
- package/dist/Diviner/index.d.ts.map +0 -1
- package/dist/Simple.d.mts.map +0 -1
- package/dist/Simple.d.ts.map +0 -1
- package/dist/Test/index.d.mts.map +0 -1
- package/dist/Test/index.d.ts.map +0 -1
- package/dist/Test/testBoundWitness.d.mts.map +0 -1
- package/dist/Test/testBoundWitness.d.ts.map +0 -1
- package/dist/Test/testPayload.d.mts.map +0 -1
- package/dist/Test/testPayload.d.ts.map +0 -1
- package/dist/WithArchive.d.mts.map +0 -1
- package/dist/WithArchive.d.ts.map +0 -1
- package/dist/index.d.mts.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/index.mjs.map +0 -1
- package/dist/models/ArchivePath.d.mts.map +0 -1
- package/dist/models/ArchivePath.d.ts.map +0 -1
- package/dist/models/index.d.mts.map +0 -1
- package/dist/models/index.d.ts.map +0 -1
- package/dist/objToQuery.d.mts.map +0 -1
- package/dist/objToQuery.d.ts.map +0 -1
- /package/dist/{Api/Api.d.mts → browser/Api/Api.d.cts} +0 -0
- /package/dist/{Api/Api.d.ts → browser/Api/Api.d.mts} +0 -0
- /package/dist/{Api/index.d.mts → browser/Api/index.d.cts} +0 -0
- /package/dist/{Api/index.d.ts → browser/Api/index.d.mts} +0 -0
- /package/dist/{Base.d.mts → browser/Base.d.cts} +0 -0
- /package/dist/{Base.d.ts → browser/Base.d.mts} +0 -0
- /package/dist/{Diviner/LocationDiviner/LocationDivinerApi.d.mts → browser/Diviner/LocationDiviner/LocationDivinerApi.d.cts} +0 -0
- /package/dist/{Diviner/LocationDiviner/LocationDivinerApi.d.ts → browser/Diviner/LocationDiviner/LocationDivinerApi.d.mts} +0 -0
- /package/dist/{Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.d.mts → browser/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.d.cts} +0 -0
- /package/dist/{Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.d.ts → browser/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.d.mts} +0 -0
- /package/dist/{Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapPointProperties.d.mts → browser/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapPointProperties.d.cts} +0 -0
- /package/dist/{Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapPointProperties.d.ts → browser/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapPointProperties.d.mts} +0 -0
- /package/dist/{Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.d.mts → browser/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.d.cts} +0 -0
- /package/dist/{Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.d.ts → browser/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.d.mts} +0 -0
- /package/dist/{Diviner/LocationDiviner/Queries/LocationHeatmapQuery/index.d.mts → browser/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/index.d.cts} +0 -0
- /package/dist/{Diviner/LocationDiviner/Queries/LocationHeatmapQuery/index.d.ts → browser/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/index.d.mts} +0 -0
- /package/dist/{Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.d.mts → browser/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.d.cts} +0 -0
- /package/dist/{Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.d.ts → browser/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.d.mts} +0 -0
- /package/dist/{Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/index.d.mts → browser/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/index.d.cts} +0 -0
- /package/dist/{Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/index.d.ts → browser/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/index.d.mts} +0 -0
- /package/dist/{Diviner/LocationDiviner/Queries/LocationQueryCreationRequest.d.mts → browser/Diviner/LocationDiviner/Queries/LocationQueryCreationRequest.d.cts} +0 -0
- /package/dist/{Diviner/LocationDiviner/Queries/LocationQueryCreationRequest.d.ts → browser/Diviner/LocationDiviner/Queries/LocationQueryCreationRequest.d.mts} +0 -0
- /package/dist/{Diviner/LocationDiviner/Queries/LocationQueryCreationResponse.d.mts → browser/Diviner/LocationDiviner/Queries/LocationQueryCreationResponse.d.cts} +0 -0
- /package/dist/{Diviner/LocationDiviner/Queries/LocationQueryCreationResponse.d.ts → browser/Diviner/LocationDiviner/Queries/LocationQueryCreationResponse.d.mts} +0 -0
- /package/dist/{Diviner/LocationDiviner/Queries/LocationQuerySchema.d.mts → browser/Diviner/LocationDiviner/Queries/LocationQuerySchema.d.cts} +0 -0
- /package/dist/{Diviner/LocationDiviner/Queries/LocationQuerySchema.d.ts → browser/Diviner/LocationDiviner/Queries/LocationQuerySchema.d.mts} +0 -0
- /package/dist/{Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangePointProperties.d.mts → browser/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangePointProperties.d.cts} +0 -0
- /package/dist/{Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangePointProperties.d.ts → browser/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangePointProperties.d.mts} +0 -0
- /package/dist/{Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.d.mts → browser/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.d.cts} +0 -0
- /package/dist/{Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.d.ts → browser/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.d.mts} +0 -0
- /package/dist/{Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/index.d.mts → browser/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/index.d.cts} +0 -0
- /package/dist/{Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/index.d.ts → browser/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/index.d.mts} +0 -0
- /package/dist/{Diviner/LocationDiviner/Queries/index.d.mts → browser/Diviner/LocationDiviner/Queries/index.d.cts} +0 -0
- /package/dist/{Diviner/LocationDiviner/Queries/index.d.ts → browser/Diviner/LocationDiviner/Queries/index.d.mts} +0 -0
- /package/dist/{Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.d.mts → browser/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.d.cts} +0 -0
- /package/dist/{Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.d.ts → browser/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.d.mts} +0 -0
- /package/dist/{Diviner/LocationDiviner/Witnesses/LocationWitness.d.mts → browser/Diviner/LocationDiviner/Witnesses/LocationWitness.d.cts} +0 -0
- /package/dist/{Diviner/LocationDiviner/Witnesses/LocationWitness.d.ts → browser/Diviner/LocationDiviner/Witnesses/LocationWitness.d.mts} +0 -0
- /package/dist/{Diviner/LocationDiviner/Witnesses/index.d.mts → browser/Diviner/LocationDiviner/Witnesses/index.d.cts} +0 -0
- /package/dist/{Diviner/LocationDiviner/Witnesses/index.d.ts → browser/Diviner/LocationDiviner/Witnesses/index.d.mts} +0 -0
- /package/dist/{Diviner/LocationDiviner/index.d.mts → browser/Diviner/LocationDiviner/index.d.cts} +0 -0
- /package/dist/{Diviner/LocationDiviner/index.d.ts → browser/Diviner/LocationDiviner/index.d.mts} +0 -0
- /package/dist/{Diviner/LocationDiviner/models.d.mts → browser/Diviner/LocationDiviner/models.d.cts} +0 -0
- /package/dist/{Diviner/LocationDiviner/models.d.ts → browser/Diviner/LocationDiviner/models.d.mts} +0 -0
- /package/dist/{Diviner/RemoteDivinerConfig.d.mts → browser/Diviner/RemoteDivinerConfig.d.cts} +0 -0
- /package/dist/{Diviner/RemoteDivinerConfig.d.ts → browser/Diviner/RemoteDivinerConfig.d.mts} +0 -0
- /package/dist/{Diviner/RemoteDivinerError.d.mts → browser/Diviner/RemoteDivinerError.d.cts} +0 -0
- /package/dist/{Diviner/RemoteDivinerError.d.ts → browser/Diviner/RemoteDivinerError.d.mts} +0 -0
- /package/dist/{Diviner/index.d.mts → browser/Diviner/index.d.cts} +0 -0
- /package/dist/{Diviner/index.d.ts → browser/Diviner/index.d.mts} +0 -0
- /package/dist/{Simple.d.mts → browser/Simple.d.cts} +0 -0
- /package/dist/{Simple.d.ts → browser/Simple.d.mts} +0 -0
- /package/dist/{Test/index.d.mts → browser/Test/index.d.cts} +0 -0
- /package/dist/{Test/index.d.ts → browser/Test/index.d.mts} +0 -0
- /package/dist/{Test/testBoundWitness.d.mts → browser/Test/testBoundWitness.d.cts} +0 -0
- /package/dist/{Test/testBoundWitness.d.ts → browser/Test/testBoundWitness.d.mts} +0 -0
- /package/dist/{Test/testPayload.d.mts → browser/Test/testPayload.d.cts} +0 -0
- /package/dist/{Test/testPayload.d.ts → browser/Test/testPayload.d.mts} +0 -0
- /package/dist/{WithArchive.d.mts → browser/WithArchive.d.cts} +0 -0
- /package/dist/{WithArchive.d.ts → browser/WithArchive.d.mts} +0 -0
- /package/dist/{index.d.mts → browser/index.d.cts} +0 -0
- /package/dist/{index.d.ts → browser/index.d.mts} +0 -0
- /package/dist/{models/ArchivePath.d.mts → browser/models/ArchivePath.d.cts} +0 -0
- /package/dist/{models/ArchivePath.d.ts → browser/models/ArchivePath.d.mts} +0 -0
- /package/dist/{models/index.d.mts → browser/models/index.d.cts} +0 -0
- /package/dist/{models/index.d.ts → browser/models/index.d.mts} +0 -0
- /package/dist/{objToQuery.d.mts → browser/objToQuery.d.cts} +0 -0
- /package/dist/{objToQuery.d.ts → browser/objToQuery.d.mts} +0 -0
|
@@ -0,0 +1,131 @@
|
|
|
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/Base.ts
|
|
21
|
+
var Base_exports = {};
|
|
22
|
+
__export(Base_exports, {
|
|
23
|
+
ApiBase: () => ApiBase
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(Base_exports);
|
|
26
|
+
var import_axios = require("@xyo-network/axios");
|
|
27
|
+
var ApiBase = class _ApiBase {
|
|
28
|
+
config;
|
|
29
|
+
axios;
|
|
30
|
+
constructor(config) {
|
|
31
|
+
this.config = config;
|
|
32
|
+
this.axios = new import_axios.AxiosJson({ ...this.config, headers: this.headers });
|
|
33
|
+
}
|
|
34
|
+
get authenticated() {
|
|
35
|
+
return !!this.config.apiKey || !!this.config.jwtToken;
|
|
36
|
+
}
|
|
37
|
+
get headers() {
|
|
38
|
+
const headers = {};
|
|
39
|
+
if (this.config.jwtToken) {
|
|
40
|
+
headers.Authorization = `Bearer ${this.config.jwtToken}`;
|
|
41
|
+
}
|
|
42
|
+
if (this.config.apiKey) {
|
|
43
|
+
headers["x-api-key"] = this.config.apiKey;
|
|
44
|
+
}
|
|
45
|
+
return headers;
|
|
46
|
+
}
|
|
47
|
+
get query() {
|
|
48
|
+
return this.config.query ?? "";
|
|
49
|
+
}
|
|
50
|
+
get root() {
|
|
51
|
+
return this.config.root ?? "/";
|
|
52
|
+
}
|
|
53
|
+
static resolveResponse(result) {
|
|
54
|
+
var _a;
|
|
55
|
+
return [(_a = result == null ? void 0 : result.data) == null ? void 0 : _a.data, result == null ? void 0 : result.data, result];
|
|
56
|
+
}
|
|
57
|
+
static shapeResponse(response, responseType) {
|
|
58
|
+
const resolvedResponse = _ApiBase.resolveResponse(response);
|
|
59
|
+
return responseType === "tuple" ? resolvedResponse : resolvedResponse[0];
|
|
60
|
+
}
|
|
61
|
+
onError(error, depth = 0) {
|
|
62
|
+
var _a, _b, _c, _d;
|
|
63
|
+
(_b = (_a = this.config.reportableParent) == null ? void 0 : _a.onError) == null ? void 0 : _b.call(_a, error, depth + 1);
|
|
64
|
+
(_d = (_c = this.config).onError) == null ? void 0 : _d.call(_c, error, depth);
|
|
65
|
+
}
|
|
66
|
+
onFailure(response, depth = 0) {
|
|
67
|
+
var _a, _b, _c, _d;
|
|
68
|
+
(_b = (_a = this.config.reportableParent) == null ? void 0 : _a.onFailure) == null ? void 0 : _b.call(_a, response, depth + 1);
|
|
69
|
+
(_d = (_c = this.config).onFailure) == null ? void 0 : _d.call(_c, response, depth);
|
|
70
|
+
}
|
|
71
|
+
onSuccess(response, depth = 0) {
|
|
72
|
+
var _a, _b, _c, _d;
|
|
73
|
+
(_b = (_a = this.config.reportableParent) == null ? void 0 : _a.onSuccess) == null ? void 0 : _b.call(_a, response, depth + 1);
|
|
74
|
+
(_d = (_c = this.config).onSuccess) == null ? void 0 : _d.call(_c, response, depth);
|
|
75
|
+
}
|
|
76
|
+
async deleteEndpoint(endPoint = "", responseType) {
|
|
77
|
+
const response = await this.monitorResponse(async () => {
|
|
78
|
+
return await this.axios.delete(`${this.resolveRoot()}${endPoint}${this.query}`);
|
|
79
|
+
});
|
|
80
|
+
return _ApiBase.shapeResponse(response, responseType);
|
|
81
|
+
}
|
|
82
|
+
async getEndpoint(endPoint = "", responseType) {
|
|
83
|
+
const response = await this.monitorResponse(async () => {
|
|
84
|
+
return await this.axios.get(`${this.resolveRoot()}${endPoint}${this.query}`);
|
|
85
|
+
});
|
|
86
|
+
return _ApiBase.shapeResponse(response, responseType);
|
|
87
|
+
}
|
|
88
|
+
handleMonitorResponseError(error, trapAxiosException) {
|
|
89
|
+
if (!error.isError) {
|
|
90
|
+
throw error;
|
|
91
|
+
}
|
|
92
|
+
if (trapAxiosException) {
|
|
93
|
+
error.response ? this.onFailure(error.response) : this.onError(error);
|
|
94
|
+
if (this.config.throwFailure) {
|
|
95
|
+
throw error;
|
|
96
|
+
}
|
|
97
|
+
return error.response;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
async monitorResponse(closure) {
|
|
101
|
+
let trapAxiosException = true;
|
|
102
|
+
try {
|
|
103
|
+
const response = await closure();
|
|
104
|
+
trapAxiosException = false;
|
|
105
|
+
response.status < 300 ? this.onSuccess(response) : this.onFailure(response);
|
|
106
|
+
return response;
|
|
107
|
+
} catch (ex) {
|
|
108
|
+
this.handleMonitorResponseError(ex, trapAxiosException);
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
async postEndpoint(endPoint = "", data, responseType) {
|
|
112
|
+
const response = await this.monitorResponse(async () => {
|
|
113
|
+
return await this.axios.post(`${this.resolveRoot()}${endPoint}${this.query}`, data);
|
|
114
|
+
});
|
|
115
|
+
return _ApiBase.shapeResponse(response, responseType);
|
|
116
|
+
}
|
|
117
|
+
async putEndpoint(endPoint = "", data, responseType) {
|
|
118
|
+
const response = await this.monitorResponse(async () => {
|
|
119
|
+
return await this.axios.put(`${this.resolveRoot()}${endPoint}${this.query}`, data);
|
|
120
|
+
});
|
|
121
|
+
return _ApiBase.shapeResponse(response, responseType);
|
|
122
|
+
}
|
|
123
|
+
resolveRoot() {
|
|
124
|
+
return `${this.config.apiDomain}${this.root}`;
|
|
125
|
+
}
|
|
126
|
+
};
|
|
127
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
128
|
+
0 && (module.exports = {
|
|
129
|
+
ApiBase
|
|
130
|
+
});
|
|
131
|
+
//# sourceMappingURL=Base.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/Base.ts"],"sourcesContent":["import {\n ApiConfig,\n ApiEnvelope,\n ApiError,\n ApiReportable,\n ApiResponse,\n ApiResponseBody,\n ApiResponseTuple,\n ApiResponseTupleOrBody,\n ApiResponseType,\n} from '@xyo-network/api-models'\nimport { AxiosJson } from '@xyo-network/axios'\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 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 response.status < 300 ? this.onSuccess(response) : this.onFailure(response)\n\n return response\n } catch (ex) {\n this.handleMonitorResponseError(ex 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"],"mappings":"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","names":[]}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
// src/Base.ts
|
|
2
|
+
import { AxiosJson } from "@xyo-network/axios";
|
|
3
|
+
var ApiBase = class _ApiBase {
|
|
4
|
+
config;
|
|
5
|
+
axios;
|
|
6
|
+
constructor(config) {
|
|
7
|
+
this.config = config;
|
|
8
|
+
this.axios = new AxiosJson({ ...this.config, headers: this.headers });
|
|
9
|
+
}
|
|
10
|
+
get authenticated() {
|
|
11
|
+
return !!this.config.apiKey || !!this.config.jwtToken;
|
|
12
|
+
}
|
|
13
|
+
get headers() {
|
|
14
|
+
const headers = {};
|
|
15
|
+
if (this.config.jwtToken) {
|
|
16
|
+
headers.Authorization = `Bearer ${this.config.jwtToken}`;
|
|
17
|
+
}
|
|
18
|
+
if (this.config.apiKey) {
|
|
19
|
+
headers["x-api-key"] = this.config.apiKey;
|
|
20
|
+
}
|
|
21
|
+
return headers;
|
|
22
|
+
}
|
|
23
|
+
get query() {
|
|
24
|
+
return this.config.query ?? "";
|
|
25
|
+
}
|
|
26
|
+
get root() {
|
|
27
|
+
return this.config.root ?? "/";
|
|
28
|
+
}
|
|
29
|
+
static resolveResponse(result) {
|
|
30
|
+
var _a;
|
|
31
|
+
return [(_a = result == null ? void 0 : result.data) == null ? void 0 : _a.data, result == null ? void 0 : result.data, result];
|
|
32
|
+
}
|
|
33
|
+
static shapeResponse(response, responseType) {
|
|
34
|
+
const resolvedResponse = _ApiBase.resolveResponse(response);
|
|
35
|
+
return responseType === "tuple" ? resolvedResponse : resolvedResponse[0];
|
|
36
|
+
}
|
|
37
|
+
onError(error, depth = 0) {
|
|
38
|
+
var _a, _b, _c, _d;
|
|
39
|
+
(_b = (_a = this.config.reportableParent) == null ? void 0 : _a.onError) == null ? void 0 : _b.call(_a, error, depth + 1);
|
|
40
|
+
(_d = (_c = this.config).onError) == null ? void 0 : _d.call(_c, error, depth);
|
|
41
|
+
}
|
|
42
|
+
onFailure(response, depth = 0) {
|
|
43
|
+
var _a, _b, _c, _d;
|
|
44
|
+
(_b = (_a = this.config.reportableParent) == null ? void 0 : _a.onFailure) == null ? void 0 : _b.call(_a, response, depth + 1);
|
|
45
|
+
(_d = (_c = this.config).onFailure) == null ? void 0 : _d.call(_c, response, depth);
|
|
46
|
+
}
|
|
47
|
+
onSuccess(response, depth = 0) {
|
|
48
|
+
var _a, _b, _c, _d;
|
|
49
|
+
(_b = (_a = this.config.reportableParent) == null ? void 0 : _a.onSuccess) == null ? void 0 : _b.call(_a, response, depth + 1);
|
|
50
|
+
(_d = (_c = this.config).onSuccess) == null ? void 0 : _d.call(_c, response, depth);
|
|
51
|
+
}
|
|
52
|
+
async deleteEndpoint(endPoint = "", responseType) {
|
|
53
|
+
const response = await this.monitorResponse(async () => {
|
|
54
|
+
return await this.axios.delete(`${this.resolveRoot()}${endPoint}${this.query}`);
|
|
55
|
+
});
|
|
56
|
+
return _ApiBase.shapeResponse(response, responseType);
|
|
57
|
+
}
|
|
58
|
+
async getEndpoint(endPoint = "", responseType) {
|
|
59
|
+
const response = await this.monitorResponse(async () => {
|
|
60
|
+
return await this.axios.get(`${this.resolveRoot()}${endPoint}${this.query}`);
|
|
61
|
+
});
|
|
62
|
+
return _ApiBase.shapeResponse(response, responseType);
|
|
63
|
+
}
|
|
64
|
+
handleMonitorResponseError(error, trapAxiosException) {
|
|
65
|
+
if (!error.isError) {
|
|
66
|
+
throw error;
|
|
67
|
+
}
|
|
68
|
+
if (trapAxiosException) {
|
|
69
|
+
error.response ? this.onFailure(error.response) : this.onError(error);
|
|
70
|
+
if (this.config.throwFailure) {
|
|
71
|
+
throw error;
|
|
72
|
+
}
|
|
73
|
+
return error.response;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
async monitorResponse(closure) {
|
|
77
|
+
let trapAxiosException = true;
|
|
78
|
+
try {
|
|
79
|
+
const response = await closure();
|
|
80
|
+
trapAxiosException = false;
|
|
81
|
+
response.status < 300 ? this.onSuccess(response) : this.onFailure(response);
|
|
82
|
+
return response;
|
|
83
|
+
} catch (ex) {
|
|
84
|
+
this.handleMonitorResponseError(ex, trapAxiosException);
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
async postEndpoint(endPoint = "", data, responseType) {
|
|
88
|
+
const response = await this.monitorResponse(async () => {
|
|
89
|
+
return await this.axios.post(`${this.resolveRoot()}${endPoint}${this.query}`, data);
|
|
90
|
+
});
|
|
91
|
+
return _ApiBase.shapeResponse(response, responseType);
|
|
92
|
+
}
|
|
93
|
+
async putEndpoint(endPoint = "", data, responseType) {
|
|
94
|
+
const response = await this.monitorResponse(async () => {
|
|
95
|
+
return await this.axios.put(`${this.resolveRoot()}${endPoint}${this.query}`, data);
|
|
96
|
+
});
|
|
97
|
+
return _ApiBase.shapeResponse(response, responseType);
|
|
98
|
+
}
|
|
99
|
+
resolveRoot() {
|
|
100
|
+
return `${this.config.apiDomain}${this.root}`;
|
|
101
|
+
}
|
|
102
|
+
};
|
|
103
|
+
export {
|
|
104
|
+
ApiBase
|
|
105
|
+
};
|
|
106
|
+
//# sourceMappingURL=Base.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/Base.ts"],"sourcesContent":["import {\n ApiConfig,\n ApiEnvelope,\n ApiError,\n ApiReportable,\n ApiResponse,\n ApiResponseBody,\n ApiResponseTuple,\n ApiResponseTupleOrBody,\n ApiResponseType,\n} from '@xyo-network/api-models'\nimport { AxiosJson } from '@xyo-network/axios'\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 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 response.status < 300 ? this.onSuccess(response) : this.onFailure(response)\n\n return response\n } catch (ex) {\n this.handleMonitorResponseError(ex 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"],"mappings":"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","names":[]}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ApiConfig } from '@xyo-network/api-models';
|
|
2
|
+
import { GetLocationQueryResponse } from './models';
|
|
3
|
+
import { LocationQueryCreationResponse, SupportedLocationQueryCreationRequest } from './Queries';
|
|
4
|
+
declare class LocationDivinerApi {
|
|
5
|
+
config: ApiConfig;
|
|
6
|
+
constructor(config: ApiConfig);
|
|
7
|
+
private get axiosRequestConfig();
|
|
8
|
+
getLocationQuery(hash: string): Promise<GetLocationQueryResponse>;
|
|
9
|
+
postLocationQuery(request: SupportedLocationQueryCreationRequest): Promise<LocationQueryCreationResponse>;
|
|
10
|
+
}
|
|
11
|
+
export { LocationDivinerApi };
|
|
12
|
+
//# sourceMappingURL=LocationDivinerApi.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LocationDivinerApi.d.ts","sourceRoot":"","sources":["../../../../src/Diviner/LocationDiviner/LocationDivinerApi.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAA;AAInD,OAAO,EAAE,wBAAwB,EAAE,MAAM,UAAU,CAAA;AACnD,OAAO,EAAE,6BAA6B,EAAE,qCAAqC,EAAE,MAAM,WAAW,CAAA;AAEhG,cAAM,kBAAkB;IACtB,MAAM,EAAE,SAAS,CAAA;gBACL,MAAM,EAAE,SAAS;IAI7B,OAAO,KAAK,kBAAkB,GAI7B;IAEK,gBAAgB,CAAC,IAAI,EAAE,MAAM;IAI7B,iBAAiB,CAAC,OAAO,EAAE,qCAAqC;CAGvE;AAED,OAAO,EAAE,kBAAkB,EAAE,CAAA"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ApiConfig } from '@xyo-network/api-models';
|
|
2
|
+
import { GetLocationQueryResponse } from './models';
|
|
3
|
+
import { LocationQueryCreationResponse, SupportedLocationQueryCreationRequest } from './Queries';
|
|
4
|
+
declare class LocationDivinerApi {
|
|
5
|
+
config: ApiConfig;
|
|
6
|
+
constructor(config: ApiConfig);
|
|
7
|
+
private get axiosRequestConfig();
|
|
8
|
+
getLocationQuery(hash: string): Promise<GetLocationQueryResponse>;
|
|
9
|
+
postLocationQuery(request: SupportedLocationQueryCreationRequest): Promise<LocationQueryCreationResponse>;
|
|
10
|
+
}
|
|
11
|
+
export { LocationDivinerApi };
|
|
12
|
+
//# sourceMappingURL=LocationDivinerApi.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LocationDivinerApi.d.ts","sourceRoot":"","sources":["../../../../src/Diviner/LocationDiviner/LocationDivinerApi.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAA;AAInD,OAAO,EAAE,wBAAwB,EAAE,MAAM,UAAU,CAAA;AACnD,OAAO,EAAE,6BAA6B,EAAE,qCAAqC,EAAE,MAAM,WAAW,CAAA;AAEhG,cAAM,kBAAkB;IACtB,MAAM,EAAE,SAAS,CAAA;gBACL,MAAM,EAAE,SAAS;IAI7B,OAAO,KAAK,kBAAkB,GAI7B;IAEK,gBAAgB,CAAC,IAAI,EAAE,MAAM;IAI7B,iBAAiB,CAAC,OAAO,EAAE,qCAAqC;CAGvE;AAED,OAAO,EAAE,kBAAkB,EAAE,CAAA"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ApiConfig } from '@xyo-network/api-models';
|
|
2
|
+
import { GetLocationQueryResponse } from './models';
|
|
3
|
+
import { LocationQueryCreationResponse, SupportedLocationQueryCreationRequest } from './Queries';
|
|
4
|
+
declare class LocationDivinerApi {
|
|
5
|
+
config: ApiConfig;
|
|
6
|
+
constructor(config: ApiConfig);
|
|
7
|
+
private get axiosRequestConfig();
|
|
8
|
+
getLocationQuery(hash: string): Promise<GetLocationQueryResponse>;
|
|
9
|
+
postLocationQuery(request: SupportedLocationQueryCreationRequest): Promise<LocationQueryCreationResponse>;
|
|
10
|
+
}
|
|
11
|
+
export { LocationDivinerApi };
|
|
12
|
+
//# sourceMappingURL=LocationDivinerApi.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LocationDivinerApi.d.ts","sourceRoot":"","sources":["../../../../src/Diviner/LocationDiviner/LocationDivinerApi.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAA;AAInD,OAAO,EAAE,wBAAwB,EAAE,MAAM,UAAU,CAAA;AACnD,OAAO,EAAE,6BAA6B,EAAE,qCAAqC,EAAE,MAAM,WAAW,CAAA;AAEhG,cAAM,kBAAkB;IACtB,MAAM,EAAE,SAAS,CAAA;gBACL,MAAM,EAAE,SAAS;IAI7B,OAAO,KAAK,kBAAkB,GAI7B;IAEK,gBAAgB,CAAC,IAAI,EAAE,MAAM;IAI7B,iBAAiB,CAAC,OAAO,EAAE,qCAAqC;CAGvE;AAED,OAAO,EAAE,kBAAkB,EAAE,CAAA"}
|
|
@@ -0,0 +1,59 @@
|
|
|
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/Diviner/LocationDiviner/LocationDivinerApi.ts
|
|
21
|
+
var LocationDivinerApi_exports = {};
|
|
22
|
+
__export(LocationDivinerApi_exports, {
|
|
23
|
+
LocationDivinerApi: () => LocationDivinerApi
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(LocationDivinerApi_exports);
|
|
26
|
+
var import_axios2 = require("@xyo-network/axios");
|
|
27
|
+
|
|
28
|
+
// src/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.ts
|
|
29
|
+
var import_axios = require("@xyo-network/axios");
|
|
30
|
+
var locationDivinerApiResponseTransformer = (data, _headers) => {
|
|
31
|
+
return data.data;
|
|
32
|
+
};
|
|
33
|
+
var getLocationDivinerApiResponseTransformer = (axiosInstance = import_axios.axios) => {
|
|
34
|
+
return axiosInstance.defaults.transformResponse ? [].concat(axiosInstance.defaults.transformResponse, locationDivinerApiResponseTransformer) : [locationDivinerApiResponseTransformer];
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
// src/Diviner/LocationDiviner/LocationDivinerApi.ts
|
|
38
|
+
var LocationDivinerApi = class {
|
|
39
|
+
config;
|
|
40
|
+
constructor(config) {
|
|
41
|
+
this.config = config;
|
|
42
|
+
}
|
|
43
|
+
get axiosRequestConfig() {
|
|
44
|
+
return {
|
|
45
|
+
transformResponse: getLocationDivinerApiResponseTransformer()
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
async getLocationQuery(hash) {
|
|
49
|
+
return (await import_axios2.axios.get(`${this.config.apiDomain}/location/query/${hash}`, this.axiosRequestConfig)).data;
|
|
50
|
+
}
|
|
51
|
+
async postLocationQuery(request) {
|
|
52
|
+
return (await import_axios2.axios.post(`${this.config.apiDomain}/location/query`, { ...request }, this.axiosRequestConfig)).data;
|
|
53
|
+
}
|
|
54
|
+
};
|
|
55
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
56
|
+
0 && (module.exports = {
|
|
57
|
+
LocationDivinerApi
|
|
58
|
+
});
|
|
59
|
+
//# sourceMappingURL=LocationDivinerApi.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/Diviner/LocationDiviner/LocationDivinerApi.ts","../../../../src/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.ts"],"sourcesContent":["import { ApiConfig } from '@xyo-network/api-models'\nimport { axios, RawAxiosRequestConfig } from '@xyo-network/axios'\n\nimport { getLocationDivinerApiResponseTransformer } from './LocationDivinerApiResponseTransformer'\nimport { GetLocationQueryResponse } from './models'\nimport { LocationQueryCreationResponse, SupportedLocationQueryCreationRequest } from './Queries'\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 '@xyo-network/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 ? ([] as AxiosResponseTransformer[]).concat(axiosInstance.defaults.transformResponse, locationDivinerApiResponseTransformer)\n : [locationDivinerApiResponseTransformer]\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AACA,IAAAA,gBAA6C;;;ACD7C,mBAAgD;AAEzC,IAAM,wCAAkE,CAAC,MAAM,aAAa;AACjG,SAAO,KAAK;AACd;AAQO,IAAM,2CAA2C,CAAC,gBAAgB,uBAAsC;AAG7G,SAAO,cAAc,SAAS,oBACzB,CAAC,EAAiC,OAAO,cAAc,SAAS,mBAAmB,qCAAqC,IACzH,CAAC,qCAAqC;AAC5C;;;ADXA,IAAM,qBAAN,MAAyB;AAAA,EACvB;AAAA,EACA,YAAY,QAAmB;AAC7B,SAAK,SAAS;AAAA,EAChB;AAAA,EAEA,IAAY,qBAA4C;AACtD,WAAO;AAAA,MACL,mBAAmB,yCAAyC;AAAA,IAC9D;AAAA,EACF;AAAA,EAEA,MAAM,iBAAiB,MAAc;AACnC,YAAQ,MAAM,oBAAM,IAA8B,GAAG,KAAK,OAAO,SAAS,mBAAmB,IAAI,IAAI,KAAK,kBAAkB,GAAG;AAAA,EACjI;AAAA,EAEA,MAAM,kBAAkB,SAAgD;AACtE,YAAQ,MAAM,oBAAM,KAAoC,GAAG,KAAK,OAAO,SAAS,mBAAmB,EAAE,GAAG,QAAQ,GAAG,KAAK,kBAAkB,GAAG;AAAA,EAC/I;AACF;","names":["import_axios"]}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
// src/Diviner/LocationDiviner/LocationDivinerApi.ts
|
|
2
|
+
import { axios as axios2 } from "@xyo-network/axios";
|
|
3
|
+
|
|
4
|
+
// src/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.ts
|
|
5
|
+
import { axios } from "@xyo-network/axios";
|
|
6
|
+
var locationDivinerApiResponseTransformer = (data, _headers) => {
|
|
7
|
+
return data.data;
|
|
8
|
+
};
|
|
9
|
+
var getLocationDivinerApiResponseTransformer = (axiosInstance = axios) => {
|
|
10
|
+
return axiosInstance.defaults.transformResponse ? [].concat(axiosInstance.defaults.transformResponse, locationDivinerApiResponseTransformer) : [locationDivinerApiResponseTransformer];
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
// src/Diviner/LocationDiviner/LocationDivinerApi.ts
|
|
14
|
+
var LocationDivinerApi = class {
|
|
15
|
+
config;
|
|
16
|
+
constructor(config) {
|
|
17
|
+
this.config = config;
|
|
18
|
+
}
|
|
19
|
+
get axiosRequestConfig() {
|
|
20
|
+
return {
|
|
21
|
+
transformResponse: getLocationDivinerApiResponseTransformer()
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
async getLocationQuery(hash) {
|
|
25
|
+
return (await axios2.get(`${this.config.apiDomain}/location/query/${hash}`, this.axiosRequestConfig)).data;
|
|
26
|
+
}
|
|
27
|
+
async postLocationQuery(request) {
|
|
28
|
+
return (await axios2.post(`${this.config.apiDomain}/location/query`, { ...request }, this.axiosRequestConfig)).data;
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
export {
|
|
32
|
+
LocationDivinerApi
|
|
33
|
+
};
|
|
34
|
+
//# sourceMappingURL=LocationDivinerApi.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/Diviner/LocationDiviner/LocationDivinerApi.ts","../../../../src/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.ts"],"sourcesContent":["import { ApiConfig } from '@xyo-network/api-models'\nimport { axios, RawAxiosRequestConfig } from '@xyo-network/axios'\n\nimport { getLocationDivinerApiResponseTransformer } from './LocationDivinerApiResponseTransformer'\nimport { GetLocationQueryResponse } from './models'\nimport { LocationQueryCreationResponse, SupportedLocationQueryCreationRequest } from './Queries'\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 '@xyo-network/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 ? ([] as AxiosResponseTransformer[]).concat(axiosInstance.defaults.transformResponse, locationDivinerApiResponseTransformer)\n : [locationDivinerApiResponseTransformer]\n}\n"],"mappings":";AACA,SAAS,SAAAA,cAAoC;;;ACD7C,SAAS,aAAuC;AAEzC,IAAM,wCAAkE,CAAC,MAAM,aAAa;AACjG,SAAO,KAAK;AACd;AAQO,IAAM,2CAA2C,CAAC,gBAAgB,UAAsC;AAG7G,SAAO,cAAc,SAAS,oBACzB,CAAC,EAAiC,OAAO,cAAc,SAAS,mBAAmB,qCAAqC,IACzH,CAAC,qCAAqC;AAC5C;;;ADXA,IAAM,qBAAN,MAAyB;AAAA,EACvB;AAAA,EACA,YAAY,QAAmB;AAC7B,SAAK,SAAS;AAAA,EAChB;AAAA,EAEA,IAAY,qBAA4C;AACtD,WAAO;AAAA,MACL,mBAAmB,yCAAyC;AAAA,IAC9D;AAAA,EACF;AAAA,EAEA,MAAM,iBAAiB,MAAc;AACnC,YAAQ,MAAMC,OAAM,IAA8B,GAAG,KAAK,OAAO,SAAS,mBAAmB,IAAI,IAAI,KAAK,kBAAkB,GAAG;AAAA,EACjI;AAAA,EAEA,MAAM,kBAAkB,SAAgD;AACtE,YAAQ,MAAMA,OAAM,KAAoC,GAAG,KAAK,OAAO,SAAS,mBAAmB,EAAE,GAAG,QAAQ,GAAG,KAAK,kBAAkB,GAAG;AAAA,EAC/I;AACF;","names":["axios","axios"]}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { AxiosResponseTransformer } from '@xyo-network/axios';
|
|
2
|
+
export declare const locationDivinerApiResponseTransformer: AxiosResponseTransformer;
|
|
3
|
+
/**
|
|
4
|
+
* Gets the response transformers for the LocationDiviner API. Done as a method instead of a property
|
|
5
|
+
* to allow detection of dynamically added response transformers.
|
|
6
|
+
* @param axiosInstance The axios instance (defaults to the global instance if none provided)
|
|
7
|
+
* @returns the response transformers for the LocationDiviner API
|
|
8
|
+
*/
|
|
9
|
+
export declare const getLocationDivinerApiResponseTransformer: (axiosInstance?: import("axios").AxiosStatic) => AxiosResponseTransformer[];
|
|
10
|
+
//# sourceMappingURL=LocationDivinerApiResponseTransformer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LocationDivinerApiResponseTransformer.d.ts","sourceRoot":"","sources":["../../../../src/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAS,wBAAwB,EAAE,MAAM,oBAAoB,CAAA;AAEpE,eAAO,MAAM,qCAAqC,EAAE,wBAEnD,CAAA;AAED;;;;;GAKG;AACH,eAAO,MAAM,wCAAwC,mDAA4B,wBAAwB,EAMxG,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { AxiosResponseTransformer } from '@xyo-network/axios';
|
|
2
|
+
export declare const locationDivinerApiResponseTransformer: AxiosResponseTransformer;
|
|
3
|
+
/**
|
|
4
|
+
* Gets the response transformers for the LocationDiviner API. Done as a method instead of a property
|
|
5
|
+
* to allow detection of dynamically added response transformers.
|
|
6
|
+
* @param axiosInstance The axios instance (defaults to the global instance if none provided)
|
|
7
|
+
* @returns the response transformers for the LocationDiviner API
|
|
8
|
+
*/
|
|
9
|
+
export declare const getLocationDivinerApiResponseTransformer: (axiosInstance?: import("axios").AxiosStatic) => AxiosResponseTransformer[];
|
|
10
|
+
//# sourceMappingURL=LocationDivinerApiResponseTransformer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LocationDivinerApiResponseTransformer.d.ts","sourceRoot":"","sources":["../../../../src/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAS,wBAAwB,EAAE,MAAM,oBAAoB,CAAA;AAEpE,eAAO,MAAM,qCAAqC,EAAE,wBAEnD,CAAA;AAED;;;;;GAKG;AACH,eAAO,MAAM,wCAAwC,mDAA4B,wBAAwB,EAMxG,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { AxiosResponseTransformer } from '@xyo-network/axios';
|
|
2
|
+
export declare const locationDivinerApiResponseTransformer: AxiosResponseTransformer;
|
|
3
|
+
/**
|
|
4
|
+
* Gets the response transformers for the LocationDiviner API. Done as a method instead of a property
|
|
5
|
+
* to allow detection of dynamically added response transformers.
|
|
6
|
+
* @param axiosInstance The axios instance (defaults to the global instance if none provided)
|
|
7
|
+
* @returns the response transformers for the LocationDiviner API
|
|
8
|
+
*/
|
|
9
|
+
export declare const getLocationDivinerApiResponseTransformer: (axiosInstance?: import("axios").AxiosStatic) => AxiosResponseTransformer[];
|
|
10
|
+
//# sourceMappingURL=LocationDivinerApiResponseTransformer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LocationDivinerApiResponseTransformer.d.ts","sourceRoot":"","sources":["../../../../src/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAS,wBAAwB,EAAE,MAAM,oBAAoB,CAAA;AAEpE,eAAO,MAAM,qCAAqC,EAAE,wBAEnD,CAAA;AAED;;;;;GAKG;AACH,eAAO,MAAM,wCAAwC,mDAA4B,wBAAwB,EAMxG,CAAA"}
|
|
@@ -0,0 +1,39 @@
|
|
|
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/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.ts
|
|
21
|
+
var LocationDivinerApiResponseTransformer_exports = {};
|
|
22
|
+
__export(LocationDivinerApiResponseTransformer_exports, {
|
|
23
|
+
getLocationDivinerApiResponseTransformer: () => getLocationDivinerApiResponseTransformer,
|
|
24
|
+
locationDivinerApiResponseTransformer: () => locationDivinerApiResponseTransformer
|
|
25
|
+
});
|
|
26
|
+
module.exports = __toCommonJS(LocationDivinerApiResponseTransformer_exports);
|
|
27
|
+
var import_axios = require("@xyo-network/axios");
|
|
28
|
+
var locationDivinerApiResponseTransformer = (data, _headers) => {
|
|
29
|
+
return data.data;
|
|
30
|
+
};
|
|
31
|
+
var getLocationDivinerApiResponseTransformer = (axiosInstance = import_axios.axios) => {
|
|
32
|
+
return axiosInstance.defaults.transformResponse ? [].concat(axiosInstance.defaults.transformResponse, locationDivinerApiResponseTransformer) : [locationDivinerApiResponseTransformer];
|
|
33
|
+
};
|
|
34
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
35
|
+
0 && (module.exports = {
|
|
36
|
+
getLocationDivinerApiResponseTransformer,
|
|
37
|
+
locationDivinerApiResponseTransformer
|
|
38
|
+
});
|
|
39
|
+
//# sourceMappingURL=LocationDivinerApiResponseTransformer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.ts"],"sourcesContent":["import { axios, AxiosResponseTransformer } from '@xyo-network/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 ? ([] as AxiosResponseTransformer[]).concat(axiosInstance.defaults.transformResponse, locationDivinerApiResponseTransformer)\n : [locationDivinerApiResponseTransformer]\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAgD;AAEzC,IAAM,wCAAkE,CAAC,MAAM,aAAa;AACjG,SAAO,KAAK;AACd;AAQO,IAAM,2CAA2C,CAAC,gBAAgB,uBAAsC;AAG7G,SAAO,cAAc,SAAS,oBACzB,CAAC,EAAiC,OAAO,cAAc,SAAS,mBAAmB,qCAAqC,IACzH,CAAC,qCAAqC;AAC5C;","names":[]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// src/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.ts
|
|
2
|
+
import { axios } from "@xyo-network/axios";
|
|
3
|
+
var locationDivinerApiResponseTransformer = (data, _headers) => {
|
|
4
|
+
return data.data;
|
|
5
|
+
};
|
|
6
|
+
var getLocationDivinerApiResponseTransformer = (axiosInstance = axios) => {
|
|
7
|
+
return axiosInstance.defaults.transformResponse ? [].concat(axiosInstance.defaults.transformResponse, locationDivinerApiResponseTransformer) : [locationDivinerApiResponseTransformer];
|
|
8
|
+
};
|
|
9
|
+
export {
|
|
10
|
+
getLocationDivinerApiResponseTransformer,
|
|
11
|
+
locationDivinerApiResponseTransformer
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=LocationDivinerApiResponseTransformer.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.ts"],"sourcesContent":["import { axios, AxiosResponseTransformer } from '@xyo-network/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 ? ([] as AxiosResponseTransformer[]).concat(axiosInstance.defaults.transformResponse, locationDivinerApiResponseTransformer)\n : [locationDivinerApiResponseTransformer]\n}\n"],"mappings":";AAAA,SAAS,aAAuC;AAEzC,IAAM,wCAAkE,CAAC,MAAM,aAAa;AACjG,SAAO,KAAK;AACd;AAQO,IAAM,2CAA2C,CAAC,gBAAgB,UAAsC;AAG7G,SAAO,cAAc,SAAS,oBACzB,CAAC,EAAiC,OAAO,cAAc,SAAS,mBAAmB,qCAAqC,IACzH,CAAC,qCAAqC;AAC5C;","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LocationHeatmapPointProperties.d.ts","sourceRoot":"","sources":["../../../../../../src/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapPointProperties.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,8BAA8B;IAC7C,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;CACd"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LocationHeatmapPointProperties.d.ts","sourceRoot":"","sources":["../../../../../../src/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapPointProperties.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,8BAA8B;IAC7C,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;CACd"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LocationHeatmapPointProperties.d.ts","sourceRoot":"","sources":["../../../../../../src/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapPointProperties.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,8BAA8B;IAC7C,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;CACd"}
|
|
@@ -0,0 +1,19 @@
|
|
|
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 __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
+
|
|
16
|
+
// src/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapPointProperties.ts
|
|
17
|
+
var LocationHeatmapPointProperties_exports = {};
|
|
18
|
+
module.exports = __toCommonJS(LocationHeatmapPointProperties_exports);
|
|
19
|
+
//# sourceMappingURL=LocationHeatmapPointProperties.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../../src/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapPointProperties.ts"],"sourcesContent":["export interface LocationHeatmapPointProperties {\n hash: string\n value: number\n}\n"],"mappings":";;;;;;;;;;;;;;;;AAAA;AAAA;","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=LocationHeatmapPointProperties.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|