6989a98d75
- Arkitektur: docs/auth/passwordless-architecture.md - Backend: iom/quixzoom-auth-service/ (FastAPI + Redis) - Webb: quixzoom-market-pages/se/login/ (QR-kod + polling) - App: iom/quixzoom-app/src/features/auth/ (push + deep links) Flöde: QR-kod → app-godkännande → webb-inloggad
31 lines
1.2 KiB
JavaScript
31 lines
1.2 KiB
JavaScript
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
import { APIResource } from "../core/resource.mjs";
|
|
import { Page } from "../core/pagination.mjs";
|
|
import { path } from "../internal/utils/path.mjs";
|
|
/**
|
|
* List and describe the various models available in the API.
|
|
*/
|
|
export class Models extends APIResource {
|
|
/**
|
|
* Retrieves a model instance, providing basic information about the model such as
|
|
* the owner and permissioning.
|
|
*/
|
|
retrieve(model, options) {
|
|
return this._client.get(path `/models/${model}`, { ...options, __security: { bearerAuth: true } });
|
|
}
|
|
/**
|
|
* Lists the currently available models, and provides basic information about each
|
|
* one such as the owner and availability.
|
|
*/
|
|
list(options) {
|
|
return this._client.getAPIList('/models', (Page), { ...options, __security: { bearerAuth: true } });
|
|
}
|
|
/**
|
|
* Delete a fine-tuned model. You must have the Owner role in your organization to
|
|
* delete a model.
|
|
*/
|
|
delete(model, options) {
|
|
return this._client.delete(path `/models/${model}`, { ...options, __security: { bearerAuth: true } });
|
|
}
|
|
}
|
|
//# sourceMappingURL=models.mjs.map
|