@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,56 @@
|
|
|
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.instanceOfAuthor = instanceOfAuthor;
|
|
17
|
+
exports.AuthorFromJSON = AuthorFromJSON;
|
|
18
|
+
exports.AuthorFromJSONTyped = AuthorFromJSONTyped;
|
|
19
|
+
exports.AuthorToJSON = AuthorToJSON;
|
|
20
|
+
exports.AuthorToJSONTyped = AuthorToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the Author interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfAuthor(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function AuthorFromJSON(json) {
|
|
28
|
+
return AuthorFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function AuthorFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'author': json['author'] == null ? undefined : json['author'],
|
|
36
|
+
'total_models': json['total_models'] == null ? undefined : json['total_models'],
|
|
37
|
+
'total_downloads': json['total_downloads'] == null ? undefined : json['total_downloads'],
|
|
38
|
+
'total_likes': json['total_likes'] == null ? undefined : json['total_likes'],
|
|
39
|
+
'first_seen_at': json['first_seen_at'] === undefined ? undefined : json['first_seen_at'] === null ? null : json['first_seen_at'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
function AuthorToJSON(json) {
|
|
43
|
+
return AuthorToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function AuthorToJSONTyped(value, ignoreDiscriminator = false) {
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'author': value['author'],
|
|
51
|
+
'total_models': value['total_models'],
|
|
52
|
+
'total_downloads': value['total_downloads'],
|
|
53
|
+
'total_likes': value['total_likes'],
|
|
54
|
+
'first_seen_at': value['first_seen_at'],
|
|
55
|
+
};
|
|
56
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
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 { ModelSummary } from './ModelSummary';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface AuthorDetail
|
|
17
|
+
*/
|
|
18
|
+
export interface AuthorDetail {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
author?: string;
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
total_models?: number;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
total_downloads?: number;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
*/
|
|
34
|
+
total_likes?: number;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
*/
|
|
38
|
+
first_seen_at?: string;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
*/
|
|
42
|
+
models?: Array<ModelSummary>;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the AuthorDetail interface.
|
|
46
|
+
*/
|
|
47
|
+
export declare function instanceOfAuthorDetail(value: object): value is AuthorDetail;
|
|
48
|
+
export declare function AuthorDetailFromJSON(json: any): AuthorDetail;
|
|
49
|
+
export declare function AuthorDetailFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuthorDetail;
|
|
50
|
+
export declare function AuthorDetailToJSON(json: any): AuthorDetail;
|
|
51
|
+
export declare function AuthorDetailToJSONTyped(value?: AuthorDetail | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,59 @@
|
|
|
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.instanceOfAuthorDetail = instanceOfAuthorDetail;
|
|
17
|
+
exports.AuthorDetailFromJSON = AuthorDetailFromJSON;
|
|
18
|
+
exports.AuthorDetailFromJSONTyped = AuthorDetailFromJSONTyped;
|
|
19
|
+
exports.AuthorDetailToJSON = AuthorDetailToJSON;
|
|
20
|
+
exports.AuthorDetailToJSONTyped = AuthorDetailToJSONTyped;
|
|
21
|
+
const ModelSummary_1 = require("./ModelSummary");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the AuthorDetail interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfAuthorDetail(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function AuthorDetailFromJSON(json) {
|
|
29
|
+
return AuthorDetailFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function AuthorDetailFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'author': json['author'] == null ? undefined : json['author'],
|
|
37
|
+
'total_models': json['total_models'] == null ? undefined : json['total_models'],
|
|
38
|
+
'total_downloads': json['total_downloads'] == null ? undefined : json['total_downloads'],
|
|
39
|
+
'total_likes': json['total_likes'] == null ? undefined : json['total_likes'],
|
|
40
|
+
'first_seen_at': json['first_seen_at'] == null ? undefined : json['first_seen_at'],
|
|
41
|
+
'models': json['models'] == null ? undefined : (json['models'].map(ModelSummary_1.ModelSummaryFromJSON)),
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
function AuthorDetailToJSON(json) {
|
|
45
|
+
return AuthorDetailToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function AuthorDetailToJSONTyped(value, ignoreDiscriminator = false) {
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'author': value['author'],
|
|
53
|
+
'total_models': value['total_models'],
|
|
54
|
+
'total_downloads': value['total_downloads'],
|
|
55
|
+
'total_likes': value['total_likes'],
|
|
56
|
+
'first_seen_at': value['first_seen_at'],
|
|
57
|
+
'models': value['models'] == null ? undefined : (value['models'].map(ModelSummary_1.ModelSummaryToJSON)),
|
|
58
|
+
};
|
|
59
|
+
}
|
|
@@ -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 DaiPoint
|
|
16
|
+
*/
|
|
17
|
+
export interface DaiPoint {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
month?: string;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
weighted_dai_pct?: number;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
bases_included?: number;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the DaiPoint interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfDaiPoint(value: object): value is DaiPoint;
|
|
35
|
+
export declare function DaiPointFromJSON(json: any): DaiPoint;
|
|
36
|
+
export declare function DaiPointFromJSONTyped(json: any, ignoreDiscriminator: boolean): DaiPoint;
|
|
37
|
+
export declare function DaiPointToJSON(json: any): DaiPoint;
|
|
38
|
+
export declare function DaiPointToJSONTyped(value?: DaiPoint | 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.instanceOfDaiPoint = instanceOfDaiPoint;
|
|
17
|
+
exports.DaiPointFromJSON = DaiPointFromJSON;
|
|
18
|
+
exports.DaiPointFromJSONTyped = DaiPointFromJSONTyped;
|
|
19
|
+
exports.DaiPointToJSON = DaiPointToJSON;
|
|
20
|
+
exports.DaiPointToJSONTyped = DaiPointToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the DaiPoint interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfDaiPoint(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function DaiPointFromJSON(json) {
|
|
28
|
+
return DaiPointFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function DaiPointFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'month': json['month'] == null ? undefined : json['month'],
|
|
36
|
+
'weighted_dai_pct': json['weighted_dai_pct'] == null ? undefined : json['weighted_dai_pct'],
|
|
37
|
+
'bases_included': json['bases_included'] == null ? undefined : json['bases_included'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function DaiPointToJSON(json) {
|
|
41
|
+
return DaiPointToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function DaiPointToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'month': value['month'],
|
|
49
|
+
'weighted_dai_pct': value['weighted_dai_pct'],
|
|
50
|
+
'bases_included': value['bases_included'],
|
|
51
|
+
};
|
|
52
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
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 Dataset
|
|
16
|
+
*/
|
|
17
|
+
export interface Dataset {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
id?: string;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
author?: string | null;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
slug?: string | null;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
*/
|
|
33
|
+
category?: string | null;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
*/
|
|
37
|
+
license?: string | null;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
*/
|
|
41
|
+
downloads?: number | null;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
*/
|
|
45
|
+
downloads_all?: number | null;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
*/
|
|
49
|
+
likes?: number | null;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
*/
|
|
53
|
+
gated?: number | null;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
*/
|
|
57
|
+
created_at?: string | null;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
*/
|
|
61
|
+
first_seen_at?: string | null;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Check if a given object implements the Dataset interface.
|
|
65
|
+
*/
|
|
66
|
+
export declare function instanceOfDataset(value: object): value is Dataset;
|
|
67
|
+
export declare function DatasetFromJSON(json: any): Dataset;
|
|
68
|
+
export declare function DatasetFromJSONTyped(json: any, ignoreDiscriminator: boolean): Dataset;
|
|
69
|
+
export declare function DatasetToJSON(json: any): Dataset;
|
|
70
|
+
export declare function DatasetToJSONTyped(value?: Dataset | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,68 @@
|
|
|
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.instanceOfDataset = instanceOfDataset;
|
|
17
|
+
exports.DatasetFromJSON = DatasetFromJSON;
|
|
18
|
+
exports.DatasetFromJSONTyped = DatasetFromJSONTyped;
|
|
19
|
+
exports.DatasetToJSON = DatasetToJSON;
|
|
20
|
+
exports.DatasetToJSONTyped = DatasetToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the Dataset interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfDataset(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function DatasetFromJSON(json) {
|
|
28
|
+
return DatasetFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function DatasetFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
36
|
+
'author': json['author'] === undefined ? undefined : json['author'] === null ? null : json['author'],
|
|
37
|
+
'slug': json['slug'] === undefined ? undefined : json['slug'] === null ? null : json['slug'],
|
|
38
|
+
'category': json['category'] === undefined ? undefined : json['category'] === null ? null : json['category'],
|
|
39
|
+
'license': json['license'] === undefined ? undefined : json['license'] === null ? null : json['license'],
|
|
40
|
+
'downloads': json['downloads'] === undefined ? undefined : json['downloads'] === null ? null : json['downloads'],
|
|
41
|
+
'downloads_all': json['downloads_all'] === undefined ? undefined : json['downloads_all'] === null ? null : json['downloads_all'],
|
|
42
|
+
'likes': json['likes'] === undefined ? undefined : json['likes'] === null ? null : json['likes'],
|
|
43
|
+
'gated': json['gated'] === undefined ? undefined : json['gated'] === null ? null : json['gated'],
|
|
44
|
+
'created_at': json['created_at'] === undefined ? undefined : json['created_at'] === null ? null : json['created_at'],
|
|
45
|
+
'first_seen_at': json['first_seen_at'] === undefined ? undefined : json['first_seen_at'] === null ? null : json['first_seen_at'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
function DatasetToJSON(json) {
|
|
49
|
+
return DatasetToJSONTyped(json, false);
|
|
50
|
+
}
|
|
51
|
+
function DatasetToJSONTyped(value, ignoreDiscriminator = false) {
|
|
52
|
+
if (value == null) {
|
|
53
|
+
return value;
|
|
54
|
+
}
|
|
55
|
+
return {
|
|
56
|
+
'id': value['id'],
|
|
57
|
+
'author': value['author'],
|
|
58
|
+
'slug': value['slug'],
|
|
59
|
+
'category': value['category'],
|
|
60
|
+
'license': value['license'],
|
|
61
|
+
'downloads': value['downloads'],
|
|
62
|
+
'downloads_all': value['downloads_all'],
|
|
63
|
+
'likes': value['likes'],
|
|
64
|
+
'gated': value['gated'],
|
|
65
|
+
'created_at': value['created_at'],
|
|
66
|
+
'first_seen_at': value['first_seen_at'],
|
|
67
|
+
};
|
|
68
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
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 { Passport } from './Passport';
|
|
13
|
+
/**
|
|
14
|
+
* The full dataset record, plus files and the passport when one exists.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface DatasetDetail
|
|
17
|
+
*/
|
|
18
|
+
export interface DatasetDetail {
|
|
19
|
+
[key: string]: any | any;
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
id?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
files?: Array<object>;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
*/
|
|
31
|
+
passport?: Passport | null;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the DatasetDetail interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfDatasetDetail(value: object): value is DatasetDetail;
|
|
37
|
+
export declare function DatasetDetailFromJSON(json: any): DatasetDetail;
|
|
38
|
+
export declare function DatasetDetailFromJSONTyped(json: any, ignoreDiscriminator: boolean): DatasetDetail;
|
|
39
|
+
export declare function DatasetDetailToJSON(json: any): DatasetDetail;
|
|
40
|
+
export declare function DatasetDetailToJSONTyped(value?: DatasetDetail | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,45 @@
|
|
|
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.instanceOfDatasetDetail = instanceOfDatasetDetail;
|
|
17
|
+
exports.DatasetDetailFromJSON = DatasetDetailFromJSON;
|
|
18
|
+
exports.DatasetDetailFromJSONTyped = DatasetDetailFromJSONTyped;
|
|
19
|
+
exports.DatasetDetailToJSON = DatasetDetailToJSON;
|
|
20
|
+
exports.DatasetDetailToJSONTyped = DatasetDetailToJSONTyped;
|
|
21
|
+
const Passport_1 = require("./Passport");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the DatasetDetail interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfDatasetDetail(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function DatasetDetailFromJSON(json) {
|
|
29
|
+
return DatasetDetailFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function DatasetDetailFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return Object.assign(Object.assign({}, json), { 'id': json['id'] == null ? undefined : json['id'], 'files': json['files'] == null ? undefined : json['files'], 'passport': json['passport'] === undefined ? undefined : json['passport'] === null ? null : (0, Passport_1.PassportFromJSON)(json['passport']) });
|
|
36
|
+
}
|
|
37
|
+
function DatasetDetailToJSON(json) {
|
|
38
|
+
return DatasetDetailToJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
function DatasetDetailToJSONTyped(value, ignoreDiscriminator = false) {
|
|
41
|
+
if (value == null) {
|
|
42
|
+
return value;
|
|
43
|
+
}
|
|
44
|
+
return Object.assign(Object.assign({}, value), { 'id': value['id'], 'files': value['files'], 'passport': (0, Passport_1.PassportToJSON)(value['passport']) });
|
|
45
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
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 Envelope
|
|
16
|
+
*/
|
|
17
|
+
export interface Envelope {
|
|
18
|
+
/**
|
|
19
|
+
* The payload. An array on list routes, an object on single-entity routes.
|
|
20
|
+
*/
|
|
21
|
+
data: any | null;
|
|
22
|
+
/**
|
|
23
|
+
* Credits this call costs.
|
|
24
|
+
*/
|
|
25
|
+
cost: number;
|
|
26
|
+
/**
|
|
27
|
+
* Wallet balance after the call. Unchanged while metering is preview.
|
|
28
|
+
*/
|
|
29
|
+
credits_remaining: number;
|
|
30
|
+
/**
|
|
31
|
+
* Ceiling for the current window. Also returned as X-RateLimit-Limit.
|
|
32
|
+
*/
|
|
33
|
+
rate_limit_limit: number;
|
|
34
|
+
/**
|
|
35
|
+
* Calls left in the current window for this key. Also returned as X-RateLimit-Remaining.
|
|
36
|
+
*/
|
|
37
|
+
rate_limit_remaining: number;
|
|
38
|
+
/**
|
|
39
|
+
* Unix seconds at which the window resets to full ceiling. Also returned as X-RateLimit-Reset.
|
|
40
|
+
*/
|
|
41
|
+
rate_limit_reset: number;
|
|
42
|
+
/**
|
|
43
|
+
* Whether cost was actually deducted.
|
|
44
|
+
*/
|
|
45
|
+
metering: EnvelopeMeteringEnum;
|
|
46
|
+
/**
|
|
47
|
+
* Also returned in the x-request-id header.
|
|
48
|
+
*/
|
|
49
|
+
request_id: string;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* @export
|
|
53
|
+
*/
|
|
54
|
+
export declare const EnvelopeMeteringEnum: {
|
|
55
|
+
readonly Preview: "preview";
|
|
56
|
+
readonly Billed: "billed";
|
|
57
|
+
};
|
|
58
|
+
export type EnvelopeMeteringEnum = typeof EnvelopeMeteringEnum[keyof typeof EnvelopeMeteringEnum];
|
|
59
|
+
/**
|
|
60
|
+
* Check if a given object implements the Envelope interface.
|
|
61
|
+
*/
|
|
62
|
+
export declare function instanceOfEnvelope(value: object): value is Envelope;
|
|
63
|
+
export declare function EnvelopeFromJSON(json: any): Envelope;
|
|
64
|
+
export declare function EnvelopeFromJSONTyped(json: any, ignoreDiscriminator: boolean): Envelope;
|
|
65
|
+
export declare function EnvelopeToJSON(json: any): Envelope;
|
|
66
|
+
export declare function EnvelopeToJSONTyped(value?: Envelope | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,86 @@
|
|
|
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.EnvelopeMeteringEnum = void 0;
|
|
17
|
+
exports.instanceOfEnvelope = instanceOfEnvelope;
|
|
18
|
+
exports.EnvelopeFromJSON = EnvelopeFromJSON;
|
|
19
|
+
exports.EnvelopeFromJSONTyped = EnvelopeFromJSONTyped;
|
|
20
|
+
exports.EnvelopeToJSON = EnvelopeToJSON;
|
|
21
|
+
exports.EnvelopeToJSONTyped = EnvelopeToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.EnvelopeMeteringEnum = {
|
|
26
|
+
Preview: 'preview',
|
|
27
|
+
Billed: 'billed',
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Check if a given object implements the Envelope interface.
|
|
31
|
+
*/
|
|
32
|
+
function instanceOfEnvelope(value) {
|
|
33
|
+
if (!('data' in value) || value['data'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('cost' in value) || value['cost'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('credits_remaining' in value) || value['credits_remaining'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
if (!('rate_limit_limit' in value) || value['rate_limit_limit'] === undefined)
|
|
40
|
+
return false;
|
|
41
|
+
if (!('rate_limit_remaining' in value) || value['rate_limit_remaining'] === undefined)
|
|
42
|
+
return false;
|
|
43
|
+
if (!('rate_limit_reset' in value) || value['rate_limit_reset'] === undefined)
|
|
44
|
+
return false;
|
|
45
|
+
if (!('metering' in value) || value['metering'] === undefined)
|
|
46
|
+
return false;
|
|
47
|
+
if (!('request_id' in value) || value['request_id'] === undefined)
|
|
48
|
+
return false;
|
|
49
|
+
return true;
|
|
50
|
+
}
|
|
51
|
+
function EnvelopeFromJSON(json) {
|
|
52
|
+
return EnvelopeFromJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
function EnvelopeFromJSONTyped(json, ignoreDiscriminator) {
|
|
55
|
+
if (json == null) {
|
|
56
|
+
return json;
|
|
57
|
+
}
|
|
58
|
+
return {
|
|
59
|
+
'data': json['data'],
|
|
60
|
+
'cost': json['cost'],
|
|
61
|
+
'credits_remaining': json['credits_remaining'],
|
|
62
|
+
'rate_limit_limit': json['rate_limit_limit'],
|
|
63
|
+
'rate_limit_remaining': json['rate_limit_remaining'],
|
|
64
|
+
'rate_limit_reset': json['rate_limit_reset'],
|
|
65
|
+
'metering': json['metering'],
|
|
66
|
+
'request_id': json['request_id'],
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
function EnvelopeToJSON(json) {
|
|
70
|
+
return EnvelopeToJSONTyped(json, false);
|
|
71
|
+
}
|
|
72
|
+
function EnvelopeToJSONTyped(value, ignoreDiscriminator = false) {
|
|
73
|
+
if (value == null) {
|
|
74
|
+
return value;
|
|
75
|
+
}
|
|
76
|
+
return {
|
|
77
|
+
'data': value['data'],
|
|
78
|
+
'cost': value['cost'],
|
|
79
|
+
'credits_remaining': value['credits_remaining'],
|
|
80
|
+
'rate_limit_limit': value['rate_limit_limit'],
|
|
81
|
+
'rate_limit_remaining': value['rate_limit_remaining'],
|
|
82
|
+
'rate_limit_reset': value['rate_limit_reset'],
|
|
83
|
+
'metering': value['metering'],
|
|
84
|
+
'request_id': value['request_id'],
|
|
85
|
+
};
|
|
86
|
+
}
|