@abliteration/sdk 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +67 -0
- package/dist/apis/AuthorsApi.d.ts +131 -0
- package/dist/apis/AuthorsApi.js +144 -0
- package/dist/apis/DatasetsApi.d.ts +151 -0
- package/dist/apis/DatasetsApi.js +155 -0
- package/dist/apis/IndicesApi.d.ts +111 -0
- package/dist/apis/IndicesApi.js +135 -0
- package/dist/apis/MethodsApi.d.ts +118 -0
- package/dist/apis/MethodsApi.js +142 -0
- package/dist/apis/ModelsApi.d.ts +181 -0
- package/dist/apis/ModelsApi.js +170 -0
- package/dist/apis/TimelineApi.d.ts +85 -0
- package/dist/apis/TimelineApi.js +89 -0
- package/dist/apis/index.d.ts +6 -0
- package/dist/apis/index.js +24 -0
- package/dist/esm/apis/AuthorsApi.d.ts +131 -0
- package/dist/esm/apis/AuthorsApi.js +140 -0
- package/dist/esm/apis/DatasetsApi.d.ts +151 -0
- package/dist/esm/apis/DatasetsApi.js +151 -0
- package/dist/esm/apis/IndicesApi.d.ts +111 -0
- package/dist/esm/apis/IndicesApi.js +131 -0
- package/dist/esm/apis/MethodsApi.d.ts +118 -0
- package/dist/esm/apis/MethodsApi.js +138 -0
- package/dist/esm/apis/ModelsApi.d.ts +181 -0
- package/dist/esm/apis/ModelsApi.js +166 -0
- package/dist/esm/apis/TimelineApi.d.ts +85 -0
- package/dist/esm/apis/TimelineApi.js +85 -0
- package/dist/esm/apis/index.d.ts +6 -0
- package/dist/esm/apis/index.js +8 -0
- package/dist/esm/index.d.ts +3 -0
- package/dist/esm/index.js +5 -0
- package/dist/esm/models/Author.d.ts +46 -0
- package/dist/esm/models/Author.js +49 -0
- package/dist/esm/models/AuthorDetail.d.ts +51 -0
- package/dist/esm/models/AuthorDetail.js +52 -0
- package/dist/esm/models/DaiPoint.d.ts +38 -0
- package/dist/esm/models/DaiPoint.js +45 -0
- package/dist/esm/models/Dataset.d.ts +70 -0
- package/dist/esm/models/Dataset.js +61 -0
- package/dist/esm/models/DatasetDetail.d.ts +40 -0
- package/dist/esm/models/DatasetDetail.js +38 -0
- package/dist/esm/models/Envelope.d.ts +66 -0
- package/dist/esm/models/Envelope.js +78 -0
- package/dist/esm/models/Event.d.ts +54 -0
- package/dist/esm/models/Event.js +53 -0
- package/dist/esm/models/GetAuthor200Response.d.ts +67 -0
- package/dist/esm/models/GetAuthor200Response.js +79 -0
- package/dist/esm/models/GetDataset200Response.d.ts +67 -0
- package/dist/esm/models/GetDataset200Response.js +79 -0
- package/dist/esm/models/GetIndex200Response.d.ts +67 -0
- package/dist/esm/models/GetIndex200Response.js +79 -0
- package/dist/esm/models/GetMethod200Response.d.ts +67 -0
- package/dist/esm/models/GetMethod200Response.js +79 -0
- package/dist/esm/models/GetModel200Response.d.ts +67 -0
- package/dist/esm/models/GetModel200Response.js +79 -0
- package/dist/esm/models/IndexDetail.d.ts +89 -0
- package/dist/esm/models/IndexDetail.js +78 -0
- package/dist/esm/models/ListAuthors200Response.d.ts +67 -0
- package/dist/esm/models/ListAuthors200Response.js +79 -0
- package/dist/esm/models/ListDatasets200Response.d.ts +67 -0
- package/dist/esm/models/ListDatasets200Response.js +79 -0
- package/dist/esm/models/ListIndices200Response.d.ts +67 -0
- package/dist/esm/models/ListIndices200Response.js +79 -0
- package/dist/esm/models/ListMethods200Response.d.ts +67 -0
- package/dist/esm/models/ListMethods200Response.js +79 -0
- package/dist/esm/models/ListModels200Response.d.ts +67 -0
- package/dist/esm/models/ListModels200Response.js +79 -0
- package/dist/esm/models/ListTimeline200Response.d.ts +67 -0
- package/dist/esm/models/ListTimeline200Response.js +79 -0
- package/dist/esm/models/Method.d.ts +60 -0
- package/dist/esm/models/Method.js +60 -0
- package/dist/esm/models/MethodDetail.d.ts +74 -0
- package/dist/esm/models/MethodDetail.js +68 -0
- package/dist/esm/models/MethodDetailAllOfTopAuthors.d.ts +34 -0
- package/dist/esm/models/MethodDetailAllOfTopAuthors.js +43 -0
- package/dist/esm/models/ModelDetail.d.ts +52 -0
- package/dist/esm/models/ModelDetail.js +38 -0
- package/dist/esm/models/ModelError.d.ts +46 -0
- package/dist/esm/models/ModelError.js +53 -0
- package/dist/esm/models/ModelIndex.d.ts +85 -0
- package/dist/esm/models/ModelIndex.js +76 -0
- package/dist/esm/models/ModelSummary.d.ts +78 -0
- package/dist/esm/models/ModelSummary.js +65 -0
- package/dist/esm/models/Passport.d.ts +38 -0
- package/dist/esm/models/Passport.js +45 -0
- package/dist/esm/models/index.d.ts +27 -0
- package/dist/esm/models/index.js +29 -0
- package/dist/esm/runtime.d.ts +196 -0
- package/dist/esm/runtime.js +400 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +21 -0
- package/dist/models/Author.d.ts +46 -0
- package/dist/models/Author.js +56 -0
- package/dist/models/AuthorDetail.d.ts +51 -0
- package/dist/models/AuthorDetail.js +59 -0
- package/dist/models/DaiPoint.d.ts +38 -0
- package/dist/models/DaiPoint.js +52 -0
- package/dist/models/Dataset.d.ts +70 -0
- package/dist/models/Dataset.js +68 -0
- package/dist/models/DatasetDetail.d.ts +40 -0
- package/dist/models/DatasetDetail.js +45 -0
- package/dist/models/Envelope.d.ts +66 -0
- package/dist/models/Envelope.js +86 -0
- package/dist/models/Event.d.ts +54 -0
- package/dist/models/Event.js +60 -0
- package/dist/models/GetAuthor200Response.d.ts +67 -0
- package/dist/models/GetAuthor200Response.js +87 -0
- package/dist/models/GetDataset200Response.d.ts +67 -0
- package/dist/models/GetDataset200Response.js +87 -0
- package/dist/models/GetIndex200Response.d.ts +67 -0
- package/dist/models/GetIndex200Response.js +87 -0
- package/dist/models/GetMethod200Response.d.ts +67 -0
- package/dist/models/GetMethod200Response.js +87 -0
- package/dist/models/GetModel200Response.d.ts +67 -0
- package/dist/models/GetModel200Response.js +87 -0
- package/dist/models/IndexDetail.d.ts +89 -0
- package/dist/models/IndexDetail.js +86 -0
- package/dist/models/ListAuthors200Response.d.ts +67 -0
- package/dist/models/ListAuthors200Response.js +87 -0
- package/dist/models/ListDatasets200Response.d.ts +67 -0
- package/dist/models/ListDatasets200Response.js +87 -0
- package/dist/models/ListIndices200Response.d.ts +67 -0
- package/dist/models/ListIndices200Response.js +87 -0
- package/dist/models/ListMethods200Response.d.ts +67 -0
- package/dist/models/ListMethods200Response.js +87 -0
- package/dist/models/ListModels200Response.d.ts +67 -0
- package/dist/models/ListModels200Response.js +87 -0
- package/dist/models/ListTimeline200Response.d.ts +67 -0
- package/dist/models/ListTimeline200Response.js +87 -0
- package/dist/models/Method.d.ts +60 -0
- package/dist/models/Method.js +68 -0
- package/dist/models/MethodDetail.d.ts +74 -0
- package/dist/models/MethodDetail.js +76 -0
- package/dist/models/MethodDetailAllOfTopAuthors.d.ts +34 -0
- package/dist/models/MethodDetailAllOfTopAuthors.js +50 -0
- package/dist/models/ModelDetail.d.ts +52 -0
- package/dist/models/ModelDetail.js +45 -0
- package/dist/models/ModelError.d.ts +46 -0
- package/dist/models/ModelError.js +60 -0
- package/dist/models/ModelIndex.d.ts +85 -0
- package/dist/models/ModelIndex.js +84 -0
- package/dist/models/ModelSummary.d.ts +78 -0
- package/dist/models/ModelSummary.js +72 -0
- package/dist/models/Passport.d.ts +38 -0
- package/dist/models/Passport.js +52 -0
- package/dist/models/index.d.ts +27 -0
- package/dist/models/index.js +45 -0
- package/dist/runtime.d.ts +196 -0
- package/dist/runtime.js +421 -0
- package/package.json +31 -0
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* abliteration.org Public API
|
|
3
|
+
* Read access to the abliteration.org catalog: models and their method classification, alignment datasets and their passports, the M-code taxonomy, the four flagship indices and the curated field timeline. Every call is authenticated with a bearer key and metered in credits against the same wallet the Research Agent spends from. There is no free tier for machine traffic and no separate billing. Responses report `cost` and `credits_remaining` on every success. While `metering` reads `preview`, the cost shown is what the call will bill once metering is enabled and nothing is actually deducted; when it reads `billed`, it was.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { DaiPoint } from './DaiPoint';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ModelIndex
|
|
17
|
+
*/
|
|
18
|
+
export interface ModelIndex {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
id?: ModelIndexIdEnum;
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
name?: string;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
value?: number | null;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
*/
|
|
34
|
+
unit?: ModelIndexUnitEnum;
|
|
35
|
+
/**
|
|
36
|
+
* False when the value is a placeholder constant rather than a measurement.
|
|
37
|
+
*/
|
|
38
|
+
measured?: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* Where the number is produced.
|
|
41
|
+
*/
|
|
42
|
+
source?: string;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
*/
|
|
46
|
+
history_available?: boolean;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
*/
|
|
50
|
+
as_of?: string | null;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
*/
|
|
54
|
+
note?: string | null;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
*/
|
|
58
|
+
recent_history?: Array<DaiPoint>;
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* @export
|
|
62
|
+
*/
|
|
63
|
+
export declare const ModelIndexIdEnum: {
|
|
64
|
+
readonly Dai: "dai";
|
|
65
|
+
readonly FreedomVelocity: "freedom-velocity";
|
|
66
|
+
readonly Weaponization: "weaponization";
|
|
67
|
+
readonly F2wLatency: "f2w-latency";
|
|
68
|
+
};
|
|
69
|
+
export type ModelIndexIdEnum = typeof ModelIndexIdEnum[keyof typeof ModelIndexIdEnum];
|
|
70
|
+
/**
|
|
71
|
+
* @export
|
|
72
|
+
*/
|
|
73
|
+
export declare const ModelIndexUnitEnum: {
|
|
74
|
+
readonly Percent: "percent";
|
|
75
|
+
readonly Days: "days";
|
|
76
|
+
};
|
|
77
|
+
export type ModelIndexUnitEnum = typeof ModelIndexUnitEnum[keyof typeof ModelIndexUnitEnum];
|
|
78
|
+
/**
|
|
79
|
+
* Check if a given object implements the ModelIndex interface.
|
|
80
|
+
*/
|
|
81
|
+
export declare function instanceOfModelIndex(value: object): value is ModelIndex;
|
|
82
|
+
export declare function ModelIndexFromJSON(json: any): ModelIndex;
|
|
83
|
+
export declare function ModelIndexFromJSONTyped(json: any, ignoreDiscriminator: boolean): ModelIndex;
|
|
84
|
+
export declare function ModelIndexToJSON(json: any): ModelIndex;
|
|
85
|
+
export declare function ModelIndexToJSONTyped(value?: ModelIndex | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* abliteration.org Public API
|
|
6
|
+
* Read access to the abliteration.org catalog: models and their method classification, alignment datasets and their passports, the M-code taxonomy, the four flagship indices and the curated field timeline. Every call is authenticated with a bearer key and metered in credits against the same wallet the Research Agent spends from. There is no free tier for machine traffic and no separate billing. Responses report `cost` and `credits_remaining` on every success. While `metering` reads `preview`, the cost shown is what the call will bill once metering is enabled and nothing is actually deducted; when it reads `billed`, it was.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.ModelIndexUnitEnum = exports.ModelIndexIdEnum = void 0;
|
|
17
|
+
exports.instanceOfModelIndex = instanceOfModelIndex;
|
|
18
|
+
exports.ModelIndexFromJSON = ModelIndexFromJSON;
|
|
19
|
+
exports.ModelIndexFromJSONTyped = ModelIndexFromJSONTyped;
|
|
20
|
+
exports.ModelIndexToJSON = ModelIndexToJSON;
|
|
21
|
+
exports.ModelIndexToJSONTyped = ModelIndexToJSONTyped;
|
|
22
|
+
const DaiPoint_1 = require("./DaiPoint");
|
|
23
|
+
/**
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.ModelIndexIdEnum = {
|
|
27
|
+
Dai: 'dai',
|
|
28
|
+
FreedomVelocity: 'freedom-velocity',
|
|
29
|
+
Weaponization: 'weaponization',
|
|
30
|
+
F2wLatency: 'f2w-latency',
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* @export
|
|
34
|
+
*/
|
|
35
|
+
exports.ModelIndexUnitEnum = {
|
|
36
|
+
Percent: 'percent',
|
|
37
|
+
Days: 'days',
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
* Check if a given object implements the ModelIndex interface.
|
|
41
|
+
*/
|
|
42
|
+
function instanceOfModelIndex(value) {
|
|
43
|
+
return true;
|
|
44
|
+
}
|
|
45
|
+
function ModelIndexFromJSON(json) {
|
|
46
|
+
return ModelIndexFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function ModelIndexFromJSONTyped(json, ignoreDiscriminator) {
|
|
49
|
+
if (json == null) {
|
|
50
|
+
return json;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
54
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
55
|
+
'value': json['value'] === undefined ? undefined : json['value'] === null ? null : json['value'],
|
|
56
|
+
'unit': json['unit'] == null ? undefined : json['unit'],
|
|
57
|
+
'measured': json['measured'] == null ? undefined : json['measured'],
|
|
58
|
+
'source': json['source'] == null ? undefined : json['source'],
|
|
59
|
+
'history_available': json['history_available'] == null ? undefined : json['history_available'],
|
|
60
|
+
'as_of': json['as_of'] === undefined ? undefined : json['as_of'] === null ? null : json['as_of'],
|
|
61
|
+
'note': json['note'] === undefined ? undefined : json['note'] === null ? null : json['note'],
|
|
62
|
+
'recent_history': json['recent_history'] == null ? undefined : (json['recent_history'].map(DaiPoint_1.DaiPointFromJSON)),
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
function ModelIndexToJSON(json) {
|
|
66
|
+
return ModelIndexToJSONTyped(json, false);
|
|
67
|
+
}
|
|
68
|
+
function ModelIndexToJSONTyped(value, ignoreDiscriminator = false) {
|
|
69
|
+
if (value == null) {
|
|
70
|
+
return value;
|
|
71
|
+
}
|
|
72
|
+
return {
|
|
73
|
+
'id': value['id'],
|
|
74
|
+
'name': value['name'],
|
|
75
|
+
'value': value['value'],
|
|
76
|
+
'unit': value['unit'],
|
|
77
|
+
'measured': value['measured'],
|
|
78
|
+
'source': value['source'],
|
|
79
|
+
'history_available': value['history_available'],
|
|
80
|
+
'as_of': value['as_of'],
|
|
81
|
+
'note': value['note'],
|
|
82
|
+
'recent_history': value['recent_history'] == null ? undefined : (value['recent_history'].map(DaiPoint_1.DaiPointToJSON)),
|
|
83
|
+
};
|
|
84
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* abliteration.org Public API
|
|
3
|
+
* Read access to the abliteration.org catalog: models and their method classification, alignment datasets and their passports, the M-code taxonomy, the four flagship indices and the curated field timeline. Every call is authenticated with a bearer key and metered in credits against the same wallet the Research Agent spends from. There is no free tier for machine traffic and no separate billing. Responses report `cost` and `credits_remaining` on every success. While `metering` reads `preview`, the cost shown is what the call will bill once metering is enabled and nothing is actually deducted; when it reads `billed`, it was.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ModelSummary
|
|
16
|
+
*/
|
|
17
|
+
export interface ModelSummary {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
id?: string;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
author?: string;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
name?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
*/
|
|
33
|
+
method?: string | null;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
*/
|
|
37
|
+
confidence?: string | null;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
*/
|
|
41
|
+
family?: string | null;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
*/
|
|
45
|
+
params_b?: number | null;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
*/
|
|
49
|
+
license?: string | null;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
*/
|
|
53
|
+
downloads?: number | null;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
*/
|
|
57
|
+
likes?: number | null;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
*/
|
|
61
|
+
is_gguf?: number | null;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
*/
|
|
65
|
+
created_at?: string | null;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
*/
|
|
69
|
+
first_seen_at?: string | null;
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Check if a given object implements the ModelSummary interface.
|
|
73
|
+
*/
|
|
74
|
+
export declare function instanceOfModelSummary(value: object): value is ModelSummary;
|
|
75
|
+
export declare function ModelSummaryFromJSON(json: any): ModelSummary;
|
|
76
|
+
export declare function ModelSummaryFromJSONTyped(json: any, ignoreDiscriminator: boolean): ModelSummary;
|
|
77
|
+
export declare function ModelSummaryToJSON(json: any): ModelSummary;
|
|
78
|
+
export declare function ModelSummaryToJSONTyped(value?: ModelSummary | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* abliteration.org Public API
|
|
6
|
+
* Read access to the abliteration.org catalog: models and their method classification, alignment datasets and their passports, the M-code taxonomy, the four flagship indices and the curated field timeline. Every call is authenticated with a bearer key and metered in credits against the same wallet the Research Agent spends from. There is no free tier for machine traffic and no separate billing. Responses report `cost` and `credits_remaining` on every success. While `metering` reads `preview`, the cost shown is what the call will bill once metering is enabled and nothing is actually deducted; when it reads `billed`, it was.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfModelSummary = instanceOfModelSummary;
|
|
17
|
+
exports.ModelSummaryFromJSON = ModelSummaryFromJSON;
|
|
18
|
+
exports.ModelSummaryFromJSONTyped = ModelSummaryFromJSONTyped;
|
|
19
|
+
exports.ModelSummaryToJSON = ModelSummaryToJSON;
|
|
20
|
+
exports.ModelSummaryToJSONTyped = ModelSummaryToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ModelSummary interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfModelSummary(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function ModelSummaryFromJSON(json) {
|
|
28
|
+
return ModelSummaryFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function ModelSummaryFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
36
|
+
'author': json['author'] == null ? undefined : json['author'],
|
|
37
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
38
|
+
'method': json['method'] === undefined ? undefined : json['method'] === null ? null : json['method'],
|
|
39
|
+
'confidence': json['confidence'] === undefined ? undefined : json['confidence'] === null ? null : json['confidence'],
|
|
40
|
+
'family': json['family'] === undefined ? undefined : json['family'] === null ? null : json['family'],
|
|
41
|
+
'params_b': json['params_b'] === undefined ? undefined : json['params_b'] === null ? null : json['params_b'],
|
|
42
|
+
'license': json['license'] === undefined ? undefined : json['license'] === null ? null : json['license'],
|
|
43
|
+
'downloads': json['downloads'] === undefined ? undefined : json['downloads'] === null ? null : json['downloads'],
|
|
44
|
+
'likes': json['likes'] === undefined ? undefined : json['likes'] === null ? null : json['likes'],
|
|
45
|
+
'is_gguf': json['is_gguf'] === undefined ? undefined : json['is_gguf'] === null ? null : json['is_gguf'],
|
|
46
|
+
'created_at': json['created_at'] === undefined ? undefined : json['created_at'] === null ? null : json['created_at'],
|
|
47
|
+
'first_seen_at': json['first_seen_at'] === undefined ? undefined : json['first_seen_at'] === null ? null : json['first_seen_at'],
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
function ModelSummaryToJSON(json) {
|
|
51
|
+
return ModelSummaryToJSONTyped(json, false);
|
|
52
|
+
}
|
|
53
|
+
function ModelSummaryToJSONTyped(value, ignoreDiscriminator = false) {
|
|
54
|
+
if (value == null) {
|
|
55
|
+
return value;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
'id': value['id'],
|
|
59
|
+
'author': value['author'],
|
|
60
|
+
'name': value['name'],
|
|
61
|
+
'method': value['method'],
|
|
62
|
+
'confidence': value['confidence'],
|
|
63
|
+
'family': value['family'],
|
|
64
|
+
'params_b': value['params_b'],
|
|
65
|
+
'license': value['license'],
|
|
66
|
+
'downloads': value['downloads'],
|
|
67
|
+
'likes': value['likes'],
|
|
68
|
+
'is_gguf': value['is_gguf'],
|
|
69
|
+
'created_at': value['created_at'],
|
|
70
|
+
'first_seen_at': value['first_seen_at'],
|
|
71
|
+
};
|
|
72
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* abliteration.org Public API
|
|
3
|
+
* Read access to the abliteration.org catalog: models and their method classification, alignment datasets and their passports, the M-code taxonomy, the four flagship indices and the curated field timeline. Every call is authenticated with a bearer key and metered in credits against the same wallet the Research Agent spends from. There is no free tier for machine traffic and no separate billing. Responses report `cost` and `credits_remaining` on every success. While `metering` reads `preview`, the cost shown is what the call will bill once metering is enabled and nothing is actually deducted; when it reads `billed`, it was.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface Passport
|
|
16
|
+
*/
|
|
17
|
+
export interface Passport {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
one_liner?: string;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
practitioner?: string;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
research?: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the Passport interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfPassport(value: object): value is Passport;
|
|
35
|
+
export declare function PassportFromJSON(json: any): Passport;
|
|
36
|
+
export declare function PassportFromJSONTyped(json: any, ignoreDiscriminator: boolean): Passport;
|
|
37
|
+
export declare function PassportToJSON(json: any): Passport;
|
|
38
|
+
export declare function PassportToJSONTyped(value?: Passport | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* abliteration.org Public API
|
|
6
|
+
* Read access to the abliteration.org catalog: models and their method classification, alignment datasets and their passports, the M-code taxonomy, the four flagship indices and the curated field timeline. Every call is authenticated with a bearer key and metered in credits against the same wallet the Research Agent spends from. There is no free tier for machine traffic and no separate billing. Responses report `cost` and `credits_remaining` on every success. While `metering` reads `preview`, the cost shown is what the call will bill once metering is enabled and nothing is actually deducted; when it reads `billed`, it was.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfPassport = instanceOfPassport;
|
|
17
|
+
exports.PassportFromJSON = PassportFromJSON;
|
|
18
|
+
exports.PassportFromJSONTyped = PassportFromJSONTyped;
|
|
19
|
+
exports.PassportToJSON = PassportToJSON;
|
|
20
|
+
exports.PassportToJSONTyped = PassportToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the Passport interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfPassport(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function PassportFromJSON(json) {
|
|
28
|
+
return PassportFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function PassportFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'one_liner': json['one_liner'] == null ? undefined : json['one_liner'],
|
|
36
|
+
'practitioner': json['practitioner'] == null ? undefined : json['practitioner'],
|
|
37
|
+
'research': json['research'] == null ? undefined : json['research'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function PassportToJSON(json) {
|
|
41
|
+
return PassportToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function PassportToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'one_liner': value['one_liner'],
|
|
49
|
+
'practitioner': value['practitioner'],
|
|
50
|
+
'research': value['research'],
|
|
51
|
+
};
|
|
52
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export * from './Author';
|
|
2
|
+
export * from './AuthorDetail';
|
|
3
|
+
export * from './DaiPoint';
|
|
4
|
+
export * from './Dataset';
|
|
5
|
+
export * from './DatasetDetail';
|
|
6
|
+
export * from './Envelope';
|
|
7
|
+
export * from './Event';
|
|
8
|
+
export * from './GetAuthor200Response';
|
|
9
|
+
export * from './GetDataset200Response';
|
|
10
|
+
export * from './GetIndex200Response';
|
|
11
|
+
export * from './GetMethod200Response';
|
|
12
|
+
export * from './GetModel200Response';
|
|
13
|
+
export * from './IndexDetail';
|
|
14
|
+
export * from './ListAuthors200Response';
|
|
15
|
+
export * from './ListDatasets200Response';
|
|
16
|
+
export * from './ListIndices200Response';
|
|
17
|
+
export * from './ListMethods200Response';
|
|
18
|
+
export * from './ListModels200Response';
|
|
19
|
+
export * from './ListTimeline200Response';
|
|
20
|
+
export * from './Method';
|
|
21
|
+
export * from './MethodDetail';
|
|
22
|
+
export * from './MethodDetailAllOfTopAuthors';
|
|
23
|
+
export * from './ModelDetail';
|
|
24
|
+
export * from './ModelError';
|
|
25
|
+
export * from './ModelIndex';
|
|
26
|
+
export * from './ModelSummary';
|
|
27
|
+
export * from './Passport';
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
/* tslint:disable */
|
|
18
|
+
/* eslint-disable */
|
|
19
|
+
__exportStar(require("./Author"), exports);
|
|
20
|
+
__exportStar(require("./AuthorDetail"), exports);
|
|
21
|
+
__exportStar(require("./DaiPoint"), exports);
|
|
22
|
+
__exportStar(require("./Dataset"), exports);
|
|
23
|
+
__exportStar(require("./DatasetDetail"), exports);
|
|
24
|
+
__exportStar(require("./Envelope"), exports);
|
|
25
|
+
__exportStar(require("./Event"), exports);
|
|
26
|
+
__exportStar(require("./GetAuthor200Response"), exports);
|
|
27
|
+
__exportStar(require("./GetDataset200Response"), exports);
|
|
28
|
+
__exportStar(require("./GetIndex200Response"), exports);
|
|
29
|
+
__exportStar(require("./GetMethod200Response"), exports);
|
|
30
|
+
__exportStar(require("./GetModel200Response"), exports);
|
|
31
|
+
__exportStar(require("./IndexDetail"), exports);
|
|
32
|
+
__exportStar(require("./ListAuthors200Response"), exports);
|
|
33
|
+
__exportStar(require("./ListDatasets200Response"), exports);
|
|
34
|
+
__exportStar(require("./ListIndices200Response"), exports);
|
|
35
|
+
__exportStar(require("./ListMethods200Response"), exports);
|
|
36
|
+
__exportStar(require("./ListModels200Response"), exports);
|
|
37
|
+
__exportStar(require("./ListTimeline200Response"), exports);
|
|
38
|
+
__exportStar(require("./Method"), exports);
|
|
39
|
+
__exportStar(require("./MethodDetail"), exports);
|
|
40
|
+
__exportStar(require("./MethodDetailAllOfTopAuthors"), exports);
|
|
41
|
+
__exportStar(require("./ModelDetail"), exports);
|
|
42
|
+
__exportStar(require("./ModelError"), exports);
|
|
43
|
+
__exportStar(require("./ModelIndex"), exports);
|
|
44
|
+
__exportStar(require("./ModelSummary"), exports);
|
|
45
|
+
__exportStar(require("./Passport"), exports);
|
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* abliteration.org Public API
|
|
3
|
+
* Read access to the abliteration.org catalog: models and their method classification, alignment datasets and their passports, the M-code taxonomy, the four flagship indices and the curated field timeline. Every call is authenticated with a bearer key and metered in credits against the same wallet the Research Agent spends from. There is no free tier for machine traffic and no separate billing. Responses report `cost` and `credits_remaining` on every success. While `metering` reads `preview`, the cost shown is what the call will bill once metering is enabled and nothing is actually deducted; when it reads `billed`, it was.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
export declare const BASE_PATH: string;
|
|
13
|
+
export interface ConfigurationParameters {
|
|
14
|
+
basePath?: string;
|
|
15
|
+
fetchApi?: FetchAPI;
|
|
16
|
+
middleware?: Middleware[];
|
|
17
|
+
queryParamsStringify?: (params: HTTPQuery) => string;
|
|
18
|
+
username?: string;
|
|
19
|
+
password?: string;
|
|
20
|
+
apiKey?: string | Promise<string> | ((name: string) => string | Promise<string>);
|
|
21
|
+
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string | Promise<string>);
|
|
22
|
+
headers?: HTTPHeaders;
|
|
23
|
+
credentials?: RequestCredentials;
|
|
24
|
+
}
|
|
25
|
+
export declare class Configuration {
|
|
26
|
+
private configuration;
|
|
27
|
+
constructor(configuration?: ConfigurationParameters);
|
|
28
|
+
set config(configuration: Configuration);
|
|
29
|
+
get basePath(): string;
|
|
30
|
+
get fetchApi(): FetchAPI | undefined;
|
|
31
|
+
get middleware(): Middleware[];
|
|
32
|
+
get queryParamsStringify(): (params: HTTPQuery) => string;
|
|
33
|
+
get username(): string | undefined;
|
|
34
|
+
get password(): string | undefined;
|
|
35
|
+
get apiKey(): ((name: string) => string | Promise<string>) | undefined;
|
|
36
|
+
get accessToken(): ((name?: string, scopes?: string[]) => string | Promise<string>) | undefined;
|
|
37
|
+
get headers(): HTTPHeaders | undefined;
|
|
38
|
+
get credentials(): RequestCredentials | undefined;
|
|
39
|
+
}
|
|
40
|
+
export declare const DefaultConfig: Configuration;
|
|
41
|
+
/**
|
|
42
|
+
* This is the base class for all generated API classes.
|
|
43
|
+
*/
|
|
44
|
+
export declare class BaseAPI {
|
|
45
|
+
protected configuration: Configuration;
|
|
46
|
+
private static readonly jsonRegex;
|
|
47
|
+
private middleware;
|
|
48
|
+
constructor(configuration?: Configuration);
|
|
49
|
+
withMiddleware<T extends BaseAPI>(this: T, ...middlewares: Middleware[]): T;
|
|
50
|
+
withPreMiddleware<T extends BaseAPI>(this: T, ...preMiddlewares: Array<Middleware['pre']>): T;
|
|
51
|
+
withPostMiddleware<T extends BaseAPI>(this: T, ...postMiddlewares: Array<Middleware['post']>): T;
|
|
52
|
+
/**
|
|
53
|
+
* Check if the given MIME is a JSON MIME.
|
|
54
|
+
* JSON MIME examples:
|
|
55
|
+
* application/json
|
|
56
|
+
* application/json; charset=UTF8
|
|
57
|
+
* APPLICATION/JSON
|
|
58
|
+
* application/vnd.company+json
|
|
59
|
+
* @param mime - MIME (Multipurpose Internet Mail Extensions)
|
|
60
|
+
* @return True if the given MIME is JSON, false otherwise.
|
|
61
|
+
*/
|
|
62
|
+
protected isJsonMime(mime: string | null | undefined): boolean;
|
|
63
|
+
protected request(context: RequestOpts, initOverrides?: RequestInit | InitOverrideFunction): Promise<Response>;
|
|
64
|
+
private createFetchParams;
|
|
65
|
+
private fetchApi;
|
|
66
|
+
/**
|
|
67
|
+
* Create a shallow clone of `this` by constructing a new instance
|
|
68
|
+
* and then shallow cloning data members.
|
|
69
|
+
*/
|
|
70
|
+
private clone;
|
|
71
|
+
}
|
|
72
|
+
export declare class ResponseError extends Error {
|
|
73
|
+
response: Response;
|
|
74
|
+
name: "ResponseError";
|
|
75
|
+
constructor(response: Response, msg?: string);
|
|
76
|
+
}
|
|
77
|
+
export declare class FetchError extends Error {
|
|
78
|
+
cause: Error;
|
|
79
|
+
name: "FetchError";
|
|
80
|
+
constructor(cause: Error, msg?: string);
|
|
81
|
+
}
|
|
82
|
+
export declare class RequiredError extends Error {
|
|
83
|
+
field: string;
|
|
84
|
+
name: "RequiredError";
|
|
85
|
+
constructor(field: string, msg?: string);
|
|
86
|
+
}
|
|
87
|
+
export declare const COLLECTION_FORMATS: {
|
|
88
|
+
csv: string;
|
|
89
|
+
ssv: string;
|
|
90
|
+
tsv: string;
|
|
91
|
+
pipes: string;
|
|
92
|
+
};
|
|
93
|
+
export type FetchAPI = WindowOrWorkerGlobalScope['fetch'];
|
|
94
|
+
export type Json = any;
|
|
95
|
+
export type HTTPMethod = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE' | 'OPTIONS' | 'HEAD';
|
|
96
|
+
export type HTTPHeaders = {
|
|
97
|
+
[key: string]: string;
|
|
98
|
+
};
|
|
99
|
+
export type HTTPQuery = {
|
|
100
|
+
[key: string]: string | number | null | boolean | Array<string | number | null | boolean> | Set<string | number | null | boolean> | HTTPQuery;
|
|
101
|
+
};
|
|
102
|
+
export type HTTPBody = Json | FormData | URLSearchParams;
|
|
103
|
+
export type HTTPRequestInit = {
|
|
104
|
+
headers?: HTTPHeaders;
|
|
105
|
+
method: HTTPMethod;
|
|
106
|
+
credentials?: RequestCredentials;
|
|
107
|
+
body?: HTTPBody;
|
|
108
|
+
};
|
|
109
|
+
export type ModelPropertyNaming = 'camelCase' | 'snake_case' | 'PascalCase' | 'original';
|
|
110
|
+
export type InitOverrideFunction = (requestContext: {
|
|
111
|
+
init: HTTPRequestInit;
|
|
112
|
+
context: RequestOpts;
|
|
113
|
+
}) => Promise<RequestInit>;
|
|
114
|
+
export interface FetchParams {
|
|
115
|
+
url: string;
|
|
116
|
+
init: RequestInit;
|
|
117
|
+
}
|
|
118
|
+
export interface RequestOpts {
|
|
119
|
+
path: string;
|
|
120
|
+
method: HTTPMethod;
|
|
121
|
+
headers: HTTPHeaders;
|
|
122
|
+
query?: HTTPQuery;
|
|
123
|
+
body?: HTTPBody;
|
|
124
|
+
}
|
|
125
|
+
export declare function querystring(params: HTTPQuery, prefix?: string): string;
|
|
126
|
+
export declare function exists(json: any, key: string): boolean;
|
|
127
|
+
/**
|
|
128
|
+
* Every generated date call site routes through these.
|
|
129
|
+
*
|
|
130
|
+
* `format: date` is a calendar date, with no time and no offset, so it is converted
|
|
131
|
+
* against the local calendar on both ends: they have to agree or the date shifts by
|
|
132
|
+
* a day. `format: date-time` is an instant and uses UTC.
|
|
133
|
+
*/
|
|
134
|
+
export declare function serializeDateTime(value: Date): string;
|
|
135
|
+
export declare function serializeDate(value: Date): string;
|
|
136
|
+
export declare function parseDate(value: Date | string): Date;
|
|
137
|
+
export declare function parseDateTime(value: any): Date;
|
|
138
|
+
export declare function mapValues(data: any, fn: (item: any) => any): {
|
|
139
|
+
[key: string]: any;
|
|
140
|
+
};
|
|
141
|
+
export declare function anyToJSON(value: any): any;
|
|
142
|
+
export declare function canConsumeForm(consumes: Consume[]): boolean;
|
|
143
|
+
export interface Consume {
|
|
144
|
+
contentType: string;
|
|
145
|
+
}
|
|
146
|
+
export interface RequestContext {
|
|
147
|
+
fetch: FetchAPI;
|
|
148
|
+
url: string;
|
|
149
|
+
init: RequestInit;
|
|
150
|
+
}
|
|
151
|
+
export interface ResponseContext {
|
|
152
|
+
fetch: FetchAPI;
|
|
153
|
+
url: string;
|
|
154
|
+
init: RequestInit;
|
|
155
|
+
response: Response;
|
|
156
|
+
}
|
|
157
|
+
export interface ErrorContext {
|
|
158
|
+
fetch: FetchAPI;
|
|
159
|
+
url: string;
|
|
160
|
+
init: RequestInit;
|
|
161
|
+
error: unknown;
|
|
162
|
+
response?: Response;
|
|
163
|
+
}
|
|
164
|
+
export interface Middleware {
|
|
165
|
+
pre?(context: RequestContext): Promise<FetchParams | void>;
|
|
166
|
+
post?(context: ResponseContext): Promise<Response | void>;
|
|
167
|
+
onError?(context: ErrorContext): Promise<Response | void>;
|
|
168
|
+
}
|
|
169
|
+
export interface ApiResponse<T> {
|
|
170
|
+
raw: Response;
|
|
171
|
+
value(): Promise<T>;
|
|
172
|
+
}
|
|
173
|
+
export interface ResponseTransformer<T> {
|
|
174
|
+
(json: any): T;
|
|
175
|
+
}
|
|
176
|
+
export declare class JSONApiResponse<T> {
|
|
177
|
+
raw: Response;
|
|
178
|
+
private transformer;
|
|
179
|
+
constructor(raw: Response, transformer?: ResponseTransformer<T>);
|
|
180
|
+
value(): Promise<T>;
|
|
181
|
+
}
|
|
182
|
+
export declare class VoidApiResponse {
|
|
183
|
+
raw: Response;
|
|
184
|
+
constructor(raw: Response);
|
|
185
|
+
value(): Promise<void>;
|
|
186
|
+
}
|
|
187
|
+
export declare class BlobApiResponse {
|
|
188
|
+
raw: Response;
|
|
189
|
+
constructor(raw: Response);
|
|
190
|
+
value(): Promise<Blob>;
|
|
191
|
+
}
|
|
192
|
+
export declare class TextApiResponse {
|
|
193
|
+
raw: Response;
|
|
194
|
+
constructor(raw: Response);
|
|
195
|
+
value(): Promise<string>;
|
|
196
|
+
}
|