← Technical API reference

Frontend module · STATIC DECLARATIONS

Supply Delivery Api client API reference · mansoq-web

7 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 7 declarations come from repositories/platform/mansoq-web/src/types/inventory/supplyDelivery/supplyDeliveryApi.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.listSupplyDelivery GET /api/v1/supply_delivery/ literal
default.retrieveSupplyDelivery GET /api/v1/supply_delivery/{supplyDeliveryId}/ literal
default.createSupplyDelivery POST /api/v1/supply_delivery/ literal
default.upsertSupplyDelivery POST /api/v1/supply_delivery/upsert/ literal
default.updateSupplyDelivery PUT /api/v1/supply_delivery/{supplyDeliveryId}/ literal
default.updateSupplyDeliveryAsReceiver PUT /api/v1/supply_delivery/{supplyDeliveryId}/update_as_receiver/ literal
default.deliveryOrders GET /api/v1/supply_delivery/delivery_orders/ literal

default.listSupplyDelivery

GET /api/v1/supply_delivery/. typed route object; literal. multiple static method/path matches across source registrations; installed target and boundary require review.

Declared default query fields: ordering (string). These are defaults observed at this route object, not an exhaustive query allowlist.

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

PaginatedResponse declared fields:

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

SupplyDeliveryRead declared fields:

Field Type Required Description
supplied_item_quantity string true —
supplied_item_pack_quantity number false —
supplied_item_pack_size number false —
supplied_item ProductRead true —
supplied_inventory_item InventoryRead false —
created_date string false —
modified_date string false —
supply_request SupplyRequestRead false —
extensions Record<string, unknown> true —

Composed/inherited schema references: SupplyDeliveryBase. 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.retrieveSupplyDelivery

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

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

response type: SupplyDeliveryRead. 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.createSupplyDelivery

POST /api/v1/supply_delivery/. typed route object; literal. multiple static method/path matches across source registrations; installed target and boundary require review.

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

SupplyDeliveryCreate declared fields:

Field Type Required Description
supplied_item_quantity string true —
supplied_item string false —
supplied_inventory_item string false —
supply_request string false —
extensions Record<string, unknown> true —
supplied_item_pack_quantity number false —
supplied_item_pack_size number false —

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

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

SupplyDeliveryBase declared fields:

Field Type Required Description
id string true —
status SupplyDeliveryStatus true —
supplied_item_condition SupplyDeliveryCondition false —
supplied_item_type SupplyDeliveryType true —
total_purchase_price number false —

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.upsertSupplyDelivery

POST /api/v1/supply_delivery/upsert/. typed route object; literal. multiple static method/path matches across source registrations; installed target and boundary require review.

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

SupplyDeliveryUpsert declared fields:

Field Type Required Description
id string false —
supplied_item_quantity string true —
supplied_item string false —
supplied_inventory_item string false —
supply_request string false —
extensions Record<string, unknown> true —

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

default.upsertSupplyDelivery.request declared fields:

Field Type Required Description
datapoints SupplyDeliveryUpsert[] true —

response type: SupplyDeliveryBase. 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.updateSupplyDelivery

PUT /api/v1/supply_delivery/{supplyDeliveryId}/. typed route object; literal. multiple static method/path matches across source registrations; installed target and boundary require review.

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

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

SupplyDeliveryUpdate declared fields:

Field Type Required Description
status SupplyDeliveryStatus true —
supplied_item_condition SupplyDeliveryCondition false —
extensions Record<string, unknown> true —

response type: SupplyDeliveryBase. 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.updateSupplyDeliveryAsReceiver

PUT /api/v1/supply_delivery/{supplyDeliveryId}/update_as_receiver/. typed route object; literal. no exact statically resolved backend match in scanned contracts.

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

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

response type: SupplyDeliveryBase. 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.deliveryOrders

GET /api/v1/supply_delivery/delivery_orders/. typed route object; literal. multiple static method/path matches across source registrations; installed target and boundary require review.

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

DeliveryOrderRetrieve declared fields:

Field Type Required Description
id string true —
created_date string true —
created_by UserReadMinimal true —
modified_date string true —
origin LocationDetail false —
destination LocationDetail true —
supplier Organization false —
tags TagConfig[] true —
extensions Record<string, unknown> false —
patient PatientListRead false —
patient_invoice_id string false —

Composed/inherited schema references: DeliveryOrder. 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.

Pinned source evidence

Links require access to the private source repository.