← Technical API reference

Frontend module · STATIC DECLARATIONS

Token Queue Api client API reference · mansoq-web-teleicu

8 client route/call declarations with path parameters, named payload/response types and source references. Exact server acceptance and permissions require the matched backend contract.

Static API contract — behavior review pending. Source baseline f6e9f05f76d4.

Enable JavaScript to inspect structured operation, parameter, schema and permission evidence. Download this reference and its evidence.

Client contract scope

These 8 declarations come from repositories/teleicu/mansoq-web-teleicu/src/types/tokens/tokenQueue/tokenQueueApi.ts. Client types and noAuth flags describe the caller; they do not authorize a server action. Dynamic paths and missing backend matches are retained as review work, not repaired into invented endpoints.

Operation map

Client method HTTP method Path pattern Resolution
default.list GET /api/v1/facility/{facility_id}/token/queue/ literal
default.get GET /api/v1/facility/{facility_id}/token/queue/{id}/ literal
default.create POST /api/v1/facility/{facility_id}/token/queue/ literal
default.update PUT /api/v1/facility/{facility_id}/token/queue/{id}/ literal
default.setPrimary POST /api/v1/facility/{facility_id}/token/queue/{id}/set_primary/ literal
default.generateToken POST /api/v1/facility/{facility_id}/token/queue/generate_token/ literal
default.setNextTokenToSubQueue POST /api/v1/facility/{facility_id}/token/queue/{id}/set_next_token_to_subqueue/ literal
default.summary GET /api/v1/facility/{facility_id}/token/queue/{id}/summary/ literal

default.list

GET /api/v1/facility/{facility_id}/token/queue/. typed route object; literal. multiple static method/path matches across source registrations; installed target and boundary require review.

Path parameters: facility_id. Transport strings are declared here; semantic identifier types require the server contract.

response type: PaginatedResponse<TokenQueueRead>. client-side declaration; not proof of accepted server payload.

PaginatedResponse declared fields:

Field Type Required Description
count number true —
results TItem[] true —

TokenQueueRead declared fields:

Field Type Required Description
system_generated boolean true —

Composed/inherited schema references: TokenQueue. Exact generic composition is retained in the structured reference and requires server-side confirmation.

Operational limitation: request validation, permission checks, error statuses and irreversible side effects belong to the server implementation. An unmatched or computed client route requires contract review before use.

default.get

GET /api/v1/facility/{facility_id}/token/queue/{id}/. typed route object; literal. multiple static method/path matches across source registrations; installed target and boundary require review.

Path parameters: facility_id, id. Transport strings are declared here; semantic identifier types require the server contract.

response type: TokenQueueRetrieveSpec. client-side declaration; not proof of accepted server payload.

TokenQueueRetrieveSpec declared fields:

Field Type Required Description
created_by UserReadMinimal true —
updated_by UserReadMinimal true —

Composed/inherited schema references: TokenQueueRead. Exact generic composition is retained in the structured reference and requires server-side confirmation.

Operational limitation: request validation, permission checks, error statuses and irreversible side effects belong to the server implementation. An unmatched or computed client route requires contract review before use.

default.create

POST /api/v1/facility/{facility_id}/token/queue/. typed route object; literal. multiple static method/path matches across source registrations; installed target and boundary require review.

Path parameters: facility_id. Transport strings are declared here; semantic identifier types require the server contract.

request type: TokenQueueCreate. client-side declaration; not proof of accepted server payload.

TokenQueueCreate declared fields:

Field Type Required Description
resource_type SchedulableResourceType true —
resource_id string true —

Composed/inherited schema references: TokenQueue. Exact generic composition is retained in the structured reference and requires server-side confirmation.

response type: TokenQueueRead. client-side declaration; not proof of accepted server payload.

Operational limitation: request validation, permission checks, error statuses and irreversible side effects belong to the server implementation. An unmatched or computed client route requires contract review before use.

default.update

PUT /api/v1/facility/{facility_id}/token/queue/{id}/. typed route object; literal. multiple static method/path matches across source registrations; installed target and boundary require review.

Path parameters: facility_id, id. Transport strings are declared here; semantic identifier types require the server contract.

request type: TokenQueueUpdate. client-side declaration; not proof of accepted server payload.

TokenQueueUpdate declared fields:

Field Type Required Description
name string true —

response type: TokenQueueRead. client-side declaration; not proof of accepted server payload.

Operational limitation: request validation, permission checks, error statuses and irreversible side effects belong to the server implementation. An unmatched or computed client route requires contract review before use.

default.setPrimary

POST /api/v1/facility/{facility_id}/token/queue/{id}/set_primary/. typed route object; literal. multiple static method/path matches across source registrations; installed target and boundary require review.

Path parameters: facility_id, id. Transport strings are declared here; semantic identifier types require the server contract.

response type: TokenQueueRead. client-side declaration; not proof of accepted server payload.

Operational limitation: request validation, permission checks, error statuses and irreversible side effects belong to the server implementation. An unmatched or computed client route requires contract review before use.

default.generateToken

POST /api/v1/facility/{facility_id}/token/queue/generate_token/. typed route object; literal. multiple static method/path matches across source registrations; installed target and boundary require review.

Path parameters: facility_id. Transport strings are declared here; semantic identifier types require the server contract.

request type: TokenGenerateWithQueue. client-side declaration; not proof of accepted server payload.

TokenGenerateWithQueue declared fields:

Field Type Required Description
resource_type SchedulableResourceType true —
resource_id string true —
date string true —

Composed/inherited schema references: TokenGenerate. Exact generic composition is retained in the structured reference and requires server-side confirmation.

response type: TokenRead. client-side declaration; not proof of accepted server payload.

TokenRead declared fields:

Field Type Required Description
category TokenCategoryRead true —
sub_queue TokenSubQueueRead false —
note string true —
patient PatientListRead false —
number number true —
status TokenStatus true —
queue TokenQueueRead true —

Composed/inherited schema references: Token. Exact generic composition is retained in the structured reference and requires server-side confirmation.

Operational limitation: request validation, permission checks, error statuses and irreversible side effects belong to the server implementation. An unmatched or computed client route requires contract review before use.

default.setNextTokenToSubQueue

POST /api/v1/facility/{facility_id}/token/queue/{id}/set_next_token_to_subqueue/. typed route object; literal. multiple static method/path matches across source registrations; installed target and boundary require review.

Path parameters: facility_id, id. Transport strings are declared here; semantic identifier types require the server contract.

request type: object. client-side declaration; not proof of accepted server payload.

default.setNextTokenToSubQueue.request declared fields:

Field Type Required Description
sub_queue string true —
category string false —

response type: TokenRead. client-side declaration; not proof of accepted server payload.

Operational limitation: request validation, permission checks, error statuses and irreversible side effects belong to the server implementation. An unmatched or computed client route requires contract review before use.

default.summary

GET /api/v1/facility/{facility_id}/token/queue/{id}/summary/. typed route object; literal. multiple static method/path matches across source registrations; installed target and boundary require review.

Path parameters: facility_id, id. Transport strings are declared here; semantic identifier types require the server contract.

response type: TokenQueueSummary. client-side declaration; not proof of accepted server payload.

Operational limitation: request validation, permission checks, error statuses and irreversible side effects belong to the server implementation. An unmatched or computed client route requires contract review before use.

Pinned source evidence

Links require access to the private source repository.