// Generated from contracts/api/kbx.api.json. Do not edit.
import type { KbxApiOperationDefinition } from '../api'

export const kbxApiSourceSha256 = '8a8008b0eca039ef22b703b142dd7fa2efeaf5b14784ba9f3a954f656a1a0c8f' as const
export const kbxApiCatalog = {
  "common.ai.ask": {"id":"common.ai.ask","method":"POST","path":"/api/common/ai/ask","permission":"common.ai.use","kind":"command","idempotency":"supported","successStatuses":[200]},
  "common.experiments.assignments": {"id":"common.experiments.assignments","method":"GET","path":"/api/kbx/experiments/assignments","permission":"common.experiment.evaluate","kind":"query","idempotency":"none","successStatuses":[200]},
  "common.experiments.overview": {"id":"common.experiments.overview","method":"GET","path":"/api/kbx/experiments","permission":"common.experiment.read","kind":"query","idempotency":"none","successStatuses":[200]},
  "common.experiments.rollback": {"id":"common.experiments.rollback","method":"POST","path":"/api/kbx/experiments/{experimentId}/rollback","permission":"common.experiment.manage","kind":"command","idempotency":"supported","successStatuses":[200]},
  "common.experiments.rollout": {"id":"common.experiments.rollout","method":"POST","path":"/api/kbx/experiments/{experimentId}/rollout","permission":"common.experiment.manage","kind":"command","idempotency":"supported","successStatuses":[200]},
  "common.externalData.refresh": {"id":"common.externalData.refresh","method":"POST","path":"/api/kbx/external-data/{datasetId}/refresh","permission":"common.external-data.refresh","kind":"command","idempotency":"supported","successStatuses":[202]},
  "common.externalData.status": {"id":"common.externalData.status","method":"GET","path":"/api/kbx/external-data/status","permission":"common.external-data.read","kind":"query","idempotency":"none","successStatuses":[200]},
  "common.imports.commit": {"id":"common.imports.commit","method":"POST","path":"/api/imports/sessions/{sessionId:guid}/commit","permission":"imports.execute","kind":"command","idempotency":"supported","successStatuses":[200]},
  "common.imports.createSession": {"id":"common.imports.createSession","method":"POST","path":"/api/imports/sessions","permission":"imports.execute","kind":"upload","idempotency":"supported","successStatuses":[200],"contentType":"multipart/form-data"},
  "common.imports.errorWorkbook": {"id":"common.imports.errorWorkbook","method":"GET","path":"/api/imports/sessions/{sessionId:guid}/errors.xlsx","permission":"imports.execute","kind":"query","idempotency":"none","successStatuses":[200],"responseType":"blob"},
  "common.imports.getSession": {"id":"common.imports.getSession","method":"GET","path":"/api/imports/sessions/{sessionId:guid}","permission":"imports.execute","kind":"query","idempotency":"none","successStatuses":[200]},
  "common.imports.saveMapping": {"id":"common.imports.saveMapping","method":"PUT","path":"/api/imports/sessions/{sessionId:guid}/mapping","permission":"imports.execute","kind":"command","idempotency":"supported","successStatuses":[200]},
  "common.imports.saveNamedMapping": {"id":"common.imports.saveNamedMapping","method":"POST","path":"/api/imports/sessions/{sessionId:guid}/saved-mappings","permission":"imports.execute","kind":"command","idempotency":"supported","successStatuses":[204]},
  "common.imports.template": {"id":"common.imports.template","method":"GET","path":"/api/imports/{importType}/template","permission":"imports.execute","kind":"query","idempotency":"none","successStatuses":[200],"responseType":"blob"},
  "common.imports.validate": {"id":"common.imports.validate","method":"POST","path":"/api/imports/sessions/{sessionId:guid}/validate","permission":"imports.execute","kind":"command","idempotency":"supported","successStatuses":[200]},
  "common.integrations.getAttempt": {"id":"common.integrations.getAttempt","method":"GET","path":"/api/integrations/attempts/{attemptId:guid}","permission":"common.integration.read","kind":"query","idempotency":"none","successStatuses":[200]},
  "common.integrations.retryAttempt": {"id":"common.integrations.retryAttempt","method":"POST","path":"/api/integrations/attempts/{attemptId:guid}/retry","permission":"common.integration.retry","kind":"command","idempotency":"required","successStatuses":[200]},
  "common.operations.claim": {"id":"common.operations.claim","method":"POST","path":"/api/operations/work-items/claim","permission":"common.operations.claim","kind":"command","idempotency":"supported","successStatuses":[200]},
  "common.operations.resolve": {"id":"common.operations.resolve","method":"POST","path":"/api/operations/work-items/resolve","permission":"common.operations.resolve","kind":"command","idempotency":"supported","successStatuses":[200]},
  "common.operations.retry": {"id":"common.operations.retry","method":"POST","path":"/api/operations/work-items/{id:guid}/retry","permission":"common.operations.retry","kind":"command","idempotency":"supported","successStatuses":[200]},
  "common.operations.search": {"id":"common.operations.search","method":"GET","path":"/api/operations/work-items","permission":"common.operations.read","kind":"query","idempotency":"none","successStatuses":[200]},
  "common.reconcile.createExceptions": {"id":"common.reconcile.createExceptions","method":"POST","path":"/api/reconcile/items/create-exceptions","permission":"common.operations.create","kind":"command","idempotency":"supported","successStatuses":[200]},
  "common.reconcile.search": {"id":"common.reconcile.search","method":"GET","path":"/api/reconcile/items","permission":"common.reconcile.read","kind":"query","idempotency":"none","successStatuses":[200]},
  "common.runtime.notice": {"id":"common.runtime.notice","method":"GET","path":"/api/kbx/runtime/notice","permission":"common.runtime.read","kind":"query","idempotency":"none","successStatuses":[200]},
  "common.runtime.notificationRead": {"id":"common.runtime.notificationRead","method":"POST","path":"/api/kbx/runtime/notifications/{Id}/read","permission":"common.runtime.read","kind":"command","idempotency":"supported","successStatuses":[204]},
  "common.runtime.notifications": {"id":"common.runtime.notifications","method":"GET","path":"/api/kbx/runtime/notifications","permission":"common.runtime.read","kind":"query","idempotency":"none","successStatuses":[200]},
  "common.runtime.operations": {"id":"common.runtime.operations","method":"GET","path":"/api/kbx/runtime/operations","permission":"common.runtime.read","kind":"query","idempotency":"none","successStatuses":[200]},
  "common.suggestions.submit": {"id":"common.suggestions.submit","method":"POST","path":"/api/common/suggestions","permission":"common.suggestion.create","kind":"command","idempotency":"supported","successStatuses":[200]},
  "common.uxTelemetry.ingest": {"id":"common.uxTelemetry.ingest","method":"POST","path":"/api/kbx/ux/events","permission":"common.telemetry.write","kind":"command","idempotency":"none","successStatuses":[204]},
  "common.uxTelemetry.metrics": {"id":"common.uxTelemetry.metrics","method":"GET","path":"/api/kbx/ux/metrics","permission":"common.ux.read","kind":"query","idempotency":"none","successStatuses":[200]},
  "erp.inventory.history": {"id":"erp.inventory.history","method":"GET","path":"/api/erp/inventory/{itemId}/history","permission":"erp.inventory.read","kind":"query","idempotency":"none","successStatuses":[200]},
  "erp.inventory.locations": {"id":"erp.inventory.locations","method":"GET","path":"/api/erp/inventory/{itemId}/locations","permission":"erp.inventory.read","kind":"query","idempotency":"none","successStatuses":[200]},
  "erp.inventory.search": {"id":"erp.inventory.search","method":"GET","path":"/api/erp/inventory","permission":"erp.inventory.read","kind":"query","idempotency":"none","successStatuses":[200]},
  "erp.itemPrices.bulkSave": {"id":"erp.itemPrices.bulkSave","method":"POST","path":"/api/erp/item-prices/bulk","permission":"erp.item.price.write","kind":"command","idempotency":"required","successStatuses":[200]},
  "erp.items.get": {"id":"erp.items.get","method":"GET","path":"/api/erp/items/{id}","permission":"erp.item.read","kind":"query","idempotency":"none","successStatuses":[200]},
  "erp.items.search": {"id":"erp.items.search","method":"GET","path":"/api/erp/items","permission":"erp.item.read","kind":"query","idempotency":"none","successStatuses":[200]},
  "lookup.customers.resolveByCode": {"id":"lookup.customers.resolveByCode","method":"GET","path":"/api/lookups/customers/by-code/{code}","permission":"oms.order.read","kind":"query","idempotency":"none","successStatuses":[200]},
  "lookup.customers.resolveById": {"id":"lookup.customers.resolveById","method":"GET","path":"/api/lookups/customers/{id}","permission":"oms.order.read","kind":"query","idempotency":"none","successStatuses":[200]},
  "lookup.customers.search": {"id":"lookup.customers.search","method":"GET","path":"/api/lookups/customers","permission":"oms.order.read","kind":"query","idempotency":"none","successStatuses":[200]},
  "lookup.items.resolveByCode": {"id":"lookup.items.resolveByCode","method":"GET","path":"/api/lookups/items/by-code/{code}","permission":"erp.item.read","kind":"query","idempotency":"none","successStatuses":[200]},
  "lookup.items.resolveById": {"id":"lookup.items.resolveById","method":"GET","path":"/api/lookups/items/{id}","permission":"erp.item.read","kind":"query","idempotency":"none","successStatuses":[200]},
  "lookup.items.search": {"id":"lookup.items.search","method":"GET","path":"/api/lookups/items","permission":"erp.item.read","kind":"query","idempotency":"none","successStatuses":[200]},
  "lookup.warehouses.resolveByCode": {"id":"lookup.warehouses.resolveByCode","method":"GET","path":"/api/lookups/warehouses/by-code/{code}","permission":"oms.order.read","kind":"query","idempotency":"none","successStatuses":[200]},
  "lookup.warehouses.resolveById": {"id":"lookup.warehouses.resolveById","method":"GET","path":"/api/lookups/warehouses/{id}","permission":"oms.order.read","kind":"query","idempotency":"none","successStatuses":[200]},
  "lookup.warehouses.search": {"id":"lookup.warehouses.search","method":"GET","path":"/api/lookups/warehouses","permission":"oms.order.read","kind":"query","idempotency":"none","successStatuses":[200]},
  "oms.claims.approve": {"id":"oms.claims.approve","method":"POST","path":"/api/oms/claims/{id:guid}/approve","permission":"oms.claim.approve","kind":"command","idempotency":"supported","successStatuses":[200]},
  "oms.claims.complete": {"id":"oms.claims.complete","method":"POST","path":"/api/oms/claims/{id:guid}/complete","permission":"oms.claim.process","kind":"command","idempotency":"supported","successStatuses":[200]},
  "oms.claims.hold": {"id":"oms.claims.hold","method":"POST","path":"/api/oms/claims/{id:guid}/hold","permission":"oms.claim.hold","kind":"command","idempotency":"supported","successStatuses":[200]},
  "oms.claims.search": {"id":"oms.claims.search","method":"GET","path":"/api/oms/claims","permission":"oms.claim.read","kind":"query","idempotency":"none","successStatuses":[200]},
  "oms.claims.start": {"id":"oms.claims.start","method":"POST","path":"/api/oms/claims/{id:guid}/start","permission":"oms.claim.process","kind":"command","idempotency":"supported","successStatuses":[200]},
  "oms.orders.register": {"id":"oms.orders.register","method":"POST","path":"/api/oms/orders/register","permission":"oms.order.create","kind":"command","idempotency":"supported","successStatuses":[200]},
  "oms.orders.search": {"id":"oms.orders.search","method":"GET","path":"/api/oms/orders","permission":"oms.order.read","kind":"query","idempotency":"none","successStatuses":[200]},
  "oms.orders.ship": {"id":"oms.orders.ship","method":"POST","path":"/api/oms/orders/ship","permission":"oms.order.ship","kind":"command","idempotency":"required","successStatuses":[200]},
  "wms.picking.getTask": {"id":"wms.picking.getTask","method":"GET","path":"/api/wms/picking/tasks/{taskId:guid}","permission":"wms.picking.execute","kind":"query","idempotency":"none","successStatuses":[200]},
  "wms.picking.reportException": {"id":"wms.picking.reportException","method":"POST","path":"/api/wms/picking/tasks/{taskId:guid}/exceptions","permission":"wms.picking.execute","kind":"command","idempotency":"required","successStatuses":[200]},
  "wms.picking.scan": {"id":"wms.picking.scan","method":"POST","path":"/api/wms/picking/tasks/{taskId:guid}/scan","permission":"wms.picking.execute","kind":"command","idempotency":"required","successStatuses":[200,422]},
  "wms.picking.setQuantity": {"id":"wms.picking.setQuantity","method":"POST","path":"/api/wms/picking/tasks/{taskId:guid}/quantity","permission":"wms.picking.execute","kind":"command","idempotency":"required","successStatuses":[200]},
  "wms.picking.start": {"id":"wms.picking.start","method":"POST","path":"/api/wms/picking/tasks/{taskId:guid}/start","permission":"wms.picking.execute","kind":"command","idempotency":"supported","successStatuses":[200]},
  "erp.items.create": {"id":"erp.items.create","method":"POST","path":"/api/erp/items","permission":"erp.item.create","kind":"command","idempotency":"none","successStatuses":[200]},
  "erp.items.update": {"id":"erp.items.update","method":"PUT","path":"/api/erp/items/{id}","permission":"erp.item.write","kind":"command","idempotency":"none","successStatuses":[200]},
  "erp.items.deactivate": {"id":"erp.items.deactivate","method":"POST","path":"/api/erp/items/{id}/deactivate","permission":"erp.item.write","kind":"command","idempotency":"none","successStatuses":[200]},
  "erp.items.audit": {"id":"erp.items.audit","method":"GET","path":"/api/erp/items/{id}/audit","permission":"erp.item.read","kind":"query","idempotency":"none","successStatuses":[200]},
  "oms.orders.get": {"id":"oms.orders.get","method":"GET","path":"/api/oms/orders/{id}","permission":"oms.order.read","kind":"query","idempotency":"none","successStatuses":[200]},
  "oms.orders.confirm": {"id":"oms.orders.confirm","method":"POST","path":"/api/oms/orders/{id}/confirm","permission":"oms.order.confirm","kind":"command","idempotency":"required","successStatuses":[200]},
  "oms.orders.audit": {"id":"oms.orders.audit","method":"GET","path":"/api/oms/orders/{id}/audit","permission":"oms.order.read","kind":"query","idempotency":"none","successStatuses":[200]},
  "oms.orders.update": {"id":"oms.orders.update","method":"PUT","path":"/api/oms/orders/{id}","permission":"oms.order.write","kind":"command","idempotency":"supported","successStatuses":[200]},
} as const satisfies Record<string, KbxApiOperationDefinition>

export type KbxApiOperationId = keyof typeof kbxApiCatalog
export type KbxApiOperation = (typeof kbxApiCatalog)[KbxApiOperationId]
