@iveri/contracts 0.38.0 → 0.40.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/api/clinic/clinic-device.type.d.ts +23 -0
- package/dist/api/clinic/clinic-device.type.js +1 -0
- package/dist/api/clinic/clinic-location.type.d.ts +36 -0
- package/dist/api/clinic/clinic-location.type.js +1 -0
- package/dist/api/clinic/clinic-resource-status.enum.d.ts +5 -0
- package/dist/api/clinic/clinic-resource-status.enum.js +6 -0
- package/dist/api/clinic/clinic-room.type.d.ts +19 -0
- package/dist/api/clinic/clinic-room.type.js +1 -0
- package/dist/api/clinic/clinic-specialty.type.d.ts +24 -0
- package/dist/api/clinic/clinic-specialty.type.js +1 -0
- package/dist/api/clinic/clinic-staff.type.d.ts +55 -0
- package/dist/api/clinic/clinic-staff.type.js +1 -0
- package/dist/api/clinic/clinic-treatment.type.d.ts +64 -0
- package/dist/api/clinic/clinic-treatment.type.js +1 -0
- package/dist/api/clinic/index.d.ts +8 -0
- package/dist/api/clinic/index.js +8 -0
- package/dist/api/clinic/localized-text.type.d.ts +7 -0
- package/dist/api/clinic/localized-text.type.js +1 -0
- 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 +5 -2
- package/dist/{esm/enum → enum}/user-permission.enum.js +5 -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 +36 -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,40 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Where one outbound dispatch is in its life.
|
|
3
|
-
*
|
|
4
|
-
* The members mirror `DeliveryStatus` exactly, and this is deliberately **not** the same enum.
|
|
5
|
-
* The two are separate wire contracts on separate resources, and sharing one would mean a state
|
|
6
|
-
* added for the inbound queue silently appears on the outbound one's documented API — a
|
|
7
|
-
* connector-specific state has no business showing up on a webhook delivery, and vice versa.
|
|
8
|
-
* Being identical today is not a reason to make them the same type; it is just what happens when
|
|
9
|
-
* two queues share a state machine.
|
|
10
|
-
*
|
|
11
|
-
* There is no `RATE_LIMITED` member on purpose. A dispatch held back by a connector's rate limit
|
|
12
|
-
* is simply `PENDING` with a later `nextAttemptAt`, because that is exactly what it is — waiting
|
|
13
|
-
* for its next attempt time, no differently from one waiting out a backoff. A separate state
|
|
14
|
-
* would suggest an operator has something to do about it.
|
|
15
|
-
*/
|
|
16
|
-
export declare enum DispatchStatus {
|
|
17
|
-
/** Waiting for its next attempt time. The only state the processor claims from. */
|
|
18
|
-
PENDING = "pending",
|
|
19
|
-
/**
|
|
20
|
-
* Claimed by a replica and being attempted right now.
|
|
21
|
-
*
|
|
22
|
-
* A row stuck here past the claim timeout is assumed abandoned and reclaimed — and on this
|
|
23
|
-
* side that reclaim is genuinely dangerous, because the request may have already reached the
|
|
24
|
-
* provider. It is why every dispatch carries an idempotency key onward and why a caller must
|
|
25
|
-
* treat outbound as at-least-once too.
|
|
26
|
-
*/
|
|
27
|
-
IN_FLIGHT = "in-flight",
|
|
28
|
-
/** The provider accepted it. Terminal. */
|
|
29
|
-
DELIVERED = "delivered",
|
|
30
|
-
/**
|
|
31
|
-
* Every attempt was used and none succeeded, or the failure was permanent. Terminal until an
|
|
32
|
-
* operator redrives it.
|
|
33
|
-
*
|
|
34
|
-
* **This is the dead-letter queue** — a status, not a separate resource.
|
|
35
|
-
*/
|
|
36
|
-
DEAD_LETTERED = "dead-lettered",
|
|
37
|
-
/** An operator stopped it before it was sent. Terminal, and distinct from a failure. */
|
|
38
|
-
CANCELLED = "cancelled"
|
|
39
|
-
}
|
|
40
|
-
//# sourceMappingURL=dispatch-status.enum.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dispatch-status.enum.d.ts","sourceRoot":"","sources":["../../../../src/api/conduit/dispatch-status.enum.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AACH,oBAAY,cAAc;IACtB,mFAAmF;IACnF,OAAO,YAAY;IAEnB;;;;;;;OAOG;IACH,SAAS,cAAc;IAEvB,0CAA0C;IAC1C,SAAS,cAAc;IAEvB;;;;;OAKG;IACH,aAAa,kBAAkB;IAE/B,wFAAwF;IACxF,SAAS,cAAc;CAC1B"}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DispatchStatus = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* Where one outbound dispatch is in its life.
|
|
6
|
-
*
|
|
7
|
-
* The members mirror `DeliveryStatus` exactly, and this is deliberately **not** the same enum.
|
|
8
|
-
* The two are separate wire contracts on separate resources, and sharing one would mean a state
|
|
9
|
-
* added for the inbound queue silently appears on the outbound one's documented API — a
|
|
10
|
-
* connector-specific state has no business showing up on a webhook delivery, and vice versa.
|
|
11
|
-
* Being identical today is not a reason to make them the same type; it is just what happens when
|
|
12
|
-
* two queues share a state machine.
|
|
13
|
-
*
|
|
14
|
-
* There is no `RATE_LIMITED` member on purpose. A dispatch held back by a connector's rate limit
|
|
15
|
-
* is simply `PENDING` with a later `nextAttemptAt`, because that is exactly what it is — waiting
|
|
16
|
-
* for its next attempt time, no differently from one waiting out a backoff. A separate state
|
|
17
|
-
* would suggest an operator has something to do about it.
|
|
18
|
-
*/
|
|
19
|
-
var DispatchStatus;
|
|
20
|
-
(function (DispatchStatus) {
|
|
21
|
-
/** Waiting for its next attempt time. The only state the processor claims from. */
|
|
22
|
-
DispatchStatus["PENDING"] = "pending";
|
|
23
|
-
/**
|
|
24
|
-
* Claimed by a replica and being attempted right now.
|
|
25
|
-
*
|
|
26
|
-
* A row stuck here past the claim timeout is assumed abandoned and reclaimed — and on this
|
|
27
|
-
* side that reclaim is genuinely dangerous, because the request may have already reached the
|
|
28
|
-
* provider. It is why every dispatch carries an idempotency key onward and why a caller must
|
|
29
|
-
* treat outbound as at-least-once too.
|
|
30
|
-
*/
|
|
31
|
-
DispatchStatus["IN_FLIGHT"] = "in-flight";
|
|
32
|
-
/** The provider accepted it. Terminal. */
|
|
33
|
-
DispatchStatus["DELIVERED"] = "delivered";
|
|
34
|
-
/**
|
|
35
|
-
* Every attempt was used and none succeeded, or the failure was permanent. Terminal until an
|
|
36
|
-
* operator redrives it.
|
|
37
|
-
*
|
|
38
|
-
* **This is the dead-letter queue** — a status, not a separate resource.
|
|
39
|
-
*/
|
|
40
|
-
DispatchStatus["DEAD_LETTERED"] = "dead-lettered";
|
|
41
|
-
/** An operator stopped it before it was sent. Terminal, and distinct from a failure. */
|
|
42
|
-
DispatchStatus["CANCELLED"] = "cancelled";
|
|
43
|
-
})(DispatchStatus || (exports.DispatchStatus = DispatchStatus = {}));
|
|
44
|
-
//# sourceMappingURL=dispatch-status.enum.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dispatch-status.enum.js","sourceRoot":"","sources":["../../../../src/api/conduit/dispatch-status.enum.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;GAcG;AACH,IAAY,cA2BX;AA3BD,WAAY,cAAc;IACtB,mFAAmF;IACnF,qCAAmB,CAAA;IAEnB;;;;;;;OAOG;IACH,yCAAuB,CAAA;IAEvB,0CAA0C;IAC1C,yCAAuB,CAAA;IAEvB;;;;;OAKG;IACH,iDAA+B,CAAA;IAE/B,wFAAwF;IACxF,yCAAuB,CAAA;AAC3B,CAAC,EA3BW,cAAc,8BAAd,cAAc,QA2BzB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dispatch.type.d.ts","sourceRoot":"","sources":["../../../../src/api/conduit/dispatch.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,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AEjC;;;;;OAKG;IACH,UAAU,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;IAE9C,wDAAwD;IACxD,KAAK,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;IAEzC;;;;;OAKG;IACH,cAAc,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC;CACrC;AAED;;;;;;GAMG;AACH,MAAM,WAAW,sBAAsB;IACnC,EAAE,EAAE,IAAI,CAAC;IACT,MAAM,EAAE,cAAc,CAAC;IAEvB,qFAAqF;IACrF,WAAW,EAAE,OAAO,CAAC;IAErB,SAAS,EAAE,WAAW,CAAC;CAC1B;AAED;;;;;;;GAOG;AACH,MAAM,WAAW,aAAa;IAC1B,4DAA4D;IAC5D,OAAO,EAAE,eAAe,CAAC;IAEzB,+EAA+E;IAC/E,WAAW,EAAE,MAAM,CAAC;IAEpB,MAAM,EAAE,kBAAkB,CAAC;CAC9B;AAED,MAAM,WAAW,eAAe;IAC5B;;;OAGG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB,QAAQ,EAAE,MAAM,CAAC;IAEjB,oEAAoE;IACpE,YAAY,EAAE,MAAM,CAAC;CACxB;AAED,oHAAoH;AACpH,MAAM,WAAW,kBAAkB;IAC/B,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;CACxB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dispatch.type.js","sourceRoot":"","sources":["../../../../src/api/conduit/dispatch.type.ts"],"names":[],"mappings":""}
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import type { IsoDateTime } from '../../type/iso-date-time.type.js';
|
|
2
|
-
import type { Nullable } from '../../type/nil.type.js';
|
|
3
|
-
import type { Paginated } from '../../type/paginated.type.js';
|
|
4
|
-
import type { UUID } from '../../type/uuid.type.js';
|
|
5
|
-
/**
|
|
6
|
-
* One endpoint on the wire.
|
|
7
|
-
*
|
|
8
|
-
* Carries `hasSigningSecret`, never the secret. Not a masked value, not a last-four hint — the
|
|
9
|
-
* field simply does not exist, so no future change can accidentally start populating it.
|
|
10
|
-
*/
|
|
11
|
-
export interface Endpoint {
|
|
12
|
-
id: UUID;
|
|
13
|
-
name: string;
|
|
14
|
-
description: Nullable<string>;
|
|
15
|
-
/** The path segment providers post to. */
|
|
16
|
-
ingressToken: string;
|
|
17
|
-
/**
|
|
18
|
-
* Path to register with the provider. Relative on purpose — the public origin is a tunnel or
|
|
19
|
-
* a load balancer this service cannot see, so the caller prepends its own.
|
|
20
|
-
*/
|
|
21
|
-
ingressPath: string;
|
|
22
|
-
providerKey: Nullable<string>;
|
|
23
|
-
/** Whether a signing secret is configured. The secret itself is never returned. */
|
|
24
|
-
hasSigningSecret: boolean;
|
|
25
|
-
/** Whether a handshake verify token is configured. */
|
|
26
|
-
hasVerifyToken: boolean;
|
|
27
|
-
/** Inactive endpoints answer 410 Gone. */
|
|
28
|
-
isActive: boolean;
|
|
29
|
-
createdAt: IsoDateTime;
|
|
30
|
-
updatedAt: IsoDateTime;
|
|
31
|
-
}
|
|
32
|
-
/**
|
|
33
|
-
* `GET /api/v1/endpoint`. Offset-paginated, unlike captures: endpoints are a small, slow-moving
|
|
34
|
-
* collection a customer renders as numbered pages.
|
|
35
|
-
*/
|
|
36
|
-
export type EndpointsPage = Paginated<Endpoint>;
|
|
37
|
-
/** `POST /api/v1/endpoint`. */
|
|
38
|
-
export interface CreateEndpointBody {
|
|
39
|
-
name: string;
|
|
40
|
-
description?: Nullable<string>;
|
|
41
|
-
providerKey?: Nullable<string>;
|
|
42
|
-
signingSecret?: Nullable<string>;
|
|
43
|
-
verifyToken?: Nullable<string>;
|
|
44
|
-
}
|
|
45
|
-
/**
|
|
46
|
-
* `PATCH /api/v1/endpoint/:id`.
|
|
47
|
-
*
|
|
48
|
-
* **Secret fields have three states, not two.** Omitting one leaves the stored secret untouched;
|
|
49
|
-
* sending `null` deletes it. A form must therefore never send `''` or `null` where the user
|
|
50
|
-
* meant "I did not change this" — that silently wipes a working signing secret, and the next
|
|
51
|
-
* webhook verifies as `MISSING_SECRET` with nothing to say why.
|
|
52
|
-
*/
|
|
53
|
-
export interface UpdateEndpointBody {
|
|
54
|
-
name?: string;
|
|
55
|
-
description?: Nullable<string>;
|
|
56
|
-
providerKey?: Nullable<string>;
|
|
57
|
-
signingSecret?: Nullable<string>;
|
|
58
|
-
verifyToken?: Nullable<string>;
|
|
59
|
-
isActive?: boolean;
|
|
60
|
-
}
|
|
61
|
-
/** Query for `GET /api/v1/endpoint`. */
|
|
62
|
-
export interface GetEndpointsQuery {
|
|
63
|
-
limit?: number;
|
|
64
|
-
offset?: number;
|
|
65
|
-
/**
|
|
66
|
-
* Case-insensitive partial match on the endpoint name.
|
|
67
|
-
*
|
|
68
|
-
* The panel renders endpoints as a filter dropdown, which takes one page — so past that page a
|
|
69
|
-
* workspace cannot select the rest at all, and a `<select>` holding the first hundred names
|
|
70
|
-
* looks exactly like one holding every name. `%` and `_` are matched literally rather than as
|
|
71
|
-
* wildcards, so a search matches what the operator typed.
|
|
72
|
-
*/
|
|
73
|
-
search?: string;
|
|
74
|
-
}
|
|
75
|
-
//# sourceMappingURL=endpoint.type.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"endpoint.type.d.ts","sourceRoot":"","sources":["../../../../src/api/conduit/endpoint.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AACpE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAEpD;;;;;GAKG;AACH,MAAM,WAAW,QAAQ;IACrB,EAAE,EAAE,IAAI,CAAC;IACT,I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CAAC,EAAE,MAAM,CAAC;IAChB;;;;;;;OAOG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"endpoint.type.js","sourceRoot":"","sources":["../../../../src/api/conduit/endpoint.type.ts"],"names":[],"mappings":""}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* How a provider proves the endpoint is really ours before it will send anything.
|
|
3
|
-
*
|
|
4
|
-
* **Handshakes work in inspect mode, deliberately.** Meta will not save a callback URL that
|
|
5
|
-
* does not echo `hub.challenge`, and Slack will not save one that does not echo `challenge` —
|
|
6
|
-
* so without this, the local developer tool could never be registered with the provider at all,
|
|
7
|
-
* and there would be nothing to capture. It is the one piece of ingress behaviour that is not
|
|
8
|
-
* "store and acknowledge".
|
|
9
|
-
*/
|
|
10
|
-
export declare enum HandshakeKind {
|
|
11
|
-
/**
|
|
12
|
-
* Provider sends `GET ?mode=subscribe&verify_token=…&challenge=…` and expects the challenge
|
|
13
|
-
* echoed back as the plain-text body. Meta (WhatsApp, Messenger, Instagram).
|
|
14
|
-
*/
|
|
15
|
-
QUERY_ECHO = "query-echo",
|
|
16
|
-
/**
|
|
17
|
-
* Provider sends a JSON body carrying a trigger field and a challenge, and expects the
|
|
18
|
-
* challenge echoed in a JSON response. Slack (`type: url_verification`).
|
|
19
|
-
*/
|
|
20
|
-
JSON_ECHO = "json-echo"
|
|
21
|
-
}
|
|
22
|
-
//# sourceMappingURL=handshake-kind.enum.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"handshake-kind.enum.d.ts","sourceRoot":"","sources":["../../../../src/api/conduit/handshake-kind.enum.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,oBAAY,aAAa;IACrB;;;OAGG;IACH,UAAU,eAAe;IAEzB;;;OAGG;IACH,SAAS,cAAc;CAC1B"}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.HandshakeKind = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* How a provider proves the endpoint is really ours before it will send anything.
|
|
6
|
-
*
|
|
7
|
-
* **Handshakes work in inspect mode, deliberately.** Meta will not save a callback URL that
|
|
8
|
-
* does not echo `hub.challenge`, and Slack will not save one that does not echo `challenge` —
|
|
9
|
-
* so without this, the local developer tool could never be registered with the provider at all,
|
|
10
|
-
* and there would be nothing to capture. It is the one piece of ingress behaviour that is not
|
|
11
|
-
* "store and acknowledge".
|
|
12
|
-
*/
|
|
13
|
-
var HandshakeKind;
|
|
14
|
-
(function (HandshakeKind) {
|
|
15
|
-
/**
|
|
16
|
-
* Provider sends `GET ?mode=subscribe&verify_token=…&challenge=…` and expects the challenge
|
|
17
|
-
* echoed back as the plain-text body. Meta (WhatsApp, Messenger, Instagram).
|
|
18
|
-
*/
|
|
19
|
-
HandshakeKind["QUERY_ECHO"] = "query-echo";
|
|
20
|
-
/**
|
|
21
|
-
* Provider sends a JSON body carrying a trigger field and a challenge, and expects the
|
|
22
|
-
* challenge echoed in a JSON response. Slack (`type: url_verification`).
|
|
23
|
-
*/
|
|
24
|
-
HandshakeKind["JSON_ECHO"] = "json-echo";
|
|
25
|
-
})(HandshakeKind || (exports.HandshakeKind = HandshakeKind = {}));
|
|
26
|
-
//# sourceMappingURL=handshake-kind.enum.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"handshake-kind.enum.js","sourceRoot":"","sources":["../../../../src/api/conduit/handshake-kind.enum.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;GAQG;AACH,IAAY,aAYX;AAZD,WAAY,aAAa;IACrB;;;OAGG;IACH,0CAAyB,CAAA;IAEzB;;;OAGG;IACH,wCAAuB,CAAA;AAC3B,CAAC,EAZW,aAAa,6BAAb,aAAa,QAYxB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/api/conduit/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,2CAA2C,CAAC;AAC1D,cAAc,sBAAsB,CAAC;AACrC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,qBAAqB,CAAC;AACpC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,0BAA0B,CAAC;AACzC,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,mCAAmC,CAAC;AAClD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,qBAAqB,CAAC"}
|
|
@@ -1,38 +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("./capture.type.js"), exports);
|
|
18
|
-
__exportStar(require("./connection-verification-verdict.enum.js"), exports);
|
|
19
|
-
__exportStar(require("./connection.type.js"), exports);
|
|
20
|
-
__exportStar(require("./connector-auth-type.enum.js"), exports);
|
|
21
|
-
__exportStar(require("./connector.type.js"), exports);
|
|
22
|
-
__exportStar(require("./delivery-status.enum.js"), exports);
|
|
23
|
-
__exportStar(require("./delivery.type.js"), exports);
|
|
24
|
-
__exportStar(require("./destination.type.js"), exports);
|
|
25
|
-
__exportStar(require("./dispatch-status.enum.js"), exports);
|
|
26
|
-
__exportStar(require("./dispatch.type.js"), exports);
|
|
27
|
-
__exportStar(require("./endpoint.type.js"), exports);
|
|
28
|
-
__exportStar(require("./handshake-kind.enum.js"), exports);
|
|
29
|
-
__exportStar(require("./match-operator.enum.js"), exports);
|
|
30
|
-
__exportStar(require("./provider.type.js"), exports);
|
|
31
|
-
__exportStar(require("./replay.type.js"), exports);
|
|
32
|
-
__exportStar(require("./route.type.js"), exports);
|
|
33
|
-
__exportStar(require("./signature-algorithm.enum.js"), exports);
|
|
34
|
-
__exportStar(require("./signature-encoding.enum.js"), exports);
|
|
35
|
-
__exportStar(require("./signature-header-scheme.enum.js"), exports);
|
|
36
|
-
__exportStar(require("./signature-verdict.enum.js"), exports);
|
|
37
|
-
__exportStar(require("./signature.type.js"), exports);
|
|
38
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/conduit/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAClC,4EAA0D;AAC1D,uDAAqC;AACrC,gEAA8C;AAC9C,sDAAoC;AACpC,4DAA0C;AAC1C,qDAAmC;AACnC,wDAAsC;AACtC,4DAA0C;AAC1C,qDAAmC;AACnC,qDAAmC;AACnC,2DAAyC;AACzC,2DAAyC;AACzC,qDAAmC;AACnC,mDAAiC;AACjC,kDAAgC;AAChC,gEAA8C;AAC9C,+DAA6C;AAC7C,oEAAkD;AAClD,8DAA4C;AAC5C,sDAAoC"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* How one header or body matcher compares.
|
|
3
|
-
*
|
|
4
|
-
* Four operators, and the list is short on purpose. A routing rule is declarative data, never
|
|
5
|
-
* code, and every operator added here is a step toward an expression language — the moment a
|
|
6
|
-
* rule can express arbitrary logic we own the customer's bugs and can never change the
|
|
7
|
-
* evaluator.
|
|
8
|
-
*
|
|
9
|
-
* `EXISTS` earns its place because "this field is present at all" is the most common real
|
|
10
|
-
* condition and cannot be written with the other three.
|
|
11
|
-
*/
|
|
12
|
-
export declare enum MatchOperator {
|
|
13
|
-
/** Exact string comparison, case-sensitive. */
|
|
14
|
-
EQUALS = "equals",
|
|
15
|
-
/** Substring. Deliberately not a regular expression. */
|
|
16
|
-
CONTAINS = "contains",
|
|
17
|
-
/** Value starts with the operand. Enough for `application/json; charset=utf-8`. */
|
|
18
|
-
STARTS_WITH = "starts-with",
|
|
19
|
-
/** The field is present, whatever its value. The operand is ignored. */
|
|
20
|
-
EXISTS = "exists"
|
|
21
|
-
}
|
|
22
|
-
//# sourceMappingURL=match-operator.enum.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"match-operator.enum.d.ts","sourceRoot":"","sources":["../../../../src/api/conduit/match-operator.enum.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,oBAAY,aAAa;IACrB,+CAA+C;IAC/C,MAAM,WAAW;IAEjB,wDAAwD;IACxD,QAAQ,aAAa;IAErB,mFAAmF;IACnF,WAAW,gBAAgB;IAE3B,wEAAwE;IACxE,MAAM,WAAW;CACpB"}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.MatchOperator = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* How one header or body matcher compares.
|
|
6
|
-
*
|
|
7
|
-
* Four operators, and the list is short on purpose. A routing rule is declarative data, never
|
|
8
|
-
* code, and every operator added here is a step toward an expression language — the moment a
|
|
9
|
-
* rule can express arbitrary logic we own the customer's bugs and can never change the
|
|
10
|
-
* evaluator.
|
|
11
|
-
*
|
|
12
|
-
* `EXISTS` earns its place because "this field is present at all" is the most common real
|
|
13
|
-
* condition and cannot be written with the other three.
|
|
14
|
-
*/
|
|
15
|
-
var MatchOperator;
|
|
16
|
-
(function (MatchOperator) {
|
|
17
|
-
/** Exact string comparison, case-sensitive. */
|
|
18
|
-
MatchOperator["EQUALS"] = "equals";
|
|
19
|
-
/** Substring. Deliberately not a regular expression. */
|
|
20
|
-
MatchOperator["CONTAINS"] = "contains";
|
|
21
|
-
/** Value starts with the operand. Enough for `application/json; charset=utf-8`. */
|
|
22
|
-
MatchOperator["STARTS_WITH"] = "starts-with";
|
|
23
|
-
/** The field is present, whatever its value. The operand is ignored. */
|
|
24
|
-
MatchOperator["EXISTS"] = "exists";
|
|
25
|
-
})(MatchOperator || (exports.MatchOperator = MatchOperator = {}));
|
|
26
|
-
//# sourceMappingURL=match-operator.enum.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"match-operator.enum.js","sourceRoot":"","sources":["../../../../src/api/conduit/match-operator.enum.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;GAUG;AACH,IAAY,aAYX;AAZD,WAAY,aAAa;IACrB,+CAA+C;IAC/C,kCAAiB,CAAA;IAEjB,wDAAwD;IACxD,sCAAqB,CAAA;IAErB,mFAAmF;IACnF,4CAA2B,CAAA;IAE3B,wEAAwE;IACxE,kCAAiB,CAAA;AACrB,CAAC,EAZW,aAAa,6BAAb,aAAa,QAYxB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"provider.type.d.ts","sourceRoot":"","sources":["../../../../src/api/conduit/provider.type.ts"],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sB,CAAC,CAAC;IAE7C,+DAA+D;IAC/D,SAAS,CAAC,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC;CAChD"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SIGNED_PAYLOAD_TIMESTAMP_TOKEN = exports.SIGNED_PAYLOAD_BODY_TOKEN = void 0;
|
|
4
|
-
/** Required in `signedPayloadTemplate`; substituted with the raw request bytes. */
|
|
5
|
-
exports.SIGNED_PAYLOAD_BODY_TOKEN = '{body}';
|
|
6
|
-
/** Optional in `signedPayloadTemplate`; substituted with the timestamp exactly as received. */
|
|
7
|
-
exports.SIGNED_PAYLOAD_TIMESTAMP_TOKEN = '{timestamp}';
|
|
8
|
-
//# sourceMappingURL=provider.type.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"provider.type.js","sourceRoot":"","sources":["../../../../src/api/conduit/provider.type.ts"],"names":[],"mappings":";;;AASA,mFAAmF;AACtE,QAAA,yBAAyB,GAAG,QAAQ,CAAC;AAElD,+FAA+F;AAClF,QAAA,8BAA8B,GAAG,aAAa,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"replay.type.d.ts","sourceRoot":"","sources":["../../../../src/api/conduit/replay.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AACpE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAEpD,iDAAiD;AACjD,MAAM,WAAW,MAAM;IACnB,EAAE,EAAE,IAAI,CAAC;IACT,SAAS,EAAE,IAAI,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IAEf,0FAA0F;IAC1F,QAAQ,EAAE,OAAO,CAAC;IAElB,2FAA2F;IAC3F,cAAc,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC;IAEjC,eAAe,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC,CAAC,CAAC;IAE7D,wCAAwC;IACxC,mBAAmB,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC;IAEtC,qBAAqB,EAAE,OAAO,CAAC;IAE/B;;;OAGG;IACH,YAAY,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC;IAE/B,UAAU,EAAE,MAAM,CAAC;IACnB,gBAAgB,EAAE,QAAQ,CAAC,IAAI,CAAC,CAAC;IACjC,SAAS,EAAE,WAAW,CAAC;CAC1B;AAED;;;GAGG;AACH,MAAM,WAAW,WAAW;IACxB,KAAK,EAAE,MAAM,EAAE,CAAC;CACnB;AAED,yCAAyC;AACzC,MAAM,WAAW,iBAAiB;IAC9B,SAAS,EAAE,MAAM,CAAC;IAElB,wCAAwC;IACxC,MAAM,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC;IAE1B,sFAAsF;IACtF,OAAO,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;IAE3C;;;;OAIG;IACH,UAAU,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC;CACjC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"replay.type.js","sourceRoot":"","sources":["../../../../src/api/conduit/replay.type.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"route.type.d.ts","sourceRoot":"","sources":["../../../../src/api/conduit/route.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AACpE,OAAO,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,KAAK,EAA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,IAAI,CAAC,CAAC;IAC5B,WAAW,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC;IAC/B,MAAM,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC;IAC1B,WAAW,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC;IAC/B,cAAc,CAAC,EAAE,QAAQ,CAAC,kBAAkB,EAAE,CAAC,CAAC;IAChD,YAAY,CAAC,EAAE,QAAQ,CAAC,gBAAgB,EAAE,CAAC,CAAC;IAC5C,cAAc,CAAC,EAAE,IAAI,EAAE,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACtB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"route.type.js","sourceRoot":"","sources":["../../../../src/api/conduit/route.type.ts"],"names":[],"mappings":""}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Hash backing a provider's HMAC.
|
|
3
|
-
*
|
|
4
|
-
* `SHA1` is here because Meta still sends `x-hub-signature` alongside the SHA-256 header and
|
|
5
|
-
* some older integrations only have that one. It is **not** a recommendation — a manifest using
|
|
6
|
-
* it is verifying what the provider actually sends, which is the only useful thing a diagnostic
|
|
7
|
-
* can do. Nothing in Conduit ever *chooses* SHA-1.
|
|
8
|
-
*
|
|
9
|
-
* Values are the strings `node:crypto` expects, so no lookup table stands between the manifest
|
|
10
|
-
* and `createHmac` — one fewer place for a typo to become "signature mismatch".
|
|
11
|
-
*/
|
|
12
|
-
export declare enum SignatureAlgorithm {
|
|
13
|
-
SHA1 = "sha1",
|
|
14
|
-
SHA256 = "sha256",
|
|
15
|
-
SHA512 = "sha512"
|
|
16
|
-
}
|
|
17
|
-
//# sourceMappingURL=signature-algorithm.enum.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"signature-algorithm.enum.d.ts","sourceRoot":"","sources":["../../../../src/api/conduit/signature-algorithm.enum.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,oBAAY,kBAAkB;IAC1B,IAAI,SAAS;IACb,MAAM,WAAW;IACjB,MAAM,WAAW;CACpB"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SignatureAlgorithm = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* Hash backing a provider's HMAC.
|
|
6
|
-
*
|
|
7
|
-
* `SHA1` is here because Meta still sends `x-hub-signature` alongside the SHA-256 header and
|
|
8
|
-
* some older integrations only have that one. It is **not** a recommendation — a manifest using
|
|
9
|
-
* it is verifying what the provider actually sends, which is the only useful thing a diagnostic
|
|
10
|
-
* can do. Nothing in Conduit ever *chooses* SHA-1.
|
|
11
|
-
*
|
|
12
|
-
* Values are the strings `node:crypto` expects, so no lookup table stands between the manifest
|
|
13
|
-
* and `createHmac` — one fewer place for a typo to become "signature mismatch".
|
|
14
|
-
*/
|
|
15
|
-
var SignatureAlgorithm;
|
|
16
|
-
(function (SignatureAlgorithm) {
|
|
17
|
-
SignatureAlgorithm["SHA1"] = "sha1";
|
|
18
|
-
SignatureAlgorithm["SHA256"] = "sha256";
|
|
19
|
-
SignatureAlgorithm["SHA512"] = "sha512";
|
|
20
|
-
})(SignatureAlgorithm || (exports.SignatureAlgorithm = SignatureAlgorithm = {}));
|
|
21
|
-
//# sourceMappingURL=signature-algorithm.enum.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"signature-algorithm.enum.js","sourceRoot":"","sources":["../../../../src/api/conduit/signature-algorithm.enum.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;GAUG;AACH,IAAY,kBAIX;AAJD,WAAY,kBAAkB;IAC1B,mCAAa,CAAA;IACb,uCAAiB,CAAA;IACjB,uCAAiB,CAAA;AACrB,CAAC,EAJW,kBAAkB,kCAAlB,kBAAkB,QAI7B"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* How the computed digest is rendered before comparison.
|
|
3
|
-
*
|
|
4
|
-
* Getting this wrong is one of the two most common causes of a webhook signature that "should
|
|
5
|
-
* work but doesn't" — the digest is right and the string is not. Naming it in the manifest is
|
|
6
|
-
* what lets the diagnostic show the caller both encodings of the same digest rather than a bare
|
|
7
|
-
* "mismatch".
|
|
8
|
-
*/
|
|
9
|
-
export declare enum SignatureEncoding {
|
|
10
|
-
HEX = "hex",
|
|
11
|
-
BASE64 = "base64"
|
|
12
|
-
}
|
|
13
|
-
//# sourceMappingURL=signature-encoding.enum.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"signature-encoding.enum.d.ts","sourceRoot":"","sources":["../../../../src/api/conduit/signature-encoding.enum.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,oBAAY,iBAAiB;IACzB,GAAG,QAAQ;IACX,MAAM,WAAW;CACpB"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SignatureEncoding = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* How the computed digest is rendered before comparison.
|
|
6
|
-
*
|
|
7
|
-
* Getting this wrong is one of the two most common causes of a webhook signature that "should
|
|
8
|
-
* work but doesn't" — the digest is right and the string is not. Naming it in the manifest is
|
|
9
|
-
* what lets the diagnostic show the caller both encodings of the same digest rather than a bare
|
|
10
|
-
* "mismatch".
|
|
11
|
-
*/
|
|
12
|
-
var SignatureEncoding;
|
|
13
|
-
(function (SignatureEncoding) {
|
|
14
|
-
SignatureEncoding["HEX"] = "hex";
|
|
15
|
-
SignatureEncoding["BASE64"] = "base64";
|
|
16
|
-
})(SignatureEncoding || (exports.SignatureEncoding = SignatureEncoding = {}));
|
|
17
|
-
//# sourceMappingURL=signature-encoding.enum.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"signature-encoding.enum.js","sourceRoot":"","sources":["../../../../src/api/conduit/signature-encoding.enum.ts"],"names":[],"mappings":";;;AAAA;;;;;;;GAOG;AACH,IAAY,iBAGX;AAHD,WAAY,iBAAiB;IACzB,gCAAW,CAAA;IACX,sCAAiB,CAAA;AACrB,CAAC,EAHW,iBAAiB,iCAAjB,iBAAiB,QAG5B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"signature-header-scheme.enum.d.ts","sourceRoot":"","sources":["../../../../src/api/conduit/signature-header-scheme.enum.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AACH,oBAAY,qBAAqB;IAC7B,MAAM,WAAW;IACjB,cAAc,mBAAmB;CACpC"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SignatureHeaderScheme = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* How the signature is packed into its header.
|
|
6
|
-
*
|
|
7
|
-
* Two shapes cover every provider we have met:
|
|
8
|
-
*
|
|
9
|
-
* - `DIRECT` — the header *is* the signature, optionally behind a prefix:
|
|
10
|
-
* `x-hub-signature-256: sha256=a1b2…`
|
|
11
|
-
* - `KEY_VALUE_LIST` — a comma-separated list the signature is one entry of, because the
|
|
12
|
-
* provider also ships a timestamp in the same header:
|
|
13
|
-
* `stripe-signature: t=1737031234,v1=a1b2…`
|
|
14
|
-
*
|
|
15
|
-
* Modelling the packing separately from the digest is what keeps "add TikTok" a manifest rather
|
|
16
|
-
* than a code change.
|
|
17
|
-
*/
|
|
18
|
-
var SignatureHeaderScheme;
|
|
19
|
-
(function (SignatureHeaderScheme) {
|
|
20
|
-
SignatureHeaderScheme["DIRECT"] = "direct";
|
|
21
|
-
SignatureHeaderScheme["KEY_VALUE_LIST"] = "key-value-list";
|
|
22
|
-
})(SignatureHeaderScheme || (exports.SignatureHeaderScheme = SignatureHeaderScheme = {}));
|
|
23
|
-
//# sourceMappingURL=signature-header-scheme.enum.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"signature-header-scheme.enum.js","sourceRoot":"","sources":["../../../../src/api/conduit/signature-header-scheme.enum.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;GAaG;AACH,IAAY,qBAGX;AAHD,WAAY,qBAAqB;IAC7B,0CAAiB,CAAA;IACjB,0DAAiC,CAAA;AACrC,CAAC,EAHW,qBAAqB,qCAArB,qBAAqB,QAGhC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"signature-verdict.enum.d.ts","sourceRoot":"","sources":["../../../../src/api/conduit/signature-verdict.enum.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AACH,oBAAY,gBAAgB;IACxB,wFAAwF;IACxF,KAAK,UAAU;IAEf;;;;;;OAMG;IACH,OAAO,YAAY;IAEnB,wFAAwF;IACxF,WAAW,gBAAgB;IAE3B,gFAAgF;IAChF,UAAU,eAAe;IAEzB,yFAAyF;IACzF,cAAc,mBAAmB;IAEjC,iGAAiG;IACjG,iBAAiB,sBAAsB;IAEvC;;;OAGG;IACH,mBAAmB,wBAAwB;IAE3C;;;;;OAKG;IACH,0BAA0B,+BAA+B;CAC5D"}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SignatureVerdict = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* The outcome of a signature check.
|
|
6
|
-
*
|
|
7
|
-
* **Not a boolean, and that is the entire point of the feature.** "Invalid" is the least useful
|
|
8
|
-
* thing you can tell someone whose webhook is failing: the interesting cases are all the ways
|
|
9
|
-
* verification could not even run. Six of these eight are "we did not check", each for a
|
|
10
|
-
* different and separately fixable reason, and collapsing them into `false` is what makes
|
|
11
|
-
* webhook debugging take an afternoon.
|
|
12
|
-
*
|
|
13
|
-
* Stored on every capture so the list view can be filtered by it, and returned by the
|
|
14
|
-
* diagnostic alongside the evidence.
|
|
15
|
-
*
|
|
16
|
-
* A UI must not colour all six red. Only {@link SignatureVerdict.INVALID} and
|
|
17
|
-
* {@link SignatureVerdict.TIMESTAMP_OUT_OF_TOLERANCE} indicate something wrong; the other five
|
|
18
|
-
* "could not verify" verdicts mean nobody configured verification, and painting those as
|
|
19
|
-
* failures sends people to debug a provider that is behaving correctly.
|
|
20
|
-
*/
|
|
21
|
-
var SignatureVerdict;
|
|
22
|
-
(function (SignatureVerdict) {
|
|
23
|
-
/** Computed digest matched the received one, and any timestamp was inside tolerance. */
|
|
24
|
-
SignatureVerdict["VALID"] = "valid";
|
|
25
|
-
/**
|
|
26
|
-
* Everything needed was present and the digests differ.
|
|
27
|
-
*
|
|
28
|
-
* The only verdict that suggests something is actually wrong — and even then, usually with
|
|
29
|
-
* the secret or the manifest rather than with the request. The diagnostic's hints exist for
|
|
30
|
-
* this case.
|
|
31
|
-
*/
|
|
32
|
-
SignatureVerdict["INVALID"] = "invalid";
|
|
33
|
-
/** The endpoint names no provider, so there is no manifest describing what to check. */
|
|
34
|
-
SignatureVerdict["NO_PROVIDER"] = "no-provider";
|
|
35
|
-
/** The manifest describes no signature scheme — this provider signs nothing. */
|
|
36
|
-
SignatureVerdict["NOT_SIGNED"] = "not-signed";
|
|
37
|
-
/** No signing secret is configured on the endpoint. Nothing to compute a digest with. */
|
|
38
|
-
SignatureVerdict["MISSING_SECRET"] = "missing-secret";
|
|
39
|
-
/** The manifest's header is absent from the request. Often the provider is not who you think. */
|
|
40
|
-
SignatureVerdict["MISSING_SIGNATURE"] = "missing-signature";
|
|
41
|
-
/**
|
|
42
|
-
* The header is present but does not parse — a `key-value-list` without the expected key, or
|
|
43
|
-
* a prefix that is not there. Distinct from `INVALID` because no digest was ever compared.
|
|
44
|
-
*/
|
|
45
|
-
SignatureVerdict["MALFORMED_SIGNATURE"] = "malformed-signature";
|
|
46
|
-
/**
|
|
47
|
-
* Digest matched, but the signed timestamp is outside the provider's replay window.
|
|
48
|
-
*
|
|
49
|
-
* Separate from both `VALID` and `INVALID` on purpose: the signature is genuine, so this is
|
|
50
|
-
* either a replay or a clock-skew problem, and those have opposite fixes.
|
|
51
|
-
*/
|
|
52
|
-
SignatureVerdict["TIMESTAMP_OUT_OF_TOLERANCE"] = "timestamp-out-of-tolerance";
|
|
53
|
-
})(SignatureVerdict || (exports.SignatureVerdict = SignatureVerdict = {}));
|
|
54
|
-
//# sourceMappingURL=signature-verdict.enum.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"signature-verdict.enum.js","sourceRoot":"","sources":["../../../../src/api/conduit/signature-verdict.enum.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;;;GAgBG;AACH,IAAY,gBAsCX;AAtCD,WAAY,gBAAgB;IACxB,wFAAwF;IACxF,mCAAe,CAAA;IAEf;;;;;;OAMG;IACH,uCAAmB,CAAA;IAEnB,wFAAwF;IACxF,+CAA2B,CAAA;IAE3B,gFAAgF;IAChF,6CAAyB,CAAA;IAEzB,yFAAyF;IACzF,qDAAiC,CAAA;IAEjC,iGAAiG;IACjG,2DAAuC,CAAA;IAEvC;;;OAGG;IACH,+DAA2C,CAAA;IAE3C;;;;;OAKG;IACH,6EAAyD,CAAA;AAC7D,CAAC,EAtCW,gBAAgB,gCAAhB,gBAAgB,QAsC3B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"signature.type.d.ts","sourceRoot":"","sources":["../../../../src/api/conduit/signature.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAEvD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AACxE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AACtE,OA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