MCPcopy
hub / github.com/uselotus/lotus / components

Interface components

frontend/src/gen-types.ts:407–7233  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

405export type webhooks = Record<string, never>;
406
407export interface components {
408 schemas: {
409 APIToken: {
410 /** @description A free-form name for the API key. Need not be unique. 50 characters max. */
411 name?: string;
412 prefix: string;
413 /**
414 * Expires
415 * Format: date-time
416 * @description Once API key expires, clients cannot use it anymore.
417 */
418 expiry_date?: string | null;
419 /** Format: date-time */
420 created: string;
421 };
422 APITokenCreateResponse: {
423 api_key: components["schemas"]["APIToken"];
424 key: string;
425 };
426 APITokenRequest: {
427 /** @description A free-form name for the API key. Need not be unique. 50 characters max. */
428 name?: string;
429 /**
430 * Expires
431 * Format: date-time
432 * @description Once API key expires, clients cannot use it anymore.
433 */
434 expiry_date?: string | null;
435 };
436 APITokenRollResponse: {
437 api_key: components["schemas"]["APIToken"];
438 key: string;
439 };
440 AccessMethodsSubscriptionRecord: {
441 /**
442 * Format: date-time
443 * @description The time the subscription starts. This will be a string in yyyy-mm-dd HH:mm:ss format in UTC time.
444 */
445 start_date: string;
446 /**
447 * Format: date-time
448 * @description The time the subscription starts. This will be a string in yyyy-mm-dd HH:mm:ss format in UTC time.
449 */
450 end_date: string;
451 subscription_filters: (components["schemas"]["SubscriptionFilter"])[];
452 plan: components["schemas"]["LightweightPlanVersion"];
453 };
454 /** @description DRF serializer for :class:`~activity.models.Action`. */
455 Action: {
456 id: number;
457 actor: string;
458 verb: string;
459 action_object: string;
460 target: string;
461 public?: boolean;
462 description?: string | null;
463 /** Format: date-time */
464 timestamp?: string;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected