@lessly/sdk-app 50.0.0 → 50.1.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/analytics/index.d.cts +1 -1
- package/dist/analytics/index.d.ts +1 -1
- package/dist/brain/index.d.cts +1 -1
- package/dist/brain/index.d.ts +1 -1
- package/dist/{client.gen-Dw0AIIZi.d.cts → client.gen-xvJrhIVe.d.cts} +4182 -1
- package/dist/{client.gen-Dw0AIIZi.d.ts → client.gen-xvJrhIVe.d.ts} +4182 -1
- package/dist/consent/index.d.cts +1 -1
- package/dist/consent/index.d.ts +1 -1
- package/dist/content/index.cjs +161 -0
- package/dist/content/index.cjs.map +1 -0
- package/dist/content/index.d.cts +128 -0
- package/dist/content/index.d.ts +128 -0
- package/dist/content/index.js +129 -0
- package/dist/content/index.js.map +1 -0
- package/dist/deployment/index.d.cts +1 -1
- package/dist/deployment/index.d.ts +1 -1
- package/dist/index.cjs +529 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +529 -0
- package/dist/index.js.map +1 -1
- package/dist/mail/index.d.cts +2 -2
- package/dist/mail/index.d.ts +2 -2
- package/dist/observe/index.d.cts +1 -1
- package/dist/observe/index.d.ts +1 -1
- package/dist/organization/index.d.cts +1 -1
- package/dist/organization/index.d.ts +1 -1
- package/dist/realtime/index.d.cts +1 -1
- package/dist/realtime/index.d.ts +1 -1
- package/dist/support/index.d.cts +1 -1
- package/dist/support/index.d.ts +1 -1
- package/dist/tracking/index.d.cts +1 -1
- package/dist/tracking/index.d.ts +1 -1
- package/dist/users/index.d.cts +1 -1
- package/dist/users/index.d.ts +1 -1
- package/dist/waitlist/index.d.cts +1 -1
- package/dist/waitlist/index.d.ts +1 -1
- package/package.json +7 -2
- package/src/gen/bindings.gen.ts +529 -0
- package/src/gen/client.gen.ts +113 -0
- package/src/gen/content/index.ts +3 -0
- package/src/gen/content/queryOptions.gen.ts +202 -0
- package/src/gen/manifest.gen.ts +1 -1
- package/src/gen/types.gen.ts +3962 -0
package/src/gen/types.gen.ts
CHANGED
|
@@ -1501,6 +1501,3968 @@ deny_all_pct: number
|
|
|
1501
1501
|
accept_all_pct: number
|
|
1502
1502
|
}
|
|
1503
1503
|
|
|
1504
|
+
export interface ContentChannelsBindInput {
|
|
1505
|
+
/**
|
|
1506
|
+
* The channel id returned by content_channels_list.
|
|
1507
|
+
*/
|
|
1508
|
+
id: string
|
|
1509
|
+
/**
|
|
1510
|
+
* The platform connector to publish through — the id of a connector attached to this product, from the workspace connectors list. Networks with no publishing connector (instagram, LinkedIn company pages) are rejected.
|
|
1511
|
+
*/
|
|
1512
|
+
connectorId: string
|
|
1513
|
+
/**
|
|
1514
|
+
* Pass auto to make this API publish through the connector. Omit to keep the current mode: binding alone never switches a channel to automatic publishing.
|
|
1515
|
+
*/
|
|
1516
|
+
deliveryMode?: ("auto" | "reminder")
|
|
1517
|
+
}
|
|
1518
|
+
|
|
1519
|
+
export interface ContentChannelsBindOutput {
|
|
1520
|
+
/**
|
|
1521
|
+
* Channel id — pass this to content_publications_schedule.
|
|
1522
|
+
*/
|
|
1523
|
+
id: string
|
|
1524
|
+
/**
|
|
1525
|
+
* Social network: linkedin, x, youtube, instagram or reddit.
|
|
1526
|
+
*/
|
|
1527
|
+
network: string
|
|
1528
|
+
/**
|
|
1529
|
+
* ISO-8601 time the connector stopped working, or null when healthy. A paused channel keeps its scheduled publications — they are frozen, not cancelled, and dispatch once it resumes.
|
|
1530
|
+
*/
|
|
1531
|
+
pausedAt: (string | null)
|
|
1532
|
+
/**
|
|
1533
|
+
* ISO-8601 creation time.
|
|
1534
|
+
*/
|
|
1535
|
+
createdAt: string
|
|
1536
|
+
/**
|
|
1537
|
+
* ISO-8601 time of the last change.
|
|
1538
|
+
*/
|
|
1539
|
+
updatedAt: string
|
|
1540
|
+
/**
|
|
1541
|
+
* Platform connector this channel publishes through, or null for a reminder channel that needs none. An id — this toolkit never holds social credentials; a token is fetched per call and discarded.
|
|
1542
|
+
*/
|
|
1543
|
+
connectorId: (string | null)
|
|
1544
|
+
/**
|
|
1545
|
+
* Human label for the channel.
|
|
1546
|
+
*/
|
|
1547
|
+
displayName: string
|
|
1548
|
+
/**
|
|
1549
|
+
* Why it paused: revoked (access was taken away), expired (the credential ran out), or the provider reason code from a failed publish. Null when healthy.
|
|
1550
|
+
*/
|
|
1551
|
+
pauseReason: (string | null)
|
|
1552
|
+
/**
|
|
1553
|
+
* Who publishes: member (a personal account) or organization (a company page). Phase 1 channels are all member accounts.
|
|
1554
|
+
*/
|
|
1555
|
+
subjectType: ("member" | "organization")
|
|
1556
|
+
/**
|
|
1557
|
+
* What the channel accepts and what it costs: maxTextLength, maxMedia, supportsVideo, supportsLink, costPerPostUsd, costPerLinkPostUsd, dailyPostCeiling, ceilingIsRuntimeData. Read maxTextLength before writing a per-channel text variant.
|
|
1558
|
+
*/
|
|
1559
|
+
capabilities: {
|
|
1560
|
+
[k: string]: unknown
|
|
1561
|
+
}
|
|
1562
|
+
/**
|
|
1563
|
+
* How the post reaches the network: auto (this API publishes it) or reminder (the system prepares it and notifies a person, who publishes by hand). Every seeded channel is reminder.
|
|
1564
|
+
*/
|
|
1565
|
+
deliveryMode: ("auto" | "reminder")
|
|
1566
|
+
}
|
|
1567
|
+
|
|
1568
|
+
export interface ContentChannelsGetInput {
|
|
1569
|
+
/**
|
|
1570
|
+
* The channel id returned by content_channels_list.
|
|
1571
|
+
*/
|
|
1572
|
+
id: string
|
|
1573
|
+
}
|
|
1574
|
+
|
|
1575
|
+
export interface ContentChannelsGetOutput {
|
|
1576
|
+
/**
|
|
1577
|
+
* Channel id — pass this to content_publications_schedule.
|
|
1578
|
+
*/
|
|
1579
|
+
id: string
|
|
1580
|
+
/**
|
|
1581
|
+
* Social network: linkedin, x, youtube, instagram or reddit.
|
|
1582
|
+
*/
|
|
1583
|
+
network: string
|
|
1584
|
+
/**
|
|
1585
|
+
* ISO-8601 time the connector stopped working, or null when healthy. A paused channel keeps its scheduled publications — they are frozen, not cancelled, and dispatch once it resumes.
|
|
1586
|
+
*/
|
|
1587
|
+
pausedAt: (string | null)
|
|
1588
|
+
/**
|
|
1589
|
+
* ISO-8601 creation time.
|
|
1590
|
+
*/
|
|
1591
|
+
createdAt: string
|
|
1592
|
+
/**
|
|
1593
|
+
* ISO-8601 time of the last change.
|
|
1594
|
+
*/
|
|
1595
|
+
updatedAt: string
|
|
1596
|
+
/**
|
|
1597
|
+
* Platform connector this channel publishes through, or null for a reminder channel that needs none. An id — this toolkit never holds social credentials; a token is fetched per call and discarded.
|
|
1598
|
+
*/
|
|
1599
|
+
connectorId: (string | null)
|
|
1600
|
+
/**
|
|
1601
|
+
* Human label for the channel.
|
|
1602
|
+
*/
|
|
1603
|
+
displayName: string
|
|
1604
|
+
/**
|
|
1605
|
+
* Why it paused: revoked (access was taken away), expired (the credential ran out), or the provider reason code from a failed publish. Null when healthy.
|
|
1606
|
+
*/
|
|
1607
|
+
pauseReason: (string | null)
|
|
1608
|
+
/**
|
|
1609
|
+
* Who publishes: member (a personal account) or organization (a company page). Phase 1 channels are all member accounts.
|
|
1610
|
+
*/
|
|
1611
|
+
subjectType: ("member" | "organization")
|
|
1612
|
+
/**
|
|
1613
|
+
* What the channel accepts and what it costs: maxTextLength, maxMedia, supportsVideo, supportsLink, costPerPostUsd, costPerLinkPostUsd, dailyPostCeiling, ceilingIsRuntimeData. Read maxTextLength before writing a per-channel text variant.
|
|
1614
|
+
*/
|
|
1615
|
+
capabilities: {
|
|
1616
|
+
[k: string]: unknown
|
|
1617
|
+
}
|
|
1618
|
+
/**
|
|
1619
|
+
* How the post reaches the network: auto (this API publishes it) or reminder (the system prepares it and notifies a person, who publishes by hand). Every seeded channel is reminder.
|
|
1620
|
+
*/
|
|
1621
|
+
deliveryMode: ("auto" | "reminder")
|
|
1622
|
+
}
|
|
1623
|
+
|
|
1624
|
+
export interface ContentChannelsListInput {
|
|
1625
|
+
/**
|
|
1626
|
+
* Maximum number of channels to return (1-100, default 50).
|
|
1627
|
+
*/
|
|
1628
|
+
limit?: number
|
|
1629
|
+
/**
|
|
1630
|
+
* How many channels to skip, for paging.
|
|
1631
|
+
*/
|
|
1632
|
+
offset?: number
|
|
1633
|
+
/**
|
|
1634
|
+
* Return only channels on this network.
|
|
1635
|
+
*/
|
|
1636
|
+
network?: ("linkedin" | "x" | "youtube" | "instagram" | "reddit")
|
|
1637
|
+
}
|
|
1638
|
+
|
|
1639
|
+
export interface ContentChannelsListOutput {
|
|
1640
|
+
/**
|
|
1641
|
+
* Total number of matching channels, ignoring paging.
|
|
1642
|
+
*/
|
|
1643
|
+
total: number
|
|
1644
|
+
/**
|
|
1645
|
+
* The page of channels, ordered by network.
|
|
1646
|
+
*/
|
|
1647
|
+
channels: {
|
|
1648
|
+
/**
|
|
1649
|
+
* Channel id — pass this to content_publications_schedule.
|
|
1650
|
+
*/
|
|
1651
|
+
id: string
|
|
1652
|
+
/**
|
|
1653
|
+
* Social network: linkedin, x, youtube, instagram or reddit.
|
|
1654
|
+
*/
|
|
1655
|
+
network: string
|
|
1656
|
+
/**
|
|
1657
|
+
* ISO-8601 time the connector stopped working, or null when healthy. A paused channel keeps its scheduled publications — they are frozen, not cancelled, and dispatch once it resumes.
|
|
1658
|
+
*/
|
|
1659
|
+
pausedAt: (string | null)
|
|
1660
|
+
/**
|
|
1661
|
+
* ISO-8601 creation time.
|
|
1662
|
+
*/
|
|
1663
|
+
createdAt: string
|
|
1664
|
+
/**
|
|
1665
|
+
* ISO-8601 time of the last change.
|
|
1666
|
+
*/
|
|
1667
|
+
updatedAt: string
|
|
1668
|
+
/**
|
|
1669
|
+
* Platform connector this channel publishes through, or null for a reminder channel that needs none. An id — this toolkit never holds social credentials; a token is fetched per call and discarded.
|
|
1670
|
+
*/
|
|
1671
|
+
connectorId: (string | null)
|
|
1672
|
+
/**
|
|
1673
|
+
* Human label for the channel.
|
|
1674
|
+
*/
|
|
1675
|
+
displayName: string
|
|
1676
|
+
/**
|
|
1677
|
+
* Why it paused: revoked (access was taken away), expired (the credential ran out), or the provider reason code from a failed publish. Null when healthy.
|
|
1678
|
+
*/
|
|
1679
|
+
pauseReason: (string | null)
|
|
1680
|
+
/**
|
|
1681
|
+
* Who publishes: member (a personal account) or organization (a company page). Phase 1 channels are all member accounts.
|
|
1682
|
+
*/
|
|
1683
|
+
subjectType: ("member" | "organization")
|
|
1684
|
+
/**
|
|
1685
|
+
* What the channel accepts and what it costs: maxTextLength, maxMedia, supportsVideo, supportsLink, costPerPostUsd, costPerLinkPostUsd, dailyPostCeiling, ceilingIsRuntimeData. Read maxTextLength before writing a per-channel text variant.
|
|
1686
|
+
*/
|
|
1687
|
+
capabilities: {
|
|
1688
|
+
[k: string]: unknown
|
|
1689
|
+
}
|
|
1690
|
+
/**
|
|
1691
|
+
* How the post reaches the network: auto (this API publishes it) or reminder (the system prepares it and notifies a person, who publishes by hand). Every seeded channel is reminder.
|
|
1692
|
+
*/
|
|
1693
|
+
deliveryMode: ("auto" | "reminder")
|
|
1694
|
+
}[]
|
|
1695
|
+
}
|
|
1696
|
+
|
|
1697
|
+
export interface ContentChannelsResumeInput {
|
|
1698
|
+
/**
|
|
1699
|
+
* The paused channel to resume, once its connector has been reconnected.
|
|
1700
|
+
*/
|
|
1701
|
+
id: string
|
|
1702
|
+
}
|
|
1703
|
+
|
|
1704
|
+
export interface ContentChannelsResumeOutput {
|
|
1705
|
+
/**
|
|
1706
|
+
* Channel id — pass this to content_publications_schedule.
|
|
1707
|
+
*/
|
|
1708
|
+
id: string
|
|
1709
|
+
/**
|
|
1710
|
+
* Social network: linkedin, x, youtube, instagram or reddit.
|
|
1711
|
+
*/
|
|
1712
|
+
network: string
|
|
1713
|
+
/**
|
|
1714
|
+
* ISO-8601 time the connector stopped working, or null when healthy. A paused channel keeps its scheduled publications — they are frozen, not cancelled, and dispatch once it resumes.
|
|
1715
|
+
*/
|
|
1716
|
+
pausedAt: (string | null)
|
|
1717
|
+
/**
|
|
1718
|
+
* ISO-8601 creation time.
|
|
1719
|
+
*/
|
|
1720
|
+
createdAt: string
|
|
1721
|
+
/**
|
|
1722
|
+
* ISO-8601 time of the last change.
|
|
1723
|
+
*/
|
|
1724
|
+
updatedAt: string
|
|
1725
|
+
/**
|
|
1726
|
+
* Platform connector this channel publishes through, or null for a reminder channel that needs none. An id — this toolkit never holds social credentials; a token is fetched per call and discarded.
|
|
1727
|
+
*/
|
|
1728
|
+
connectorId: (string | null)
|
|
1729
|
+
/**
|
|
1730
|
+
* Human label for the channel.
|
|
1731
|
+
*/
|
|
1732
|
+
displayName: string
|
|
1733
|
+
/**
|
|
1734
|
+
* Why it paused: revoked (access was taken away), expired (the credential ran out), or the provider reason code from a failed publish. Null when healthy.
|
|
1735
|
+
*/
|
|
1736
|
+
pauseReason: (string | null)
|
|
1737
|
+
/**
|
|
1738
|
+
* Who publishes: member (a personal account) or organization (a company page). Phase 1 channels are all member accounts.
|
|
1739
|
+
*/
|
|
1740
|
+
subjectType: ("member" | "organization")
|
|
1741
|
+
/**
|
|
1742
|
+
* What the channel accepts and what it costs: maxTextLength, maxMedia, supportsVideo, supportsLink, costPerPostUsd, costPerLinkPostUsd, dailyPostCeiling, ceilingIsRuntimeData. Read maxTextLength before writing a per-channel text variant.
|
|
1743
|
+
*/
|
|
1744
|
+
capabilities: {
|
|
1745
|
+
[k: string]: unknown
|
|
1746
|
+
}
|
|
1747
|
+
/**
|
|
1748
|
+
* How the post reaches the network: auto (this API publishes it) or reminder (the system prepares it and notifies a person, who publishes by hand). Every seeded channel is reminder.
|
|
1749
|
+
*/
|
|
1750
|
+
deliveryMode: ("auto" | "reminder")
|
|
1751
|
+
}
|
|
1752
|
+
|
|
1753
|
+
export interface ContentChannelsUnbindInput {
|
|
1754
|
+
/**
|
|
1755
|
+
* The channel id returned by content_channels_list.
|
|
1756
|
+
*/
|
|
1757
|
+
id: string
|
|
1758
|
+
}
|
|
1759
|
+
|
|
1760
|
+
export interface ContentChannelsUnbindOutput {
|
|
1761
|
+
/**
|
|
1762
|
+
* Channel id — pass this to content_publications_schedule.
|
|
1763
|
+
*/
|
|
1764
|
+
id: string
|
|
1765
|
+
/**
|
|
1766
|
+
* Social network: linkedin, x, youtube, instagram or reddit.
|
|
1767
|
+
*/
|
|
1768
|
+
network: string
|
|
1769
|
+
/**
|
|
1770
|
+
* ISO-8601 time the connector stopped working, or null when healthy. A paused channel keeps its scheduled publications — they are frozen, not cancelled, and dispatch once it resumes.
|
|
1771
|
+
*/
|
|
1772
|
+
pausedAt: (string | null)
|
|
1773
|
+
/**
|
|
1774
|
+
* ISO-8601 creation time.
|
|
1775
|
+
*/
|
|
1776
|
+
createdAt: string
|
|
1777
|
+
/**
|
|
1778
|
+
* ISO-8601 time of the last change.
|
|
1779
|
+
*/
|
|
1780
|
+
updatedAt: string
|
|
1781
|
+
/**
|
|
1782
|
+
* Platform connector this channel publishes through, or null for a reminder channel that needs none. An id — this toolkit never holds social credentials; a token is fetched per call and discarded.
|
|
1783
|
+
*/
|
|
1784
|
+
connectorId: (string | null)
|
|
1785
|
+
/**
|
|
1786
|
+
* Human label for the channel.
|
|
1787
|
+
*/
|
|
1788
|
+
displayName: string
|
|
1789
|
+
/**
|
|
1790
|
+
* Why it paused: revoked (access was taken away), expired (the credential ran out), or the provider reason code from a failed publish. Null when healthy.
|
|
1791
|
+
*/
|
|
1792
|
+
pauseReason: (string | null)
|
|
1793
|
+
/**
|
|
1794
|
+
* Who publishes: member (a personal account) or organization (a company page). Phase 1 channels are all member accounts.
|
|
1795
|
+
*/
|
|
1796
|
+
subjectType: ("member" | "organization")
|
|
1797
|
+
/**
|
|
1798
|
+
* What the channel accepts and what it costs: maxTextLength, maxMedia, supportsVideo, supportsLink, costPerPostUsd, costPerLinkPostUsd, dailyPostCeiling, ceilingIsRuntimeData. Read maxTextLength before writing a per-channel text variant.
|
|
1799
|
+
*/
|
|
1800
|
+
capabilities: {
|
|
1801
|
+
[k: string]: unknown
|
|
1802
|
+
}
|
|
1803
|
+
/**
|
|
1804
|
+
* How the post reaches the network: auto (this API publishes it) or reminder (the system prepares it and notifies a person, who publishes by hand). Every seeded channel is reminder.
|
|
1805
|
+
*/
|
|
1806
|
+
deliveryMode: ("auto" | "reminder")
|
|
1807
|
+
}
|
|
1808
|
+
|
|
1809
|
+
export interface ContentChannelsUpdateInput {
|
|
1810
|
+
/**
|
|
1811
|
+
* The channel id returned by content_channels_list.
|
|
1812
|
+
*/
|
|
1813
|
+
id: string
|
|
1814
|
+
/**
|
|
1815
|
+
* New human label for the channel. Omit to keep the current one.
|
|
1816
|
+
*/
|
|
1817
|
+
displayName?: string
|
|
1818
|
+
/**
|
|
1819
|
+
* Override individual capability fields — a known ceiling beats the hand-filled constant. Merges over the existing descriptor; fields you omit keep their current values.
|
|
1820
|
+
*/
|
|
1821
|
+
capabilities?: {
|
|
1822
|
+
[k: string]: unknown
|
|
1823
|
+
}
|
|
1824
|
+
/**
|
|
1825
|
+
* Change how the post reaches the network. Only reminder can be scheduled in this release — no publishing adapter exists yet.
|
|
1826
|
+
*/
|
|
1827
|
+
deliveryMode?: ("auto" | "reminder")
|
|
1828
|
+
}
|
|
1829
|
+
|
|
1830
|
+
export interface ContentChannelsUpdateOutput {
|
|
1831
|
+
/**
|
|
1832
|
+
* Channel id — pass this to content_publications_schedule.
|
|
1833
|
+
*/
|
|
1834
|
+
id: string
|
|
1835
|
+
/**
|
|
1836
|
+
* Social network: linkedin, x, youtube, instagram or reddit.
|
|
1837
|
+
*/
|
|
1838
|
+
network: string
|
|
1839
|
+
/**
|
|
1840
|
+
* ISO-8601 time the connector stopped working, or null when healthy. A paused channel keeps its scheduled publications — they are frozen, not cancelled, and dispatch once it resumes.
|
|
1841
|
+
*/
|
|
1842
|
+
pausedAt: (string | null)
|
|
1843
|
+
/**
|
|
1844
|
+
* ISO-8601 creation time.
|
|
1845
|
+
*/
|
|
1846
|
+
createdAt: string
|
|
1847
|
+
/**
|
|
1848
|
+
* ISO-8601 time of the last change.
|
|
1849
|
+
*/
|
|
1850
|
+
updatedAt: string
|
|
1851
|
+
/**
|
|
1852
|
+
* Platform connector this channel publishes through, or null for a reminder channel that needs none. An id — this toolkit never holds social credentials; a token is fetched per call and discarded.
|
|
1853
|
+
*/
|
|
1854
|
+
connectorId: (string | null)
|
|
1855
|
+
/**
|
|
1856
|
+
* Human label for the channel.
|
|
1857
|
+
*/
|
|
1858
|
+
displayName: string
|
|
1859
|
+
/**
|
|
1860
|
+
* Why it paused: revoked (access was taken away), expired (the credential ran out), or the provider reason code from a failed publish. Null when healthy.
|
|
1861
|
+
*/
|
|
1862
|
+
pauseReason: (string | null)
|
|
1863
|
+
/**
|
|
1864
|
+
* Who publishes: member (a personal account) or organization (a company page). Phase 1 channels are all member accounts.
|
|
1865
|
+
*/
|
|
1866
|
+
subjectType: ("member" | "organization")
|
|
1867
|
+
/**
|
|
1868
|
+
* What the channel accepts and what it costs: maxTextLength, maxMedia, supportsVideo, supportsLink, costPerPostUsd, costPerLinkPostUsd, dailyPostCeiling, ceilingIsRuntimeData. Read maxTextLength before writing a per-channel text variant.
|
|
1869
|
+
*/
|
|
1870
|
+
capabilities: {
|
|
1871
|
+
[k: string]: unknown
|
|
1872
|
+
}
|
|
1873
|
+
/**
|
|
1874
|
+
* How the post reaches the network: auto (this API publishes it) or reminder (the system prepares it and notifies a person, who publishes by hand). Every seeded channel is reminder.
|
|
1875
|
+
*/
|
|
1876
|
+
deliveryMode: ("auto" | "reminder")
|
|
1877
|
+
}
|
|
1878
|
+
|
|
1879
|
+
export interface ContentMediaCreateUploadUrlInput {
|
|
1880
|
+
/**
|
|
1881
|
+
* Name to store the file under, for display purposes.
|
|
1882
|
+
*/
|
|
1883
|
+
filename?: string
|
|
1884
|
+
/**
|
|
1885
|
+
* The media type the app will PUT, e.g. video/mp4. Must be image/* or video/*.
|
|
1886
|
+
*/
|
|
1887
|
+
contentType: string
|
|
1888
|
+
}
|
|
1889
|
+
|
|
1890
|
+
export interface ContentMediaCreateUploadUrlOutput {
|
|
1891
|
+
/**
|
|
1892
|
+
* The pending asset row. It turns ready on finalize.
|
|
1893
|
+
*/
|
|
1894
|
+
asset: {
|
|
1895
|
+
/**
|
|
1896
|
+
* Media asset id. Use it to attach the asset to a post.
|
|
1897
|
+
*/
|
|
1898
|
+
id: string
|
|
1899
|
+
/**
|
|
1900
|
+
* Object key in the product bucket. Private — hand it to no one, it is not a URL.
|
|
1901
|
+
*/
|
|
1902
|
+
key: string
|
|
1903
|
+
/**
|
|
1904
|
+
* Stored media type, or null while still pending.
|
|
1905
|
+
*/
|
|
1906
|
+
mime: (string | null)
|
|
1907
|
+
/**
|
|
1908
|
+
* Why the asset is failed — a readable reason, or null when nothing went wrong.
|
|
1909
|
+
*/
|
|
1910
|
+
error: (string | null)
|
|
1911
|
+
/**
|
|
1912
|
+
* How the bytes arrived: url (fetched by the toolkit) or upload (PUT by the app).
|
|
1913
|
+
*/
|
|
1914
|
+
source: ("url" | "upload")
|
|
1915
|
+
/**
|
|
1916
|
+
* Storage status: pending (the bytes are not in the bucket yet) -> ready (stored, attachable to a post) or failed (ingestion gave up; see error).
|
|
1917
|
+
*/
|
|
1918
|
+
status: ("pending" | "ready" | "failed")
|
|
1919
|
+
/**
|
|
1920
|
+
* Original filename, kept for display only.
|
|
1921
|
+
*/
|
|
1922
|
+
filename: (string | null)
|
|
1923
|
+
/**
|
|
1924
|
+
* ISO-8601 creation time.
|
|
1925
|
+
*/
|
|
1926
|
+
createdAt: string
|
|
1927
|
+
/**
|
|
1928
|
+
* Stored size in bytes, or null while pending.
|
|
1929
|
+
*/
|
|
1930
|
+
sizeBytes: (number | null)
|
|
1931
|
+
/**
|
|
1932
|
+
* The URL the bytes were fetched from, if any.
|
|
1933
|
+
*/
|
|
1934
|
+
sourceUrl: (string | null)
|
|
1935
|
+
/**
|
|
1936
|
+
* ISO-8601 time of the last change.
|
|
1937
|
+
*/
|
|
1938
|
+
updatedAt: string
|
|
1939
|
+
}
|
|
1940
|
+
/**
|
|
1941
|
+
* ISO-8601 time after which the upload URL stops working.
|
|
1942
|
+
*/
|
|
1943
|
+
expiresAt: string
|
|
1944
|
+
/**
|
|
1945
|
+
* Time-limited signed PUT URL. Upload the bytes to it, then call the finalize tool.
|
|
1946
|
+
*/
|
|
1947
|
+
uploadUrl: string
|
|
1948
|
+
/**
|
|
1949
|
+
* The Content-Type header the PUT must send — the signature covers it.
|
|
1950
|
+
*/
|
|
1951
|
+
contentType: string
|
|
1952
|
+
}
|
|
1953
|
+
|
|
1954
|
+
export interface ContentMediaFinalizeInput {
|
|
1955
|
+
/**
|
|
1956
|
+
* The media asset id returned when it was created.
|
|
1957
|
+
*/
|
|
1958
|
+
id: string
|
|
1959
|
+
}
|
|
1960
|
+
|
|
1961
|
+
export interface ContentMediaFinalizeOutput {
|
|
1962
|
+
/**
|
|
1963
|
+
* Media asset id. Use it to attach the asset to a post.
|
|
1964
|
+
*/
|
|
1965
|
+
id: string
|
|
1966
|
+
/**
|
|
1967
|
+
* Object key in the product bucket. Private — hand it to no one, it is not a URL.
|
|
1968
|
+
*/
|
|
1969
|
+
key: string
|
|
1970
|
+
/**
|
|
1971
|
+
* Stored media type, or null while still pending.
|
|
1972
|
+
*/
|
|
1973
|
+
mime: (string | null)
|
|
1974
|
+
/**
|
|
1975
|
+
* Why the asset is failed — a readable reason, or null when nothing went wrong.
|
|
1976
|
+
*/
|
|
1977
|
+
error: (string | null)
|
|
1978
|
+
/**
|
|
1979
|
+
* How the bytes arrived: url (fetched by the toolkit) or upload (PUT by the app).
|
|
1980
|
+
*/
|
|
1981
|
+
source: ("url" | "upload")
|
|
1982
|
+
/**
|
|
1983
|
+
* Storage status: pending (the bytes are not in the bucket yet) -> ready (stored, attachable to a post) or failed (ingestion gave up; see error).
|
|
1984
|
+
*/
|
|
1985
|
+
status: ("pending" | "ready" | "failed")
|
|
1986
|
+
/**
|
|
1987
|
+
* Original filename, kept for display only.
|
|
1988
|
+
*/
|
|
1989
|
+
filename: (string | null)
|
|
1990
|
+
/**
|
|
1991
|
+
* ISO-8601 creation time.
|
|
1992
|
+
*/
|
|
1993
|
+
createdAt: string
|
|
1994
|
+
/**
|
|
1995
|
+
* Stored size in bytes, or null while pending.
|
|
1996
|
+
*/
|
|
1997
|
+
sizeBytes: (number | null)
|
|
1998
|
+
/**
|
|
1999
|
+
* The URL the bytes were fetched from, if any.
|
|
2000
|
+
*/
|
|
2001
|
+
sourceUrl: (string | null)
|
|
2002
|
+
/**
|
|
2003
|
+
* ISO-8601 time of the last change.
|
|
2004
|
+
*/
|
|
2005
|
+
updatedAt: string
|
|
2006
|
+
}
|
|
2007
|
+
|
|
2008
|
+
export interface ContentMediaGetInput {
|
|
2009
|
+
/**
|
|
2010
|
+
* The media asset id returned when it was created.
|
|
2011
|
+
*/
|
|
2012
|
+
id: string
|
|
2013
|
+
}
|
|
2014
|
+
|
|
2015
|
+
export interface ContentMediaGetOutput {
|
|
2016
|
+
/**
|
|
2017
|
+
* Media asset id. Use it to attach the asset to a post.
|
|
2018
|
+
*/
|
|
2019
|
+
id: string
|
|
2020
|
+
/**
|
|
2021
|
+
* Object key in the product bucket. Private — hand it to no one, it is not a URL.
|
|
2022
|
+
*/
|
|
2023
|
+
key: string
|
|
2024
|
+
/**
|
|
2025
|
+
* Stored media type, or null while still pending.
|
|
2026
|
+
*/
|
|
2027
|
+
mime: (string | null)
|
|
2028
|
+
/**
|
|
2029
|
+
* Why the asset is failed — a readable reason, or null when nothing went wrong.
|
|
2030
|
+
*/
|
|
2031
|
+
error: (string | null)
|
|
2032
|
+
/**
|
|
2033
|
+
* How the bytes arrived: url (fetched by the toolkit) or upload (PUT by the app).
|
|
2034
|
+
*/
|
|
2035
|
+
source: ("url" | "upload")
|
|
2036
|
+
/**
|
|
2037
|
+
* Storage status: pending (the bytes are not in the bucket yet) -> ready (stored, attachable to a post) or failed (ingestion gave up; see error).
|
|
2038
|
+
*/
|
|
2039
|
+
status: ("pending" | "ready" | "failed")
|
|
2040
|
+
/**
|
|
2041
|
+
* Original filename, kept for display only.
|
|
2042
|
+
*/
|
|
2043
|
+
filename: (string | null)
|
|
2044
|
+
/**
|
|
2045
|
+
* ISO-8601 creation time.
|
|
2046
|
+
*/
|
|
2047
|
+
createdAt: string
|
|
2048
|
+
/**
|
|
2049
|
+
* Stored size in bytes, or null while pending.
|
|
2050
|
+
*/
|
|
2051
|
+
sizeBytes: (number | null)
|
|
2052
|
+
/**
|
|
2053
|
+
* The URL the bytes were fetched from, if any.
|
|
2054
|
+
*/
|
|
2055
|
+
sourceUrl: (string | null)
|
|
2056
|
+
/**
|
|
2057
|
+
* ISO-8601 time of the last change.
|
|
2058
|
+
*/
|
|
2059
|
+
updatedAt: string
|
|
2060
|
+
}
|
|
2061
|
+
|
|
2062
|
+
export interface ContentMediaListInput {
|
|
2063
|
+
/**
|
|
2064
|
+
* Maximum number of assets to return (1-100, default 50).
|
|
2065
|
+
*/
|
|
2066
|
+
limit?: number
|
|
2067
|
+
/**
|
|
2068
|
+
* How many assets to skip, for paging.
|
|
2069
|
+
*/
|
|
2070
|
+
offset?: number
|
|
2071
|
+
/**
|
|
2072
|
+
* Return only assets in this storage status.
|
|
2073
|
+
*/
|
|
2074
|
+
status?: ("pending" | "ready" | "failed")
|
|
2075
|
+
}
|
|
2076
|
+
|
|
2077
|
+
export interface ContentMediaListOutput {
|
|
2078
|
+
/**
|
|
2079
|
+
* Total number of matching assets, ignoring paging.
|
|
2080
|
+
*/
|
|
2081
|
+
total: number
|
|
2082
|
+
/**
|
|
2083
|
+
* The page of assets, newest first.
|
|
2084
|
+
*/
|
|
2085
|
+
assets: {
|
|
2086
|
+
/**
|
|
2087
|
+
* Media asset id. Use it to attach the asset to a post.
|
|
2088
|
+
*/
|
|
2089
|
+
id: string
|
|
2090
|
+
/**
|
|
2091
|
+
* Object key in the product bucket. Private — hand it to no one, it is not a URL.
|
|
2092
|
+
*/
|
|
2093
|
+
key: string
|
|
2094
|
+
/**
|
|
2095
|
+
* Stored media type, or null while still pending.
|
|
2096
|
+
*/
|
|
2097
|
+
mime: (string | null)
|
|
2098
|
+
/**
|
|
2099
|
+
* Why the asset is failed — a readable reason, or null when nothing went wrong.
|
|
2100
|
+
*/
|
|
2101
|
+
error: (string | null)
|
|
2102
|
+
/**
|
|
2103
|
+
* How the bytes arrived: url (fetched by the toolkit) or upload (PUT by the app).
|
|
2104
|
+
*/
|
|
2105
|
+
source: ("url" | "upload")
|
|
2106
|
+
/**
|
|
2107
|
+
* Storage status: pending (the bytes are not in the bucket yet) -> ready (stored, attachable to a post) or failed (ingestion gave up; see error).
|
|
2108
|
+
*/
|
|
2109
|
+
status: ("pending" | "ready" | "failed")
|
|
2110
|
+
/**
|
|
2111
|
+
* Original filename, kept for display only.
|
|
2112
|
+
*/
|
|
2113
|
+
filename: (string | null)
|
|
2114
|
+
/**
|
|
2115
|
+
* ISO-8601 creation time.
|
|
2116
|
+
*/
|
|
2117
|
+
createdAt: string
|
|
2118
|
+
/**
|
|
2119
|
+
* Stored size in bytes, or null while pending.
|
|
2120
|
+
*/
|
|
2121
|
+
sizeBytes: (number | null)
|
|
2122
|
+
/**
|
|
2123
|
+
* The URL the bytes were fetched from, if any.
|
|
2124
|
+
*/
|
|
2125
|
+
sourceUrl: (string | null)
|
|
2126
|
+
/**
|
|
2127
|
+
* ISO-8601 time of the last change.
|
|
2128
|
+
*/
|
|
2129
|
+
updatedAt: string
|
|
2130
|
+
}[]
|
|
2131
|
+
}
|
|
2132
|
+
|
|
2133
|
+
export interface ContentMediaUploadInput {
|
|
2134
|
+
/**
|
|
2135
|
+
* Name to store the file under. Defaults to the last path segment of the URL.
|
|
2136
|
+
*/
|
|
2137
|
+
filename?: string
|
|
2138
|
+
/**
|
|
2139
|
+
* Public http(s) URL the toolkit fetches server-side. Images and video only, up to 512 MB.
|
|
2140
|
+
*/
|
|
2141
|
+
sourceUrl: string
|
|
2142
|
+
}
|
|
2143
|
+
|
|
2144
|
+
export interface ContentMediaUploadOutput {
|
|
2145
|
+
/**
|
|
2146
|
+
* Media asset id. Use it to attach the asset to a post.
|
|
2147
|
+
*/
|
|
2148
|
+
id: string
|
|
2149
|
+
/**
|
|
2150
|
+
* Object key in the product bucket. Private — hand it to no one, it is not a URL.
|
|
2151
|
+
*/
|
|
2152
|
+
key: string
|
|
2153
|
+
/**
|
|
2154
|
+
* Stored media type, or null while still pending.
|
|
2155
|
+
*/
|
|
2156
|
+
mime: (string | null)
|
|
2157
|
+
/**
|
|
2158
|
+
* Why the asset is failed — a readable reason, or null when nothing went wrong.
|
|
2159
|
+
*/
|
|
2160
|
+
error: (string | null)
|
|
2161
|
+
/**
|
|
2162
|
+
* How the bytes arrived: url (fetched by the toolkit) or upload (PUT by the app).
|
|
2163
|
+
*/
|
|
2164
|
+
source: ("url" | "upload")
|
|
2165
|
+
/**
|
|
2166
|
+
* Storage status: pending (the bytes are not in the bucket yet) -> ready (stored, attachable to a post) or failed (ingestion gave up; see error).
|
|
2167
|
+
*/
|
|
2168
|
+
status: ("pending" | "ready" | "failed")
|
|
2169
|
+
/**
|
|
2170
|
+
* Original filename, kept for display only.
|
|
2171
|
+
*/
|
|
2172
|
+
filename: (string | null)
|
|
2173
|
+
/**
|
|
2174
|
+
* ISO-8601 creation time.
|
|
2175
|
+
*/
|
|
2176
|
+
createdAt: string
|
|
2177
|
+
/**
|
|
2178
|
+
* Stored size in bytes, or null while pending.
|
|
2179
|
+
*/
|
|
2180
|
+
sizeBytes: (number | null)
|
|
2181
|
+
/**
|
|
2182
|
+
* The URL the bytes were fetched from, if any.
|
|
2183
|
+
*/
|
|
2184
|
+
sourceUrl: (string | null)
|
|
2185
|
+
/**
|
|
2186
|
+
* ISO-8601 time of the last change.
|
|
2187
|
+
*/
|
|
2188
|
+
updatedAt: string
|
|
2189
|
+
}
|
|
2190
|
+
|
|
2191
|
+
export interface ContentMetricsChannelSeriesInput {
|
|
2192
|
+
/**
|
|
2193
|
+
* The channel id, from content_channels_list.
|
|
2194
|
+
*/
|
|
2195
|
+
id: string
|
|
2196
|
+
/**
|
|
2197
|
+
* ISO-8601 upper bound on capture time, inclusive. Omit for "up to now".
|
|
2198
|
+
*/
|
|
2199
|
+
to?: string
|
|
2200
|
+
/**
|
|
2201
|
+
* ISO-8601 lower bound on capture time, inclusive. Omit for "from the beginning".
|
|
2202
|
+
*/
|
|
2203
|
+
from?: string
|
|
2204
|
+
/**
|
|
2205
|
+
* Maximum number of snapshots to return, oldest first.
|
|
2206
|
+
*/
|
|
2207
|
+
limit?: number
|
|
2208
|
+
}
|
|
2209
|
+
|
|
2210
|
+
export interface ContentMetricsChannelSeriesOutput {
|
|
2211
|
+
/**
|
|
2212
|
+
* Daily snapshots, oldest first.
|
|
2213
|
+
*/
|
|
2214
|
+
points: {
|
|
2215
|
+
/**
|
|
2216
|
+
* The snapshot as the adapter recorded it: the availability it reported, the cross-network metric set (a null field means the network does not report it — never zero), and the raw payload.
|
|
2217
|
+
*/
|
|
2218
|
+
metrics: {
|
|
2219
|
+
[k: string]: unknown
|
|
2220
|
+
}
|
|
2221
|
+
/**
|
|
2222
|
+
* ISO-8601 time this snapshot was taken.
|
|
2223
|
+
*/
|
|
2224
|
+
capturedAt: string
|
|
2225
|
+
}[]
|
|
2226
|
+
/**
|
|
2227
|
+
* The network the channel publishes to.
|
|
2228
|
+
*/
|
|
2229
|
+
network: string
|
|
2230
|
+
/**
|
|
2231
|
+
* What this network reports for this account. "none" means no snapshot will ever be taken — a personal Instagram profile has no API at all; "basic" means fewer numbers than a business account gets, so an absent metric is the network's silence, not a zero.
|
|
2232
|
+
*/
|
|
2233
|
+
analytics: ("full" | "basic" | "none")
|
|
2234
|
+
/**
|
|
2235
|
+
* The channel these snapshots belong to.
|
|
2236
|
+
*/
|
|
2237
|
+
channelId: string
|
|
2238
|
+
}
|
|
2239
|
+
|
|
2240
|
+
export interface ContentMetricsPostSeriesInput {
|
|
2241
|
+
/**
|
|
2242
|
+
* The publication id, from content_publications_schedule or content_publications_list.
|
|
2243
|
+
*/
|
|
2244
|
+
id: string
|
|
2245
|
+
/**
|
|
2246
|
+
* ISO-8601 upper bound on capture time, inclusive. Omit for "up to now".
|
|
2247
|
+
*/
|
|
2248
|
+
to?: string
|
|
2249
|
+
/**
|
|
2250
|
+
* ISO-8601 lower bound on capture time, inclusive. Omit for "from the beginning".
|
|
2251
|
+
*/
|
|
2252
|
+
from?: string
|
|
2253
|
+
/**
|
|
2254
|
+
* Maximum number of snapshots to return, oldest first.
|
|
2255
|
+
*/
|
|
2256
|
+
limit?: number
|
|
2257
|
+
}
|
|
2258
|
+
|
|
2259
|
+
export interface ContentMetricsPostSeriesOutput {
|
|
2260
|
+
/**
|
|
2261
|
+
* Snapshots oldest first. Readings over time, not a current value: reach keeps growing for weeks. Empty means nothing has been captured yet.
|
|
2262
|
+
*/
|
|
2263
|
+
points: {
|
|
2264
|
+
/**
|
|
2265
|
+
* The snapshot as the adapter recorded it: the availability it reported, the cross-network metric set (a null field means the network does not report it — never zero), and the raw payload.
|
|
2266
|
+
*/
|
|
2267
|
+
metrics: {
|
|
2268
|
+
[k: string]: unknown
|
|
2269
|
+
}
|
|
2270
|
+
/**
|
|
2271
|
+
* ISO-8601 time this snapshot was taken.
|
|
2272
|
+
*/
|
|
2273
|
+
capturedAt: string
|
|
2274
|
+
}[]
|
|
2275
|
+
/**
|
|
2276
|
+
* The network the channel publishes to.
|
|
2277
|
+
*/
|
|
2278
|
+
network: string
|
|
2279
|
+
/**
|
|
2280
|
+
* What this network reports for this account. "none" means no snapshot will ever be taken — a personal Instagram profile has no API at all; "basic" means fewer numbers than a business account gets, so an absent metric is the network's silence, not a zero.
|
|
2281
|
+
*/
|
|
2282
|
+
analytics: ("full" | "basic" | "none")
|
|
2283
|
+
/**
|
|
2284
|
+
* The channel it was published to.
|
|
2285
|
+
*/
|
|
2286
|
+
channelId: string
|
|
2287
|
+
/**
|
|
2288
|
+
* The publication these snapshots belong to.
|
|
2289
|
+
*/
|
|
2290
|
+
publicationId: string
|
|
2291
|
+
}
|
|
2292
|
+
|
|
2293
|
+
export interface ContentPostsApproveInput {
|
|
2294
|
+
/**
|
|
2295
|
+
* The post id returned by content_posts_create.
|
|
2296
|
+
*/
|
|
2297
|
+
id: string
|
|
2298
|
+
}
|
|
2299
|
+
|
|
2300
|
+
export interface ContentPostsApproveOutput {
|
|
2301
|
+
/**
|
|
2302
|
+
* Post id.
|
|
2303
|
+
*/
|
|
2304
|
+
id: string
|
|
2305
|
+
/**
|
|
2306
|
+
* The current text of the post, in markdown.
|
|
2307
|
+
*/
|
|
2308
|
+
text: string
|
|
2309
|
+
/**
|
|
2310
|
+
* Media references attached to the current version.
|
|
2311
|
+
*/
|
|
2312
|
+
media: string[]
|
|
2313
|
+
/**
|
|
2314
|
+
* Identity id of whoever composed the post.
|
|
2315
|
+
*/
|
|
2316
|
+
author: string
|
|
2317
|
+
/**
|
|
2318
|
+
* Post lifecycle status: draft (being written) -> pending_approval (submitted) -> approved (cleared to publish); scheduled/published/failed are set by the publishing pipeline.
|
|
2319
|
+
*/
|
|
2320
|
+
status: ("draft" | "pending_approval" | "approved" | "scheduled" | "published" | "failed")
|
|
2321
|
+
/**
|
|
2322
|
+
* ISO-8601 creation time.
|
|
2323
|
+
*/
|
|
2324
|
+
createdAt: string
|
|
2325
|
+
/**
|
|
2326
|
+
* ISO-8601 time of the last change.
|
|
2327
|
+
*/
|
|
2328
|
+
updatedAt: string
|
|
2329
|
+
/**
|
|
2330
|
+
* Version number of the current text.
|
|
2331
|
+
*/
|
|
2332
|
+
currentVersion: number
|
|
2333
|
+
/**
|
|
2334
|
+
* The version an approval binds to, or null. Cleared on every edit: approving one text never covers another.
|
|
2335
|
+
*/
|
|
2336
|
+
approvedVersion: (number | null)
|
|
2337
|
+
}
|
|
2338
|
+
|
|
2339
|
+
export interface ContentPostsAttachMediaInput {
|
|
2340
|
+
/**
|
|
2341
|
+
* The post id.
|
|
2342
|
+
*/
|
|
2343
|
+
id: string
|
|
2344
|
+
/**
|
|
2345
|
+
* Media asset ids, in the order they should appear on the post.
|
|
2346
|
+
*
|
|
2347
|
+
* @minItems 1
|
|
2348
|
+
* @maxItems 20
|
|
2349
|
+
*/
|
|
2350
|
+
mediaIds: [string]|[string, string]|[string, string, string]|[string, string, string, string]|[string, string, string, string, string]|[string, string, string, string, string, string]|[string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string]
|
|
2351
|
+
}
|
|
2352
|
+
|
|
2353
|
+
export interface ContentPostsAttachMediaOutput {
|
|
2354
|
+
/**
|
|
2355
|
+
* Post id.
|
|
2356
|
+
*/
|
|
2357
|
+
id: string
|
|
2358
|
+
/**
|
|
2359
|
+
* The current text of the post, in markdown.
|
|
2360
|
+
*/
|
|
2361
|
+
text: string
|
|
2362
|
+
/**
|
|
2363
|
+
* Media references attached to the current version.
|
|
2364
|
+
*/
|
|
2365
|
+
media: string[]
|
|
2366
|
+
/**
|
|
2367
|
+
* Identity id of whoever composed the post.
|
|
2368
|
+
*/
|
|
2369
|
+
author: string
|
|
2370
|
+
/**
|
|
2371
|
+
* Post lifecycle status: draft (being written) -> pending_approval (submitted) -> approved (cleared to publish); scheduled/published/failed are set by the publishing pipeline.
|
|
2372
|
+
*/
|
|
2373
|
+
status: ("draft" | "pending_approval" | "approved" | "scheduled" | "published" | "failed")
|
|
2374
|
+
/**
|
|
2375
|
+
* ISO-8601 creation time.
|
|
2376
|
+
*/
|
|
2377
|
+
createdAt: string
|
|
2378
|
+
/**
|
|
2379
|
+
* ISO-8601 time of the last change.
|
|
2380
|
+
*/
|
|
2381
|
+
updatedAt: string
|
|
2382
|
+
/**
|
|
2383
|
+
* Version number of the current text.
|
|
2384
|
+
*/
|
|
2385
|
+
currentVersion: number
|
|
2386
|
+
/**
|
|
2387
|
+
* The version an approval binds to, or null. Cleared on every edit: approving one text never covers another.
|
|
2388
|
+
*/
|
|
2389
|
+
approvedVersion: (number | null)
|
|
2390
|
+
}
|
|
2391
|
+
|
|
2392
|
+
export interface ContentPostsCreateInput {
|
|
2393
|
+
/**
|
|
2394
|
+
* The post text, channel-independent, written in markdown — bold, italic, lists, links. Each network gets it flattened to the plain text that network accepts; content_publications_validate shows exactly what that looks like per channel. Per-channel variants come later, at publish time.
|
|
2395
|
+
*/
|
|
2396
|
+
text: string
|
|
2397
|
+
/**
|
|
2398
|
+
* Media references attached to the post, in display order. Opaque strings — the toolkit does not upload or resolve them.
|
|
2399
|
+
*
|
|
2400
|
+
* @maxItems 20
|
|
2401
|
+
*/
|
|
2402
|
+
media?: []|[string]|[string, string]|[string, string, string]|[string, string, string, string]|[string, string, string, string, string]|[string, string, string, string, string, string]|[string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string]
|
|
2403
|
+
}
|
|
2404
|
+
|
|
2405
|
+
export interface ContentPostsCreateOutput {
|
|
2406
|
+
/**
|
|
2407
|
+
* Post id.
|
|
2408
|
+
*/
|
|
2409
|
+
id: string
|
|
2410
|
+
/**
|
|
2411
|
+
* The current text of the post, in markdown.
|
|
2412
|
+
*/
|
|
2413
|
+
text: string
|
|
2414
|
+
/**
|
|
2415
|
+
* Media references attached to the current version.
|
|
2416
|
+
*/
|
|
2417
|
+
media: string[]
|
|
2418
|
+
/**
|
|
2419
|
+
* Identity id of whoever composed the post.
|
|
2420
|
+
*/
|
|
2421
|
+
author: string
|
|
2422
|
+
/**
|
|
2423
|
+
* Post lifecycle status: draft (being written) -> pending_approval (submitted) -> approved (cleared to publish); scheduled/published/failed are set by the publishing pipeline.
|
|
2424
|
+
*/
|
|
2425
|
+
status: ("draft" | "pending_approval" | "approved" | "scheduled" | "published" | "failed")
|
|
2426
|
+
/**
|
|
2427
|
+
* ISO-8601 creation time.
|
|
2428
|
+
*/
|
|
2429
|
+
createdAt: string
|
|
2430
|
+
/**
|
|
2431
|
+
* ISO-8601 time of the last change.
|
|
2432
|
+
*/
|
|
2433
|
+
updatedAt: string
|
|
2434
|
+
/**
|
|
2435
|
+
* Version number of the current text.
|
|
2436
|
+
*/
|
|
2437
|
+
currentVersion: number
|
|
2438
|
+
/**
|
|
2439
|
+
* The version an approval binds to, or null. Cleared on every edit: approving one text never covers another.
|
|
2440
|
+
*/
|
|
2441
|
+
approvedVersion: (number | null)
|
|
2442
|
+
}
|
|
2443
|
+
|
|
2444
|
+
export interface ContentPostsDetachMediaInput {
|
|
2445
|
+
/**
|
|
2446
|
+
* The post id.
|
|
2447
|
+
*/
|
|
2448
|
+
id: string
|
|
2449
|
+
/**
|
|
2450
|
+
* Media asset ids to remove from the post.
|
|
2451
|
+
*
|
|
2452
|
+
* @minItems 1
|
|
2453
|
+
* @maxItems 20
|
|
2454
|
+
*/
|
|
2455
|
+
mediaIds: [string]|[string, string]|[string, string, string]|[string, string, string, string]|[string, string, string, string, string]|[string, string, string, string, string, string]|[string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string]
|
|
2456
|
+
}
|
|
2457
|
+
|
|
2458
|
+
export interface ContentPostsDetachMediaOutput {
|
|
2459
|
+
/**
|
|
2460
|
+
* Post id.
|
|
2461
|
+
*/
|
|
2462
|
+
id: string
|
|
2463
|
+
/**
|
|
2464
|
+
* The current text of the post, in markdown.
|
|
2465
|
+
*/
|
|
2466
|
+
text: string
|
|
2467
|
+
/**
|
|
2468
|
+
* Media references attached to the current version.
|
|
2469
|
+
*/
|
|
2470
|
+
media: string[]
|
|
2471
|
+
/**
|
|
2472
|
+
* Identity id of whoever composed the post.
|
|
2473
|
+
*/
|
|
2474
|
+
author: string
|
|
2475
|
+
/**
|
|
2476
|
+
* Post lifecycle status: draft (being written) -> pending_approval (submitted) -> approved (cleared to publish); scheduled/published/failed are set by the publishing pipeline.
|
|
2477
|
+
*/
|
|
2478
|
+
status: ("draft" | "pending_approval" | "approved" | "scheduled" | "published" | "failed")
|
|
2479
|
+
/**
|
|
2480
|
+
* ISO-8601 creation time.
|
|
2481
|
+
*/
|
|
2482
|
+
createdAt: string
|
|
2483
|
+
/**
|
|
2484
|
+
* ISO-8601 time of the last change.
|
|
2485
|
+
*/
|
|
2486
|
+
updatedAt: string
|
|
2487
|
+
/**
|
|
2488
|
+
* Version number of the current text.
|
|
2489
|
+
*/
|
|
2490
|
+
currentVersion: number
|
|
2491
|
+
/**
|
|
2492
|
+
* The version an approval binds to, or null. Cleared on every edit: approving one text never covers another.
|
|
2493
|
+
*/
|
|
2494
|
+
approvedVersion: (number | null)
|
|
2495
|
+
}
|
|
2496
|
+
|
|
2497
|
+
export interface ContentPostsGetInput {
|
|
2498
|
+
/**
|
|
2499
|
+
* The post id returned by content_posts_create.
|
|
2500
|
+
*/
|
|
2501
|
+
id: string
|
|
2502
|
+
}
|
|
2503
|
+
|
|
2504
|
+
export interface ContentPostsGetOutput {
|
|
2505
|
+
/**
|
|
2506
|
+
* Post id.
|
|
2507
|
+
*/
|
|
2508
|
+
id: string
|
|
2509
|
+
/**
|
|
2510
|
+
* The current text of the post, in markdown.
|
|
2511
|
+
*/
|
|
2512
|
+
text: string
|
|
2513
|
+
/**
|
|
2514
|
+
* Media references attached to the current version.
|
|
2515
|
+
*/
|
|
2516
|
+
media: string[]
|
|
2517
|
+
/**
|
|
2518
|
+
* Identity id of whoever composed the post.
|
|
2519
|
+
*/
|
|
2520
|
+
author: string
|
|
2521
|
+
/**
|
|
2522
|
+
* Post lifecycle status: draft (being written) -> pending_approval (submitted) -> approved (cleared to publish); scheduled/published/failed are set by the publishing pipeline.
|
|
2523
|
+
*/
|
|
2524
|
+
status: ("draft" | "pending_approval" | "approved" | "scheduled" | "published" | "failed")
|
|
2525
|
+
/**
|
|
2526
|
+
* ISO-8601 creation time.
|
|
2527
|
+
*/
|
|
2528
|
+
createdAt: string
|
|
2529
|
+
/**
|
|
2530
|
+
* ISO-8601 time of the last change.
|
|
2531
|
+
*/
|
|
2532
|
+
updatedAt: string
|
|
2533
|
+
/**
|
|
2534
|
+
* Version number of the current text.
|
|
2535
|
+
*/
|
|
2536
|
+
currentVersion: number
|
|
2537
|
+
/**
|
|
2538
|
+
* The version an approval binds to, or null. Cleared on every edit: approving one text never covers another.
|
|
2539
|
+
*/
|
|
2540
|
+
approvedVersion: (number | null)
|
|
2541
|
+
}
|
|
2542
|
+
|
|
2543
|
+
export interface ContentPostsListInput {
|
|
2544
|
+
/**
|
|
2545
|
+
* Maximum number of posts to return (1-100, default 50).
|
|
2546
|
+
*/
|
|
2547
|
+
limit?: number
|
|
2548
|
+
/**
|
|
2549
|
+
* How many posts to skip, for paging.
|
|
2550
|
+
*/
|
|
2551
|
+
offset?: number
|
|
2552
|
+
/**
|
|
2553
|
+
* Return only posts in this status.
|
|
2554
|
+
*/
|
|
2555
|
+
status?: ("draft" | "pending_approval" | "approved" | "scheduled" | "published" | "failed")
|
|
2556
|
+
}
|
|
2557
|
+
|
|
2558
|
+
export interface ContentPostsListOutput {
|
|
2559
|
+
/**
|
|
2560
|
+
* The page of posts, newest first.
|
|
2561
|
+
*/
|
|
2562
|
+
posts: {
|
|
2563
|
+
/**
|
|
2564
|
+
* Post id.
|
|
2565
|
+
*/
|
|
2566
|
+
id: string
|
|
2567
|
+
/**
|
|
2568
|
+
* The current text of the post, in markdown.
|
|
2569
|
+
*/
|
|
2570
|
+
text: string
|
|
2571
|
+
/**
|
|
2572
|
+
* Media references attached to the current version.
|
|
2573
|
+
*/
|
|
2574
|
+
media: string[]
|
|
2575
|
+
/**
|
|
2576
|
+
* Identity id of whoever composed the post.
|
|
2577
|
+
*/
|
|
2578
|
+
author: string
|
|
2579
|
+
/**
|
|
2580
|
+
* Post lifecycle status: draft (being written) -> pending_approval (submitted) -> approved (cleared to publish); scheduled/published/failed are set by the publishing pipeline.
|
|
2581
|
+
*/
|
|
2582
|
+
status: ("draft" | "pending_approval" | "approved" | "scheduled" | "published" | "failed")
|
|
2583
|
+
/**
|
|
2584
|
+
* ISO-8601 creation time.
|
|
2585
|
+
*/
|
|
2586
|
+
createdAt: string
|
|
2587
|
+
/**
|
|
2588
|
+
* ISO-8601 time of the last change.
|
|
2589
|
+
*/
|
|
2590
|
+
updatedAt: string
|
|
2591
|
+
/**
|
|
2592
|
+
* Version number of the current text.
|
|
2593
|
+
*/
|
|
2594
|
+
currentVersion: number
|
|
2595
|
+
/**
|
|
2596
|
+
* The version an approval binds to, or null. Cleared on every edit: approving one text never covers another.
|
|
2597
|
+
*/
|
|
2598
|
+
approvedVersion: (number | null)
|
|
2599
|
+
}[]
|
|
2600
|
+
/**
|
|
2601
|
+
* Total number of matching posts, ignoring paging.
|
|
2602
|
+
*/
|
|
2603
|
+
total: number
|
|
2604
|
+
}
|
|
2605
|
+
|
|
2606
|
+
export interface ContentPostsSubmitInput {
|
|
2607
|
+
/**
|
|
2608
|
+
* The post id returned by content_posts_create.
|
|
2609
|
+
*/
|
|
2610
|
+
id: string
|
|
2611
|
+
}
|
|
2612
|
+
|
|
2613
|
+
export interface ContentPostsSubmitOutput {
|
|
2614
|
+
/**
|
|
2615
|
+
* Post id.
|
|
2616
|
+
*/
|
|
2617
|
+
id: string
|
|
2618
|
+
/**
|
|
2619
|
+
* The current text of the post, in markdown.
|
|
2620
|
+
*/
|
|
2621
|
+
text: string
|
|
2622
|
+
/**
|
|
2623
|
+
* Media references attached to the current version.
|
|
2624
|
+
*/
|
|
2625
|
+
media: string[]
|
|
2626
|
+
/**
|
|
2627
|
+
* Identity id of whoever composed the post.
|
|
2628
|
+
*/
|
|
2629
|
+
author: string
|
|
2630
|
+
/**
|
|
2631
|
+
* Post lifecycle status: draft (being written) -> pending_approval (submitted) -> approved (cleared to publish); scheduled/published/failed are set by the publishing pipeline.
|
|
2632
|
+
*/
|
|
2633
|
+
status: ("draft" | "pending_approval" | "approved" | "scheduled" | "published" | "failed")
|
|
2634
|
+
/**
|
|
2635
|
+
* ISO-8601 creation time.
|
|
2636
|
+
*/
|
|
2637
|
+
createdAt: string
|
|
2638
|
+
/**
|
|
2639
|
+
* ISO-8601 time of the last change.
|
|
2640
|
+
*/
|
|
2641
|
+
updatedAt: string
|
|
2642
|
+
/**
|
|
2643
|
+
* Version number of the current text.
|
|
2644
|
+
*/
|
|
2645
|
+
currentVersion: number
|
|
2646
|
+
/**
|
|
2647
|
+
* The version an approval binds to, or null. Cleared on every edit: approving one text never covers another.
|
|
2648
|
+
*/
|
|
2649
|
+
approvedVersion: (number | null)
|
|
2650
|
+
}
|
|
2651
|
+
|
|
2652
|
+
export interface ContentPostsUpdateInput {
|
|
2653
|
+
/**
|
|
2654
|
+
* The post id returned by content_posts_create.
|
|
2655
|
+
*/
|
|
2656
|
+
id: string
|
|
2657
|
+
/**
|
|
2658
|
+
* Replacement text, in markdown. Omit to keep the current text.
|
|
2659
|
+
*/
|
|
2660
|
+
text?: string
|
|
2661
|
+
/**
|
|
2662
|
+
* Replacement media list (replaces, never merges). Omit to keep the current media.
|
|
2663
|
+
*
|
|
2664
|
+
* @maxItems 20
|
|
2665
|
+
*/
|
|
2666
|
+
media?: []|[string]|[string, string]|[string, string, string]|[string, string, string, string]|[string, string, string, string, string]|[string, string, string, string, string, string]|[string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string]|[string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string]
|
|
2667
|
+
}
|
|
2668
|
+
|
|
2669
|
+
export interface ContentPostsUpdateOutput {
|
|
2670
|
+
/**
|
|
2671
|
+
* Post id.
|
|
2672
|
+
*/
|
|
2673
|
+
id: string
|
|
2674
|
+
/**
|
|
2675
|
+
* The current text of the post, in markdown.
|
|
2676
|
+
*/
|
|
2677
|
+
text: string
|
|
2678
|
+
/**
|
|
2679
|
+
* Media references attached to the current version.
|
|
2680
|
+
*/
|
|
2681
|
+
media: string[]
|
|
2682
|
+
/**
|
|
2683
|
+
* Identity id of whoever composed the post.
|
|
2684
|
+
*/
|
|
2685
|
+
author: string
|
|
2686
|
+
/**
|
|
2687
|
+
* Post lifecycle status: draft (being written) -> pending_approval (submitted) -> approved (cleared to publish); scheduled/published/failed are set by the publishing pipeline.
|
|
2688
|
+
*/
|
|
2689
|
+
status: ("draft" | "pending_approval" | "approved" | "scheduled" | "published" | "failed")
|
|
2690
|
+
/**
|
|
2691
|
+
* ISO-8601 creation time.
|
|
2692
|
+
*/
|
|
2693
|
+
createdAt: string
|
|
2694
|
+
/**
|
|
2695
|
+
* ISO-8601 time of the last change.
|
|
2696
|
+
*/
|
|
2697
|
+
updatedAt: string
|
|
2698
|
+
/**
|
|
2699
|
+
* Version number of the current text.
|
|
2700
|
+
*/
|
|
2701
|
+
currentVersion: number
|
|
2702
|
+
/**
|
|
2703
|
+
* The version an approval binds to, or null. Cleared on every edit: approving one text never covers another.
|
|
2704
|
+
*/
|
|
2705
|
+
approvedVersion: (number | null)
|
|
2706
|
+
}
|
|
2707
|
+
|
|
2708
|
+
export interface ContentPostsVersionsInput {
|
|
2709
|
+
/**
|
|
2710
|
+
* The post id returned by content_posts_create.
|
|
2711
|
+
*/
|
|
2712
|
+
id: string
|
|
2713
|
+
}
|
|
2714
|
+
|
|
2715
|
+
export interface ContentPostsVersionsOutput {
|
|
2716
|
+
/**
|
|
2717
|
+
* The post these versions belong to.
|
|
2718
|
+
*/
|
|
2719
|
+
postId: string
|
|
2720
|
+
/**
|
|
2721
|
+
* Every version, oldest first.
|
|
2722
|
+
*/
|
|
2723
|
+
versions: {
|
|
2724
|
+
/**
|
|
2725
|
+
* The text as it stood at this version.
|
|
2726
|
+
*/
|
|
2727
|
+
text: string
|
|
2728
|
+
/**
|
|
2729
|
+
* Media references as they stood at this version.
|
|
2730
|
+
*/
|
|
2731
|
+
media: string[]
|
|
2732
|
+
/**
|
|
2733
|
+
* Post the version belongs to.
|
|
2734
|
+
*/
|
|
2735
|
+
postId: string
|
|
2736
|
+
/**
|
|
2737
|
+
* Version number, starting at 1.
|
|
2738
|
+
*/
|
|
2739
|
+
version: number
|
|
2740
|
+
/**
|
|
2741
|
+
* ISO-8601 time the version was recorded.
|
|
2742
|
+
*/
|
|
2743
|
+
createdAt: string
|
|
2744
|
+
/**
|
|
2745
|
+
* Identity id of whoever produced this version.
|
|
2746
|
+
*/
|
|
2747
|
+
createdBy: string
|
|
2748
|
+
}[]
|
|
2749
|
+
}
|
|
2750
|
+
|
|
2751
|
+
export interface ContentPublicationsCancelInput {
|
|
2752
|
+
/**
|
|
2753
|
+
* The publication id returned by content_publications_schedule.
|
|
2754
|
+
*/
|
|
2755
|
+
id: string
|
|
2756
|
+
}
|
|
2757
|
+
|
|
2758
|
+
export interface ContentPublicationsCancelOutput {
|
|
2759
|
+
/**
|
|
2760
|
+
* Publication id.
|
|
2761
|
+
*/
|
|
2762
|
+
id: string
|
|
2763
|
+
/**
|
|
2764
|
+
* The exact text that will be published to this channel — markdown already flattened to plain network text at schedule time. Not the markdown source; that stays on the post.
|
|
2765
|
+
*/
|
|
2766
|
+
text: string
|
|
2767
|
+
/**
|
|
2768
|
+
* pending (queued) -> publishing (the reminder was sent; a person is publishing by hand) -> published (confirmed) | failed | cancelled.
|
|
2769
|
+
*/
|
|
2770
|
+
state: ("pending" | "publishing" | "published" | "failed" | "cancelled")
|
|
2771
|
+
/**
|
|
2772
|
+
* The post being published.
|
|
2773
|
+
*/
|
|
2774
|
+
postId: string
|
|
2775
|
+
/**
|
|
2776
|
+
* What publishing this costs in USD, computed when it was scheduled. On X a post carrying a link costs 13x a plain one. Null means the cost is not known — an auto channel refuses to dispatch it.
|
|
2777
|
+
*/
|
|
2778
|
+
costUsd: (number | null)
|
|
2779
|
+
/**
|
|
2780
|
+
* How many dispatch attempts have been made.
|
|
2781
|
+
*/
|
|
2782
|
+
attempts: number
|
|
2783
|
+
/**
|
|
2784
|
+
* The channel it is published to.
|
|
2785
|
+
*/
|
|
2786
|
+
channelId: string
|
|
2787
|
+
/**
|
|
2788
|
+
* Which rate produced costUsd: "plain", "link" or "free".
|
|
2789
|
+
*/
|
|
2790
|
+
costBasis: (string | null)
|
|
2791
|
+
/**
|
|
2792
|
+
* ISO-8601 creation time.
|
|
2793
|
+
*/
|
|
2794
|
+
createdAt: string
|
|
2795
|
+
/**
|
|
2796
|
+
* The most recent failure, if any.
|
|
2797
|
+
*/
|
|
2798
|
+
lastError: (string | null)
|
|
2799
|
+
/**
|
|
2800
|
+
* ISO-8601 time of the last change.
|
|
2801
|
+
*/
|
|
2802
|
+
updatedAt: string
|
|
2803
|
+
/**
|
|
2804
|
+
* The network's id for the published post, once known.
|
|
2805
|
+
*/
|
|
2806
|
+
externalId: (string | null)
|
|
2807
|
+
/**
|
|
2808
|
+
* URL of the published post, once known.
|
|
2809
|
+
*/
|
|
2810
|
+
externalUrl: (string | null)
|
|
2811
|
+
/**
|
|
2812
|
+
* ISO-8601 time it was confirmed published.
|
|
2813
|
+
*/
|
|
2814
|
+
publishedAt: (string | null)
|
|
2815
|
+
/**
|
|
2816
|
+
* ISO-8601 time the publication is due.
|
|
2817
|
+
*/
|
|
2818
|
+
scheduledAt: string
|
|
2819
|
+
/**
|
|
2820
|
+
* How many reminders have been sent for this publication.
|
|
2821
|
+
*/
|
|
2822
|
+
reminderCount: number
|
|
2823
|
+
/**
|
|
2824
|
+
* The key that makes a retry the same publication.
|
|
2825
|
+
*/
|
|
2826
|
+
idempotencyKey: string
|
|
2827
|
+
/**
|
|
2828
|
+
* ISO-8601 time the most recent reminder went out, or null if none has.
|
|
2829
|
+
*/
|
|
2830
|
+
reminderSentAt: (string | null)
|
|
2831
|
+
}
|
|
2832
|
+
|
|
2833
|
+
export interface ContentPublicationsConfirmInput {
|
|
2834
|
+
/**
|
|
2835
|
+
* The publication id returned by content_publications_schedule.
|
|
2836
|
+
*/
|
|
2837
|
+
id: string
|
|
2838
|
+
/**
|
|
2839
|
+
* The network's own id for the post, if known.
|
|
2840
|
+
*/
|
|
2841
|
+
externalId?: string
|
|
2842
|
+
/**
|
|
2843
|
+
* URL of the post the person actually published. Worth supplying — it is what identifies the post later.
|
|
2844
|
+
*/
|
|
2845
|
+
externalUrl?: string
|
|
2846
|
+
}
|
|
2847
|
+
|
|
2848
|
+
export interface ContentPublicationsConfirmOutput {
|
|
2849
|
+
/**
|
|
2850
|
+
* Publication id.
|
|
2851
|
+
*/
|
|
2852
|
+
id: string
|
|
2853
|
+
/**
|
|
2854
|
+
* The exact text that will be published to this channel — markdown already flattened to plain network text at schedule time. Not the markdown source; that stays on the post.
|
|
2855
|
+
*/
|
|
2856
|
+
text: string
|
|
2857
|
+
/**
|
|
2858
|
+
* pending (queued) -> publishing (the reminder was sent; a person is publishing by hand) -> published (confirmed) | failed | cancelled.
|
|
2859
|
+
*/
|
|
2860
|
+
state: ("pending" | "publishing" | "published" | "failed" | "cancelled")
|
|
2861
|
+
/**
|
|
2862
|
+
* The post being published.
|
|
2863
|
+
*/
|
|
2864
|
+
postId: string
|
|
2865
|
+
/**
|
|
2866
|
+
* What publishing this costs in USD, computed when it was scheduled. On X a post carrying a link costs 13x a plain one. Null means the cost is not known — an auto channel refuses to dispatch it.
|
|
2867
|
+
*/
|
|
2868
|
+
costUsd: (number | null)
|
|
2869
|
+
/**
|
|
2870
|
+
* How many dispatch attempts have been made.
|
|
2871
|
+
*/
|
|
2872
|
+
attempts: number
|
|
2873
|
+
/**
|
|
2874
|
+
* The channel it is published to.
|
|
2875
|
+
*/
|
|
2876
|
+
channelId: string
|
|
2877
|
+
/**
|
|
2878
|
+
* Which rate produced costUsd: "plain", "link" or "free".
|
|
2879
|
+
*/
|
|
2880
|
+
costBasis: (string | null)
|
|
2881
|
+
/**
|
|
2882
|
+
* ISO-8601 creation time.
|
|
2883
|
+
*/
|
|
2884
|
+
createdAt: string
|
|
2885
|
+
/**
|
|
2886
|
+
* The most recent failure, if any.
|
|
2887
|
+
*/
|
|
2888
|
+
lastError: (string | null)
|
|
2889
|
+
/**
|
|
2890
|
+
* ISO-8601 time of the last change.
|
|
2891
|
+
*/
|
|
2892
|
+
updatedAt: string
|
|
2893
|
+
/**
|
|
2894
|
+
* The network's id for the published post, once known.
|
|
2895
|
+
*/
|
|
2896
|
+
externalId: (string | null)
|
|
2897
|
+
/**
|
|
2898
|
+
* URL of the published post, once known.
|
|
2899
|
+
*/
|
|
2900
|
+
externalUrl: (string | null)
|
|
2901
|
+
/**
|
|
2902
|
+
* ISO-8601 time it was confirmed published.
|
|
2903
|
+
*/
|
|
2904
|
+
publishedAt: (string | null)
|
|
2905
|
+
/**
|
|
2906
|
+
* ISO-8601 time the publication is due.
|
|
2907
|
+
*/
|
|
2908
|
+
scheduledAt: string
|
|
2909
|
+
/**
|
|
2910
|
+
* How many reminders have been sent for this publication.
|
|
2911
|
+
*/
|
|
2912
|
+
reminderCount: number
|
|
2913
|
+
/**
|
|
2914
|
+
* The key that makes a retry the same publication.
|
|
2915
|
+
*/
|
|
2916
|
+
idempotencyKey: string
|
|
2917
|
+
/**
|
|
2918
|
+
* ISO-8601 time the most recent reminder went out, or null if none has.
|
|
2919
|
+
*/
|
|
2920
|
+
reminderSentAt: (string | null)
|
|
2921
|
+
}
|
|
2922
|
+
|
|
2923
|
+
export interface ContentPublicationsGetInput {
|
|
2924
|
+
/**
|
|
2925
|
+
* The publication id returned by content_publications_schedule.
|
|
2926
|
+
*/
|
|
2927
|
+
id: string
|
|
2928
|
+
}
|
|
2929
|
+
|
|
2930
|
+
export interface ContentPublicationsGetOutput {
|
|
2931
|
+
/**
|
|
2932
|
+
* Publication id.
|
|
2933
|
+
*/
|
|
2934
|
+
id: string
|
|
2935
|
+
/**
|
|
2936
|
+
* The exact text that will be published to this channel — markdown already flattened to plain network text at schedule time. Not the markdown source; that stays on the post.
|
|
2937
|
+
*/
|
|
2938
|
+
text: string
|
|
2939
|
+
/**
|
|
2940
|
+
* pending (queued) -> publishing (the reminder was sent; a person is publishing by hand) -> published (confirmed) | failed | cancelled.
|
|
2941
|
+
*/
|
|
2942
|
+
state: ("pending" | "publishing" | "published" | "failed" | "cancelled")
|
|
2943
|
+
/**
|
|
2944
|
+
* The post being published.
|
|
2945
|
+
*/
|
|
2946
|
+
postId: string
|
|
2947
|
+
/**
|
|
2948
|
+
* What publishing this costs in USD, computed when it was scheduled. On X a post carrying a link costs 13x a plain one. Null means the cost is not known — an auto channel refuses to dispatch it.
|
|
2949
|
+
*/
|
|
2950
|
+
costUsd: (number | null)
|
|
2951
|
+
/**
|
|
2952
|
+
* How many dispatch attempts have been made.
|
|
2953
|
+
*/
|
|
2954
|
+
attempts: number
|
|
2955
|
+
/**
|
|
2956
|
+
* The channel it is published to.
|
|
2957
|
+
*/
|
|
2958
|
+
channelId: string
|
|
2959
|
+
/**
|
|
2960
|
+
* Which rate produced costUsd: "plain", "link" or "free".
|
|
2961
|
+
*/
|
|
2962
|
+
costBasis: (string | null)
|
|
2963
|
+
/**
|
|
2964
|
+
* ISO-8601 creation time.
|
|
2965
|
+
*/
|
|
2966
|
+
createdAt: string
|
|
2967
|
+
/**
|
|
2968
|
+
* The most recent failure, if any.
|
|
2969
|
+
*/
|
|
2970
|
+
lastError: (string | null)
|
|
2971
|
+
/**
|
|
2972
|
+
* ISO-8601 time of the last change.
|
|
2973
|
+
*/
|
|
2974
|
+
updatedAt: string
|
|
2975
|
+
/**
|
|
2976
|
+
* The network's id for the published post, once known.
|
|
2977
|
+
*/
|
|
2978
|
+
externalId: (string | null)
|
|
2979
|
+
/**
|
|
2980
|
+
* URL of the published post, once known.
|
|
2981
|
+
*/
|
|
2982
|
+
externalUrl: (string | null)
|
|
2983
|
+
/**
|
|
2984
|
+
* ISO-8601 time it was confirmed published.
|
|
2985
|
+
*/
|
|
2986
|
+
publishedAt: (string | null)
|
|
2987
|
+
/**
|
|
2988
|
+
* ISO-8601 time the publication is due.
|
|
2989
|
+
*/
|
|
2990
|
+
scheduledAt: string
|
|
2991
|
+
/**
|
|
2992
|
+
* How many reminders have been sent for this publication.
|
|
2993
|
+
*/
|
|
2994
|
+
reminderCount: number
|
|
2995
|
+
/**
|
|
2996
|
+
* The key that makes a retry the same publication.
|
|
2997
|
+
*/
|
|
2998
|
+
idempotencyKey: string
|
|
2999
|
+
/**
|
|
3000
|
+
* ISO-8601 time the most recent reminder went out, or null if none has.
|
|
3001
|
+
*/
|
|
3002
|
+
reminderSentAt: (string | null)
|
|
3003
|
+
}
|
|
3004
|
+
|
|
3005
|
+
export interface ContentPublicationsListInput {
|
|
3006
|
+
/**
|
|
3007
|
+
* Maximum number to return (1-100, default 50).
|
|
3008
|
+
*/
|
|
3009
|
+
limit?: number
|
|
3010
|
+
/**
|
|
3011
|
+
* Return only publications in this state.
|
|
3012
|
+
*/
|
|
3013
|
+
state?: ("pending" | "publishing" | "published" | "failed" | "cancelled")
|
|
3014
|
+
/**
|
|
3015
|
+
* How many to skip, for paging.
|
|
3016
|
+
*/
|
|
3017
|
+
offset?: number
|
|
3018
|
+
/**
|
|
3019
|
+
* Return only publications of this post.
|
|
3020
|
+
*/
|
|
3021
|
+
postId?: string
|
|
3022
|
+
/**
|
|
3023
|
+
* Return only publications to this channel.
|
|
3024
|
+
*/
|
|
3025
|
+
channelId?: string
|
|
3026
|
+
/**
|
|
3027
|
+
* Return only publications scheduled at or before this ISO-8601 time.
|
|
3028
|
+
*/
|
|
3029
|
+
scheduledTo?: string
|
|
3030
|
+
/**
|
|
3031
|
+
* Return only publications scheduled at or after this ISO-8601 time.
|
|
3032
|
+
*/
|
|
3033
|
+
scheduledFrom?: string
|
|
3034
|
+
}
|
|
3035
|
+
|
|
3036
|
+
export interface ContentPublicationsListOutput {
|
|
3037
|
+
/**
|
|
3038
|
+
* Total number of matching publications, ignoring paging.
|
|
3039
|
+
*/
|
|
3040
|
+
total: number
|
|
3041
|
+
/**
|
|
3042
|
+
* The page of publications, newest slot first.
|
|
3043
|
+
*/
|
|
3044
|
+
publications: {
|
|
3045
|
+
/**
|
|
3046
|
+
* Publication id.
|
|
3047
|
+
*/
|
|
3048
|
+
id: string
|
|
3049
|
+
/**
|
|
3050
|
+
* The exact text that will be published to this channel — markdown already flattened to plain network text at schedule time. Not the markdown source; that stays on the post.
|
|
3051
|
+
*/
|
|
3052
|
+
text: string
|
|
3053
|
+
/**
|
|
3054
|
+
* pending (queued) -> publishing (the reminder was sent; a person is publishing by hand) -> published (confirmed) | failed | cancelled.
|
|
3055
|
+
*/
|
|
3056
|
+
state: ("pending" | "publishing" | "published" | "failed" | "cancelled")
|
|
3057
|
+
/**
|
|
3058
|
+
* The post being published.
|
|
3059
|
+
*/
|
|
3060
|
+
postId: string
|
|
3061
|
+
/**
|
|
3062
|
+
* What publishing this costs in USD, computed when it was scheduled. On X a post carrying a link costs 13x a plain one. Null means the cost is not known — an auto channel refuses to dispatch it.
|
|
3063
|
+
*/
|
|
3064
|
+
costUsd: (number | null)
|
|
3065
|
+
/**
|
|
3066
|
+
* How many dispatch attempts have been made.
|
|
3067
|
+
*/
|
|
3068
|
+
attempts: number
|
|
3069
|
+
/**
|
|
3070
|
+
* The channel it is published to.
|
|
3071
|
+
*/
|
|
3072
|
+
channelId: string
|
|
3073
|
+
/**
|
|
3074
|
+
* Which rate produced costUsd: "plain", "link" or "free".
|
|
3075
|
+
*/
|
|
3076
|
+
costBasis: (string | null)
|
|
3077
|
+
/**
|
|
3078
|
+
* ISO-8601 creation time.
|
|
3079
|
+
*/
|
|
3080
|
+
createdAt: string
|
|
3081
|
+
/**
|
|
3082
|
+
* The most recent failure, if any.
|
|
3083
|
+
*/
|
|
3084
|
+
lastError: (string | null)
|
|
3085
|
+
/**
|
|
3086
|
+
* ISO-8601 time of the last change.
|
|
3087
|
+
*/
|
|
3088
|
+
updatedAt: string
|
|
3089
|
+
/**
|
|
3090
|
+
* The network's id for the published post, once known.
|
|
3091
|
+
*/
|
|
3092
|
+
externalId: (string | null)
|
|
3093
|
+
/**
|
|
3094
|
+
* URL of the published post, once known.
|
|
3095
|
+
*/
|
|
3096
|
+
externalUrl: (string | null)
|
|
3097
|
+
/**
|
|
3098
|
+
* ISO-8601 time it was confirmed published.
|
|
3099
|
+
*/
|
|
3100
|
+
publishedAt: (string | null)
|
|
3101
|
+
/**
|
|
3102
|
+
* ISO-8601 time the publication is due.
|
|
3103
|
+
*/
|
|
3104
|
+
scheduledAt: string
|
|
3105
|
+
/**
|
|
3106
|
+
* How many reminders have been sent for this publication.
|
|
3107
|
+
*/
|
|
3108
|
+
reminderCount: number
|
|
3109
|
+
/**
|
|
3110
|
+
* The key that makes a retry the same publication.
|
|
3111
|
+
*/
|
|
3112
|
+
idempotencyKey: string
|
|
3113
|
+
/**
|
|
3114
|
+
* ISO-8601 time the most recent reminder went out, or null if none has.
|
|
3115
|
+
*/
|
|
3116
|
+
reminderSentAt: (string | null)
|
|
3117
|
+
}[]
|
|
3118
|
+
}
|
|
3119
|
+
|
|
3120
|
+
export interface ContentPublicationsPublishInput {
|
|
3121
|
+
/**
|
|
3122
|
+
* Per-channel variant of the text, in markdown. Omit to use the post text. It is rendered to plain network text before it is stored — call content_publications_validate first if you want to see the result.
|
|
3123
|
+
*/
|
|
3124
|
+
text?: string
|
|
3125
|
+
/**
|
|
3126
|
+
* The post to publish. It must already be approved.
|
|
3127
|
+
*/
|
|
3128
|
+
postId: string
|
|
3129
|
+
/**
|
|
3130
|
+
* The channel to publish to.
|
|
3131
|
+
*/
|
|
3132
|
+
channelId: string
|
|
3133
|
+
/**
|
|
3134
|
+
* Your own key for this publishing intent, unique within the product. Resending the same key returns the SAME publication instead of creating a second one — a duplicate in a client feed is the worst defect this product can ship. Omit it and one is derived from post, channel and time.
|
|
3135
|
+
*/
|
|
3136
|
+
idempotencyKey?: string
|
|
3137
|
+
}
|
|
3138
|
+
|
|
3139
|
+
export interface ContentPublicationsPublishOutput {
|
|
3140
|
+
/**
|
|
3141
|
+
* Publication id.
|
|
3142
|
+
*/
|
|
3143
|
+
id: string
|
|
3144
|
+
/**
|
|
3145
|
+
* The exact text that will be published to this channel — markdown already flattened to plain network text at schedule time. Not the markdown source; that stays on the post.
|
|
3146
|
+
*/
|
|
3147
|
+
text: string
|
|
3148
|
+
/**
|
|
3149
|
+
* pending (queued) -> publishing (the reminder was sent; a person is publishing by hand) -> published (confirmed) | failed | cancelled.
|
|
3150
|
+
*/
|
|
3151
|
+
state: ("pending" | "publishing" | "published" | "failed" | "cancelled")
|
|
3152
|
+
/**
|
|
3153
|
+
* The post being published.
|
|
3154
|
+
*/
|
|
3155
|
+
postId: string
|
|
3156
|
+
/**
|
|
3157
|
+
* What publishing this costs in USD, computed when it was scheduled. On X a post carrying a link costs 13x a plain one. Null means the cost is not known — an auto channel refuses to dispatch it.
|
|
3158
|
+
*/
|
|
3159
|
+
costUsd: (number | null)
|
|
3160
|
+
/**
|
|
3161
|
+
* How many dispatch attempts have been made.
|
|
3162
|
+
*/
|
|
3163
|
+
attempts: number
|
|
3164
|
+
/**
|
|
3165
|
+
* The channel it is published to.
|
|
3166
|
+
*/
|
|
3167
|
+
channelId: string
|
|
3168
|
+
/**
|
|
3169
|
+
* Which rate produced costUsd: "plain", "link" or "free".
|
|
3170
|
+
*/
|
|
3171
|
+
costBasis: (string | null)
|
|
3172
|
+
/**
|
|
3173
|
+
* ISO-8601 creation time.
|
|
3174
|
+
*/
|
|
3175
|
+
createdAt: string
|
|
3176
|
+
/**
|
|
3177
|
+
* The most recent failure, if any.
|
|
3178
|
+
*/
|
|
3179
|
+
lastError: (string | null)
|
|
3180
|
+
/**
|
|
3181
|
+
* ISO-8601 time of the last change.
|
|
3182
|
+
*/
|
|
3183
|
+
updatedAt: string
|
|
3184
|
+
/**
|
|
3185
|
+
* The network's id for the published post, once known.
|
|
3186
|
+
*/
|
|
3187
|
+
externalId: (string | null)
|
|
3188
|
+
/**
|
|
3189
|
+
* URL of the published post, once known.
|
|
3190
|
+
*/
|
|
3191
|
+
externalUrl: (string | null)
|
|
3192
|
+
/**
|
|
3193
|
+
* ISO-8601 time it was confirmed published.
|
|
3194
|
+
*/
|
|
3195
|
+
publishedAt: (string | null)
|
|
3196
|
+
/**
|
|
3197
|
+
* ISO-8601 time the publication is due.
|
|
3198
|
+
*/
|
|
3199
|
+
scheduledAt: string
|
|
3200
|
+
/**
|
|
3201
|
+
* How many reminders have been sent for this publication.
|
|
3202
|
+
*/
|
|
3203
|
+
reminderCount: number
|
|
3204
|
+
/**
|
|
3205
|
+
* The key that makes a retry the same publication.
|
|
3206
|
+
*/
|
|
3207
|
+
idempotencyKey: string
|
|
3208
|
+
/**
|
|
3209
|
+
* ISO-8601 time the most recent reminder went out, or null if none has.
|
|
3210
|
+
*/
|
|
3211
|
+
reminderSentAt: (string | null)
|
|
3212
|
+
}
|
|
3213
|
+
|
|
3214
|
+
export interface ContentPublicationsRemindInput {
|
|
3215
|
+
/**
|
|
3216
|
+
* The publication id returned by content_publications_schedule.
|
|
3217
|
+
*/
|
|
3218
|
+
id: string
|
|
3219
|
+
}
|
|
3220
|
+
|
|
3221
|
+
export interface ContentPublicationsRemindOutput {
|
|
3222
|
+
/**
|
|
3223
|
+
* Publication id.
|
|
3224
|
+
*/
|
|
3225
|
+
id: string
|
|
3226
|
+
/**
|
|
3227
|
+
* The exact text that will be published to this channel — markdown already flattened to plain network text at schedule time. Not the markdown source; that stays on the post.
|
|
3228
|
+
*/
|
|
3229
|
+
text: string
|
|
3230
|
+
/**
|
|
3231
|
+
* pending (queued) -> publishing (the reminder was sent; a person is publishing by hand) -> published (confirmed) | failed | cancelled.
|
|
3232
|
+
*/
|
|
3233
|
+
state: ("pending" | "publishing" | "published" | "failed" | "cancelled")
|
|
3234
|
+
/**
|
|
3235
|
+
* The post being published.
|
|
3236
|
+
*/
|
|
3237
|
+
postId: string
|
|
3238
|
+
/**
|
|
3239
|
+
* What publishing this costs in USD, computed when it was scheduled. On X a post carrying a link costs 13x a plain one. Null means the cost is not known — an auto channel refuses to dispatch it.
|
|
3240
|
+
*/
|
|
3241
|
+
costUsd: (number | null)
|
|
3242
|
+
/**
|
|
3243
|
+
* How many dispatch attempts have been made.
|
|
3244
|
+
*/
|
|
3245
|
+
attempts: number
|
|
3246
|
+
/**
|
|
3247
|
+
* The channel it is published to.
|
|
3248
|
+
*/
|
|
3249
|
+
channelId: string
|
|
3250
|
+
/**
|
|
3251
|
+
* Which rate produced costUsd: "plain", "link" or "free".
|
|
3252
|
+
*/
|
|
3253
|
+
costBasis: (string | null)
|
|
3254
|
+
/**
|
|
3255
|
+
* ISO-8601 creation time.
|
|
3256
|
+
*/
|
|
3257
|
+
createdAt: string
|
|
3258
|
+
/**
|
|
3259
|
+
* The most recent failure, if any.
|
|
3260
|
+
*/
|
|
3261
|
+
lastError: (string | null)
|
|
3262
|
+
/**
|
|
3263
|
+
* ISO-8601 time of the last change.
|
|
3264
|
+
*/
|
|
3265
|
+
updatedAt: string
|
|
3266
|
+
/**
|
|
3267
|
+
* The network's id for the published post, once known.
|
|
3268
|
+
*/
|
|
3269
|
+
externalId: (string | null)
|
|
3270
|
+
/**
|
|
3271
|
+
* URL of the published post, once known.
|
|
3272
|
+
*/
|
|
3273
|
+
externalUrl: (string | null)
|
|
3274
|
+
/**
|
|
3275
|
+
* ISO-8601 time it was confirmed published.
|
|
3276
|
+
*/
|
|
3277
|
+
publishedAt: (string | null)
|
|
3278
|
+
/**
|
|
3279
|
+
* ISO-8601 time the publication is due.
|
|
3280
|
+
*/
|
|
3281
|
+
scheduledAt: string
|
|
3282
|
+
/**
|
|
3283
|
+
* How many reminders have been sent for this publication.
|
|
3284
|
+
*/
|
|
3285
|
+
reminderCount: number
|
|
3286
|
+
/**
|
|
3287
|
+
* The key that makes a retry the same publication.
|
|
3288
|
+
*/
|
|
3289
|
+
idempotencyKey: string
|
|
3290
|
+
/**
|
|
3291
|
+
* ISO-8601 time the most recent reminder went out, or null if none has.
|
|
3292
|
+
*/
|
|
3293
|
+
reminderSentAt: (string | null)
|
|
3294
|
+
}
|
|
3295
|
+
|
|
3296
|
+
export interface ContentPublicationsRescheduleInput {
|
|
3297
|
+
/**
|
|
3298
|
+
* The publication id returned by content_publications_schedule.
|
|
3299
|
+
*/
|
|
3300
|
+
id: string
|
|
3301
|
+
/**
|
|
3302
|
+
* New ISO-8601 time. The publication returns to the queue.
|
|
3303
|
+
*/
|
|
3304
|
+
scheduledAt: string
|
|
3305
|
+
}
|
|
3306
|
+
|
|
3307
|
+
export interface ContentPublicationsRescheduleOutput {
|
|
3308
|
+
/**
|
|
3309
|
+
* Publication id.
|
|
3310
|
+
*/
|
|
3311
|
+
id: string
|
|
3312
|
+
/**
|
|
3313
|
+
* The exact text that will be published to this channel — markdown already flattened to plain network text at schedule time. Not the markdown source; that stays on the post.
|
|
3314
|
+
*/
|
|
3315
|
+
text: string
|
|
3316
|
+
/**
|
|
3317
|
+
* pending (queued) -> publishing (the reminder was sent; a person is publishing by hand) -> published (confirmed) | failed | cancelled.
|
|
3318
|
+
*/
|
|
3319
|
+
state: ("pending" | "publishing" | "published" | "failed" | "cancelled")
|
|
3320
|
+
/**
|
|
3321
|
+
* The post being published.
|
|
3322
|
+
*/
|
|
3323
|
+
postId: string
|
|
3324
|
+
/**
|
|
3325
|
+
* What publishing this costs in USD, computed when it was scheduled. On X a post carrying a link costs 13x a plain one. Null means the cost is not known — an auto channel refuses to dispatch it.
|
|
3326
|
+
*/
|
|
3327
|
+
costUsd: (number | null)
|
|
3328
|
+
/**
|
|
3329
|
+
* How many dispatch attempts have been made.
|
|
3330
|
+
*/
|
|
3331
|
+
attempts: number
|
|
3332
|
+
/**
|
|
3333
|
+
* The channel it is published to.
|
|
3334
|
+
*/
|
|
3335
|
+
channelId: string
|
|
3336
|
+
/**
|
|
3337
|
+
* Which rate produced costUsd: "plain", "link" or "free".
|
|
3338
|
+
*/
|
|
3339
|
+
costBasis: (string | null)
|
|
3340
|
+
/**
|
|
3341
|
+
* ISO-8601 creation time.
|
|
3342
|
+
*/
|
|
3343
|
+
createdAt: string
|
|
3344
|
+
/**
|
|
3345
|
+
* The most recent failure, if any.
|
|
3346
|
+
*/
|
|
3347
|
+
lastError: (string | null)
|
|
3348
|
+
/**
|
|
3349
|
+
* ISO-8601 time of the last change.
|
|
3350
|
+
*/
|
|
3351
|
+
updatedAt: string
|
|
3352
|
+
/**
|
|
3353
|
+
* The network's id for the published post, once known.
|
|
3354
|
+
*/
|
|
3355
|
+
externalId: (string | null)
|
|
3356
|
+
/**
|
|
3357
|
+
* URL of the published post, once known.
|
|
3358
|
+
*/
|
|
3359
|
+
externalUrl: (string | null)
|
|
3360
|
+
/**
|
|
3361
|
+
* ISO-8601 time it was confirmed published.
|
|
3362
|
+
*/
|
|
3363
|
+
publishedAt: (string | null)
|
|
3364
|
+
/**
|
|
3365
|
+
* ISO-8601 time the publication is due.
|
|
3366
|
+
*/
|
|
3367
|
+
scheduledAt: string
|
|
3368
|
+
/**
|
|
3369
|
+
* How many reminders have been sent for this publication.
|
|
3370
|
+
*/
|
|
3371
|
+
reminderCount: number
|
|
3372
|
+
/**
|
|
3373
|
+
* The key that makes a retry the same publication.
|
|
3374
|
+
*/
|
|
3375
|
+
idempotencyKey: string
|
|
3376
|
+
/**
|
|
3377
|
+
* ISO-8601 time the most recent reminder went out, or null if none has.
|
|
3378
|
+
*/
|
|
3379
|
+
reminderSentAt: (string | null)
|
|
3380
|
+
}
|
|
3381
|
+
|
|
3382
|
+
export interface ContentPublicationsScheduleInput {
|
|
3383
|
+
/**
|
|
3384
|
+
* Per-channel variant of the text, in markdown. Omit to use the post text. It is rendered to plain network text before it is stored — call content_publications_validate first if you want to see the result.
|
|
3385
|
+
*/
|
|
3386
|
+
text?: string
|
|
3387
|
+
/**
|
|
3388
|
+
* The post to publish. It must already be approved — an unapproved text never publishes.
|
|
3389
|
+
*/
|
|
3390
|
+
postId: string
|
|
3391
|
+
/**
|
|
3392
|
+
* The channel to publish to. Get its character limit from content_channels_get first.
|
|
3393
|
+
*/
|
|
3394
|
+
channelId: string
|
|
3395
|
+
/**
|
|
3396
|
+
* ISO-8601 time to publish. In the past means "as soon as the next tick runs".
|
|
3397
|
+
*/
|
|
3398
|
+
scheduledAt: string
|
|
3399
|
+
/**
|
|
3400
|
+
* Your own key for this publishing intent, unique within the product. Resending the same key returns the SAME publication instead of creating a second one — a duplicate in a client feed is the worst defect this product can ship. Omit it and one is derived from post, channel and time.
|
|
3401
|
+
*/
|
|
3402
|
+
idempotencyKey?: string
|
|
3403
|
+
}
|
|
3404
|
+
|
|
3405
|
+
export interface ContentPublicationsScheduleOutput {
|
|
3406
|
+
/**
|
|
3407
|
+
* Publication id.
|
|
3408
|
+
*/
|
|
3409
|
+
id: string
|
|
3410
|
+
/**
|
|
3411
|
+
* The exact text that will be published to this channel — markdown already flattened to plain network text at schedule time. Not the markdown source; that stays on the post.
|
|
3412
|
+
*/
|
|
3413
|
+
text: string
|
|
3414
|
+
/**
|
|
3415
|
+
* pending (queued) -> publishing (the reminder was sent; a person is publishing by hand) -> published (confirmed) | failed | cancelled.
|
|
3416
|
+
*/
|
|
3417
|
+
state: ("pending" | "publishing" | "published" | "failed" | "cancelled")
|
|
3418
|
+
/**
|
|
3419
|
+
* The post being published.
|
|
3420
|
+
*/
|
|
3421
|
+
postId: string
|
|
3422
|
+
/**
|
|
3423
|
+
* What publishing this costs in USD, computed when it was scheduled. On X a post carrying a link costs 13x a plain one. Null means the cost is not known — an auto channel refuses to dispatch it.
|
|
3424
|
+
*/
|
|
3425
|
+
costUsd: (number | null)
|
|
3426
|
+
/**
|
|
3427
|
+
* How many dispatch attempts have been made.
|
|
3428
|
+
*/
|
|
3429
|
+
attempts: number
|
|
3430
|
+
/**
|
|
3431
|
+
* The channel it is published to.
|
|
3432
|
+
*/
|
|
3433
|
+
channelId: string
|
|
3434
|
+
/**
|
|
3435
|
+
* Which rate produced costUsd: "plain", "link" or "free".
|
|
3436
|
+
*/
|
|
3437
|
+
costBasis: (string | null)
|
|
3438
|
+
/**
|
|
3439
|
+
* ISO-8601 creation time.
|
|
3440
|
+
*/
|
|
3441
|
+
createdAt: string
|
|
3442
|
+
/**
|
|
3443
|
+
* The most recent failure, if any.
|
|
3444
|
+
*/
|
|
3445
|
+
lastError: (string | null)
|
|
3446
|
+
/**
|
|
3447
|
+
* ISO-8601 time of the last change.
|
|
3448
|
+
*/
|
|
3449
|
+
updatedAt: string
|
|
3450
|
+
/**
|
|
3451
|
+
* The network's id for the published post, once known.
|
|
3452
|
+
*/
|
|
3453
|
+
externalId: (string | null)
|
|
3454
|
+
/**
|
|
3455
|
+
* URL of the published post, once known.
|
|
3456
|
+
*/
|
|
3457
|
+
externalUrl: (string | null)
|
|
3458
|
+
/**
|
|
3459
|
+
* ISO-8601 time it was confirmed published.
|
|
3460
|
+
*/
|
|
3461
|
+
publishedAt: (string | null)
|
|
3462
|
+
/**
|
|
3463
|
+
* ISO-8601 time the publication is due.
|
|
3464
|
+
*/
|
|
3465
|
+
scheduledAt: string
|
|
3466
|
+
/**
|
|
3467
|
+
* How many reminders have been sent for this publication.
|
|
3468
|
+
*/
|
|
3469
|
+
reminderCount: number
|
|
3470
|
+
/**
|
|
3471
|
+
* The key that makes a retry the same publication.
|
|
3472
|
+
*/
|
|
3473
|
+
idempotencyKey: string
|
|
3474
|
+
/**
|
|
3475
|
+
* ISO-8601 time the most recent reminder went out, or null if none has.
|
|
3476
|
+
*/
|
|
3477
|
+
reminderSentAt: (string | null)
|
|
3478
|
+
}
|
|
3479
|
+
|
|
3480
|
+
export interface ContentPublicationsValidateInput {
|
|
3481
|
+
/**
|
|
3482
|
+
* The post to check. It does not have to be approved yet — this never publishes.
|
|
3483
|
+
*/
|
|
3484
|
+
postId: string
|
|
3485
|
+
/**
|
|
3486
|
+
* One entry per channel you are considering. Check them all in one call.
|
|
3487
|
+
*
|
|
3488
|
+
* @minItems 1
|
|
3489
|
+
* @maxItems 20
|
|
3490
|
+
*/
|
|
3491
|
+
channels: [{
|
|
3492
|
+
/**
|
|
3493
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
3494
|
+
*/
|
|
3495
|
+
text?: string
|
|
3496
|
+
/**
|
|
3497
|
+
* A channel to check this post against.
|
|
3498
|
+
*/
|
|
3499
|
+
channelId: string
|
|
3500
|
+
}]|[{
|
|
3501
|
+
/**
|
|
3502
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
3503
|
+
*/
|
|
3504
|
+
text?: string
|
|
3505
|
+
/**
|
|
3506
|
+
* A channel to check this post against.
|
|
3507
|
+
*/
|
|
3508
|
+
channelId: string
|
|
3509
|
+
}, {
|
|
3510
|
+
/**
|
|
3511
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
3512
|
+
*/
|
|
3513
|
+
text?: string
|
|
3514
|
+
/**
|
|
3515
|
+
* A channel to check this post against.
|
|
3516
|
+
*/
|
|
3517
|
+
channelId: string
|
|
3518
|
+
}]|[{
|
|
3519
|
+
/**
|
|
3520
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
3521
|
+
*/
|
|
3522
|
+
text?: string
|
|
3523
|
+
/**
|
|
3524
|
+
* A channel to check this post against.
|
|
3525
|
+
*/
|
|
3526
|
+
channelId: string
|
|
3527
|
+
}, {
|
|
3528
|
+
/**
|
|
3529
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
3530
|
+
*/
|
|
3531
|
+
text?: string
|
|
3532
|
+
/**
|
|
3533
|
+
* A channel to check this post against.
|
|
3534
|
+
*/
|
|
3535
|
+
channelId: string
|
|
3536
|
+
}, {
|
|
3537
|
+
/**
|
|
3538
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
3539
|
+
*/
|
|
3540
|
+
text?: string
|
|
3541
|
+
/**
|
|
3542
|
+
* A channel to check this post against.
|
|
3543
|
+
*/
|
|
3544
|
+
channelId: string
|
|
3545
|
+
}]|[{
|
|
3546
|
+
/**
|
|
3547
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
3548
|
+
*/
|
|
3549
|
+
text?: string
|
|
3550
|
+
/**
|
|
3551
|
+
* A channel to check this post against.
|
|
3552
|
+
*/
|
|
3553
|
+
channelId: string
|
|
3554
|
+
}, {
|
|
3555
|
+
/**
|
|
3556
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
3557
|
+
*/
|
|
3558
|
+
text?: string
|
|
3559
|
+
/**
|
|
3560
|
+
* A channel to check this post against.
|
|
3561
|
+
*/
|
|
3562
|
+
channelId: string
|
|
3563
|
+
}, {
|
|
3564
|
+
/**
|
|
3565
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
3566
|
+
*/
|
|
3567
|
+
text?: string
|
|
3568
|
+
/**
|
|
3569
|
+
* A channel to check this post against.
|
|
3570
|
+
*/
|
|
3571
|
+
channelId: string
|
|
3572
|
+
}, {
|
|
3573
|
+
/**
|
|
3574
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
3575
|
+
*/
|
|
3576
|
+
text?: string
|
|
3577
|
+
/**
|
|
3578
|
+
* A channel to check this post against.
|
|
3579
|
+
*/
|
|
3580
|
+
channelId: string
|
|
3581
|
+
}]|[{
|
|
3582
|
+
/**
|
|
3583
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
3584
|
+
*/
|
|
3585
|
+
text?: string
|
|
3586
|
+
/**
|
|
3587
|
+
* A channel to check this post against.
|
|
3588
|
+
*/
|
|
3589
|
+
channelId: string
|
|
3590
|
+
}, {
|
|
3591
|
+
/**
|
|
3592
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
3593
|
+
*/
|
|
3594
|
+
text?: string
|
|
3595
|
+
/**
|
|
3596
|
+
* A channel to check this post against.
|
|
3597
|
+
*/
|
|
3598
|
+
channelId: string
|
|
3599
|
+
}, {
|
|
3600
|
+
/**
|
|
3601
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
3602
|
+
*/
|
|
3603
|
+
text?: string
|
|
3604
|
+
/**
|
|
3605
|
+
* A channel to check this post against.
|
|
3606
|
+
*/
|
|
3607
|
+
channelId: string
|
|
3608
|
+
}, {
|
|
3609
|
+
/**
|
|
3610
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
3611
|
+
*/
|
|
3612
|
+
text?: string
|
|
3613
|
+
/**
|
|
3614
|
+
* A channel to check this post against.
|
|
3615
|
+
*/
|
|
3616
|
+
channelId: string
|
|
3617
|
+
}, {
|
|
3618
|
+
/**
|
|
3619
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
3620
|
+
*/
|
|
3621
|
+
text?: string
|
|
3622
|
+
/**
|
|
3623
|
+
* A channel to check this post against.
|
|
3624
|
+
*/
|
|
3625
|
+
channelId: string
|
|
3626
|
+
}]|[{
|
|
3627
|
+
/**
|
|
3628
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
3629
|
+
*/
|
|
3630
|
+
text?: string
|
|
3631
|
+
/**
|
|
3632
|
+
* A channel to check this post against.
|
|
3633
|
+
*/
|
|
3634
|
+
channelId: string
|
|
3635
|
+
}, {
|
|
3636
|
+
/**
|
|
3637
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
3638
|
+
*/
|
|
3639
|
+
text?: string
|
|
3640
|
+
/**
|
|
3641
|
+
* A channel to check this post against.
|
|
3642
|
+
*/
|
|
3643
|
+
channelId: string
|
|
3644
|
+
}, {
|
|
3645
|
+
/**
|
|
3646
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
3647
|
+
*/
|
|
3648
|
+
text?: string
|
|
3649
|
+
/**
|
|
3650
|
+
* A channel to check this post against.
|
|
3651
|
+
*/
|
|
3652
|
+
channelId: string
|
|
3653
|
+
}, {
|
|
3654
|
+
/**
|
|
3655
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
3656
|
+
*/
|
|
3657
|
+
text?: string
|
|
3658
|
+
/**
|
|
3659
|
+
* A channel to check this post against.
|
|
3660
|
+
*/
|
|
3661
|
+
channelId: string
|
|
3662
|
+
}, {
|
|
3663
|
+
/**
|
|
3664
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
3665
|
+
*/
|
|
3666
|
+
text?: string
|
|
3667
|
+
/**
|
|
3668
|
+
* A channel to check this post against.
|
|
3669
|
+
*/
|
|
3670
|
+
channelId: string
|
|
3671
|
+
}, {
|
|
3672
|
+
/**
|
|
3673
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
3674
|
+
*/
|
|
3675
|
+
text?: string
|
|
3676
|
+
/**
|
|
3677
|
+
* A channel to check this post against.
|
|
3678
|
+
*/
|
|
3679
|
+
channelId: string
|
|
3680
|
+
}]|[{
|
|
3681
|
+
/**
|
|
3682
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
3683
|
+
*/
|
|
3684
|
+
text?: string
|
|
3685
|
+
/**
|
|
3686
|
+
* A channel to check this post against.
|
|
3687
|
+
*/
|
|
3688
|
+
channelId: string
|
|
3689
|
+
}, {
|
|
3690
|
+
/**
|
|
3691
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
3692
|
+
*/
|
|
3693
|
+
text?: string
|
|
3694
|
+
/**
|
|
3695
|
+
* A channel to check this post against.
|
|
3696
|
+
*/
|
|
3697
|
+
channelId: string
|
|
3698
|
+
}, {
|
|
3699
|
+
/**
|
|
3700
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
3701
|
+
*/
|
|
3702
|
+
text?: string
|
|
3703
|
+
/**
|
|
3704
|
+
* A channel to check this post against.
|
|
3705
|
+
*/
|
|
3706
|
+
channelId: string
|
|
3707
|
+
}, {
|
|
3708
|
+
/**
|
|
3709
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
3710
|
+
*/
|
|
3711
|
+
text?: string
|
|
3712
|
+
/**
|
|
3713
|
+
* A channel to check this post against.
|
|
3714
|
+
*/
|
|
3715
|
+
channelId: string
|
|
3716
|
+
}, {
|
|
3717
|
+
/**
|
|
3718
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
3719
|
+
*/
|
|
3720
|
+
text?: string
|
|
3721
|
+
/**
|
|
3722
|
+
* A channel to check this post against.
|
|
3723
|
+
*/
|
|
3724
|
+
channelId: string
|
|
3725
|
+
}, {
|
|
3726
|
+
/**
|
|
3727
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
3728
|
+
*/
|
|
3729
|
+
text?: string
|
|
3730
|
+
/**
|
|
3731
|
+
* A channel to check this post against.
|
|
3732
|
+
*/
|
|
3733
|
+
channelId: string
|
|
3734
|
+
}, {
|
|
3735
|
+
/**
|
|
3736
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
3737
|
+
*/
|
|
3738
|
+
text?: string
|
|
3739
|
+
/**
|
|
3740
|
+
* A channel to check this post against.
|
|
3741
|
+
*/
|
|
3742
|
+
channelId: string
|
|
3743
|
+
}]|[{
|
|
3744
|
+
/**
|
|
3745
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
3746
|
+
*/
|
|
3747
|
+
text?: string
|
|
3748
|
+
/**
|
|
3749
|
+
* A channel to check this post against.
|
|
3750
|
+
*/
|
|
3751
|
+
channelId: string
|
|
3752
|
+
}, {
|
|
3753
|
+
/**
|
|
3754
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
3755
|
+
*/
|
|
3756
|
+
text?: string
|
|
3757
|
+
/**
|
|
3758
|
+
* A channel to check this post against.
|
|
3759
|
+
*/
|
|
3760
|
+
channelId: string
|
|
3761
|
+
}, {
|
|
3762
|
+
/**
|
|
3763
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
3764
|
+
*/
|
|
3765
|
+
text?: string
|
|
3766
|
+
/**
|
|
3767
|
+
* A channel to check this post against.
|
|
3768
|
+
*/
|
|
3769
|
+
channelId: string
|
|
3770
|
+
}, {
|
|
3771
|
+
/**
|
|
3772
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
3773
|
+
*/
|
|
3774
|
+
text?: string
|
|
3775
|
+
/**
|
|
3776
|
+
* A channel to check this post against.
|
|
3777
|
+
*/
|
|
3778
|
+
channelId: string
|
|
3779
|
+
}, {
|
|
3780
|
+
/**
|
|
3781
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
3782
|
+
*/
|
|
3783
|
+
text?: string
|
|
3784
|
+
/**
|
|
3785
|
+
* A channel to check this post against.
|
|
3786
|
+
*/
|
|
3787
|
+
channelId: string
|
|
3788
|
+
}, {
|
|
3789
|
+
/**
|
|
3790
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
3791
|
+
*/
|
|
3792
|
+
text?: string
|
|
3793
|
+
/**
|
|
3794
|
+
* A channel to check this post against.
|
|
3795
|
+
*/
|
|
3796
|
+
channelId: string
|
|
3797
|
+
}, {
|
|
3798
|
+
/**
|
|
3799
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
3800
|
+
*/
|
|
3801
|
+
text?: string
|
|
3802
|
+
/**
|
|
3803
|
+
* A channel to check this post against.
|
|
3804
|
+
*/
|
|
3805
|
+
channelId: string
|
|
3806
|
+
}, {
|
|
3807
|
+
/**
|
|
3808
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
3809
|
+
*/
|
|
3810
|
+
text?: string
|
|
3811
|
+
/**
|
|
3812
|
+
* A channel to check this post against.
|
|
3813
|
+
*/
|
|
3814
|
+
channelId: string
|
|
3815
|
+
}]|[{
|
|
3816
|
+
/**
|
|
3817
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
3818
|
+
*/
|
|
3819
|
+
text?: string
|
|
3820
|
+
/**
|
|
3821
|
+
* A channel to check this post against.
|
|
3822
|
+
*/
|
|
3823
|
+
channelId: string
|
|
3824
|
+
}, {
|
|
3825
|
+
/**
|
|
3826
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
3827
|
+
*/
|
|
3828
|
+
text?: string
|
|
3829
|
+
/**
|
|
3830
|
+
* A channel to check this post against.
|
|
3831
|
+
*/
|
|
3832
|
+
channelId: string
|
|
3833
|
+
}, {
|
|
3834
|
+
/**
|
|
3835
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
3836
|
+
*/
|
|
3837
|
+
text?: string
|
|
3838
|
+
/**
|
|
3839
|
+
* A channel to check this post against.
|
|
3840
|
+
*/
|
|
3841
|
+
channelId: string
|
|
3842
|
+
}, {
|
|
3843
|
+
/**
|
|
3844
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
3845
|
+
*/
|
|
3846
|
+
text?: string
|
|
3847
|
+
/**
|
|
3848
|
+
* A channel to check this post against.
|
|
3849
|
+
*/
|
|
3850
|
+
channelId: string
|
|
3851
|
+
}, {
|
|
3852
|
+
/**
|
|
3853
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
3854
|
+
*/
|
|
3855
|
+
text?: string
|
|
3856
|
+
/**
|
|
3857
|
+
* A channel to check this post against.
|
|
3858
|
+
*/
|
|
3859
|
+
channelId: string
|
|
3860
|
+
}, {
|
|
3861
|
+
/**
|
|
3862
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
3863
|
+
*/
|
|
3864
|
+
text?: string
|
|
3865
|
+
/**
|
|
3866
|
+
* A channel to check this post against.
|
|
3867
|
+
*/
|
|
3868
|
+
channelId: string
|
|
3869
|
+
}, {
|
|
3870
|
+
/**
|
|
3871
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
3872
|
+
*/
|
|
3873
|
+
text?: string
|
|
3874
|
+
/**
|
|
3875
|
+
* A channel to check this post against.
|
|
3876
|
+
*/
|
|
3877
|
+
channelId: string
|
|
3878
|
+
}, {
|
|
3879
|
+
/**
|
|
3880
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
3881
|
+
*/
|
|
3882
|
+
text?: string
|
|
3883
|
+
/**
|
|
3884
|
+
* A channel to check this post against.
|
|
3885
|
+
*/
|
|
3886
|
+
channelId: string
|
|
3887
|
+
}, {
|
|
3888
|
+
/**
|
|
3889
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
3890
|
+
*/
|
|
3891
|
+
text?: string
|
|
3892
|
+
/**
|
|
3893
|
+
* A channel to check this post against.
|
|
3894
|
+
*/
|
|
3895
|
+
channelId: string
|
|
3896
|
+
}]|[{
|
|
3897
|
+
/**
|
|
3898
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
3899
|
+
*/
|
|
3900
|
+
text?: string
|
|
3901
|
+
/**
|
|
3902
|
+
* A channel to check this post against.
|
|
3903
|
+
*/
|
|
3904
|
+
channelId: string
|
|
3905
|
+
}, {
|
|
3906
|
+
/**
|
|
3907
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
3908
|
+
*/
|
|
3909
|
+
text?: string
|
|
3910
|
+
/**
|
|
3911
|
+
* A channel to check this post against.
|
|
3912
|
+
*/
|
|
3913
|
+
channelId: string
|
|
3914
|
+
}, {
|
|
3915
|
+
/**
|
|
3916
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
3917
|
+
*/
|
|
3918
|
+
text?: string
|
|
3919
|
+
/**
|
|
3920
|
+
* A channel to check this post against.
|
|
3921
|
+
*/
|
|
3922
|
+
channelId: string
|
|
3923
|
+
}, {
|
|
3924
|
+
/**
|
|
3925
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
3926
|
+
*/
|
|
3927
|
+
text?: string
|
|
3928
|
+
/**
|
|
3929
|
+
* A channel to check this post against.
|
|
3930
|
+
*/
|
|
3931
|
+
channelId: string
|
|
3932
|
+
}, {
|
|
3933
|
+
/**
|
|
3934
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
3935
|
+
*/
|
|
3936
|
+
text?: string
|
|
3937
|
+
/**
|
|
3938
|
+
* A channel to check this post against.
|
|
3939
|
+
*/
|
|
3940
|
+
channelId: string
|
|
3941
|
+
}, {
|
|
3942
|
+
/**
|
|
3943
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
3944
|
+
*/
|
|
3945
|
+
text?: string
|
|
3946
|
+
/**
|
|
3947
|
+
* A channel to check this post against.
|
|
3948
|
+
*/
|
|
3949
|
+
channelId: string
|
|
3950
|
+
}, {
|
|
3951
|
+
/**
|
|
3952
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
3953
|
+
*/
|
|
3954
|
+
text?: string
|
|
3955
|
+
/**
|
|
3956
|
+
* A channel to check this post against.
|
|
3957
|
+
*/
|
|
3958
|
+
channelId: string
|
|
3959
|
+
}, {
|
|
3960
|
+
/**
|
|
3961
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
3962
|
+
*/
|
|
3963
|
+
text?: string
|
|
3964
|
+
/**
|
|
3965
|
+
* A channel to check this post against.
|
|
3966
|
+
*/
|
|
3967
|
+
channelId: string
|
|
3968
|
+
}, {
|
|
3969
|
+
/**
|
|
3970
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
3971
|
+
*/
|
|
3972
|
+
text?: string
|
|
3973
|
+
/**
|
|
3974
|
+
* A channel to check this post against.
|
|
3975
|
+
*/
|
|
3976
|
+
channelId: string
|
|
3977
|
+
}, {
|
|
3978
|
+
/**
|
|
3979
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
3980
|
+
*/
|
|
3981
|
+
text?: string
|
|
3982
|
+
/**
|
|
3983
|
+
* A channel to check this post against.
|
|
3984
|
+
*/
|
|
3985
|
+
channelId: string
|
|
3986
|
+
}]|[{
|
|
3987
|
+
/**
|
|
3988
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
3989
|
+
*/
|
|
3990
|
+
text?: string
|
|
3991
|
+
/**
|
|
3992
|
+
* A channel to check this post against.
|
|
3993
|
+
*/
|
|
3994
|
+
channelId: string
|
|
3995
|
+
}, {
|
|
3996
|
+
/**
|
|
3997
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
3998
|
+
*/
|
|
3999
|
+
text?: string
|
|
4000
|
+
/**
|
|
4001
|
+
* A channel to check this post against.
|
|
4002
|
+
*/
|
|
4003
|
+
channelId: string
|
|
4004
|
+
}, {
|
|
4005
|
+
/**
|
|
4006
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4007
|
+
*/
|
|
4008
|
+
text?: string
|
|
4009
|
+
/**
|
|
4010
|
+
* A channel to check this post against.
|
|
4011
|
+
*/
|
|
4012
|
+
channelId: string
|
|
4013
|
+
}, {
|
|
4014
|
+
/**
|
|
4015
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4016
|
+
*/
|
|
4017
|
+
text?: string
|
|
4018
|
+
/**
|
|
4019
|
+
* A channel to check this post against.
|
|
4020
|
+
*/
|
|
4021
|
+
channelId: string
|
|
4022
|
+
}, {
|
|
4023
|
+
/**
|
|
4024
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4025
|
+
*/
|
|
4026
|
+
text?: string
|
|
4027
|
+
/**
|
|
4028
|
+
* A channel to check this post against.
|
|
4029
|
+
*/
|
|
4030
|
+
channelId: string
|
|
4031
|
+
}, {
|
|
4032
|
+
/**
|
|
4033
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4034
|
+
*/
|
|
4035
|
+
text?: string
|
|
4036
|
+
/**
|
|
4037
|
+
* A channel to check this post against.
|
|
4038
|
+
*/
|
|
4039
|
+
channelId: string
|
|
4040
|
+
}, {
|
|
4041
|
+
/**
|
|
4042
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4043
|
+
*/
|
|
4044
|
+
text?: string
|
|
4045
|
+
/**
|
|
4046
|
+
* A channel to check this post against.
|
|
4047
|
+
*/
|
|
4048
|
+
channelId: string
|
|
4049
|
+
}, {
|
|
4050
|
+
/**
|
|
4051
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4052
|
+
*/
|
|
4053
|
+
text?: string
|
|
4054
|
+
/**
|
|
4055
|
+
* A channel to check this post against.
|
|
4056
|
+
*/
|
|
4057
|
+
channelId: string
|
|
4058
|
+
}, {
|
|
4059
|
+
/**
|
|
4060
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4061
|
+
*/
|
|
4062
|
+
text?: string
|
|
4063
|
+
/**
|
|
4064
|
+
* A channel to check this post against.
|
|
4065
|
+
*/
|
|
4066
|
+
channelId: string
|
|
4067
|
+
}, {
|
|
4068
|
+
/**
|
|
4069
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4070
|
+
*/
|
|
4071
|
+
text?: string
|
|
4072
|
+
/**
|
|
4073
|
+
* A channel to check this post against.
|
|
4074
|
+
*/
|
|
4075
|
+
channelId: string
|
|
4076
|
+
}, {
|
|
4077
|
+
/**
|
|
4078
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4079
|
+
*/
|
|
4080
|
+
text?: string
|
|
4081
|
+
/**
|
|
4082
|
+
* A channel to check this post against.
|
|
4083
|
+
*/
|
|
4084
|
+
channelId: string
|
|
4085
|
+
}]|[{
|
|
4086
|
+
/**
|
|
4087
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4088
|
+
*/
|
|
4089
|
+
text?: string
|
|
4090
|
+
/**
|
|
4091
|
+
* A channel to check this post against.
|
|
4092
|
+
*/
|
|
4093
|
+
channelId: string
|
|
4094
|
+
}, {
|
|
4095
|
+
/**
|
|
4096
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4097
|
+
*/
|
|
4098
|
+
text?: string
|
|
4099
|
+
/**
|
|
4100
|
+
* A channel to check this post against.
|
|
4101
|
+
*/
|
|
4102
|
+
channelId: string
|
|
4103
|
+
}, {
|
|
4104
|
+
/**
|
|
4105
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4106
|
+
*/
|
|
4107
|
+
text?: string
|
|
4108
|
+
/**
|
|
4109
|
+
* A channel to check this post against.
|
|
4110
|
+
*/
|
|
4111
|
+
channelId: string
|
|
4112
|
+
}, {
|
|
4113
|
+
/**
|
|
4114
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4115
|
+
*/
|
|
4116
|
+
text?: string
|
|
4117
|
+
/**
|
|
4118
|
+
* A channel to check this post against.
|
|
4119
|
+
*/
|
|
4120
|
+
channelId: string
|
|
4121
|
+
}, {
|
|
4122
|
+
/**
|
|
4123
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4124
|
+
*/
|
|
4125
|
+
text?: string
|
|
4126
|
+
/**
|
|
4127
|
+
* A channel to check this post against.
|
|
4128
|
+
*/
|
|
4129
|
+
channelId: string
|
|
4130
|
+
}, {
|
|
4131
|
+
/**
|
|
4132
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4133
|
+
*/
|
|
4134
|
+
text?: string
|
|
4135
|
+
/**
|
|
4136
|
+
* A channel to check this post against.
|
|
4137
|
+
*/
|
|
4138
|
+
channelId: string
|
|
4139
|
+
}, {
|
|
4140
|
+
/**
|
|
4141
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4142
|
+
*/
|
|
4143
|
+
text?: string
|
|
4144
|
+
/**
|
|
4145
|
+
* A channel to check this post against.
|
|
4146
|
+
*/
|
|
4147
|
+
channelId: string
|
|
4148
|
+
}, {
|
|
4149
|
+
/**
|
|
4150
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4151
|
+
*/
|
|
4152
|
+
text?: string
|
|
4153
|
+
/**
|
|
4154
|
+
* A channel to check this post against.
|
|
4155
|
+
*/
|
|
4156
|
+
channelId: string
|
|
4157
|
+
}, {
|
|
4158
|
+
/**
|
|
4159
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4160
|
+
*/
|
|
4161
|
+
text?: string
|
|
4162
|
+
/**
|
|
4163
|
+
* A channel to check this post against.
|
|
4164
|
+
*/
|
|
4165
|
+
channelId: string
|
|
4166
|
+
}, {
|
|
4167
|
+
/**
|
|
4168
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4169
|
+
*/
|
|
4170
|
+
text?: string
|
|
4171
|
+
/**
|
|
4172
|
+
* A channel to check this post against.
|
|
4173
|
+
*/
|
|
4174
|
+
channelId: string
|
|
4175
|
+
}, {
|
|
4176
|
+
/**
|
|
4177
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4178
|
+
*/
|
|
4179
|
+
text?: string
|
|
4180
|
+
/**
|
|
4181
|
+
* A channel to check this post against.
|
|
4182
|
+
*/
|
|
4183
|
+
channelId: string
|
|
4184
|
+
}, {
|
|
4185
|
+
/**
|
|
4186
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4187
|
+
*/
|
|
4188
|
+
text?: string
|
|
4189
|
+
/**
|
|
4190
|
+
* A channel to check this post against.
|
|
4191
|
+
*/
|
|
4192
|
+
channelId: string
|
|
4193
|
+
}]|[{
|
|
4194
|
+
/**
|
|
4195
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4196
|
+
*/
|
|
4197
|
+
text?: string
|
|
4198
|
+
/**
|
|
4199
|
+
* A channel to check this post against.
|
|
4200
|
+
*/
|
|
4201
|
+
channelId: string
|
|
4202
|
+
}, {
|
|
4203
|
+
/**
|
|
4204
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4205
|
+
*/
|
|
4206
|
+
text?: string
|
|
4207
|
+
/**
|
|
4208
|
+
* A channel to check this post against.
|
|
4209
|
+
*/
|
|
4210
|
+
channelId: string
|
|
4211
|
+
}, {
|
|
4212
|
+
/**
|
|
4213
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4214
|
+
*/
|
|
4215
|
+
text?: string
|
|
4216
|
+
/**
|
|
4217
|
+
* A channel to check this post against.
|
|
4218
|
+
*/
|
|
4219
|
+
channelId: string
|
|
4220
|
+
}, {
|
|
4221
|
+
/**
|
|
4222
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4223
|
+
*/
|
|
4224
|
+
text?: string
|
|
4225
|
+
/**
|
|
4226
|
+
* A channel to check this post against.
|
|
4227
|
+
*/
|
|
4228
|
+
channelId: string
|
|
4229
|
+
}, {
|
|
4230
|
+
/**
|
|
4231
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4232
|
+
*/
|
|
4233
|
+
text?: string
|
|
4234
|
+
/**
|
|
4235
|
+
* A channel to check this post against.
|
|
4236
|
+
*/
|
|
4237
|
+
channelId: string
|
|
4238
|
+
}, {
|
|
4239
|
+
/**
|
|
4240
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4241
|
+
*/
|
|
4242
|
+
text?: string
|
|
4243
|
+
/**
|
|
4244
|
+
* A channel to check this post against.
|
|
4245
|
+
*/
|
|
4246
|
+
channelId: string
|
|
4247
|
+
}, {
|
|
4248
|
+
/**
|
|
4249
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4250
|
+
*/
|
|
4251
|
+
text?: string
|
|
4252
|
+
/**
|
|
4253
|
+
* A channel to check this post against.
|
|
4254
|
+
*/
|
|
4255
|
+
channelId: string
|
|
4256
|
+
}, {
|
|
4257
|
+
/**
|
|
4258
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4259
|
+
*/
|
|
4260
|
+
text?: string
|
|
4261
|
+
/**
|
|
4262
|
+
* A channel to check this post against.
|
|
4263
|
+
*/
|
|
4264
|
+
channelId: string
|
|
4265
|
+
}, {
|
|
4266
|
+
/**
|
|
4267
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4268
|
+
*/
|
|
4269
|
+
text?: string
|
|
4270
|
+
/**
|
|
4271
|
+
* A channel to check this post against.
|
|
4272
|
+
*/
|
|
4273
|
+
channelId: string
|
|
4274
|
+
}, {
|
|
4275
|
+
/**
|
|
4276
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4277
|
+
*/
|
|
4278
|
+
text?: string
|
|
4279
|
+
/**
|
|
4280
|
+
* A channel to check this post against.
|
|
4281
|
+
*/
|
|
4282
|
+
channelId: string
|
|
4283
|
+
}, {
|
|
4284
|
+
/**
|
|
4285
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4286
|
+
*/
|
|
4287
|
+
text?: string
|
|
4288
|
+
/**
|
|
4289
|
+
* A channel to check this post against.
|
|
4290
|
+
*/
|
|
4291
|
+
channelId: string
|
|
4292
|
+
}, {
|
|
4293
|
+
/**
|
|
4294
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4295
|
+
*/
|
|
4296
|
+
text?: string
|
|
4297
|
+
/**
|
|
4298
|
+
* A channel to check this post against.
|
|
4299
|
+
*/
|
|
4300
|
+
channelId: string
|
|
4301
|
+
}, {
|
|
4302
|
+
/**
|
|
4303
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4304
|
+
*/
|
|
4305
|
+
text?: string
|
|
4306
|
+
/**
|
|
4307
|
+
* A channel to check this post against.
|
|
4308
|
+
*/
|
|
4309
|
+
channelId: string
|
|
4310
|
+
}]|[{
|
|
4311
|
+
/**
|
|
4312
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4313
|
+
*/
|
|
4314
|
+
text?: string
|
|
4315
|
+
/**
|
|
4316
|
+
* A channel to check this post against.
|
|
4317
|
+
*/
|
|
4318
|
+
channelId: string
|
|
4319
|
+
}, {
|
|
4320
|
+
/**
|
|
4321
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4322
|
+
*/
|
|
4323
|
+
text?: string
|
|
4324
|
+
/**
|
|
4325
|
+
* A channel to check this post against.
|
|
4326
|
+
*/
|
|
4327
|
+
channelId: string
|
|
4328
|
+
}, {
|
|
4329
|
+
/**
|
|
4330
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4331
|
+
*/
|
|
4332
|
+
text?: string
|
|
4333
|
+
/**
|
|
4334
|
+
* A channel to check this post against.
|
|
4335
|
+
*/
|
|
4336
|
+
channelId: string
|
|
4337
|
+
}, {
|
|
4338
|
+
/**
|
|
4339
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4340
|
+
*/
|
|
4341
|
+
text?: string
|
|
4342
|
+
/**
|
|
4343
|
+
* A channel to check this post against.
|
|
4344
|
+
*/
|
|
4345
|
+
channelId: string
|
|
4346
|
+
}, {
|
|
4347
|
+
/**
|
|
4348
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4349
|
+
*/
|
|
4350
|
+
text?: string
|
|
4351
|
+
/**
|
|
4352
|
+
* A channel to check this post against.
|
|
4353
|
+
*/
|
|
4354
|
+
channelId: string
|
|
4355
|
+
}, {
|
|
4356
|
+
/**
|
|
4357
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4358
|
+
*/
|
|
4359
|
+
text?: string
|
|
4360
|
+
/**
|
|
4361
|
+
* A channel to check this post against.
|
|
4362
|
+
*/
|
|
4363
|
+
channelId: string
|
|
4364
|
+
}, {
|
|
4365
|
+
/**
|
|
4366
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4367
|
+
*/
|
|
4368
|
+
text?: string
|
|
4369
|
+
/**
|
|
4370
|
+
* A channel to check this post against.
|
|
4371
|
+
*/
|
|
4372
|
+
channelId: string
|
|
4373
|
+
}, {
|
|
4374
|
+
/**
|
|
4375
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4376
|
+
*/
|
|
4377
|
+
text?: string
|
|
4378
|
+
/**
|
|
4379
|
+
* A channel to check this post against.
|
|
4380
|
+
*/
|
|
4381
|
+
channelId: string
|
|
4382
|
+
}, {
|
|
4383
|
+
/**
|
|
4384
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4385
|
+
*/
|
|
4386
|
+
text?: string
|
|
4387
|
+
/**
|
|
4388
|
+
* A channel to check this post against.
|
|
4389
|
+
*/
|
|
4390
|
+
channelId: string
|
|
4391
|
+
}, {
|
|
4392
|
+
/**
|
|
4393
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4394
|
+
*/
|
|
4395
|
+
text?: string
|
|
4396
|
+
/**
|
|
4397
|
+
* A channel to check this post against.
|
|
4398
|
+
*/
|
|
4399
|
+
channelId: string
|
|
4400
|
+
}, {
|
|
4401
|
+
/**
|
|
4402
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4403
|
+
*/
|
|
4404
|
+
text?: string
|
|
4405
|
+
/**
|
|
4406
|
+
* A channel to check this post against.
|
|
4407
|
+
*/
|
|
4408
|
+
channelId: string
|
|
4409
|
+
}, {
|
|
4410
|
+
/**
|
|
4411
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4412
|
+
*/
|
|
4413
|
+
text?: string
|
|
4414
|
+
/**
|
|
4415
|
+
* A channel to check this post against.
|
|
4416
|
+
*/
|
|
4417
|
+
channelId: string
|
|
4418
|
+
}, {
|
|
4419
|
+
/**
|
|
4420
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4421
|
+
*/
|
|
4422
|
+
text?: string
|
|
4423
|
+
/**
|
|
4424
|
+
* A channel to check this post against.
|
|
4425
|
+
*/
|
|
4426
|
+
channelId: string
|
|
4427
|
+
}, {
|
|
4428
|
+
/**
|
|
4429
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4430
|
+
*/
|
|
4431
|
+
text?: string
|
|
4432
|
+
/**
|
|
4433
|
+
* A channel to check this post against.
|
|
4434
|
+
*/
|
|
4435
|
+
channelId: string
|
|
4436
|
+
}]|[{
|
|
4437
|
+
/**
|
|
4438
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4439
|
+
*/
|
|
4440
|
+
text?: string
|
|
4441
|
+
/**
|
|
4442
|
+
* A channel to check this post against.
|
|
4443
|
+
*/
|
|
4444
|
+
channelId: string
|
|
4445
|
+
}, {
|
|
4446
|
+
/**
|
|
4447
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4448
|
+
*/
|
|
4449
|
+
text?: string
|
|
4450
|
+
/**
|
|
4451
|
+
* A channel to check this post against.
|
|
4452
|
+
*/
|
|
4453
|
+
channelId: string
|
|
4454
|
+
}, {
|
|
4455
|
+
/**
|
|
4456
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4457
|
+
*/
|
|
4458
|
+
text?: string
|
|
4459
|
+
/**
|
|
4460
|
+
* A channel to check this post against.
|
|
4461
|
+
*/
|
|
4462
|
+
channelId: string
|
|
4463
|
+
}, {
|
|
4464
|
+
/**
|
|
4465
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4466
|
+
*/
|
|
4467
|
+
text?: string
|
|
4468
|
+
/**
|
|
4469
|
+
* A channel to check this post against.
|
|
4470
|
+
*/
|
|
4471
|
+
channelId: string
|
|
4472
|
+
}, {
|
|
4473
|
+
/**
|
|
4474
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4475
|
+
*/
|
|
4476
|
+
text?: string
|
|
4477
|
+
/**
|
|
4478
|
+
* A channel to check this post against.
|
|
4479
|
+
*/
|
|
4480
|
+
channelId: string
|
|
4481
|
+
}, {
|
|
4482
|
+
/**
|
|
4483
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4484
|
+
*/
|
|
4485
|
+
text?: string
|
|
4486
|
+
/**
|
|
4487
|
+
* A channel to check this post against.
|
|
4488
|
+
*/
|
|
4489
|
+
channelId: string
|
|
4490
|
+
}, {
|
|
4491
|
+
/**
|
|
4492
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4493
|
+
*/
|
|
4494
|
+
text?: string
|
|
4495
|
+
/**
|
|
4496
|
+
* A channel to check this post against.
|
|
4497
|
+
*/
|
|
4498
|
+
channelId: string
|
|
4499
|
+
}, {
|
|
4500
|
+
/**
|
|
4501
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4502
|
+
*/
|
|
4503
|
+
text?: string
|
|
4504
|
+
/**
|
|
4505
|
+
* A channel to check this post against.
|
|
4506
|
+
*/
|
|
4507
|
+
channelId: string
|
|
4508
|
+
}, {
|
|
4509
|
+
/**
|
|
4510
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4511
|
+
*/
|
|
4512
|
+
text?: string
|
|
4513
|
+
/**
|
|
4514
|
+
* A channel to check this post against.
|
|
4515
|
+
*/
|
|
4516
|
+
channelId: string
|
|
4517
|
+
}, {
|
|
4518
|
+
/**
|
|
4519
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4520
|
+
*/
|
|
4521
|
+
text?: string
|
|
4522
|
+
/**
|
|
4523
|
+
* A channel to check this post against.
|
|
4524
|
+
*/
|
|
4525
|
+
channelId: string
|
|
4526
|
+
}, {
|
|
4527
|
+
/**
|
|
4528
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4529
|
+
*/
|
|
4530
|
+
text?: string
|
|
4531
|
+
/**
|
|
4532
|
+
* A channel to check this post against.
|
|
4533
|
+
*/
|
|
4534
|
+
channelId: string
|
|
4535
|
+
}, {
|
|
4536
|
+
/**
|
|
4537
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4538
|
+
*/
|
|
4539
|
+
text?: string
|
|
4540
|
+
/**
|
|
4541
|
+
* A channel to check this post against.
|
|
4542
|
+
*/
|
|
4543
|
+
channelId: string
|
|
4544
|
+
}, {
|
|
4545
|
+
/**
|
|
4546
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4547
|
+
*/
|
|
4548
|
+
text?: string
|
|
4549
|
+
/**
|
|
4550
|
+
* A channel to check this post against.
|
|
4551
|
+
*/
|
|
4552
|
+
channelId: string
|
|
4553
|
+
}, {
|
|
4554
|
+
/**
|
|
4555
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4556
|
+
*/
|
|
4557
|
+
text?: string
|
|
4558
|
+
/**
|
|
4559
|
+
* A channel to check this post against.
|
|
4560
|
+
*/
|
|
4561
|
+
channelId: string
|
|
4562
|
+
}, {
|
|
4563
|
+
/**
|
|
4564
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4565
|
+
*/
|
|
4566
|
+
text?: string
|
|
4567
|
+
/**
|
|
4568
|
+
* A channel to check this post against.
|
|
4569
|
+
*/
|
|
4570
|
+
channelId: string
|
|
4571
|
+
}]|[{
|
|
4572
|
+
/**
|
|
4573
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4574
|
+
*/
|
|
4575
|
+
text?: string
|
|
4576
|
+
/**
|
|
4577
|
+
* A channel to check this post against.
|
|
4578
|
+
*/
|
|
4579
|
+
channelId: string
|
|
4580
|
+
}, {
|
|
4581
|
+
/**
|
|
4582
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4583
|
+
*/
|
|
4584
|
+
text?: string
|
|
4585
|
+
/**
|
|
4586
|
+
* A channel to check this post against.
|
|
4587
|
+
*/
|
|
4588
|
+
channelId: string
|
|
4589
|
+
}, {
|
|
4590
|
+
/**
|
|
4591
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4592
|
+
*/
|
|
4593
|
+
text?: string
|
|
4594
|
+
/**
|
|
4595
|
+
* A channel to check this post against.
|
|
4596
|
+
*/
|
|
4597
|
+
channelId: string
|
|
4598
|
+
}, {
|
|
4599
|
+
/**
|
|
4600
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4601
|
+
*/
|
|
4602
|
+
text?: string
|
|
4603
|
+
/**
|
|
4604
|
+
* A channel to check this post against.
|
|
4605
|
+
*/
|
|
4606
|
+
channelId: string
|
|
4607
|
+
}, {
|
|
4608
|
+
/**
|
|
4609
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4610
|
+
*/
|
|
4611
|
+
text?: string
|
|
4612
|
+
/**
|
|
4613
|
+
* A channel to check this post against.
|
|
4614
|
+
*/
|
|
4615
|
+
channelId: string
|
|
4616
|
+
}, {
|
|
4617
|
+
/**
|
|
4618
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4619
|
+
*/
|
|
4620
|
+
text?: string
|
|
4621
|
+
/**
|
|
4622
|
+
* A channel to check this post against.
|
|
4623
|
+
*/
|
|
4624
|
+
channelId: string
|
|
4625
|
+
}, {
|
|
4626
|
+
/**
|
|
4627
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4628
|
+
*/
|
|
4629
|
+
text?: string
|
|
4630
|
+
/**
|
|
4631
|
+
* A channel to check this post against.
|
|
4632
|
+
*/
|
|
4633
|
+
channelId: string
|
|
4634
|
+
}, {
|
|
4635
|
+
/**
|
|
4636
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4637
|
+
*/
|
|
4638
|
+
text?: string
|
|
4639
|
+
/**
|
|
4640
|
+
* A channel to check this post against.
|
|
4641
|
+
*/
|
|
4642
|
+
channelId: string
|
|
4643
|
+
}, {
|
|
4644
|
+
/**
|
|
4645
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4646
|
+
*/
|
|
4647
|
+
text?: string
|
|
4648
|
+
/**
|
|
4649
|
+
* A channel to check this post against.
|
|
4650
|
+
*/
|
|
4651
|
+
channelId: string
|
|
4652
|
+
}, {
|
|
4653
|
+
/**
|
|
4654
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4655
|
+
*/
|
|
4656
|
+
text?: string
|
|
4657
|
+
/**
|
|
4658
|
+
* A channel to check this post against.
|
|
4659
|
+
*/
|
|
4660
|
+
channelId: string
|
|
4661
|
+
}, {
|
|
4662
|
+
/**
|
|
4663
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4664
|
+
*/
|
|
4665
|
+
text?: string
|
|
4666
|
+
/**
|
|
4667
|
+
* A channel to check this post against.
|
|
4668
|
+
*/
|
|
4669
|
+
channelId: string
|
|
4670
|
+
}, {
|
|
4671
|
+
/**
|
|
4672
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4673
|
+
*/
|
|
4674
|
+
text?: string
|
|
4675
|
+
/**
|
|
4676
|
+
* A channel to check this post against.
|
|
4677
|
+
*/
|
|
4678
|
+
channelId: string
|
|
4679
|
+
}, {
|
|
4680
|
+
/**
|
|
4681
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4682
|
+
*/
|
|
4683
|
+
text?: string
|
|
4684
|
+
/**
|
|
4685
|
+
* A channel to check this post against.
|
|
4686
|
+
*/
|
|
4687
|
+
channelId: string
|
|
4688
|
+
}, {
|
|
4689
|
+
/**
|
|
4690
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4691
|
+
*/
|
|
4692
|
+
text?: string
|
|
4693
|
+
/**
|
|
4694
|
+
* A channel to check this post against.
|
|
4695
|
+
*/
|
|
4696
|
+
channelId: string
|
|
4697
|
+
}, {
|
|
4698
|
+
/**
|
|
4699
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4700
|
+
*/
|
|
4701
|
+
text?: string
|
|
4702
|
+
/**
|
|
4703
|
+
* A channel to check this post against.
|
|
4704
|
+
*/
|
|
4705
|
+
channelId: string
|
|
4706
|
+
}, {
|
|
4707
|
+
/**
|
|
4708
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4709
|
+
*/
|
|
4710
|
+
text?: string
|
|
4711
|
+
/**
|
|
4712
|
+
* A channel to check this post against.
|
|
4713
|
+
*/
|
|
4714
|
+
channelId: string
|
|
4715
|
+
}]|[{
|
|
4716
|
+
/**
|
|
4717
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4718
|
+
*/
|
|
4719
|
+
text?: string
|
|
4720
|
+
/**
|
|
4721
|
+
* A channel to check this post against.
|
|
4722
|
+
*/
|
|
4723
|
+
channelId: string
|
|
4724
|
+
}, {
|
|
4725
|
+
/**
|
|
4726
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4727
|
+
*/
|
|
4728
|
+
text?: string
|
|
4729
|
+
/**
|
|
4730
|
+
* A channel to check this post against.
|
|
4731
|
+
*/
|
|
4732
|
+
channelId: string
|
|
4733
|
+
}, {
|
|
4734
|
+
/**
|
|
4735
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4736
|
+
*/
|
|
4737
|
+
text?: string
|
|
4738
|
+
/**
|
|
4739
|
+
* A channel to check this post against.
|
|
4740
|
+
*/
|
|
4741
|
+
channelId: string
|
|
4742
|
+
}, {
|
|
4743
|
+
/**
|
|
4744
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4745
|
+
*/
|
|
4746
|
+
text?: string
|
|
4747
|
+
/**
|
|
4748
|
+
* A channel to check this post against.
|
|
4749
|
+
*/
|
|
4750
|
+
channelId: string
|
|
4751
|
+
}, {
|
|
4752
|
+
/**
|
|
4753
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4754
|
+
*/
|
|
4755
|
+
text?: string
|
|
4756
|
+
/**
|
|
4757
|
+
* A channel to check this post against.
|
|
4758
|
+
*/
|
|
4759
|
+
channelId: string
|
|
4760
|
+
}, {
|
|
4761
|
+
/**
|
|
4762
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4763
|
+
*/
|
|
4764
|
+
text?: string
|
|
4765
|
+
/**
|
|
4766
|
+
* A channel to check this post against.
|
|
4767
|
+
*/
|
|
4768
|
+
channelId: string
|
|
4769
|
+
}, {
|
|
4770
|
+
/**
|
|
4771
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4772
|
+
*/
|
|
4773
|
+
text?: string
|
|
4774
|
+
/**
|
|
4775
|
+
* A channel to check this post against.
|
|
4776
|
+
*/
|
|
4777
|
+
channelId: string
|
|
4778
|
+
}, {
|
|
4779
|
+
/**
|
|
4780
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4781
|
+
*/
|
|
4782
|
+
text?: string
|
|
4783
|
+
/**
|
|
4784
|
+
* A channel to check this post against.
|
|
4785
|
+
*/
|
|
4786
|
+
channelId: string
|
|
4787
|
+
}, {
|
|
4788
|
+
/**
|
|
4789
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4790
|
+
*/
|
|
4791
|
+
text?: string
|
|
4792
|
+
/**
|
|
4793
|
+
* A channel to check this post against.
|
|
4794
|
+
*/
|
|
4795
|
+
channelId: string
|
|
4796
|
+
}, {
|
|
4797
|
+
/**
|
|
4798
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4799
|
+
*/
|
|
4800
|
+
text?: string
|
|
4801
|
+
/**
|
|
4802
|
+
* A channel to check this post against.
|
|
4803
|
+
*/
|
|
4804
|
+
channelId: string
|
|
4805
|
+
}, {
|
|
4806
|
+
/**
|
|
4807
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4808
|
+
*/
|
|
4809
|
+
text?: string
|
|
4810
|
+
/**
|
|
4811
|
+
* A channel to check this post against.
|
|
4812
|
+
*/
|
|
4813
|
+
channelId: string
|
|
4814
|
+
}, {
|
|
4815
|
+
/**
|
|
4816
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4817
|
+
*/
|
|
4818
|
+
text?: string
|
|
4819
|
+
/**
|
|
4820
|
+
* A channel to check this post against.
|
|
4821
|
+
*/
|
|
4822
|
+
channelId: string
|
|
4823
|
+
}, {
|
|
4824
|
+
/**
|
|
4825
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4826
|
+
*/
|
|
4827
|
+
text?: string
|
|
4828
|
+
/**
|
|
4829
|
+
* A channel to check this post against.
|
|
4830
|
+
*/
|
|
4831
|
+
channelId: string
|
|
4832
|
+
}, {
|
|
4833
|
+
/**
|
|
4834
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4835
|
+
*/
|
|
4836
|
+
text?: string
|
|
4837
|
+
/**
|
|
4838
|
+
* A channel to check this post against.
|
|
4839
|
+
*/
|
|
4840
|
+
channelId: string
|
|
4841
|
+
}, {
|
|
4842
|
+
/**
|
|
4843
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4844
|
+
*/
|
|
4845
|
+
text?: string
|
|
4846
|
+
/**
|
|
4847
|
+
* A channel to check this post against.
|
|
4848
|
+
*/
|
|
4849
|
+
channelId: string
|
|
4850
|
+
}, {
|
|
4851
|
+
/**
|
|
4852
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4853
|
+
*/
|
|
4854
|
+
text?: string
|
|
4855
|
+
/**
|
|
4856
|
+
* A channel to check this post against.
|
|
4857
|
+
*/
|
|
4858
|
+
channelId: string
|
|
4859
|
+
}, {
|
|
4860
|
+
/**
|
|
4861
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4862
|
+
*/
|
|
4863
|
+
text?: string
|
|
4864
|
+
/**
|
|
4865
|
+
* A channel to check this post against.
|
|
4866
|
+
*/
|
|
4867
|
+
channelId: string
|
|
4868
|
+
}]|[{
|
|
4869
|
+
/**
|
|
4870
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4871
|
+
*/
|
|
4872
|
+
text?: string
|
|
4873
|
+
/**
|
|
4874
|
+
* A channel to check this post against.
|
|
4875
|
+
*/
|
|
4876
|
+
channelId: string
|
|
4877
|
+
}, {
|
|
4878
|
+
/**
|
|
4879
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4880
|
+
*/
|
|
4881
|
+
text?: string
|
|
4882
|
+
/**
|
|
4883
|
+
* A channel to check this post against.
|
|
4884
|
+
*/
|
|
4885
|
+
channelId: string
|
|
4886
|
+
}, {
|
|
4887
|
+
/**
|
|
4888
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4889
|
+
*/
|
|
4890
|
+
text?: string
|
|
4891
|
+
/**
|
|
4892
|
+
* A channel to check this post against.
|
|
4893
|
+
*/
|
|
4894
|
+
channelId: string
|
|
4895
|
+
}, {
|
|
4896
|
+
/**
|
|
4897
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4898
|
+
*/
|
|
4899
|
+
text?: string
|
|
4900
|
+
/**
|
|
4901
|
+
* A channel to check this post against.
|
|
4902
|
+
*/
|
|
4903
|
+
channelId: string
|
|
4904
|
+
}, {
|
|
4905
|
+
/**
|
|
4906
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4907
|
+
*/
|
|
4908
|
+
text?: string
|
|
4909
|
+
/**
|
|
4910
|
+
* A channel to check this post against.
|
|
4911
|
+
*/
|
|
4912
|
+
channelId: string
|
|
4913
|
+
}, {
|
|
4914
|
+
/**
|
|
4915
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4916
|
+
*/
|
|
4917
|
+
text?: string
|
|
4918
|
+
/**
|
|
4919
|
+
* A channel to check this post against.
|
|
4920
|
+
*/
|
|
4921
|
+
channelId: string
|
|
4922
|
+
}, {
|
|
4923
|
+
/**
|
|
4924
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4925
|
+
*/
|
|
4926
|
+
text?: string
|
|
4927
|
+
/**
|
|
4928
|
+
* A channel to check this post against.
|
|
4929
|
+
*/
|
|
4930
|
+
channelId: string
|
|
4931
|
+
}, {
|
|
4932
|
+
/**
|
|
4933
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4934
|
+
*/
|
|
4935
|
+
text?: string
|
|
4936
|
+
/**
|
|
4937
|
+
* A channel to check this post against.
|
|
4938
|
+
*/
|
|
4939
|
+
channelId: string
|
|
4940
|
+
}, {
|
|
4941
|
+
/**
|
|
4942
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4943
|
+
*/
|
|
4944
|
+
text?: string
|
|
4945
|
+
/**
|
|
4946
|
+
* A channel to check this post against.
|
|
4947
|
+
*/
|
|
4948
|
+
channelId: string
|
|
4949
|
+
}, {
|
|
4950
|
+
/**
|
|
4951
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4952
|
+
*/
|
|
4953
|
+
text?: string
|
|
4954
|
+
/**
|
|
4955
|
+
* A channel to check this post against.
|
|
4956
|
+
*/
|
|
4957
|
+
channelId: string
|
|
4958
|
+
}, {
|
|
4959
|
+
/**
|
|
4960
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4961
|
+
*/
|
|
4962
|
+
text?: string
|
|
4963
|
+
/**
|
|
4964
|
+
* A channel to check this post against.
|
|
4965
|
+
*/
|
|
4966
|
+
channelId: string
|
|
4967
|
+
}, {
|
|
4968
|
+
/**
|
|
4969
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4970
|
+
*/
|
|
4971
|
+
text?: string
|
|
4972
|
+
/**
|
|
4973
|
+
* A channel to check this post against.
|
|
4974
|
+
*/
|
|
4975
|
+
channelId: string
|
|
4976
|
+
}, {
|
|
4977
|
+
/**
|
|
4978
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4979
|
+
*/
|
|
4980
|
+
text?: string
|
|
4981
|
+
/**
|
|
4982
|
+
* A channel to check this post against.
|
|
4983
|
+
*/
|
|
4984
|
+
channelId: string
|
|
4985
|
+
}, {
|
|
4986
|
+
/**
|
|
4987
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4988
|
+
*/
|
|
4989
|
+
text?: string
|
|
4990
|
+
/**
|
|
4991
|
+
* A channel to check this post against.
|
|
4992
|
+
*/
|
|
4993
|
+
channelId: string
|
|
4994
|
+
}, {
|
|
4995
|
+
/**
|
|
4996
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
4997
|
+
*/
|
|
4998
|
+
text?: string
|
|
4999
|
+
/**
|
|
5000
|
+
* A channel to check this post against.
|
|
5001
|
+
*/
|
|
5002
|
+
channelId: string
|
|
5003
|
+
}, {
|
|
5004
|
+
/**
|
|
5005
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
5006
|
+
*/
|
|
5007
|
+
text?: string
|
|
5008
|
+
/**
|
|
5009
|
+
* A channel to check this post against.
|
|
5010
|
+
*/
|
|
5011
|
+
channelId: string
|
|
5012
|
+
}, {
|
|
5013
|
+
/**
|
|
5014
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
5015
|
+
*/
|
|
5016
|
+
text?: string
|
|
5017
|
+
/**
|
|
5018
|
+
* A channel to check this post against.
|
|
5019
|
+
*/
|
|
5020
|
+
channelId: string
|
|
5021
|
+
}, {
|
|
5022
|
+
/**
|
|
5023
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
5024
|
+
*/
|
|
5025
|
+
text?: string
|
|
5026
|
+
/**
|
|
5027
|
+
* A channel to check this post against.
|
|
5028
|
+
*/
|
|
5029
|
+
channelId: string
|
|
5030
|
+
}]|[{
|
|
5031
|
+
/**
|
|
5032
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
5033
|
+
*/
|
|
5034
|
+
text?: string
|
|
5035
|
+
/**
|
|
5036
|
+
* A channel to check this post against.
|
|
5037
|
+
*/
|
|
5038
|
+
channelId: string
|
|
5039
|
+
}, {
|
|
5040
|
+
/**
|
|
5041
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
5042
|
+
*/
|
|
5043
|
+
text?: string
|
|
5044
|
+
/**
|
|
5045
|
+
* A channel to check this post against.
|
|
5046
|
+
*/
|
|
5047
|
+
channelId: string
|
|
5048
|
+
}, {
|
|
5049
|
+
/**
|
|
5050
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
5051
|
+
*/
|
|
5052
|
+
text?: string
|
|
5053
|
+
/**
|
|
5054
|
+
* A channel to check this post against.
|
|
5055
|
+
*/
|
|
5056
|
+
channelId: string
|
|
5057
|
+
}, {
|
|
5058
|
+
/**
|
|
5059
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
5060
|
+
*/
|
|
5061
|
+
text?: string
|
|
5062
|
+
/**
|
|
5063
|
+
* A channel to check this post against.
|
|
5064
|
+
*/
|
|
5065
|
+
channelId: string
|
|
5066
|
+
}, {
|
|
5067
|
+
/**
|
|
5068
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
5069
|
+
*/
|
|
5070
|
+
text?: string
|
|
5071
|
+
/**
|
|
5072
|
+
* A channel to check this post against.
|
|
5073
|
+
*/
|
|
5074
|
+
channelId: string
|
|
5075
|
+
}, {
|
|
5076
|
+
/**
|
|
5077
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
5078
|
+
*/
|
|
5079
|
+
text?: string
|
|
5080
|
+
/**
|
|
5081
|
+
* A channel to check this post against.
|
|
5082
|
+
*/
|
|
5083
|
+
channelId: string
|
|
5084
|
+
}, {
|
|
5085
|
+
/**
|
|
5086
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
5087
|
+
*/
|
|
5088
|
+
text?: string
|
|
5089
|
+
/**
|
|
5090
|
+
* A channel to check this post against.
|
|
5091
|
+
*/
|
|
5092
|
+
channelId: string
|
|
5093
|
+
}, {
|
|
5094
|
+
/**
|
|
5095
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
5096
|
+
*/
|
|
5097
|
+
text?: string
|
|
5098
|
+
/**
|
|
5099
|
+
* A channel to check this post against.
|
|
5100
|
+
*/
|
|
5101
|
+
channelId: string
|
|
5102
|
+
}, {
|
|
5103
|
+
/**
|
|
5104
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
5105
|
+
*/
|
|
5106
|
+
text?: string
|
|
5107
|
+
/**
|
|
5108
|
+
* A channel to check this post against.
|
|
5109
|
+
*/
|
|
5110
|
+
channelId: string
|
|
5111
|
+
}, {
|
|
5112
|
+
/**
|
|
5113
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
5114
|
+
*/
|
|
5115
|
+
text?: string
|
|
5116
|
+
/**
|
|
5117
|
+
* A channel to check this post against.
|
|
5118
|
+
*/
|
|
5119
|
+
channelId: string
|
|
5120
|
+
}, {
|
|
5121
|
+
/**
|
|
5122
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
5123
|
+
*/
|
|
5124
|
+
text?: string
|
|
5125
|
+
/**
|
|
5126
|
+
* A channel to check this post against.
|
|
5127
|
+
*/
|
|
5128
|
+
channelId: string
|
|
5129
|
+
}, {
|
|
5130
|
+
/**
|
|
5131
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
5132
|
+
*/
|
|
5133
|
+
text?: string
|
|
5134
|
+
/**
|
|
5135
|
+
* A channel to check this post against.
|
|
5136
|
+
*/
|
|
5137
|
+
channelId: string
|
|
5138
|
+
}, {
|
|
5139
|
+
/**
|
|
5140
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
5141
|
+
*/
|
|
5142
|
+
text?: string
|
|
5143
|
+
/**
|
|
5144
|
+
* A channel to check this post against.
|
|
5145
|
+
*/
|
|
5146
|
+
channelId: string
|
|
5147
|
+
}, {
|
|
5148
|
+
/**
|
|
5149
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
5150
|
+
*/
|
|
5151
|
+
text?: string
|
|
5152
|
+
/**
|
|
5153
|
+
* A channel to check this post against.
|
|
5154
|
+
*/
|
|
5155
|
+
channelId: string
|
|
5156
|
+
}, {
|
|
5157
|
+
/**
|
|
5158
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
5159
|
+
*/
|
|
5160
|
+
text?: string
|
|
5161
|
+
/**
|
|
5162
|
+
* A channel to check this post against.
|
|
5163
|
+
*/
|
|
5164
|
+
channelId: string
|
|
5165
|
+
}, {
|
|
5166
|
+
/**
|
|
5167
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
5168
|
+
*/
|
|
5169
|
+
text?: string
|
|
5170
|
+
/**
|
|
5171
|
+
* A channel to check this post against.
|
|
5172
|
+
*/
|
|
5173
|
+
channelId: string
|
|
5174
|
+
}, {
|
|
5175
|
+
/**
|
|
5176
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
5177
|
+
*/
|
|
5178
|
+
text?: string
|
|
5179
|
+
/**
|
|
5180
|
+
* A channel to check this post against.
|
|
5181
|
+
*/
|
|
5182
|
+
channelId: string
|
|
5183
|
+
}, {
|
|
5184
|
+
/**
|
|
5185
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
5186
|
+
*/
|
|
5187
|
+
text?: string
|
|
5188
|
+
/**
|
|
5189
|
+
* A channel to check this post against.
|
|
5190
|
+
*/
|
|
5191
|
+
channelId: string
|
|
5192
|
+
}, {
|
|
5193
|
+
/**
|
|
5194
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
5195
|
+
*/
|
|
5196
|
+
text?: string
|
|
5197
|
+
/**
|
|
5198
|
+
* A channel to check this post against.
|
|
5199
|
+
*/
|
|
5200
|
+
channelId: string
|
|
5201
|
+
}]|[{
|
|
5202
|
+
/**
|
|
5203
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
5204
|
+
*/
|
|
5205
|
+
text?: string
|
|
5206
|
+
/**
|
|
5207
|
+
* A channel to check this post against.
|
|
5208
|
+
*/
|
|
5209
|
+
channelId: string
|
|
5210
|
+
}, {
|
|
5211
|
+
/**
|
|
5212
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
5213
|
+
*/
|
|
5214
|
+
text?: string
|
|
5215
|
+
/**
|
|
5216
|
+
* A channel to check this post against.
|
|
5217
|
+
*/
|
|
5218
|
+
channelId: string
|
|
5219
|
+
}, {
|
|
5220
|
+
/**
|
|
5221
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
5222
|
+
*/
|
|
5223
|
+
text?: string
|
|
5224
|
+
/**
|
|
5225
|
+
* A channel to check this post against.
|
|
5226
|
+
*/
|
|
5227
|
+
channelId: string
|
|
5228
|
+
}, {
|
|
5229
|
+
/**
|
|
5230
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
5231
|
+
*/
|
|
5232
|
+
text?: string
|
|
5233
|
+
/**
|
|
5234
|
+
* A channel to check this post against.
|
|
5235
|
+
*/
|
|
5236
|
+
channelId: string
|
|
5237
|
+
}, {
|
|
5238
|
+
/**
|
|
5239
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
5240
|
+
*/
|
|
5241
|
+
text?: string
|
|
5242
|
+
/**
|
|
5243
|
+
* A channel to check this post against.
|
|
5244
|
+
*/
|
|
5245
|
+
channelId: string
|
|
5246
|
+
}, {
|
|
5247
|
+
/**
|
|
5248
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
5249
|
+
*/
|
|
5250
|
+
text?: string
|
|
5251
|
+
/**
|
|
5252
|
+
* A channel to check this post against.
|
|
5253
|
+
*/
|
|
5254
|
+
channelId: string
|
|
5255
|
+
}, {
|
|
5256
|
+
/**
|
|
5257
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
5258
|
+
*/
|
|
5259
|
+
text?: string
|
|
5260
|
+
/**
|
|
5261
|
+
* A channel to check this post against.
|
|
5262
|
+
*/
|
|
5263
|
+
channelId: string
|
|
5264
|
+
}, {
|
|
5265
|
+
/**
|
|
5266
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
5267
|
+
*/
|
|
5268
|
+
text?: string
|
|
5269
|
+
/**
|
|
5270
|
+
* A channel to check this post against.
|
|
5271
|
+
*/
|
|
5272
|
+
channelId: string
|
|
5273
|
+
}, {
|
|
5274
|
+
/**
|
|
5275
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
5276
|
+
*/
|
|
5277
|
+
text?: string
|
|
5278
|
+
/**
|
|
5279
|
+
* A channel to check this post against.
|
|
5280
|
+
*/
|
|
5281
|
+
channelId: string
|
|
5282
|
+
}, {
|
|
5283
|
+
/**
|
|
5284
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
5285
|
+
*/
|
|
5286
|
+
text?: string
|
|
5287
|
+
/**
|
|
5288
|
+
* A channel to check this post against.
|
|
5289
|
+
*/
|
|
5290
|
+
channelId: string
|
|
5291
|
+
}, {
|
|
5292
|
+
/**
|
|
5293
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
5294
|
+
*/
|
|
5295
|
+
text?: string
|
|
5296
|
+
/**
|
|
5297
|
+
* A channel to check this post against.
|
|
5298
|
+
*/
|
|
5299
|
+
channelId: string
|
|
5300
|
+
}, {
|
|
5301
|
+
/**
|
|
5302
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
5303
|
+
*/
|
|
5304
|
+
text?: string
|
|
5305
|
+
/**
|
|
5306
|
+
* A channel to check this post against.
|
|
5307
|
+
*/
|
|
5308
|
+
channelId: string
|
|
5309
|
+
}, {
|
|
5310
|
+
/**
|
|
5311
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
5312
|
+
*/
|
|
5313
|
+
text?: string
|
|
5314
|
+
/**
|
|
5315
|
+
* A channel to check this post against.
|
|
5316
|
+
*/
|
|
5317
|
+
channelId: string
|
|
5318
|
+
}, {
|
|
5319
|
+
/**
|
|
5320
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
5321
|
+
*/
|
|
5322
|
+
text?: string
|
|
5323
|
+
/**
|
|
5324
|
+
* A channel to check this post against.
|
|
5325
|
+
*/
|
|
5326
|
+
channelId: string
|
|
5327
|
+
}, {
|
|
5328
|
+
/**
|
|
5329
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
5330
|
+
*/
|
|
5331
|
+
text?: string
|
|
5332
|
+
/**
|
|
5333
|
+
* A channel to check this post against.
|
|
5334
|
+
*/
|
|
5335
|
+
channelId: string
|
|
5336
|
+
}, {
|
|
5337
|
+
/**
|
|
5338
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
5339
|
+
*/
|
|
5340
|
+
text?: string
|
|
5341
|
+
/**
|
|
5342
|
+
* A channel to check this post against.
|
|
5343
|
+
*/
|
|
5344
|
+
channelId: string
|
|
5345
|
+
}, {
|
|
5346
|
+
/**
|
|
5347
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
5348
|
+
*/
|
|
5349
|
+
text?: string
|
|
5350
|
+
/**
|
|
5351
|
+
* A channel to check this post against.
|
|
5352
|
+
*/
|
|
5353
|
+
channelId: string
|
|
5354
|
+
}, {
|
|
5355
|
+
/**
|
|
5356
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
5357
|
+
*/
|
|
5358
|
+
text?: string
|
|
5359
|
+
/**
|
|
5360
|
+
* A channel to check this post against.
|
|
5361
|
+
*/
|
|
5362
|
+
channelId: string
|
|
5363
|
+
}, {
|
|
5364
|
+
/**
|
|
5365
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
5366
|
+
*/
|
|
5367
|
+
text?: string
|
|
5368
|
+
/**
|
|
5369
|
+
* A channel to check this post against.
|
|
5370
|
+
*/
|
|
5371
|
+
channelId: string
|
|
5372
|
+
}, {
|
|
5373
|
+
/**
|
|
5374
|
+
* The per-channel variant you intend to schedule, in markdown. Omit to check the post text as written.
|
|
5375
|
+
*/
|
|
5376
|
+
text?: string
|
|
5377
|
+
/**
|
|
5378
|
+
* A channel to check this post against.
|
|
5379
|
+
*/
|
|
5380
|
+
channelId: string
|
|
5381
|
+
}]
|
|
5382
|
+
/**
|
|
5383
|
+
* The slot you intend to use, ISO-8601. Only the daily ceiling depends on it; omit for "now".
|
|
5384
|
+
*/
|
|
5385
|
+
scheduledAt?: string
|
|
5386
|
+
}
|
|
5387
|
+
|
|
5388
|
+
export interface ContentPublicationsValidateOutput {
|
|
5389
|
+
/**
|
|
5390
|
+
* The post that was checked.
|
|
5391
|
+
*/
|
|
5392
|
+
postId: string
|
|
5393
|
+
/**
|
|
5394
|
+
* One result per requested channel, in the order they were given.
|
|
5395
|
+
*/
|
|
5396
|
+
channels: {
|
|
5397
|
+
/**
|
|
5398
|
+
* The markdown that was checked, exactly as it was given or stored.
|
|
5399
|
+
*/
|
|
5400
|
+
text: string
|
|
5401
|
+
/**
|
|
5402
|
+
* Everything wrong, all at once. Any entry with severity "error" means scheduling this would be refused — there is no separate flag to disagree with the list.
|
|
5403
|
+
*/
|
|
5404
|
+
issues: {
|
|
5405
|
+
/**
|
|
5406
|
+
* Stable machine code: text_empty, text_too_long, too_many_media, link_not_supported, media_missing, media_not_ready, media_not_supported, cost_unknown, daily_ceiling_exceeded.
|
|
5407
|
+
*/
|
|
5408
|
+
code: string
|
|
5409
|
+
/**
|
|
5410
|
+
* Which input the issue is about, when it is about one.
|
|
5411
|
+
*/
|
|
5412
|
+
field?: string
|
|
5413
|
+
/**
|
|
5414
|
+
* What is wrong, in a sentence you can show a person.
|
|
5415
|
+
*/
|
|
5416
|
+
message: string
|
|
5417
|
+
/**
|
|
5418
|
+
* `error` means scheduling would be refused or the publication would not go out. `warning` is advisory.
|
|
5419
|
+
*/
|
|
5420
|
+
severity: ("error" | "warning")
|
|
5421
|
+
}[]
|
|
5422
|
+
/**
|
|
5423
|
+
* The daily ceiling that was checked, or null when nothing knows one.
|
|
5424
|
+
*/
|
|
5425
|
+
ceiling: ({
|
|
5426
|
+
/**
|
|
5427
|
+
* How many publications this channel already has in that day, queued or done.
|
|
5428
|
+
*/
|
|
5429
|
+
used: number
|
|
5430
|
+
/**
|
|
5431
|
+
* Published posts this channel allows per day, or null when no figure is known.
|
|
5432
|
+
*/
|
|
5433
|
+
limit: (number | null)
|
|
5434
|
+
/**
|
|
5435
|
+
* Where the limit came from: `channel` an operator override, `adapter` a live figure from the network, `catalog` the built-in constant (INV-053).
|
|
5436
|
+
*/
|
|
5437
|
+
source: ("channel" | "adapter" | "catalog")
|
|
5438
|
+
} | null)
|
|
5439
|
+
/**
|
|
5440
|
+
* What this publication would cost in USD. On X a post carrying a link costs 13x a plain one ($0.20 against $0.015). Null means the cost cannot be computed, which blocks publishing.
|
|
5441
|
+
*/
|
|
5442
|
+
costUsd: (number | null)
|
|
5443
|
+
/**
|
|
5444
|
+
* The network behind that channel.
|
|
5445
|
+
*/
|
|
5446
|
+
network: string
|
|
5447
|
+
/**
|
|
5448
|
+
* The channel this result is for.
|
|
5449
|
+
*/
|
|
5450
|
+
channelId: string
|
|
5451
|
+
/**
|
|
5452
|
+
* Which rate produced costUsd: "plain", "link" or "free".
|
|
5453
|
+
*/
|
|
5454
|
+
costBasis: (string | null)
|
|
5455
|
+
/**
|
|
5456
|
+
* The channel as a person sees it.
|
|
5457
|
+
*/
|
|
5458
|
+
displayName: string
|
|
5459
|
+
/**
|
|
5460
|
+
* The text that would actually be published to this channel: the markdown flattened to plain network text — emphasis as styled characters, lists as bullets, links as "text (url)". Scheduling stores this string, so what you read here is what goes out, character for character. Length and cost are judged on it, not on the markdown.
|
|
5461
|
+
*/
|
|
5462
|
+
renderedText: string
|
|
5463
|
+
}[]
|
|
5464
|
+
}
|
|
5465
|
+
|
|
1504
5466
|
export interface DeploymentAlertCreateInput {
|
|
1505
5467
|
metric: ("cpu" | "memory" | "net_in" | "net_out" | "disk")
|
|
1506
5468
|
enabled?: boolean
|