{"schemaVersion":"1.0","sourceCommit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca","sourceVisibility":"private","article":{"id":"api-client-mansoq-cash-management-fe-src-types-cashsessionapi-ts","title":"Cash Session Api client API reference · mansoq-cash-management-fe","summary":"5 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":3,"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 5 declarations come from **repositories/platform/mansoq-cash-management-fe/src/types/cashSessionApi.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.openSession | POST | `/api/mansoq_odoo/facility/{facilityId}/cash-session/` | literal |\n| default.closeSession | PUT | `/api/mansoq_odoo/facility/{facilityId}/cash-session/close/` | literal |\n| default.getCurrentSession | POST | `/api/mansoq_odoo/facility/{facilityId}/cash-session/current/` | literal |\n| default.listSessions | GET | `/api/mansoq_odoo/facility/{facilityId}/cash-session/` | literal |\n| default.listCounters | GET | `/api/mansoq_odoo/facility/{facilityId}/cash-session/counters/` | literal |"},{"title":"default.openSession","body":"**POST /api/mansoq_odoo/facility/{facilityId}/cash-session/**. HTTP option object; client/server ownership review pending; literal. no exact statically resolved backend match in scanned contracts.\n\n**Path parameters:** `facilityId`. 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.closeSession","body":"**PUT /api/mansoq_odoo/facility/{facilityId}/cash-session/close/**. HTTP option object; client/server ownership review pending; literal. no exact statically resolved backend match in scanned contracts.\n\n**Path parameters:** `facilityId`. 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.getCurrentSession","body":"**POST /api/mansoq_odoo/facility/{facilityId}/cash-session/current/**. HTTP option object; client/server ownership review pending; literal. no exact statically resolved backend match in scanned contracts.\n\n**Path parameters:** `facilityId`. 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.listSessions","body":"**GET /api/mansoq_odoo/facility/{facilityId}/cash-session/**. HTTP option object; client/server ownership review pending; literal. no exact statically resolved backend match in scanned contracts.\n\n**Path parameters:** `facilityId`. 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.listCounters","body":"**GET /api/mansoq_odoo/facility/{facilityId}/cash-session/counters/**. HTTP option object; client/server ownership review pending; literal. no exact statically resolved backend match in scanned contracts.\n\n**Path parameters:** `facilityId`. 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."}],"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-cash-management-fe/src/types/cashSessionApi.ts","line":12,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},{"path":"repositories/platform/mansoq-cash-management-fe/src/types/cashSessionApi.ts","line":18,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},{"path":"repositories/platform/mansoq-cash-management-fe/src/types/cashSessionApi.ts","line":24,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},{"path":"repositories/platform/mansoq-cash-management-fe/src/types/cashSessionApi.ts","line":32,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},{"path":"repositories/platform/mansoq-cash-management-fe/src/types/cashSessionApi.ts","line":37,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}],"related":["it-api-contract","it-api-auth","security-rcm-roles"],"verification":"Static API contract — behavior review pending","version":"f6e9f05f76d4","apiReferenceIds":["frontend-operation-47257a4bfcb59bbc73","frontend-operation-82410f5474defc420a","frontend-operation-5a7e6fafac7eaa4d36","frontend-operation-436c6354d1f7554b29","frontend-operation-6b42ec1bf1d97d4710"]},"backend":{"resources":[],"operations":[],"methodEvidence":[],"schemas":[],"frameworkSettings":[]},"frontend":{"operations":[{"id":"frontend-operation-47257a4bfcb59bbc73","repository":"repositories/platform/mansoq-cash-management-fe","apiModule":"repositories/platform/mansoq-cash-management-fe/src/types/cashSessionApi.ts","operationKey":"default.openSession","method":"POST","path":"/api/mansoq_odoo/facility/{facilityId}/cash-session/","resolution":"literal","originOmitted":false,"source":{"path":"repositories/platform/mansoq-cash-management-fe/src/types/cashSessionApi.ts","line":12,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"description":"","pathParameters":[{"name":"facilityId","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":[],"sourceFamily":"separate app/transport source; installation requires verification","backendMatchStatus":"no exact statically resolved backend match in scanned contracts"},{"id":"frontend-operation-82410f5474defc420a","repository":"repositories/platform/mansoq-cash-management-fe","apiModule":"repositories/platform/mansoq-cash-management-fe/src/types/cashSessionApi.ts","operationKey":"default.closeSession","method":"PUT","path":"/api/mansoq_odoo/facility/{facilityId}/cash-session/close/","resolution":"literal","originOmitted":false,"source":{"path":"repositories/platform/mansoq-cash-management-fe/src/types/cashSessionApi.ts","line":18,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"description":"","pathParameters":[{"name":"facilityId","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":[],"sourceFamily":"separate app/transport source; installation requires verification","backendMatchStatus":"no exact statically resolved backend match in scanned contracts"},{"id":"frontend-operation-5a7e6fafac7eaa4d36","repository":"repositories/platform/mansoq-cash-management-fe","apiModule":"repositories/platform/mansoq-cash-management-fe/src/types/cashSessionApi.ts","operationKey":"default.getCurrentSession","method":"POST","path":"/api/mansoq_odoo/facility/{facilityId}/cash-session/current/","resolution":"literal","originOmitted":false,"source":{"path":"repositories/platform/mansoq-cash-management-fe/src/types/cashSessionApi.ts","line":24,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"description":"","pathParameters":[{"name":"facilityId","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":[],"sourceFamily":"separate app/transport source; installation requires verification","backendMatchStatus":"no exact statically resolved backend match in scanned contracts"},{"id":"frontend-operation-436c6354d1f7554b29","repository":"repositories/platform/mansoq-cash-management-fe","apiModule":"repositories/platform/mansoq-cash-management-fe/src/types/cashSessionApi.ts","operationKey":"default.listSessions","method":"GET","path":"/api/mansoq_odoo/facility/{facilityId}/cash-session/","resolution":"literal","originOmitted":false,"source":{"path":"repositories/platform/mansoq-cash-management-fe/src/types/cashSessionApi.ts","line":32,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"description":"","pathParameters":[{"name":"facilityId","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":[],"sourceFamily":"separate app/transport source; installation requires verification","backendMatchStatus":"no exact statically resolved backend match in scanned contracts"},{"id":"frontend-operation-6b42ec1bf1d97d4710","repository":"repositories/platform/mansoq-cash-management-fe","apiModule":"repositories/platform/mansoq-cash-management-fe/src/types/cashSessionApi.ts","operationKey":"default.listCounters","method":"GET","path":"/api/mansoq_odoo/facility/{facilityId}/cash-session/counters/","resolution":"literal","originOmitted":false,"source":{"path":"repositories/platform/mansoq-cash-management-fe/src/types/cashSessionApi.ts","line":37,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"description":"","pathParameters":[{"name":"facilityId","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":[],"sourceFamily":"separate app/transport source; installation requires verification","backendMatchStatus":"no exact statically resolved backend match in scanned contracts"}],"schemas":[]},"services":{"operations":[]},"boundaries":[]}