@iveri/contracts 0.38.0 → 0.39.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +31 -11
- package/dist/{cjs/api → api}/conduit/capture.type.d.ts +0 -1
- package/dist/api/conduit/capture.type.js +1 -0
- package/dist/{esm/api → api}/conduit/connection-verification-verdict.enum.d.ts +0 -1
- package/dist/{esm/api → api}/conduit/connection-verification-verdict.enum.js +0 -1
- package/dist/{esm/api → api}/conduit/connection.type.d.ts +0 -1
- package/dist/api/conduit/connection.type.js +1 -0
- package/dist/{esm/api → api}/conduit/connector-auth-type.enum.d.ts +0 -1
- package/dist/{esm/api → api}/conduit/connector-auth-type.enum.js +0 -1
- package/dist/{esm/api → api}/conduit/connector.type.d.ts +0 -1
- package/dist/{esm/api → api}/conduit/connector.type.js +0 -1
- package/dist/{esm/api → api}/conduit/delivery-status.enum.d.ts +0 -1
- package/dist/{esm/api → api}/conduit/delivery-status.enum.js +0 -1
- package/dist/{esm/api → api}/conduit/delivery.type.d.ts +0 -1
- package/dist/api/conduit/delivery.type.js +1 -0
- package/dist/{esm/api → api}/conduit/destination.type.d.ts +0 -1
- package/dist/api/conduit/destination.type.js +1 -0
- package/dist/{esm/api → api}/conduit/dispatch-status.enum.d.ts +0 -1
- package/dist/{esm/api → api}/conduit/dispatch-status.enum.js +0 -1
- package/dist/{cjs/api → api}/conduit/dispatch.type.d.ts +0 -1
- package/dist/api/conduit/dispatch.type.js +1 -0
- package/dist/{esm/api → api}/conduit/endpoint.type.d.ts +0 -1
- package/dist/api/conduit/endpoint.type.js +1 -0
- package/dist/{esm/api → api}/conduit/handshake-kind.enum.d.ts +0 -1
- package/dist/{esm/api → api}/conduit/handshake-kind.enum.js +0 -1
- package/dist/{cjs/api → api}/conduit/index.d.ts +0 -1
- package/dist/{esm/api → api}/conduit/index.js +0 -1
- package/dist/{esm/api → api}/conduit/match-operator.enum.d.ts +0 -1
- package/dist/{esm/api → api}/conduit/match-operator.enum.js +0 -1
- package/dist/{cjs/api → api}/conduit/provider.type.d.ts +0 -1
- package/dist/{esm/api → api}/conduit/provider.type.js +0 -1
- package/dist/{cjs/api → api}/conduit/replay.type.d.ts +0 -1
- package/dist/api/conduit/replay.type.js +1 -0
- package/dist/{cjs/api → api}/conduit/route.type.d.ts +0 -1
- package/dist/api/conduit/route.type.js +1 -0
- package/dist/{esm/api → api}/conduit/signature-algorithm.enum.d.ts +0 -1
- package/dist/{esm/api → api}/conduit/signature-algorithm.enum.js +0 -1
- package/dist/{esm/api → api}/conduit/signature-encoding.enum.d.ts +0 -1
- package/dist/{esm/api → api}/conduit/signature-encoding.enum.js +0 -1
- package/dist/{cjs/api → api}/conduit/signature-header-scheme.enum.d.ts +0 -1
- package/dist/{esm/api → api}/conduit/signature-header-scheme.enum.js +0 -1
- package/dist/{cjs/api → api}/conduit/signature-verdict.enum.d.ts +0 -1
- package/dist/{esm/api → api}/conduit/signature-verdict.enum.js +0 -1
- package/dist/{cjs/api → api}/conduit/signature.type.d.ts +0 -1
- package/dist/api/conduit/signature.type.js +1 -0
- package/dist/{cjs/api → api}/identity/access-token-payload.interface.d.ts +0 -1
- package/dist/api/identity/access-token-payload.interface.js +1 -0
- package/dist/{cjs/api → api}/identity/auth.type.d.ts +0 -1
- package/dist/api/identity/auth.type.js +1 -0
- package/dist/{esm/api → api}/identity/index.d.ts +0 -1
- package/dist/{esm/api → api}/identity/index.js +0 -1
- package/dist/{cjs/api → api}/identity/membership-status.enum.d.ts +0 -1
- package/dist/{esm/api → api}/identity/membership-status.enum.js +0 -1
- package/dist/{cjs/api → api}/identity/principal-type.enum.d.ts +0 -1
- package/dist/{esm/api → api}/identity/principal-type.enum.js +0 -1
- package/dist/{esm/api → api}/identity/tenant-status.enum.d.ts +0 -1
- package/dist/{esm/api → api}/identity/tenant-status.enum.js +0 -1
- package/dist/{cjs/api → api}/localization/bundle.type.d.ts +0 -1
- package/dist/api/localization/bundle.type.js +1 -0
- package/dist/{esm/api → api}/localization/index.d.ts +0 -1
- package/dist/{esm/api → api}/localization/index.js +0 -1
- package/dist/{cjs/api → api}/localization/locale.type.d.ts +0 -1
- package/dist/api/localization/locale.type.js +1 -0
- package/dist/{esm/api → api}/localization/message.type.d.ts +0 -1
- package/dist/api/localization/message.type.js +1 -0
- package/dist/{cjs/api → api}/localization/namespace.type.d.ts +0 -1
- package/dist/api/localization/namespace.type.js +1 -0
- package/dist/{esm/api → api}/localization/release.type.d.ts +0 -1
- package/dist/api/localization/release.type.js +1 -0
- package/dist/{esm/api → api}/localization/render.type.d.ts +0 -1
- package/dist/api/localization/render.type.js +1 -0
- package/dist/{cjs/api → api}/localization/translation-status.enum.d.ts +0 -1
- package/dist/{esm/api → api}/localization/translation-status.enum.js +0 -1
- package/dist/{esm/api → api}/localization/translation.type.d.ts +0 -1
- package/dist/api/localization/translation.type.js +1 -0
- package/dist/{esm/api → api}/localization/variable-type.enum.d.ts +0 -1
- package/dist/{esm/api → api}/localization/variable-type.enum.js +0 -1
- package/dist/{esm/api → api}/mobility/index.d.ts +0 -1
- package/dist/{esm/api → api}/mobility/index.js +0 -1
- package/dist/{cjs/api → api}/mobility/mobility-assignment-status.enum.d.ts +0 -1
- package/dist/{esm/api → api}/mobility/mobility-assignment-status.enum.js +0 -1
- package/dist/{cjs/api → api}/mobility/mobility-assignment.type.d.ts +0 -1
- package/dist/api/mobility/mobility-assignment.type.js +1 -0
- package/dist/{esm/api → api}/mobility/mobility-availability-status.enum.d.ts +0 -1
- package/dist/{esm/api → api}/mobility/mobility-availability-status.enum.js +0 -1
- package/dist/{esm/api → api}/mobility/mobility-dispatch-offer-status.enum.d.ts +0 -1
- package/dist/{esm/api → api}/mobility/mobility-dispatch-offer-status.enum.js +0 -1
- package/dist/{cjs/api → api}/mobility/mobility-dispatch-offer.type.d.ts +0 -1
- package/dist/api/mobility/mobility-dispatch-offer.type.js +1 -0
- package/dist/{cjs/api → api}/mobility/mobility-dispatch-status.enum.d.ts +0 -1
- package/dist/{esm/api → api}/mobility/mobility-dispatch-status.enum.js +0 -1
- package/dist/{cjs/api → api}/mobility/mobility-dispatch.type.d.ts +0 -1
- package/dist/api/mobility/mobility-dispatch.type.js +1 -0
- package/dist/{esm/api → api}/mobility/mobility-service-type.enum.d.ts +0 -1
- package/dist/{esm/api → api}/mobility/mobility-service-type.enum.js +0 -1
- package/dist/{cjs/api → api}/mobility/mobility-worker-rating.type.d.ts +0 -1
- package/dist/api/mobility/mobility-worker-rating.type.js +1 -0
- package/dist/{cjs/api → api}/mobility/mobility-worker-status.enum.d.ts +0 -1
- package/dist/{esm/api → api}/mobility/mobility-worker-status.enum.js +0 -1
- package/dist/{esm/api → api}/mobility/mobility-worker.type.d.ts +0 -1
- package/dist/api/mobility/mobility-worker.type.js +1 -0
- package/dist/{cjs/api → api}/notification/index.d.ts +0 -1
- package/dist/{esm/api → api}/notification/index.js +0 -1
- package/dist/{esm/api → api}/notification/notification-channel.enum.d.ts +0 -1
- package/dist/{esm/api → api}/notification/notification-channel.enum.js +0 -1
- package/dist/{esm/api → api}/notification/notification-delivery-status.enum.d.ts +0 -1
- package/dist/{esm/api → api}/notification/notification-delivery-status.enum.js +0 -1
- package/dist/{esm/api → api}/notification/notification-template.type.d.ts +0 -1
- package/dist/api/notification/notification-template.type.js +1 -0
- package/dist/{cjs/api → api}/notification/notification.type.d.ts +0 -1
- package/dist/api/notification/notification.type.js +1 -0
- package/dist/{cjs/api → api}/realtime/index.d.ts +0 -1
- package/dist/{esm/api → api}/realtime/index.js +0 -1
- package/dist/{esm/api → api}/realtime/realtime-event-type.enum.d.ts +0 -1
- package/dist/{esm/api → api}/realtime/realtime-event-type.enum.js +0 -1
- package/dist/{esm/api → api}/realtime/realtime-resource-type.enum.d.ts +0 -1
- package/dist/{esm/api → api}/realtime/realtime-resource-type.enum.js +0 -1
- package/dist/{esm/api → api}/realtime/realtime.type.d.ts +0 -1
- package/dist/{esm/api → api}/realtime/realtime.type.js +0 -1
- package/dist/{esm/api → api}/unibox/canned-reply.type.d.ts +0 -1
- package/dist/api/unibox/canned-reply.type.js +1 -0
- package/dist/{esm/api → api}/unibox/channel-platform.enum.d.ts +0 -1
- package/dist/{esm/api → api}/unibox/channel-platform.enum.js +0 -1
- package/dist/{esm/api → api}/unibox/channel.type.d.ts +0 -1
- package/dist/api/unibox/channel.type.js +1 -0
- package/dist/{esm/api → api}/unibox/contact.type.d.ts +0 -1
- package/dist/api/unibox/contact.type.js +1 -0
- package/dist/{esm/api → api}/unibox/conversation-status.enum.d.ts +0 -1
- package/dist/{esm/api → api}/unibox/conversation-status.enum.js +0 -1
- package/dist/{esm/api → api}/unibox/conversation.type.d.ts +0 -1
- package/dist/api/unibox/conversation.type.js +1 -0
- package/dist/{cjs/api → api}/unibox/index.d.ts +0 -1
- package/dist/{esm/api → api}/unibox/index.js +0 -1
- package/dist/{cjs/api → api}/unibox/message-author-type.enum.d.ts +0 -1
- package/dist/{esm/api → api}/unibox/message-author-type.enum.js +0 -1
- package/dist/{cjs/api → api}/unibox/message-content-type.enum.d.ts +0 -1
- package/dist/{esm/api → api}/unibox/message-content-type.enum.js +0 -1
- package/dist/{cjs/api → api}/unibox/message-direction.enum.d.ts +0 -1
- package/dist/{esm/api → api}/unibox/message-direction.enum.js +0 -1
- package/dist/{cjs/api → api}/unibox/message-status.enum.d.ts +0 -1
- package/dist/{esm/api → api}/unibox/message-status.enum.js +0 -1
- package/dist/{esm/api → api}/unibox/message.type.d.ts +0 -1
- package/dist/api/unibox/message.type.js +1 -0
- package/dist/{cjs/api → api}/unibox/realtime-event.enum.d.ts +0 -1
- package/dist/{esm/api → api}/unibox/realtime-event.enum.js +0 -1
- package/dist/{cjs/api → api}/unibox/realtime.type.d.ts +0 -1
- package/dist/{esm/api → api}/unibox/realtime.type.js +0 -1
- package/dist/{esm/api → api}/unibox/team.type.d.ts +0 -1
- package/dist/api/unibox/team.type.js +1 -0
- package/dist/{esm/api → api}/unibox-ai/agent-run.type.d.ts +0 -1
- package/dist/{esm/api → api}/unibox-ai/agent-run.type.js +0 -1
- package/dist/{cjs/api → api}/unibox-ai/index.d.ts +0 -1
- package/dist/{esm/api → api}/unibox-ai/index.js +0 -1
- package/dist/{cjs/api → api}/unibox-ai/mcp-server.type.d.ts +0 -1
- package/dist/api/unibox-ai/mcp-server.type.js +1 -0
- package/dist/{cjs/enum → enum}/error-code.enum.d.ts +0 -1
- package/dist/{esm/enum → enum}/error-code.enum.js +0 -1
- package/dist/{cjs/enum → enum}/index.d.ts +0 -1
- package/dist/{esm/enum → enum}/index.js +0 -1
- package/dist/{cjs/enum → enum}/user-permission.enum.d.ts +0 -1
- package/dist/{esm/enum → enum}/user-permission.enum.js +0 -1
- package/dist/{cjs/index.d.ts → index.d.ts} +0 -1
- package/dist/{esm/index.js → index.js} +0 -1
- package/dist/{esm/type → type}/api-response.type.d.ts +0 -1
- package/dist/type/api-response.type.js +1 -0
- package/dist/{esm/type → type}/cursor-page.type.d.ts +0 -1
- package/dist/type/cursor-page.type.js +1 -0
- package/dist/{cjs/type → type}/index.d.ts +0 -1
- package/dist/{esm/type → type}/index.js +0 -1
- package/dist/{cjs/type → type}/iso-date-time.type.d.ts +0 -1
- package/dist/type/iso-date-time.type.js +1 -0
- package/dist/{esm/type → type}/nil.type.d.ts +0 -1
- package/dist/type/nil.type.js +1 -0
- package/dist/{cjs/type → type}/paginated.type.d.ts +0 -1
- package/dist/type/paginated.type.js +1 -0
- package/dist/{esm/type → type}/uuid.type.d.ts +0 -1
- package/dist/type/uuid.type.js +1 -0
- package/package.json +32 -75
- package/dist/cjs/api/conduit/capture.type.d.ts.map +0 -1
- package/dist/cjs/api/conduit/capture.type.js +0 -3
- package/dist/cjs/api/conduit/capture.type.js.map +0 -1
- package/dist/cjs/api/conduit/connection-verification-verdict.enum.d.ts +0 -74
- package/dist/cjs/api/conduit/connection-verification-verdict.enum.d.ts.map +0 -1
- package/dist/cjs/api/conduit/connection-verification-verdict.enum.js +0 -78
- package/dist/cjs/api/conduit/connection-verification-verdict.enum.js.map +0 -1
- package/dist/cjs/api/conduit/connection.type.d.ts +0 -132
- package/dist/cjs/api/conduit/connection.type.d.ts.map +0 -1
- package/dist/cjs/api/conduit/connection.type.js +0 -3
- package/dist/cjs/api/conduit/connection.type.js.map +0 -1
- package/dist/cjs/api/conduit/connector-auth-type.enum.d.ts +0 -42
- package/dist/cjs/api/conduit/connector-auth-type.enum.d.ts.map +0 -1
- package/dist/cjs/api/conduit/connector-auth-type.enum.js +0 -46
- package/dist/cjs/api/conduit/connector-auth-type.enum.js.map +0 -1
- package/dist/cjs/api/conduit/connector.type.d.ts +0 -179
- package/dist/cjs/api/conduit/connector.type.d.ts.map +0 -1
- package/dist/cjs/api/conduit/connector.type.js +0 -13
- package/dist/cjs/api/conduit/connector.type.js.map +0 -1
- package/dist/cjs/api/conduit/delivery-status.enum.d.ts +0 -39
- package/dist/cjs/api/conduit/delivery-status.enum.d.ts.map +0 -1
- package/dist/cjs/api/conduit/delivery-status.enum.js +0 -43
- package/dist/cjs/api/conduit/delivery-status.enum.js.map +0 -1
- package/dist/cjs/api/conduit/delivery.type.d.ts +0 -122
- package/dist/cjs/api/conduit/delivery.type.d.ts.map +0 -1
- package/dist/cjs/api/conduit/delivery.type.js +0 -3
- package/dist/cjs/api/conduit/delivery.type.js.map +0 -1
- package/dist/cjs/api/conduit/destination.type.d.ts +0 -73
- package/dist/cjs/api/conduit/destination.type.d.ts.map +0 -1
- package/dist/cjs/api/conduit/destination.type.js +0 -3
- package/dist/cjs/api/conduit/destination.type.js.map +0 -1
- package/dist/cjs/api/conduit/dispatch-status.enum.d.ts +0 -40
- package/dist/cjs/api/conduit/dispatch-status.enum.d.ts.map +0 -1
- package/dist/cjs/api/conduit/dispatch-status.enum.js +0 -44
- package/dist/cjs/api/conduit/dispatch-status.enum.js.map +0 -1
- package/dist/cjs/api/conduit/dispatch.type.d.ts.map +0 -1
- package/dist/cjs/api/conduit/dispatch.type.js +0 -3
- package/dist/cjs/api/conduit/dispatch.type.js.map +0 -1
- package/dist/cjs/api/conduit/endpoint.type.d.ts +0 -75
- package/dist/cjs/api/conduit/endpoint.type.d.ts.map +0 -1
- package/dist/cjs/api/conduit/endpoint.type.js +0 -3
- package/dist/cjs/api/conduit/endpoint.type.js.map +0 -1
- package/dist/cjs/api/conduit/handshake-kind.enum.d.ts +0 -22
- package/dist/cjs/api/conduit/handshake-kind.enum.d.ts.map +0 -1
- package/dist/cjs/api/conduit/handshake-kind.enum.js +0 -26
- package/dist/cjs/api/conduit/handshake-kind.enum.js.map +0 -1
- package/dist/cjs/api/conduit/index.d.ts.map +0 -1
- package/dist/cjs/api/conduit/index.js +0 -38
- package/dist/cjs/api/conduit/index.js.map +0 -1
- package/dist/cjs/api/conduit/match-operator.enum.d.ts +0 -22
- package/dist/cjs/api/conduit/match-operator.enum.d.ts.map +0 -1
- package/dist/cjs/api/conduit/match-operator.enum.js +0 -26
- package/dist/cjs/api/conduit/match-operator.enum.js.map +0 -1
- package/dist/cjs/api/conduit/provider.type.d.ts.map +0 -1
- package/dist/cjs/api/conduit/provider.type.js +0 -8
- package/dist/cjs/api/conduit/provider.type.js.map +0 -1
- package/dist/cjs/api/conduit/replay.type.d.ts.map +0 -1
- package/dist/cjs/api/conduit/replay.type.js +0 -3
- package/dist/cjs/api/conduit/replay.type.js.map +0 -1
- package/dist/cjs/api/conduit/route.type.d.ts.map +0 -1
- package/dist/cjs/api/conduit/route.type.js +0 -3
- package/dist/cjs/api/conduit/route.type.js.map +0 -1
- package/dist/cjs/api/conduit/signature-algorithm.enum.d.ts +0 -17
- package/dist/cjs/api/conduit/signature-algorithm.enum.d.ts.map +0 -1
- package/dist/cjs/api/conduit/signature-algorithm.enum.js +0 -21
- package/dist/cjs/api/conduit/signature-algorithm.enum.js.map +0 -1
- package/dist/cjs/api/conduit/signature-encoding.enum.d.ts +0 -13
- package/dist/cjs/api/conduit/signature-encoding.enum.d.ts.map +0 -1
- package/dist/cjs/api/conduit/signature-encoding.enum.js +0 -17
- package/dist/cjs/api/conduit/signature-encoding.enum.js.map +0 -1
- package/dist/cjs/api/conduit/signature-header-scheme.enum.d.ts.map +0 -1
- package/dist/cjs/api/conduit/signature-header-scheme.enum.js +0 -23
- package/dist/cjs/api/conduit/signature-header-scheme.enum.js.map +0 -1
- package/dist/cjs/api/conduit/signature-verdict.enum.d.ts.map +0 -1
- package/dist/cjs/api/conduit/signature-verdict.enum.js +0 -54
- package/dist/cjs/api/conduit/signature-verdict.enum.js.map +0 -1
- package/dist/cjs/api/conduit/signature.type.d.ts.map +0 -1
- package/dist/cjs/api/conduit/signature.type.js +0 -3
- package/dist/cjs/api/conduit/signature.type.js.map +0 -1
- package/dist/cjs/api/identity/access-token-payload.interface.d.ts.map +0 -1
- package/dist/cjs/api/identity/access-token-payload.interface.js +0 -3
- package/dist/cjs/api/identity/access-token-payload.interface.js.map +0 -1
- package/dist/cjs/api/identity/auth.type.d.ts.map +0 -1
- package/dist/cjs/api/identity/auth.type.js +0 -3
- package/dist/cjs/api/identity/auth.type.js.map +0 -1
- package/dist/cjs/api/identity/index.d.ts +0 -6
- package/dist/cjs/api/identity/index.d.ts.map +0 -1
- package/dist/cjs/api/identity/index.js +0 -22
- package/dist/cjs/api/identity/index.js.map +0 -1
- package/dist/cjs/api/identity/membership-status.enum.d.ts.map +0 -1
- package/dist/cjs/api/identity/membership-status.enum.js +0 -20
- package/dist/cjs/api/identity/membership-status.enum.js.map +0 -1
- package/dist/cjs/api/identity/principal-type.enum.d.ts.map +0 -1
- package/dist/cjs/api/identity/principal-type.enum.js +0 -23
- package/dist/cjs/api/identity/principal-type.enum.js.map +0 -1
- package/dist/cjs/api/identity/tenant-status.enum.d.ts +0 -28
- package/dist/cjs/api/identity/tenant-status.enum.d.ts.map +0 -1
- package/dist/cjs/api/identity/tenant-status.enum.js +0 -32
- package/dist/cjs/api/identity/tenant-status.enum.js.map +0 -1
- package/dist/cjs/api/localization/bundle.type.d.ts.map +0 -1
- package/dist/cjs/api/localization/bundle.type.js +0 -3
- package/dist/cjs/api/localization/bundle.type.js.map +0 -1
- package/dist/cjs/api/localization/index.d.ts +0 -10
- package/dist/cjs/api/localization/index.d.ts.map +0 -1
- package/dist/cjs/api/localization/index.js +0 -26
- package/dist/cjs/api/localization/index.js.map +0 -1
- package/dist/cjs/api/localization/locale.type.d.ts.map +0 -1
- package/dist/cjs/api/localization/locale.type.js +0 -3
- package/dist/cjs/api/localization/locale.type.js.map +0 -1
- package/dist/cjs/api/localization/message.type.d.ts +0 -106
- package/dist/cjs/api/localization/message.type.d.ts.map +0 -1
- package/dist/cjs/api/localization/message.type.js +0 -3
- package/dist/cjs/api/localization/message.type.js.map +0 -1
- package/dist/cjs/api/localization/namespace.type.d.ts.map +0 -1
- package/dist/cjs/api/localization/namespace.type.js +0 -3
- package/dist/cjs/api/localization/namespace.type.js.map +0 -1
- package/dist/cjs/api/localization/release.type.d.ts +0 -74
- package/dist/cjs/api/localization/release.type.d.ts.map +0 -1
- package/dist/cjs/api/localization/release.type.js +0 -3
- package/dist/cjs/api/localization/release.type.js.map +0 -1
- package/dist/cjs/api/localization/render.type.d.ts +0 -50
- package/dist/cjs/api/localization/render.type.d.ts.map +0 -1
- package/dist/cjs/api/localization/render.type.js +0 -3
- package/dist/cjs/api/localization/render.type.js.map +0 -1
- package/dist/cjs/api/localization/translation-status.enum.d.ts.map +0 -1
- package/dist/cjs/api/localization/translation-status.enum.js +0 -33
- package/dist/cjs/api/localization/translation-status.enum.js.map +0 -1
- package/dist/cjs/api/localization/translation.type.d.ts +0 -74
- package/dist/cjs/api/localization/translation.type.d.ts.map +0 -1
- package/dist/cjs/api/localization/translation.type.js +0 -3
- package/dist/cjs/api/localization/translation.type.js.map +0 -1
- package/dist/cjs/api/localization/variable-type.enum.d.ts +0 -39
- package/dist/cjs/api/localization/variable-type.enum.d.ts.map +0 -1
- package/dist/cjs/api/localization/variable-type.enum.js +0 -43
- package/dist/cjs/api/localization/variable-type.enum.js.map +0 -1
- package/dist/cjs/api/mobility/index.d.ts +0 -12
- package/dist/cjs/api/mobility/index.d.ts.map +0 -1
- package/dist/cjs/api/mobility/index.js +0 -28
- package/dist/cjs/api/mobility/index.js.map +0 -1
- package/dist/cjs/api/mobility/mobility-assignment-status.enum.d.ts.map +0 -1
- package/dist/cjs/api/mobility/mobility-assignment-status.enum.js +0 -10
- package/dist/cjs/api/mobility/mobility-assignment-status.enum.js.map +0 -1
- package/dist/cjs/api/mobility/mobility-assignment.type.d.ts.map +0 -1
- package/dist/cjs/api/mobility/mobility-assignment.type.js +0 -3
- package/dist/cjs/api/mobility/mobility-assignment.type.js.map +0 -1
- package/dist/cjs/api/mobility/mobility-availability-status.enum.d.ts +0 -7
- package/dist/cjs/api/mobility/mobility-availability-status.enum.d.ts.map +0 -1
- package/dist/cjs/api/mobility/mobility-availability-status.enum.js +0 -11
- package/dist/cjs/api/mobility/mobility-availability-status.enum.js.map +0 -1
- package/dist/cjs/api/mobility/mobility-dispatch-offer-status.enum.d.ts +0 -9
- package/dist/cjs/api/mobility/mobility-dispatch-offer-status.enum.d.ts.map +0 -1
- package/dist/cjs/api/mobility/mobility-dispatch-offer-status.enum.js +0 -13
- package/dist/cjs/api/mobility/mobility-dispatch-offer-status.enum.js.map +0 -1
- package/dist/cjs/api/mobility/mobility-dispatch-offer.type.d.ts.map +0 -1
- package/dist/cjs/api/mobility/mobility-dispatch-offer.type.js +0 -3
- package/dist/cjs/api/mobility/mobility-dispatch-offer.type.js.map +0 -1
- package/dist/cjs/api/mobility/mobility-dispatch-status.enum.d.ts.map +0 -1
- package/dist/cjs/api/mobility/mobility-dispatch-status.enum.js +0 -15
- package/dist/cjs/api/mobility/mobility-dispatch-status.enum.js.map +0 -1
- package/dist/cjs/api/mobility/mobility-dispatch.type.d.ts.map +0 -1
- package/dist/cjs/api/mobility/mobility-dispatch.type.js +0 -3
- package/dist/cjs/api/mobility/mobility-dispatch.type.js.map +0 -1
- package/dist/cjs/api/mobility/mobility-service-type.enum.d.ts +0 -6
- package/dist/cjs/api/mobility/mobility-service-type.enum.d.ts.map +0 -1
- package/dist/cjs/api/mobility/mobility-service-type.enum.js +0 -10
- package/dist/cjs/api/mobility/mobility-service-type.enum.js.map +0 -1
- package/dist/cjs/api/mobility/mobility-worker-rating.type.d.ts.map +0 -1
- package/dist/cjs/api/mobility/mobility-worker-rating.type.js +0 -3
- package/dist/cjs/api/mobility/mobility-worker-rating.type.js.map +0 -1
- package/dist/cjs/api/mobility/mobility-worker-status.enum.d.ts.map +0 -1
- package/dist/cjs/api/mobility/mobility-worker-status.enum.js +0 -10
- package/dist/cjs/api/mobility/mobility-worker-status.enum.js.map +0 -1
- package/dist/cjs/api/mobility/mobility-worker.type.d.ts +0 -75
- package/dist/cjs/api/mobility/mobility-worker.type.d.ts.map +0 -1
- package/dist/cjs/api/mobility/mobility-worker.type.js +0 -3
- package/dist/cjs/api/mobility/mobility-worker.type.js.map +0 -1
- package/dist/cjs/api/notification/index.d.ts.map +0 -1
- package/dist/cjs/api/notification/index.js +0 -21
- package/dist/cjs/api/notification/index.js.map +0 -1
- package/dist/cjs/api/notification/notification-channel.enum.d.ts +0 -27
- package/dist/cjs/api/notification/notification-channel.enum.d.ts.map +0 -1
- package/dist/cjs/api/notification/notification-channel.enum.js +0 -31
- package/dist/cjs/api/notification/notification-channel.enum.js.map +0 -1
- package/dist/cjs/api/notification/notification-delivery-status.enum.d.ts +0 -45
- package/dist/cjs/api/notification/notification-delivery-status.enum.d.ts.map +0 -1
- package/dist/cjs/api/notification/notification-delivery-status.enum.js +0 -49
- package/dist/cjs/api/notification/notification-delivery-status.enum.js.map +0 -1
- package/dist/cjs/api/notification/notification-template.type.d.ts +0 -68
- package/dist/cjs/api/notification/notification-template.type.d.ts.map +0 -1
- package/dist/cjs/api/notification/notification-template.type.js +0 -3
- package/dist/cjs/api/notification/notification-template.type.js.map +0 -1
- package/dist/cjs/api/notification/notification.type.d.ts.map +0 -1
- package/dist/cjs/api/notification/notification.type.js +0 -3
- package/dist/cjs/api/notification/notification.type.js.map +0 -1
- package/dist/cjs/api/realtime/index.d.ts.map +0 -1
- package/dist/cjs/api/realtime/index.js +0 -20
- package/dist/cjs/api/realtime/index.js.map +0 -1
- package/dist/cjs/api/realtime/realtime-event-type.enum.d.ts +0 -29
- package/dist/cjs/api/realtime/realtime-event-type.enum.d.ts.map +0 -1
- package/dist/cjs/api/realtime/realtime-event-type.enum.js +0 -33
- package/dist/cjs/api/realtime/realtime-event-type.enum.js.map +0 -1
- package/dist/cjs/api/realtime/realtime-resource-type.enum.d.ts +0 -13
- package/dist/cjs/api/realtime/realtime-resource-type.enum.d.ts.map +0 -1
- package/dist/cjs/api/realtime/realtime-resource-type.enum.js +0 -17
- package/dist/cjs/api/realtime/realtime-resource-type.enum.js.map +0 -1
- package/dist/cjs/api/realtime/realtime.type.d.ts +0 -106
- package/dist/cjs/api/realtime/realtime.type.d.ts.map +0 -1
- package/dist/cjs/api/realtime/realtime.type.js +0 -21
- package/dist/cjs/api/realtime/realtime.type.js.map +0 -1
- package/dist/cjs/api/unibox/canned-reply.type.d.ts +0 -49
- package/dist/cjs/api/unibox/canned-reply.type.d.ts.map +0 -1
- package/dist/cjs/api/unibox/canned-reply.type.js +0 -3
- package/dist/cjs/api/unibox/canned-reply.type.js.map +0 -1
- package/dist/cjs/api/unibox/channel-platform.enum.d.ts +0 -32
- package/dist/cjs/api/unibox/channel-platform.enum.d.ts.map +0 -1
- package/dist/cjs/api/unibox/channel-platform.enum.js +0 -36
- package/dist/cjs/api/unibox/channel-platform.enum.js.map +0 -1
- package/dist/cjs/api/unibox/channel.type.d.ts +0 -110
- package/dist/cjs/api/unibox/channel.type.d.ts.map +0 -1
- package/dist/cjs/api/unibox/channel.type.js +0 -3
- package/dist/cjs/api/unibox/channel.type.js.map +0 -1
- package/dist/cjs/api/unibox/contact.type.d.ts +0 -102
- package/dist/cjs/api/unibox/contact.type.d.ts.map +0 -1
- package/dist/cjs/api/unibox/contact.type.js +0 -3
- package/dist/cjs/api/unibox/contact.type.js.map +0 -1
- package/dist/cjs/api/unibox/conversation-status.enum.d.ts +0 -39
- package/dist/cjs/api/unibox/conversation-status.enum.d.ts.map +0 -1
- package/dist/cjs/api/unibox/conversation-status.enum.js +0 -43
- package/dist/cjs/api/unibox/conversation-status.enum.js.map +0 -1
- package/dist/cjs/api/unibox/conversation.type.d.ts +0 -134
- package/dist/cjs/api/unibox/conversation.type.d.ts.map +0 -1
- package/dist/cjs/api/unibox/conversation.type.js +0 -3
- package/dist/cjs/api/unibox/conversation.type.js.map +0 -1
- package/dist/cjs/api/unibox/index.d.ts.map +0 -1
- package/dist/cjs/api/unibox/index.js +0 -31
- package/dist/cjs/api/unibox/index.js.map +0 -1
- package/dist/cjs/api/unibox/message-author-type.enum.d.ts.map +0 -1
- package/dist/cjs/api/unibox/message-author-type.enum.js +0 -30
- package/dist/cjs/api/unibox/message-author-type.enum.js.map +0 -1
- package/dist/cjs/api/unibox/message-content-type.enum.d.ts.map +0 -1
- package/dist/cjs/api/unibox/message-content-type.enum.js +0 -33
- package/dist/cjs/api/unibox/message-content-type.enum.js.map +0 -1
- package/dist/cjs/api/unibox/message-direction.enum.d.ts.map +0 -1
- package/dist/cjs/api/unibox/message-direction.enum.js +0 -27
- package/dist/cjs/api/unibox/message-direction.enum.js.map +0 -1
- package/dist/cjs/api/unibox/message-status.enum.d.ts.map +0 -1
- package/dist/cjs/api/unibox/message-status.enum.js +0 -44
- package/dist/cjs/api/unibox/message-status.enum.js.map +0 -1
- package/dist/cjs/api/unibox/message.type.d.ts +0 -120
- package/dist/cjs/api/unibox/message.type.d.ts.map +0 -1
- package/dist/cjs/api/unibox/message.type.js +0 -3
- package/dist/cjs/api/unibox/message.type.js.map +0 -1
- package/dist/cjs/api/unibox/realtime-event.enum.d.ts.map +0 -1
- package/dist/cjs/api/unibox/realtime-event.enum.js +0 -28
- package/dist/cjs/api/unibox/realtime-event.enum.js.map +0 -1
- package/dist/cjs/api/unibox/realtime.type.d.ts.map +0 -1
- package/dist/cjs/api/unibox/realtime.type.js +0 -24
- package/dist/cjs/api/unibox/realtime.type.js.map +0 -1
- package/dist/cjs/api/unibox/team.type.d.ts +0 -50
- package/dist/cjs/api/unibox/team.type.d.ts.map +0 -1
- package/dist/cjs/api/unibox/team.type.js +0 -3
- package/dist/cjs/api/unibox/team.type.js.map +0 -1
- package/dist/cjs/api/unibox-ai/agent-run.type.d.ts +0 -39
- package/dist/cjs/api/unibox-ai/agent-run.type.d.ts.map +0 -1
- package/dist/cjs/api/unibox-ai/agent-run.type.js +0 -9
- package/dist/cjs/api/unibox-ai/agent-run.type.js.map +0 -1
- package/dist/cjs/api/unibox-ai/index.d.ts.map +0 -1
- package/dist/cjs/api/unibox-ai/index.js +0 -19
- package/dist/cjs/api/unibox-ai/index.js.map +0 -1
- package/dist/cjs/api/unibox-ai/mcp-server.type.d.ts.map +0 -1
- package/dist/cjs/api/unibox-ai/mcp-server.type.js +0 -3
- package/dist/cjs/api/unibox-ai/mcp-server.type.js.map +0 -1
- package/dist/cjs/enum/error-code.enum.d.ts.map +0 -1
- package/dist/cjs/enum/error-code.enum.js +0 -60
- package/dist/cjs/enum/error-code.enum.js.map +0 -1
- package/dist/cjs/enum/index.d.ts.map +0 -1
- package/dist/cjs/enum/index.js +0 -19
- package/dist/cjs/enum/index.js.map +0 -1
- package/dist/cjs/enum/user-permission.enum.d.ts.map +0 -1
- package/dist/cjs/enum/user-permission.enum.js +0 -506
- package/dist/cjs/enum/user-permission.enum.js.map +0 -1
- package/dist/cjs/index.d.ts.map +0 -1
- package/dist/cjs/index.js +0 -19
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/package.json +0 -3
- package/dist/cjs/type/api-response.type.d.ts +0 -59
- package/dist/cjs/type/api-response.type.d.ts.map +0 -1
- package/dist/cjs/type/api-response.type.js +0 -3
- package/dist/cjs/type/api-response.type.js.map +0 -1
- package/dist/cjs/type/cursor-page.type.d.ts +0 -27
- package/dist/cjs/type/cursor-page.type.d.ts.map +0 -1
- package/dist/cjs/type/cursor-page.type.js +0 -3
- package/dist/cjs/type/cursor-page.type.js.map +0 -1
- package/dist/cjs/type/index.d.ts.map +0 -1
- package/dist/cjs/type/index.js +0 -23
- package/dist/cjs/type/index.js.map +0 -1
- package/dist/cjs/type/iso-date-time.type.d.ts.map +0 -1
- package/dist/cjs/type/iso-date-time.type.js +0 -3
- package/dist/cjs/type/iso-date-time.type.js.map +0 -1
- package/dist/cjs/type/nil.type.d.ts +0 -23
- package/dist/cjs/type/nil.type.d.ts.map +0 -1
- package/dist/cjs/type/nil.type.js +0 -3
- package/dist/cjs/type/nil.type.js.map +0 -1
- package/dist/cjs/type/paginated.type.d.ts.map +0 -1
- package/dist/cjs/type/paginated.type.js +0 -3
- package/dist/cjs/type/paginated.type.js.map +0 -1
- package/dist/cjs/type/uuid.type.d.ts +0 -13
- package/dist/cjs/type/uuid.type.d.ts.map +0 -1
- package/dist/cjs/type/uuid.type.js +0 -3
- package/dist/cjs/type/uuid.type.js.map +0 -1
- package/dist/esm/api/conduit/capture.type.d.ts +0 -98
- package/dist/esm/api/conduit/capture.type.d.ts.map +0 -1
- package/dist/esm/api/conduit/capture.type.js +0 -2
- package/dist/esm/api/conduit/capture.type.js.map +0 -1
- package/dist/esm/api/conduit/connection-verification-verdict.enum.d.ts.map +0 -1
- package/dist/esm/api/conduit/connection-verification-verdict.enum.js.map +0 -1
- package/dist/esm/api/conduit/connection.type.d.ts.map +0 -1
- package/dist/esm/api/conduit/connection.type.js +0 -2
- package/dist/esm/api/conduit/connection.type.js.map +0 -1
- package/dist/esm/api/conduit/connector-auth-type.enum.d.ts.map +0 -1
- package/dist/esm/api/conduit/connector-auth-type.enum.js.map +0 -1
- package/dist/esm/api/conduit/connector.type.d.ts.map +0 -1
- package/dist/esm/api/conduit/connector.type.js.map +0 -1
- package/dist/esm/api/conduit/delivery-status.enum.d.ts.map +0 -1
- package/dist/esm/api/conduit/delivery-status.enum.js.map +0 -1
- package/dist/esm/api/conduit/delivery.type.d.ts.map +0 -1
- package/dist/esm/api/conduit/delivery.type.js +0 -2
- package/dist/esm/api/conduit/delivery.type.js.map +0 -1
- package/dist/esm/api/conduit/destination.type.d.ts.map +0 -1
- package/dist/esm/api/conduit/destination.type.js +0 -2
- package/dist/esm/api/conduit/destination.type.js.map +0 -1
- package/dist/esm/api/conduit/dispatch-status.enum.d.ts.map +0 -1
- package/dist/esm/api/conduit/dispatch-status.enum.js.map +0 -1
- package/dist/esm/api/conduit/dispatch.type.d.ts +0 -177
- package/dist/esm/api/conduit/dispatch.type.d.ts.map +0 -1
- package/dist/esm/api/conduit/dispatch.type.js +0 -2
- package/dist/esm/api/conduit/dispatch.type.js.map +0 -1
- package/dist/esm/api/conduit/endpoint.type.d.ts.map +0 -1
- package/dist/esm/api/conduit/endpoint.type.js +0 -2
- package/dist/esm/api/conduit/endpoint.type.js.map +0 -1
- package/dist/esm/api/conduit/handshake-kind.enum.d.ts.map +0 -1
- package/dist/esm/api/conduit/handshake-kind.enum.js.map +0 -1
- package/dist/esm/api/conduit/index.d.ts +0 -22
- package/dist/esm/api/conduit/index.d.ts.map +0 -1
- package/dist/esm/api/conduit/index.js.map +0 -1
- package/dist/esm/api/conduit/match-operator.enum.d.ts.map +0 -1
- package/dist/esm/api/conduit/match-operator.enum.js.map +0 -1
- package/dist/esm/api/conduit/provider.type.d.ts +0 -138
- package/dist/esm/api/conduit/provider.type.d.ts.map +0 -1
- package/dist/esm/api/conduit/provider.type.js.map +0 -1
- package/dist/esm/api/conduit/replay.type.d.ts +0 -48
- package/dist/esm/api/conduit/replay.type.d.ts.map +0 -1
- package/dist/esm/api/conduit/replay.type.js +0 -2
- package/dist/esm/api/conduit/replay.type.js.map +0 -1
- package/dist/esm/api/conduit/route.type.d.ts +0 -124
- package/dist/esm/api/conduit/route.type.d.ts.map +0 -1
- package/dist/esm/api/conduit/route.type.js +0 -2
- package/dist/esm/api/conduit/route.type.js.map +0 -1
- package/dist/esm/api/conduit/signature-algorithm.enum.d.ts.map +0 -1
- package/dist/esm/api/conduit/signature-algorithm.enum.js.map +0 -1
- package/dist/esm/api/conduit/signature-encoding.enum.d.ts.map +0 -1
- package/dist/esm/api/conduit/signature-encoding.enum.js.map +0 -1
- package/dist/esm/api/conduit/signature-header-scheme.enum.d.ts +0 -19
- package/dist/esm/api/conduit/signature-header-scheme.enum.d.ts.map +0 -1
- package/dist/esm/api/conduit/signature-header-scheme.enum.js.map +0 -1
- package/dist/esm/api/conduit/signature-verdict.enum.d.ts +0 -50
- package/dist/esm/api/conduit/signature-verdict.enum.d.ts.map +0 -1
- package/dist/esm/api/conduit/signature-verdict.enum.js.map +0 -1
- package/dist/esm/api/conduit/signature.type.d.ts +0 -54
- package/dist/esm/api/conduit/signature.type.d.ts.map +0 -1
- package/dist/esm/api/conduit/signature.type.js +0 -2
- package/dist/esm/api/conduit/signature.type.js.map +0 -1
- package/dist/esm/api/identity/access-token-payload.interface.d.ts +0 -53
- package/dist/esm/api/identity/access-token-payload.interface.d.ts.map +0 -1
- package/dist/esm/api/identity/access-token-payload.interface.js +0 -2
- package/dist/esm/api/identity/access-token-payload.interface.js.map +0 -1
- package/dist/esm/api/identity/auth.type.d.ts +0 -165
- package/dist/esm/api/identity/auth.type.d.ts.map +0 -1
- package/dist/esm/api/identity/auth.type.js +0 -2
- package/dist/esm/api/identity/auth.type.js.map +0 -1
- package/dist/esm/api/identity/index.d.ts.map +0 -1
- package/dist/esm/api/identity/index.js.map +0 -1
- package/dist/esm/api/identity/membership-status.enum.d.ts +0 -16
- package/dist/esm/api/identity/membership-status.enum.d.ts.map +0 -1
- package/dist/esm/api/identity/membership-status.enum.js.map +0 -1
- package/dist/esm/api/identity/principal-type.enum.d.ts +0 -19
- package/dist/esm/api/identity/principal-type.enum.d.ts.map +0 -1
- package/dist/esm/api/identity/principal-type.enum.js.map +0 -1
- package/dist/esm/api/identity/tenant-status.enum.d.ts.map +0 -1
- package/dist/esm/api/identity/tenant-status.enum.js.map +0 -1
- package/dist/esm/api/localization/bundle.type.d.ts +0 -41
- package/dist/esm/api/localization/bundle.type.d.ts.map +0 -1
- package/dist/esm/api/localization/bundle.type.js +0 -2
- package/dist/esm/api/localization/bundle.type.js.map +0 -1
- package/dist/esm/api/localization/index.d.ts.map +0 -1
- package/dist/esm/api/localization/index.js.map +0 -1
- package/dist/esm/api/localization/locale.type.d.ts +0 -67
- package/dist/esm/api/localization/locale.type.d.ts.map +0 -1
- package/dist/esm/api/localization/locale.type.js +0 -2
- package/dist/esm/api/localization/locale.type.js.map +0 -1
- package/dist/esm/api/localization/message.type.d.ts.map +0 -1
- package/dist/esm/api/localization/message.type.js +0 -2
- package/dist/esm/api/localization/message.type.js.map +0 -1
- package/dist/esm/api/localization/namespace.type.d.ts +0 -67
- package/dist/esm/api/localization/namespace.type.d.ts.map +0 -1
- package/dist/esm/api/localization/namespace.type.js +0 -2
- package/dist/esm/api/localization/namespace.type.js.map +0 -1
- package/dist/esm/api/localization/release.type.d.ts.map +0 -1
- package/dist/esm/api/localization/release.type.js +0 -2
- package/dist/esm/api/localization/release.type.js.map +0 -1
- package/dist/esm/api/localization/render.type.d.ts.map +0 -1
- package/dist/esm/api/localization/render.type.js +0 -2
- package/dist/esm/api/localization/render.type.js.map +0 -1
- package/dist/esm/api/localization/translation-status.enum.d.ts +0 -29
- package/dist/esm/api/localization/translation-status.enum.d.ts.map +0 -1
- package/dist/esm/api/localization/translation-status.enum.js.map +0 -1
- package/dist/esm/api/localization/translation.type.d.ts.map +0 -1
- package/dist/esm/api/localization/translation.type.js +0 -2
- package/dist/esm/api/localization/translation.type.js.map +0 -1
- package/dist/esm/api/localization/variable-type.enum.d.ts.map +0 -1
- package/dist/esm/api/localization/variable-type.enum.js.map +0 -1
- package/dist/esm/api/mobility/index.d.ts.map +0 -1
- package/dist/esm/api/mobility/index.js.map +0 -1
- package/dist/esm/api/mobility/mobility-assignment-status.enum.d.ts +0 -6
- package/dist/esm/api/mobility/mobility-assignment-status.enum.d.ts.map +0 -1
- package/dist/esm/api/mobility/mobility-assignment-status.enum.js.map +0 -1
- package/dist/esm/api/mobility/mobility-assignment.type.d.ts +0 -26
- package/dist/esm/api/mobility/mobility-assignment.type.d.ts.map +0 -1
- package/dist/esm/api/mobility/mobility-assignment.type.js +0 -2
- package/dist/esm/api/mobility/mobility-assignment.type.js.map +0 -1
- package/dist/esm/api/mobility/mobility-availability-status.enum.d.ts.map +0 -1
- package/dist/esm/api/mobility/mobility-availability-status.enum.js.map +0 -1
- package/dist/esm/api/mobility/mobility-dispatch-offer-status.enum.d.ts.map +0 -1
- package/dist/esm/api/mobility/mobility-dispatch-offer-status.enum.js.map +0 -1
- package/dist/esm/api/mobility/mobility-dispatch-offer.type.d.ts +0 -55
- package/dist/esm/api/mobility/mobility-dispatch-offer.type.d.ts.map +0 -1
- package/dist/esm/api/mobility/mobility-dispatch-offer.type.js +0 -2
- package/dist/esm/api/mobility/mobility-dispatch-offer.type.js.map +0 -1
- package/dist/esm/api/mobility/mobility-dispatch-status.enum.d.ts +0 -11
- package/dist/esm/api/mobility/mobility-dispatch-status.enum.d.ts.map +0 -1
- package/dist/esm/api/mobility/mobility-dispatch-status.enum.js.map +0 -1
- package/dist/esm/api/mobility/mobility-dispatch.type.d.ts +0 -57
- package/dist/esm/api/mobility/mobility-dispatch.type.d.ts.map +0 -1
- package/dist/esm/api/mobility/mobility-dispatch.type.js +0 -2
- package/dist/esm/api/mobility/mobility-dispatch.type.js.map +0 -1
- package/dist/esm/api/mobility/mobility-service-type.enum.d.ts.map +0 -1
- package/dist/esm/api/mobility/mobility-service-type.enum.js.map +0 -1
- package/dist/esm/api/mobility/mobility-worker-rating.type.d.ts +0 -72
- package/dist/esm/api/mobility/mobility-worker-rating.type.d.ts.map +0 -1
- package/dist/esm/api/mobility/mobility-worker-rating.type.js +0 -2
- package/dist/esm/api/mobility/mobility-worker-rating.type.js.map +0 -1
- package/dist/esm/api/mobility/mobility-worker-status.enum.d.ts +0 -6
- package/dist/esm/api/mobility/mobility-worker-status.enum.d.ts.map +0 -1
- package/dist/esm/api/mobility/mobility-worker-status.enum.js.map +0 -1
- package/dist/esm/api/mobility/mobility-worker.type.d.ts.map +0 -1
- package/dist/esm/api/mobility/mobility-worker.type.js +0 -2
- package/dist/esm/api/mobility/mobility-worker.type.js.map +0 -1
- package/dist/esm/api/notification/index.d.ts +0 -5
- package/dist/esm/api/notification/index.d.ts.map +0 -1
- package/dist/esm/api/notification/index.js.map +0 -1
- package/dist/esm/api/notification/notification-channel.enum.d.ts.map +0 -1
- package/dist/esm/api/notification/notification-channel.enum.js.map +0 -1
- package/dist/esm/api/notification/notification-delivery-status.enum.d.ts.map +0 -1
- package/dist/esm/api/notification/notification-delivery-status.enum.js.map +0 -1
- package/dist/esm/api/notification/notification-template.type.d.ts.map +0 -1
- package/dist/esm/api/notification/notification-template.type.js +0 -2
- package/dist/esm/api/notification/notification-template.type.js.map +0 -1
- package/dist/esm/api/notification/notification.type.d.ts +0 -136
- package/dist/esm/api/notification/notification.type.d.ts.map +0 -1
- package/dist/esm/api/notification/notification.type.js +0 -2
- package/dist/esm/api/notification/notification.type.js.map +0 -1
- package/dist/esm/api/realtime/index.d.ts +0 -4
- package/dist/esm/api/realtime/index.d.ts.map +0 -1
- package/dist/esm/api/realtime/index.js.map +0 -1
- package/dist/esm/api/realtime/realtime-event-type.enum.d.ts.map +0 -1
- package/dist/esm/api/realtime/realtime-event-type.enum.js.map +0 -1
- package/dist/esm/api/realtime/realtime-resource-type.enum.d.ts.map +0 -1
- package/dist/esm/api/realtime/realtime-resource-type.enum.js.map +0 -1
- package/dist/esm/api/realtime/realtime.type.d.ts.map +0 -1
- package/dist/esm/api/realtime/realtime.type.js.map +0 -1
- package/dist/esm/api/unibox/canned-reply.type.d.ts.map +0 -1
- package/dist/esm/api/unibox/canned-reply.type.js +0 -2
- package/dist/esm/api/unibox/canned-reply.type.js.map +0 -1
- package/dist/esm/api/unibox/channel-platform.enum.d.ts.map +0 -1
- package/dist/esm/api/unibox/channel-platform.enum.js.map +0 -1
- package/dist/esm/api/unibox/channel.type.d.ts.map +0 -1
- package/dist/esm/api/unibox/channel.type.js +0 -2
- package/dist/esm/api/unibox/channel.type.js.map +0 -1
- package/dist/esm/api/unibox/contact.type.d.ts.map +0 -1
- package/dist/esm/api/unibox/contact.type.js +0 -2
- package/dist/esm/api/unibox/contact.type.js.map +0 -1
- package/dist/esm/api/unibox/conversation-status.enum.d.ts.map +0 -1
- package/dist/esm/api/unibox/conversation-status.enum.js.map +0 -1
- package/dist/esm/api/unibox/conversation.type.d.ts.map +0 -1
- package/dist/esm/api/unibox/conversation.type.js +0 -2
- package/dist/esm/api/unibox/conversation.type.js.map +0 -1
- package/dist/esm/api/unibox/index.d.ts +0 -15
- package/dist/esm/api/unibox/index.d.ts.map +0 -1
- package/dist/esm/api/unibox/index.js.map +0 -1
- package/dist/esm/api/unibox/message-author-type.enum.d.ts +0 -26
- package/dist/esm/api/unibox/message-author-type.enum.d.ts.map +0 -1
- package/dist/esm/api/unibox/message-author-type.enum.js.map +0 -1
- package/dist/esm/api/unibox/message-content-type.enum.d.ts +0 -29
- package/dist/esm/api/unibox/message-content-type.enum.d.ts.map +0 -1
- package/dist/esm/api/unibox/message-content-type.enum.js.map +0 -1
- package/dist/esm/api/unibox/message-direction.enum.d.ts +0 -23
- package/dist/esm/api/unibox/message-direction.enum.d.ts.map +0 -1
- package/dist/esm/api/unibox/message-direction.enum.js.map +0 -1
- package/dist/esm/api/unibox/message-status.enum.d.ts +0 -40
- package/dist/esm/api/unibox/message-status.enum.d.ts.map +0 -1
- package/dist/esm/api/unibox/message-status.enum.js.map +0 -1
- package/dist/esm/api/unibox/message.type.d.ts.map +0 -1
- package/dist/esm/api/unibox/message.type.js +0 -2
- package/dist/esm/api/unibox/message.type.js.map +0 -1
- package/dist/esm/api/unibox/realtime-event.enum.d.ts +0 -24
- package/dist/esm/api/unibox/realtime-event.enum.d.ts.map +0 -1
- package/dist/esm/api/unibox/realtime-event.enum.js.map +0 -1
- package/dist/esm/api/unibox/realtime.type.d.ts +0 -95
- package/dist/esm/api/unibox/realtime.type.d.ts.map +0 -1
- package/dist/esm/api/unibox/realtime.type.js.map +0 -1
- package/dist/esm/api/unibox/team.type.d.ts.map +0 -1
- package/dist/esm/api/unibox/team.type.js +0 -2
- package/dist/esm/api/unibox/team.type.js.map +0 -1
- package/dist/esm/api/unibox-ai/agent-run.type.d.ts.map +0 -1
- package/dist/esm/api/unibox-ai/agent-run.type.js.map +0 -1
- package/dist/esm/api/unibox-ai/index.d.ts +0 -3
- package/dist/esm/api/unibox-ai/index.d.ts.map +0 -1
- package/dist/esm/api/unibox-ai/index.js.map +0 -1
- package/dist/esm/api/unibox-ai/mcp-server.type.d.ts +0 -35
- package/dist/esm/api/unibox-ai/mcp-server.type.d.ts.map +0 -1
- package/dist/esm/api/unibox-ai/mcp-server.type.js +0 -2
- package/dist/esm/api/unibox-ai/mcp-server.type.js.map +0 -1
- package/dist/esm/enum/error-code.enum.d.ts +0 -48
- package/dist/esm/enum/error-code.enum.d.ts.map +0 -1
- package/dist/esm/enum/error-code.enum.js.map +0 -1
- package/dist/esm/enum/index.d.ts +0 -3
- package/dist/esm/enum/index.d.ts.map +0 -1
- package/dist/esm/enum/index.js.map +0 -1
- package/dist/esm/enum/user-permission.enum.d.ts +0 -442
- package/dist/esm/enum/user-permission.enum.d.ts.map +0 -1
- package/dist/esm/enum/user-permission.enum.js.map +0 -1
- package/dist/esm/index.d.ts +0 -3
- package/dist/esm/index.d.ts.map +0 -1
- package/dist/esm/index.js.map +0 -1
- package/dist/esm/package.json +0 -3
- package/dist/esm/type/api-response.type.d.ts.map +0 -1
- package/dist/esm/type/api-response.type.js +0 -2
- package/dist/esm/type/api-response.type.js.map +0 -1
- package/dist/esm/type/cursor-page.type.d.ts.map +0 -1
- package/dist/esm/type/cursor-page.type.js +0 -2
- package/dist/esm/type/cursor-page.type.js.map +0 -1
- package/dist/esm/type/index.d.ts +0 -7
- package/dist/esm/type/index.d.ts.map +0 -1
- package/dist/esm/type/index.js.map +0 -1
- package/dist/esm/type/iso-date-time.type.d.ts +0 -17
- package/dist/esm/type/iso-date-time.type.d.ts.map +0 -1
- package/dist/esm/type/iso-date-time.type.js +0 -2
- package/dist/esm/type/iso-date-time.type.js.map +0 -1
- package/dist/esm/type/nil.type.d.ts.map +0 -1
- package/dist/esm/type/nil.type.js +0 -2
- package/dist/esm/type/nil.type.js.map +0 -1
- package/dist/esm/type/paginated.type.d.ts +0 -21
- package/dist/esm/type/paginated.type.d.ts.map +0 -1
- package/dist/esm/type/paginated.type.js +0 -2
- package/dist/esm/type/paginated.type.js.map +0 -1
- package/dist/esm/type/uuid.type.d.ts.map +0 -1
- package/dist/esm/type/uuid.type.js +0 -2
- package/dist/esm/type/uuid.type.js.map +0 -1
|
@@ -1,506 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ALL_USER_PERMISSIONS = exports.UserPermission = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* Every action a principal can be granted in an Iveri tenant, across every service.
|
|
6
|
-
*
|
|
7
|
-
* A permission is a **contract**, not an implementation detail: `iveri-identity-api` stores
|
|
8
|
-
* members on role rows and resolves them into access tokens, every other service reads them
|
|
9
|
-
* out of that token to authorize a request, and the frontend's `<RequirePermission>` branches
|
|
10
|
-
* on the same values. A member's wire value therefore never changes, and a member is never
|
|
11
|
-
* removed while issued tokens can still carry it — removing one silently downgrades every
|
|
12
|
-
* live session holding it. Adding one is a minor version.
|
|
13
|
-
*
|
|
14
|
-
* **One catalogue for the whole platform, deliberately.** Identity validates custom-role input
|
|
15
|
-
* against this list, so a permission it has never heard of cannot be granted. A service that
|
|
16
|
-
* defined its own enum locally would find its permissions unassignable.
|
|
17
|
-
*
|
|
18
|
-
* Values are `<resource>:<action>` — or `<service>:<resource>:<action>` where a resource name
|
|
19
|
-
* would otherwise collide across services — lowercase, so a token payload is readable in a
|
|
20
|
-
* log and a wildcard match (`role:*`) stays possible if we ever need one.
|
|
21
|
-
*/
|
|
22
|
-
var UserPermission;
|
|
23
|
-
(function (UserPermission) {
|
|
24
|
-
// ══ iveri-identity-api ═══════════════════════════════════════════════════
|
|
25
|
-
// ── Tenant ──────────────────────────────────────────────────────────────
|
|
26
|
-
UserPermission["TENANT_READ"] = "tenant:read";
|
|
27
|
-
UserPermission["TENANT_UPDATE"] = "tenant:update";
|
|
28
|
-
/** Schedules the tenant for deletion. Owner-only; there is no undo path built yet. */
|
|
29
|
-
UserPermission["TENANT_DELETE"] = "tenant:delete";
|
|
30
|
-
// ── User ────────────────────────────────────────────────────────────────
|
|
31
|
-
UserPermission["USER_READ"] = "user:read";
|
|
32
|
-
UserPermission["USER_INVITE"] = "user:invite";
|
|
33
|
-
UserPermission["USER_UPDATE"] = "user:update";
|
|
34
|
-
UserPermission["USER_REMOVE"] = "user:remove";
|
|
35
|
-
// ── Profile ─────────────────────────────────────────────────────────────
|
|
36
|
-
/**
|
|
37
|
-
* Read the **public** half of somebody else's profile — a display name and a photo, and
|
|
38
|
-
* nothing else.
|
|
39
|
-
*
|
|
40
|
-
* Deliberately not `USER_READ`, which returns an email, a membership and a role list for
|
|
41
|
-
* every person in the tenant. The thing a passenger needs is the face of the driver coming
|
|
42
|
-
* to collect them, and the thing a merchant needs is the name of the courier at their door;
|
|
43
|
-
* granting a tenant-wide user read to answer that would hand a phone the staff directory.
|
|
44
|
-
*
|
|
45
|
-
* A person always reads their **own** profile through `GET /auth/me`, which needs no
|
|
46
|
-
* permission at all — it is the subject of the presented token.
|
|
47
|
-
*/
|
|
48
|
-
UserPermission["PROFILE_READ"] = "profile:read";
|
|
49
|
-
// ── Membership ──────────────────────────────────────────────────────────
|
|
50
|
-
UserPermission["MEMBERSHIP_READ"] = "membership:read";
|
|
51
|
-
/** Suspend or reactivate someone's access without deleting their account. */
|
|
52
|
-
UserPermission["MEMBERSHIP_UPDATE"] = "membership:update";
|
|
53
|
-
/**
|
|
54
|
-
* Change which roles a membership holds. Separate from `MEMBERSHIP_UPDATE` because
|
|
55
|
-
* granting roles is privilege escalation and deserves its own gate.
|
|
56
|
-
*/
|
|
57
|
-
UserPermission["MEMBERSHIP_ASSIGN_ROLE"] = "membership:assign-role";
|
|
58
|
-
// ── Role ────────────────────────────────────────────────────────────────
|
|
59
|
-
UserPermission["ROLE_READ"] = "role:read";
|
|
60
|
-
UserPermission["ROLE_CREATE"] = "role:create";
|
|
61
|
-
UserPermission["ROLE_UPDATE"] = "role:update";
|
|
62
|
-
UserPermission["ROLE_DELETE"] = "role:delete";
|
|
63
|
-
// ── API key ─────────────────────────────────────────────────────────────
|
|
64
|
-
UserPermission["API_KEY_READ"] = "api-key:read";
|
|
65
|
-
UserPermission["API_KEY_ISSUE"] = "api-key:issue";
|
|
66
|
-
UserPermission["API_KEY_REVOKE"] = "api-key:revoke";
|
|
67
|
-
// ══ conduit-api ══════════════════════════════════════════════════════════
|
|
68
|
-
// ── Endpoint ────────────────────────────────────────────────────────────
|
|
69
|
-
/** Read endpoint configuration. Never exposes the signing secret. */
|
|
70
|
-
UserPermission["CONDUIT_ENDPOINT_READ"] = "conduit:endpoint:read";
|
|
71
|
-
UserPermission["CONDUIT_ENDPOINT_CREATE"] = "conduit:endpoint:create";
|
|
72
|
-
UserPermission["CONDUIT_ENDPOINT_UPDATE"] = "conduit:endpoint:update";
|
|
73
|
-
UserPermission["CONDUIT_ENDPOINT_DELETE"] = "conduit:endpoint:delete";
|
|
74
|
-
// ── Capture ─────────────────────────────────────────────────────────────
|
|
75
|
-
/**
|
|
76
|
-
* List and read captured requests, **including their raw bodies and headers**. Captures
|
|
77
|
-
* hold whatever a provider sent — order details, message contents, personal data — so
|
|
78
|
-
* this is closer to a data-export permission than a config one.
|
|
79
|
-
*/
|
|
80
|
-
UserPermission["CONDUIT_CAPTURE_READ"] = "conduit:capture:read";
|
|
81
|
-
UserPermission["CONDUIT_CAPTURE_DELETE"] = "conduit:capture:delete";
|
|
82
|
-
// ── Replay ──────────────────────────────────────────────────────────────
|
|
83
|
-
/**
|
|
84
|
-
* Resend a captured request to an arbitrary URL. Separate from `CONDUIT_CAPTURE_READ`
|
|
85
|
-
* because it makes an outbound request from our infrastructure with a body the caller
|
|
86
|
-
* controls, which is a materially different power from reading a row.
|
|
87
|
-
*/
|
|
88
|
-
UserPermission["CONDUIT_REPLAY_EXECUTE"] = "conduit:replay:execute";
|
|
89
|
-
// ── Provider ────────────────────────────────────────────────────────────
|
|
90
|
-
UserPermission["CONDUIT_PROVIDER_READ"] = "conduit:provider:read";
|
|
91
|
-
/** Define or amend a custom provider manifest — signature scheme, headers, handshake. */
|
|
92
|
-
UserPermission["CONDUIT_PROVIDER_MANAGE"] = "conduit:provider:manage";
|
|
93
|
-
// ── Destination (gateway mode) ──────────────────────────────────────────
|
|
94
|
-
/** Read destinations. Never exposes their stored header values. */
|
|
95
|
-
UserPermission["CONDUIT_DESTINATION_READ"] = "conduit:destination:read";
|
|
96
|
-
/**
|
|
97
|
-
* Create, amend or delete a destination — **a URL Conduit will then post to on its own**,
|
|
98
|
-
* repeatedly, from inside our network, carrying whatever a provider sent.
|
|
99
|
-
*
|
|
100
|
-
* Deliberately a single manage permission rather than create/update/delete: the dangerous
|
|
101
|
-
* act is naming the URL at all, and splitting it would imply the three carry different
|
|
102
|
-
* risk. They do not.
|
|
103
|
-
*/
|
|
104
|
-
UserPermission["CONDUIT_DESTINATION_MANAGE"] = "conduit:destination:manage";
|
|
105
|
-
// ── Route (gateway mode) ────────────────────────────────────────────────
|
|
106
|
-
UserPermission["CONDUIT_ROUTE_READ"] = "conduit:route:read";
|
|
107
|
-
/** Define which captures fan out to which destinations. */
|
|
108
|
-
UserPermission["CONDUIT_ROUTE_MANAGE"] = "conduit:route:manage";
|
|
109
|
-
// ── Delivery (gateway mode) ─────────────────────────────────────────────
|
|
110
|
-
/**
|
|
111
|
-
* Read the delivery log and the dead-letter queue, including each attempt's response.
|
|
112
|
-
*
|
|
113
|
-
* Grouped with reading rather than with operating the queue: a delivery record holds a
|
|
114
|
-
* target's response body, which can echo back the payload that was sent.
|
|
115
|
-
*/
|
|
116
|
-
UserPermission["CONDUIT_DELIVERY_READ"] = "conduit:delivery:read";
|
|
117
|
-
/**
|
|
118
|
-
* Redrive a dead-lettered delivery, or cancel one still pending.
|
|
119
|
-
*
|
|
120
|
-
* Separate from `CONDUIT_DELIVERY_READ` for the same reason replay is separate from capture
|
|
121
|
-
* read: it causes an outbound request rather than returning a row, and redriving a large
|
|
122
|
-
* dead-letter backlog is a way to flood a customer's own service.
|
|
123
|
-
*/
|
|
124
|
-
UserPermission["CONDUIT_DELIVERY_OPERATE"] = "conduit:delivery:operate";
|
|
125
|
-
// ── Connector (outbound) ────────────────────────────────────────────────
|
|
126
|
-
/** Read connector manifests. They hold no credential, so this is configuration only. */
|
|
127
|
-
UserPermission["CONDUIT_CONNECTOR_READ"] = "conduit:connector:read";
|
|
128
|
-
/**
|
|
129
|
-
* Define or amend a connector manifest — **the list of hosts and paths Conduit may be asked
|
|
130
|
-
* to call**, and the token endpoint it will send a customer's client secret to.
|
|
131
|
-
*
|
|
132
|
-
* The most powerful permission in the outbound half. A dispatch cannot name a URL; it can
|
|
133
|
-
* only name an operation somebody with this permission wrote down, which is what keeps
|
|
134
|
-
* outbound from being an authenticated open proxy. Whoever holds this decides where the
|
|
135
|
-
* proxy may point.
|
|
136
|
-
*/
|
|
137
|
-
UserPermission["CONDUIT_CONNECTOR_MANAGE"] = "conduit:connector:manage";
|
|
138
|
-
// ── Connection (outbound) ───────────────────────────────────────────────
|
|
139
|
-
/** Read connections. Never exposes their stored credential values. */
|
|
140
|
-
UserPermission["CONDUIT_CONNECTION_READ"] = "conduit:connection:read";
|
|
141
|
-
/**
|
|
142
|
-
* Create, amend or delete a connection — the customer's own third-party credentials.
|
|
143
|
-
*
|
|
144
|
-
* Single manage permission rather than create/update/delete: the dangerous act is holding
|
|
145
|
-
* the credential at all, and the three carry the same risk.
|
|
146
|
-
*/
|
|
147
|
-
UserPermission["CONDUIT_CONNECTION_MANAGE"] = "conduit:connection:manage";
|
|
148
|
-
// ── Dispatch (outbound) ─────────────────────────────────────────────────
|
|
149
|
-
/**
|
|
150
|
-
* Read the outbound log and its dead-letter queue, including each attempt's response.
|
|
151
|
-
*
|
|
152
|
-
* A dispatch record holds the payload a vertical asked to send — a customer's message text,
|
|
153
|
-
* an order — so this is a data-read permission, not a config one.
|
|
154
|
-
*/
|
|
155
|
-
UserPermission["CONDUIT_DISPATCH_READ"] = "conduit:dispatch:read";
|
|
156
|
-
/**
|
|
157
|
-
* Submit an outbound request. **This is the permission a vertical holds**, and the only one
|
|
158
|
-
* it needs: `unibox-api` sending a reply presents this and nothing else.
|
|
159
|
-
*
|
|
160
|
-
* Separate from `CONDUIT_DISPATCH_OPERATE` because sending is the routine act and operating
|
|
161
|
-
* the queue is the exceptional one — a service principal that can send should not also be
|
|
162
|
-
* able to redrive a backlog.
|
|
163
|
-
*/
|
|
164
|
-
UserPermission["CONDUIT_DISPATCH_SEND"] = "conduit:dispatch:send";
|
|
165
|
-
/** Redrive a dead-lettered dispatch, or cancel one still pending. */
|
|
166
|
-
UserPermission["CONDUIT_DISPATCH_OPERATE"] = "conduit:dispatch:operate";
|
|
167
|
-
// ══ commerce-api ═════════════════════════════════════════════════════════
|
|
168
|
-
// ── Catalog ─────────────────────────────────────────────────────────────
|
|
169
|
-
/** Read the tenant's product catalog, including prices and availability. */
|
|
170
|
-
UserPermission["COMMERCE_CATALOG_READ"] = "commerce:catalog:read";
|
|
171
|
-
/** Create, edit, archive or restore products in the tenant's catalog. */
|
|
172
|
-
UserPermission["COMMERCE_CATALOG_MANAGE"] = "commerce:catalog:manage";
|
|
173
|
-
// ── Shopper orders ──────────────────────────────────────────────────────
|
|
174
|
-
//
|
|
175
|
-
// Separate from the catalog pair because of **who holds them**: `storefront-api` answers the
|
|
176
|
-
// public internet on a merchant's behalf, and it has to be able to place an order without
|
|
177
|
-
// being able to delete the merchant's products. `commerce:catalog:manage` covers both, so
|
|
178
|
-
// granting it to that service would put a catalogue edit one bug away from a shopfront.
|
|
179
|
-
//
|
|
180
|
-
// The merchant's own `/orders` routes still carry `commerce:catalog:*`. Moving them here is
|
|
181
|
-
// the right follow-up and is **not** a decorator change: `OWNER` is derived from
|
|
182
|
-
// `ALL_USER_PERMISSIONS` *at seed time*, so a tenant that already exists would not hold these
|
|
183
|
-
// and its owner would lose access to their own orders. It needs a backfill first.
|
|
184
|
-
/** Read orders a shopper placed, scoped to that shopper by the caller. */
|
|
185
|
-
UserPermission["COMMERCE_ORDER_READ"] = "commerce:order:read";
|
|
186
|
-
/** Place an order on a shopper's behalf. Does not permit any catalog change. */
|
|
187
|
-
UserPermission["COMMERCE_ORDER_CREATE"] = "commerce:order:create";
|
|
188
|
-
// ══ iveri-messaging-api ═════════════════════════════════════════════════
|
|
189
|
-
/** Read tenant message and provider-neutral delivery records. */
|
|
190
|
-
UserPermission["MESSAGING_MESSAGE_READ"] = "messaging:message:read";
|
|
191
|
-
/** Submit a paid customer message for delivery. */
|
|
192
|
-
UserPermission["MESSAGING_MESSAGE_SEND"] = "messaging:message:send";
|
|
193
|
-
/** Submit an OTP challenge message under the stricter OTP policy. */
|
|
194
|
-
UserPermission["MESSAGING_OTP_SEND"] = "messaging:otp:send";
|
|
195
|
-
/** Read the tenant's available and reserved message-credit balance. */
|
|
196
|
-
UserPermission["MESSAGING_CREDIT_READ"] = "messaging:credit:read";
|
|
197
|
-
/** Adjust or grant message credits; normally reserved for billing/platform workflows. */
|
|
198
|
-
UserPermission["MESSAGING_CREDIT_MANAGE"] = "messaging:credit:manage";
|
|
199
|
-
// ══ unibox-api ═══════════════════════════════════════════════════════════
|
|
200
|
-
// ── Channel ─────────────────────────────────────────────────────────────
|
|
201
|
-
/** Read connected messaging accounts. Never exposes a channel's ingest secret. */
|
|
202
|
-
UserPermission["UNIBOX_CHANNEL_READ"] = "unibox:channel:read";
|
|
203
|
-
/**
|
|
204
|
-
* Connect, amend or disconnect a messaging account, and rotate its ingest secret.
|
|
205
|
-
*
|
|
206
|
-
* A single manage permission for the same reason as `CONDUIT_CONNECTION_MANAGE`: the
|
|
207
|
-
* dangerous act is holding the credential that lets anything post messages into a tenant's
|
|
208
|
-
* inbox, and create/update/delete carry that identically.
|
|
209
|
-
*/
|
|
210
|
-
UserPermission["UNIBOX_CHANNEL_MANAGE"] = "unibox:channel:manage";
|
|
211
|
-
// ── Contact ─────────────────────────────────────────────────────────────
|
|
212
|
-
/** Read contacts. Personal data — closer to a data-export permission than a config one. */
|
|
213
|
-
UserPermission["UNIBOX_CONTACT_READ"] = "unibox:contact:read";
|
|
214
|
-
/** Create, amend or delete a contact record. */
|
|
215
|
-
UserPermission["UNIBOX_CONTACT_MANAGE"] = "unibox:contact:manage";
|
|
216
|
-
// ── Conversation ────────────────────────────────────────────────────────
|
|
217
|
-
/**
|
|
218
|
-
* Read the inbox and every message in it.
|
|
219
|
-
*
|
|
220
|
-
* **There is deliberately no separate `unibox:message:read`.** A conversation with its
|
|
221
|
-
* messages hidden is an empty row, so a permission that granted one without the other would
|
|
222
|
-
* describe a screen nobody can use — and the reverse would be a way to read a customer's
|
|
223
|
-
* messages while appearing to have no access to the inbox.
|
|
224
|
-
*/
|
|
225
|
-
UserPermission["UNIBOX_CONVERSATION_READ"] = "unibox:conversation:read";
|
|
226
|
-
/** Change a conversation's status — close, snooze, reopen — and write internal notes. */
|
|
227
|
-
UserPermission["UNIBOX_CONVERSATION_MANAGE"] = "unibox:conversation:manage";
|
|
228
|
-
/**
|
|
229
|
-
* Assign a conversation to an agent or a team, and take over from the AI.
|
|
230
|
-
*
|
|
231
|
-
* Separate from `UNIBOX_CONVERSATION_MANAGE` because assignment decides whose work this is.
|
|
232
|
-
* A supervisor routing a queue and an agent closing their own conversations are different
|
|
233
|
-
* jobs, and a tenant that wants only the first to reassign should be able to say so.
|
|
234
|
-
*/
|
|
235
|
-
UserPermission["UNIBOX_CONVERSATION_ASSIGN"] = "unibox:conversation:assign";
|
|
236
|
-
// ── Message ─────────────────────────────────────────────────────────────
|
|
237
|
-
/**
|
|
238
|
-
* Send a message to a contact.
|
|
239
|
-
*
|
|
240
|
-
* The sharpest permission in this service, and the reason there is no `unibox:message:*`
|
|
241
|
-
* read counterpart. Everything else here moves rows around inside our own database; this one
|
|
242
|
-
* reaches a real person on their phone, through a paid channel, and cannot be taken back.
|
|
243
|
-
*/
|
|
244
|
-
UserPermission["UNIBOX_MESSAGE_SEND"] = "unibox:message:send";
|
|
245
|
-
// ── Team ────────────────────────────────────────────────────────────────
|
|
246
|
-
UserPermission["UNIBOX_TEAM_READ"] = "unibox:team:read";
|
|
247
|
-
/** Create teams and change who is in them. Routing, not permissions — identity owns those. */
|
|
248
|
-
UserPermission["UNIBOX_TEAM_MANAGE"] = "unibox:team:manage";
|
|
249
|
-
// ── Canned reply ────────────────────────────────────────────────────────
|
|
250
|
-
UserPermission["UNIBOX_CANNED_REPLY_READ"] = "unibox:canned-reply:read";
|
|
251
|
-
/** Author the saved replies every agent in the tenant will send. */
|
|
252
|
-
UserPermission["UNIBOX_CANNED_REPLY_MANAGE"] = "unibox:canned-reply:manage";
|
|
253
|
-
// ── Realtime ────────────────────────────────────────────────────────────
|
|
254
|
-
/**
|
|
255
|
-
* Publish a conversation event into the live inbox.
|
|
256
|
-
*
|
|
257
|
-
* **A service permission, not a human one**, and deliberately absent from the seeded `ADMIN`
|
|
258
|
-
* role — unlike `CONDUIT_DISPATCH_SEND`, which an admin holds so they can prove a connection
|
|
259
|
-
* works. There is no equivalent thing to prove here: publishing means putting a message in
|
|
260
|
-
* front of every agent watching a conversation, so the only legitimate holder is the service
|
|
261
|
-
* that owns what actually happened to that conversation.
|
|
262
|
-
*
|
|
263
|
-
* Reading the live stream is `UNIBOX_CONVERSATION_READ` — the same permission that guards
|
|
264
|
-
* reading the inbox over HTTP, because it is the same data arriving by another route.
|
|
265
|
-
*/
|
|
266
|
-
UserPermission["UNIBOX_REALTIME_PUBLISH"] = "unibox:realtime:publish";
|
|
267
|
-
// ── AI runtime ──────────────────────────────────────────────────────────
|
|
268
|
-
/** Allows a trusted service principal to submit bounded conversation context for generation. */
|
|
269
|
-
UserPermission["UNIBOX_AI_RUN"] = "unibox:ai:run";
|
|
270
|
-
// ── MCP registry ────────────────────────────────────────────────────────
|
|
271
|
-
/** Read tenant MCP server metadata; credential values are never returned. */
|
|
272
|
-
UserPermission["UNIBOX_MCP_READ"] = "unibox:mcp:read";
|
|
273
|
-
/** Create, update or disconnect a tenant MCP server. */
|
|
274
|
-
UserPermission["UNIBOX_MCP_MANAGE"] = "unibox:mcp:manage";
|
|
275
|
-
// ══ iveri-billing-api ═══════════════════════════════════════════════════
|
|
276
|
-
// ── Plan ───────────────────────────────────────────────────────────────
|
|
277
|
-
/** Read the plans available to the tenant. */
|
|
278
|
-
UserPermission["BILLING_PLAN_READ"] = "billing:plan:read";
|
|
279
|
-
/** Create, update or archive tenant billing plans. */
|
|
280
|
-
UserPermission["BILLING_PLAN_MANAGE"] = "billing:plan:manage";
|
|
281
|
-
// ── Subscription ──────────────────────────────────────────────────────
|
|
282
|
-
/** Read the tenant's current subscription and its period. */
|
|
283
|
-
UserPermission["BILLING_SUBSCRIPTION_READ"] = "billing:subscription:read";
|
|
284
|
-
/** Start, change or cancel a tenant subscription. */
|
|
285
|
-
UserPermission["BILLING_SUBSCRIPTION_MANAGE"] = "billing:subscription:manage";
|
|
286
|
-
// ── Usage ──────────────────────────────────────────────────────────────
|
|
287
|
-
/** Read metered usage for the tenant. */
|
|
288
|
-
UserPermission["BILLING_USAGE_READ"] = "billing:usage:read";
|
|
289
|
-
/** Record billable usage on behalf of a tenant service. */
|
|
290
|
-
UserPermission["BILLING_USAGE_RECORD"] = "billing:usage:record";
|
|
291
|
-
// ── Payment ────────────────────────────────────────────────────────────
|
|
292
|
-
/** Read payment sessions and their provider-neutral status. */
|
|
293
|
-
UserPermission["BILLING_PAYMENT_READ"] = "billing:payment:read";
|
|
294
|
-
/**
|
|
295
|
-
* Start a hosted payment. **Separate from `manage` because of what `manage` also covers:**
|
|
296
|
-
* issuing a refund, charging a saved card through a recurring authorization, and writing a
|
|
297
|
-
* tenant's encrypted merchant credentials. Three very different blast radii behind one grant,
|
|
298
|
-
* which `iveri-billing-api`'s authorization matrix has recorded as a gap since it was written.
|
|
299
|
-
*
|
|
300
|
-
* A vertical that sells something needs exactly one of those four things. `commerce-api` holds
|
|
301
|
-
* this so a shopper's order can be paid for, and holding it does not let Commerce move money
|
|
302
|
-
* back out, charge a card again, or read a credential.
|
|
303
|
-
*
|
|
304
|
-
* It does not carry a read: `billing:payment:read` still opens the status route, and that read
|
|
305
|
-
* is tenant-wide because **billing records no owner for a session** — it stores our own payment
|
|
306
|
-
* state, a provider key and an opaque reference, and nothing about what the payment was for. A
|
|
307
|
-
* narrower "read the ones you started" grant would be a promise the schema cannot keep.
|
|
308
|
-
*/
|
|
309
|
-
UserPermission["BILLING_PAYMENT_CHECKOUT"] = "billing:payment:checkout";
|
|
310
|
-
/**
|
|
311
|
-
* Operate refunds, recurring authorizations and charges, and merchant credentials.
|
|
312
|
-
*
|
|
313
|
-
* Creating a payment session moved to {@link UserPermission.BILLING_PAYMENT_CHECKOUT}. That was
|
|
314
|
-
* affordable as a move rather than an addition because **nothing in the fleet called that route
|
|
315
|
-
* yet** — the one case where narrowing an existing route costs no backfill. Contrast
|
|
316
|
-
* `commerce:order:*`, which had to be added beside `commerce:catalog:*` rather than moving the
|
|
317
|
-
* merchant's own routes, since `OWNER` is derived from `ALL_USER_PERMISSIONS` at seed time.
|
|
318
|
-
*/
|
|
319
|
-
UserPermission["BILLING_PAYMENT_MANAGE"] = "billing:payment:manage";
|
|
320
|
-
// ── Invoice ────────────────────────────────────────────────────────────
|
|
321
|
-
/** Read tenant invoices and their immutable line items. */
|
|
322
|
-
UserPermission["BILLING_INVOICE_READ"] = "billing:invoice:read";
|
|
323
|
-
/** Create, finalize or void tenant invoices. */
|
|
324
|
-
UserPermission["BILLING_INVOICE_MANAGE"] = "billing:invoice:manage";
|
|
325
|
-
// ══ iveri-localization-api ══════════════════════════════════════════════
|
|
326
|
-
//
|
|
327
|
-
// Four permissions for what looks like one job, because translation has four distinct
|
|
328
|
-
// audiences and the whole point of the service is that they are not the same person. An
|
|
329
|
-
// engineer defines keys, a translator writes values, a reviewer decides a language is ready,
|
|
330
|
-
// and a service reads the result. Collapsing them means a contractor hired to translate a
|
|
331
|
-
// panel into Georgian can delete the keys the panel is built from.
|
|
332
|
-
/**
|
|
333
|
-
* Read locales, namespaces, keys, translations and release history — and pull a published
|
|
334
|
-
* bundle, which is how a build gets its strings.
|
|
335
|
-
*
|
|
336
|
-
* One read permission over all of it rather than one per aggregate: none of it is secret. It
|
|
337
|
-
* is text written to be shown to users, and a key list with the values hidden is unusable
|
|
338
|
-
* for the review this permission exists to enable.
|
|
339
|
-
*/
|
|
340
|
-
UserPermission["LOCALIZATION_READ"] = "localization:read";
|
|
341
|
-
/**
|
|
342
|
-
* Define the structure — locales, namespaces, message keys and their declared variables.
|
|
343
|
-
*
|
|
344
|
-
* The engineer's half, and the sharper one despite sounding like configuration. A message key
|
|
345
|
-
* is compiled into an app (`t('inbox.title')`), so archiving one breaks a screen that already
|
|
346
|
-
* shipped; and editing a message's declared variables invalidates every translation of it in
|
|
347
|
-
* every language at once. A translator must not be able to do either by accident.
|
|
348
|
-
*/
|
|
349
|
-
UserPermission["LOCALIZATION_MESSAGE_MANAGE"] = "localization:message:manage";
|
|
350
|
-
/**
|
|
351
|
-
* Write translation values.
|
|
352
|
-
*
|
|
353
|
-
* The translator's whole job, and deliberately the *only* thing it grants. This is the
|
|
354
|
-
* permission handed to an outside contractor or an agency, so it must be safe to hand to
|
|
355
|
-
* someone with no stake in the codebase: they can rewrite every string in the product and
|
|
356
|
-
* cannot add a key, remove one, or put a word of it in front of a customer.
|
|
357
|
-
*/
|
|
358
|
-
UserPermission["LOCALIZATION_TRANSLATE"] = "localization:translate";
|
|
359
|
-
/**
|
|
360
|
-
* Cut a release — the act that actually changes what users read.
|
|
361
|
-
*
|
|
362
|
-
* Separate from `LOCALIZATION_TRANSLATE` for the reason the release aggregate exists at all:
|
|
363
|
-
* editing has to be free so a translator can work in the tool instead of in a spreadsheet,
|
|
364
|
-
* which is only tolerable if editing is not shipping. This is the gate between the two.
|
|
365
|
-
*/
|
|
366
|
-
UserPermission["LOCALIZATION_PUBLISH"] = "localization:publish";
|
|
367
|
-
/**
|
|
368
|
-
* Resolve and format messages at runtime through `POST /render`.
|
|
369
|
-
*
|
|
370
|
-
* A service permission. `iveri-messaging-api` rendering an OTP body and `iveri-billing-api`
|
|
371
|
-
* rendering an invoice line hold this and nothing else here — they have no reason to read the
|
|
372
|
-
* key catalogue, and separating it keeps a compromised worker from enumerating it.
|
|
373
|
-
*/
|
|
374
|
-
UserPermission["LOCALIZATION_RENDER"] = "localization:render";
|
|
375
|
-
// ══ iveri-notification-api ══════════════════════════════════════════════
|
|
376
|
-
/**
|
|
377
|
-
* Submit a notification for delivery.
|
|
378
|
-
*
|
|
379
|
-
* **A service permission, and the sharpest one here.** It reaches a real person's mailbox with
|
|
380
|
-
* text the platform composed, and it is not deliberately absent from the seeded `ADMIN` role
|
|
381
|
-
* the way `UNIBOX_REALTIME_PUBLISH` is — an admin has no reason to hold it, because there is
|
|
382
|
-
* nothing for a human to prove by sending a notification to somebody else by hand.
|
|
383
|
-
*
|
|
384
|
-
* Note what it does *not* let a holder do: a submission names a **template key**, never a
|
|
385
|
-
* subject and body. The wording of every notification the platform sends was written by
|
|
386
|
-
* somebody holding {@link UserPermission.NOTIFICATION_TEMPLATE_MANAGE} and translated by
|
|
387
|
-
* somebody holding {@link UserPermission.LOCALIZATION_TRANSLATE}. This is the same shape as
|
|
388
|
-
* `CONDUIT_DISPATCH_SEND` naming an operation rather than a URL, and it is load-bearing for
|
|
389
|
-
* the same reason: without it, a compromised service principal is an authenticated way to
|
|
390
|
-
* send arbitrary text from our own domain to any address it likes.
|
|
391
|
-
*/
|
|
392
|
-
UserPermission["NOTIFICATION_SEND"] = "notification:send";
|
|
393
|
-
/**
|
|
394
|
-
* Read **your own** in-app inbox, and mark your own rows read.
|
|
395
|
-
*
|
|
396
|
-
* Scoped to the calling principal by the endpoint, not by this permission — there is no
|
|
397
|
-
* variant that reads somebody else's inbox, because a notification is addressed to one person
|
|
398
|
-
* and reading another's is reading their mail. It belongs in every human role, including the
|
|
399
|
-
* narrowest, for the same reason: without it a member cannot see what the product is telling
|
|
400
|
-
* them.
|
|
401
|
-
*/
|
|
402
|
-
UserPermission["NOTIFICATION_READ"] = "notification:read";
|
|
403
|
-
/** Read the tenant's notification templates and the platform's built-in ones. */
|
|
404
|
-
UserPermission["NOTIFICATION_TEMPLATE_READ"] = "notification:template:read";
|
|
405
|
-
/**
|
|
406
|
-
* Override a built-in template, or define a new one — which channels a notification type
|
|
407
|
-
* reaches and which message keys it renders.
|
|
408
|
-
*
|
|
409
|
-
* Configuration that decides what every future notification of a type says, including the
|
|
410
|
-
* password-reset email. Overriding one badly is a way to stop people getting back into their
|
|
411
|
-
* accounts, so it is separated from reading for the same reason `CONDUIT_CONNECTOR_MANAGE` is.
|
|
412
|
-
*/
|
|
413
|
-
UserPermission["NOTIFICATION_TEMPLATE_MANAGE"] = "notification:template:manage";
|
|
414
|
-
/**
|
|
415
|
-
* Read the delivery log and the dead-letter queue, including each delivery's last error.
|
|
416
|
-
*
|
|
417
|
-
* Grouped with reading rather than with operating the queue, and it is closer to a data-read
|
|
418
|
-
* permission than a config one: the log names who was written to and about what.
|
|
419
|
-
*/
|
|
420
|
-
UserPermission["NOTIFICATION_DELIVERY_READ"] = "notification:delivery:read";
|
|
421
|
-
/**
|
|
422
|
-
* Redrive a dead-lettered delivery, or cancel one still pending.
|
|
423
|
-
*
|
|
424
|
-
* Separate from reading because it causes a message to be sent to a person rather than
|
|
425
|
-
* returning a row — and because redriving a backlog is a way to mail somebody the same thing
|
|
426
|
-
* fifty times an hour after an outage.
|
|
427
|
-
*/
|
|
428
|
-
UserPermission["NOTIFICATION_DELIVERY_OPERATE"] = "notification:delivery:operate";
|
|
429
|
-
// ══ iveri-realtime ══════════════════════════════════════════════════════
|
|
430
|
-
/**
|
|
431
|
-
* Ask the shared gateway to issue a short-lived subscription grant after the owning API has
|
|
432
|
-
* authorized a person to read one resource. Service-only: a human may consume a grant but
|
|
433
|
-
* must never mint one.
|
|
434
|
-
*/
|
|
435
|
-
UserPermission["REALTIME_SUBSCRIPTION_GRANT_ISSUE"] = "realtime:subscription-grant:issue";
|
|
436
|
-
/**
|
|
437
|
-
* Publish an identifier-only resource change. Separate from grant issue because announcing a
|
|
438
|
-
* write and authorizing a read are distinct powers and a service may legitimately need one
|
|
439
|
-
* without the other.
|
|
440
|
-
*/
|
|
441
|
-
UserPermission["REALTIME_EVENT_PUBLISH"] = "realtime:event:publish";
|
|
442
|
-
// ══ iveri-mobility-api ══════════════════════════════════════════════════
|
|
443
|
-
/** Read worker profiles and operational availability inside the caller's tenant. */
|
|
444
|
-
UserPermission["MOBILITY_WORKER_READ"] = "mobility:worker:read";
|
|
445
|
-
/** Enrol workers, amend their capabilities, and suspend or reactivate them. */
|
|
446
|
-
UserPermission["MOBILITY_WORKER_MANAGE"] = "mobility:worker:manage";
|
|
447
|
-
/** Go online or offline. Assignment-owned `busy` cannot be requested through this grant. */
|
|
448
|
-
UserPermission["MOBILITY_WORKER_AVAILABILITY_UPDATE"] = "mobility:worker:availability:update";
|
|
449
|
-
/**
|
|
450
|
-
* Record one customer's score for one completed assignment.
|
|
451
|
-
*
|
|
452
|
-
* Held by a **product API**, never by a passenger or a sender: only `taxi-api` and
|
|
453
|
-
* `delivery-api` know who was on a given ride or job, and whether it finished. A customer
|
|
454
|
-
* rates through the product, which submits here with its own service credential — the same
|
|
455
|
-
* arrangement as dispatch, and the reason this is not folded into
|
|
456
|
-
* {@link UserPermission.MOBILITY_WORKER_MANAGE}, which is an administrator's grant over
|
|
457
|
-
* somebody's capabilities and employment.
|
|
458
|
-
*/
|
|
459
|
-
UserPermission["MOBILITY_WORKER_RATING_SUBMIT"] = "mobility:worker:rating:submit";
|
|
460
|
-
/** Read a worker's latest raw coordinate. Separate because location is sensitive operational data. */
|
|
461
|
-
UserPermission["MOBILITY_WORKER_LOCATION_READ"] = "mobility:worker:location:read";
|
|
462
|
-
/** Submit the caller's own device heartbeat; a worker may never update somebody else's location. */
|
|
463
|
-
UserPermission["MOBILITY_WORKER_LOCATION_UPDATE"] = "mobility:worker:location:update";
|
|
464
|
-
/** Read dispatch aggregate state and its pickup coordinate inside the caller's tenant. */
|
|
465
|
-
UserPermission["MOBILITY_DISPATCH_READ"] = "mobility:dispatch:read";
|
|
466
|
-
/** Submit a dispatch request for a vertical-owned ride or delivery job. */
|
|
467
|
-
UserPermission["MOBILITY_DISPATCH_CREATE"] = "mobility:dispatch:create";
|
|
468
|
-
/** Cancel, expire, or manually operate a dispatch; intentionally not granted to ordinary submitters. */
|
|
469
|
-
UserPermission["MOBILITY_DISPATCH_OPERATE"] = "mobility:dispatch:operate";
|
|
470
|
-
/** Read only the dispatch offers addressed to the caller's own worker profile. */
|
|
471
|
-
UserPermission["MOBILITY_DISPATCH_OFFER_READ"] = "mobility:dispatch-offer:read";
|
|
472
|
-
/** Accept or reject only an offer addressed to the caller's own worker profile. */
|
|
473
|
-
UserPermission["MOBILITY_DISPATCH_OFFER_RESPOND"] = "mobility:dispatch-offer:respond";
|
|
474
|
-
// ══ taxi-api ════════════════════════════════════════════════════════════
|
|
475
|
-
/** Read ride state, fare quote and trip history inside the caller's tenant. */
|
|
476
|
-
UserPermission["TAXI_RIDE_READ"] = "taxi:ride:read";
|
|
477
|
-
/** Request a ride and receive its fare quote. The passenger-facing grant. */
|
|
478
|
-
UserPermission["TAXI_RIDE_CREATE"] = "taxi:ride:create";
|
|
479
|
-
/**
|
|
480
|
-
* Confirm, cancel or otherwise advance a ride somebody else requested.
|
|
481
|
-
*
|
|
482
|
-
* Separate from `taxi:ride:create` for the reason Mobility separates `dispatch:operate`
|
|
483
|
-
* from `dispatch:create`: requesting work and overriding it are different powers, and an
|
|
484
|
-
* operator who can cancel any ride in a tenant is not the same principal as a passenger.
|
|
485
|
-
*/
|
|
486
|
-
UserPermission["TAXI_RIDE_OPERATE"] = "taxi:ride:operate";
|
|
487
|
-
/** Report arrival, trip start and completion for the caller's own assigned worker only. */
|
|
488
|
-
UserPermission["TAXI_RIDE_DRIVE"] = "taxi:ride:drive";
|
|
489
|
-
// ══ delivery-api ═══════════════════════════════════════════════════════
|
|
490
|
-
/** Read delivery job and quote data in the caller's tenant; endpoints still check ownership. */
|
|
491
|
-
UserPermission["DELIVERY_JOB_READ"] = "delivery:job:read";
|
|
492
|
-
/** Create a delivery job and receive its quote. The sender-facing grant. */
|
|
493
|
-
UserPermission["DELIVERY_JOB_CREATE"] = "delivery:job:create";
|
|
494
|
-
/** Confirm or cancel a delivery job; operator actions on another sender's job require this grant. */
|
|
495
|
-
UserPermission["DELIVERY_JOB_OPERATE"] = "delivery:job:operate";
|
|
496
|
-
/** Read and advance only jobs assigned to the caller's own courier worker. */
|
|
497
|
-
UserPermission["DELIVERY_JOB_DELIVER"] = "delivery:job:deliver";
|
|
498
|
-
})(UserPermission || (exports.UserPermission = UserPermission = {}));
|
|
499
|
-
/**
|
|
500
|
-
* Every member, for seeding the owner role and validating custom-role input.
|
|
501
|
-
*
|
|
502
|
-
* Frozen because it is shared mutable state in a browser bundle otherwise: one caller sorting
|
|
503
|
-
* it in place reorders it for everyone.
|
|
504
|
-
*/
|
|
505
|
-
exports.ALL_USER_PERMISSIONS = Object.freeze(Object.values(UserPermission));
|
|
506
|
-
//# sourceMappingURL=user-permission.enum.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"user-permission.enum.js","sourceRoot":"","sources":["../../../src/enum/user-permission.enum.ts"],"names":[],"mappings":"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"}
|
package/dist/cjs/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC"}
|
package/dist/cjs/index.js
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./enum/index.js"), exports);
|
|
18
|
-
__exportStar(require("./type/index.js"), exports);
|
|
19
|
-
//# sourceMappingURL=index.js.map
|
package/dist/cjs/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAAgC;AAChC,kDAAgC"}
|
package/dist/cjs/package.json
DELETED
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import type { ErrorCode } from '../enum/error-code.enum.js';
|
|
2
|
-
import type { Maybe } from './nil.type.js';
|
|
3
|
-
/**
|
|
4
|
-
* The error half of {@link ApiErrorResponse}.
|
|
5
|
-
*
|
|
6
|
-
* `message` is for humans and may change at any time — clients branch on
|
|
7
|
-
* `code`, never on message text.
|
|
8
|
-
*/
|
|
9
|
-
export interface ApiErrorBody {
|
|
10
|
-
/** Stable, machine-readable classification. The only field safe to branch on. */
|
|
11
|
-
code: ErrorCode;
|
|
12
|
-
/** Human-readable summary. Safe to surface to a developer, not to an end user. */
|
|
13
|
-
message: string;
|
|
14
|
-
/**
|
|
15
|
-
* Structured context — which field failed validation, which constraint was
|
|
16
|
-
* violated. Never contains secrets, tokens, or raw upstream payloads.
|
|
17
|
-
*/
|
|
18
|
-
details?: Maybe<Record<string, unknown>>;
|
|
19
|
-
/**
|
|
20
|
-
* The request's correlation id, echoed so a user can quote it in a support
|
|
21
|
-
* ticket and the whole request can be pulled out of the logs.
|
|
22
|
-
*/
|
|
23
|
-
correlationId?: Maybe<string>;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Envelope for a failed response, emitted by the SDK's `GlobalExceptionFilter` for every
|
|
27
|
-
* non-2xx status.
|
|
28
|
-
*
|
|
29
|
-
* **Only errors are enveloped.** A success is the bare payload — a tenant response *is* a
|
|
30
|
-
* tenant, not a `{ success, data }` wrapper around one. So `success: false` discriminates a
|
|
31
|
-
* shape the client receives *instead of* its payload, never alongside it:
|
|
32
|
-
*
|
|
33
|
-
* ```ts
|
|
34
|
-
* const body: unknown = await response.json();
|
|
35
|
-
*
|
|
36
|
-
* if (!response.ok) {
|
|
37
|
-
* throw new ApiError(body as ApiErrorResponse);
|
|
38
|
-
* }
|
|
39
|
-
*
|
|
40
|
-
* return body as Tenant;
|
|
41
|
-
* ```
|
|
42
|
-
*
|
|
43
|
-
* This file also declared `ApiSuccessResponse<T>` and a union over the two until 0.3.0.
|
|
44
|
-
* Nothing ever sent it: both `iveri-identity-api` and `conduit-api` register the exception
|
|
45
|
-
* filter and no success interceptor. A type describing a response no service produces is worse
|
|
46
|
-
* than no type at all — reading it, the natural thing to write is `body.data`, which is
|
|
47
|
-
* `undefined` for every call in the application. It was removed rather than made true, because
|
|
48
|
-
* bare payloads were already shipped across two services and a frontend and the envelope added
|
|
49
|
-
* nothing to the HTTP status a client must check regardless.
|
|
50
|
-
*/
|
|
51
|
-
export interface ApiErrorResponse {
|
|
52
|
-
success: false;
|
|
53
|
-
error: ApiErrorBody;
|
|
54
|
-
/** ISO-8601 timestamp of when the error was rendered. */
|
|
55
|
-
timestamp: string;
|
|
56
|
-
/** Request path that produced the error, without the query string. */
|
|
57
|
-
path: string;
|
|
58
|
-
}
|
|
59
|
-
//# sourceMappingURL=api-response.type.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"api-response.type.d.ts","sourceRoot":"","sources":["../../../src/type/api-response.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAE5D,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAE3C;;;;;GAKG;AACH,MAAM,WAAW,YAAY;IACzB,iFAAiF;IACjF,IAAI,EAAE,SAAS,CAAC;IAEhB,kFAAkF;IAClF,OAAO,EAAE,MAAM,CAAC;IAEhB;;;OAGG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;IAEzC;;;OAGG;IACH,aAAa,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CACjC;AAED;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,MAAM,WAAW,gBAAgB;IAC7B,OAAO,EAAE,KAAK,CAAC;IACf,KAAK,EAAE,YAAY,CAAC;IAEpB,yDAAyD;IACzD,SAAS,EAAE,MAAM,CAAC;IAElB,sEAAsE;IACtE,IAAI,EAAE,MAAM,CAAC;CAChB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"api-response.type.js","sourceRoot":"","sources":["../../../src/type/api-response.type.ts"],"names":[],"mappings":""}
|