@deliverd/sdk 0.8.1 → 0.9.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.
Files changed (63) hide show
  1. package/README.md +92 -0
  2. package/dist/adapters/ai-sdk.d.ts +48 -0
  3. package/dist/adapters/ai-sdk.d.ts.map +1 -0
  4. package/dist/adapters/ai-sdk.js +12 -0
  5. package/dist/adapters/claude-agent-sdk.d.ts +55 -0
  6. package/dist/adapters/claude-agent-sdk.d.ts.map +1 -0
  7. package/dist/adapters/claude-agent-sdk.js +24 -0
  8. package/dist/adapters/index.d.ts +19 -0
  9. package/dist/adapters/index.d.ts.map +1 -0
  10. package/dist/adapters/index.js +13 -0
  11. package/dist/adapters/langgraph.d.ts +145 -0
  12. package/dist/adapters/langgraph.d.ts.map +1 -0
  13. package/dist/adapters/langgraph.js +69 -0
  14. package/dist/adapters/openai-agents.d.ts +68 -0
  15. package/dist/adapters/openai-agents.d.ts.map +1 -0
  16. package/dist/adapters/openai-agents.js +55 -0
  17. package/dist/adapters/shared.d.ts +91 -0
  18. package/dist/adapters/shared.d.ts.map +1 -0
  19. package/dist/adapters/shared.js +98 -0
  20. package/dist/approvals.d.ts +15 -1
  21. package/dist/approvals.d.ts.map +1 -1
  22. package/dist/approvals.js +19 -1
  23. package/dist/collections.d.ts +8 -0
  24. package/dist/collections.d.ts.map +1 -1
  25. package/dist/collections.js +11 -1
  26. package/dist/dev.d.ts +6 -0
  27. package/dist/dev.d.ts.map +1 -1
  28. package/dist/dev.js +11 -0
  29. package/dist/gates.d.ts.map +1 -1
  30. package/dist/gates.js +1 -0
  31. package/dist/index.d.ts +1 -1
  32. package/dist/index.d.ts.map +1 -1
  33. package/dist/index.js +1 -1
  34. package/dist/messages.d.ts.map +1 -1
  35. package/dist/messages.js +84 -5
  36. package/dist/released.d.ts +1 -1
  37. package/dist/released.d.ts.map +1 -1
  38. package/dist/released.js +864 -0
  39. package/dist/reviews.d.ts +8 -0
  40. package/dist/reviews.d.ts.map +1 -1
  41. package/dist/reviews.js +11 -1
  42. package/dist/types.d.ts +73 -1
  43. package/dist/types.d.ts.map +1 -1
  44. package/dist/webhooks.d.ts +15 -1
  45. package/dist/webhooks.d.ts.map +1 -1
  46. package/dist/webhooks.js +13 -0
  47. package/package.json +5 -1
  48. package/src/adapters/ai-sdk.ts +59 -0
  49. package/src/adapters/claude-agent-sdk.ts +90 -0
  50. package/src/adapters/index.ts +23 -0
  51. package/src/adapters/langgraph.ts +202 -0
  52. package/src/adapters/openai-agents.ts +112 -0
  53. package/src/adapters/shared.ts +179 -0
  54. package/src/approvals.ts +21 -1
  55. package/src/collections.ts +12 -1
  56. package/src/dev.ts +19 -0
  57. package/src/gates.ts +1 -0
  58. package/src/index.ts +1 -0
  59. package/src/messages.ts +84 -5
  60. package/src/released.ts +865 -0
  61. package/src/reviews.ts +12 -1
  62. package/src/types.ts +84 -1
  63. package/src/webhooks.ts +20 -1
package/src/released.ts CHANGED
@@ -56,6 +56,8 @@ export const PUBLISHED_TO_NPM = [
56
56
  "0.7.0",
57
57
  "0.7.1",
58
58
  "0.8.0",
59
+ "0.8.1",
60
+ "0.8.2",
59
61
  ] as const;
60
62
 
61
63
  /**
@@ -81,6 +83,21 @@ export const FROZEN: Record<string, string> = {
81
83
  "0.7.1": "da25740012f88b6a29cc963d8b354ab6b123c5e2e599c200dc546df351d84d25",
82
84
  // The gate release: 395 items, 32 more than 0.7.1 and nothing removed.
83
85
  "0.8.0": "823add1135c7a4b5a9245e3019c28d95c6010071f6c38bed0fa27b37f7def4ec",
86
+ /*
87
+ * Identical to 0.8.0's, the way 0.7.1's is identical to 0.7.0's — and this
88
+ * time the two tarballs were downloaded from npm and diffed rather than
89
+ * reasoned about. They differ in `released.ts` and in the version field of
90
+ * `package.json`: 0.8.1 is the ledger recording 0.8.0, published. No
91
+ * behaviour and no surface moved, which is why the digest repeats.
92
+ */
93
+ "0.8.1": "823add1135c7a4b5a9245e3019c28d95c6010071f6c38bed0fa27b37f7def4ec",
94
+ /*
95
+ * The third in a row, and for the plainest reason yet: 0.8.2 changed what
96
+ * ten errors *say* and added no export, which is exactly what the digest
97
+ * is computed over. 395 items, the same 395. The changelog is where a
98
+ * reader finds out anything moved at all.
99
+ */
100
+ "0.8.2": "823add1135c7a4b5a9245e3019c28d95c6010071f6c38bed0fa27b37f7def4ec",
84
101
  };
85
102
 
86
103
  export const RELEASED: Record<string, readonly string[]> = {
@@ -1655,4 +1672,852 @@ export const RELEASED: Record<string, readonly string[]> = {
1655
1672
  "event:schedule.due",
1656
1673
  "verifySignature",
1657
1674
  ],
1675
+
1676
+ /*
1677
+ * Opened because 0.8.1 is now on npm and the working version may never be
1678
+ * one the registry has served. A copy of 0.8.1's surface, which is a copy of
1679
+ * 0.8.0's: nothing has been added since the gate landed. The moment
1680
+ * something is, "numbers an addition as a minor" refuses this number and the
1681
+ * version becomes 0.9.0.
1682
+ */
1683
+ "0.8.2": [
1684
+ "Approval",
1685
+ "ApprovalData.approvalsSoFar",
1686
+ "ApprovalData.approvers",
1687
+ "ApprovalData.createdAt",
1688
+ "ApprovalData.decidedAt",
1689
+ "ApprovalData.decidedBy",
1690
+ "ApprovalData.decidedById",
1691
+ "ApprovalData.description",
1692
+ "ApprovalData.expiresAt",
1693
+ "ApprovalData.externalId",
1694
+ "ApprovalData.factors",
1695
+ "ApprovalData.id",
1696
+ "ApprovalData.links",
1697
+ "ApprovalData.metadata",
1698
+ "ApprovalData.note",
1699
+ "ApprovalData.questions",
1700
+ "ApprovalData.reportId",
1701
+ "ApprovalData.requestedBy",
1702
+ "ApprovalData.requiredApprovals",
1703
+ "ApprovalData.risk",
1704
+ "ApprovalData.status",
1705
+ "ApprovalData.title",
1706
+ "ApprovalData.url",
1707
+ "ApprovalFactor.detail",
1708
+ "ApprovalFactor.label",
1709
+ "ApprovalFactor.status",
1710
+ "ApprovalLink.label",
1711
+ "ApprovalLink.url",
1712
+ "ApprovalQuestion.answer",
1713
+ "ApprovalQuestion.answeredAt",
1714
+ "ApprovalQuestion.askedAt",
1715
+ "ApprovalQuestion.id",
1716
+ "ApprovalQuestion.question",
1717
+ "Approvals",
1718
+ "ApproveOptions",
1719
+ "ClientOptions",
1720
+ "CollectOptions",
1721
+ "CollectWaitOptions",
1722
+ "CollectedAnswers.answers",
1723
+ "CollectedAnswers.collection",
1724
+ "CollectedAnswers.complete",
1725
+ "CollectedAnswers.id",
1726
+ "CollectedAnswers.responses",
1727
+ "CollectedAnswers.status",
1728
+ "CollectedAnswers.url",
1729
+ "Collection",
1730
+ "CollectionData.askedCount",
1731
+ "CollectionData.createdAt",
1732
+ "CollectionData.dueAt",
1733
+ "CollectionData.expiresAt",
1734
+ "CollectionData.externalId",
1735
+ "CollectionData.id",
1736
+ "CollectionData.instructions",
1737
+ "CollectionData.metadata",
1738
+ "CollectionData.questions",
1739
+ "CollectionData.reportId",
1740
+ "CollectionData.requestedBy",
1741
+ "CollectionData.requiredResponses",
1742
+ "CollectionData.responses",
1743
+ "CollectionData.settledAt",
1744
+ "CollectionData.status",
1745
+ "CollectionData.submittedCount",
1746
+ "CollectionData.title",
1747
+ "CollectionData.url",
1748
+ "CollectionQuestion.help",
1749
+ "CollectionQuestion.id",
1750
+ "CollectionQuestion.kind",
1751
+ "CollectionQuestion.options",
1752
+ "CollectionQuestion.prompt",
1753
+ "CollectionQuestion.required",
1754
+ "CollectionReply.answers",
1755
+ "CollectionReply.respondent",
1756
+ "CollectionReply.status",
1757
+ "CollectionReply.submittedAt",
1758
+ "Collections",
1759
+ "CommentThread.messages",
1760
+ "CommentThread.quote",
1761
+ "CommentThread.status",
1762
+ "CommentThread.threadId",
1763
+ "Comments",
1764
+ "CreateApprovalInput.approvers",
1765
+ "CreateApprovalInput.description",
1766
+ "CreateApprovalInput.expiresAt",
1767
+ "CreateApprovalInput.externalId",
1768
+ "CreateApprovalInput.factors",
1769
+ "CreateApprovalInput.flowId",
1770
+ "CreateApprovalInput.links",
1771
+ "CreateApprovalInput.metadata",
1772
+ "CreateApprovalInput.reportId",
1773
+ "CreateApprovalInput.risk",
1774
+ "CreateApprovalInput.title",
1775
+ "CreateCollectionInput.dueAt",
1776
+ "CreateCollectionInput.expiresAt",
1777
+ "CreateCollectionInput.externalId",
1778
+ "CreateCollectionInput.flowId",
1779
+ "CreateCollectionInput.instructions",
1780
+ "CreateCollectionInput.metadata",
1781
+ "CreateCollectionInput.questions",
1782
+ "CreateCollectionInput.reportId",
1783
+ "CreateCollectionInput.requiredResponses",
1784
+ "CreateCollectionInput.respondents",
1785
+ "CreateCollectionInput.title",
1786
+ "CreateFlowInput.description",
1787
+ "CreateFlowInput.externalId",
1788
+ "CreateFlowInput.metadata",
1789
+ "CreateFlowInput.title",
1790
+ "CreateFlowInput.workspaceId",
1791
+ "CreateGateInput.actionId",
1792
+ "CreateGateInput.environment",
1793
+ "CreateGateInput.externalId",
1794
+ "CreateGateInput.flowId",
1795
+ "CreateGateInput.input",
1796
+ "CreateGateInput.reason",
1797
+ "CreateReviewInput.expiresAt",
1798
+ "CreateReviewInput.externalId",
1799
+ "CreateReviewInput.flowId",
1800
+ "CreateReviewInput.instructions",
1801
+ "CreateReviewInput.metadata",
1802
+ "CreateReviewInput.reportId",
1803
+ "CreateReviewInput.requiredApprovals",
1804
+ "CreateReviewInput.reviewers",
1805
+ "CreateReviewInput.title",
1806
+ "CreateReviewInput.versionId",
1807
+ "DEFAULT_BASE_URL",
1808
+ "DEFAULT_EXPIRY",
1809
+ "DELIVERY_HEADER",
1810
+ "Decision.approval",
1811
+ "Decision.approved",
1812
+ "Decision.decidedAt",
1813
+ "Decision.decidedBy",
1814
+ "Decision.decidedById",
1815
+ "Decision.id",
1816
+ "Decision.note",
1817
+ "Decision.status",
1818
+ "Decision.url",
1819
+ "Deliverd",
1820
+ "DeliverdError",
1821
+ "DeliverdOptions",
1822
+ "DeliverdTimeoutError",
1823
+ "Duration",
1824
+ "EVENT_HEADER",
1825
+ "EvidenceEvent.actor",
1826
+ "EvidenceEvent.actorType",
1827
+ "EvidenceEvent.at",
1828
+ "EvidenceEvent.event",
1829
+ "EvidenceEvent.metadata",
1830
+ "EvidenceEvent.step",
1831
+ "EvidenceOutcome.at",
1832
+ "EvidenceOutcome.note",
1833
+ "EvidenceOutcome.said",
1834
+ "EvidenceOutcome.who",
1835
+ "EvidencePack.generatedAt",
1836
+ "EvidencePack.generatedBy",
1837
+ "EvidencePack.integrity",
1838
+ "EvidencePack.organisation",
1839
+ "EvidencePack.packVersion",
1840
+ "EvidencePack.steps",
1841
+ "EvidencePack.subject",
1842
+ "EvidencePack.summary",
1843
+ "EvidencePack.timeline",
1844
+ "EvidenceStep.asked",
1845
+ "EvidenceStep.createdAt",
1846
+ "EvidenceStep.detail",
1847
+ "EvidenceStep.id",
1848
+ "EvidenceStep.kind",
1849
+ "EvidenceStep.outcomes",
1850
+ "EvidenceStep.requestedBy",
1851
+ "EvidenceStep.requestedByAgent",
1852
+ "EvidenceStep.settledAt",
1853
+ "EvidenceStep.status",
1854
+ "EvidenceStep.title",
1855
+ "EvidenceStep.url",
1856
+ "Flow",
1857
+ "FlowData.allSettled",
1858
+ "FlowData.createdAt",
1859
+ "FlowData.description",
1860
+ "FlowData.externalId",
1861
+ "FlowData.id",
1862
+ "FlowData.memberCount",
1863
+ "FlowData.members",
1864
+ "FlowData.metadata",
1865
+ "FlowData.openCount",
1866
+ "FlowData.settledAt",
1867
+ "FlowData.startedBy",
1868
+ "FlowData.status",
1869
+ "FlowData.timeline",
1870
+ "FlowData.title",
1871
+ "FlowData.url",
1872
+ "FlowEvent.actor",
1873
+ "FlowEvent.actorType",
1874
+ "FlowEvent.at",
1875
+ "FlowEvent.event",
1876
+ "FlowEvent.resourceId",
1877
+ "FlowEvent.resourceType",
1878
+ "FlowMember.createdAt",
1879
+ "FlowMember.id",
1880
+ "FlowMember.kind",
1881
+ "FlowMember.open",
1882
+ "FlowMember.status",
1883
+ "FlowMember.title",
1884
+ "FlowPrimitives",
1885
+ "Flows",
1886
+ "Gate",
1887
+ "GateData.allowed",
1888
+ "GateData.approvalId",
1889
+ "GateData.approvalUrl",
1890
+ "GateData.basis",
1891
+ "GateData.id",
1892
+ "GateData.input",
1893
+ "GateData.outcome",
1894
+ "GateData.policyVersionId",
1895
+ "GateData.reason",
1896
+ "GateData.reused",
1897
+ "GateData.rule",
1898
+ "GateData.settledAt",
1899
+ "GateData.status",
1900
+ "GateDecision.allowed",
1901
+ "GateDecision.approvalUrl",
1902
+ "GateDecision.gate",
1903
+ "GateDecision.id",
1904
+ "GateDecision.input",
1905
+ "GateDecision.reason",
1906
+ "GateDecision.rule",
1907
+ "GateDecision.status",
1908
+ "GateOptions",
1909
+ "GateWaitOptions",
1910
+ "Gates",
1911
+ "InlineFile.content",
1912
+ "InlineFile.encoding",
1913
+ "InlineFile.path",
1914
+ "ListApprovalsInput.cursor",
1915
+ "ListApprovalsInput.externalId",
1916
+ "ListApprovalsInput.limit",
1917
+ "ListApprovalsInput.status",
1918
+ "ListCollectionsInput.cursor",
1919
+ "ListCollectionsInput.externalId",
1920
+ "ListCollectionsInput.limit",
1921
+ "ListCollectionsInput.status",
1922
+ "ListFlowsInput.cursor",
1923
+ "ListFlowsInput.externalId",
1924
+ "ListFlowsInput.limit",
1925
+ "ListFlowsInput.status",
1926
+ "ListReviewsInput.cursor",
1927
+ "ListReviewsInput.externalId",
1928
+ "ListReviewsInput.limit",
1929
+ "ListReviewsInput.reportId",
1930
+ "ListReviewsInput.status",
1931
+ "OpenThread.author",
1932
+ "OpenThread.authorType",
1933
+ "OpenThread.lastActivityAt",
1934
+ "OpenThread.messages",
1935
+ "OpenThread.quote",
1936
+ "OpenThread.reportId",
1937
+ "OpenThread.reportOwnerId",
1938
+ "OpenThread.reportSlug",
1939
+ "OpenThread.reportTitle",
1940
+ "OpenThread.threadId",
1941
+ "OrgAnalytics.activeReports",
1942
+ "OrgAnalytics.days",
1943
+ "OrgAnalytics.externallySharedReports",
1944
+ "OrgAnalytics.inactiveReports",
1945
+ "OrgAnalytics.publicReports",
1946
+ "OrgAnalytics.publishesInPeriod",
1947
+ "OrgAnalytics.topReports",
1948
+ "OrgAnalytics.totalViews",
1949
+ "OrgAnalytics.uniqueViewers",
1950
+ "POLL_SCHEDULE",
1951
+ "PublishReportInput.audience",
1952
+ "PublishReportInput.changeSummary",
1953
+ "PublishReportInput.classification",
1954
+ "PublishReportInput.content",
1955
+ "PublishReportInput.description",
1956
+ "PublishReportInput.expectedVersion",
1957
+ "PublishReportInput.files",
1958
+ "PublishReportInput.living",
1959
+ "PublishReportInput.slug",
1960
+ "PublishReportInput.sourceModel",
1961
+ "PublishReportInput.sourceTool",
1962
+ "PublishReportInput.title",
1963
+ "PublishReportInput.uploadId",
1964
+ "PublishReportInput.workspaceId",
1965
+ "PublishResult.approval",
1966
+ "PublishResult.report",
1967
+ "PublishResult.status",
1968
+ "PublishResult.version",
1969
+ "PublishResult.warnings",
1970
+ "QuestionInput.help",
1971
+ "QuestionInput.kind",
1972
+ "QuestionInput.options",
1973
+ "QuestionInput.prompt",
1974
+ "QuestionInput.required",
1975
+ "ReportAnalytics.byDay",
1976
+ "ReportAnalytics.byVersion",
1977
+ "ReportAnalytics.externalViewers",
1978
+ "ReportAnalytics.firstViewedAt",
1979
+ "ReportAnalytics.internalViewers",
1980
+ "ReportAnalytics.lastViewedAt",
1981
+ "ReportAnalytics.recentViewers",
1982
+ "ReportAnalytics.reportId",
1983
+ "ReportAnalytics.title",
1984
+ "ReportAnalytics.totalViews",
1985
+ "ReportAnalytics.uniqueViewers",
1986
+ "ReportData.currentVersion",
1987
+ "ReportData.id",
1988
+ "ReportData.slug",
1989
+ "ReportData.status",
1990
+ "ReportData.title",
1991
+ "ReportData.url",
1992
+ "Reports",
1993
+ "Review",
1994
+ "ReviewData.createdAt",
1995
+ "ReviewData.expiresAt",
1996
+ "ReviewData.externalId",
1997
+ "ReviewData.id",
1998
+ "ReviewData.instructions",
1999
+ "ReviewData.metadata",
2000
+ "ReviewData.reportId",
2001
+ "ReviewData.requestedBy",
2002
+ "ReviewData.requiredApprovals",
2003
+ "ReviewData.reviewers",
2004
+ "ReviewData.settledAt",
2005
+ "ReviewData.status",
2006
+ "ReviewData.threadCount",
2007
+ "ReviewData.title",
2008
+ "ReviewData.url",
2009
+ "ReviewData.verdicts",
2010
+ "ReviewData.versionId",
2011
+ "ReviewOptions",
2012
+ "ReviewOutcome.approved",
2013
+ "ReviewOutcome.id",
2014
+ "ReviewOutcome.review",
2015
+ "ReviewOutcome.status",
2016
+ "ReviewOutcome.threadCount",
2017
+ "ReviewOutcome.url",
2018
+ "ReviewOutcome.verdicts",
2019
+ "ReviewVerdict.at",
2020
+ "ReviewVerdict.by",
2021
+ "ReviewVerdict.note",
2022
+ "ReviewVerdict.verdict",
2023
+ "ReviewWaitOptions",
2024
+ "ReviewerRef.id",
2025
+ "ReviewerRef.kind",
2026
+ "ReviewerRef.label",
2027
+ "Reviews",
2028
+ "SIGNATURE_HEADER",
2029
+ "ScheduleSummary.agentId",
2030
+ "ScheduleSummary.agentName",
2031
+ "ScheduleSummary.currentVersion",
2032
+ "ScheduleSummary.due",
2033
+ "ScheduleSummary.dueSince",
2034
+ "ScheduleSummary.enabled",
2035
+ "ScheduleSummary.id",
2036
+ "ScheduleSummary.lastRunAt",
2037
+ "ScheduleSummary.nextRunAt",
2038
+ "ScheduleSummary.recurrence",
2039
+ "ScheduleSummary.reportId",
2040
+ "ScheduleSummary.reportSlug",
2041
+ "ScheduleSummary.reportTitle",
2042
+ "ScheduleSummary.reportUrl",
2043
+ "Schedules",
2044
+ "SendResult.alreadyHadAccess",
2045
+ "SendResult.sent",
2046
+ "TOLERANCE_SECONDS",
2047
+ "WaitOptions",
2048
+ "WebhookEvent.data",
2049
+ "WebhookEvent.event",
2050
+ "WebhookEvent.sentAt",
2051
+ "WebhookEvent.test",
2052
+ "Webhooks",
2053
+ "constructEvent",
2054
+ "deliverd",
2055
+ "durationMs",
2056
+ "event:access.requested",
2057
+ "event:approval.answered",
2058
+ "event:approval.approved",
2059
+ "event:approval.escalated",
2060
+ "event:approval.expired",
2061
+ "event:approval.question",
2062
+ "event:approval.rejected",
2063
+ "event:approval.requested",
2064
+ "event:collection.completed",
2065
+ "event:collection.requested",
2066
+ "event:comment.created",
2067
+ "event:flow.completed",
2068
+ "event:gate.denied",
2069
+ "event:publish.held",
2070
+ "event:report.published",
2071
+ "event:report.shared",
2072
+ "event:report.updated",
2073
+ "event:report.viewed",
2074
+ "event:review.approved",
2075
+ "event:review.changes_requested",
2076
+ "event:review.requested",
2077
+ "event:schedule.due",
2078
+ "verifySignature",
2079
+ ],
2080
+ "0.9.0": [
2081
+ "adapters:ClaudeToolApprovalOptions",
2082
+ "adapters:GraphApprovalRecord",
2083
+ "ApprovalData.approvedInput",
2084
+ "ApprovalData.changes",
2085
+ "ApprovalData.editableFields",
2086
+ "ApprovalData.input",
2087
+ "CreateApprovalInput.editableFields",
2088
+ "CreateApprovalInput.input",
2089
+ "Decision.changes",
2090
+ "Decision.input",
2091
+ "FieldChange.field",
2092
+ "FieldChange.from",
2093
+ "FieldChange.to",
2094
+ "GateData.changes",
2095
+ "GateDecision.changes",
2096
+ "adapters:AiSdkApprovalCall",
2097
+ "adapters:AiSdkApprovalStatus",
2098
+ "adapters:Approver",
2099
+ "adapters:CallDescription",
2100
+ "adapters:CallOutcome",
2101
+ "adapters:ClaudeCanUseTool",
2102
+ "adapters:ClaudeCanUseToolContext",
2103
+ "adapters:ClaudePermissionResult",
2104
+ "adapters:DEFAULT_TOOL_EXPIRY",
2105
+ "adapters:DeliverdInterruptValue",
2106
+ "adapters:GraphApprover",
2107
+ "adapters:GraphDecision",
2108
+ "adapters:OpenAiApprovalItem",
2109
+ "adapters:OpenAiInterruptedResult",
2110
+ "adapters:ToolApprovalOptions",
2111
+ "adapters:approveInGraph",
2112
+ "adapters:defaultDescription",
2113
+ "adapters:deliverdCanUseTool",
2114
+ "adapters:deliverdToolApproval",
2115
+ "adapters:resolveInterruptions",
2116
+ "adapters:resumeFromCallback",
2117
+ "adapters:runWithDeliverdApprovals",
2118
+ "Approval",
2119
+ "ApprovalData.approvalsSoFar",
2120
+ "ApprovalData.approvers",
2121
+ "ApprovalData.createdAt",
2122
+ "ApprovalData.decidedAt",
2123
+ "ApprovalData.decidedBy",
2124
+ "ApprovalData.decidedById",
2125
+ "ApprovalData.description",
2126
+ "ApprovalData.expiresAt",
2127
+ "ApprovalData.externalId",
2128
+ "ApprovalData.factors",
2129
+ "ApprovalData.id",
2130
+ "ApprovalData.links",
2131
+ "ApprovalData.metadata",
2132
+ "ApprovalData.note",
2133
+ "ApprovalData.questions",
2134
+ "ApprovalData.reportId",
2135
+ "ApprovalData.requestedBy",
2136
+ "ApprovalData.requiredApprovals",
2137
+ "ApprovalData.risk",
2138
+ "ApprovalData.status",
2139
+ "ApprovalData.title",
2140
+ "ApprovalData.url",
2141
+ "ApprovalFactor.detail",
2142
+ "ApprovalFactor.label",
2143
+ "ApprovalFactor.status",
2144
+ "ApprovalLink.label",
2145
+ "ApprovalLink.url",
2146
+ "ApprovalQuestion.answer",
2147
+ "ApprovalQuestion.answeredAt",
2148
+ "ApprovalQuestion.askedAt",
2149
+ "ApprovalQuestion.id",
2150
+ "ApprovalQuestion.question",
2151
+ "Approvals",
2152
+ "ApproveOptions",
2153
+ "CallbackEnvelope.data",
2154
+ "CallbackEnvelope.event",
2155
+ "CallbackEnvelope.requestId",
2156
+ "CallbackEnvelope.requestType",
2157
+ "CallbackEnvelope.sentAt",
2158
+ "ClientOptions",
2159
+ "CollectOptions",
2160
+ "CollectWaitOptions",
2161
+ "CollectedAnswers.answers",
2162
+ "CollectedAnswers.collection",
2163
+ "CollectedAnswers.complete",
2164
+ "CollectedAnswers.id",
2165
+ "CollectedAnswers.responses",
2166
+ "CollectedAnswers.status",
2167
+ "CollectedAnswers.url",
2168
+ "Collection",
2169
+ "CollectionData.askedCount",
2170
+ "CollectionData.createdAt",
2171
+ "CollectionData.dueAt",
2172
+ "CollectionData.expiresAt",
2173
+ "CollectionData.externalId",
2174
+ "CollectionData.id",
2175
+ "CollectionData.instructions",
2176
+ "CollectionData.metadata",
2177
+ "CollectionData.questions",
2178
+ "CollectionData.reportId",
2179
+ "CollectionData.requestedBy",
2180
+ "CollectionData.requiredResponses",
2181
+ "CollectionData.responses",
2182
+ "CollectionData.settledAt",
2183
+ "CollectionData.status",
2184
+ "CollectionData.submittedCount",
2185
+ "CollectionData.title",
2186
+ "CollectionData.url",
2187
+ "CollectionQuestion.help",
2188
+ "CollectionQuestion.id",
2189
+ "CollectionQuestion.kind",
2190
+ "CollectionQuestion.options",
2191
+ "CollectionQuestion.prompt",
2192
+ "CollectionQuestion.required",
2193
+ "CollectionReply.answers",
2194
+ "CollectionReply.respondent",
2195
+ "CollectionReply.status",
2196
+ "CollectionReply.submittedAt",
2197
+ "Collections",
2198
+ "CommentThread.messages",
2199
+ "CommentThread.quote",
2200
+ "CommentThread.status",
2201
+ "CommentThread.threadId",
2202
+ "Comments",
2203
+ "CreateApprovalInput.approvers",
2204
+ "CreateApprovalInput.callbackUrl",
2205
+ "CreateApprovalInput.description",
2206
+ "CreateApprovalInput.expiresAt",
2207
+ "CreateApprovalInput.externalId",
2208
+ "CreateApprovalInput.factors",
2209
+ "CreateApprovalInput.flowId",
2210
+ "CreateApprovalInput.links",
2211
+ "CreateApprovalInput.metadata",
2212
+ "CreateApprovalInput.reportId",
2213
+ "CreateApprovalInput.risk",
2214
+ "CreateApprovalInput.title",
2215
+ "CreateCollectionInput.callbackUrl",
2216
+ "CreateCollectionInput.dueAt",
2217
+ "CreateCollectionInput.expiresAt",
2218
+ "CreateCollectionInput.externalId",
2219
+ "CreateCollectionInput.flowId",
2220
+ "CreateCollectionInput.instructions",
2221
+ "CreateCollectionInput.metadata",
2222
+ "CreateCollectionInput.questions",
2223
+ "CreateCollectionInput.reportId",
2224
+ "CreateCollectionInput.requiredResponses",
2225
+ "CreateCollectionInput.respondents",
2226
+ "CreateCollectionInput.title",
2227
+ "CreateFlowInput.description",
2228
+ "CreateFlowInput.externalId",
2229
+ "CreateFlowInput.metadata",
2230
+ "CreateFlowInput.title",
2231
+ "CreateFlowInput.workspaceId",
2232
+ "CreateGateInput.actionId",
2233
+ "CreateGateInput.environment",
2234
+ "CreateGateInput.externalId",
2235
+ "CreateGateInput.flowId",
2236
+ "CreateGateInput.input",
2237
+ "CreateGateInput.reason",
2238
+ "CreateReviewInput.callbackUrl",
2239
+ "CreateReviewInput.expiresAt",
2240
+ "CreateReviewInput.externalId",
2241
+ "CreateReviewInput.flowId",
2242
+ "CreateReviewInput.instructions",
2243
+ "CreateReviewInput.metadata",
2244
+ "CreateReviewInput.reportId",
2245
+ "CreateReviewInput.requiredApprovals",
2246
+ "CreateReviewInput.reviewers",
2247
+ "CreateReviewInput.title",
2248
+ "CreateReviewInput.versionId",
2249
+ "DEFAULT_BASE_URL",
2250
+ "DEFAULT_EXPIRY",
2251
+ "DELIVERY_HEADER",
2252
+ "Decision.approval",
2253
+ "Decision.approved",
2254
+ "Decision.decidedAt",
2255
+ "Decision.decidedBy",
2256
+ "Decision.decidedById",
2257
+ "Decision.id",
2258
+ "Decision.note",
2259
+ "Decision.status",
2260
+ "Decision.url",
2261
+ "Deliverd",
2262
+ "DeliverdError",
2263
+ "DeliverdOptions",
2264
+ "DeliverdTimeoutError",
2265
+ "Duration",
2266
+ "EVENT_HEADER",
2267
+ "EvidenceEvent.actor",
2268
+ "EvidenceEvent.actorType",
2269
+ "EvidenceEvent.at",
2270
+ "EvidenceEvent.event",
2271
+ "EvidenceEvent.metadata",
2272
+ "EvidenceEvent.step",
2273
+ "EvidenceOutcome.at",
2274
+ "EvidenceOutcome.note",
2275
+ "EvidenceOutcome.said",
2276
+ "EvidenceOutcome.who",
2277
+ "EvidencePack.generatedAt",
2278
+ "EvidencePack.generatedBy",
2279
+ "EvidencePack.integrity",
2280
+ "EvidencePack.organisation",
2281
+ "EvidencePack.packVersion",
2282
+ "EvidencePack.steps",
2283
+ "EvidencePack.subject",
2284
+ "EvidencePack.summary",
2285
+ "EvidencePack.timeline",
2286
+ "EvidenceStep.asked",
2287
+ "EvidenceStep.createdAt",
2288
+ "EvidenceStep.detail",
2289
+ "EvidenceStep.id",
2290
+ "EvidenceStep.kind",
2291
+ "EvidenceStep.outcomes",
2292
+ "EvidenceStep.requestedBy",
2293
+ "EvidenceStep.requestedByAgent",
2294
+ "EvidenceStep.settledAt",
2295
+ "EvidenceStep.status",
2296
+ "EvidenceStep.title",
2297
+ "EvidenceStep.url",
2298
+ "Flow",
2299
+ "FlowData.allSettled",
2300
+ "FlowData.createdAt",
2301
+ "FlowData.description",
2302
+ "FlowData.externalId",
2303
+ "FlowData.id",
2304
+ "FlowData.memberCount",
2305
+ "FlowData.members",
2306
+ "FlowData.metadata",
2307
+ "FlowData.openCount",
2308
+ "FlowData.settledAt",
2309
+ "FlowData.startedBy",
2310
+ "FlowData.status",
2311
+ "FlowData.timeline",
2312
+ "FlowData.title",
2313
+ "FlowData.url",
2314
+ "FlowEvent.actor",
2315
+ "FlowEvent.actorType",
2316
+ "FlowEvent.at",
2317
+ "FlowEvent.event",
2318
+ "FlowEvent.resourceId",
2319
+ "FlowEvent.resourceType",
2320
+ "FlowMember.createdAt",
2321
+ "FlowMember.id",
2322
+ "FlowMember.kind",
2323
+ "FlowMember.open",
2324
+ "FlowMember.status",
2325
+ "FlowMember.title",
2326
+ "FlowPrimitives",
2327
+ "Flows",
2328
+ "Gate",
2329
+ "GateData.allowed",
2330
+ "GateData.approvalId",
2331
+ "GateData.approvalUrl",
2332
+ "GateData.basis",
2333
+ "GateData.id",
2334
+ "GateData.input",
2335
+ "GateData.outcome",
2336
+ "GateData.policyVersionId",
2337
+ "GateData.reason",
2338
+ "GateData.reused",
2339
+ "GateData.rule",
2340
+ "GateData.settledAt",
2341
+ "GateData.status",
2342
+ "GateDecision.allowed",
2343
+ "GateDecision.approvalUrl",
2344
+ "GateDecision.gate",
2345
+ "GateDecision.id",
2346
+ "GateDecision.input",
2347
+ "GateDecision.reason",
2348
+ "GateDecision.rule",
2349
+ "GateDecision.status",
2350
+ "GateOptions",
2351
+ "GateWaitOptions",
2352
+ "Gates",
2353
+ "InlineFile.content",
2354
+ "InlineFile.encoding",
2355
+ "InlineFile.path",
2356
+ "ListApprovalsInput.cursor",
2357
+ "ListApprovalsInput.externalId",
2358
+ "ListApprovalsInput.limit",
2359
+ "ListApprovalsInput.status",
2360
+ "ListCollectionsInput.cursor",
2361
+ "ListCollectionsInput.externalId",
2362
+ "ListCollectionsInput.limit",
2363
+ "ListCollectionsInput.status",
2364
+ "ListFlowsInput.cursor",
2365
+ "ListFlowsInput.externalId",
2366
+ "ListFlowsInput.limit",
2367
+ "ListFlowsInput.status",
2368
+ "ListReviewsInput.cursor",
2369
+ "ListReviewsInput.externalId",
2370
+ "ListReviewsInput.limit",
2371
+ "ListReviewsInput.reportId",
2372
+ "ListReviewsInput.status",
2373
+ "OpenThread.author",
2374
+ "OpenThread.authorType",
2375
+ "OpenThread.lastActivityAt",
2376
+ "OpenThread.messages",
2377
+ "OpenThread.quote",
2378
+ "OpenThread.reportId",
2379
+ "OpenThread.reportOwnerId",
2380
+ "OpenThread.reportSlug",
2381
+ "OpenThread.reportTitle",
2382
+ "OpenThread.threadId",
2383
+ "OrgAnalytics.activeReports",
2384
+ "OrgAnalytics.days",
2385
+ "OrgAnalytics.externallySharedReports",
2386
+ "OrgAnalytics.inactiveReports",
2387
+ "OrgAnalytics.publicReports",
2388
+ "OrgAnalytics.publishesInPeriod",
2389
+ "OrgAnalytics.topReports",
2390
+ "OrgAnalytics.totalViews",
2391
+ "OrgAnalytics.uniqueViewers",
2392
+ "POLL_SCHEDULE",
2393
+ "PublishReportInput.audience",
2394
+ "PublishReportInput.changeSummary",
2395
+ "PublishReportInput.classification",
2396
+ "PublishReportInput.content",
2397
+ "PublishReportInput.description",
2398
+ "PublishReportInput.expectedVersion",
2399
+ "PublishReportInput.files",
2400
+ "PublishReportInput.living",
2401
+ "PublishReportInput.slug",
2402
+ "PublishReportInput.sourceModel",
2403
+ "PublishReportInput.sourceTool",
2404
+ "PublishReportInput.title",
2405
+ "PublishReportInput.uploadId",
2406
+ "PublishReportInput.workspaceId",
2407
+ "PublishResult.approval",
2408
+ "PublishResult.report",
2409
+ "PublishResult.status",
2410
+ "PublishResult.version",
2411
+ "PublishResult.warnings",
2412
+ "QuestionInput.help",
2413
+ "QuestionInput.kind",
2414
+ "QuestionInput.options",
2415
+ "QuestionInput.prompt",
2416
+ "QuestionInput.required",
2417
+ "ReportAnalytics.byDay",
2418
+ "ReportAnalytics.byVersion",
2419
+ "ReportAnalytics.externalViewers",
2420
+ "ReportAnalytics.firstViewedAt",
2421
+ "ReportAnalytics.internalViewers",
2422
+ "ReportAnalytics.lastViewedAt",
2423
+ "ReportAnalytics.recentViewers",
2424
+ "ReportAnalytics.reportId",
2425
+ "ReportAnalytics.title",
2426
+ "ReportAnalytics.totalViews",
2427
+ "ReportAnalytics.uniqueViewers",
2428
+ "ReportData.currentVersion",
2429
+ "ReportData.id",
2430
+ "ReportData.slug",
2431
+ "ReportData.status",
2432
+ "ReportData.title",
2433
+ "ReportData.url",
2434
+ "Reports",
2435
+ "Review",
2436
+ "ReviewData.createdAt",
2437
+ "ReviewData.expiresAt",
2438
+ "ReviewData.externalId",
2439
+ "ReviewData.id",
2440
+ "ReviewData.instructions",
2441
+ "ReviewData.metadata",
2442
+ "ReviewData.reportId",
2443
+ "ReviewData.requestedBy",
2444
+ "ReviewData.requiredApprovals",
2445
+ "ReviewData.reviewers",
2446
+ "ReviewData.settledAt",
2447
+ "ReviewData.status",
2448
+ "ReviewData.threadCount",
2449
+ "ReviewData.title",
2450
+ "ReviewData.url",
2451
+ "ReviewData.verdicts",
2452
+ "ReviewData.versionId",
2453
+ "ReviewOptions",
2454
+ "ReviewOutcome.approved",
2455
+ "ReviewOutcome.id",
2456
+ "ReviewOutcome.review",
2457
+ "ReviewOutcome.status",
2458
+ "ReviewOutcome.threadCount",
2459
+ "ReviewOutcome.url",
2460
+ "ReviewOutcome.verdicts",
2461
+ "ReviewVerdict.at",
2462
+ "ReviewVerdict.by",
2463
+ "ReviewVerdict.note",
2464
+ "ReviewVerdict.verdict",
2465
+ "ReviewWaitOptions",
2466
+ "ReviewerRef.id",
2467
+ "ReviewerRef.kind",
2468
+ "ReviewerRef.label",
2469
+ "Reviews",
2470
+ "SIGNATURE_HEADER",
2471
+ "ScheduleSummary.agentId",
2472
+ "ScheduleSummary.agentName",
2473
+ "ScheduleSummary.currentVersion",
2474
+ "ScheduleSummary.due",
2475
+ "ScheduleSummary.dueSince",
2476
+ "ScheduleSummary.enabled",
2477
+ "ScheduleSummary.id",
2478
+ "ScheduleSummary.lastRunAt",
2479
+ "ScheduleSummary.nextRunAt",
2480
+ "ScheduleSummary.recurrence",
2481
+ "ScheduleSummary.reportId",
2482
+ "ScheduleSummary.reportSlug",
2483
+ "ScheduleSummary.reportTitle",
2484
+ "ScheduleSummary.reportUrl",
2485
+ "Schedules",
2486
+ "SendResult.alreadyHadAccess",
2487
+ "SendResult.sent",
2488
+ "TOLERANCE_SECONDS",
2489
+ "WaitOptions",
2490
+ "WebhookEvent.data",
2491
+ "WebhookEvent.event",
2492
+ "WebhookEvent.sentAt",
2493
+ "WebhookEvent.test",
2494
+ "Webhooks",
2495
+ "constructCallback",
2496
+ "constructEvent",
2497
+ "deliverd",
2498
+ "durationMs",
2499
+ "event:access.requested",
2500
+ "event:approval.answered",
2501
+ "event:approval.approved",
2502
+ "event:approval.escalated",
2503
+ "event:approval.expired",
2504
+ "event:approval.question",
2505
+ "event:approval.rejected",
2506
+ "event:approval.requested",
2507
+ "event:collection.completed",
2508
+ "event:collection.requested",
2509
+ "event:comment.created",
2510
+ "event:flow.completed",
2511
+ "event:gate.denied",
2512
+ "event:publish.held",
2513
+ "event:report.published",
2514
+ "event:report.shared",
2515
+ "event:report.updated",
2516
+ "event:report.viewed",
2517
+ "event:review.approved",
2518
+ "event:review.changes_requested",
2519
+ "event:review.requested",
2520
+ "event:schedule.due",
2521
+ "verifySignature",
2522
+ ],
1658
2523
  };