{"schemaVersion":"1.0","sourceCommit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca","sourceVisibility":"private","article":{"id":"api-client-mansoq-web-src-types-consent-consentapi-ts","title":"Consent Api client API reference · mansoq-web","summary":"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.","module":"IT & integrations","roles":["IT administrator","Developer","Integration engineer"],"facilities":["All configured facility types"],"kind":"reference","minutes":6,"prerequisites":["Use the API contract from the installed deployment and an authorized synthetic test environment.","Confirm facility/organization scope, action permissions and optional app enablement.","This reference is static source evidence; complete payload, authorization, failure and end-to-end review remains recorded as pending."],"steps":[],"sections":[{"title":"Client contract scope","body":"These 8 declarations come from **repositories/platform/mansoq-web/src/types/consent/consentApi.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."},{"title":"Operation map","body":"| Client method | HTTP method | Path pattern | Resolution |\n| --- | --- | --- | --- |\n| default.create | POST | `/api/v1/patient/{patientId}/consent/` | literal |\n| default.list | GET | `/api/v1/patient/{patientId}/consent/` | literal |\n| default.retrieve | GET | `/api/v1/patient/{patientId}/consent/{id}/` | literal |\n| default.update | PUT | `/api/v1/patient/{patientId}/consent/{id}/` | literal |\n| default.delete | DELETE | `/api/v1/patient/{patientId}/consent/{id}/` | literal |\n| default.addVerification | POST | `/api/v1/patient/{patientId}/consent/{id}/add_verification/` | literal |\n| default.removeVerification | POST | `/api/v1/patient/{patientId}/consent/{id}/remove_verification/` | literal |\n| default.upsert | POST | `/api/v1/patient/{patientId}/consent/upsert/` | literal |"},{"title":"default.create","body":"**POST /api/v1/patient/{patientId}/consent/**. typed route object; literal. multiple static method/path matches across source registrations; installed target and boundary require review.\n\n**Path parameters:** `patientId`. Transport strings are declared here; semantic identifier types require the server contract.\n\n**request type:** `CreateConsentRequest`. client-side declaration; not proof of accepted server payload.\n\nComposed/inherited schema references: ConsentModel. Exact generic composition is retained in the structured reference and requires server-side confirmation.\n\n**response type:** `ConsentModel`. client-side declaration; not proof of accepted server payload.\n\n**ConsentModel declared fields:**\n\n| Field | Type | Required | Description |\n| --- | --- | --- | --- |\n| id | string | true | — |\n| external_id | string | true | — |\n| status | ConsentStatus | true | — |\n| category | ConsentCategory | true | — |\n| date | Date | true | — |\n| period | ConsentPeriod | true | — |\n| encounter | string | true | — |\n| decision | ConsentDecision | true | — |\n| source_attachments | FileRead[] | true | — |\n| verification_details | ConsentVerification[] | true | — |\n| note | string | false | — |\n\n**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."},{"title":"default.list","body":"**GET /api/v1/patient/{patientId}/consent/**. typed route object; literal. multiple static method/path matches across source registrations; installed target and boundary require review.\n\n**Path parameters:** `patientId`. Transport strings are declared here; semantic identifier types require the server contract.\n\n**response type:** `ConsentListResponse`. client-side declaration; not proof of accepted server payload.\n\n**ConsentListResponse declared fields:**\n\n| Field | Type | Required | Description |\n| --- | --- | --- | --- |\n| count | number | true | — |\n| next | string \\| null | true | — |\n| previous | string \\| null | true | — |\n| results | ConsentModel[] | true | — |\n\n**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."},{"title":"default.retrieve","body":"**GET /api/v1/patient/{patientId}/consent/{id}/**. typed route object; literal. multiple static method/path matches across source registrations; installed target and boundary require review.\n\n**Path parameters:** `patientId`, `id`. Transport strings are declared here; semantic identifier types require the server contract.\n\n**response type:** `ConsentModel`. client-side declaration; not proof of accepted server payload.\n\n**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."},{"title":"default.update","body":"**PUT /api/v1/patient/{patientId}/consent/{id}/**. typed route object; literal. multiple static method/path matches across source registrations; installed target and boundary require review.\n\n**Path parameters:** `patientId`, `id`. Transport strings are declared here; semantic identifier types require the server contract.\n\n**request type:** `UpdateConsentRequest`. client-side declaration; not proof of accepted server payload.\n\nComposed/inherited schema references: CreateConsentRequest. Exact generic composition is retained in the structured reference and requires server-side confirmation.\n\n**response type:** `ConsentModel`. client-side declaration; not proof of accepted server payload.\n\n**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."},{"title":"default.delete","body":"**DELETE /api/v1/patient/{patientId}/consent/{id}/**. HTTP option object; client/server ownership review pending; literal. multiple static method/path matches across source registrations; installed target and boundary require review.\n\n**Path parameters:** `patientId`, `id`. Transport strings are declared here; semantic identifier types require the server contract.\n\n**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."},{"title":"default.addVerification","body":"**POST /api/v1/patient/{patientId}/consent/{id}/add_verification/**. typed route object; literal. multiple static method/path matches across source registrations; installed target and boundary require review.\n\n**Path parameters:** `patientId`, `id`. Transport strings are declared here; semantic identifier types require the server contract.\n\n**request type:** `object`. client-side declaration; not proof of accepted server payload.\n\n**default.addVerification.request declared fields:**\n\n| Field | Type | Required | Description |\n| --- | --- | --- | --- |\n| verification_type | VerificationType | true | — |\n| verified | boolean | true | — |\n| note | string | false | — |\n\n**response type:** `ConsentModel`. client-side declaration; not proof of accepted server payload.\n\n**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."},{"title":"default.removeVerification","body":"**POST /api/v1/patient/{patientId}/consent/{id}/remove_verification/**. typed route object; literal. multiple static method/path matches across source registrations; installed target and boundary require review.\n\n**Path parameters:** `patientId`, `id`. Transport strings are declared here; semantic identifier types require the server contract.\n\n**request type:** `object`. client-side declaration; not proof of accepted server payload.\n\n**default.removeVerification.request declared fields:**\n\n| Field | Type | Required | Description |\n| --- | --- | --- | --- |\n| verification_id | string | true | — |\n\n**response type:** `ConsentModel`. client-side declaration; not proof of accepted server payload.\n\n**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."},{"title":"default.upsert","body":"**POST /api/v1/patient/{patientId}/consent/upsert/**. typed route object; literal. multiple static method/path matches across source registrations; installed target and boundary require review.\n\n**Path parameters:** `patientId`. Transport strings are declared here; semantic identifier types require the server contract.\n\n**request type:** `CreateConsentRequest`. client-side declaration; not proof of accepted server payload.\n\n**response type:** `ConsentModel`. client-side declaration; not proof of accepted server payload.\n\n**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."}],"troubleshooting":[{"problem":"A declared route is unavailable or a request is rejected","solution":"Compare the installed revision, actual API schema, optional plugin mount, HTTP-method restrictions and recorded validation/permission evidence. Do not bypass a refusal or send a production transaction to test documentation."}],"sources":[{"path":"repositories/platform/mansoq-web/src/types/consent/consentApi.ts","line":11,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},{"path":"repositories/platform/mansoq-web/src/types/consent/consentApi.ts","line":17,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},{"path":"repositories/platform/mansoq-web/src/types/consent/consentApi.ts","line":22,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},{"path":"repositories/platform/mansoq-web/src/types/consent/consentApi.ts","line":27,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},{"path":"repositories/platform/mansoq-web/src/types/consent/consentApi.ts","line":33,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},{"path":"repositories/platform/mansoq-web/src/types/consent/consentApi.ts","line":37,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},{"path":"repositories/platform/mansoq-web/src/types/consent/consentApi.ts","line":47,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},{"path":"repositories/platform/mansoq-web/src/types/consent/consentApi.ts","line":53,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},{"path":"repositories/platform/mansoq-web/src/types/consent/consent.ts","line":59,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},{"path":"repositories/platform/mansoq-web/src/types/consent/consent.ts","line":45,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},{"path":"repositories/platform/mansoq-web/src/types/consent/consent.ts","line":65,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},{"path":"repositories/platform/mansoq-web/src/types/consent/consent.ts","line":61,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},{"path":"repositories/platform/mansoq-web/src/types/consent/consent.ts","line":27,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},{"path":"repositories/platform/mansoq-web/src/types/consent/consentApi.ts","line":41,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},{"path":"repositories/platform/mansoq-web/src/types/consent/consentApi.ts","line":51,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}],"related":["it-api-contract","it-api-auth","security-rcm-roles"],"verification":"Static API contract — behavior review pending","version":"f6e9f05f76d4","apiReferenceIds":["frontend-operation-f1523ce706a9483a14","frontend-operation-8ae3576dcbf5afdb01","frontend-operation-39c0efb8def2754173","frontend-operation-486c48eacf553ee0c9","frontend-operation-b1ffffaca3f493f562","frontend-operation-a5b432b6fa959b55ee","frontend-operation-bf5a6d187f259d3e51","frontend-operation-14bde426473bd91178"]},"backend":{"resources":[],"operations":[],"methodEvidence":[],"schemas":[],"frameworkSettings":[]},"frontend":{"operations":[{"id":"frontend-operation-f1523ce706a9483a14","repository":"repositories/platform/mansoq-web","apiModule":"repositories/platform/mansoq-web/src/types/consent/consentApi.ts","operationKey":"default.create","method":"POST","path":"/api/v1/patient/{patientId}/consent/","resolution":"literal","originOmitted":false,"source":{"path":"repositories/platform/mansoq-web/src/types/consent/consentApi.ts","line":11,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"description":"","pathParameters":[{"name":"patientId","type":"path string; semantic ID type requires contract confirmation","required":true}],"declaredQueryParameters":[],"request":{"type":"CreateConsentRequest","schemaIds":["repositories/platform/mansoq-web/src/types/consent/consent.ts#CreateConsentRequest"],"source":{"path":"repositories/platform/mansoq-web/src/types/consent/consentApi.ts","line":15,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"reviewStatus":"client-side declaration; not proof of accepted server payload"},"response":{"type":"ConsentModel","schemaIds":["repositories/platform/mansoq-web/src/types/consent/consent.ts#ConsentModel"],"source":{"path":"repositories/platform/mansoq-web/src/types/consent/consentApi.ts","line":14,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"reviewStatus":"client-side declaration; not proof of accepted server payload"},"query":null,"clientNoAuth":null,"contractKind":"typed route object","reviewStatus":"client contract extracted; runtime behavior and authorization review pending","backendOperationIds":["backend-resource-bd52aa7bbe9f6da1:POST:create","backend-resource-9af829f792b91436:POST:create"],"sourceFamily":"primary frontend","backendMatchStatus":"multiple static method/path matches across source registrations; installed target and boundary require review"},{"id":"frontend-operation-8ae3576dcbf5afdb01","repository":"repositories/platform/mansoq-web","apiModule":"repositories/platform/mansoq-web/src/types/consent/consentApi.ts","operationKey":"default.list","method":"GET","path":"/api/v1/patient/{patientId}/consent/","resolution":"literal","originOmitted":false,"source":{"path":"repositories/platform/mansoq-web/src/types/consent/consentApi.ts","line":17,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"description":"","pathParameters":[{"name":"patientId","type":"path string; semantic ID type requires contract confirmation","required":true}],"declaredQueryParameters":[],"request":null,"response":{"type":"ConsentListResponse","schemaIds":["repositories/platform/mansoq-web/src/types/consent/consent.ts#ConsentListResponse"],"source":{"path":"repositories/platform/mansoq-web/src/types/consent/consentApi.ts","line":20,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"reviewStatus":"client-side declaration; not proof of accepted server payload"},"query":null,"clientNoAuth":null,"contractKind":"typed route object","reviewStatus":"client contract extracted; runtime behavior and authorization review pending","backendOperationIds":["backend-resource-bd52aa7bbe9f6da1:GET:list","backend-resource-9af829f792b91436:GET:list"],"sourceFamily":"primary frontend","backendMatchStatus":"multiple static method/path matches across source registrations; installed target and boundary require review"},{"id":"frontend-operation-39c0efb8def2754173","repository":"repositories/platform/mansoq-web","apiModule":"repositories/platform/mansoq-web/src/types/consent/consentApi.ts","operationKey":"default.retrieve","method":"GET","path":"/api/v1/patient/{patientId}/consent/{id}/","resolution":"literal","originOmitted":false,"source":{"path":"repositories/platform/mansoq-web/src/types/consent/consentApi.ts","line":22,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"description":"","pathParameters":[{"name":"patientId","type":"path string; semantic ID type requires contract confirmation","required":true},{"name":"id","type":"path string; semantic ID type requires contract confirmation","required":true}],"declaredQueryParameters":[],"request":null,"response":{"type":"ConsentModel","schemaIds":["repositories/platform/mansoq-web/src/types/consent/consent.ts#ConsentModel"],"source":{"path":"repositories/platform/mansoq-web/src/types/consent/consentApi.ts","line":25,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"reviewStatus":"client-side declaration; not proof of accepted server payload"},"query":null,"clientNoAuth":null,"contractKind":"typed route object","reviewStatus":"client contract extracted; runtime behavior and authorization review pending","backendOperationIds":["backend-resource-bd52aa7bbe9f6da1:GET:retrieve","backend-resource-9af829f792b91436:GET:retrieve"],"sourceFamily":"primary frontend","backendMatchStatus":"multiple static method/path matches across source registrations; installed target and boundary require review"},{"id":"frontend-operation-486c48eacf553ee0c9","repository":"repositories/platform/mansoq-web","apiModule":"repositories/platform/mansoq-web/src/types/consent/consentApi.ts","operationKey":"default.update","method":"PUT","path":"/api/v1/patient/{patientId}/consent/{id}/","resolution":"literal","originOmitted":false,"source":{"path":"repositories/platform/mansoq-web/src/types/consent/consentApi.ts","line":27,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"description":"","pathParameters":[{"name":"patientId","type":"path string; semantic ID type requires contract confirmation","required":true},{"name":"id","type":"path string; semantic ID type requires contract confirmation","required":true}],"declaredQueryParameters":[],"request":{"type":"UpdateConsentRequest","schemaIds":["repositories/platform/mansoq-web/src/types/consent/consent.ts#UpdateConsentRequest"],"source":{"path":"repositories/platform/mansoq-web/src/types/consent/consentApi.ts","line":31,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"reviewStatus":"client-side declaration; not proof of accepted server payload"},"response":{"type":"ConsentModel","schemaIds":["repositories/platform/mansoq-web/src/types/consent/consent.ts#ConsentModel"],"source":{"path":"repositories/platform/mansoq-web/src/types/consent/consentApi.ts","line":30,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"reviewStatus":"client-side declaration; not proof of accepted server payload"},"query":null,"clientNoAuth":null,"contractKind":"typed route object","reviewStatus":"client contract extracted; runtime behavior and authorization review pending","backendOperationIds":["backend-resource-bd52aa7bbe9f6da1:PUT:update","backend-resource-9af829f792b91436:PUT:update"],"sourceFamily":"primary frontend","backendMatchStatus":"multiple static method/path matches across source registrations; installed target and boundary require review"},{"id":"frontend-operation-b1ffffaca3f493f562","repository":"repositories/platform/mansoq-web","apiModule":"repositories/platform/mansoq-web/src/types/consent/consentApi.ts","operationKey":"default.delete","method":"DELETE","path":"/api/v1/patient/{patientId}/consent/{id}/","resolution":"literal","originOmitted":false,"source":{"path":"repositories/platform/mansoq-web/src/types/consent/consentApi.ts","line":33,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"description":"","pathParameters":[{"name":"patientId","type":"path string; semantic ID type requires contract confirmation","required":true},{"name":"id","type":"path string; semantic ID type requires contract confirmation","required":true}],"declaredQueryParameters":[],"request":null,"response":null,"query":null,"clientNoAuth":null,"contractKind":"HTTP option object; client/server ownership review pending","reviewStatus":"client contract extracted; runtime behavior and authorization review pending","backendOperationIds":["backend-resource-bd52aa7bbe9f6da1:DELETE:destroy","backend-resource-9af829f792b91436:DELETE:destroy"],"sourceFamily":"primary frontend","backendMatchStatus":"multiple static method/path matches across source registrations; installed target and boundary require review"},{"id":"frontend-operation-a5b432b6fa959b55ee","repository":"repositories/platform/mansoq-web","apiModule":"repositories/platform/mansoq-web/src/types/consent/consentApi.ts","operationKey":"default.addVerification","method":"POST","path":"/api/v1/patient/{patientId}/consent/{id}/add_verification/","resolution":"literal","originOmitted":false,"source":{"path":"repositories/platform/mansoq-web/src/types/consent/consentApi.ts","line":37,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"description":"","pathParameters":[{"name":"patientId","type":"path string; semantic ID type requires contract confirmation","required":true},{"name":"id","type":"path string; semantic ID type requires contract confirmation","required":true}],"declaredQueryParameters":[],"request":{"type":"object","schemaIds":["repositories/platform/mansoq-web/src/types/consent/consent.ts#VerificationType","repositories/platform/mansoq-web/src/types/consent/consentApi.ts#default.addVerification.request"],"source":{"path":"repositories/platform/mansoq-web/src/types/consent/consentApi.ts","line":41,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"reviewStatus":"client-side declaration; not proof of accepted server payload"},"response":{"type":"ConsentModel","schemaIds":["repositories/platform/mansoq-web/src/types/consent/consent.ts#ConsentModel"],"source":{"path":"repositories/platform/mansoq-web/src/types/consent/consentApi.ts","line":40,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"reviewStatus":"client-side declaration; not proof of accepted server payload"},"query":null,"clientNoAuth":null,"contractKind":"typed route object","reviewStatus":"client contract extracted; runtime behavior and authorization review pending","backendOperationIds":["backend-resource-bd52aa7bbe9f6da1:POST:add_verification","backend-resource-9af829f792b91436:POST:add_verification"],"sourceFamily":"primary frontend","backendMatchStatus":"multiple static method/path matches across source registrations; installed target and boundary require review"},{"id":"frontend-operation-bf5a6d187f259d3e51","repository":"repositories/platform/mansoq-web","apiModule":"repositories/platform/mansoq-web/src/types/consent/consentApi.ts","operationKey":"default.removeVerification","method":"POST","path":"/api/v1/patient/{patientId}/consent/{id}/remove_verification/","resolution":"literal","originOmitted":false,"source":{"path":"repositories/platform/mansoq-web/src/types/consent/consentApi.ts","line":47,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"description":"","pathParameters":[{"name":"patientId","type":"path string; semantic ID type requires contract confirmation","required":true},{"name":"id","type":"path string; semantic ID type requires contract confirmation","required":true}],"declaredQueryParameters":[],"request":{"type":"object","schemaIds":["repositories/platform/mansoq-web/src/types/consent/consentApi.ts#default.removeVerification.request"],"source":{"path":"repositories/platform/mansoq-web/src/types/consent/consentApi.ts","line":51,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"reviewStatus":"client-side declaration; not proof of accepted server payload"},"response":{"type":"ConsentModel","schemaIds":["repositories/platform/mansoq-web/src/types/consent/consent.ts#ConsentModel"],"source":{"path":"repositories/platform/mansoq-web/src/types/consent/consentApi.ts","line":50,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"reviewStatus":"client-side declaration; not proof of accepted server payload"},"query":null,"clientNoAuth":null,"contractKind":"typed route object","reviewStatus":"client contract extracted; runtime behavior and authorization review pending","backendOperationIds":["backend-resource-bd52aa7bbe9f6da1:POST:remove_verification","backend-resource-9af829f792b91436:POST:remove_verification"],"sourceFamily":"primary frontend","backendMatchStatus":"multiple static method/path matches across source registrations; installed target and boundary require review"},{"id":"frontend-operation-14bde426473bd91178","repository":"repositories/platform/mansoq-web","apiModule":"repositories/platform/mansoq-web/src/types/consent/consentApi.ts","operationKey":"default.upsert","method":"POST","path":"/api/v1/patient/{patientId}/consent/upsert/","resolution":"literal","originOmitted":false,"source":{"path":"repositories/platform/mansoq-web/src/types/consent/consentApi.ts","line":53,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"description":"","pathParameters":[{"name":"patientId","type":"path string; semantic ID type requires contract confirmation","required":true}],"declaredQueryParameters":[],"request":{"type":"CreateConsentRequest","schemaIds":["repositories/platform/mansoq-web/src/types/consent/consent.ts#CreateConsentRequest"],"source":{"path":"repositories/platform/mansoq-web/src/types/consent/consentApi.ts","line":57,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"reviewStatus":"client-side declaration; not proof of accepted server payload"},"response":{"type":"ConsentModel","schemaIds":["repositories/platform/mansoq-web/src/types/consent/consent.ts#ConsentModel"],"source":{"path":"repositories/platform/mansoq-web/src/types/consent/consentApi.ts","line":56,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"reviewStatus":"client-side declaration; not proof of accepted server payload"},"query":null,"clientNoAuth":null,"contractKind":"typed route object","reviewStatus":"client contract extracted; runtime behavior and authorization review pending","backendOperationIds":["backend-resource-bd52aa7bbe9f6da1:POST:upsert","backend-resource-9af829f792b91436:POST:upsert"],"sourceFamily":"primary frontend","backendMatchStatus":"multiple static method/path matches across source registrations; installed target and boundary require review"}],"schemas":[{"id":"repositories/platform/mansoq-web/src/types/consent/consent.ts#CreateConsentRequest","name":"CreateConsentRequest","kind":"TypeAliasDeclaration","description":"","source":{"path":"repositories/platform/mansoq-web/src/types/consent/consent.ts","line":59,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"typeParameters":[],"fields":[],"baseSchemaIds":["repositories/platform/mansoq-web/src/types/consent/consent.ts#ConsentModel"],"reviewStatus":"declared TypeScript fields extracted; server payload/validation review pending","expression":"Omit<ConsentModel, \"id\" | \"external_id\">"},{"id":"repositories/platform/mansoq-web/src/types/consent/consent.ts#ConsentModel","name":"ConsentModel","kind":"InterfaceDeclaration","description":"","source":{"path":"repositories/platform/mansoq-web/src/types/consent/consent.ts","line":45,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"typeParameters":[],"fields":[{"name":"id","type":"string","required":true,"readOnly":false,"hasInitializer":false,"description":"","source":{"path":"repositories/platform/mansoq-web/src/types/consent/consent.ts","line":46,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"schemaIds":[]},{"name":"external_id","type":"string","required":true,"readOnly":false,"hasInitializer":false,"description":"","source":{"path":"repositories/platform/mansoq-web/src/types/consent/consent.ts","line":47,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"schemaIds":[]},{"name":"status","type":"ConsentStatus","required":true,"readOnly":false,"hasInitializer":false,"description":"","source":{"path":"repositories/platform/mansoq-web/src/types/consent/consent.ts","line":48,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"schemaIds":["repositories/platform/mansoq-web/src/types/consent/consent.ts#ConsentStatus"]},{"name":"category","type":"ConsentCategory","required":true,"readOnly":false,"hasInitializer":false,"description":"","source":{"path":"repositories/platform/mansoq-web/src/types/consent/consent.ts","line":49,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"schemaIds":["repositories/platform/mansoq-web/src/types/consent/consent.ts#ConsentCategory"]},{"name":"date","type":"Date","required":true,"readOnly":false,"hasInitializer":false,"description":"","source":{"path":"repositories/platform/mansoq-web/src/types/consent/consent.ts","line":50,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"schemaIds":[]},{"name":"period","type":"ConsentPeriod","required":true,"readOnly":false,"hasInitializer":false,"description":"","source":{"path":"repositories/platform/mansoq-web/src/types/consent/consent.ts","line":51,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"schemaIds":["repositories/platform/mansoq-web/src/types/consent/consent.ts#ConsentPeriod"]},{"name":"encounter","type":"string","required":true,"readOnly":false,"hasInitializer":false,"description":"","source":{"path":"repositories/platform/mansoq-web/src/types/consent/consent.ts","line":52,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"schemaIds":[]},{"name":"decision","type":"ConsentDecision","required":true,"readOnly":false,"hasInitializer":false,"description":"","source":{"path":"repositories/platform/mansoq-web/src/types/consent/consent.ts","line":53,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"schemaIds":["repositories/platform/mansoq-web/src/types/consent/consent.ts#ConsentDecision"]},{"name":"source_attachments","type":"FileRead[]","required":true,"readOnly":false,"hasInitializer":false,"description":"","source":{"path":"repositories/platform/mansoq-web/src/types/consent/consent.ts","line":54,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"schemaIds":["repositories/platform/mansoq-web/src/types/files/file.ts#FileRead"]},{"name":"verification_details","type":"ConsentVerification[]","required":true,"readOnly":false,"hasInitializer":false,"description":"","source":{"path":"repositories/platform/mansoq-web/src/types/consent/consent.ts","line":55,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"schemaIds":["repositories/platform/mansoq-web/src/types/consent/consent.ts#ConsentVerification"]},{"name":"note","type":"string","required":false,"readOnly":false,"hasInitializer":false,"description":"","source":{"path":"repositories/platform/mansoq-web/src/types/consent/consent.ts","line":56,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"schemaIds":[]}],"baseSchemaIds":[],"reviewStatus":"declared TypeScript fields extracted; server payload/validation review pending","baseTypes":[]},{"id":"repositories/platform/mansoq-web/src/types/consent/consent.ts#ConsentStatus","name":"ConsentStatus","kind":"TypeAliasDeclaration","description":"","source":{"path":"repositories/platform/mansoq-web/src/types/consent/consent.ts","line":23,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"typeParameters":[],"fields":[],"baseSchemaIds":[],"reviewStatus":"declared TypeScript fields extracted; server payload/validation review pending","expression":"(typeof CONSENT_STATUSES)[number]"},{"id":"repositories/platform/mansoq-web/src/types/consent/consent.ts#ConsentCategory","name":"ConsentCategory","kind":"TypeAliasDeclaration","description":"","source":{"path":"repositories/platform/mansoq-web/src/types/consent/consent.ts","line":13,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"typeParameters":[],"fields":[],"baseSchemaIds":[],"reviewStatus":"declared TypeScript fields extracted; server payload/validation review pending","expression":"(typeof CONSENT_CATEGORIES)[number]"},{"id":"repositories/platform/mansoq-web/src/types/consent/consent.ts#ConsentPeriod","name":"ConsentPeriod","kind":"InterfaceDeclaration","description":"","source":{"path":"repositories/platform/mansoq-web/src/types/consent/consent.ts","line":33,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"typeParameters":[],"fields":[{"name":"start","type":"Date | null","required":true,"readOnly":false,"hasInitializer":false,"description":"","source":{"path":"repositories/platform/mansoq-web/src/types/consent/consent.ts","line":34,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"schemaIds":[]},{"name":"end","type":"Date | null","required":true,"readOnly":false,"hasInitializer":false,"description":"","source":{"path":"repositories/platform/mansoq-web/src/types/consent/consent.ts","line":35,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"schemaIds":[]}],"baseSchemaIds":[],"reviewStatus":"declared TypeScript fields extracted; server payload/validation review pending","baseTypes":[]},{"id":"repositories/platform/mansoq-web/src/types/consent/consent.ts#ConsentDecision","name":"ConsentDecision","kind":"TypeAliasDeclaration","description":"","source":{"path":"repositories/platform/mansoq-web/src/types/consent/consent.ts","line":31,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"typeParameters":[],"fields":[],"baseSchemaIds":[],"reviewStatus":"declared TypeScript fields extracted; server payload/validation review pending","expression":"(typeof CONSENT_DECISIONS)[number]"},{"id":"repositories/platform/mansoq-web/src/types/files/file.ts#FileRead","name":"FileRead","kind":"InterfaceDeclaration","description":"","source":{"path":"repositories/platform/mansoq-web/src/types/files/file.ts","line":53,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"typeParameters":[],"fields":[{"name":"signed_url","type":"string","required":true,"readOnly":false,"hasInitializer":false,"description":"","source":{"path":"repositories/platform/mansoq-web/src/types/files/file.ts","line":54,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"schemaIds":[]},{"name":"read_signed_url","type":"string","required":true,"readOnly":false,"hasInitializer":false,"description":"","source":{"path":"repositories/platform/mansoq-web/src/types/files/file.ts","line":55,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"schemaIds":[]},{"name":"internal_name","type":"string","required":true,"readOnly":false,"hasInitializer":false,"description":"","source":{"path":"repositories/platform/mansoq-web/src/types/files/file.ts","line":56,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"schemaIds":[]}],"baseSchemaIds":["repositories/platform/mansoq-web/src/types/files/file.ts#FileReadMinimal"],"reviewStatus":"declared TypeScript fields extracted; server payload/validation review pending","baseTypes":["FileReadMinimal"]},{"id":"repositories/platform/mansoq-web/src/types/files/file.ts#FileReadMinimal","name":"FileReadMinimal","kind":"InterfaceDeclaration","description":"","source":{"path":"repositories/platform/mansoq-web/src/types/files/file.ts","line":41,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"typeParameters":[],"fields":[{"name":"id","type":"string","required":true,"readOnly":false,"hasInitializer":false,"description":"","source":{"path":"repositories/platform/mansoq-web/src/types/files/file.ts","line":42,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"schemaIds":[]},{"name":"archived_by","type":"UserReadMinimal","required":true,"readOnly":false,"hasInitializer":false,"description":"","source":{"path":"repositories/platform/mansoq-web/src/types/files/file.ts","line":43,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"schemaIds":["repositories/platform/mansoq-web/src/types/user/user.ts#UserReadMinimal"]},{"name":"archived_datetime","type":"string","required":true,"readOnly":false,"hasInitializer":false,"description":"","source":{"path":"repositories/platform/mansoq-web/src/types/files/file.ts","line":44,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"schemaIds":[]},{"name":"upload_completed","type":"boolean","required":true,"readOnly":false,"hasInitializer":false,"description":"","source":{"path":"repositories/platform/mansoq-web/src/types/files/file.ts","line":45,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"schemaIds":[]},{"name":"is_archived","type":"boolean","required":false,"readOnly":false,"hasInitializer":false,"description":"","source":{"path":"repositories/platform/mansoq-web/src/types/files/file.ts","line":46,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"schemaIds":[]},{"name":"archive_reason","type":"string","required":false,"readOnly":false,"hasInitializer":false,"description":"","source":{"path":"repositories/platform/mansoq-web/src/types/files/file.ts","line":47,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"schemaIds":[]},{"name":"created_date","type":"string","required":true,"readOnly":false,"hasInitializer":false,"description":"","source":{"path":"repositories/platform/mansoq-web/src/types/files/file.ts","line":48,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"schemaIds":[]},{"name":"uploaded_by","type":"UserReadMinimal","required":true,"readOnly":false,"hasInitializer":false,"description":"","source":{"path":"repositories/platform/mansoq-web/src/types/files/file.ts","line":49,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"schemaIds":["repositories/platform/mansoq-web/src/types/user/user.ts#UserReadMinimal"]},{"name":"extension","type":"string","required":true,"readOnly":false,"hasInitializer":false,"description":"","source":{"path":"repositories/platform/mansoq-web/src/types/files/file.ts","line":50,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"schemaIds":[]}],"baseSchemaIds":["repositories/platform/mansoq-web/src/types/files/file.ts#FileBase"],"reviewStatus":"declared TypeScript fields extracted; server payload/validation review pending","baseTypes":["FileBase"]},{"id":"repositories/platform/mansoq-web/src/types/files/file.ts#FileBase","name":"FileBase","kind":"InterfaceDeclaration","description":"","source":{"path":"repositories/platform/mansoq-web/src/types/files/file.ts","line":20,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"typeParameters":[],"fields":[{"name":"name","type":"string","required":true,"readOnly":false,"hasInitializer":false,"description":"","source":{"path":"repositories/platform/mansoq-web/src/types/files/file.ts","line":21,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"schemaIds":[]},{"name":"file_type","type":"FileType","required":true,"readOnly":false,"hasInitializer":false,"description":"","source":{"path":"repositories/platform/mansoq-web/src/types/files/file.ts","line":22,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"schemaIds":["repositories/platform/mansoq-web/src/types/files/file.ts#FileType"]},{"name":"file_category","type":"FileCategory","required":true,"readOnly":false,"hasInitializer":false,"description":"","source":{"path":"repositories/platform/mansoq-web/src/types/files/file.ts","line":23,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"schemaIds":["repositories/platform/mansoq-web/src/types/files/file.ts#FileCategory"]},{"name":"associating_id","type":"string","required":true,"readOnly":false,"hasInitializer":false,"description":"","source":{"path":"repositories/platform/mansoq-web/src/types/files/file.ts","line":24,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"schemaIds":[]},{"name":"mime_type","type":"string","required":true,"readOnly":false,"hasInitializer":false,"description":"","source":{"path":"repositories/platform/mansoq-web/src/types/files/file.ts","line":25,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"schemaIds":[]}],"baseSchemaIds":[],"reviewStatus":"declared TypeScript fields extracted; server payload/validation review pending","baseTypes":[]},{"id":"repositories/platform/mansoq-web/src/types/files/file.ts#FileType","name":"FileType","kind":"EnumDeclaration","description":"","source":{"path":"repositories/platform/mansoq-web/src/types/files/file.ts","line":12,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"typeParameters":[],"fields":[],"baseSchemaIds":[],"reviewStatus":"declared TypeScript fields extracted; server payload/validation review pending","members":[{"name":"PATIENT","value":"patient","source":{"path":"repositories/platform/mansoq-web/src/types/files/file.ts","line":13,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}},{"name":"ENCOUNTER","value":"encounter","source":{"path":"repositories/platform/mansoq-web/src/types/files/file.ts","line":14,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}},{"name":"CONSENT","value":"consent","source":{"path":"repositories/platform/mansoq-web/src/types/files/file.ts","line":15,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}},{"name":"DIAGNOSTIC_REPORT","value":"diagnostic_report","source":{"path":"repositories/platform/mansoq-web/src/types/files/file.ts","line":16,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}},{"name":"SERVICE_REQUEST","value":"service_request","source":{"path":"repositories/platform/mansoq-web/src/types/files/file.ts","line":17,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}}]},{"id":"repositories/platform/mansoq-web/src/types/files/file.ts#FileCategory","name":"FileCategory","kind":"EnumDeclaration","description":"","source":{"path":"repositories/platform/mansoq-web/src/types/files/file.ts","line":3,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"typeParameters":[],"fields":[],"baseSchemaIds":[],"reviewStatus":"declared TypeScript fields extracted; server payload/validation review pending","members":[{"name":"UNSPECIFIED","value":"unspecified","source":{"path":"repositories/platform/mansoq-web/src/types/files/file.ts","line":4,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}},{"name":"XRAY","value":"xray","source":{"path":"repositories/platform/mansoq-web/src/types/files/file.ts","line":5,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}},{"name":"AUDIO","value":"audio","source":{"path":"repositories/platform/mansoq-web/src/types/files/file.ts","line":6,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}},{"name":"IDENTITY_PROOF","value":"identity_proof","source":{"path":"repositories/platform/mansoq-web/src/types/files/file.ts","line":7,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}},{"name":"CONSENT_ATTACHMENT","value":"consent_attachment","source":{"path":"repositories/platform/mansoq-web/src/types/files/file.ts","line":8,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}},{"name":"DISCHARGE_SUMMARY","value":"discharge_summary","source":{"path":"repositories/platform/mansoq-web/src/types/files/file.ts","line":9,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}}]},{"id":"repositories/platform/mansoq-web/src/types/user/user.ts#UserReadMinimal","name":"UserReadMinimal","kind":"InterfaceDeclaration","description":"","source":{"path":"repositories/platform/mansoq-web/src/types/user/user.ts","line":22,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"typeParameters":[],"fields":[{"name":"last_login","type":"string","required":true,"readOnly":false,"hasInitializer":false,"description":"","source":{"path":"repositories/platform/mansoq-web/src/types/user/user.ts","line":23,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"schemaIds":[]},{"name":"profile_picture_url","type":"string","required":true,"readOnly":false,"hasInitializer":false,"description":"","source":{"path":"repositories/platform/mansoq-web/src/types/user/user.ts","line":24,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"schemaIds":[]},{"name":"mfa_enabled","type":"boolean","required":true,"readOnly":false,"hasInitializer":false,"description":"","source":{"path":"repositories/platform/mansoq-web/src/types/user/user.ts","line":25,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"schemaIds":[]},{"name":"deleted","type":"boolean","required":true,"readOnly":false,"hasInitializer":false,"description":"","source":{"path":"repositories/platform/mansoq-web/src/types/user/user.ts","line":26,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"schemaIds":[]},{"name":"is_service_account","type":"boolean","required":true,"readOnly":false,"hasInitializer":false,"description":"","source":{"path":"repositories/platform/mansoq-web/src/types/user/user.ts","line":27,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"schemaIds":[]}],"baseSchemaIds":["repositories/platform/mansoq-web/src/types/user/user.ts#UserBase"],"reviewStatus":"declared TypeScript fields extracted; server payload/validation review pending","baseTypes":["UserBase"]},{"id":"repositories/platform/mansoq-web/src/types/user/user.ts#UserBase","name":"UserBase","kind":"InterfaceDeclaration","description":"","source":{"path":"repositories/platform/mansoq-web/src/types/user/user.ts","line":10,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"typeParameters":[],"fields":[{"name":"id","type":"string","required":true,"readOnly":false,"hasInitializer":false,"description":"","source":{"path":"repositories/platform/mansoq-web/src/types/user/user.ts","line":11,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"schemaIds":[]},{"name":"first_name","type":"string","required":true,"readOnly":false,"hasInitializer":false,"description":"","source":{"path":"repositories/platform/mansoq-web/src/types/user/user.ts","line":12,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"schemaIds":[]},{"name":"last_name","type":"string","required":true,"readOnly":false,"hasInitializer":false,"description":"","source":{"path":"repositories/platform/mansoq-web/src/types/user/user.ts","line":13,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"schemaIds":[]},{"name":"username","type":"string","required":true,"readOnly":false,"hasInitializer":false,"description":"","source":{"path":"repositories/platform/mansoq-web/src/types/user/user.ts","line":14,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"schemaIds":[]},{"name":"phone_number","type":"string","required":true,"readOnly":false,"hasInitializer":false,"description":"","source":{"path":"repositories/platform/mansoq-web/src/types/user/user.ts","line":15,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"schemaIds":[]},{"name":"prefix","type":"string | null","required":false,"readOnly":false,"hasInitializer":false,"description":"","source":{"path":"repositories/platform/mansoq-web/src/types/user/user.ts","line":16,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"schemaIds":[]},{"name":"suffix","type":"string | null","required":false,"readOnly":false,"hasInitializer":false,"description":"","source":{"path":"repositories/platform/mansoq-web/src/types/user/user.ts","line":17,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"schemaIds":[]},{"name":"user_type","type":"UserType","required":true,"readOnly":false,"hasInitializer":false,"description":"","source":{"path":"repositories/platform/mansoq-web/src/types/user/user.ts","line":18,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"schemaIds":["repositories/platform/mansoq-web/src/types/user/user.ts#UserType"]},{"name":"gender","type":"(typeof GENDER_TYPES)[number][\"id\"]","required":true,"readOnly":false,"hasInitializer":false,"description":"","source":{"path":"repositories/platform/mansoq-web/src/types/user/user.ts","line":19,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"schemaIds":[]}],"baseSchemaIds":[],"reviewStatus":"declared TypeScript fields extracted; server payload/validation review pending","baseTypes":[]},{"id":"repositories/platform/mansoq-web/src/types/user/user.ts#UserType","name":"UserType","kind":"TypeAliasDeclaration","description":"","source":{"path":"repositories/platform/mansoq-web/src/types/user/user.ts","line":7,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"typeParameters":[],"fields":[],"baseSchemaIds":[],"reviewStatus":"declared TypeScript fields extracted; server payload/validation review pending","expression":"\"doctor\" | \"nurse\" | \"staff\" | \"volunteer\" | \"administrator\""},{"id":"repositories/platform/mansoq-web/src/types/consent/consent.ts#ConsentVerification","name":"ConsentVerification","kind":"InterfaceDeclaration","description":"","source":{"path":"repositories/platform/mansoq-web/src/types/consent/consent.ts","line":38,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"typeParameters":[],"fields":[{"name":"verified","type":"boolean","required":true,"readOnly":false,"hasInitializer":false,"description":"","source":{"path":"repositories/platform/mansoq-web/src/types/consent/consent.ts","line":39,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"schemaIds":[]},{"name":"verified_by","type":"UserReadMinimal","required":true,"readOnly":false,"hasInitializer":false,"description":"","source":{"path":"repositories/platform/mansoq-web/src/types/consent/consent.ts","line":40,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"schemaIds":["repositories/platform/mansoq-web/src/types/user/user.ts#UserReadMinimal"]},{"name":"verification_date","type":"string","required":true,"readOnly":false,"hasInitializer":false,"description":"","source":{"path":"repositories/platform/mansoq-web/src/types/consent/consent.ts","line":41,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"schemaIds":[]},{"name":"verification_type","type":"VerificationType","required":true,"readOnly":false,"hasInitializer":false,"description":"","source":{"path":"repositories/platform/mansoq-web/src/types/consent/consent.ts","line":42,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"schemaIds":["repositories/platform/mansoq-web/src/types/consent/consent.ts#VerificationType"]}],"baseSchemaIds":[],"reviewStatus":"declared TypeScript fields extracted; server payload/validation review pending","baseTypes":[]},{"id":"repositories/platform/mansoq-web/src/types/consent/consent.ts#VerificationType","name":"VerificationType","kind":"TypeAliasDeclaration","description":"","source":{"path":"repositories/platform/mansoq-web/src/types/consent/consent.ts","line":27,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"typeParameters":[],"fields":[],"baseSchemaIds":[],"reviewStatus":"declared TypeScript fields extracted; server payload/validation review pending","expression":"(typeof VERIFICATION_TYPES)[number]"},{"id":"repositories/platform/mansoq-web/src/types/consent/consent.ts#ConsentListResponse","name":"ConsentListResponse","kind":"InterfaceDeclaration","description":"","source":{"path":"repositories/platform/mansoq-web/src/types/consent/consent.ts","line":65,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"typeParameters":[],"fields":[{"name":"count","type":"number","required":true,"readOnly":false,"hasInitializer":false,"description":"","source":{"path":"repositories/platform/mansoq-web/src/types/consent/consent.ts","line":66,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"schemaIds":[]},{"name":"next","type":"string | null","required":true,"readOnly":false,"hasInitializer":false,"description":"","source":{"path":"repositories/platform/mansoq-web/src/types/consent/consent.ts","line":67,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"schemaIds":[]},{"name":"previous","type":"string | null","required":true,"readOnly":false,"hasInitializer":false,"description":"","source":{"path":"repositories/platform/mansoq-web/src/types/consent/consent.ts","line":68,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"schemaIds":[]},{"name":"results","type":"ConsentModel[]","required":true,"readOnly":false,"hasInitializer":false,"description":"","source":{"path":"repositories/platform/mansoq-web/src/types/consent/consent.ts","line":69,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"schemaIds":["repositories/platform/mansoq-web/src/types/consent/consent.ts#ConsentModel"]}],"baseSchemaIds":[],"reviewStatus":"declared TypeScript fields extracted; server payload/validation review pending","baseTypes":[]},{"id":"repositories/platform/mansoq-web/src/types/consent/consent.ts#UpdateConsentRequest","name":"UpdateConsentRequest","kind":"TypeAliasDeclaration","description":"","source":{"path":"repositories/platform/mansoq-web/src/types/consent/consent.ts","line":61,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"typeParameters":[],"fields":[],"baseSchemaIds":["repositories/platform/mansoq-web/src/types/consent/consent.ts#CreateConsentRequest"],"reviewStatus":"declared TypeScript fields extracted; server payload/validation review pending","expression":"Partial<CreateConsentRequest>"},{"id":"repositories/platform/mansoq-web/src/types/consent/consentApi.ts#default.addVerification.request","name":"default.addVerification.request","kind":"inline object type","source":{"path":"repositories/platform/mansoq-web/src/types/consent/consentApi.ts","line":41,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"fields":[{"name":"verification_type","type":"VerificationType","required":true,"readOnly":false,"hasInitializer":false,"description":"","source":{"path":"repositories/platform/mansoq-web/src/types/consent/consentApi.ts","line":42,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"schemaIds":["repositories/platform/mansoq-web/src/types/consent/consent.ts#VerificationType"]},{"name":"verified","type":"boolean","required":true,"readOnly":false,"hasInitializer":false,"description":"","source":{"path":"repositories/platform/mansoq-web/src/types/consent/consentApi.ts","line":43,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"schemaIds":[]},{"name":"note","type":"string","required":false,"readOnly":false,"hasInitializer":false,"description":"","source":{"path":"repositories/platform/mansoq-web/src/types/consent/consentApi.ts","line":44,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"schemaIds":[]}],"baseSchemaIds":[],"typeParameters":[],"reviewStatus":"declared TypeScript fields extracted; server payload/validation review pending"},{"id":"repositories/platform/mansoq-web/src/types/consent/consentApi.ts#default.removeVerification.request","name":"default.removeVerification.request","kind":"inline object type","source":{"path":"repositories/platform/mansoq-web/src/types/consent/consentApi.ts","line":51,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"fields":[{"name":"verification_id","type":"string","required":true,"readOnly":false,"hasInitializer":false,"description":"","source":{"path":"repositories/platform/mansoq-web/src/types/consent/consentApi.ts","line":51,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"schemaIds":[]}],"baseSchemaIds":[],"typeParameters":[],"reviewStatus":"declared TypeScript fields extracted; server payload/validation review pending"}]},"services":{"operations":[]},"boundaries":[]}