@abliteration/sdk 0.1.0 → 0.1.1
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/.openapi-generator/FILES +76 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +23 -0
- package/README.md +140 -49
- package/dist/apis/AuthorsApi.d.ts +11 -3
- package/dist/apis/AuthorsApi.js +8 -0
- package/dist/apis/DatasetsApi.d.ts +9 -3
- package/dist/apis/DatasetsApi.js +6 -0
- package/dist/apis/IndicesApi.d.ts +9 -3
- package/dist/apis/IndicesApi.js +6 -0
- package/dist/apis/ModelsApi.d.ts +9 -3
- package/dist/apis/ModelsApi.js +6 -0
- package/dist/esm/apis/AuthorsApi.d.ts +11 -3
- package/dist/esm/apis/AuthorsApi.js +8 -0
- package/dist/esm/apis/DatasetsApi.d.ts +9 -3
- package/dist/esm/apis/DatasetsApi.js +6 -0
- package/dist/esm/apis/IndicesApi.d.ts +9 -3
- package/dist/esm/apis/IndicesApi.js +6 -0
- package/dist/esm/apis/ModelsApi.d.ts +9 -3
- package/dist/esm/apis/ModelsApi.js +6 -0
- package/dist/esm/models/Author.d.ts +4 -0
- package/dist/esm/models/Author.js +2 -0
- package/dist/esm/models/AuthorDetail.d.ts +4 -0
- package/dist/esm/models/AuthorDetail.js +2 -0
- package/dist/models/Author.d.ts +4 -0
- package/dist/models/Author.js +2 -0
- package/dist/models/AuthorDetail.d.ts +4 -0
- package/dist/models/AuthorDetail.js +2 -0
- package/docs/Author.md +44 -0
- package/docs/AuthorDetail.md +46 -0
- package/docs/AuthorsApi.md +167 -0
- package/docs/DaiPoint.md +38 -0
- package/docs/Dataset.md +54 -0
- package/docs/DatasetDetail.md +39 -0
- package/docs/DatasetsApi.md +176 -0
- package/docs/Envelope.md +48 -0
- package/docs/Event.md +46 -0
- package/docs/GetAuthor200Response.md +48 -0
- package/docs/GetDataset200Response.md +48 -0
- package/docs/GetIndex200Response.md +48 -0
- package/docs/GetMethod200Response.md +48 -0
- package/docs/GetModel200Response.md +48 -0
- package/docs/IndexDetail.md +54 -0
- package/docs/IndicesApi.md +153 -0
- package/docs/ListAuthors200Response.md +48 -0
- package/docs/ListDatasets200Response.md +48 -0
- package/docs/ListIndices200Response.md +48 -0
- package/docs/ListMethods200Response.md +48 -0
- package/docs/ListModels200Response.md +48 -0
- package/docs/ListTimeline200Response.md +48 -0
- package/docs/Method.md +44 -0
- package/docs/MethodDetail.md +50 -0
- package/docs/MethodDetailAllOfTopAuthors.md +36 -0
- package/docs/MethodsApi.md +153 -0
- package/docs/ModelDetail.md +45 -0
- package/docs/ModelError.md +42 -0
- package/docs/ModelIndex.md +52 -0
- package/docs/ModelSummary.md +58 -0
- package/docs/ModelsApi.md +191 -0
- package/docs/Passport.md +38 -0
- package/docs/TimelineApi.md +93 -0
- package/openapi-generator-config.json +10 -0
- package/package.json +14 -16
- package/src/apis/AuthorsApi.ts +248 -0
- package/src/apis/DatasetsApi.ts +278 -0
- package/src/apis/IndicesApi.ts +213 -0
- package/src/apis/MethodsApi.ts +214 -0
- package/src/apis/ModelsApi.ts +328 -0
- package/src/apis/TimelineApi.ts +148 -0
- package/src/apis/index.ts +8 -0
- package/src/index.ts +5 -0
- package/src/models/Author.ts +93 -0
- package/src/models/AuthorDetail.ts +107 -0
- package/src/models/DaiPoint.ts +75 -0
- package/src/models/Dataset.ts +123 -0
- package/src/models/DatasetDetail.ts +86 -0
- package/src/models/Envelope.ts +124 -0
- package/src/models/Event.ts +99 -0
- package/src/models/GetAuthor200Response.ts +132 -0
- package/src/models/GetDataset200Response.ts +132 -0
- package/src/models/GetIndex200Response.ts +132 -0
- package/src/models/GetMethod200Response.ts +132 -0
- package/src/models/GetModel200Response.ts +132 -0
- package/src/models/IndexDetail.ts +153 -0
- package/src/models/ListAuthors200Response.ts +132 -0
- package/src/models/ListDatasets200Response.ts +132 -0
- package/src/models/ListIndices200Response.ts +132 -0
- package/src/models/ListMethods200Response.ts +132 -0
- package/src/models/ListModels200Response.ts +132 -0
- package/src/models/ListTimeline200Response.ts +132 -0
- package/src/models/Method.ts +106 -0
- package/src/models/MethodDetail.ts +139 -0
- package/src/models/MethodDetailAllOfTopAuthors.ts +69 -0
- package/src/models/ModelDetail.ts +104 -0
- package/src/models/ModelError.ts +89 -0
- package/src/models/ModelIndex.ts +147 -0
- package/src/models/ModelSummary.ts +135 -0
- package/src/models/Passport.ts +75 -0
- package/src/models/index.ts +29 -0
- package/src/runtime.ts +505 -0
- package/tsconfig.esm.json +7 -0
- package/tsconfig.json +16 -0
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
.gitignore
|
|
2
|
+
.npmignore
|
|
3
|
+
README.md
|
|
4
|
+
docs/Author.md
|
|
5
|
+
docs/AuthorDetail.md
|
|
6
|
+
docs/AuthorsApi.md
|
|
7
|
+
docs/DaiPoint.md
|
|
8
|
+
docs/Dataset.md
|
|
9
|
+
docs/DatasetDetail.md
|
|
10
|
+
docs/DatasetsApi.md
|
|
11
|
+
docs/Envelope.md
|
|
12
|
+
docs/Event.md
|
|
13
|
+
docs/GetAuthor200Response.md
|
|
14
|
+
docs/GetDataset200Response.md
|
|
15
|
+
docs/GetIndex200Response.md
|
|
16
|
+
docs/GetMethod200Response.md
|
|
17
|
+
docs/GetModel200Response.md
|
|
18
|
+
docs/IndexDetail.md
|
|
19
|
+
docs/IndicesApi.md
|
|
20
|
+
docs/ListAuthors200Response.md
|
|
21
|
+
docs/ListDatasets200Response.md
|
|
22
|
+
docs/ListIndices200Response.md
|
|
23
|
+
docs/ListMethods200Response.md
|
|
24
|
+
docs/ListModels200Response.md
|
|
25
|
+
docs/ListTimeline200Response.md
|
|
26
|
+
docs/Method.md
|
|
27
|
+
docs/MethodDetail.md
|
|
28
|
+
docs/MethodDetailAllOfTopAuthors.md
|
|
29
|
+
docs/MethodsApi.md
|
|
30
|
+
docs/ModelDetail.md
|
|
31
|
+
docs/ModelError.md
|
|
32
|
+
docs/ModelIndex.md
|
|
33
|
+
docs/ModelSummary.md
|
|
34
|
+
docs/ModelsApi.md
|
|
35
|
+
docs/Passport.md
|
|
36
|
+
docs/TimelineApi.md
|
|
37
|
+
package.json
|
|
38
|
+
src/apis/AuthorsApi.ts
|
|
39
|
+
src/apis/DatasetsApi.ts
|
|
40
|
+
src/apis/IndicesApi.ts
|
|
41
|
+
src/apis/MethodsApi.ts
|
|
42
|
+
src/apis/ModelsApi.ts
|
|
43
|
+
src/apis/TimelineApi.ts
|
|
44
|
+
src/apis/index.ts
|
|
45
|
+
src/index.ts
|
|
46
|
+
src/models/Author.ts
|
|
47
|
+
src/models/AuthorDetail.ts
|
|
48
|
+
src/models/DaiPoint.ts
|
|
49
|
+
src/models/Dataset.ts
|
|
50
|
+
src/models/DatasetDetail.ts
|
|
51
|
+
src/models/Envelope.ts
|
|
52
|
+
src/models/Event.ts
|
|
53
|
+
src/models/GetAuthor200Response.ts
|
|
54
|
+
src/models/GetDataset200Response.ts
|
|
55
|
+
src/models/GetIndex200Response.ts
|
|
56
|
+
src/models/GetMethod200Response.ts
|
|
57
|
+
src/models/GetModel200Response.ts
|
|
58
|
+
src/models/IndexDetail.ts
|
|
59
|
+
src/models/ListAuthors200Response.ts
|
|
60
|
+
src/models/ListDatasets200Response.ts
|
|
61
|
+
src/models/ListIndices200Response.ts
|
|
62
|
+
src/models/ListMethods200Response.ts
|
|
63
|
+
src/models/ListModels200Response.ts
|
|
64
|
+
src/models/ListTimeline200Response.ts
|
|
65
|
+
src/models/Method.ts
|
|
66
|
+
src/models/MethodDetail.ts
|
|
67
|
+
src/models/MethodDetailAllOfTopAuthors.ts
|
|
68
|
+
src/models/ModelDetail.ts
|
|
69
|
+
src/models/ModelError.ts
|
|
70
|
+
src/models/ModelIndex.ts
|
|
71
|
+
src/models/ModelSummary.ts
|
|
72
|
+
src/models/Passport.ts
|
|
73
|
+
src/models/index.ts
|
|
74
|
+
src/runtime.ts
|
|
75
|
+
tsconfig.esm.json
|
|
76
|
+
tsconfig.json
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
7.25.0
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# OpenAPI Generator Ignore
|
|
2
|
+
# Generated by openapi-generator https://github.com/openapitools/openapi-generator
|
|
3
|
+
|
|
4
|
+
# Use this file to prevent files from being overwritten by the generator.
|
|
5
|
+
# The patterns follow closely to .gitignore or .dockerignore.
|
|
6
|
+
|
|
7
|
+
# As an example, the C# client generator defines ApiClient.cs.
|
|
8
|
+
# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line:
|
|
9
|
+
#ApiClient.cs
|
|
10
|
+
|
|
11
|
+
# You can match any string of characters against a directory, file or extension with a single asterisk (*):
|
|
12
|
+
#foo/*/qux
|
|
13
|
+
# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux
|
|
14
|
+
|
|
15
|
+
# You can recursively match patterns against a directory, file or extension with a double asterisk (**):
|
|
16
|
+
#foo/**/qux
|
|
17
|
+
# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux
|
|
18
|
+
|
|
19
|
+
# You can also negate patterns with an exclamation (!).
|
|
20
|
+
# For example, you can ignore all files in a docs folder with the file extension .md:
|
|
21
|
+
#docs/*.md
|
|
22
|
+
# Then explicitly reverse the ignore rule for a single file:
|
|
23
|
+
#!docs/README.md
|
package/README.md
CHANGED
|
@@ -1,67 +1,158 @@
|
|
|
1
|
-
# @abliteration/sdk
|
|
1
|
+
# @abliteration/sdk@0.1.0
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
A TypeScript SDK client for the abliteration.org API.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
## Usage
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
First, install the SDK from npm.
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
|
-
npm install @abliteration/sdk
|
|
11
|
-
# or
|
|
12
|
-
pnpm add @abliteration/sdk
|
|
13
|
-
# or
|
|
14
|
-
yarn add @abliteration/sdk
|
|
10
|
+
npm install @abliteration/sdk --save
|
|
15
11
|
```
|
|
16
12
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
13
|
+
Next, try it out.
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
```ts
|
|
17
|
+
import {
|
|
18
|
+
Configuration,
|
|
19
|
+
AuthorsApi,
|
|
20
|
+
} from '@abliteration/sdk';
|
|
21
|
+
import type { GetAuthorRequest } from '@abliteration/sdk';
|
|
22
|
+
|
|
23
|
+
async function example() {
|
|
24
|
+
console.log("🚀 Testing @abliteration/sdk SDK...");
|
|
25
|
+
const config = new Configuration({
|
|
26
|
+
// Configure HTTP bearer authorization: bearerAuth
|
|
27
|
+
accessToken: "YOUR BEARER TOKEN",
|
|
28
|
+
});
|
|
29
|
+
const api = new AuthorsApi(config);
|
|
30
|
+
|
|
31
|
+
const body = {
|
|
32
|
+
// string
|
|
33
|
+
id: mlabonne,
|
|
34
|
+
} satisfies GetAuthorRequest;
|
|
35
|
+
|
|
36
|
+
try {
|
|
37
|
+
const data = await api.getAuthor(body);
|
|
38
|
+
console.log(data);
|
|
39
|
+
} catch (error) {
|
|
40
|
+
console.error(error);
|
|
41
|
+
}
|
|
38
42
|
}
|
|
39
|
-
|
|
43
|
+
|
|
44
|
+
// Run the test
|
|
45
|
+
example().catch(console.error);
|
|
40
46
|
```
|
|
41
47
|
|
|
42
|
-
Full API docs: <https://abliteration.org/api>
|
|
43
48
|
|
|
44
|
-
##
|
|
49
|
+
## Documentation
|
|
50
|
+
|
|
51
|
+
### API Endpoints
|
|
52
|
+
|
|
53
|
+
All URIs are relative to *https://abliteration.org*
|
|
54
|
+
|
|
55
|
+
| Class | Method | HTTP request | Description
|
|
56
|
+
| ----- | ------ | ------------ | -------------
|
|
57
|
+
*AuthorsApi* | [**getAuthor**](docs/AuthorsApi.md#getauthor) | **GET** /api/v1/authors/{id} | Get one author
|
|
58
|
+
*AuthorsApi* | [**listAuthors**](docs/AuthorsApi.md#listauthors) | **GET** /api/v1/authors | List authors
|
|
59
|
+
*DatasetsApi* | [**getDataset**](docs/DatasetsApi.md#getdataset) | **GET** /api/v1/datasets/{id} | Get one dataset
|
|
60
|
+
*DatasetsApi* | [**listDatasets**](docs/DatasetsApi.md#listdatasets) | **GET** /api/v1/datasets | List datasets
|
|
61
|
+
*IndicesApi* | [**getIndex**](docs/IndicesApi.md#getindex) | **GET** /api/v1/indices/{id} | One index with history
|
|
62
|
+
*IndicesApi* | [**listIndices**](docs/IndicesApi.md#listindices) | **GET** /api/v1/indices | All four indices
|
|
63
|
+
*MethodsApi* | [**getMethod**](docs/MethodsApi.md#getmethod) | **GET** /api/v1/methods/{id} | Get one method
|
|
64
|
+
*MethodsApi* | [**listMethods**](docs/MethodsApi.md#listmethods) | **GET** /api/v1/methods | List the method taxonomy
|
|
65
|
+
*ModelsApi* | [**getModel**](docs/ModelsApi.md#getmodel) | **GET** /api/v1/models/{id} | Get one model
|
|
66
|
+
*ModelsApi* | [**listModels**](docs/ModelsApi.md#listmodels) | **GET** /api/v1/models | List models
|
|
67
|
+
*TimelineApi* | [**listTimeline**](docs/TimelineApi.md#listtimeline) | **GET** /api/v1/timeline | Curated field events
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
### Models
|
|
71
|
+
|
|
72
|
+
- [Author](docs/Author.md)
|
|
73
|
+
- [AuthorDetail](docs/AuthorDetail.md)
|
|
74
|
+
- [DaiPoint](docs/DaiPoint.md)
|
|
75
|
+
- [Dataset](docs/Dataset.md)
|
|
76
|
+
- [DatasetDetail](docs/DatasetDetail.md)
|
|
77
|
+
- [Envelope](docs/Envelope.md)
|
|
78
|
+
- [Event](docs/Event.md)
|
|
79
|
+
- [GetAuthor200Response](docs/GetAuthor200Response.md)
|
|
80
|
+
- [GetDataset200Response](docs/GetDataset200Response.md)
|
|
81
|
+
- [GetIndex200Response](docs/GetIndex200Response.md)
|
|
82
|
+
- [GetMethod200Response](docs/GetMethod200Response.md)
|
|
83
|
+
- [GetModel200Response](docs/GetModel200Response.md)
|
|
84
|
+
- [IndexDetail](docs/IndexDetail.md)
|
|
85
|
+
- [ListAuthors200Response](docs/ListAuthors200Response.md)
|
|
86
|
+
- [ListDatasets200Response](docs/ListDatasets200Response.md)
|
|
87
|
+
- [ListIndices200Response](docs/ListIndices200Response.md)
|
|
88
|
+
- [ListMethods200Response](docs/ListMethods200Response.md)
|
|
89
|
+
- [ListModels200Response](docs/ListModels200Response.md)
|
|
90
|
+
- [ListTimeline200Response](docs/ListTimeline200Response.md)
|
|
91
|
+
- [Method](docs/Method.md)
|
|
92
|
+
- [MethodDetail](docs/MethodDetail.md)
|
|
93
|
+
- [MethodDetailAllOfTopAuthors](docs/MethodDetailAllOfTopAuthors.md)
|
|
94
|
+
- [ModelDetail](docs/ModelDetail.md)
|
|
95
|
+
- [ModelError](docs/ModelError.md)
|
|
96
|
+
- [ModelIndex](docs/ModelIndex.md)
|
|
97
|
+
- [ModelSummary](docs/ModelSummary.md)
|
|
98
|
+
- [Passport](docs/Passport.md)
|
|
99
|
+
|
|
100
|
+
### Authorization
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
Authentication schemes defined for the API:
|
|
104
|
+
<a id="bearerAuth"></a>
|
|
105
|
+
#### bearerAuth
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
- **Type**: HTTP Bearer Token authentication
|
|
109
|
+
|
|
110
|
+
## About
|
|
111
|
+
|
|
112
|
+
This TypeScript SDK client supports the [Fetch API](https://fetch.spec.whatwg.org/)
|
|
113
|
+
and is automatically generated by the
|
|
114
|
+
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
115
|
+
|
|
116
|
+
- API version: `1.0.0`
|
|
117
|
+
- Package version: `0.1.0`
|
|
118
|
+
- Generator version: `7.25.0`
|
|
119
|
+
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
120
|
+
|
|
121
|
+
The generated npm module supports the following:
|
|
122
|
+
|
|
123
|
+
- Environments
|
|
124
|
+
* Node.js
|
|
125
|
+
* Webpack
|
|
126
|
+
* Browserify
|
|
127
|
+
- Language levels
|
|
128
|
+
* ES5 - you must have a Promises/A+ library installed
|
|
129
|
+
* ES6
|
|
130
|
+
- Module systems
|
|
131
|
+
* CommonJS
|
|
132
|
+
* ES6 module system
|
|
133
|
+
|
|
134
|
+
For more information, please visit [https://abliteration.org/api](https://abliteration.org/api)
|
|
135
|
+
|
|
136
|
+
## Development
|
|
137
|
+
|
|
138
|
+
### Building
|
|
139
|
+
|
|
140
|
+
To build the TypeScript source code, you need to have Node.js and npm installed.
|
|
141
|
+
After cloning the repository, navigate to the project directory and run:
|
|
45
142
|
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
143
|
+
```bash
|
|
144
|
+
npm install
|
|
145
|
+
npm run build
|
|
146
|
+
```
|
|
50
147
|
|
|
51
|
-
|
|
148
|
+
### Publishing
|
|
52
149
|
|
|
53
|
-
|
|
150
|
+
Once you've built the package, you can publish it to npm:
|
|
54
151
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
- Rust: `cargo add abliteration`
|
|
59
|
-
- HTTP directly: `fetch` with `Authorization: Bearer` header
|
|
152
|
+
```bash
|
|
153
|
+
npm publish
|
|
154
|
+
```
|
|
60
155
|
|
|
61
156
|
## License
|
|
62
157
|
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
---
|
|
66
|
-
|
|
67
|
-
*This SDK is auto-generated from the OpenAPI spec at [/api/v1/openapi.json](https://abliteration.org/api/v1/openapi.json) using [openapi-generator](https://openapi-generator.tech).*
|
|
158
|
+
[]()
|
|
@@ -20,7 +20,7 @@ export interface GetAuthorRequest {
|
|
|
20
20
|
}
|
|
21
21
|
export interface ListAuthorsRequest {
|
|
22
22
|
/**
|
|
23
|
-
*
|
|
23
|
+
* Bare key is DESC (largest first); a leading `-` flips to ASC. Aliases: `downloads` == `total_downloads`, `models` == `total_models`, `likes` == `total_likes`.
|
|
24
24
|
*/
|
|
25
25
|
sort?: ListAuthorsSortEnum;
|
|
26
26
|
/**
|
|
@@ -62,7 +62,7 @@ export interface AuthorsApiInterface {
|
|
|
62
62
|
getAuthor(requestParameters: GetAuthorRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetAuthor200Response>;
|
|
63
63
|
/**
|
|
64
64
|
* Creates request options for listAuthors without sending the request
|
|
65
|
-
* @param {'total_downloads' | '-total_downloads' | 'total_models' | '-total_models'} [sort]
|
|
65
|
+
* @param {'total_downloads' | '-total_downloads' | 'downloads' | '-downloads' | 'total_models' | '-total_models' | 'models' | '-models' | 'total_likes' | '-total_likes' | 'likes' | '-likes'} [sort] Bare key is DESC (largest first); a leading `-` flips to ASC. Aliases: `downloads` == `total_downloads`, `models` == `total_models`, `likes` == `total_likes`.
|
|
66
66
|
* @param {number} [limit] Rows to return, 1 to 1000. Values outside the range are clamped, not rejected.
|
|
67
67
|
* @param {number} [offset] Rows to skip. Negative and non-numeric values are treated as 0.
|
|
68
68
|
* @throws {RequiredError}
|
|
@@ -72,7 +72,7 @@ export interface AuthorsApiInterface {
|
|
|
72
72
|
/**
|
|
73
73
|
* Cost: 5-15 credits, by rows returned.
|
|
74
74
|
* @summary List authors
|
|
75
|
-
* @param {'total_downloads' | '-total_downloads' | 'total_models' | '-total_models'} [sort]
|
|
75
|
+
* @param {'total_downloads' | '-total_downloads' | 'downloads' | '-downloads' | 'total_models' | '-total_models' | 'models' | '-models' | 'total_likes' | '-total_likes' | 'likes' | '-likes'} [sort] Bare key is DESC (largest first); a leading `-` flips to ASC. Aliases: `downloads` == `total_downloads`, `models` == `total_models`, `likes` == `total_likes`.
|
|
76
76
|
* @param {number} [limit] Rows to return, 1 to 1000. Values outside the range are clamped, not rejected.
|
|
77
77
|
* @param {number} [offset] Rows to skip. Negative and non-numeric values are treated as 0.
|
|
78
78
|
* @param {*} [options] Override http request option.
|
|
@@ -125,7 +125,15 @@ export declare class AuthorsApi extends runtime.BaseAPI implements AuthorsApiInt
|
|
|
125
125
|
export declare const ListAuthorsSortEnum: {
|
|
126
126
|
readonly TotalDownloads: "total_downloads";
|
|
127
127
|
readonly TotalDownloads2: "-total_downloads";
|
|
128
|
+
readonly Downloads: "downloads";
|
|
129
|
+
readonly Downloads2: "-downloads";
|
|
128
130
|
readonly TotalModels: "total_models";
|
|
129
131
|
readonly TotalModels2: "-total_models";
|
|
132
|
+
readonly Models: "models";
|
|
133
|
+
readonly Models2: "-models";
|
|
134
|
+
readonly TotalLikes: "total_likes";
|
|
135
|
+
readonly TotalLikes2: "-total_likes";
|
|
136
|
+
readonly Likes: "likes";
|
|
137
|
+
readonly Likes2: "-likes";
|
|
130
138
|
};
|
|
131
139
|
export type ListAuthorsSortEnum = typeof ListAuthorsSortEnum[keyof typeof ListAuthorsSortEnum];
|
package/dist/apis/AuthorsApi.js
CHANGED
|
@@ -139,6 +139,14 @@ exports.AuthorsApi = AuthorsApi;
|
|
|
139
139
|
exports.ListAuthorsSortEnum = {
|
|
140
140
|
TotalDownloads: 'total_downloads',
|
|
141
141
|
TotalDownloads2: '-total_downloads',
|
|
142
|
+
Downloads: 'downloads',
|
|
143
|
+
Downloads2: '-downloads',
|
|
142
144
|
TotalModels: 'total_models',
|
|
143
145
|
TotalModels2: '-total_models',
|
|
146
|
+
Models: 'models',
|
|
147
|
+
Models2: '-models',
|
|
148
|
+
TotalLikes: 'total_likes',
|
|
149
|
+
TotalLikes2: '-total_likes',
|
|
150
|
+
Likes: 'likes',
|
|
151
|
+
Likes2: '-likes',
|
|
144
152
|
};
|
|
@@ -32,7 +32,7 @@ export interface ListDatasetsRequest {
|
|
|
32
32
|
*/
|
|
33
33
|
license?: string;
|
|
34
34
|
/**
|
|
35
|
-
*
|
|
35
|
+
* Bare key is the natural direction (downloads/likes = most first, dates = newest first). A leading `-` flips it. `created` and `first_seen` are aliases for the full column names.
|
|
36
36
|
*/
|
|
37
37
|
sort?: ListDatasetsSortEnum;
|
|
38
38
|
/**
|
|
@@ -77,7 +77,7 @@ export interface DatasetsApiInterface {
|
|
|
77
77
|
* @param {string} [category] Workflow stage, for example heal or extract.
|
|
78
78
|
* @param {string} [author] Publisher handle, case-insensitive.
|
|
79
79
|
* @param {string} [license] License string as published.
|
|
80
|
-
* @param {'downloads' | '-downloads' | 'created_at' | '-created_at' | 'first_seen_at' | '-first_seen_at'} [sort]
|
|
80
|
+
* @param {'downloads' | '-downloads' | 'likes' | '-likes' | 'created' | '-created' | 'created_at' | '-created_at' | 'first_seen' | '-first_seen' | 'first_seen_at' | '-first_seen_at'} [sort] Bare key is the natural direction (downloads/likes = most first, dates = newest first). A leading `-` flips it. `created` and `first_seen` are aliases for the full column names.
|
|
81
81
|
* @param {number} [limit] Rows to return, 1 to 1000. Values outside the range are clamped, not rejected.
|
|
82
82
|
* @param {number} [offset] Rows to skip. Negative and non-numeric values are treated as 0.
|
|
83
83
|
* @throws {RequiredError}
|
|
@@ -90,7 +90,7 @@ export interface DatasetsApiInterface {
|
|
|
90
90
|
* @param {string} [category] Workflow stage, for example heal or extract.
|
|
91
91
|
* @param {string} [author] Publisher handle, case-insensitive.
|
|
92
92
|
* @param {string} [license] License string as published.
|
|
93
|
-
* @param {'downloads' | '-downloads' | 'created_at' | '-created_at' | 'first_seen_at' | '-first_seen_at'} [sort]
|
|
93
|
+
* @param {'downloads' | '-downloads' | 'likes' | '-likes' | 'created' | '-created' | 'created_at' | '-created_at' | 'first_seen' | '-first_seen' | 'first_seen_at' | '-first_seen_at'} [sort] Bare key is the natural direction (downloads/likes = most first, dates = newest first). A leading `-` flips it. `created` and `first_seen` are aliases for the full column names.
|
|
94
94
|
* @param {number} [limit] Rows to return, 1 to 1000. Values outside the range are clamped, not rejected.
|
|
95
95
|
* @param {number} [offset] Rows to skip. Negative and non-numeric values are treated as 0.
|
|
96
96
|
* @param {*} [options] Override http request option.
|
|
@@ -143,8 +143,14 @@ export declare class DatasetsApi extends runtime.BaseAPI implements DatasetsApiI
|
|
|
143
143
|
export declare const ListDatasetsSortEnum: {
|
|
144
144
|
readonly Downloads: "downloads";
|
|
145
145
|
readonly Downloads2: "-downloads";
|
|
146
|
+
readonly Likes: "likes";
|
|
147
|
+
readonly Likes2: "-likes";
|
|
148
|
+
readonly Created: "created";
|
|
149
|
+
readonly Created2: "-created";
|
|
146
150
|
readonly CreatedAt: "created_at";
|
|
147
151
|
readonly CreatedAt2: "-created_at";
|
|
152
|
+
readonly FirstSeen: "first_seen";
|
|
153
|
+
readonly FirstSeen2: "-first_seen";
|
|
148
154
|
readonly FirstSeenAt: "first_seen_at";
|
|
149
155
|
readonly FirstSeenAt2: "-first_seen_at";
|
|
150
156
|
};
|
package/dist/apis/DatasetsApi.js
CHANGED
|
@@ -148,8 +148,14 @@ exports.DatasetsApi = DatasetsApi;
|
|
|
148
148
|
exports.ListDatasetsSortEnum = {
|
|
149
149
|
Downloads: 'downloads',
|
|
150
150
|
Downloads2: '-downloads',
|
|
151
|
+
Likes: 'likes',
|
|
152
|
+
Likes2: '-likes',
|
|
153
|
+
Created: 'created',
|
|
154
|
+
Created2: '-created',
|
|
151
155
|
CreatedAt: 'created_at',
|
|
152
156
|
CreatedAt2: '-created_at',
|
|
157
|
+
FirstSeen: 'first_seen',
|
|
158
|
+
FirstSeen2: '-first_seen',
|
|
153
159
|
FirstSeenAt: 'first_seen_at',
|
|
154
160
|
FirstSeenAt2: '-first_seen_at',
|
|
155
161
|
};
|
|
@@ -14,7 +14,7 @@ import { type GetIndex200Response } from '../models/GetIndex200Response';
|
|
|
14
14
|
import { type ListIndices200Response } from '../models/ListIndices200Response';
|
|
15
15
|
export interface GetIndexRequest {
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
17
|
+
* Canonical id or one of the short aliases (DAI, FV, WEAP, F2W). Case-insensitive.
|
|
18
18
|
*/
|
|
19
19
|
id: GetIndexIdEnum;
|
|
20
20
|
}
|
|
@@ -27,7 +27,7 @@ export interface GetIndexRequest {
|
|
|
27
27
|
export interface IndicesApiInterface {
|
|
28
28
|
/**
|
|
29
29
|
* Creates request options for getIndex without sending the request
|
|
30
|
-
* @param {'dai' | 'freedom-velocity' | 'weaponization' | 'f2w-latency'} id
|
|
30
|
+
* @param {'dai' | 'DAI' | 'freedom-velocity' | 'FV' | 'freedom_velocity' | 'weaponization' | 'WEAP' | 'f2w-latency' | 'F2W' | 'f2w_latency'} id Canonical id or one of the short aliases (DAI, FV, WEAP, F2W). Case-insensitive.
|
|
31
31
|
* @throws {RequiredError}
|
|
32
32
|
* @memberof IndicesApiInterface
|
|
33
33
|
*/
|
|
@@ -35,7 +35,7 @@ export interface IndicesApiInterface {
|
|
|
35
35
|
/**
|
|
36
36
|
* Cost: 10 credits. Only dai has a history series; the others return an empty array with history_available false.
|
|
37
37
|
* @summary One index with history
|
|
38
|
-
* @param {'dai' | 'freedom-velocity' | 'weaponization' | 'f2w-latency'} id
|
|
38
|
+
* @param {'dai' | 'DAI' | 'freedom-velocity' | 'FV' | 'freedom_velocity' | 'weaponization' | 'WEAP' | 'f2w-latency' | 'F2W' | 'f2w_latency'} id Canonical id or one of the short aliases (DAI, FV, WEAP, F2W). Case-insensitive.
|
|
39
39
|
* @param {*} [options] Override http request option.
|
|
40
40
|
* @throws {RequiredError}
|
|
41
41
|
* @memberof IndicesApiInterface
|
|
@@ -104,8 +104,14 @@ export declare class IndicesApi extends runtime.BaseAPI implements IndicesApiInt
|
|
|
104
104
|
*/
|
|
105
105
|
export declare const GetIndexIdEnum: {
|
|
106
106
|
readonly Dai: "dai";
|
|
107
|
+
readonly Dai2: "DAI";
|
|
107
108
|
readonly FreedomVelocity: "freedom-velocity";
|
|
109
|
+
readonly Fv: "FV";
|
|
110
|
+
readonly FreedomVelocity2: "freedom_velocity";
|
|
108
111
|
readonly Weaponization: "weaponization";
|
|
112
|
+
readonly Weap: "WEAP";
|
|
109
113
|
readonly F2wLatency: "f2w-latency";
|
|
114
|
+
readonly F2W: "F2W";
|
|
115
|
+
readonly F2wLatency2: "f2w_latency";
|
|
110
116
|
};
|
|
111
117
|
export type GetIndexIdEnum = typeof GetIndexIdEnum[keyof typeof GetIndexIdEnum];
|
package/dist/apis/IndicesApi.js
CHANGED
|
@@ -129,7 +129,13 @@ exports.IndicesApi = IndicesApi;
|
|
|
129
129
|
*/
|
|
130
130
|
exports.GetIndexIdEnum = {
|
|
131
131
|
Dai: 'dai',
|
|
132
|
+
Dai2: 'DAI',
|
|
132
133
|
FreedomVelocity: 'freedom-velocity',
|
|
134
|
+
Fv: 'FV',
|
|
135
|
+
FreedomVelocity2: 'freedom_velocity',
|
|
133
136
|
Weaponization: 'weaponization',
|
|
137
|
+
Weap: 'WEAP',
|
|
134
138
|
F2wLatency: 'f2w-latency',
|
|
139
|
+
F2W: 'F2W',
|
|
140
|
+
F2wLatency2: 'f2w_latency',
|
|
135
141
|
};
|
package/dist/apis/ModelsApi.d.ts
CHANGED
|
@@ -52,7 +52,7 @@ export interface ListModelsRequest {
|
|
|
52
52
|
*/
|
|
53
53
|
createdBefore?: string;
|
|
54
54
|
/**
|
|
55
|
-
*
|
|
55
|
+
* Bare key is the natural direction (downloads/likes = most first, dates = newest first). A leading `-` flips it. `created` and `first_seen` are aliases for the full column names.
|
|
56
56
|
*/
|
|
57
57
|
sort?: ListModelsSortEnum;
|
|
58
58
|
/**
|
|
@@ -102,7 +102,7 @@ export interface ModelsApiInterface {
|
|
|
102
102
|
* @param {number} [downloadsLte]
|
|
103
103
|
* @param {string} [createdAfter] ISO-8601 date or timestamp, inclusive.
|
|
104
104
|
* @param {string} [createdBefore] ISO-8601 date or timestamp, inclusive.
|
|
105
|
-
* @param {'downloads' | '-downloads' | 'created_at' | '-created_at' | 'first_seen_at' | '-first_seen_at'} [sort]
|
|
105
|
+
* @param {'downloads' | '-downloads' | 'likes' | '-likes' | 'created' | '-created' | 'created_at' | '-created_at' | 'first_seen' | '-first_seen' | 'first_seen_at' | '-first_seen_at'} [sort] Bare key is the natural direction (downloads/likes = most first, dates = newest first). A leading `-` flips it. `created` and `first_seen` are aliases for the full column names.
|
|
106
106
|
* @param {number} [limit] Rows to return, 1 to 1000. Values outside the range are clamped, not rejected.
|
|
107
107
|
* @param {number} [offset] Rows to skip. Negative and non-numeric values are treated as 0.
|
|
108
108
|
* @throws {RequiredError}
|
|
@@ -120,7 +120,7 @@ export interface ModelsApiInterface {
|
|
|
120
120
|
* @param {number} [downloadsLte]
|
|
121
121
|
* @param {string} [createdAfter] ISO-8601 date or timestamp, inclusive.
|
|
122
122
|
* @param {string} [createdBefore] ISO-8601 date or timestamp, inclusive.
|
|
123
|
-
* @param {'downloads' | '-downloads' | 'created_at' | '-created_at' | 'first_seen_at' | '-first_seen_at'} [sort]
|
|
123
|
+
* @param {'downloads' | '-downloads' | 'likes' | '-likes' | 'created' | '-created' | 'created_at' | '-created_at' | 'first_seen' | '-first_seen' | 'first_seen_at' | '-first_seen_at'} [sort] Bare key is the natural direction (downloads/likes = most first, dates = newest first). A leading `-` flips it. `created` and `first_seen` are aliases for the full column names.
|
|
124
124
|
* @param {number} [limit] Rows to return, 1 to 1000. Values outside the range are clamped, not rejected.
|
|
125
125
|
* @param {number} [offset] Rows to skip. Negative and non-numeric values are treated as 0.
|
|
126
126
|
* @param {*} [options] Override http request option.
|
|
@@ -173,8 +173,14 @@ export declare class ModelsApi extends runtime.BaseAPI implements ModelsApiInter
|
|
|
173
173
|
export declare const ListModelsSortEnum: {
|
|
174
174
|
readonly Downloads: "downloads";
|
|
175
175
|
readonly Downloads2: "-downloads";
|
|
176
|
+
readonly Likes: "likes";
|
|
177
|
+
readonly Likes2: "-likes";
|
|
178
|
+
readonly Created: "created";
|
|
179
|
+
readonly Created2: "-created";
|
|
176
180
|
readonly CreatedAt: "created_at";
|
|
177
181
|
readonly CreatedAt2: "-created_at";
|
|
182
|
+
readonly FirstSeen: "first_seen";
|
|
183
|
+
readonly FirstSeen2: "-first_seen";
|
|
178
184
|
readonly FirstSeenAt: "first_seen_at";
|
|
179
185
|
readonly FirstSeenAt2: "-first_seen_at";
|
|
180
186
|
};
|
package/dist/apis/ModelsApi.js
CHANGED
|
@@ -163,8 +163,14 @@ exports.ModelsApi = ModelsApi;
|
|
|
163
163
|
exports.ListModelsSortEnum = {
|
|
164
164
|
Downloads: 'downloads',
|
|
165
165
|
Downloads2: '-downloads',
|
|
166
|
+
Likes: 'likes',
|
|
167
|
+
Likes2: '-likes',
|
|
168
|
+
Created: 'created',
|
|
169
|
+
Created2: '-created',
|
|
166
170
|
CreatedAt: 'created_at',
|
|
167
171
|
CreatedAt2: '-created_at',
|
|
172
|
+
FirstSeen: 'first_seen',
|
|
173
|
+
FirstSeen2: '-first_seen',
|
|
168
174
|
FirstSeenAt: 'first_seen_at',
|
|
169
175
|
FirstSeenAt2: '-first_seen_at',
|
|
170
176
|
};
|
|
@@ -20,7 +20,7 @@ export interface GetAuthorRequest {
|
|
|
20
20
|
}
|
|
21
21
|
export interface ListAuthorsRequest {
|
|
22
22
|
/**
|
|
23
|
-
*
|
|
23
|
+
* Bare key is DESC (largest first); a leading `-` flips to ASC. Aliases: `downloads` == `total_downloads`, `models` == `total_models`, `likes` == `total_likes`.
|
|
24
24
|
*/
|
|
25
25
|
sort?: ListAuthorsSortEnum;
|
|
26
26
|
/**
|
|
@@ -62,7 +62,7 @@ export interface AuthorsApiInterface {
|
|
|
62
62
|
getAuthor(requestParameters: GetAuthorRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetAuthor200Response>;
|
|
63
63
|
/**
|
|
64
64
|
* Creates request options for listAuthors without sending the request
|
|
65
|
-
* @param {'total_downloads' | '-total_downloads' | 'total_models' | '-total_models'} [sort]
|
|
65
|
+
* @param {'total_downloads' | '-total_downloads' | 'downloads' | '-downloads' | 'total_models' | '-total_models' | 'models' | '-models' | 'total_likes' | '-total_likes' | 'likes' | '-likes'} [sort] Bare key is DESC (largest first); a leading `-` flips to ASC. Aliases: `downloads` == `total_downloads`, `models` == `total_models`, `likes` == `total_likes`.
|
|
66
66
|
* @param {number} [limit] Rows to return, 1 to 1000. Values outside the range are clamped, not rejected.
|
|
67
67
|
* @param {number} [offset] Rows to skip. Negative and non-numeric values are treated as 0.
|
|
68
68
|
* @throws {RequiredError}
|
|
@@ -72,7 +72,7 @@ export interface AuthorsApiInterface {
|
|
|
72
72
|
/**
|
|
73
73
|
* Cost: 5-15 credits, by rows returned.
|
|
74
74
|
* @summary List authors
|
|
75
|
-
* @param {'total_downloads' | '-total_downloads' | 'total_models' | '-total_models'} [sort]
|
|
75
|
+
* @param {'total_downloads' | '-total_downloads' | 'downloads' | '-downloads' | 'total_models' | '-total_models' | 'models' | '-models' | 'total_likes' | '-total_likes' | 'likes' | '-likes'} [sort] Bare key is DESC (largest first); a leading `-` flips to ASC. Aliases: `downloads` == `total_downloads`, `models` == `total_models`, `likes` == `total_likes`.
|
|
76
76
|
* @param {number} [limit] Rows to return, 1 to 1000. Values outside the range are clamped, not rejected.
|
|
77
77
|
* @param {number} [offset] Rows to skip. Negative and non-numeric values are treated as 0.
|
|
78
78
|
* @param {*} [options] Override http request option.
|
|
@@ -125,7 +125,15 @@ export declare class AuthorsApi extends runtime.BaseAPI implements AuthorsApiInt
|
|
|
125
125
|
export declare const ListAuthorsSortEnum: {
|
|
126
126
|
readonly TotalDownloads: "total_downloads";
|
|
127
127
|
readonly TotalDownloads2: "-total_downloads";
|
|
128
|
+
readonly Downloads: "downloads";
|
|
129
|
+
readonly Downloads2: "-downloads";
|
|
128
130
|
readonly TotalModels: "total_models";
|
|
129
131
|
readonly TotalModels2: "-total_models";
|
|
132
|
+
readonly Models: "models";
|
|
133
|
+
readonly Models2: "-models";
|
|
134
|
+
readonly TotalLikes: "total_likes";
|
|
135
|
+
readonly TotalLikes2: "-total_likes";
|
|
136
|
+
readonly Likes: "likes";
|
|
137
|
+
readonly Likes2: "-likes";
|
|
130
138
|
};
|
|
131
139
|
export type ListAuthorsSortEnum = typeof ListAuthorsSortEnum[keyof typeof ListAuthorsSortEnum];
|
|
@@ -135,6 +135,14 @@ export class AuthorsApi extends runtime.BaseAPI {
|
|
|
135
135
|
export const ListAuthorsSortEnum = {
|
|
136
136
|
TotalDownloads: 'total_downloads',
|
|
137
137
|
TotalDownloads2: '-total_downloads',
|
|
138
|
+
Downloads: 'downloads',
|
|
139
|
+
Downloads2: '-downloads',
|
|
138
140
|
TotalModels: 'total_models',
|
|
139
141
|
TotalModels2: '-total_models',
|
|
142
|
+
Models: 'models',
|
|
143
|
+
Models2: '-models',
|
|
144
|
+
TotalLikes: 'total_likes',
|
|
145
|
+
TotalLikes2: '-total_likes',
|
|
146
|
+
Likes: 'likes',
|
|
147
|
+
Likes2: '-likes',
|
|
140
148
|
};
|
|
@@ -32,7 +32,7 @@ export interface ListDatasetsRequest {
|
|
|
32
32
|
*/
|
|
33
33
|
license?: string;
|
|
34
34
|
/**
|
|
35
|
-
*
|
|
35
|
+
* Bare key is the natural direction (downloads/likes = most first, dates = newest first). A leading `-` flips it. `created` and `first_seen` are aliases for the full column names.
|
|
36
36
|
*/
|
|
37
37
|
sort?: ListDatasetsSortEnum;
|
|
38
38
|
/**
|
|
@@ -77,7 +77,7 @@ export interface DatasetsApiInterface {
|
|
|
77
77
|
* @param {string} [category] Workflow stage, for example heal or extract.
|
|
78
78
|
* @param {string} [author] Publisher handle, case-insensitive.
|
|
79
79
|
* @param {string} [license] License string as published.
|
|
80
|
-
* @param {'downloads' | '-downloads' | 'created_at' | '-created_at' | 'first_seen_at' | '-first_seen_at'} [sort]
|
|
80
|
+
* @param {'downloads' | '-downloads' | 'likes' | '-likes' | 'created' | '-created' | 'created_at' | '-created_at' | 'first_seen' | '-first_seen' | 'first_seen_at' | '-first_seen_at'} [sort] Bare key is the natural direction (downloads/likes = most first, dates = newest first). A leading `-` flips it. `created` and `first_seen` are aliases for the full column names.
|
|
81
81
|
* @param {number} [limit] Rows to return, 1 to 1000. Values outside the range are clamped, not rejected.
|
|
82
82
|
* @param {number} [offset] Rows to skip. Negative and non-numeric values are treated as 0.
|
|
83
83
|
* @throws {RequiredError}
|
|
@@ -90,7 +90,7 @@ export interface DatasetsApiInterface {
|
|
|
90
90
|
* @param {string} [category] Workflow stage, for example heal or extract.
|
|
91
91
|
* @param {string} [author] Publisher handle, case-insensitive.
|
|
92
92
|
* @param {string} [license] License string as published.
|
|
93
|
-
* @param {'downloads' | '-downloads' | 'created_at' | '-created_at' | 'first_seen_at' | '-first_seen_at'} [sort]
|
|
93
|
+
* @param {'downloads' | '-downloads' | 'likes' | '-likes' | 'created' | '-created' | 'created_at' | '-created_at' | 'first_seen' | '-first_seen' | 'first_seen_at' | '-first_seen_at'} [sort] Bare key is the natural direction (downloads/likes = most first, dates = newest first). A leading `-` flips it. `created` and `first_seen` are aliases for the full column names.
|
|
94
94
|
* @param {number} [limit] Rows to return, 1 to 1000. Values outside the range are clamped, not rejected.
|
|
95
95
|
* @param {number} [offset] Rows to skip. Negative and non-numeric values are treated as 0.
|
|
96
96
|
* @param {*} [options] Override http request option.
|
|
@@ -143,8 +143,14 @@ export declare class DatasetsApi extends runtime.BaseAPI implements DatasetsApiI
|
|
|
143
143
|
export declare const ListDatasetsSortEnum: {
|
|
144
144
|
readonly Downloads: "downloads";
|
|
145
145
|
readonly Downloads2: "-downloads";
|
|
146
|
+
readonly Likes: "likes";
|
|
147
|
+
readonly Likes2: "-likes";
|
|
148
|
+
readonly Created: "created";
|
|
149
|
+
readonly Created2: "-created";
|
|
146
150
|
readonly CreatedAt: "created_at";
|
|
147
151
|
readonly CreatedAt2: "-created_at";
|
|
152
|
+
readonly FirstSeen: "first_seen";
|
|
153
|
+
readonly FirstSeen2: "-first_seen";
|
|
148
154
|
readonly FirstSeenAt: "first_seen_at";
|
|
149
155
|
readonly FirstSeenAt2: "-first_seen_at";
|
|
150
156
|
};
|