@abliteration/sdk 0.1.5 → 0.1.6

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.
Files changed (50) hide show
  1. package/.openapi-generator/FILES +12 -0
  2. package/README.md +8 -0
  3. package/dist/apis/ModelsApi.d.ts +109 -0
  4. package/dist/apis/ModelsApi.js +114 -1
  5. package/dist/esm/apis/ModelsApi.d.ts +109 -0
  6. package/dist/esm/apis/ModelsApi.js +113 -0
  7. package/dist/esm/models/DeletionSummary.d.ts +52 -0
  8. package/dist/esm/models/DeletionSummary.js +53 -0
  9. package/dist/esm/models/DeletionSummaryTimelineInner.d.ts +34 -0
  10. package/dist/esm/models/DeletionSummaryTimelineInner.js +43 -0
  11. package/dist/esm/models/DeletionSummaryTopByDownloadsInner.d.ts +42 -0
  12. package/dist/esm/models/DeletionSummaryTopByDownloadsInner.js +47 -0
  13. package/dist/esm/models/GetHistoricalDeletionSummary200Response.d.ts +67 -0
  14. package/dist/esm/models/GetHistoricalDeletionSummary200Response.js +79 -0
  15. package/dist/esm/models/HistoricalDeletion.d.ts +50 -0
  16. package/dist/esm/models/HistoricalDeletion.js +51 -0
  17. package/dist/esm/models/ListHistoricalDeletions200Response.d.ts +67 -0
  18. package/dist/esm/models/ListHistoricalDeletions200Response.js +79 -0
  19. package/dist/esm/models/index.d.ts +6 -0
  20. package/dist/esm/models/index.js +6 -0
  21. package/dist/models/DeletionSummary.d.ts +52 -0
  22. package/dist/models/DeletionSummary.js +60 -0
  23. package/dist/models/DeletionSummaryTimelineInner.d.ts +34 -0
  24. package/dist/models/DeletionSummaryTimelineInner.js +50 -0
  25. package/dist/models/DeletionSummaryTopByDownloadsInner.d.ts +42 -0
  26. package/dist/models/DeletionSummaryTopByDownloadsInner.js +54 -0
  27. package/dist/models/GetHistoricalDeletionSummary200Response.d.ts +67 -0
  28. package/dist/models/GetHistoricalDeletionSummary200Response.js +87 -0
  29. package/dist/models/HistoricalDeletion.d.ts +50 -0
  30. package/dist/models/HistoricalDeletion.js +58 -0
  31. package/dist/models/ListHistoricalDeletions200Response.d.ts +67 -0
  32. package/dist/models/ListHistoricalDeletions200Response.js +87 -0
  33. package/dist/models/index.d.ts +6 -0
  34. package/dist/models/index.js +6 -0
  35. package/docs/DeletionSummary.md +45 -0
  36. package/docs/DeletionSummaryTimelineInner.md +36 -0
  37. package/docs/DeletionSummaryTopByDownloadsInner.md +40 -0
  38. package/docs/GetHistoricalDeletionSummary200Response.md +48 -0
  39. package/docs/HistoricalDeletion.md +44 -0
  40. package/docs/ListHistoricalDeletions200Response.md +48 -0
  41. package/docs/ModelsApi.md +156 -0
  42. package/package.json +1 -1
  43. package/src/apis/ModelsApi.ts +210 -0
  44. package/src/models/DeletionSummary.ts +108 -0
  45. package/src/models/DeletionSummaryTimelineInner.ts +69 -0
  46. package/src/models/DeletionSummaryTopByDownloadsInner.ts +81 -0
  47. package/src/models/GetHistoricalDeletionSummary200Response.ts +132 -0
  48. package/src/models/HistoricalDeletion.ts +93 -0
  49. package/src/models/ListHistoricalDeletions200Response.ts +132 -0
  50. package/src/models/index.ts +6 -0
@@ -0,0 +1,50 @@
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 HistoricalDeletion
16
+ */
17
+ export interface HistoricalDeletion {
18
+ /**
19
+ *
20
+ */
21
+ id?: string;
22
+ /**
23
+ * ISO YYYY-MM of the earliest snapshot the model appears in.
24
+ */
25
+ first_seen_month?: string;
26
+ /**
27
+ * ISO YYYY-MM of the final snapshot before deletion.
28
+ */
29
+ last_seen_month?: string;
30
+ /**
31
+ * Whole months between first and last observation.
32
+ */
33
+ total_months_alive?: number;
34
+ /**
35
+ * Highest downloads count observed during the model's lifetime.
36
+ */
37
+ peak_downloads?: number;
38
+ /**
39
+ * ISO-8601 timestamp the model was originally created on HF (from the frozen snapshot).
40
+ */
41
+ created_at?: string;
42
+ }
43
+ /**
44
+ * Check if a given object implements the HistoricalDeletion interface.
45
+ */
46
+ export declare function instanceOfHistoricalDeletion(value: object): value is HistoricalDeletion;
47
+ export declare function HistoricalDeletionFromJSON(json: any): HistoricalDeletion;
48
+ export declare function HistoricalDeletionFromJSONTyped(json: any, ignoreDiscriminator: boolean): HistoricalDeletion;
49
+ export declare function HistoricalDeletionToJSON(json: any): HistoricalDeletion;
50
+ export declare function HistoricalDeletionToJSONTyped(value?: HistoricalDeletion | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,58 @@
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.instanceOfHistoricalDeletion = instanceOfHistoricalDeletion;
17
+ exports.HistoricalDeletionFromJSON = HistoricalDeletionFromJSON;
18
+ exports.HistoricalDeletionFromJSONTyped = HistoricalDeletionFromJSONTyped;
19
+ exports.HistoricalDeletionToJSON = HistoricalDeletionToJSON;
20
+ exports.HistoricalDeletionToJSONTyped = HistoricalDeletionToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the HistoricalDeletion interface.
23
+ */
24
+ function instanceOfHistoricalDeletion(value) {
25
+ return true;
26
+ }
27
+ function HistoricalDeletionFromJSON(json) {
28
+ return HistoricalDeletionFromJSONTyped(json, false);
29
+ }
30
+ function HistoricalDeletionFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'id': json['id'] == null ? undefined : json['id'],
36
+ 'first_seen_month': json['first_seen_month'] == null ? undefined : json['first_seen_month'],
37
+ 'last_seen_month': json['last_seen_month'] == null ? undefined : json['last_seen_month'],
38
+ 'total_months_alive': json['total_months_alive'] == null ? undefined : json['total_months_alive'],
39
+ 'peak_downloads': json['peak_downloads'] == null ? undefined : json['peak_downloads'],
40
+ 'created_at': json['created_at'] == null ? undefined : json['created_at'],
41
+ };
42
+ }
43
+ function HistoricalDeletionToJSON(json) {
44
+ return HistoricalDeletionToJSONTyped(json, false);
45
+ }
46
+ function HistoricalDeletionToJSONTyped(value, ignoreDiscriminator = false) {
47
+ if (value == null) {
48
+ return value;
49
+ }
50
+ return {
51
+ 'id': value['id'],
52
+ 'first_seen_month': value['first_seen_month'],
53
+ 'last_seen_month': value['last_seen_month'],
54
+ 'total_months_alive': value['total_months_alive'],
55
+ 'peak_downloads': value['peak_downloads'],
56
+ 'created_at': value['created_at'],
57
+ };
58
+ }
@@ -0,0 +1,67 @@
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 { HistoricalDeletion } from './HistoricalDeletion';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ListHistoricalDeletions200Response
17
+ */
18
+ export interface ListHistoricalDeletions200Response {
19
+ /**
20
+ *
21
+ */
22
+ data: Array<HistoricalDeletion>;
23
+ /**
24
+ * Credits this call costs.
25
+ */
26
+ cost: number;
27
+ /**
28
+ * Wallet balance after the call. Unchanged while metering is preview.
29
+ */
30
+ credits_remaining: number;
31
+ /**
32
+ * Ceiling for the current window. Also returned as X-RateLimit-Limit.
33
+ */
34
+ rate_limit_limit: number;
35
+ /**
36
+ * Calls left in the current window for this key. Also returned as X-RateLimit-Remaining.
37
+ */
38
+ rate_limit_remaining: number;
39
+ /**
40
+ * Unix seconds at which the window resets to full ceiling. Also returned as X-RateLimit-Reset.
41
+ */
42
+ rate_limit_reset: number;
43
+ /**
44
+ * Whether cost was actually deducted.
45
+ */
46
+ metering: ListHistoricalDeletions200ResponseMeteringEnum;
47
+ /**
48
+ * Also returned in the x-request-id header.
49
+ */
50
+ request_id: string;
51
+ }
52
+ /**
53
+ * @export
54
+ */
55
+ export declare const ListHistoricalDeletions200ResponseMeteringEnum: {
56
+ readonly Preview: "preview";
57
+ readonly Billed: "billed";
58
+ };
59
+ export type ListHistoricalDeletions200ResponseMeteringEnum = typeof ListHistoricalDeletions200ResponseMeteringEnum[keyof typeof ListHistoricalDeletions200ResponseMeteringEnum];
60
+ /**
61
+ * Check if a given object implements the ListHistoricalDeletions200Response interface.
62
+ */
63
+ export declare function instanceOfListHistoricalDeletions200Response(value: object): value is ListHistoricalDeletions200Response;
64
+ export declare function ListHistoricalDeletions200ResponseFromJSON(json: any): ListHistoricalDeletions200Response;
65
+ export declare function ListHistoricalDeletions200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListHistoricalDeletions200Response;
66
+ export declare function ListHistoricalDeletions200ResponseToJSON(json: any): ListHistoricalDeletions200Response;
67
+ export declare function ListHistoricalDeletions200ResponseToJSONTyped(value?: ListHistoricalDeletions200Response | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,87 @@
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.ListHistoricalDeletions200ResponseMeteringEnum = void 0;
17
+ exports.instanceOfListHistoricalDeletions200Response = instanceOfListHistoricalDeletions200Response;
18
+ exports.ListHistoricalDeletions200ResponseFromJSON = ListHistoricalDeletions200ResponseFromJSON;
19
+ exports.ListHistoricalDeletions200ResponseFromJSONTyped = ListHistoricalDeletions200ResponseFromJSONTyped;
20
+ exports.ListHistoricalDeletions200ResponseToJSON = ListHistoricalDeletions200ResponseToJSON;
21
+ exports.ListHistoricalDeletions200ResponseToJSONTyped = ListHistoricalDeletions200ResponseToJSONTyped;
22
+ const HistoricalDeletion_1 = require("./HistoricalDeletion");
23
+ /**
24
+ * @export
25
+ */
26
+ exports.ListHistoricalDeletions200ResponseMeteringEnum = {
27
+ Preview: 'preview',
28
+ Billed: 'billed',
29
+ };
30
+ /**
31
+ * Check if a given object implements the ListHistoricalDeletions200Response interface.
32
+ */
33
+ function instanceOfListHistoricalDeletions200Response(value) {
34
+ if (!('data' in value) || value['data'] === undefined)
35
+ return false;
36
+ if (!('cost' in value) || value['cost'] === undefined)
37
+ return false;
38
+ if (!('credits_remaining' in value) || value['credits_remaining'] === undefined)
39
+ return false;
40
+ if (!('rate_limit_limit' in value) || value['rate_limit_limit'] === undefined)
41
+ return false;
42
+ if (!('rate_limit_remaining' in value) || value['rate_limit_remaining'] === undefined)
43
+ return false;
44
+ if (!('rate_limit_reset' in value) || value['rate_limit_reset'] === undefined)
45
+ return false;
46
+ if (!('metering' in value) || value['metering'] === undefined)
47
+ return false;
48
+ if (!('request_id' in value) || value['request_id'] === undefined)
49
+ return false;
50
+ return true;
51
+ }
52
+ function ListHistoricalDeletions200ResponseFromJSON(json) {
53
+ return ListHistoricalDeletions200ResponseFromJSONTyped(json, false);
54
+ }
55
+ function ListHistoricalDeletions200ResponseFromJSONTyped(json, ignoreDiscriminator) {
56
+ if (json == null) {
57
+ return json;
58
+ }
59
+ return {
60
+ 'data': (json['data'].map(HistoricalDeletion_1.HistoricalDeletionFromJSON)),
61
+ 'cost': json['cost'],
62
+ 'credits_remaining': json['credits_remaining'],
63
+ 'rate_limit_limit': json['rate_limit_limit'],
64
+ 'rate_limit_remaining': json['rate_limit_remaining'],
65
+ 'rate_limit_reset': json['rate_limit_reset'],
66
+ 'metering': json['metering'],
67
+ 'request_id': json['request_id'],
68
+ };
69
+ }
70
+ function ListHistoricalDeletions200ResponseToJSON(json) {
71
+ return ListHistoricalDeletions200ResponseToJSONTyped(json, false);
72
+ }
73
+ function ListHistoricalDeletions200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
74
+ if (value == null) {
75
+ return value;
76
+ }
77
+ return {
78
+ 'data': (value['data'].map(HistoricalDeletion_1.HistoricalDeletionToJSON)),
79
+ 'cost': value['cost'],
80
+ 'credits_remaining': value['credits_remaining'],
81
+ 'rate_limit_limit': value['rate_limit_limit'],
82
+ 'rate_limit_remaining': value['rate_limit_remaining'],
83
+ 'rate_limit_reset': value['rate_limit_reset'],
84
+ 'metering': value['metering'],
85
+ 'request_id': value['request_id'],
86
+ };
87
+ }
@@ -3,18 +3,24 @@ export * from './AuthorDetail';
3
3
  export * from './DaiPoint';
4
4
  export * from './Dataset';
5
5
  export * from './DatasetDetail';
6
+ export * from './DeletionSummary';
7
+ export * from './DeletionSummaryTimelineInner';
8
+ export * from './DeletionSummaryTopByDownloadsInner';
6
9
  export * from './DelistedModel';
7
10
  export * from './Envelope';
8
11
  export * from './Event';
9
12
  export * from './GetAuthor200Response';
10
13
  export * from './GetDataset200Response';
14
+ export * from './GetHistoricalDeletionSummary200Response';
11
15
  export * from './GetIndex200Response';
12
16
  export * from './GetMethod200Response';
13
17
  export * from './GetModel200Response';
18
+ export * from './HistoricalDeletion';
14
19
  export * from './IndexDetail';
15
20
  export * from './ListAuthors200Response';
16
21
  export * from './ListDatasets200Response';
17
22
  export * from './ListDelistedModels200Response';
23
+ export * from './ListHistoricalDeletions200Response';
18
24
  export * from './ListIndices200Response';
19
25
  export * from './ListMethods200Response';
20
26
  export * from './ListModels200Response';
@@ -21,18 +21,24 @@ __exportStar(require("./AuthorDetail"), exports);
21
21
  __exportStar(require("./DaiPoint"), exports);
22
22
  __exportStar(require("./Dataset"), exports);
23
23
  __exportStar(require("./DatasetDetail"), exports);
24
+ __exportStar(require("./DeletionSummary"), exports);
25
+ __exportStar(require("./DeletionSummaryTimelineInner"), exports);
26
+ __exportStar(require("./DeletionSummaryTopByDownloadsInner"), exports);
24
27
  __exportStar(require("./DelistedModel"), exports);
25
28
  __exportStar(require("./Envelope"), exports);
26
29
  __exportStar(require("./Event"), exports);
27
30
  __exportStar(require("./GetAuthor200Response"), exports);
28
31
  __exportStar(require("./GetDataset200Response"), exports);
32
+ __exportStar(require("./GetHistoricalDeletionSummary200Response"), exports);
29
33
  __exportStar(require("./GetIndex200Response"), exports);
30
34
  __exportStar(require("./GetMethod200Response"), exports);
31
35
  __exportStar(require("./GetModel200Response"), exports);
36
+ __exportStar(require("./HistoricalDeletion"), exports);
32
37
  __exportStar(require("./IndexDetail"), exports);
33
38
  __exportStar(require("./ListAuthors200Response"), exports);
34
39
  __exportStar(require("./ListDatasets200Response"), exports);
35
40
  __exportStar(require("./ListDelistedModels200Response"), exports);
41
+ __exportStar(require("./ListHistoricalDeletions200Response"), exports);
36
42
  __exportStar(require("./ListIndices200Response"), exports);
37
43
  __exportStar(require("./ListMethods200Response"), exports);
38
44
  __exportStar(require("./ListModels200Response"), exports);
@@ -0,0 +1,45 @@
1
+
2
+ # DeletionSummary
3
+
4
+ Aggregate rollup of the 24-month HF deletion analysis.
5
+
6
+ ## Properties
7
+
8
+ Name | Type
9
+ ------------ | -------------
10
+ `total_ever_seen` | number
11
+ `total_deleted` | number
12
+ `deletion_rate_pct` | number
13
+ `avg_months_alive` | number
14
+ `timeline` | [Array&lt;DeletionSummaryTimelineInner&gt;](DeletionSummaryTimelineInner.md)
15
+ `top_by_downloads` | [Array&lt;DeletionSummaryTopByDownloadsInner&gt;](DeletionSummaryTopByDownloadsInner.md)
16
+
17
+ ## Example
18
+
19
+ ```typescript
20
+ import type { DeletionSummary } from '@abliteration/sdk'
21
+
22
+ // TODO: Update the object below with actual values
23
+ const example = {
24
+ "total_ever_seen": null,
25
+ "total_deleted": null,
26
+ "deletion_rate_pct": null,
27
+ "avg_months_alive": null,
28
+ "timeline": null,
29
+ "top_by_downloads": null,
30
+ } satisfies DeletionSummary
31
+
32
+ console.log(example)
33
+
34
+ // Convert the instance to a JSON string
35
+ const exampleJSON: string = JSON.stringify(example)
36
+ console.log(exampleJSON)
37
+
38
+ // Parse the JSON string back to an object
39
+ const exampleParsed = JSON.parse(exampleJSON) as DeletionSummary
40
+ console.log(exampleParsed)
41
+ ```
42
+
43
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
44
+
45
+
@@ -0,0 +1,36 @@
1
+
2
+ # DeletionSummaryTimelineInner
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `month` | string
10
+ `count` | number
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import type { DeletionSummaryTimelineInner } from '@abliteration/sdk'
16
+
17
+ // TODO: Update the object below with actual values
18
+ const example = {
19
+ "month": null,
20
+ "count": null,
21
+ } satisfies DeletionSummaryTimelineInner
22
+
23
+ console.log(example)
24
+
25
+ // Convert the instance to a JSON string
26
+ const exampleJSON: string = JSON.stringify(example)
27
+ console.log(exampleJSON)
28
+
29
+ // Parse the JSON string back to an object
30
+ const exampleParsed = JSON.parse(exampleJSON) as DeletionSummaryTimelineInner
31
+ console.log(exampleParsed)
32
+ ```
33
+
34
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
35
+
36
+
@@ -0,0 +1,40 @@
1
+
2
+ # DeletionSummaryTopByDownloadsInner
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `id` | string
10
+ `peak_downloads` | number
11
+ `last_seen_month` | string
12
+ `months_alive` | number
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import type { DeletionSummaryTopByDownloadsInner } from '@abliteration/sdk'
18
+
19
+ // TODO: Update the object below with actual values
20
+ const example = {
21
+ "id": null,
22
+ "peak_downloads": null,
23
+ "last_seen_month": null,
24
+ "months_alive": null,
25
+ } satisfies DeletionSummaryTopByDownloadsInner
26
+
27
+ console.log(example)
28
+
29
+ // Convert the instance to a JSON string
30
+ const exampleJSON: string = JSON.stringify(example)
31
+ console.log(exampleJSON)
32
+
33
+ // Parse the JSON string back to an object
34
+ const exampleParsed = JSON.parse(exampleJSON) as DeletionSummaryTopByDownloadsInner
35
+ console.log(exampleParsed)
36
+ ```
37
+
38
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
39
+
40
+
@@ -0,0 +1,48 @@
1
+
2
+ # GetHistoricalDeletionSummary200Response
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `data` | [DeletionSummary](DeletionSummary.md)
10
+ `cost` | number
11
+ `credits_remaining` | number
12
+ `rate_limit_limit` | number
13
+ `rate_limit_remaining` | number
14
+ `rate_limit_reset` | number
15
+ `metering` | string
16
+ `request_id` | string
17
+
18
+ ## Example
19
+
20
+ ```typescript
21
+ import type { GetHistoricalDeletionSummary200Response } from '@abliteration/sdk'
22
+
23
+ // TODO: Update the object below with actual values
24
+ const example = {
25
+ "data": null,
26
+ "cost": null,
27
+ "credits_remaining": null,
28
+ "rate_limit_limit": null,
29
+ "rate_limit_remaining": null,
30
+ "rate_limit_reset": null,
31
+ "metering": null,
32
+ "request_id": null,
33
+ } satisfies GetHistoricalDeletionSummary200Response
34
+
35
+ console.log(example)
36
+
37
+ // Convert the instance to a JSON string
38
+ const exampleJSON: string = JSON.stringify(example)
39
+ console.log(exampleJSON)
40
+
41
+ // Parse the JSON string back to an object
42
+ const exampleParsed = JSON.parse(exampleJSON) as GetHistoricalDeletionSummary200Response
43
+ console.log(exampleParsed)
44
+ ```
45
+
46
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
47
+
48
+
@@ -0,0 +1,44 @@
1
+
2
+ # HistoricalDeletion
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `id` | string
10
+ `first_seen_month` | string
11
+ `last_seen_month` | string
12
+ `total_months_alive` | number
13
+ `peak_downloads` | number
14
+ `created_at` | string
15
+
16
+ ## Example
17
+
18
+ ```typescript
19
+ import type { HistoricalDeletion } from '@abliteration/sdk'
20
+
21
+ // TODO: Update the object below with actual values
22
+ const example = {
23
+ "id": null,
24
+ "first_seen_month": null,
25
+ "last_seen_month": null,
26
+ "total_months_alive": null,
27
+ "peak_downloads": null,
28
+ "created_at": null,
29
+ } satisfies HistoricalDeletion
30
+
31
+ console.log(example)
32
+
33
+ // Convert the instance to a JSON string
34
+ const exampleJSON: string = JSON.stringify(example)
35
+ console.log(exampleJSON)
36
+
37
+ // Parse the JSON string back to an object
38
+ const exampleParsed = JSON.parse(exampleJSON) as HistoricalDeletion
39
+ console.log(exampleParsed)
40
+ ```
41
+
42
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
43
+
44
+
@@ -0,0 +1,48 @@
1
+
2
+ # ListHistoricalDeletions200Response
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `data` | [Array&lt;HistoricalDeletion&gt;](HistoricalDeletion.md)
10
+ `cost` | number
11
+ `credits_remaining` | number
12
+ `rate_limit_limit` | number
13
+ `rate_limit_remaining` | number
14
+ `rate_limit_reset` | number
15
+ `metering` | string
16
+ `request_id` | string
17
+
18
+ ## Example
19
+
20
+ ```typescript
21
+ import type { ListHistoricalDeletions200Response } from '@abliteration/sdk'
22
+
23
+ // TODO: Update the object below with actual values
24
+ const example = {
25
+ "data": null,
26
+ "cost": null,
27
+ "credits_remaining": null,
28
+ "rate_limit_limit": null,
29
+ "rate_limit_remaining": null,
30
+ "rate_limit_reset": null,
31
+ "metering": null,
32
+ "request_id": null,
33
+ } satisfies ListHistoricalDeletions200Response
34
+
35
+ console.log(example)
36
+
37
+ // Convert the instance to a JSON string
38
+ const exampleJSON: string = JSON.stringify(example)
39
+ console.log(exampleJSON)
40
+
41
+ // Parse the JSON string back to an object
42
+ const exampleParsed = JSON.parse(exampleJSON) as ListHistoricalDeletions200Response
43
+ console.log(exampleParsed)
44
+ ```
45
+
46
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
47
+
48
+