@lobu/runtime-server 20.1.0 → 21.0.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/dist/component.json +1 -1
- package/dist/connectors/README.md +15 -16
- package/dist/connectors/chat-user-identity.ts +41 -0
- package/dist/connectors/github.ts +15 -9
- package/dist/connectors/google-identity.ts +11 -0
- package/dist/connectors/google_calendar.ts +21 -31
- package/dist/connectors/google_drive.ts +106 -131
- package/dist/connectors/google_gmail.ts +53 -30
- package/dist/connectors/hackernews.ts +2 -5
- package/dist/connectors/jira.ts +62 -27
- package/dist/connectors/linear.ts +55 -21
- package/dist/connectors/microsoft_outlook.ts +151 -110
- package/dist/connectors/postgres.ts +19 -11
- package/dist/connectors/producthunt.ts +8 -6
- package/dist/connectors/reddit.ts +2 -2
- package/dist/connectors/rss.ts +2 -2
- package/dist/connectors/slack-identity.ts +19 -0
- package/dist/connectors/whatsapp_web.ts +5 -4
- package/dist/connectors/x.ts +32 -17
- package/dist/connectors/youtube.ts +18 -5
- package/dist/db/migrations/20260915030000_owner_dm_delivery_request_platform.sql +51 -0
- package/dist/db/migrations/20260917000000_views.sql +271 -0
- package/dist/db/migrations/20260917000001_views_attach_index.sql +14 -0
- package/dist/db/migrations/20260918000000_runs_turn_tool_event_uniq.sql +51 -0
- package/dist/db/migrations/20260923230000_runs_connector_artifact_hash.sql +32 -0
- package/dist/db/migrations/20260924000000_resource_source_files.sql +17 -0
- package/dist/dependencies.bun.lock +122 -113
- package/dist/guest.bundle.js +78 -10
- package/dist/owletto/dist/assets/_-CwFknmeA.js +1 -0
- package/dist/owletto/dist/assets/_-DrcppoWh.js +2 -0
- package/dist/owletto/dist/assets/_agentId-Cr57JKYx.js +1 -0
- package/dist/owletto/dist/assets/_agentId-HNcmgH56.js +1 -0
- package/dist/owletto/dist/assets/_automationId-BCfrLnUS.js +1 -0
- package/dist/owletto/dist/assets/{_connectorKey._connectionId-NQf43Ew3.js → _connectorKey._connectionId-126-iG9w.js} +1 -1
- package/dist/owletto/dist/assets/{_connectorKey.index-D-0ZNsgM.js → _connectorKey.index-CywE9A3N.js} +1 -1
- package/dist/owletto/dist/assets/_conversationId-CNETA_rY.js +1 -0
- package/dist/owletto/dist/assets/_deploymentId-CAVpXf8s.js +1 -0
- package/dist/owletto/dist/assets/_name-BP7OlVxL.js +1 -0
- package/dist/owletto/dist/assets/_owner-D2eh4R90.js +1 -0
- package/dist/owletto/dist/assets/_shape-BqV8tSfw.js +1 -0
- package/dist/owletto/dist/assets/_skillKey-2xTjhL_C.js +1 -0
- package/dist/owletto/dist/assets/_slug-DoIaJBbh.js +1 -0
- package/dist/owletto/dist/assets/_viewKey-8ePnWEg-.js +1 -0
- package/dist/owletto/dist/assets/_viewKey-D8rjUFLV.js +1 -0
- package/dist/owletto/dist/assets/_viewKey-DhVOkzYd.js +1 -0
- package/dist/owletto/dist/assets/accept-invitation-BWRiEUsd.js +1 -0
- package/dist/owletto/dist/assets/activity-route-view-rVdTeVXN.js +1 -0
- package/dist/owletto/dist/assets/{agent-card-controls-VJgcB5-0.js → agent-card-controls-JubkhcHt.js} +1 -1
- package/dist/owletto/dist/assets/{agent-client-setup-list-C5KRNRw3.js → agent-client-setup-list-Btcy4Cu1.js} +1 -1
- package/dist/owletto/dist/assets/{agent-connect-pages-BFSb6vmW.js → agent-connect-pages-Chfqn8iL.js} +1 -1
- package/dist/owletto/dist/assets/{agent-editor-form-CajEehVn.js → agent-editor-form-BrOkwfg8.js} +1 -1
- package/dist/owletto/dist/assets/{agent-guardrails-route-CZ_rXj-3.js → agent-guardrails-route-CHM7JbIl.js} +1 -1
- package/dist/owletto/dist/assets/{agent-loading-shells-Dczhk067.js → agent-loading-shells-DsiGx1fn.js} +1 -1
- package/dist/owletto/dist/assets/{agent-permissions-matrix-DIVHvpZG.js → agent-permissions-matrix-L_gFvSu1.js} +1 -1
- package/dist/owletto/dist/assets/{agent-skill-context-CxglCznW.js → agent-skill-context-D7tOJ8Pb.js} +1 -1
- package/dist/owletto/dist/assets/{agent-skills-route-CatU8soC.js → agent-skills-route-AylS-B9v.js} +1 -1
- package/dist/owletto/dist/assets/{agent-subpage-shell-DVSUdIBn.js → agent-subpage-shell-B7tCQ9zd.js} +1 -1
- package/dist/owletto/dist/assets/agent-thread-DOYh7WLW.js +8 -0
- package/dist/owletto/dist/assets/agents-0ncYwbz6.js +1 -0
- package/dist/owletto/dist/assets/agents-workbench-DOwn78eL.js +1 -0
- package/dist/owletto/dist/assets/app-bridge-BH3g2mKG.js +127 -0
- package/dist/owletto/dist/assets/{app._appId-BXmITXO7.js → app._appId-fJ_RRn1Z.js} +1 -1
- package/dist/owletto/dist/assets/automation-detail-content-CMprQht5.js +1 -0
- package/dist/owletto/dist/assets/automations-0ncYwbz6.js +1 -0
- package/dist/owletto/dist/assets/{calendar-taCoBmAh.js → calendar-BbD1N97u.js} +1 -1
- package/dist/owletto/dist/assets/{callback-CJxC8u_x.js → callback-PELM84Lh.js} +1 -1
- package/dist/owletto/dist/assets/{card-kpw3EaKC.js → card-DpLjEqIc.js} +1 -1
- package/dist/owletto/dist/assets/{claim-DLHRN0bA.js → claim-BLLvLOBM.js} +1 -1
- package/dist/owletto/dist/assets/clients-Bd8WpHSV.js +1 -0
- package/dist/owletto/dist/assets/{code-editor-D3X0yQdI.js → code-editor-DGJQDoHD.js} +1 -1
- package/dist/owletto/dist/assets/connect-Cx49f4J0.js +1 -0
- package/dist/owletto/dist/assets/connect._clientId-BDFBqKSA.js +1 -0
- package/dist/owletto/dist/assets/connected._clientId-BYGmFRCF.js +1 -0
- package/dist/owletto/dist/assets/{connection-DdBkXNbX.js → connection-B0O8OZuK.js} +1 -1
- package/dist/owletto/dist/assets/{connection-feed-detail-DF93zx0A.js → connection-feed-detail-DZjtoEfm.js} +1 -1
- package/dist/owletto/dist/assets/{connector-provenance-N3sc0nbo.js → connector-provenance-D_g9gGXU.js} +1 -1
- package/dist/owletto/dist/assets/{connectors-Ckn_aoNE.js → connectors-BiMMm_QQ.js} +1 -1
- package/dist/owletto/dist/assets/{consent-Bi6KCVtT.js → consent-CIzW-960.js} +1 -1
- package/dist/owletto/dist/assets/{core.esm-CFYXLQXH.js → core.esm-Ds4Nuq9d.js} +1 -1
- package/dist/owletto/dist/assets/create--fsxroj2.js +1 -0
- package/dist/owletto/dist/assets/create-BqL-ahEf.js +1 -0
- package/dist/owletto/dist/assets/{create-BiHpu2f4.js → create-BvCaqhwK.js} +1 -1
- package/dist/owletto/dist/assets/create-automation-form-DN2w080o.js +2 -0
- package/dist/owletto/dist/assets/{create._connectorKey-Qynix_hA.js → create._connectorKey--qDi1h6S.js} +1 -1
- package/dist/owletto/dist/assets/{cronstrue-D7xlYtGk.js → cronstrue-h8_zIyZD.js} +1 -1
- package/dist/owletto/dist/assets/deployments-BROg1Te8.js +1 -0
- package/dist/owletto/dist/assets/deployments-ICDss7yS.js +1 -0
- package/dist/owletto/dist/assets/deployments-body-DulCUAMt.js +1 -0
- package/dist/owletto/dist/assets/device-kTL2l_cz.js +1 -0
- package/dist/owletto/dist/assets/{device-pin-tombstone-DrTJYNKG.js → device-pin-tombstone-BmD4pv_e.js} +1 -1
- package/dist/owletto/dist/assets/device-rows-BqudjhFu.js +1 -0
- package/dist/owletto/dist/assets/{device._deviceId-CIe7taim.js → device._deviceId-CsLJJ6jv.js} +1 -1
- package/dist/owletto/dist/assets/entity-options-ErxYvMDH.js +1 -0
- package/dist/owletto/dist/assets/entity-page-CYRAwUGO.js +1 -0
- package/dist/owletto/dist/assets/entity-type-page-BlAizGlz.js +1 -0
- package/dist/owletto/dist/assets/event-page-DTXPxc-E.js +1 -0
- package/dist/owletto/dist/assets/events-feed-L3c-LLiJ.js +1 -0
- package/dist/owletto/dist/assets/{full-page-spinner-DTSqneUO.js → full-page-spinner-BxcYpJXx.js} +1 -1
- package/dist/owletto/dist/assets/guardrails-Dh4adTXY.js +1 -0
- package/dist/owletto/dist/assets/identity-B8lKn0je.js +1 -0
- package/dist/owletto/dist/assets/{index-jGZeANLE.js → index--lEHrFE4.js} +1 -1
- package/dist/owletto/dist/assets/{index-CMOHHdFH.js → index-13rywWam.js} +1 -1
- package/dist/owletto/dist/assets/{index-Bq4m-sK0.js → index-BRvT0VV9.js} +1 -1
- package/dist/owletto/dist/assets/index-BUp24ZJr.js +1 -0
- package/dist/owletto/dist/assets/index-B_-MLsof.js +1 -0
- package/dist/owletto/dist/assets/index-Bq-q4Y7E.js +1 -0
- package/dist/owletto/dist/assets/index-C8CR2-Ck.css +1 -0
- package/dist/owletto/dist/assets/{index-OUb5Mlez.js → index-CDz3-ieP.js} +10 -10
- package/dist/owletto/dist/assets/index-CFkj9iR_.js +1 -0
- package/dist/owletto/dist/assets/index-CgBgOElA.js +1 -0
- package/dist/owletto/dist/assets/{index-DkKALC2l.js → index-CheCJomo.js} +1 -1
- package/dist/owletto/dist/assets/index-CpiW66xK.js +1 -0
- package/dist/owletto/dist/assets/index-DAv5S2aK.js +1 -0
- package/dist/owletto/dist/assets/index-DBi2Xr3i.js +1 -0
- package/dist/owletto/dist/assets/index-DHOha5OJ.js +1 -0
- package/dist/owletto/dist/assets/index-DdGjY1Hb.js +7898 -0
- package/dist/owletto/dist/assets/index-Dkyl7l6E.js +1 -0
- package/dist/owletto/dist/assets/{index-DYe_DVHa.js → index-QcHQZI87.js} +1 -1
- package/dist/owletto/dist/assets/index-kq4537-S.js +1 -0
- package/dist/owletto/dist/assets/{json-diff-CANZD4MQ.js → json-diff-BV2STDGj.js} +2 -2
- package/dist/owletto/dist/assets/{list-skeleton-DZTUxpBx.js → list-skeleton-CT5n4ND_.js} +1 -1
- package/dist/owletto/dist/assets/login-DKsgABYt.js +1 -0
- package/dist/owletto/dist/assets/logout-D_CP-emw.js +1 -0
- package/dist/owletto/dist/assets/member-scope-gate-BTgmlfFJ.js +1 -0
- package/dist/owletto/dist/assets/memory-browse-page-FHaJC3ML.js +101 -0
- package/dist/owletto/dist/assets/missing-view-Bve6pJP-.js +1 -0
- package/dist/owletto/dist/assets/{model-selector-CvU3VP90.js → model-selector-BLCEahny.js} +1 -1
- package/dist/owletto/dist/assets/models-C4N7LQAW.js +1 -0
- package/dist/owletto/dist/assets/new-BAIGSdfp.js +1 -0
- package/dist/owletto/dist/assets/{new-DIjOVXrQ.js → new-CirOK0Sw.js} +1 -1
- package/dist/owletto/dist/assets/new-DzapH2sV.js +1 -0
- package/dist/owletto/dist/assets/{oauth-workspace-access-DWfiekRz.js → oauth-workspace-access-BF7jaswv.js} +1 -1
- package/dist/owletto/dist/assets/{organization-DHEC7kDq.js → organization-D9RPsWG-.js} +1 -1
- package/dist/owletto/dist/assets/{permissions-i7iwnE1a.js → permissions-BlRONw-u.js} +1 -1
- package/dist/owletto/dist/assets/{proposal-review-shell-C_LcyUEF.js → proposal-review-shell-uskeFIUr.js} +1 -1
- package/dist/owletto/dist/assets/{recent-By19_Buq.js → recent-CmJ4Is6V.js} +1 -1
- package/dist/owletto/dist/assets/{renderer-B1UThnk2.js → renderer-Dyf4t8kR.js} +2 -2
- package/dist/owletto/dist/assets/{reset-password-Dsz5-Xeo.js → reset-password-BVIeE1Zm.js} +1 -1
- package/dist/owletto/dist/assets/runs-CzBeUzlQ.js +1 -0
- package/dist/owletto/dist/assets/{runs-panel-wkV1aGD9.js → runs-panel-D7l1uLGm.js} +1 -1
- package/dist/owletto/dist/assets/runs-table-dATyiBg2.js +1 -0
- package/dist/owletto/dist/assets/{schema-value-normalization--DhnhJNf.js → schema-value-normalization-DgMkyVVE.js} +1 -1
- package/dist/owletto/dist/assets/settings-BK1GHmzb.js +1 -0
- package/dist/owletto/dist/assets/{settings-Bu239SXe.js → settings-Co1wj_m6.js} +1 -1
- package/dist/owletto/dist/assets/skills-DF53JcYt.js +1 -0
- package/dist/owletto/dist/assets/{switch-CCKllS7w.js → switch-DDkPrV3p.js} +1 -1
- package/dist/owletto/dist/assets/use-applied-views-DELwQQh7.js +1 -0
- package/dist/owletto/dist/assets/{use-mention-search-CldNZTiT.js → use-mention-search-CGA3AaKm.js} +1 -1
- package/dist/owletto/dist/assets/view-frame-DDr-Xtet.js +1 -0
- package/dist/owletto/dist/index.html +2 -2
- package/dist/server-main.bundle.mjs +16460 -12976
- package/npm-shrinkwrap.json +593 -559
- package/package.json +5 -2
- package/vendor/connector-sdk/dist/connector-runtime.d.ts +4 -6
- package/vendor/connector-sdk/dist/connector-runtime.js +3 -5
- package/vendor/connector-sdk/dist/connector-types.d.ts +28 -13
- package/vendor/connector-sdk/dist/define-connector.d.ts +4 -1
- package/vendor/connector-sdk/dist/define-connector.js +4 -1
- package/vendor/connector-sdk/dist/http-client.d.ts +18 -7
- package/vendor/connector-sdk/dist/http-client.js +15 -13
- package/vendor/connector-sdk/dist/index.d.ts +1 -1
- package/vendor/connector-sdk/dist/retry.d.ts +15 -3
- package/vendor/connector-sdk/dist/retry.js +40 -64
- package/vendor/connector-sdk/package.json +1 -1
- package/vendor/core/dist/agent-policy.js +3 -0
- package/vendor/core/dist/connector-query-errors.d.ts +3 -3
- package/vendor/core/dist/connector-query-errors.js +8 -3
- package/vendor/core/dist/contracts/tools/manage-connections.d.ts +24 -0
- package/vendor/core/dist/contracts/tools/manage-connections.js +13 -0
- package/vendor/core/dist/contracts/tools/manage-entity-schema.d.ts +15 -25
- package/vendor/core/dist/contracts/tools/manage-entity-schema.js +3 -5
- package/vendor/core/dist/contracts/tools/manage-feeds.d.ts +11 -0
- package/vendor/core/dist/contracts/tools/manage-feeds.js +12 -1
- package/vendor/core/dist/contracts/tools/manage-operations.d.ts +47 -6
- package/vendor/core/dist/contracts/tools/manage-operations.js +36 -1
- package/vendor/core/dist/contracts/tools/manage-views.d.ts +293 -0
- package/vendor/core/dist/contracts/tools/manage-views.js +203 -0
- package/vendor/core/dist/contracts/tools/source-files-schema.d.ts +7 -0
- package/vendor/core/dist/contracts/tools/source-files-schema.js +19 -0
- package/vendor/core/dist/contracts/tools/source-files.d.ts +14 -0
- package/vendor/core/dist/contracts/tools/source-files.js +55 -0
- package/vendor/core/dist/contracts/tools/view-content-hash.d.ts +37 -0
- package/vendor/core/dist/contracts/tools/view-content-hash.js +58 -0
- package/vendor/core/dist/contracts/tools/view-path.d.ts +18 -0
- package/vendor/core/dist/contracts/tools/view-path.js +24 -0
- package/vendor/core/dist/contracts/worker/protocol.d.ts +73 -8
- package/vendor/core/dist/contracts/worker/protocol.js +58 -9
- package/vendor/core/dist/credentials.d.ts +16 -1
- package/vendor/core/dist/credentials.js +10 -1
- package/vendor/core/dist/reserved.d.ts +3 -3
- package/vendor/core/dist/reserved.js +9 -1
- package/vendor/core/dist/utils/secret-redaction.js +2 -0
- package/vendor/core/package.json +25 -5
- package/vendor/views/dist/api.d.ts +179 -0
- package/vendor/views/dist/api.js +406 -0
- package/vendor/views/dist/bridge.d.ts +141 -0
- package/vendor/views/dist/bridge.js +330 -0
- package/vendor/views/dist/index.d.ts +12 -0
- package/vendor/views/dist/index.js +10 -0
- package/vendor/views/package.json +35 -0
- package/dist/owletto/dist/assets/_-CfcfHJO8.js +0 -1
- package/dist/owletto/dist/assets/_-DdvHIadV.js +0 -2
- package/dist/owletto/dist/assets/_agentId-BTmFhpb6.js +0 -1
- package/dist/owletto/dist/assets/_agentId-DbTBU4KZ.js +0 -1
- package/dist/owletto/dist/assets/_automationId-C7dZzg6X.js +0 -1
- package/dist/owletto/dist/assets/_conversationId-F5YmyLV9.js +0 -1
- package/dist/owletto/dist/assets/_deploymentId-3LTMi0ZT.js +0 -1
- package/dist/owletto/dist/assets/_name-BKeZbc-h.js +0 -1
- package/dist/owletto/dist/assets/_owner-DglbbDEx.js +0 -1
- package/dist/owletto/dist/assets/_skillKey-DhiGYYFq.js +0 -1
- package/dist/owletto/dist/assets/_slug-CnQDfsCE.js +0 -1
- package/dist/owletto/dist/assets/accept-invitation-Dgoyublh.js +0 -1
- package/dist/owletto/dist/assets/activity-route-view-BNzKO6aD.js +0 -1
- package/dist/owletto/dist/assets/agent-thread-DnLUOzXk.js +0 -134
- package/dist/owletto/dist/assets/agents-OLmcj-qM.js +0 -1
- package/dist/owletto/dist/assets/agents-workbench-BOKifKIO.js +0 -1
- package/dist/owletto/dist/assets/automation-detail-content-wJC9hhmA.js +0 -1
- package/dist/owletto/dist/assets/automations-OLmcj-qM.js +0 -1
- package/dist/owletto/dist/assets/clients-R4JsT_Fz.js +0 -1
- package/dist/owletto/dist/assets/connect-1ysEq9l0.js +0 -1
- package/dist/owletto/dist/assets/connect._clientId-BbMPs6l3.js +0 -1
- package/dist/owletto/dist/assets/connected._clientId-ByH4etku.js +0 -1
- package/dist/owletto/dist/assets/create-C37QtjbJ.js +0 -1
- package/dist/owletto/dist/assets/create-automation-form-Cv2RHsQ6.js +0 -1
- package/dist/owletto/dist/assets/create-kAQa5_Q7.js +0 -1
- package/dist/owletto/dist/assets/deployments-C5kSeowq.js +0 -1
- package/dist/owletto/dist/assets/deployments-body-BPCALbQe.js +0 -1
- package/dist/owletto/dist/assets/device-DToHXxDM.js +0 -1
- package/dist/owletto/dist/assets/device-rows-fVm-zAiU.js +0 -1
- package/dist/owletto/dist/assets/entity-options-DOGD_EyZ.js +0 -1
- package/dist/owletto/dist/assets/entity-page-C8oDszRY.js +0 -1
- package/dist/owletto/dist/assets/entity-type-page-BfxIgJLq.js +0 -1
- package/dist/owletto/dist/assets/events-feed-B9OqmSBy.js +0 -1
- package/dist/owletto/dist/assets/guardrails-9Mr6avxk.js +0 -1
- package/dist/owletto/dist/assets/identity-DMfCjdBz.js +0 -1
- package/dist/owletto/dist/assets/index-Bfux0kHb.js +0 -7898
- package/dist/owletto/dist/assets/index-CK2-iHcz.js +0 -1
- package/dist/owletto/dist/assets/index-COgBJ_ab.js +0 -1
- package/dist/owletto/dist/assets/index-ChcQMdod.css +0 -1
- package/dist/owletto/dist/assets/index-CkwwaMrx.js +0 -1
- package/dist/owletto/dist/assets/index-D0lZrXrY.js +0 -1
- package/dist/owletto/dist/assets/index-DZadnZpq.js +0 -1
- package/dist/owletto/dist/assets/index-DcWyuLQS.js +0 -1
- package/dist/owletto/dist/assets/index-DlqjyZKQ.js +0 -1
- package/dist/owletto/dist/assets/index-Dv0huHrO.js +0 -1
- package/dist/owletto/dist/assets/index-DxIDxgPJ.js +0 -1
- package/dist/owletto/dist/assets/index-bKUccXCc.js +0 -1
- package/dist/owletto/dist/assets/login-D53geSP7.js +0 -1
- package/dist/owletto/dist/assets/logout-DKQS25qd.js +0 -1
- package/dist/owletto/dist/assets/member-scope-gate-C4QyRm2Q.js +0 -1
- package/dist/owletto/dist/assets/memory-browse-page-DOpV3vht.js +0 -101
- package/dist/owletto/dist/assets/models-ooBIWFuB.js +0 -1
- package/dist/owletto/dist/assets/new-B8_sRMYD.js +0 -1
- package/dist/owletto/dist/assets/new-Df1q7GEj.js +0 -1
- package/dist/owletto/dist/assets/runs-BQ11PAQT.js +0 -1
- package/dist/owletto/dist/assets/runs-table-DzSWYkaf.js +0 -1
- package/dist/owletto/dist/assets/settings-FxbIvOhH.js +0 -1
- package/dist/owletto/dist/assets/skills-MBZ5ilDK.js +0 -1
- package/vendor/core/dist/contracts/tools/manage-view-templates.d.ts +0 -165
- package/vendor/core/dist/contracts/tools/manage-view-templates.js +0 -130
|
@@ -78,14 +78,12 @@ export declare const EntityTypeRowSchema: import("@sinclair/typebox").TObject<{
|
|
|
78
78
|
created_at: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown]>;
|
|
79
79
|
updated_at: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown]>;
|
|
80
80
|
entity_count: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TInteger>;
|
|
81
|
-
current_view_template_version_id: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TInteger, import("@sinclair/typebox").TNull]>>;
|
|
82
81
|
/** Derived types only — the view's aggregate columns, classified on read. */
|
|
83
82
|
measure_columns: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
|
|
84
83
|
/**
|
|
85
|
-
*
|
|
86
|
-
*
|
|
87
|
-
*
|
|
88
|
-
* built-in Table/Board/Gallery. Same shape as resolve_path's tab payload.
|
|
84
|
+
* Retired with view templates: always empty. Type views resolve client-side
|
|
85
|
+
* from `manage_views`; the field stays so older clients keep rendering the
|
|
86
|
+
* built-in Table/Board/Gallery switcher. Removed in the owletto follow-up.
|
|
89
87
|
*/
|
|
90
88
|
view_templates: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
|
91
89
|
tab_name: import("@sinclair/typebox").TString;
|
|
@@ -210,14 +208,12 @@ export declare const ManageEntitySchemaResultSchema: import("@sinclair/typebox")
|
|
|
210
208
|
created_at: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown]>;
|
|
211
209
|
updated_at: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown]>;
|
|
212
210
|
entity_count: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TInteger>;
|
|
213
|
-
current_view_template_version_id: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TInteger, import("@sinclair/typebox").TNull]>>;
|
|
214
211
|
/** Derived types only — the view's aggregate columns, classified on read. */
|
|
215
212
|
measure_columns: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
|
|
216
213
|
/**
|
|
217
|
-
*
|
|
218
|
-
*
|
|
219
|
-
*
|
|
220
|
-
* built-in Table/Board/Gallery. Same shape as resolve_path's tab payload.
|
|
214
|
+
* Retired with view templates: always empty. Type views resolve client-side
|
|
215
|
+
* from `manage_views`; the field stays so older clients keep rendering the
|
|
216
|
+
* built-in Table/Board/Gallery switcher. Removed in the owletto follow-up.
|
|
221
217
|
*/
|
|
222
218
|
view_templates: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
|
223
219
|
tab_name: import("@sinclair/typebox").TString;
|
|
@@ -277,14 +273,12 @@ export declare const ManageEntitySchemaResultSchema: import("@sinclair/typebox")
|
|
|
277
273
|
created_at: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown]>;
|
|
278
274
|
updated_at: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown]>;
|
|
279
275
|
entity_count: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TInteger>;
|
|
280
|
-
current_view_template_version_id: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TInteger, import("@sinclair/typebox").TNull]>>;
|
|
281
276
|
/** Derived types only — the view's aggregate columns, classified on read. */
|
|
282
277
|
measure_columns: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
|
|
283
278
|
/**
|
|
284
|
-
*
|
|
285
|
-
*
|
|
286
|
-
*
|
|
287
|
-
* built-in Table/Board/Gallery. Same shape as resolve_path's tab payload.
|
|
279
|
+
* Retired with view templates: always empty. Type views resolve client-side
|
|
280
|
+
* from `manage_views`; the field stays so older clients keep rendering the
|
|
281
|
+
* built-in Table/Board/Gallery switcher. Removed in the owletto follow-up.
|
|
288
282
|
*/
|
|
289
283
|
view_templates: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
|
290
284
|
tab_name: import("@sinclair/typebox").TString;
|
|
@@ -331,14 +325,12 @@ export declare const ManageEntitySchemaResultSchema: import("@sinclair/typebox")
|
|
|
331
325
|
created_at: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown]>;
|
|
332
326
|
updated_at: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown]>;
|
|
333
327
|
entity_count: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TInteger>;
|
|
334
|
-
current_view_template_version_id: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TInteger, import("@sinclair/typebox").TNull]>>;
|
|
335
328
|
/** Derived types only — the view's aggregate columns, classified on read. */
|
|
336
329
|
measure_columns: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
|
|
337
330
|
/**
|
|
338
|
-
*
|
|
339
|
-
*
|
|
340
|
-
*
|
|
341
|
-
* built-in Table/Board/Gallery. Same shape as resolve_path's tab payload.
|
|
331
|
+
* Retired with view templates: always empty. Type views resolve client-side
|
|
332
|
+
* from `manage_views`; the field stays so older clients keep rendering the
|
|
333
|
+
* built-in Table/Board/Gallery switcher. Removed in the owletto follow-up.
|
|
342
334
|
*/
|
|
343
335
|
view_templates: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
|
344
336
|
tab_name: import("@sinclair/typebox").TString;
|
|
@@ -424,14 +416,12 @@ export declare const ManageEntitySchemaResultSchema: import("@sinclair/typebox")
|
|
|
424
416
|
created_at: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown]>;
|
|
425
417
|
updated_at: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown]>;
|
|
426
418
|
entity_count: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TInteger>;
|
|
427
|
-
current_view_template_version_id: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TInteger, import("@sinclair/typebox").TNull]>>;
|
|
428
419
|
/** Derived types only — the view's aggregate columns, classified on read. */
|
|
429
420
|
measure_columns: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
|
|
430
421
|
/**
|
|
431
|
-
*
|
|
432
|
-
*
|
|
433
|
-
*
|
|
434
|
-
* built-in Table/Board/Gallery. Same shape as resolve_path's tab payload.
|
|
422
|
+
* Retired with view templates: always empty. Type views resolve client-side
|
|
423
|
+
* from `manage_views`; the field stays so older clients keep rendering the
|
|
424
|
+
* built-in Table/Board/Gallery switcher. Removed in the owletto follow-up.
|
|
435
425
|
*/
|
|
436
426
|
view_templates: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
|
437
427
|
tab_name: import("@sinclair/typebox").TString;
|
|
@@ -164,14 +164,12 @@ exports.EntityTypeRowSchema = typebox_1.Type.Object({
|
|
|
164
164
|
created_at: typebox_1.Type.Union([typebox_1.Type.String(), typebox_1.Type.Unknown()]),
|
|
165
165
|
updated_at: typebox_1.Type.Union([typebox_1.Type.String(), typebox_1.Type.Unknown()]),
|
|
166
166
|
entity_count: typebox_1.Type.Optional(typebox_1.Type.Integer()),
|
|
167
|
-
current_view_template_version_id: typebox_1.Type.Optional(typebox_1.Type.Union([typebox_1.Type.Integer(), typebox_1.Type.Null()])),
|
|
168
167
|
/** Derived types only — the view's aggregate columns, classified on read. */
|
|
169
168
|
measure_columns: typebox_1.Type.Optional(typebox_1.Type.Array(typebox_1.Type.String())),
|
|
170
169
|
/**
|
|
171
|
-
*
|
|
172
|
-
*
|
|
173
|
-
*
|
|
174
|
-
* built-in Table/Board/Gallery. Same shape as resolve_path's tab payload.
|
|
170
|
+
* Retired with view templates: always empty. Type views resolve client-side
|
|
171
|
+
* from `manage_views`; the field stays so older clients keep rendering the
|
|
172
|
+
* built-in Table/Board/Gallery switcher. Removed in the owletto follow-up.
|
|
175
173
|
*/
|
|
176
174
|
view_templates: typebox_1.Type.Optional(typebox_1.Type.Array(exports.ViewTemplateTabSchema)),
|
|
177
175
|
});
|
|
@@ -58,6 +58,10 @@ export declare const TriggerFeedAction: import("@sinclair/typebox").TObject<{
|
|
|
58
58
|
feed_id: import("@sinclair/typebox").TNumber;
|
|
59
59
|
dry_run: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
60
60
|
}>;
|
|
61
|
+
export declare const RecollectFeedAction: import("@sinclair/typebox").TObject<{
|
|
62
|
+
action: import("@sinclair/typebox").TLiteral<"recollect_feed">;
|
|
63
|
+
feed_id: import("@sinclair/typebox").TNumber;
|
|
64
|
+
}>;
|
|
61
65
|
/**
|
|
62
66
|
* Result of `manage_feeds` — discriminated union (on `action`, plus an error
|
|
63
67
|
* variant). TypeBox-first: `Static<>` derives the TS type from the same schema
|
|
@@ -119,6 +123,9 @@ export declare const ManageFeedsResultSchema: import("@sinclair/typebox").TUnion
|
|
|
119
123
|
run_id: import("@sinclair/typebox").TInteger;
|
|
120
124
|
feed_id: import("@sinclair/typebox").TInteger;
|
|
121
125
|
dry_run: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
126
|
+
}>, import("@sinclair/typebox").TObject<{
|
|
127
|
+
action: import("@sinclair/typebox").TLiteral<"recollect_feed">;
|
|
128
|
+
feed_id: import("@sinclair/typebox").TInteger;
|
|
122
129
|
}>, import("@sinclair/typebox").TObject<{
|
|
123
130
|
action: import("@sinclair/typebox").TLiteral<"trigger_feed">;
|
|
124
131
|
triggered: import("@sinclair/typebox").TLiteral<false>;
|
|
@@ -177,6 +184,9 @@ export declare const ManageFeedsSchema: import("@sinclair/typebox").TUnion<[impo
|
|
|
177
184
|
action: import("@sinclair/typebox").TLiteral<"trigger_feed">;
|
|
178
185
|
feed_id: import("@sinclair/typebox").TNumber;
|
|
179
186
|
dry_run: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
187
|
+
}>, import("@sinclair/typebox").TObject<{
|
|
188
|
+
action: import("@sinclair/typebox").TLiteral<"recollect_feed">;
|
|
189
|
+
feed_id: import("@sinclair/typebox").TNumber;
|
|
180
190
|
}>]>;
|
|
181
191
|
export type ManageFeedsArgs = Static<typeof ManageFeedsSchema>;
|
|
182
192
|
export type FeedListInput = ActionInput<ManageFeedsArgs, "list_feeds">;
|
|
@@ -186,4 +196,5 @@ export type FeedCreateInput = ActionInput<ManageFeedsArgs, "create_feed">;
|
|
|
186
196
|
export type FeedUpdateInput = ActionInput<ManageFeedsArgs, "update_feed">;
|
|
187
197
|
export type FeedDeleteInput = ActionInput<ManageFeedsArgs, "delete_feed">;
|
|
188
198
|
export type FeedTriggerInput = ActionInput<ManageFeedsArgs, "trigger_feed">;
|
|
199
|
+
export type FeedRecollectInput = ActionInput<ManageFeedsArgs, "recollect_feed">;
|
|
189
200
|
//# sourceMappingURL=manage-feeds.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ManageFeedsSchema = exports.ManageFeedsResultSchema = exports.TriggerFeedAction = exports.DeleteFeedAction = exports.UpdateFeedAction = exports.CreateFeedAction = exports.ReadFeedsAction = exports.ReadFeedAction = exports.ListFeedsAction = void 0;
|
|
3
|
+
exports.ManageFeedsSchema = exports.ManageFeedsResultSchema = exports.RecollectFeedAction = exports.TriggerFeedAction = exports.DeleteFeedAction = exports.UpdateFeedAction = exports.CreateFeedAction = exports.ReadFeedsAction = exports.ReadFeedAction = exports.ListFeedsAction = void 0;
|
|
4
4
|
const typebox_1 = require("@sinclair/typebox");
|
|
5
5
|
const pagination_1 = require("./pagination");
|
|
6
6
|
// ============================================
|
|
@@ -133,6 +133,12 @@ exports.TriggerFeedAction = typebox_1.Type.Object({
|
|
|
133
133
|
default: false,
|
|
134
134
|
})),
|
|
135
135
|
});
|
|
136
|
+
exports.RecollectFeedAction = typebox_1.Type.Object({
|
|
137
|
+
action: typebox_1.Type.Literal("recollect_feed", {
|
|
138
|
+
description: "Clear a feed's sync cursor so its next sync re-collects from scratch. Already-collected events are kept and re-collected items dedupe on origin_id; the feed's status, schedule and failure state are unchanged, and what was already acknowledged back to the source (source_ack) is preserved. Refused while the feed has an active sync run. Does not start a sync — call trigger_feed or wait for the schedule.",
|
|
139
|
+
}),
|
|
140
|
+
feed_id: typebox_1.Type.Number({ description: "Feed ID to re-collect" }),
|
|
141
|
+
});
|
|
136
142
|
// ============================================
|
|
137
143
|
// Result Types
|
|
138
144
|
// ============================================
|
|
@@ -204,6 +210,10 @@ exports.ManageFeedsResultSchema = typebox_1.Type.Union([
|
|
|
204
210
|
// the flag and persisting anyway is the one failure mode that matters here.
|
|
205
211
|
dry_run: typebox_1.Type.Optional(typebox_1.Type.Boolean()),
|
|
206
212
|
}),
|
|
213
|
+
typebox_1.Type.Object({
|
|
214
|
+
action: typebox_1.Type.Literal("recollect_feed"),
|
|
215
|
+
feed_id: typebox_1.Type.Integer(),
|
|
216
|
+
}),
|
|
207
217
|
// Nothing was queued. `triggered` discriminates this from the success
|
|
208
218
|
// variant above: the skip used to carry only `message`, so a caller that
|
|
209
219
|
// queued no run was shape-indistinguishable from one that did, and no run
|
|
@@ -224,5 +234,6 @@ exports.ManageFeedsSchema = typebox_1.Type.Union([
|
|
|
224
234
|
exports.UpdateFeedAction,
|
|
225
235
|
exports.DeleteFeedAction,
|
|
226
236
|
exports.TriggerFeedAction,
|
|
237
|
+
exports.RecollectFeedAction,
|
|
227
238
|
]);
|
|
228
239
|
//# sourceMappingURL=manage-feeds.js.map
|
|
@@ -149,12 +149,30 @@ export declare const RejectBatchAction: import("@sinclair/typebox").TObject<{
|
|
|
149
149
|
run_ids: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TInteger>>;
|
|
150
150
|
reason: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
151
151
|
}>;
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
152
|
+
export declare const NotificationDeliverySchema: import("@sinclair/typebox").TObject<{
|
|
153
|
+
outcome: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"queued">, import("@sinclair/typebox").TLiteral<"dispatched">, import("@sinclair/typebox").TLiteral<"provider_accepted">, import("@sinclair/typebox").TLiteral<"delivered">, import("@sinclair/typebox").TLiteral<"failed">]>, import("@sinclair/typebox").TLiteral<"no_target">, import("@sinclair/typebox").TLiteral<"partial">]>;
|
|
154
|
+
event_id: import("@sinclair/typebox").TInteger;
|
|
155
|
+
automation_id: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TInteger, import("@sinclair/typebox").TNull]>;
|
|
156
|
+
run_id: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TInteger, import("@sinclair/typebox").TNull]>;
|
|
157
|
+
targets: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
|
158
|
+
connection_id: import("@sinclair/typebox").TString;
|
|
159
|
+
channel: import("@sinclair/typebox").TString;
|
|
160
|
+
platform: import("@sinclair/typebox").TString;
|
|
161
|
+
attempts: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
|
162
|
+
attempt: import("@sinclair/typebox").TInteger;
|
|
163
|
+
idempotency_key: import("@sinclair/typebox").TString;
|
|
164
|
+
status: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"queued">, import("@sinclair/typebox").TLiteral<"dispatched">, import("@sinclair/typebox").TLiteral<"provider_accepted">, import("@sinclair/typebox").TLiteral<"delivered">, import("@sinclair/typebox").TLiteral<"failed">]>;
|
|
165
|
+
observed_at: import("@sinclair/typebox").TString;
|
|
166
|
+
provider_timestamp: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
167
|
+
provider_message_id: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
168
|
+
error: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
|
|
169
|
+
code: import("@sinclair/typebox").TString;
|
|
170
|
+
retryable: import("@sinclair/typebox").TBoolean;
|
|
171
|
+
}>, import("@sinclair/typebox").TNull]>;
|
|
172
|
+
}>>;
|
|
173
|
+
}>>;
|
|
174
|
+
}>;
|
|
175
|
+
export type NotificationDelivery = Static<typeof NotificationDeliverySchema>;
|
|
158
176
|
export declare const ManageOperationsResultSchema: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
|
|
159
177
|
error: import("@sinclair/typebox").TString;
|
|
160
178
|
}>, import("@sinclair/typebox").TObject<{
|
|
@@ -214,6 +232,29 @@ export declare const ManageOperationsResultSchema: import("@sinclair/typebox").T
|
|
|
214
232
|
href: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
215
233
|
unread: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
216
234
|
notification_id: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TInteger>;
|
|
235
|
+
delivery: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
236
|
+
outcome: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"queued">, import("@sinclair/typebox").TLiteral<"dispatched">, import("@sinclair/typebox").TLiteral<"provider_accepted">, import("@sinclair/typebox").TLiteral<"delivered">, import("@sinclair/typebox").TLiteral<"failed">]>, import("@sinclair/typebox").TLiteral<"no_target">, import("@sinclair/typebox").TLiteral<"partial">]>;
|
|
237
|
+
event_id: import("@sinclair/typebox").TInteger;
|
|
238
|
+
automation_id: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TInteger, import("@sinclair/typebox").TNull]>;
|
|
239
|
+
run_id: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TInteger, import("@sinclair/typebox").TNull]>;
|
|
240
|
+
targets: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
|
241
|
+
connection_id: import("@sinclair/typebox").TString;
|
|
242
|
+
channel: import("@sinclair/typebox").TString;
|
|
243
|
+
platform: import("@sinclair/typebox").TString;
|
|
244
|
+
attempts: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
|
245
|
+
attempt: import("@sinclair/typebox").TInteger;
|
|
246
|
+
idempotency_key: import("@sinclair/typebox").TString;
|
|
247
|
+
status: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"queued">, import("@sinclair/typebox").TLiteral<"dispatched">, import("@sinclair/typebox").TLiteral<"provider_accepted">, import("@sinclair/typebox").TLiteral<"delivered">, import("@sinclair/typebox").TLiteral<"failed">]>;
|
|
248
|
+
observed_at: import("@sinclair/typebox").TString;
|
|
249
|
+
provider_timestamp: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
250
|
+
provider_message_id: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
251
|
+
error: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
|
|
252
|
+
code: import("@sinclair/typebox").TString;
|
|
253
|
+
retryable: import("@sinclair/typebox").TBoolean;
|
|
254
|
+
}>, import("@sinclair/typebox").TNull]>;
|
|
255
|
+
}>>;
|
|
256
|
+
}>>;
|
|
257
|
+
}>>;
|
|
217
258
|
browser_url: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
218
259
|
browser_handoff: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
219
260
|
run_id: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TInteger, import("@sinclair/typebox").TNull]>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ManageOperationsSchema = exports.ManageOperationsResultSchema = exports.RejectBatchAction = exports.ApproveBatchAction = exports.ApprovalBatchScope = exports.RejectAction = exports.ApproveAction = exports.ListActivityAction = exports.GetRunAction = exports.ListRunsAction = exports.LIST_RUNS_DEFAULT_EXCLUDED_RUN_TYPES = exports.ExecuteAction = exports.ListAvailableAction = exports.KindLiteral = exports.BackendLiteral = void 0;
|
|
3
|
+
exports.ManageOperationsSchema = exports.ManageOperationsResultSchema = exports.NotificationDeliverySchema = exports.RejectBatchAction = exports.ApproveBatchAction = exports.ApprovalBatchScope = exports.RejectAction = exports.ApproveAction = exports.ListActivityAction = exports.GetRunAction = exports.ListRunsAction = exports.LIST_RUNS_DEFAULT_EXCLUDED_RUN_TYPES = exports.ExecuteAction = exports.ListAvailableAction = exports.KindLiteral = exports.BackendLiteral = void 0;
|
|
4
4
|
const typebox_1 = require("@sinclair/typebox");
|
|
5
5
|
const pagination_1 = require("./pagination");
|
|
6
6
|
// manage_operations is flattened to one MCP object, so duplicate properties
|
|
@@ -240,6 +240,40 @@ exports.RejectBatchAction = typebox_1.Type.Object({
|
|
|
240
240
|
* the same schema exposed as the tool's `outputSchema`. Operation/run rows are
|
|
241
241
|
* wide snapshots, so they're honestly `Record<string, unknown>`.
|
|
242
242
|
*/
|
|
243
|
+
const DeliveryStatusSchema = typebox_1.Type.Union([
|
|
244
|
+
typebox_1.Type.Literal("queued"),
|
|
245
|
+
typebox_1.Type.Literal("dispatched"),
|
|
246
|
+
typebox_1.Type.Literal("provider_accepted"),
|
|
247
|
+
typebox_1.Type.Literal("delivered"),
|
|
248
|
+
typebox_1.Type.Literal("failed"),
|
|
249
|
+
]);
|
|
250
|
+
exports.NotificationDeliverySchema = typebox_1.Type.Object({
|
|
251
|
+
outcome: typebox_1.Type.Union([
|
|
252
|
+
DeliveryStatusSchema,
|
|
253
|
+
typebox_1.Type.Literal("no_target"),
|
|
254
|
+
typebox_1.Type.Literal("partial"),
|
|
255
|
+
]),
|
|
256
|
+
event_id: typebox_1.Type.Integer(),
|
|
257
|
+
automation_id: typebox_1.Type.Union([typebox_1.Type.Integer(), typebox_1.Type.Null()]),
|
|
258
|
+
run_id: typebox_1.Type.Union([typebox_1.Type.Integer(), typebox_1.Type.Null()]),
|
|
259
|
+
targets: typebox_1.Type.Array(typebox_1.Type.Object({
|
|
260
|
+
connection_id: typebox_1.Type.String(),
|
|
261
|
+
channel: typebox_1.Type.String(),
|
|
262
|
+
platform: typebox_1.Type.String(),
|
|
263
|
+
attempts: typebox_1.Type.Array(typebox_1.Type.Object({
|
|
264
|
+
attempt: typebox_1.Type.Integer(),
|
|
265
|
+
idempotency_key: typebox_1.Type.String(),
|
|
266
|
+
status: DeliveryStatusSchema,
|
|
267
|
+
observed_at: typebox_1.Type.String(),
|
|
268
|
+
provider_timestamp: typebox_1.Type.Union([typebox_1.Type.String(), typebox_1.Type.Null()]),
|
|
269
|
+
provider_message_id: typebox_1.Type.Union([typebox_1.Type.String(), typebox_1.Type.Null()]),
|
|
270
|
+
error: typebox_1.Type.Union([
|
|
271
|
+
typebox_1.Type.Object({ code: typebox_1.Type.String(), retryable: typebox_1.Type.Boolean() }),
|
|
272
|
+
typebox_1.Type.Null(),
|
|
273
|
+
]),
|
|
274
|
+
})),
|
|
275
|
+
})),
|
|
276
|
+
});
|
|
243
277
|
exports.ManageOperationsResultSchema = typebox_1.Type.Union([
|
|
244
278
|
typebox_1.Type.Object({ error: typebox_1.Type.String() }),
|
|
245
279
|
typebox_1.Type.Object({
|
|
@@ -315,6 +349,7 @@ exports.ManageOperationsResultSchema = typebox_1.Type.Union([
|
|
|
315
349
|
href: typebox_1.Type.Union([typebox_1.Type.String(), typebox_1.Type.Null()]),
|
|
316
350
|
unread: typebox_1.Type.Optional(typebox_1.Type.Boolean()),
|
|
317
351
|
notification_id: typebox_1.Type.Optional(typebox_1.Type.Integer()),
|
|
352
|
+
delivery: typebox_1.Type.Optional(exports.NotificationDeliverySchema),
|
|
318
353
|
browser_url: typebox_1.Type.Optional(typebox_1.Type.String()),
|
|
319
354
|
browser_handoff: typebox_1.Type.Optional(typebox_1.Type.Object({
|
|
320
355
|
run_id: typebox_1.Type.Union([typebox_1.Type.Integer(), typebox_1.Type.Null()]),
|