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
23 lines
726 B
JavaScript
23 lines
726 B
JavaScript
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
import { APIResource } from "../../core/resource.mjs";
|
|
export class InputTokens extends APIResource {
|
|
/**
|
|
* Returns input token counts of the request.
|
|
*
|
|
* Returns an object with `object` set to `response.input_tokens` and an
|
|
* `input_tokens` count.
|
|
*
|
|
* @example
|
|
* ```ts
|
|
* const response = await client.responses.inputTokens.count();
|
|
* ```
|
|
*/
|
|
count(body = {}, options) {
|
|
return this._client.post('/responses/input_tokens', {
|
|
body,
|
|
...options,
|
|
__security: { bearerAuth: true },
|
|
});
|
|
}
|
|
}
|
|
//# sourceMappingURL=input-tokens.mjs.map
|