@xyo-network/api 2.20.42 → 2.20.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/Archivist/Account/Api.d.ts +18 -18
- package/dist/cjs/Archivist/Account/Api.js +14 -14
- package/dist/cjs/Archivist/Account/index.d.ts +1 -1
- package/dist/cjs/Archivist/Account/index.js +4 -4
- package/dist/cjs/Archivist/Api.d.ts +33 -33
- package/dist/cjs/Archivist/Api.js +67 -67
- package/dist/cjs/Archivist/Archive/Api.d.ts +18 -18
- package/dist/cjs/Archivist/Archive/Api.js +39 -39
- package/dist/cjs/Archivist/Archive/Schema/Api.d.ts +7 -7
- package/dist/cjs/Archivist/Archive/Schema/Api.js +14 -14
- package/dist/cjs/Archivist/Archive/Schema/index.d.ts +1 -1
- package/dist/cjs/Archivist/Archive/Schema/index.js +4 -4
- package/dist/cjs/Archivist/Archive/Schemas/Api.d.ts +6 -6
- package/dist/cjs/Archivist/Archive/Schemas/Api.js +13 -13
- package/dist/cjs/Archivist/Archive/Schemas/index.d.ts +1 -1
- package/dist/cjs/Archivist/Archive/Schemas/index.js +4 -4
- package/dist/cjs/Archivist/Archive/Settings/Api.d.ts +6 -6
- package/dist/cjs/Archivist/Archive/Settings/Api.js +14 -14
- package/dist/cjs/Archivist/Archive/Settings/Key/Api.d.ts +5 -5
- package/dist/cjs/Archivist/Archive/Settings/Key/Api.js +10 -10
- package/dist/cjs/Archivist/Archive/Settings/Key/index.d.ts +1 -1
- package/dist/cjs/Archivist/Archive/Settings/Key/index.js +4 -4
- package/dist/cjs/Archivist/Archive/Settings/index.d.ts +2 -2
- package/dist/cjs/Archivist/Archive/Settings/index.js +5 -5
- package/dist/cjs/Archivist/Archive/index.d.ts +4 -4
- package/dist/cjs/Archivist/Archive/index.js +7 -7
- package/dist/cjs/Archivist/Archives/Api.d.ts +8 -8
- package/dist/cjs/Archivist/Archives/Api.js +15 -15
- package/dist/cjs/Archivist/Archives/index.d.ts +1 -1
- package/dist/cjs/Archivist/Archives/index.js +4 -4
- package/dist/cjs/Archivist/Block/Api.d.ts +8 -8
- package/dist/cjs/Archivist/Block/Api.js +11 -11
- package/dist/cjs/Archivist/Block/index.d.ts +1 -1
- package/dist/cjs/Archivist/Block/index.js +4 -4
- package/dist/cjs/Archivist/Payload/Api.d.ts +40 -40
- package/dist/cjs/Archivist/Payload/Api.js +83 -83
- package/dist/cjs/Archivist/Payload/Schema/Api.d.ts +8 -8
- package/dist/cjs/Archivist/Payload/Schema/Api.js +13 -13
- package/dist/cjs/Archivist/Payload/Schema/index.d.ts +1 -1
- package/dist/cjs/Archivist/Payload/Schema/index.js +4 -4
- package/dist/cjs/Archivist/Payload/index.d.ts +2 -2
- package/dist/cjs/Archivist/Payload/index.js +5 -5
- package/dist/cjs/Archivist/index.d.ts +6 -6
- package/dist/cjs/Archivist/index.js +9 -9
- package/dist/cjs/Base.d.ts +33 -33
- package/dist/cjs/Base.js +146 -146
- package/dist/cjs/Diviner/LocationDiviner/LocationDivinerApi.d.ts +11 -11
- package/dist/cjs/Diviner/LocationDiviner/LocationDivinerApi.js +27 -27
- package/dist/cjs/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.d.ts +9 -9
- package/dist/cjs/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.js +23 -23
- package/dist/cjs/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapPointProperties.d.ts +4 -4
- package/dist/cjs/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapPointProperties.js +2 -2
- package/dist/cjs/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.d.ts +11 -11
- package/dist/cjs/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.js +9 -9
- package/dist/cjs/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/index.d.ts +2 -2
- package/dist/cjs/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/index.js +5 -5
- package/dist/cjs/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.d.ts +11 -11
- package/dist/cjs/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.js +9 -9
- package/dist/cjs/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/index.d.ts +1 -1
- package/dist/cjs/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/index.js +4 -4
- package/dist/cjs/Diviner/LocationDiviner/Queries/LocationQueryCreationRequest.d.ts +17 -17
- package/dist/cjs/Diviner/LocationDiviner/Queries/LocationQueryCreationRequest.js +2 -2
- package/dist/cjs/Diviner/LocationDiviner/Queries/LocationQueryCreationResponse.d.ts +4 -4
- package/dist/cjs/Diviner/LocationDiviner/Queries/LocationQueryCreationResponse.js +2 -2
- package/dist/cjs/Diviner/LocationDiviner/Queries/LocationQuerySchema.d.ts +5 -5
- package/dist/cjs/Diviner/LocationDiviner/Queries/LocationQuerySchema.js +12 -12
- package/dist/cjs/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangePointProperties.d.ts +7 -7
- package/dist/cjs/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangePointProperties.js +2 -2
- package/dist/cjs/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.d.ts +11 -11
- package/dist/cjs/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.js +9 -9
- package/dist/cjs/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/index.d.ts +2 -2
- package/dist/cjs/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/index.js +5 -5
- package/dist/cjs/Diviner/LocationDiviner/Queries/index.d.ts +6 -6
- package/dist/cjs/Diviner/LocationDiviner/Queries/index.js +9 -9
- package/dist/cjs/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.d.ts +13 -13
- package/dist/cjs/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.js +4 -4
- package/dist/cjs/Diviner/LocationDiviner/Witnesses/LocationWitness.d.ts +21 -21
- package/dist/cjs/Diviner/LocationDiviner/Witnesses/LocationWitness.js +4 -4
- package/dist/cjs/Diviner/LocationDiviner/Witnesses/index.d.ts +2 -2
- package/dist/cjs/Diviner/LocationDiviner/Witnesses/index.js +5 -5
- package/dist/cjs/Diviner/LocationDiviner/index.d.ts +4 -4
- package/dist/cjs/Diviner/LocationDiviner/index.js +7 -7
- package/dist/cjs/Diviner/LocationDiviner/models.d.ts +4 -4
- package/dist/cjs/Diviner/LocationDiviner/models.js +2 -2
- package/dist/cjs/Diviner/index.d.ts +1 -1
- package/dist/cjs/Diviner/index.js +4 -4
- package/dist/cjs/Simple.d.ts +21 -21
- package/dist/cjs/Simple.js +59 -59
- package/dist/cjs/Test/index.d.ts +2 -2
- package/dist/cjs/Test/index.js +5 -5
- package/dist/cjs/Test/testBoundWitness.d.ts +3 -3
- package/dist/cjs/Test/testBoundWitness.js +16 -16
- package/dist/cjs/Test/testPayload.d.ts +4 -4
- package/dist/cjs/Test/testPayload.js +18 -18
- package/dist/cjs/User/Api.d.ts +31 -31
- package/dist/cjs/User/Api.js +24 -24
- package/dist/cjs/User/index.d.ts +1 -1
- package/dist/cjs/User/index.js +4 -4
- package/dist/cjs/WithArchive.d.ts +3 -3
- package/dist/cjs/WithArchive.js +2 -2
- package/dist/cjs/index.d.ts +7 -7
- package/dist/cjs/index.js +10 -10
- package/dist/cjs/models/Api/Config.d.ts +24 -24
- package/dist/cjs/models/Api/Config.js +2 -2
- package/dist/cjs/models/Api/Envelope.d.ts +14 -14
- package/dist/cjs/models/Api/Envelope.js +2 -2
- package/dist/cjs/models/Api/Error.d.ts +4 -4
- package/dist/cjs/models/Api/Error.js +2 -2
- package/dist/cjs/models/Api/Reportable.d.ts +7 -7
- package/dist/cjs/models/Api/Reportable.js +2 -2
- package/dist/cjs/models/Api/Response.d.ts +7 -7
- package/dist/cjs/models/Api/Response.js +2 -2
- package/dist/cjs/models/Api/Warning.d.ts +1 -1
- package/dist/cjs/models/Api/Warning.js +2 -2
- package/dist/cjs/models/Api/index.d.ts +6 -6
- package/dist/cjs/models/Api/index.js +9 -9
- package/dist/cjs/models/Archive.d.ts +24 -24
- package/dist/cjs/models/Archive.js +2 -2
- package/dist/cjs/models/ArchiveKey.d.ts +5 -5
- package/dist/cjs/models/ArchiveKey.js +2 -2
- package/dist/cjs/models/ArchivePath.d.ts +3 -3
- package/dist/cjs/models/ArchivePath.js +2 -2
- package/dist/cjs/models/index.d.ts +4 -4
- package/dist/cjs/models/index.js +7 -7
- package/dist/cjs/objToQuery.d.ts +1 -1
- package/dist/cjs/objToQuery.js +12 -12
- package/dist/esm/Archivist/Account/Api.d.ts +18 -18
- package/dist/esm/Archivist/Account/Api.js +16 -16
- package/dist/esm/Archivist/Account/index.d.ts +1 -1
- package/dist/esm/Archivist/Account/index.js +1 -1
- package/dist/esm/Archivist/Api.d.ts +33 -33
- package/dist/esm/Archivist/Api.js +81 -81
- package/dist/esm/Archivist/Archive/Api.d.ts +18 -18
- package/dist/esm/Archivist/Archive/Api.js +50 -50
- package/dist/esm/Archivist/Archive/Schema/Api.d.ts +7 -7
- package/dist/esm/Archivist/Archive/Schema/Api.js +13 -13
- package/dist/esm/Archivist/Archive/Schema/index.d.ts +1 -1
- package/dist/esm/Archivist/Archive/Schema/index.js +1 -1
- package/dist/esm/Archivist/Archive/Schemas/Api.d.ts +6 -6
- package/dist/esm/Archivist/Archive/Schemas/Api.js +12 -12
- package/dist/esm/Archivist/Archive/Schemas/index.d.ts +1 -1
- package/dist/esm/Archivist/Archive/Schemas/index.js +1 -1
- package/dist/esm/Archivist/Archive/Settings/Api.d.ts +6 -6
- package/dist/esm/Archivist/Archive/Settings/Api.js +13 -13
- package/dist/esm/Archivist/Archive/Settings/Key/Api.d.ts +5 -5
- package/dist/esm/Archivist/Archive/Settings/Key/Api.js +9 -9
- package/dist/esm/Archivist/Archive/Settings/Key/index.d.ts +1 -1
- package/dist/esm/Archivist/Archive/Settings/Key/index.js +1 -1
- package/dist/esm/Archivist/Archive/Settings/index.d.ts +2 -2
- package/dist/esm/Archivist/Archive/Settings/index.js +2 -2
- package/dist/esm/Archivist/Archive/index.d.ts +4 -4
- package/dist/esm/Archivist/Archive/index.js +4 -4
- package/dist/esm/Archivist/Archives/Api.d.ts +8 -8
- package/dist/esm/Archivist/Archives/Api.js +14 -14
- package/dist/esm/Archivist/Archives/index.d.ts +1 -1
- package/dist/esm/Archivist/Archives/index.js +1 -1
- package/dist/esm/Archivist/Block/Api.d.ts +8 -8
- package/dist/esm/Archivist/Block/Api.js +10 -10
- package/dist/esm/Archivist/Block/index.d.ts +1 -1
- package/dist/esm/Archivist/Block/index.js +1 -1
- package/dist/esm/Archivist/Payload/Api.d.ts +40 -40
- package/dist/esm/Archivist/Payload/Api.js +67 -67
- package/dist/esm/Archivist/Payload/Schema/Api.d.ts +8 -8
- package/dist/esm/Archivist/Payload/Schema/Api.js +12 -12
- package/dist/esm/Archivist/Payload/Schema/index.d.ts +1 -1
- package/dist/esm/Archivist/Payload/Schema/index.js +1 -1
- package/dist/esm/Archivist/Payload/index.d.ts +2 -2
- package/dist/esm/Archivist/Payload/index.js +2 -2
- package/dist/esm/Archivist/index.d.ts +6 -6
- package/dist/esm/Archivist/index.js +6 -6
- package/dist/esm/Base.d.ts +33 -33
- package/dist/esm/Base.js +128 -128
- package/dist/esm/Diviner/LocationDiviner/LocationDivinerApi.d.ts +11 -11
- package/dist/esm/Diviner/LocationDiviner/LocationDivinerApi.js +19 -19
- package/dist/esm/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.d.ts +9 -9
- package/dist/esm/Diviner/LocationDiviner/LocationDivinerApiResponseTransformer.js +17 -17
- package/dist/esm/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapPointProperties.d.ts +4 -4
- package/dist/esm/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapPointProperties.js +1 -1
- package/dist/esm/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.d.ts +11 -11
- package/dist/esm/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/LocationHeatmapQuery.js +5 -5
- package/dist/esm/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/index.d.ts +2 -2
- package/dist/esm/Diviner/LocationDiviner/Queries/LocationHeatmapQuery/index.js +2 -2
- package/dist/esm/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.d.ts +11 -11
- package/dist/esm/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/LocationQuadkeyHeatmapQuery.js +5 -5
- package/dist/esm/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/index.d.ts +1 -1
- package/dist/esm/Diviner/LocationDiviner/Queries/LocationQuadkeyHeatmapQuery/index.js +1 -1
- package/dist/esm/Diviner/LocationDiviner/Queries/LocationQueryCreationRequest.d.ts +17 -17
- package/dist/esm/Diviner/LocationDiviner/Queries/LocationQueryCreationRequest.js +1 -1
- package/dist/esm/Diviner/LocationDiviner/Queries/LocationQueryCreationResponse.d.ts +4 -4
- package/dist/esm/Diviner/LocationDiviner/Queries/LocationQueryCreationResponse.js +1 -1
- package/dist/esm/Diviner/LocationDiviner/Queries/LocationQuerySchema.d.ts +5 -5
- package/dist/esm/Diviner/LocationDiviner/Queries/LocationQuerySchema.js +8 -8
- package/dist/esm/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangePointProperties.d.ts +7 -7
- package/dist/esm/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangePointProperties.js +1 -1
- package/dist/esm/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.d.ts +11 -11
- package/dist/esm/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/LocationTimeRangeQuery.js +5 -5
- package/dist/esm/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/index.d.ts +2 -2
- package/dist/esm/Diviner/LocationDiviner/Queries/LocationTimeRangeQuery/index.js +2 -2
- package/dist/esm/Diviner/LocationDiviner/Queries/index.d.ts +6 -6
- package/dist/esm/Diviner/LocationDiviner/Queries/index.js +6 -6
- package/dist/esm/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.d.ts +13 -13
- package/dist/esm/Diviner/LocationDiviner/Witnesses/CurrentLocationWitness.js +1 -1
- package/dist/esm/Diviner/LocationDiviner/Witnesses/LocationWitness.d.ts +21 -21
- package/dist/esm/Diviner/LocationDiviner/Witnesses/LocationWitness.js +1 -1
- package/dist/esm/Diviner/LocationDiviner/Witnesses/index.d.ts +2 -2
- package/dist/esm/Diviner/LocationDiviner/Witnesses/index.js +2 -2
- package/dist/esm/Diviner/LocationDiviner/index.d.ts +4 -4
- package/dist/esm/Diviner/LocationDiviner/index.js +4 -4
- package/dist/esm/Diviner/LocationDiviner/models.d.ts +4 -4
- package/dist/esm/Diviner/LocationDiviner/models.js +1 -1
- package/dist/esm/Diviner/index.d.ts +1 -1
- package/dist/esm/Diviner/index.js +1 -1
- package/dist/esm/Simple.d.ts +21 -21
- package/dist/esm/Simple.js +44 -44
- package/dist/esm/Test/index.d.ts +2 -2
- package/dist/esm/Test/index.js +2 -2
- package/dist/esm/Test/testBoundWitness.d.ts +3 -3
- package/dist/esm/Test/testBoundWitness.js +13 -13
- package/dist/esm/Test/testPayload.d.ts +4 -4
- package/dist/esm/Test/testPayload.js +14 -14
- package/dist/esm/User/Api.d.ts +31 -31
- package/dist/esm/User/Api.js +26 -26
- package/dist/esm/User/index.d.ts +1 -1
- package/dist/esm/User/index.js +1 -1
- package/dist/esm/WithArchive.d.ts +3 -3
- package/dist/esm/WithArchive.js +1 -1
- package/dist/esm/index.d.ts +7 -7
- package/dist/esm/index.js +7 -7
- package/dist/esm/models/Api/Config.d.ts +24 -24
- package/dist/esm/models/Api/Config.js +1 -1
- package/dist/esm/models/Api/Envelope.d.ts +14 -14
- package/dist/esm/models/Api/Envelope.js +1 -1
- package/dist/esm/models/Api/Error.d.ts +4 -4
- package/dist/esm/models/Api/Error.js +1 -1
- package/dist/esm/models/Api/Reportable.d.ts +7 -7
- package/dist/esm/models/Api/Reportable.js +1 -1
- package/dist/esm/models/Api/Response.d.ts +7 -7
- package/dist/esm/models/Api/Response.js +1 -1
- package/dist/esm/models/Api/Warning.d.ts +1 -1
- package/dist/esm/models/Api/Warning.js +1 -1
- package/dist/esm/models/Api/index.d.ts +6 -6
- package/dist/esm/models/Api/index.js +6 -6
- package/dist/esm/models/Archive.d.ts +24 -24
- package/dist/esm/models/Archive.js +1 -1
- package/dist/esm/models/ArchiveKey.d.ts +5 -5
- package/dist/esm/models/ArchiveKey.js +1 -1
- package/dist/esm/models/ArchivePath.d.ts +3 -3
- package/dist/esm/models/ArchivePath.js +1 -1
- package/dist/esm/models/index.d.ts +4 -4
- package/dist/esm/models/index.js +4 -4
- package/dist/esm/objToQuery.d.ts +1 -1
- package/dist/esm/objToQuery.js +8 -8
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./Api"), exports);
|
|
5
|
-
tslib_1.__exportStar(require("./Key"), exports);
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./Api"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./Key"), exports);
|
|
6
6
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './Api';
|
|
2
|
-
export * from './Schema';
|
|
3
|
-
export * from './Schemas';
|
|
4
|
-
export * from './Settings';
|
|
1
|
+
export * from './Api';
|
|
2
|
+
export * from './Schema';
|
|
3
|
+
export * from './Schemas';
|
|
4
|
+
export * from './Settings';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./Api"), exports);
|
|
5
|
-
tslib_1.__exportStar(require("./Schema"), exports);
|
|
6
|
-
tslib_1.__exportStar(require("./Schemas"), exports);
|
|
7
|
-
tslib_1.__exportStar(require("./Settings"), exports);
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./Api"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./Schema"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./Schemas"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./Settings"), exports);
|
|
8
8
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { XyoArchive } from '../../models';
|
|
2
|
-
import { XyoApiSimple } from '../../Simple';
|
|
3
|
-
import { XyoArchivistArchiveApi } from '../Archive';
|
|
4
|
-
export declare class XyoArchivistArchivesApi extends XyoApiSimple<XyoArchive[]> {
|
|
5
|
-
archive(archive?: string): XyoArchivistArchiveApi;
|
|
6
|
-
/** @deprecated: use archive(string) instead */
|
|
7
|
-
select(archive?: string): XyoArchivistArchiveApi;
|
|
8
|
-
}
|
|
1
|
+
import { XyoArchive } from '../../models';
|
|
2
|
+
import { XyoApiSimple } from '../../Simple';
|
|
3
|
+
import { XyoArchivistArchiveApi } from '../Archive';
|
|
4
|
+
export declare class XyoArchivistArchivesApi extends XyoApiSimple<XyoArchive[]> {
|
|
5
|
+
archive(archive?: string): XyoArchivistArchiveApi;
|
|
6
|
+
/** @deprecated: use archive(string) instead */
|
|
7
|
+
select(archive?: string): XyoArchivistArchiveApi;
|
|
8
|
+
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.XyoArchivistArchivesApi = void 0;
|
|
4
|
-
const Simple_1 = require("../../Simple");
|
|
5
|
-
const Archive_1 = require("../Archive");
|
|
6
|
-
class XyoArchivistArchivesApi extends Simple_1.XyoApiSimple {
|
|
7
|
-
archive(archive = 'temp') {
|
|
8
|
-
return new Archive_1.XyoArchivistArchiveApi(Object.assign(Object.assign({}, this.config), { root: `${this.root}${archive}/` }));
|
|
9
|
-
}
|
|
10
|
-
/** @deprecated: use archive(string) instead */
|
|
11
|
-
select(archive = 'temp') {
|
|
12
|
-
return this.archive(archive);
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
exports.XyoArchivistArchivesApi = XyoArchivistArchivesApi;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.XyoArchivistArchivesApi = void 0;
|
|
4
|
+
const Simple_1 = require("../../Simple");
|
|
5
|
+
const Archive_1 = require("../Archive");
|
|
6
|
+
class XyoArchivistArchivesApi extends Simple_1.XyoApiSimple {
|
|
7
|
+
archive(archive = 'temp') {
|
|
8
|
+
return new Archive_1.XyoArchivistArchiveApi(Object.assign(Object.assign({}, this.config), { root: `${this.root}${archive}/` }));
|
|
9
|
+
}
|
|
10
|
+
/** @deprecated: use archive(string) instead */
|
|
11
|
+
select(archive = 'temp') {
|
|
12
|
+
return this.archive(archive);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
exports.XyoArchivistArchivesApi = XyoArchivistArchivesApi;
|
|
16
16
|
//# sourceMappingURL=Api.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './Api';
|
|
1
|
+
export * from './Api';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./Api"), exports);
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./Api"), exports);
|
|
5
5
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { XyoBoundWitness, XyoPayload } from '@xyo-network/core';
|
|
2
|
-
import { XyoApiConfig } from '../../models';
|
|
3
|
-
import { XyoApiSimple } from '../../Simple';
|
|
4
|
-
import { WithArchive } from '../../WithArchive';
|
|
5
|
-
import { XyoArchivistPayloadApi } from '../Payload';
|
|
6
|
-
export declare class XyoArchivistArchiveBlockApi<T extends XyoBoundWitness = XyoBoundWitness, C extends WithArchive<XyoApiConfig> = WithArchive<XyoApiConfig>> extends XyoArchivistPayloadApi<T, C> {
|
|
7
|
-
payloads(hash: string): XyoApiSimple<XyoPayload[][]>;
|
|
8
|
-
}
|
|
1
|
+
import { XyoBoundWitness, XyoPayload } from '@xyo-network/core';
|
|
2
|
+
import { XyoApiConfig } from '../../models';
|
|
3
|
+
import { XyoApiSimple } from '../../Simple';
|
|
4
|
+
import { WithArchive } from '../../WithArchive';
|
|
5
|
+
import { XyoArchivistPayloadApi } from '../Payload';
|
|
6
|
+
export declare class XyoArchivistArchiveBlockApi<T extends XyoBoundWitness = XyoBoundWitness, C extends WithArchive<XyoApiConfig> = WithArchive<XyoApiConfig>> extends XyoArchivistPayloadApi<T, C> {
|
|
7
|
+
payloads(hash: string): XyoApiSimple<XyoPayload[][]>;
|
|
8
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.XyoArchivistArchiveBlockApi = void 0;
|
|
4
|
-
const Simple_1 = require("../../Simple");
|
|
5
|
-
const Payload_1 = require("../Payload");
|
|
6
|
-
class XyoArchivistArchiveBlockApi extends Payload_1.XyoArchivistPayloadApi {
|
|
7
|
-
payloads(hash) {
|
|
8
|
-
return new Simple_1.XyoApiSimple(Object.assign(Object.assign({}, this.config), { root: `${this.root}hash/${hash}/payloads/` }));
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
exports.XyoArchivistArchiveBlockApi = XyoArchivistArchiveBlockApi;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.XyoArchivistArchiveBlockApi = void 0;
|
|
4
|
+
const Simple_1 = require("../../Simple");
|
|
5
|
+
const Payload_1 = require("../Payload");
|
|
6
|
+
class XyoArchivistArchiveBlockApi extends Payload_1.XyoArchivistPayloadApi {
|
|
7
|
+
payloads(hash) {
|
|
8
|
+
return new Simple_1.XyoApiSimple(Object.assign(Object.assign({}, this.config), { root: `${this.root}hash/${hash}/payloads/` }));
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
exports.XyoArchivistArchiveBlockApi = XyoArchivistArchiveBlockApi;
|
|
12
12
|
//# sourceMappingURL=Api.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './Api';
|
|
1
|
+
export * from './Api';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./Api"), exports);
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./Api"), exports);
|
|
5
5
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
import { XyoPayload } from '@xyo-network/core';
|
|
2
|
-
import { XyoApiConfig } from '../../models';
|
|
3
|
-
import { XyoApiSimple } from '../../Simple';
|
|
4
|
-
import { WithArchive } from '../../WithArchive';
|
|
5
|
-
import { XyoArchivistArchivePayloadSchemaApi } from './Schema';
|
|
6
|
-
export interface XyoPayloadFindFilter {
|
|
7
|
-
[key: string]: unknown;
|
|
8
|
-
order?: 'desc' | 'asc';
|
|
9
|
-
timestamp?: number;
|
|
10
|
-
limit?: number;
|
|
11
|
-
schema?: string;
|
|
12
|
-
}
|
|
13
|
-
export interface XyoPayloadStats {
|
|
14
|
-
count: number;
|
|
15
|
-
}
|
|
16
|
-
export declare class XyoArchivistPayloadApi<T extends XyoPayload = XyoPayload, C extends WithArchive<XyoApiConfig> = WithArchive<XyoApiConfig>> extends XyoApiSimple<T[], T[], XyoPayloadFindFilter, C> {
|
|
17
|
-
get schema(): XyoArchivistArchivePayloadSchemaApi;
|
|
18
|
-
private _stats?;
|
|
19
|
-
get stats(): XyoApiSimple<XyoPayloadStats>;
|
|
20
|
-
hash(hash: string): XyoApiSimple<XyoPayload[]>;
|
|
21
|
-
repair(hash: string): Promise<import("../../models").XyoApiResponseBody<T[]>>;
|
|
22
|
-
/** @deprecated use stats instead */
|
|
23
|
-
getStats(): Promise<import("../../models").XyoApiResponseBody<XyoPayloadStats>>;
|
|
24
|
-
/** @deprecated use hash */
|
|
25
|
-
getByHash(hash: string): Promise<import("../../models").XyoApiResponseBody<T[]>>;
|
|
26
|
-
/** @deprecated use repair */
|
|
27
|
-
repairByHash(hash: string): Promise<import("../../models").XyoApiResponseBody<T[]>>;
|
|
28
|
-
/** @deprecated use find */
|
|
29
|
-
findBefore(timestamp: number, limit?: number): Promise<import("../../models").XyoApiResponseBody<T[]>>;
|
|
30
|
-
/** @deprecated use findBefore */
|
|
31
|
-
getBefore(timestamp: number, limit?: number): Promise<import("../../models").XyoApiResponseBody<T[]>>;
|
|
32
|
-
/** @deprecated use find */
|
|
33
|
-
findAfter(timestamp: number, limit?: number): Promise<import("../../models").XyoApiResponseBody<T[]>>;
|
|
34
|
-
/** @deprecated use find */
|
|
35
|
-
getAfter(timestamp: number, limit?: number): Promise<import("../../models").XyoApiResponseBody<T[]>>;
|
|
36
|
-
/** @deprecated use find */
|
|
37
|
-
findMostRecent(limit?: number): Promise<import("../../models").XyoApiResponseBody<T[]>>;
|
|
38
|
-
/** @deprecated use find */
|
|
39
|
-
getMostRecent(limit?: number): Promise<import("../../models").XyoApiResponseBody<T[]>>;
|
|
40
|
-
}
|
|
1
|
+
import { XyoPayload } from '@xyo-network/core';
|
|
2
|
+
import { XyoApiConfig } from '../../models';
|
|
3
|
+
import { XyoApiSimple } from '../../Simple';
|
|
4
|
+
import { WithArchive } from '../../WithArchive';
|
|
5
|
+
import { XyoArchivistArchivePayloadSchemaApi } from './Schema';
|
|
6
|
+
export interface XyoPayloadFindFilter {
|
|
7
|
+
[key: string]: unknown;
|
|
8
|
+
order?: 'desc' | 'asc';
|
|
9
|
+
timestamp?: number;
|
|
10
|
+
limit?: number;
|
|
11
|
+
schema?: string;
|
|
12
|
+
}
|
|
13
|
+
export interface XyoPayloadStats {
|
|
14
|
+
count: number;
|
|
15
|
+
}
|
|
16
|
+
export declare class XyoArchivistPayloadApi<T extends XyoPayload = XyoPayload, C extends WithArchive<XyoApiConfig> = WithArchive<XyoApiConfig>> extends XyoApiSimple<T[], T[], XyoPayloadFindFilter, C> {
|
|
17
|
+
get schema(): XyoArchivistArchivePayloadSchemaApi;
|
|
18
|
+
private _stats?;
|
|
19
|
+
get stats(): XyoApiSimple<XyoPayloadStats>;
|
|
20
|
+
hash(hash: string): XyoApiSimple<XyoPayload[]>;
|
|
21
|
+
repair(hash: string): Promise<import("../../models").XyoApiResponseBody<T[]>>;
|
|
22
|
+
/** @deprecated use stats instead */
|
|
23
|
+
getStats(): Promise<import("../../models").XyoApiResponseBody<XyoPayloadStats>>;
|
|
24
|
+
/** @deprecated use hash */
|
|
25
|
+
getByHash(hash: string): Promise<import("../../models").XyoApiResponseBody<T[]>>;
|
|
26
|
+
/** @deprecated use repair */
|
|
27
|
+
repairByHash(hash: string): Promise<import("../../models").XyoApiResponseBody<T[]>>;
|
|
28
|
+
/** @deprecated use find */
|
|
29
|
+
findBefore(timestamp: number, limit?: number): Promise<import("../../models").XyoApiResponseBody<T[]>>;
|
|
30
|
+
/** @deprecated use findBefore */
|
|
31
|
+
getBefore(timestamp: number, limit?: number): Promise<import("../../models").XyoApiResponseBody<T[]>>;
|
|
32
|
+
/** @deprecated use find */
|
|
33
|
+
findAfter(timestamp: number, limit?: number): Promise<import("../../models").XyoApiResponseBody<T[]>>;
|
|
34
|
+
/** @deprecated use find */
|
|
35
|
+
getAfter(timestamp: number, limit?: number): Promise<import("../../models").XyoApiResponseBody<T[]>>;
|
|
36
|
+
/** @deprecated use find */
|
|
37
|
+
findMostRecent(limit?: number): Promise<import("../../models").XyoApiResponseBody<T[]>>;
|
|
38
|
+
/** @deprecated use find */
|
|
39
|
+
getMostRecent(limit?: number): Promise<import("../../models").XyoApiResponseBody<T[]>>;
|
|
40
|
+
}
|
|
@@ -1,84 +1,84 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.XyoArchivistPayloadApi = void 0;
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
5
|
-
const sdk_js_1 = require("@xylabs/sdk-js");
|
|
6
|
-
const Simple_1 = require("../../Simple");
|
|
7
|
-
const Schema_1 = require("./Schema");
|
|
8
|
-
class XyoArchivistPayloadApi extends Simple_1.XyoApiSimple {
|
|
9
|
-
get schema() {
|
|
10
|
-
return new Schema_1.XyoArchivistArchivePayloadSchemaApi(Object.assign(Object.assign({}, this.config), { root: `${this.root}schema/` }));
|
|
11
|
-
}
|
|
12
|
-
get stats() {
|
|
13
|
-
var _a;
|
|
14
|
-
this._stats =
|
|
15
|
-
(_a = this._stats) !== null && _a !== void 0 ? _a : new Simple_1.XyoApiSimple(Object.assign(Object.assign({}, this.config), { root: `${this.root}stats/` }));
|
|
16
|
-
return this._stats;
|
|
17
|
-
}
|
|
18
|
-
hash(hash) {
|
|
19
|
-
return new Simple_1.XyoApiSimple(Object.assign(Object.assign({}, this.config), { root: `${this.root}hash/${hash}/` }));
|
|
20
|
-
}
|
|
21
|
-
repair(hash) {
|
|
22
|
-
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
23
|
-
return yield this.getEndpoint(`hash/${hash}/repair`);
|
|
24
|
-
});
|
|
25
|
-
}
|
|
26
|
-
/** @deprecated use stats instead */
|
|
27
|
-
getStats() {
|
|
28
|
-
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
29
|
-
return yield this.getEndpoint('stats');
|
|
30
|
-
});
|
|
31
|
-
}
|
|
32
|
-
/** @deprecated use hash */
|
|
33
|
-
getByHash(hash) {
|
|
34
|
-
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
35
|
-
return yield this.getEndpoint(`hash/${hash}`);
|
|
36
|
-
});
|
|
37
|
-
}
|
|
38
|
-
/** @deprecated use repair */
|
|
39
|
-
repairByHash(hash) {
|
|
40
|
-
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
41
|
-
return yield this.repair(hash);
|
|
42
|
-
});
|
|
43
|
-
}
|
|
44
|
-
/** @deprecated use find */
|
|
45
|
-
findBefore(timestamp, limit = 20) {
|
|
46
|
-
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
47
|
-
return yield this.find({ limit, order: 'desc', timestamp });
|
|
48
|
-
});
|
|
49
|
-
}
|
|
50
|
-
/** @deprecated use findBefore */
|
|
51
|
-
getBefore(timestamp, limit = 20) {
|
|
52
|
-
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
53
|
-
return yield this.find({ limit, order: 'desc', timestamp });
|
|
54
|
-
});
|
|
55
|
-
}
|
|
56
|
-
/** @deprecated use find */
|
|
57
|
-
findAfter(timestamp, limit = 20) {
|
|
58
|
-
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
59
|
-
return yield this.find({ limit, order: 'asc', timestamp });
|
|
60
|
-
});
|
|
61
|
-
}
|
|
62
|
-
/** @deprecated use find */
|
|
63
|
-
getAfter(timestamp, limit = 20) {
|
|
64
|
-
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
65
|
-
return yield this.find({ limit, order: 'asc', timestamp });
|
|
66
|
-
});
|
|
67
|
-
}
|
|
68
|
-
/** @deprecated use find */
|
|
69
|
-
findMostRecent(limit = 20) {
|
|
70
|
-
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
71
|
-
(0, sdk_js_1.assertEx)(limit > 0, 'min limit = 1');
|
|
72
|
-
(0, sdk_js_1.assertEx)(limit <= 100, 'max limit = 100');
|
|
73
|
-
return yield this.find({ limit, order: 'desc', timestamp: 999999999999 });
|
|
74
|
-
});
|
|
75
|
-
}
|
|
76
|
-
/** @deprecated use find */
|
|
77
|
-
getMostRecent(limit = 20) {
|
|
78
|
-
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
79
|
-
return yield this.find({ limit, order: 'desc', timestamp: 999999999999 });
|
|
80
|
-
});
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
exports.XyoArchivistPayloadApi = XyoArchivistPayloadApi;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.XyoArchivistPayloadApi = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const sdk_js_1 = require("@xylabs/sdk-js");
|
|
6
|
+
const Simple_1 = require("../../Simple");
|
|
7
|
+
const Schema_1 = require("./Schema");
|
|
8
|
+
class XyoArchivistPayloadApi extends Simple_1.XyoApiSimple {
|
|
9
|
+
get schema() {
|
|
10
|
+
return new Schema_1.XyoArchivistArchivePayloadSchemaApi(Object.assign(Object.assign({}, this.config), { root: `${this.root}schema/` }));
|
|
11
|
+
}
|
|
12
|
+
get stats() {
|
|
13
|
+
var _a;
|
|
14
|
+
this._stats =
|
|
15
|
+
(_a = this._stats) !== null && _a !== void 0 ? _a : new Simple_1.XyoApiSimple(Object.assign(Object.assign({}, this.config), { root: `${this.root}stats/` }));
|
|
16
|
+
return this._stats;
|
|
17
|
+
}
|
|
18
|
+
hash(hash) {
|
|
19
|
+
return new Simple_1.XyoApiSimple(Object.assign(Object.assign({}, this.config), { root: `${this.root}hash/${hash}/` }));
|
|
20
|
+
}
|
|
21
|
+
repair(hash) {
|
|
22
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
23
|
+
return yield this.getEndpoint(`hash/${hash}/repair`);
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
/** @deprecated use stats instead */
|
|
27
|
+
getStats() {
|
|
28
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
29
|
+
return yield this.getEndpoint('stats');
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
/** @deprecated use hash */
|
|
33
|
+
getByHash(hash) {
|
|
34
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
35
|
+
return yield this.getEndpoint(`hash/${hash}`);
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
/** @deprecated use repair */
|
|
39
|
+
repairByHash(hash) {
|
|
40
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
41
|
+
return yield this.repair(hash);
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
/** @deprecated use find */
|
|
45
|
+
findBefore(timestamp, limit = 20) {
|
|
46
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
47
|
+
return yield this.find({ limit, order: 'desc', timestamp });
|
|
48
|
+
});
|
|
49
|
+
}
|
|
50
|
+
/** @deprecated use findBefore */
|
|
51
|
+
getBefore(timestamp, limit = 20) {
|
|
52
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
53
|
+
return yield this.find({ limit, order: 'desc', timestamp });
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
/** @deprecated use find */
|
|
57
|
+
findAfter(timestamp, limit = 20) {
|
|
58
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
59
|
+
return yield this.find({ limit, order: 'asc', timestamp });
|
|
60
|
+
});
|
|
61
|
+
}
|
|
62
|
+
/** @deprecated use find */
|
|
63
|
+
getAfter(timestamp, limit = 20) {
|
|
64
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
65
|
+
return yield this.find({ limit, order: 'asc', timestamp });
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
/** @deprecated use find */
|
|
69
|
+
findMostRecent(limit = 20) {
|
|
70
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
71
|
+
(0, sdk_js_1.assertEx)(limit > 0, 'min limit = 1');
|
|
72
|
+
(0, sdk_js_1.assertEx)(limit <= 100, 'max limit = 100');
|
|
73
|
+
return yield this.find({ limit, order: 'desc', timestamp: 999999999999 });
|
|
74
|
+
});
|
|
75
|
+
}
|
|
76
|
+
/** @deprecated use find */
|
|
77
|
+
getMostRecent(limit = 20) {
|
|
78
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
79
|
+
return yield this.find({ limit, order: 'desc', timestamp: 999999999999 });
|
|
80
|
+
});
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
exports.XyoArchivistPayloadApi = XyoArchivistPayloadApi;
|
|
84
84
|
//# sourceMappingURL=Api.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { XyoApiSimple } from '../../../Simple';
|
|
2
|
-
export interface XyoArchivistArchivePayloadSchemaStats {
|
|
3
|
-
counts: Record<string, number>;
|
|
4
|
-
}
|
|
5
|
-
export declare class XyoArchivistArchivePayloadSchemaApi extends XyoApiSimple<string[]> {
|
|
6
|
-
private _stats?;
|
|
7
|
-
get stats(): XyoApiSimple<XyoArchivistArchivePayloadSchemaStats, XyoArchivistArchivePayloadSchemaStats, Record<string, never>, import("../../../models/Api/Config").XyoApiConfig>;
|
|
8
|
-
}
|
|
1
|
+
import { XyoApiSimple } from '../../../Simple';
|
|
2
|
+
export interface XyoArchivistArchivePayloadSchemaStats {
|
|
3
|
+
counts: Record<string, number>;
|
|
4
|
+
}
|
|
5
|
+
export declare class XyoArchivistArchivePayloadSchemaApi extends XyoApiSimple<string[]> {
|
|
6
|
+
private _stats?;
|
|
7
|
+
get stats(): XyoApiSimple<XyoArchivistArchivePayloadSchemaStats, XyoArchivistArchivePayloadSchemaStats, Record<string, never>, import("../../../models/Api/Config").XyoApiConfig>;
|
|
8
|
+
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.XyoArchivistArchivePayloadSchemaApi = void 0;
|
|
4
|
-
const Simple_1 = require("../../../Simple");
|
|
5
|
-
class XyoArchivistArchivePayloadSchemaApi extends Simple_1.XyoApiSimple {
|
|
6
|
-
get stats() {
|
|
7
|
-
var _a;
|
|
8
|
-
this._stats =
|
|
9
|
-
(_a = this._stats) !== null && _a !== void 0 ? _a : new Simple_1.XyoApiSimple(Object.assign(Object.assign({}, this.config), { root: `${this.root}stats/` }));
|
|
10
|
-
return this._stats;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
exports.XyoArchivistArchivePayloadSchemaApi = XyoArchivistArchivePayloadSchemaApi;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.XyoArchivistArchivePayloadSchemaApi = void 0;
|
|
4
|
+
const Simple_1 = require("../../../Simple");
|
|
5
|
+
class XyoArchivistArchivePayloadSchemaApi extends Simple_1.XyoApiSimple {
|
|
6
|
+
get stats() {
|
|
7
|
+
var _a;
|
|
8
|
+
this._stats =
|
|
9
|
+
(_a = this._stats) !== null && _a !== void 0 ? _a : new Simple_1.XyoApiSimple(Object.assign(Object.assign({}, this.config), { root: `${this.root}stats/` }));
|
|
10
|
+
return this._stats;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
exports.XyoArchivistArchivePayloadSchemaApi = XyoArchivistArchivePayloadSchemaApi;
|
|
14
14
|
//# sourceMappingURL=Api.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './Api';
|
|
1
|
+
export * from './Api';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./Api"), exports);
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./Api"), exports);
|
|
5
5
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './Api';
|
|
2
|
-
export * from './Schema';
|
|
1
|
+
export * from './Api';
|
|
2
|
+
export * from './Schema';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./Api"), exports);
|
|
5
|
-
tslib_1.__exportStar(require("./Schema"), exports);
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./Api"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./Schema"), exports);
|
|
6
6
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * from './Account';
|
|
2
|
-
export * from './Api';
|
|
3
|
-
export * from './Archive';
|
|
4
|
-
export * from './Archives';
|
|
5
|
-
export * from './Block';
|
|
6
|
-
export * from './Payload';
|
|
1
|
+
export * from './Account';
|
|
2
|
+
export * from './Api';
|
|
3
|
+
export * from './Archive';
|
|
4
|
+
export * from './Archives';
|
|
5
|
+
export * from './Block';
|
|
6
|
+
export * from './Payload';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./Account"), exports);
|
|
5
|
-
tslib_1.__exportStar(require("./Api"), exports);
|
|
6
|
-
tslib_1.__exportStar(require("./Archive"), exports);
|
|
7
|
-
tslib_1.__exportStar(require("./Archives"), exports);
|
|
8
|
-
tslib_1.__exportStar(require("./Block"), exports);
|
|
9
|
-
tslib_1.__exportStar(require("./Payload"), exports);
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./Account"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./Api"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./Archive"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./Archives"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./Block"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./Payload"), exports);
|
|
10
10
|
//# sourceMappingURL=index.js.map
|
package/dist/cjs/Base.d.ts
CHANGED
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
import { Axios } from 'axios';
|
|
2
|
-
import { XyoApiConfig, XyoApiEnvelope, XyoApiError, XyoApiReportable, XyoApiResponse, XyoApiResponseBody, XyoApiResponseTuple } from './models';
|
|
3
|
-
export declare class XyoApiBase<C extends XyoApiConfig = XyoApiConfig> implements XyoApiReportable {
|
|
4
|
-
readonly config: C;
|
|
5
|
-
protected axios: Axios;
|
|
6
|
-
constructor(config: C);
|
|
7
|
-
private axiosHeaders;
|
|
8
|
-
private axiosConfig;
|
|
9
|
-
onError(error: XyoApiError, depth?: number): void;
|
|
10
|
-
onFailure(response: XyoApiResponse, depth?: number): void;
|
|
11
|
-
onSuccess(response: XyoApiResponse, depth?: number): void;
|
|
12
|
-
protected get root(): string;
|
|
13
|
-
protected get query(): string;
|
|
14
|
-
private resolveRoot;
|
|
15
|
-
private static resolveResponse;
|
|
16
|
-
protected handleMonitorResponseError<T>(error: XyoApiError, trapAxiosException: boolean): XyoApiResponse<XyoApiEnvelope<T>, unknown> | undefined;
|
|
17
|
-
protected monitorResponse<T>(closure: () => Promise<XyoApiResponse<XyoApiEnvelope<T>>>): Promise<XyoApiResponse<XyoApiEnvelope<T>, unknown> | undefined>;
|
|
18
|
-
protected getEndpoint<T = unknown>(endPoint?: string): Promise<XyoApiResponseBody<T>>;
|
|
19
|
-
protected getEndpoint<T = unknown>(endPoint?: string, responseType?: 'body'): Promise<XyoApiResponseBody<T>>;
|
|
20
|
-
protected getEndpoint<T = unknown>(endPoint?: string, responseType?: 'tuple'): Promise<XyoApiResponseTuple<T>>;
|
|
21
|
-
protected postEndpoint<T = unknown, D = unknown>(endPoint?: string, data?: D): Promise<XyoApiResponseBody<T>>;
|
|
22
|
-
protected postEndpoint<T = unknown, D = unknown>(endPoint?: string, data?: D, responseType?: 'body'): Promise<XyoApiResponseBody<T>>;
|
|
23
|
-
protected postEndpoint<T = unknown, D = unknown>(endPoint?: string, data?: D, responseType?: 'tuple'): Promise<XyoApiResponseTuple<T>>;
|
|
24
|
-
protected putEndpoint<T = unknown, D = unknown>(endPoint?: string, data?: D): Promise<XyoApiResponseBody<T>>;
|
|
25
|
-
protected putEndpoint<T = unknown, D = unknown>(endPoint?: string, data?: D, responseType?: 'body'): Promise<XyoApiResponseBody<T>>;
|
|
26
|
-
protected putEndpoint<T = unknown, D = unknown>(endPoint?: string, data?: D, responseType?: 'tuple'): Promise<XyoApiResponseTuple<T>>;
|
|
27
|
-
protected deleteEndpoint<T = unknown>(endPoint?: string): Promise<XyoApiResponseBody<T>>;
|
|
28
|
-
protected deleteEndpoint<T = unknown>(endPoint?: string, responseType?: 'body'): Promise<XyoApiResponseBody<T>>;
|
|
29
|
-
protected deleteEndpoint<T = unknown>(endPoint?: string, responseType?: 'tuple'): Promise<XyoApiResponseTuple<T>>;
|
|
30
|
-
private static shapeResponse;
|
|
31
|
-
protected get headers(): Record<string, string>;
|
|
32
|
-
get authenticated(): boolean;
|
|
33
|
-
}
|
|
1
|
+
import { Axios } from 'axios';
|
|
2
|
+
import { XyoApiConfig, XyoApiEnvelope, XyoApiError, XyoApiReportable, XyoApiResponse, XyoApiResponseBody, XyoApiResponseTuple } from './models';
|
|
3
|
+
export declare class XyoApiBase<C extends XyoApiConfig = XyoApiConfig> implements XyoApiReportable {
|
|
4
|
+
readonly config: C;
|
|
5
|
+
protected axios: Axios;
|
|
6
|
+
constructor(config: C);
|
|
7
|
+
private axiosHeaders;
|
|
8
|
+
private axiosConfig;
|
|
9
|
+
onError(error: XyoApiError, depth?: number): void;
|
|
10
|
+
onFailure(response: XyoApiResponse, depth?: number): void;
|
|
11
|
+
onSuccess(response: XyoApiResponse, depth?: number): void;
|
|
12
|
+
protected get root(): string;
|
|
13
|
+
protected get query(): string;
|
|
14
|
+
private resolveRoot;
|
|
15
|
+
private static resolveResponse;
|
|
16
|
+
protected handleMonitorResponseError<T>(error: XyoApiError, trapAxiosException: boolean): XyoApiResponse<XyoApiEnvelope<T>, unknown> | undefined;
|
|
17
|
+
protected monitorResponse<T>(closure: () => Promise<XyoApiResponse<XyoApiEnvelope<T>>>): Promise<XyoApiResponse<XyoApiEnvelope<T>, unknown> | undefined>;
|
|
18
|
+
protected getEndpoint<T = unknown>(endPoint?: string): Promise<XyoApiResponseBody<T>>;
|
|
19
|
+
protected getEndpoint<T = unknown>(endPoint?: string, responseType?: 'body'): Promise<XyoApiResponseBody<T>>;
|
|
20
|
+
protected getEndpoint<T = unknown>(endPoint?: string, responseType?: 'tuple'): Promise<XyoApiResponseTuple<T>>;
|
|
21
|
+
protected postEndpoint<T = unknown, D = unknown>(endPoint?: string, data?: D): Promise<XyoApiResponseBody<T>>;
|
|
22
|
+
protected postEndpoint<T = unknown, D = unknown>(endPoint?: string, data?: D, responseType?: 'body'): Promise<XyoApiResponseBody<T>>;
|
|
23
|
+
protected postEndpoint<T = unknown, D = unknown>(endPoint?: string, data?: D, responseType?: 'tuple'): Promise<XyoApiResponseTuple<T>>;
|
|
24
|
+
protected putEndpoint<T = unknown, D = unknown>(endPoint?: string, data?: D): Promise<XyoApiResponseBody<T>>;
|
|
25
|
+
protected putEndpoint<T = unknown, D = unknown>(endPoint?: string, data?: D, responseType?: 'body'): Promise<XyoApiResponseBody<T>>;
|
|
26
|
+
protected putEndpoint<T = unknown, D = unknown>(endPoint?: string, data?: D, responseType?: 'tuple'): Promise<XyoApiResponseTuple<T>>;
|
|
27
|
+
protected deleteEndpoint<T = unknown>(endPoint?: string): Promise<XyoApiResponseBody<T>>;
|
|
28
|
+
protected deleteEndpoint<T = unknown>(endPoint?: string, responseType?: 'body'): Promise<XyoApiResponseBody<T>>;
|
|
29
|
+
protected deleteEndpoint<T = unknown>(endPoint?: string, responseType?: 'tuple'): Promise<XyoApiResponseTuple<T>>;
|
|
30
|
+
private static shapeResponse;
|
|
31
|
+
protected get headers(): Record<string, string>;
|
|
32
|
+
get authenticated(): boolean;
|
|
33
|
+
}
|