@livechat/developer-studio-api 3.1.0 → 3.1.2
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/index.d.mts +1182 -190
- package/dist/index.d.ts +1182 -190
- package/dist/index.js +207 -76
- package/dist/index.mjs +201 -73
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as shopify_api_node from 'shopify-api-node';
|
|
2
|
+
import { WebhookTopic, IOrder } from 'shopify-api-node';
|
|
2
3
|
import * as axios from 'axios';
|
|
3
4
|
import { AxiosRequestConfig } from 'axios';
|
|
4
5
|
import { z } from 'zod';
|
|
@@ -529,7 +530,7 @@ interface TextClientOptions extends TextClientAuthorization {
|
|
|
529
530
|
declare const textClientInstance: axios.AxiosInstance;
|
|
530
531
|
declare function getTextClientAuthorization(req: {
|
|
531
532
|
headers: Record<string, string | string[] | undefined> | Headers;
|
|
532
|
-
}
|
|
533
|
+
}): TextClientAuthorization;
|
|
533
534
|
declare function getTextClientConfig(option?: TextClientOptions): AxiosRequestConfig;
|
|
534
535
|
declare function initTextClient(baseUrl?: string, token?: string): void;
|
|
535
536
|
declare function updateTextClient(baseUrl?: string, token?: string): void;
|
|
@@ -729,6 +730,26 @@ interface MailchimpListWebhook {
|
|
|
729
730
|
api: boolean;
|
|
730
731
|
};
|
|
731
732
|
}
|
|
733
|
+
type MailchimpWebhookEvents = keyof MailchimpListWebhook["events"];
|
|
734
|
+
|
|
735
|
+
interface MailchimpWebhookDataBase<TPayload = unknown> {
|
|
736
|
+
type: MailchimpWebhookEvents;
|
|
737
|
+
fireAt: string;
|
|
738
|
+
data: {
|
|
739
|
+
id: string;
|
|
740
|
+
list_id: string;
|
|
741
|
+
email: string;
|
|
742
|
+
email_type: string;
|
|
743
|
+
} & TPayload;
|
|
744
|
+
}
|
|
745
|
+
type MailchimpWebhookConcreteData<TEvent extends MailchimpWebhookEvents, TPayload> = MailchimpWebhookDataBase<TPayload> & {
|
|
746
|
+
type: TEvent;
|
|
747
|
+
};
|
|
748
|
+
type MailchimpSubscribeWebhookData = MailchimpWebhookConcreteData<"subscribe", Record<string, never>>;
|
|
749
|
+
type MailchimpUnsubscribeWebhookData = MailchimpWebhookConcreteData<"unsubscribe", {
|
|
750
|
+
reason: string;
|
|
751
|
+
}>;
|
|
752
|
+
type MailchimpWebhookData = MailchimpSubscribeWebhookData | MailchimpUnsubscribeWebhookData;
|
|
732
753
|
|
|
733
754
|
type ApiErrorName = "adapter" | "accounts" | "livechat" | "dps" | "github" | "vercel" | "netlify" | "planetscale" | "neon" | "mailchimp" | "shopify";
|
|
734
755
|
type ApiErrorSource = "accounts" | "github" | "vercel" | "netlify" | "planetscale" | "neon" | "mailchimp" | "shopify" | "text";
|
|
@@ -886,6 +907,19 @@ declare function getMailchimpClientConfig(options?: MailchimpClientInstanceOptio
|
|
|
886
907
|
declare function initMailchimpClient(token?: string, server?: string): void;
|
|
887
908
|
declare function updateMailchimpClient(token?: string, server?: string): void;
|
|
888
909
|
|
|
910
|
+
type ShopifyWebhookTopics = WebhookTopic;
|
|
911
|
+
|
|
912
|
+
interface ShopifyWebhookDataBase<TPayload = unknown> {
|
|
913
|
+
shop: string;
|
|
914
|
+
topic: ShopifyWebhookTopics;
|
|
915
|
+
payload: TPayload;
|
|
916
|
+
}
|
|
917
|
+
type ShopifyWebhookConcreteData<TTopic extends ShopifyWebhookTopics, TPayload> = ShopifyWebhookDataBase<TPayload> & {
|
|
918
|
+
topic: TTopic;
|
|
919
|
+
};
|
|
920
|
+
type ShopifyOrderCreatedWebhookData = ShopifyWebhookConcreteData<"orders/create", IOrder>;
|
|
921
|
+
type ShopifyWebhookData = ShopifyOrderCreatedWebhookData;
|
|
922
|
+
|
|
889
923
|
interface ShopifyClientAuthorization {
|
|
890
924
|
shop?: string;
|
|
891
925
|
token?: string;
|
|
@@ -1716,41 +1750,50 @@ type IntegrationFlowOutput<TFlowResult> = {
|
|
|
1716
1750
|
status: "cancel";
|
|
1717
1751
|
};
|
|
1718
1752
|
|
|
1719
|
-
|
|
1720
|
-
|
|
1753
|
+
interface MailchimpAuthorizeActionResult {
|
|
1754
|
+
server: string;
|
|
1755
|
+
token: string;
|
|
1721
1756
|
}
|
|
1757
|
+
type MailchimpAuthorizeFlowContext = IntegrationFlowContext;
|
|
1758
|
+
type MailchimpAuthorizeFlowResult = MailchimpAuthorizeActionResult;
|
|
1722
1759
|
|
|
1723
|
-
|
|
1724
|
-
|
|
1760
|
+
declare enum MailchimpEventNames {
|
|
1761
|
+
Subscribed = "subscribed",
|
|
1762
|
+
Unsubscribed = "unsubscribed"
|
|
1725
1763
|
}
|
|
1726
|
-
interface ShopifyAuthorizeActionResult {
|
|
1727
|
-
shop: string;
|
|
1728
|
-
token: string;
|
|
1729
|
-
}
|
|
1730
|
-
type ShopifyAuthorizeFlowContext = IntegrationFlowContext & {
|
|
1731
|
-
authorize?: ShopifyAuthorizeActionContext;
|
|
1732
|
-
};
|
|
1733
|
-
type ShopifyAuthorizeFlowResult = ShopifyAuthorizeActionResult;
|
|
1734
1764
|
|
|
1735
|
-
declare const
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1765
|
+
declare const mailchimpEventsZods: {
|
|
1766
|
+
provider: z.ZodLiteral<"mailchimp">;
|
|
1767
|
+
eventName: z.ZodNativeEnum<typeof MailchimpEventNames>;
|
|
1768
|
+
events: {
|
|
1769
|
+
subscribed: z.ZodObject<{
|
|
1770
|
+
name: z.ZodLiteral<MailchimpEventNames.Subscribed>;
|
|
1771
|
+
}, "strip", z.ZodTypeAny, {
|
|
1772
|
+
name: MailchimpEventNames.Subscribed;
|
|
1773
|
+
}, {
|
|
1774
|
+
name: MailchimpEventNames.Subscribed;
|
|
1775
|
+
}>;
|
|
1776
|
+
unsubscribed: z.ZodObject<{
|
|
1777
|
+
name: z.ZodLiteral<MailchimpEventNames.Unsubscribed>;
|
|
1778
|
+
}, "strip", z.ZodTypeAny, {
|
|
1779
|
+
name: MailchimpEventNames.Unsubscribed;
|
|
1780
|
+
}, {
|
|
1781
|
+
name: MailchimpEventNames.Unsubscribed;
|
|
1782
|
+
}>;
|
|
1783
|
+
};
|
|
1784
|
+
readonly event: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
|
|
1785
|
+
name: z.ZodLiteral<MailchimpEventNames.Subscribed>;
|
|
1739
1786
|
}, "strip", z.ZodTypeAny, {
|
|
1740
|
-
|
|
1787
|
+
name: MailchimpEventNames.Subscribed;
|
|
1741
1788
|
}, {
|
|
1742
|
-
|
|
1743
|
-
}
|
|
1744
|
-
|
|
1745
|
-
provider: z.ZodLiteral<"shopify">;
|
|
1746
|
-
event: z.ZodNativeEnum<typeof ShopifyEvents>;
|
|
1789
|
+
name: MailchimpEventNames.Subscribed;
|
|
1790
|
+
}>, z.ZodObject<{
|
|
1791
|
+
name: z.ZodLiteral<MailchimpEventNames.Unsubscribed>;
|
|
1747
1792
|
}, "strip", z.ZodTypeAny, {
|
|
1748
|
-
|
|
1749
|
-
provider: "shopify";
|
|
1793
|
+
name: MailchimpEventNames.Unsubscribed;
|
|
1750
1794
|
}, {
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
}>;
|
|
1795
|
+
name: MailchimpEventNames.Unsubscribed;
|
|
1796
|
+
}>]>;
|
|
1754
1797
|
readonly source: z.ZodObject<{
|
|
1755
1798
|
sourceName: z.ZodEnum<["apps", "workflows"]>;
|
|
1756
1799
|
sourceKey: z.ZodString;
|
|
@@ -1761,7 +1804,7 @@ declare const shopifyEventsZods: {
|
|
|
1761
1804
|
sourceName: "apps" | "workflows";
|
|
1762
1805
|
sourceKey: string;
|
|
1763
1806
|
}>;
|
|
1764
|
-
readonly subscribe: z.ZodIntersection<z.
|
|
1807
|
+
readonly subscribe: z.ZodIntersection<z.ZodObject<{
|
|
1765
1808
|
sourceName: z.ZodEnum<["apps", "workflows"]>;
|
|
1766
1809
|
sourceKey: z.ZodString;
|
|
1767
1810
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1771,18 +1814,74 @@ declare const shopifyEventsZods: {
|
|
|
1771
1814
|
sourceName: "apps" | "workflows";
|
|
1772
1815
|
sourceKey: string;
|
|
1773
1816
|
}>, z.ZodObject<{
|
|
1774
|
-
event: z.
|
|
1817
|
+
event: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
|
|
1818
|
+
name: z.ZodLiteral<MailchimpEventNames.Subscribed>;
|
|
1819
|
+
}, "strip", z.ZodTypeAny, {
|
|
1820
|
+
name: MailchimpEventNames.Subscribed;
|
|
1821
|
+
}, {
|
|
1822
|
+
name: MailchimpEventNames.Subscribed;
|
|
1823
|
+
}>, z.ZodObject<{
|
|
1824
|
+
name: z.ZodLiteral<MailchimpEventNames.Unsubscribed>;
|
|
1825
|
+
}, "strip", z.ZodTypeAny, {
|
|
1826
|
+
name: MailchimpEventNames.Unsubscribed;
|
|
1827
|
+
}, {
|
|
1828
|
+
name: MailchimpEventNames.Unsubscribed;
|
|
1829
|
+
}>]>;
|
|
1830
|
+
listId: z.ZodString;
|
|
1831
|
+
callback: z.ZodString;
|
|
1775
1832
|
}, "strip", z.ZodTypeAny, {
|
|
1776
|
-
event:
|
|
1833
|
+
event: {
|
|
1834
|
+
name: MailchimpEventNames.Subscribed;
|
|
1835
|
+
} | {
|
|
1836
|
+
name: MailchimpEventNames.Unsubscribed;
|
|
1837
|
+
};
|
|
1838
|
+
callback: string;
|
|
1839
|
+
listId: string;
|
|
1777
1840
|
}, {
|
|
1778
|
-
event:
|
|
1779
|
-
|
|
1841
|
+
event: {
|
|
1842
|
+
name: MailchimpEventNames.Subscribed;
|
|
1843
|
+
} | {
|
|
1844
|
+
name: MailchimpEventNames.Unsubscribed;
|
|
1845
|
+
};
|
|
1846
|
+
callback: string;
|
|
1847
|
+
listId: string;
|
|
1848
|
+
}>>;
|
|
1849
|
+
readonly subscribeContent: z.ZodObject<{
|
|
1850
|
+
provider: z.ZodLiteral<"mailchimp">;
|
|
1851
|
+
event: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
|
|
1852
|
+
name: z.ZodLiteral<MailchimpEventNames.Subscribed>;
|
|
1853
|
+
}, "strip", z.ZodTypeAny, {
|
|
1854
|
+
name: MailchimpEventNames.Subscribed;
|
|
1855
|
+
}, {
|
|
1856
|
+
name: MailchimpEventNames.Subscribed;
|
|
1857
|
+
}>, z.ZodObject<{
|
|
1858
|
+
name: z.ZodLiteral<MailchimpEventNames.Unsubscribed>;
|
|
1859
|
+
}, "strip", z.ZodTypeAny, {
|
|
1860
|
+
name: MailchimpEventNames.Unsubscribed;
|
|
1861
|
+
}, {
|
|
1862
|
+
name: MailchimpEventNames.Unsubscribed;
|
|
1863
|
+
}>]>;
|
|
1780
1864
|
callback: z.ZodString;
|
|
1865
|
+
listId: z.ZodString;
|
|
1781
1866
|
}, "strip", z.ZodTypeAny, {
|
|
1867
|
+
event: {
|
|
1868
|
+
name: MailchimpEventNames.Subscribed;
|
|
1869
|
+
} | {
|
|
1870
|
+
name: MailchimpEventNames.Unsubscribed;
|
|
1871
|
+
};
|
|
1782
1872
|
callback: string;
|
|
1873
|
+
provider: "mailchimp";
|
|
1874
|
+
listId: string;
|
|
1783
1875
|
}, {
|
|
1876
|
+
event: {
|
|
1877
|
+
name: MailchimpEventNames.Subscribed;
|
|
1878
|
+
} | {
|
|
1879
|
+
name: MailchimpEventNames.Unsubscribed;
|
|
1880
|
+
};
|
|
1784
1881
|
callback: string;
|
|
1785
|
-
|
|
1882
|
+
provider: "mailchimp";
|
|
1883
|
+
listId: string;
|
|
1884
|
+
}>;
|
|
1786
1885
|
readonly unsubscribe: z.ZodIntersection<z.ZodObject<{
|
|
1787
1886
|
sourceName: z.ZodEnum<["apps", "workflows"]>;
|
|
1788
1887
|
sourceKey: z.ZodString;
|
|
@@ -1793,53 +1892,68 @@ declare const shopifyEventsZods: {
|
|
|
1793
1892
|
sourceName: "apps" | "workflows";
|
|
1794
1893
|
sourceKey: string;
|
|
1795
1894
|
}>, z.ZodObject<{
|
|
1796
|
-
event: z.ZodNativeEnum<typeof
|
|
1797
|
-
}, "strip", z.ZodTypeAny, {
|
|
1798
|
-
event: ShopifyEvents;
|
|
1799
|
-
}, {
|
|
1800
|
-
event: ShopifyEvents;
|
|
1801
|
-
}>>;
|
|
1802
|
-
};
|
|
1803
|
-
type SubscribeToShopifyEventPayload = z.infer<typeof shopifyEventsZods.subscribe>;
|
|
1804
|
-
type UnsubscribeFromShopifyEventPayload = z.infer<typeof shopifyEventsZods.unsubscribe>;
|
|
1805
|
-
|
|
1806
|
-
interface MailchimpAuthorizeActionResult {
|
|
1807
|
-
server: string;
|
|
1808
|
-
token: string;
|
|
1809
|
-
}
|
|
1810
|
-
type MailchimpAuthorizeFlowContext = IntegrationFlowContext;
|
|
1811
|
-
type MailchimpAuthorizeFlowResult = MailchimpAuthorizeActionResult;
|
|
1812
|
-
|
|
1813
|
-
declare enum MailchimpEvents {
|
|
1814
|
-
Subscribe = "subscribe",
|
|
1815
|
-
Unsubscribe = "unsubscribe"
|
|
1816
|
-
}
|
|
1817
|
-
|
|
1818
|
-
declare const mailchimpEventsZods: {
|
|
1819
|
-
event: z.ZodNativeEnum<typeof MailchimpEvents>;
|
|
1820
|
-
readonly body: z.ZodObject<{
|
|
1821
|
-
event: z.ZodNativeEnum<typeof MailchimpEvents>;
|
|
1895
|
+
event: z.ZodNativeEnum<typeof MailchimpEventNames>;
|
|
1822
1896
|
listId: z.ZodString;
|
|
1823
1897
|
}, "strip", z.ZodTypeAny, {
|
|
1824
|
-
event:
|
|
1898
|
+
event: MailchimpEventNames;
|
|
1825
1899
|
listId: string;
|
|
1826
1900
|
}, {
|
|
1827
|
-
event:
|
|
1901
|
+
event: MailchimpEventNames;
|
|
1828
1902
|
listId: string;
|
|
1829
|
-
}
|
|
1830
|
-
readonly
|
|
1903
|
+
}>>;
|
|
1904
|
+
readonly unsubscribeContent: z.ZodObject<{
|
|
1831
1905
|
provider: z.ZodLiteral<"mailchimp">;
|
|
1832
|
-
event: z.ZodNativeEnum<typeof
|
|
1906
|
+
event: z.ZodNativeEnum<typeof MailchimpEventNames>;
|
|
1833
1907
|
listId: z.ZodString;
|
|
1834
1908
|
}, "strip", z.ZodTypeAny, {
|
|
1835
|
-
event:
|
|
1909
|
+
event: MailchimpEventNames;
|
|
1836
1910
|
provider: "mailchimp";
|
|
1837
1911
|
listId: string;
|
|
1838
1912
|
}, {
|
|
1839
|
-
event:
|
|
1913
|
+
event: MailchimpEventNames;
|
|
1840
1914
|
provider: "mailchimp";
|
|
1841
1915
|
listId: string;
|
|
1842
1916
|
}>;
|
|
1917
|
+
};
|
|
1918
|
+
type MailchimpEvent = z.infer<typeof mailchimpEventsZods.event>;
|
|
1919
|
+
type SubscribeToMailchimpEventPayload = z.infer<typeof mailchimpEventsZods.subscribe>;
|
|
1920
|
+
type UnsubscribeFromMailchimpEventPayload = z.infer<typeof mailchimpEventsZods.unsubscribe>;
|
|
1921
|
+
|
|
1922
|
+
declare enum ShopifyEventNames {
|
|
1923
|
+
OrderCreated = "order_created"
|
|
1924
|
+
}
|
|
1925
|
+
|
|
1926
|
+
interface ShopifyAuthorizeActionContext {
|
|
1927
|
+
shop?: string;
|
|
1928
|
+
}
|
|
1929
|
+
interface ShopifyAuthorizeActionResult {
|
|
1930
|
+
shop: string;
|
|
1931
|
+
token: string;
|
|
1932
|
+
}
|
|
1933
|
+
type ShopifyAuthorizeFlowContext = IntegrationFlowContext & {
|
|
1934
|
+
authorize?: ShopifyAuthorizeActionContext;
|
|
1935
|
+
};
|
|
1936
|
+
type ShopifyAuthorizeFlowResult = ShopifyAuthorizeActionResult;
|
|
1937
|
+
|
|
1938
|
+
declare const shopifyEventsZods: {
|
|
1939
|
+
provider: z.ZodLiteral<"shopify">;
|
|
1940
|
+
eventName: z.ZodNativeEnum<typeof ShopifyEventNames>;
|
|
1941
|
+
events: {
|
|
1942
|
+
orderCreated: z.ZodObject<{
|
|
1943
|
+
name: z.ZodLiteral<ShopifyEventNames>;
|
|
1944
|
+
}, "strip", z.ZodTypeAny, {
|
|
1945
|
+
name: ShopifyEventNames;
|
|
1946
|
+
}, {
|
|
1947
|
+
name: ShopifyEventNames;
|
|
1948
|
+
}>;
|
|
1949
|
+
};
|
|
1950
|
+
readonly event: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
|
|
1951
|
+
name: z.ZodLiteral<ShopifyEventNames>;
|
|
1952
|
+
}, "strip", z.ZodTypeAny, {
|
|
1953
|
+
name: ShopifyEventNames;
|
|
1954
|
+
}, {
|
|
1955
|
+
name: ShopifyEventNames;
|
|
1956
|
+
}>]>;
|
|
1843
1957
|
readonly source: z.ZodObject<{
|
|
1844
1958
|
sourceName: z.ZodEnum<["apps", "workflows"]>;
|
|
1845
1959
|
sourceKey: z.ZodString;
|
|
@@ -1850,7 +1964,7 @@ declare const mailchimpEventsZods: {
|
|
|
1850
1964
|
sourceName: "apps" | "workflows";
|
|
1851
1965
|
sourceKey: string;
|
|
1852
1966
|
}>;
|
|
1853
|
-
readonly subscribe: z.ZodIntersection<z.
|
|
1967
|
+
readonly subscribe: z.ZodIntersection<z.ZodObject<{
|
|
1854
1968
|
sourceName: z.ZodEnum<["apps", "workflows"]>;
|
|
1855
1969
|
sourceKey: z.ZodString;
|
|
1856
1970
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1860,21 +1974,48 @@ declare const mailchimpEventsZods: {
|
|
|
1860
1974
|
sourceName: "apps" | "workflows";
|
|
1861
1975
|
sourceKey: string;
|
|
1862
1976
|
}>, z.ZodObject<{
|
|
1863
|
-
event: z.
|
|
1864
|
-
|
|
1977
|
+
event: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
|
|
1978
|
+
name: z.ZodLiteral<ShopifyEventNames>;
|
|
1979
|
+
}, "strip", z.ZodTypeAny, {
|
|
1980
|
+
name: ShopifyEventNames;
|
|
1981
|
+
}, {
|
|
1982
|
+
name: ShopifyEventNames;
|
|
1983
|
+
}>]>;
|
|
1984
|
+
callback: z.ZodString;
|
|
1865
1985
|
}, "strip", z.ZodTypeAny, {
|
|
1866
|
-
event:
|
|
1867
|
-
|
|
1986
|
+
event: {
|
|
1987
|
+
name: ShopifyEventNames;
|
|
1988
|
+
};
|
|
1989
|
+
callback: string;
|
|
1868
1990
|
}, {
|
|
1869
|
-
event:
|
|
1870
|
-
|
|
1871
|
-
|
|
1991
|
+
event: {
|
|
1992
|
+
name: ShopifyEventNames;
|
|
1993
|
+
};
|
|
1994
|
+
callback: string;
|
|
1995
|
+
}>>;
|
|
1996
|
+
readonly subscribeContent: z.ZodObject<{
|
|
1997
|
+
provider: z.ZodLiteral<"shopify">;
|
|
1998
|
+
event: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
|
|
1999
|
+
name: z.ZodLiteral<ShopifyEventNames>;
|
|
2000
|
+
}, "strip", z.ZodTypeAny, {
|
|
2001
|
+
name: ShopifyEventNames;
|
|
2002
|
+
}, {
|
|
2003
|
+
name: ShopifyEventNames;
|
|
2004
|
+
}>]>;
|
|
1872
2005
|
callback: z.ZodString;
|
|
1873
2006
|
}, "strip", z.ZodTypeAny, {
|
|
2007
|
+
event: {
|
|
2008
|
+
name: ShopifyEventNames;
|
|
2009
|
+
};
|
|
1874
2010
|
callback: string;
|
|
2011
|
+
provider: "shopify";
|
|
1875
2012
|
}, {
|
|
2013
|
+
event: {
|
|
2014
|
+
name: ShopifyEventNames;
|
|
2015
|
+
};
|
|
1876
2016
|
callback: string;
|
|
1877
|
-
|
|
2017
|
+
provider: "shopify";
|
|
2018
|
+
}>;
|
|
1878
2019
|
readonly unsubscribe: z.ZodIntersection<z.ZodObject<{
|
|
1879
2020
|
sourceName: z.ZodEnum<["apps", "workflows"]>;
|
|
1880
2021
|
sourceKey: z.ZodString;
|
|
@@ -1885,23 +2026,36 @@ declare const mailchimpEventsZods: {
|
|
|
1885
2026
|
sourceName: "apps" | "workflows";
|
|
1886
2027
|
sourceKey: string;
|
|
1887
2028
|
}>, z.ZodObject<{
|
|
1888
|
-
event: z.ZodNativeEnum<typeof
|
|
1889
|
-
listId: z.ZodString;
|
|
2029
|
+
event: z.ZodNativeEnum<typeof ShopifyEventNames>;
|
|
1890
2030
|
}, "strip", z.ZodTypeAny, {
|
|
1891
|
-
event:
|
|
1892
|
-
listId: string;
|
|
2031
|
+
event: ShopifyEventNames;
|
|
1893
2032
|
}, {
|
|
1894
|
-
event:
|
|
1895
|
-
listId: string;
|
|
2033
|
+
event: ShopifyEventNames;
|
|
1896
2034
|
}>>;
|
|
2035
|
+
readonly unsubscribeContent: z.ZodObject<{
|
|
2036
|
+
provider: z.ZodLiteral<"shopify">;
|
|
2037
|
+
event: z.ZodNativeEnum<typeof ShopifyEventNames>;
|
|
2038
|
+
}, "strip", z.ZodTypeAny, {
|
|
2039
|
+
event: ShopifyEventNames;
|
|
2040
|
+
provider: "shopify";
|
|
2041
|
+
}, {
|
|
2042
|
+
event: ShopifyEventNames;
|
|
2043
|
+
provider: "shopify";
|
|
2044
|
+
}>;
|
|
1897
2045
|
};
|
|
1898
|
-
type
|
|
1899
|
-
type
|
|
2046
|
+
type ShopifyEvent = z.infer<typeof shopifyEventsZods.event>;
|
|
2047
|
+
type SubscribeToShopifyEventPayload = z.infer<typeof shopifyEventsZods.subscribe>;
|
|
2048
|
+
type UnsubscribeFromShopifyEventPayload = z.infer<typeof shopifyEventsZods.unsubscribe>;
|
|
1900
2049
|
|
|
1901
|
-
declare enum
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
2050
|
+
declare enum TextLivechatEventNames {
|
|
2051
|
+
ChatStarted = "chat_started",
|
|
2052
|
+
ChatEnded = "chat_ended",
|
|
2053
|
+
ChatTransferred = "chat_transferred",
|
|
2054
|
+
ChatRated = "chat_rated",
|
|
2055
|
+
ChatCommented = "chat_commented",
|
|
2056
|
+
ChatMessage = "chat_message",
|
|
2057
|
+
UserAddedToChat = "user_added_to_chat",
|
|
2058
|
+
UserRemovedFromChat = "user_removed_from_chat"
|
|
1905
2059
|
}
|
|
1906
2060
|
|
|
1907
2061
|
interface TextAuthorizeActionContext {
|
|
@@ -1915,24 +2069,167 @@ type TextAuthorizeFlowContext = IntegrationFlowContext & {
|
|
|
1915
2069
|
type TextAuthorizeFlowResult = TextAuthorizeActionResult;
|
|
1916
2070
|
|
|
1917
2071
|
declare const textLivechatEventsZods: {
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
2072
|
+
provider: z.ZodLiteral<"text-livechat">;
|
|
2073
|
+
eventName: z.ZodNativeEnum<typeof TextLivechatEventNames>;
|
|
2074
|
+
events: {
|
|
2075
|
+
chatStarted: z.ZodObject<{
|
|
2076
|
+
name: z.ZodLiteral<TextLivechatEventNames.ChatStarted>;
|
|
2077
|
+
}, "strip", z.ZodTypeAny, {
|
|
2078
|
+
name: TextLivechatEventNames.ChatStarted;
|
|
2079
|
+
}, {
|
|
2080
|
+
name: TextLivechatEventNames.ChatStarted;
|
|
2081
|
+
}>;
|
|
2082
|
+
chatEnded: z.ZodObject<{
|
|
2083
|
+
name: z.ZodLiteral<TextLivechatEventNames.ChatEnded>;
|
|
2084
|
+
}, "strip", z.ZodTypeAny, {
|
|
2085
|
+
name: TextLivechatEventNames.ChatEnded;
|
|
2086
|
+
}, {
|
|
2087
|
+
name: TextLivechatEventNames.ChatEnded;
|
|
2088
|
+
}>;
|
|
2089
|
+
chatTransferred: z.ZodObject<{
|
|
2090
|
+
name: z.ZodLiteral<TextLivechatEventNames.ChatTransferred>;
|
|
2091
|
+
}, "strip", z.ZodTypeAny, {
|
|
2092
|
+
name: TextLivechatEventNames.ChatTransferred;
|
|
2093
|
+
}, {
|
|
2094
|
+
name: TextLivechatEventNames.ChatTransferred;
|
|
2095
|
+
}>;
|
|
2096
|
+
chatRated: z.ZodObject<{
|
|
2097
|
+
name: z.ZodLiteral<TextLivechatEventNames.ChatRated>;
|
|
2098
|
+
}, "strip", z.ZodTypeAny, {
|
|
2099
|
+
name: TextLivechatEventNames.ChatRated;
|
|
2100
|
+
}, {
|
|
2101
|
+
name: TextLivechatEventNames.ChatRated;
|
|
2102
|
+
}>;
|
|
2103
|
+
chatCommented: z.ZodObject<{
|
|
2104
|
+
name: z.ZodLiteral<TextLivechatEventNames.ChatCommented>;
|
|
2105
|
+
}, "strip", z.ZodTypeAny, {
|
|
2106
|
+
name: TextLivechatEventNames.ChatCommented;
|
|
2107
|
+
}, {
|
|
2108
|
+
name: TextLivechatEventNames.ChatCommented;
|
|
2109
|
+
}>;
|
|
2110
|
+
chatMessage: z.ZodObject<{
|
|
2111
|
+
name: z.ZodLiteral<TextLivechatEventNames.ChatMessage>;
|
|
2112
|
+
params: z.ZodOptional<z.ZodObject<{
|
|
2113
|
+
filter: z.ZodOptional<z.ZodString>;
|
|
2114
|
+
}, "strip", z.ZodTypeAny, {
|
|
2115
|
+
filter?: string | undefined;
|
|
2116
|
+
}, {
|
|
2117
|
+
filter?: string | undefined;
|
|
2118
|
+
}>>;
|
|
2119
|
+
}, "strip", z.ZodTypeAny, {
|
|
2120
|
+
name: TextLivechatEventNames.ChatMessage;
|
|
2121
|
+
params?: {
|
|
2122
|
+
filter?: string | undefined;
|
|
2123
|
+
} | undefined;
|
|
2124
|
+
}, {
|
|
2125
|
+
name: TextLivechatEventNames.ChatMessage;
|
|
2126
|
+
params?: {
|
|
2127
|
+
filter?: string | undefined;
|
|
2128
|
+
} | undefined;
|
|
2129
|
+
}>;
|
|
2130
|
+
userAddedToChat: z.ZodObject<{
|
|
2131
|
+
name: z.ZodLiteral<TextLivechatEventNames.UserAddedToChat>;
|
|
2132
|
+
params: z.ZodOptional<z.ZodObject<{
|
|
2133
|
+
userType: z.ZodOptional<z.ZodEnum<["agent", "customer"]>>;
|
|
2134
|
+
}, "strip", z.ZodTypeAny, {
|
|
2135
|
+
userType?: "agent" | "customer" | undefined;
|
|
2136
|
+
}, {
|
|
2137
|
+
userType?: "agent" | "customer" | undefined;
|
|
2138
|
+
}>>;
|
|
2139
|
+
}, "strip", z.ZodTypeAny, {
|
|
2140
|
+
name: TextLivechatEventNames.UserAddedToChat;
|
|
2141
|
+
params?: {
|
|
2142
|
+
userType?: "agent" | "customer" | undefined;
|
|
2143
|
+
} | undefined;
|
|
2144
|
+
}, {
|
|
2145
|
+
name: TextLivechatEventNames.UserAddedToChat;
|
|
2146
|
+
params?: {
|
|
2147
|
+
userType?: "agent" | "customer" | undefined;
|
|
2148
|
+
} | undefined;
|
|
2149
|
+
}>;
|
|
2150
|
+
userRemovedFromChat: z.ZodObject<{
|
|
2151
|
+
name: z.ZodLiteral<TextLivechatEventNames.UserRemovedFromChat>;
|
|
2152
|
+
}, "strip", z.ZodTypeAny, {
|
|
2153
|
+
name: TextLivechatEventNames.UserRemovedFromChat;
|
|
2154
|
+
}, {
|
|
2155
|
+
name: TextLivechatEventNames.UserRemovedFromChat;
|
|
2156
|
+
}>;
|
|
2157
|
+
};
|
|
2158
|
+
readonly event: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
|
|
2159
|
+
name: z.ZodLiteral<TextLivechatEventNames.ChatStarted>;
|
|
1921
2160
|
}, "strip", z.ZodTypeAny, {
|
|
1922
|
-
|
|
2161
|
+
name: TextLivechatEventNames.ChatStarted;
|
|
1923
2162
|
}, {
|
|
1924
|
-
|
|
1925
|
-
}
|
|
1926
|
-
|
|
1927
|
-
provider: z.ZodLiteral<"text-livechat">;
|
|
1928
|
-
event: z.ZodNativeEnum<typeof TextLivechatEvents>;
|
|
2163
|
+
name: TextLivechatEventNames.ChatStarted;
|
|
2164
|
+
}>, z.ZodObject<{
|
|
2165
|
+
name: z.ZodLiteral<TextLivechatEventNames.ChatEnded>;
|
|
1929
2166
|
}, "strip", z.ZodTypeAny, {
|
|
1930
|
-
|
|
1931
|
-
provider: "text-livechat";
|
|
2167
|
+
name: TextLivechatEventNames.ChatEnded;
|
|
1932
2168
|
}, {
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
2169
|
+
name: TextLivechatEventNames.ChatEnded;
|
|
2170
|
+
}>, z.ZodObject<{
|
|
2171
|
+
name: z.ZodLiteral<TextLivechatEventNames.ChatTransferred>;
|
|
2172
|
+
}, "strip", z.ZodTypeAny, {
|
|
2173
|
+
name: TextLivechatEventNames.ChatTransferred;
|
|
2174
|
+
}, {
|
|
2175
|
+
name: TextLivechatEventNames.ChatTransferred;
|
|
2176
|
+
}>, z.ZodObject<{
|
|
2177
|
+
name: z.ZodLiteral<TextLivechatEventNames.ChatRated>;
|
|
2178
|
+
}, "strip", z.ZodTypeAny, {
|
|
2179
|
+
name: TextLivechatEventNames.ChatRated;
|
|
2180
|
+
}, {
|
|
2181
|
+
name: TextLivechatEventNames.ChatRated;
|
|
2182
|
+
}>, z.ZodObject<{
|
|
2183
|
+
name: z.ZodLiteral<TextLivechatEventNames.ChatCommented>;
|
|
2184
|
+
}, "strip", z.ZodTypeAny, {
|
|
2185
|
+
name: TextLivechatEventNames.ChatCommented;
|
|
2186
|
+
}, {
|
|
2187
|
+
name: TextLivechatEventNames.ChatCommented;
|
|
2188
|
+
}>, z.ZodObject<{
|
|
2189
|
+
name: z.ZodLiteral<TextLivechatEventNames.ChatMessage>;
|
|
2190
|
+
params: z.ZodOptional<z.ZodObject<{
|
|
2191
|
+
filter: z.ZodOptional<z.ZodString>;
|
|
2192
|
+
}, "strip", z.ZodTypeAny, {
|
|
2193
|
+
filter?: string | undefined;
|
|
2194
|
+
}, {
|
|
2195
|
+
filter?: string | undefined;
|
|
2196
|
+
}>>;
|
|
2197
|
+
}, "strip", z.ZodTypeAny, {
|
|
2198
|
+
name: TextLivechatEventNames.ChatMessage;
|
|
2199
|
+
params?: {
|
|
2200
|
+
filter?: string | undefined;
|
|
2201
|
+
} | undefined;
|
|
2202
|
+
}, {
|
|
2203
|
+
name: TextLivechatEventNames.ChatMessage;
|
|
2204
|
+
params?: {
|
|
2205
|
+
filter?: string | undefined;
|
|
2206
|
+
} | undefined;
|
|
2207
|
+
}>, z.ZodObject<{
|
|
2208
|
+
name: z.ZodLiteral<TextLivechatEventNames.UserAddedToChat>;
|
|
2209
|
+
params: z.ZodOptional<z.ZodObject<{
|
|
2210
|
+
userType: z.ZodOptional<z.ZodEnum<["agent", "customer"]>>;
|
|
2211
|
+
}, "strip", z.ZodTypeAny, {
|
|
2212
|
+
userType?: "agent" | "customer" | undefined;
|
|
2213
|
+
}, {
|
|
2214
|
+
userType?: "agent" | "customer" | undefined;
|
|
2215
|
+
}>>;
|
|
2216
|
+
}, "strip", z.ZodTypeAny, {
|
|
2217
|
+
name: TextLivechatEventNames.UserAddedToChat;
|
|
2218
|
+
params?: {
|
|
2219
|
+
userType?: "agent" | "customer" | undefined;
|
|
2220
|
+
} | undefined;
|
|
2221
|
+
}, {
|
|
2222
|
+
name: TextLivechatEventNames.UserAddedToChat;
|
|
2223
|
+
params?: {
|
|
2224
|
+
userType?: "agent" | "customer" | undefined;
|
|
2225
|
+
} | undefined;
|
|
2226
|
+
}>, z.ZodObject<{
|
|
2227
|
+
name: z.ZodLiteral<TextLivechatEventNames.UserRemovedFromChat>;
|
|
2228
|
+
}, "strip", z.ZodTypeAny, {
|
|
2229
|
+
name: TextLivechatEventNames.UserRemovedFromChat;
|
|
2230
|
+
}, {
|
|
2231
|
+
name: TextLivechatEventNames.UserRemovedFromChat;
|
|
2232
|
+
}>]>;
|
|
1936
2233
|
readonly source: z.ZodObject<{
|
|
1937
2234
|
sourceName: z.ZodEnum<["apps", "workflows"]>;
|
|
1938
2235
|
sourceKey: z.ZodString;
|
|
@@ -1943,7 +2240,7 @@ declare const textLivechatEventsZods: {
|
|
|
1943
2240
|
sourceName: "apps" | "workflows";
|
|
1944
2241
|
sourceKey: string;
|
|
1945
2242
|
}>;
|
|
1946
|
-
readonly subscribe: z.ZodIntersection<z.
|
|
2243
|
+
readonly subscribe: z.ZodIntersection<z.ZodObject<{
|
|
1947
2244
|
sourceName: z.ZodEnum<["apps", "workflows"]>;
|
|
1948
2245
|
sourceKey: z.ZodString;
|
|
1949
2246
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1953,18 +2250,264 @@ declare const textLivechatEventsZods: {
|
|
|
1953
2250
|
sourceName: "apps" | "workflows";
|
|
1954
2251
|
sourceKey: string;
|
|
1955
2252
|
}>, z.ZodObject<{
|
|
1956
|
-
event: z.
|
|
2253
|
+
event: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
|
|
2254
|
+
name: z.ZodLiteral<TextLivechatEventNames.ChatStarted>;
|
|
2255
|
+
}, "strip", z.ZodTypeAny, {
|
|
2256
|
+
name: TextLivechatEventNames.ChatStarted;
|
|
2257
|
+
}, {
|
|
2258
|
+
name: TextLivechatEventNames.ChatStarted;
|
|
2259
|
+
}>, z.ZodObject<{
|
|
2260
|
+
name: z.ZodLiteral<TextLivechatEventNames.ChatEnded>;
|
|
2261
|
+
}, "strip", z.ZodTypeAny, {
|
|
2262
|
+
name: TextLivechatEventNames.ChatEnded;
|
|
2263
|
+
}, {
|
|
2264
|
+
name: TextLivechatEventNames.ChatEnded;
|
|
2265
|
+
}>, z.ZodObject<{
|
|
2266
|
+
name: z.ZodLiteral<TextLivechatEventNames.ChatTransferred>;
|
|
2267
|
+
}, "strip", z.ZodTypeAny, {
|
|
2268
|
+
name: TextLivechatEventNames.ChatTransferred;
|
|
2269
|
+
}, {
|
|
2270
|
+
name: TextLivechatEventNames.ChatTransferred;
|
|
2271
|
+
}>, z.ZodObject<{
|
|
2272
|
+
name: z.ZodLiteral<TextLivechatEventNames.ChatRated>;
|
|
2273
|
+
}, "strip", z.ZodTypeAny, {
|
|
2274
|
+
name: TextLivechatEventNames.ChatRated;
|
|
2275
|
+
}, {
|
|
2276
|
+
name: TextLivechatEventNames.ChatRated;
|
|
2277
|
+
}>, z.ZodObject<{
|
|
2278
|
+
name: z.ZodLiteral<TextLivechatEventNames.ChatCommented>;
|
|
2279
|
+
}, "strip", z.ZodTypeAny, {
|
|
2280
|
+
name: TextLivechatEventNames.ChatCommented;
|
|
2281
|
+
}, {
|
|
2282
|
+
name: TextLivechatEventNames.ChatCommented;
|
|
2283
|
+
}>, z.ZodObject<{
|
|
2284
|
+
name: z.ZodLiteral<TextLivechatEventNames.ChatMessage>;
|
|
2285
|
+
params: z.ZodOptional<z.ZodObject<{
|
|
2286
|
+
filter: z.ZodOptional<z.ZodString>;
|
|
2287
|
+
}, "strip", z.ZodTypeAny, {
|
|
2288
|
+
filter?: string | undefined;
|
|
2289
|
+
}, {
|
|
2290
|
+
filter?: string | undefined;
|
|
2291
|
+
}>>;
|
|
2292
|
+
}, "strip", z.ZodTypeAny, {
|
|
2293
|
+
name: TextLivechatEventNames.ChatMessage;
|
|
2294
|
+
params?: {
|
|
2295
|
+
filter?: string | undefined;
|
|
2296
|
+
} | undefined;
|
|
2297
|
+
}, {
|
|
2298
|
+
name: TextLivechatEventNames.ChatMessage;
|
|
2299
|
+
params?: {
|
|
2300
|
+
filter?: string | undefined;
|
|
2301
|
+
} | undefined;
|
|
2302
|
+
}>, z.ZodObject<{
|
|
2303
|
+
name: z.ZodLiteral<TextLivechatEventNames.UserAddedToChat>;
|
|
2304
|
+
params: z.ZodOptional<z.ZodObject<{
|
|
2305
|
+
userType: z.ZodOptional<z.ZodEnum<["agent", "customer"]>>;
|
|
2306
|
+
}, "strip", z.ZodTypeAny, {
|
|
2307
|
+
userType?: "agent" | "customer" | undefined;
|
|
2308
|
+
}, {
|
|
2309
|
+
userType?: "agent" | "customer" | undefined;
|
|
2310
|
+
}>>;
|
|
2311
|
+
}, "strip", z.ZodTypeAny, {
|
|
2312
|
+
name: TextLivechatEventNames.UserAddedToChat;
|
|
2313
|
+
params?: {
|
|
2314
|
+
userType?: "agent" | "customer" | undefined;
|
|
2315
|
+
} | undefined;
|
|
2316
|
+
}, {
|
|
2317
|
+
name: TextLivechatEventNames.UserAddedToChat;
|
|
2318
|
+
params?: {
|
|
2319
|
+
userType?: "agent" | "customer" | undefined;
|
|
2320
|
+
} | undefined;
|
|
2321
|
+
}>, z.ZodObject<{
|
|
2322
|
+
name: z.ZodLiteral<TextLivechatEventNames.UserRemovedFromChat>;
|
|
2323
|
+
}, "strip", z.ZodTypeAny, {
|
|
2324
|
+
name: TextLivechatEventNames.UserRemovedFromChat;
|
|
2325
|
+
}, {
|
|
2326
|
+
name: TextLivechatEventNames.UserRemovedFromChat;
|
|
2327
|
+
}>]>;
|
|
2328
|
+
callback: z.ZodString;
|
|
1957
2329
|
}, "strip", z.ZodTypeAny, {
|
|
1958
|
-
event:
|
|
2330
|
+
event: {
|
|
2331
|
+
name: TextLivechatEventNames.ChatStarted;
|
|
2332
|
+
} | {
|
|
2333
|
+
name: TextLivechatEventNames.ChatEnded;
|
|
2334
|
+
} | {
|
|
2335
|
+
name: TextLivechatEventNames.ChatTransferred;
|
|
2336
|
+
} | {
|
|
2337
|
+
name: TextLivechatEventNames.ChatRated;
|
|
2338
|
+
} | {
|
|
2339
|
+
name: TextLivechatEventNames.ChatCommented;
|
|
2340
|
+
} | {
|
|
2341
|
+
name: TextLivechatEventNames.ChatMessage;
|
|
2342
|
+
params?: {
|
|
2343
|
+
filter?: string | undefined;
|
|
2344
|
+
} | undefined;
|
|
2345
|
+
} | {
|
|
2346
|
+
name: TextLivechatEventNames.UserAddedToChat;
|
|
2347
|
+
params?: {
|
|
2348
|
+
userType?: "agent" | "customer" | undefined;
|
|
2349
|
+
} | undefined;
|
|
2350
|
+
} | {
|
|
2351
|
+
name: TextLivechatEventNames.UserRemovedFromChat;
|
|
2352
|
+
};
|
|
2353
|
+
callback: string;
|
|
1959
2354
|
}, {
|
|
1960
|
-
event:
|
|
1961
|
-
|
|
2355
|
+
event: {
|
|
2356
|
+
name: TextLivechatEventNames.ChatStarted;
|
|
2357
|
+
} | {
|
|
2358
|
+
name: TextLivechatEventNames.ChatEnded;
|
|
2359
|
+
} | {
|
|
2360
|
+
name: TextLivechatEventNames.ChatTransferred;
|
|
2361
|
+
} | {
|
|
2362
|
+
name: TextLivechatEventNames.ChatRated;
|
|
2363
|
+
} | {
|
|
2364
|
+
name: TextLivechatEventNames.ChatCommented;
|
|
2365
|
+
} | {
|
|
2366
|
+
name: TextLivechatEventNames.ChatMessage;
|
|
2367
|
+
params?: {
|
|
2368
|
+
filter?: string | undefined;
|
|
2369
|
+
} | undefined;
|
|
2370
|
+
} | {
|
|
2371
|
+
name: TextLivechatEventNames.UserAddedToChat;
|
|
2372
|
+
params?: {
|
|
2373
|
+
userType?: "agent" | "customer" | undefined;
|
|
2374
|
+
} | undefined;
|
|
2375
|
+
} | {
|
|
2376
|
+
name: TextLivechatEventNames.UserRemovedFromChat;
|
|
2377
|
+
};
|
|
2378
|
+
callback: string;
|
|
2379
|
+
}>>;
|
|
2380
|
+
readonly subscribeContent: z.ZodObject<{
|
|
2381
|
+
provider: z.ZodLiteral<"text-livechat">;
|
|
2382
|
+
event: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
|
|
2383
|
+
name: z.ZodLiteral<TextLivechatEventNames.ChatStarted>;
|
|
2384
|
+
}, "strip", z.ZodTypeAny, {
|
|
2385
|
+
name: TextLivechatEventNames.ChatStarted;
|
|
2386
|
+
}, {
|
|
2387
|
+
name: TextLivechatEventNames.ChatStarted;
|
|
2388
|
+
}>, z.ZodObject<{
|
|
2389
|
+
name: z.ZodLiteral<TextLivechatEventNames.ChatEnded>;
|
|
2390
|
+
}, "strip", z.ZodTypeAny, {
|
|
2391
|
+
name: TextLivechatEventNames.ChatEnded;
|
|
2392
|
+
}, {
|
|
2393
|
+
name: TextLivechatEventNames.ChatEnded;
|
|
2394
|
+
}>, z.ZodObject<{
|
|
2395
|
+
name: z.ZodLiteral<TextLivechatEventNames.ChatTransferred>;
|
|
2396
|
+
}, "strip", z.ZodTypeAny, {
|
|
2397
|
+
name: TextLivechatEventNames.ChatTransferred;
|
|
2398
|
+
}, {
|
|
2399
|
+
name: TextLivechatEventNames.ChatTransferred;
|
|
2400
|
+
}>, z.ZodObject<{
|
|
2401
|
+
name: z.ZodLiteral<TextLivechatEventNames.ChatRated>;
|
|
2402
|
+
}, "strip", z.ZodTypeAny, {
|
|
2403
|
+
name: TextLivechatEventNames.ChatRated;
|
|
2404
|
+
}, {
|
|
2405
|
+
name: TextLivechatEventNames.ChatRated;
|
|
2406
|
+
}>, z.ZodObject<{
|
|
2407
|
+
name: z.ZodLiteral<TextLivechatEventNames.ChatCommented>;
|
|
2408
|
+
}, "strip", z.ZodTypeAny, {
|
|
2409
|
+
name: TextLivechatEventNames.ChatCommented;
|
|
2410
|
+
}, {
|
|
2411
|
+
name: TextLivechatEventNames.ChatCommented;
|
|
2412
|
+
}>, z.ZodObject<{
|
|
2413
|
+
name: z.ZodLiteral<TextLivechatEventNames.ChatMessage>;
|
|
2414
|
+
params: z.ZodOptional<z.ZodObject<{
|
|
2415
|
+
filter: z.ZodOptional<z.ZodString>;
|
|
2416
|
+
}, "strip", z.ZodTypeAny, {
|
|
2417
|
+
filter?: string | undefined;
|
|
2418
|
+
}, {
|
|
2419
|
+
filter?: string | undefined;
|
|
2420
|
+
}>>;
|
|
2421
|
+
}, "strip", z.ZodTypeAny, {
|
|
2422
|
+
name: TextLivechatEventNames.ChatMessage;
|
|
2423
|
+
params?: {
|
|
2424
|
+
filter?: string | undefined;
|
|
2425
|
+
} | undefined;
|
|
2426
|
+
}, {
|
|
2427
|
+
name: TextLivechatEventNames.ChatMessage;
|
|
2428
|
+
params?: {
|
|
2429
|
+
filter?: string | undefined;
|
|
2430
|
+
} | undefined;
|
|
2431
|
+
}>, z.ZodObject<{
|
|
2432
|
+
name: z.ZodLiteral<TextLivechatEventNames.UserAddedToChat>;
|
|
2433
|
+
params: z.ZodOptional<z.ZodObject<{
|
|
2434
|
+
userType: z.ZodOptional<z.ZodEnum<["agent", "customer"]>>;
|
|
2435
|
+
}, "strip", z.ZodTypeAny, {
|
|
2436
|
+
userType?: "agent" | "customer" | undefined;
|
|
2437
|
+
}, {
|
|
2438
|
+
userType?: "agent" | "customer" | undefined;
|
|
2439
|
+
}>>;
|
|
2440
|
+
}, "strip", z.ZodTypeAny, {
|
|
2441
|
+
name: TextLivechatEventNames.UserAddedToChat;
|
|
2442
|
+
params?: {
|
|
2443
|
+
userType?: "agent" | "customer" | undefined;
|
|
2444
|
+
} | undefined;
|
|
2445
|
+
}, {
|
|
2446
|
+
name: TextLivechatEventNames.UserAddedToChat;
|
|
2447
|
+
params?: {
|
|
2448
|
+
userType?: "agent" | "customer" | undefined;
|
|
2449
|
+
} | undefined;
|
|
2450
|
+
}>, z.ZodObject<{
|
|
2451
|
+
name: z.ZodLiteral<TextLivechatEventNames.UserRemovedFromChat>;
|
|
2452
|
+
}, "strip", z.ZodTypeAny, {
|
|
2453
|
+
name: TextLivechatEventNames.UserRemovedFromChat;
|
|
2454
|
+
}, {
|
|
2455
|
+
name: TextLivechatEventNames.UserRemovedFromChat;
|
|
2456
|
+
}>]>;
|
|
1962
2457
|
callback: z.ZodString;
|
|
1963
2458
|
}, "strip", z.ZodTypeAny, {
|
|
2459
|
+
event: {
|
|
2460
|
+
name: TextLivechatEventNames.ChatStarted;
|
|
2461
|
+
} | {
|
|
2462
|
+
name: TextLivechatEventNames.ChatEnded;
|
|
2463
|
+
} | {
|
|
2464
|
+
name: TextLivechatEventNames.ChatTransferred;
|
|
2465
|
+
} | {
|
|
2466
|
+
name: TextLivechatEventNames.ChatRated;
|
|
2467
|
+
} | {
|
|
2468
|
+
name: TextLivechatEventNames.ChatCommented;
|
|
2469
|
+
} | {
|
|
2470
|
+
name: TextLivechatEventNames.ChatMessage;
|
|
2471
|
+
params?: {
|
|
2472
|
+
filter?: string | undefined;
|
|
2473
|
+
} | undefined;
|
|
2474
|
+
} | {
|
|
2475
|
+
name: TextLivechatEventNames.UserAddedToChat;
|
|
2476
|
+
params?: {
|
|
2477
|
+
userType?: "agent" | "customer" | undefined;
|
|
2478
|
+
} | undefined;
|
|
2479
|
+
} | {
|
|
2480
|
+
name: TextLivechatEventNames.UserRemovedFromChat;
|
|
2481
|
+
};
|
|
1964
2482
|
callback: string;
|
|
2483
|
+
provider: "text-livechat";
|
|
1965
2484
|
}, {
|
|
2485
|
+
event: {
|
|
2486
|
+
name: TextLivechatEventNames.ChatStarted;
|
|
2487
|
+
} | {
|
|
2488
|
+
name: TextLivechatEventNames.ChatEnded;
|
|
2489
|
+
} | {
|
|
2490
|
+
name: TextLivechatEventNames.ChatTransferred;
|
|
2491
|
+
} | {
|
|
2492
|
+
name: TextLivechatEventNames.ChatRated;
|
|
2493
|
+
} | {
|
|
2494
|
+
name: TextLivechatEventNames.ChatCommented;
|
|
2495
|
+
} | {
|
|
2496
|
+
name: TextLivechatEventNames.ChatMessage;
|
|
2497
|
+
params?: {
|
|
2498
|
+
filter?: string | undefined;
|
|
2499
|
+
} | undefined;
|
|
2500
|
+
} | {
|
|
2501
|
+
name: TextLivechatEventNames.UserAddedToChat;
|
|
2502
|
+
params?: {
|
|
2503
|
+
userType?: "agent" | "customer" | undefined;
|
|
2504
|
+
} | undefined;
|
|
2505
|
+
} | {
|
|
2506
|
+
name: TextLivechatEventNames.UserRemovedFromChat;
|
|
2507
|
+
};
|
|
1966
2508
|
callback: string;
|
|
1967
|
-
|
|
2509
|
+
provider: "text-livechat";
|
|
2510
|
+
}>;
|
|
1968
2511
|
readonly unsubscribe: z.ZodIntersection<z.ZodObject<{
|
|
1969
2512
|
sourceName: z.ZodEnum<["apps", "workflows"]>;
|
|
1970
2513
|
sourceKey: z.ZodString;
|
|
@@ -1975,61 +2518,134 @@ declare const textLivechatEventsZods: {
|
|
|
1975
2518
|
sourceName: "apps" | "workflows";
|
|
1976
2519
|
sourceKey: string;
|
|
1977
2520
|
}>, z.ZodObject<{
|
|
1978
|
-
event: z.ZodNativeEnum<typeof
|
|
2521
|
+
event: z.ZodNativeEnum<typeof TextLivechatEventNames>;
|
|
1979
2522
|
}, "strip", z.ZodTypeAny, {
|
|
1980
|
-
event:
|
|
2523
|
+
event: TextLivechatEventNames;
|
|
1981
2524
|
}, {
|
|
1982
|
-
event:
|
|
2525
|
+
event: TextLivechatEventNames;
|
|
1983
2526
|
}>>;
|
|
2527
|
+
readonly unsubscribeContent: z.ZodObject<{
|
|
2528
|
+
provider: z.ZodLiteral<"text-livechat">;
|
|
2529
|
+
event: z.ZodNativeEnum<typeof TextLivechatEventNames>;
|
|
2530
|
+
}, "strip", z.ZodTypeAny, {
|
|
2531
|
+
event: TextLivechatEventNames;
|
|
2532
|
+
provider: "text-livechat";
|
|
2533
|
+
}, {
|
|
2534
|
+
event: TextLivechatEventNames;
|
|
2535
|
+
provider: "text-livechat";
|
|
2536
|
+
}>;
|
|
1984
2537
|
};
|
|
2538
|
+
type TextLiveChatEvent = z.infer<typeof textLivechatEventsZods.event>;
|
|
1985
2539
|
type SubscribeToTextLivechatEventPayload = z.infer<typeof textLivechatEventsZods.subscribe>;
|
|
1986
2540
|
type UnsubscribeFromTextLivechatEventPayload = z.infer<typeof textLivechatEventsZods.unsubscribe>;
|
|
1987
2541
|
|
|
1988
2542
|
declare const integrationEventsZods: {
|
|
1989
2543
|
sourceName: z.ZodEnum<["apps", "workflows"]>;
|
|
1990
2544
|
providerName: z.ZodEnum<["text-livechat", "mailchimp", "shopify"]>;
|
|
1991
|
-
readonly
|
|
1992
|
-
|
|
1993
|
-
sourceKey: z.ZodString;
|
|
2545
|
+
readonly event: z.ZodUnion<[z.ZodUnion<[z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
|
|
2546
|
+
name: z.ZodLiteral<TextLivechatEventNames.ChatStarted>;
|
|
1994
2547
|
}, "strip", z.ZodTypeAny, {
|
|
1995
|
-
|
|
1996
|
-
sourceKey: string;
|
|
2548
|
+
name: TextLivechatEventNames.ChatStarted;
|
|
1997
2549
|
}, {
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
|
|
2001
|
-
provider: z.ZodDiscriminatedUnion<"provider", [z.ZodObject<{
|
|
2002
|
-
provider: z.ZodLiteral<"text-livechat">;
|
|
2003
|
-
event: z.ZodNativeEnum<typeof TextLivechatEvents>;
|
|
2550
|
+
name: TextLivechatEventNames.ChatStarted;
|
|
2551
|
+
}>, z.ZodObject<{
|
|
2552
|
+
name: z.ZodLiteral<TextLivechatEventNames.ChatEnded>;
|
|
2004
2553
|
}, "strip", z.ZodTypeAny, {
|
|
2005
|
-
|
|
2006
|
-
provider: "text-livechat";
|
|
2554
|
+
name: TextLivechatEventNames.ChatEnded;
|
|
2007
2555
|
}, {
|
|
2008
|
-
|
|
2009
|
-
provider: "text-livechat";
|
|
2556
|
+
name: TextLivechatEventNames.ChatEnded;
|
|
2010
2557
|
}>, z.ZodObject<{
|
|
2011
|
-
|
|
2012
|
-
event: z.ZodNativeEnum<typeof MailchimpEvents>;
|
|
2013
|
-
listId: z.ZodString;
|
|
2558
|
+
name: z.ZodLiteral<TextLivechatEventNames.ChatTransferred>;
|
|
2014
2559
|
}, "strip", z.ZodTypeAny, {
|
|
2015
|
-
|
|
2016
|
-
provider: "mailchimp";
|
|
2017
|
-
listId: string;
|
|
2560
|
+
name: TextLivechatEventNames.ChatTransferred;
|
|
2018
2561
|
}, {
|
|
2019
|
-
|
|
2020
|
-
provider: "mailchimp";
|
|
2021
|
-
listId: string;
|
|
2562
|
+
name: TextLivechatEventNames.ChatTransferred;
|
|
2022
2563
|
}>, z.ZodObject<{
|
|
2023
|
-
|
|
2024
|
-
event: z.ZodNativeEnum<typeof ShopifyEvents>;
|
|
2564
|
+
name: z.ZodLiteral<TextLivechatEventNames.ChatRated>;
|
|
2025
2565
|
}, "strip", z.ZodTypeAny, {
|
|
2026
|
-
|
|
2027
|
-
provider: "shopify";
|
|
2566
|
+
name: TextLivechatEventNames.ChatRated;
|
|
2028
2567
|
}, {
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
|
|
2568
|
+
name: TextLivechatEventNames.ChatRated;
|
|
2569
|
+
}>, z.ZodObject<{
|
|
2570
|
+
name: z.ZodLiteral<TextLivechatEventNames.ChatCommented>;
|
|
2571
|
+
}, "strip", z.ZodTypeAny, {
|
|
2572
|
+
name: TextLivechatEventNames.ChatCommented;
|
|
2573
|
+
}, {
|
|
2574
|
+
name: TextLivechatEventNames.ChatCommented;
|
|
2575
|
+
}>, z.ZodObject<{
|
|
2576
|
+
name: z.ZodLiteral<TextLivechatEventNames.ChatMessage>;
|
|
2577
|
+
params: z.ZodOptional<z.ZodObject<{
|
|
2578
|
+
filter: z.ZodOptional<z.ZodString>;
|
|
2579
|
+
}, "strip", z.ZodTypeAny, {
|
|
2580
|
+
filter?: string | undefined;
|
|
2581
|
+
}, {
|
|
2582
|
+
filter?: string | undefined;
|
|
2583
|
+
}>>;
|
|
2584
|
+
}, "strip", z.ZodTypeAny, {
|
|
2585
|
+
name: TextLivechatEventNames.ChatMessage;
|
|
2586
|
+
params?: {
|
|
2587
|
+
filter?: string | undefined;
|
|
2588
|
+
} | undefined;
|
|
2589
|
+
}, {
|
|
2590
|
+
name: TextLivechatEventNames.ChatMessage;
|
|
2591
|
+
params?: {
|
|
2592
|
+
filter?: string | undefined;
|
|
2593
|
+
} | undefined;
|
|
2594
|
+
}>, z.ZodObject<{
|
|
2595
|
+
name: z.ZodLiteral<TextLivechatEventNames.UserAddedToChat>;
|
|
2596
|
+
params: z.ZodOptional<z.ZodObject<{
|
|
2597
|
+
userType: z.ZodOptional<z.ZodEnum<["agent", "customer"]>>;
|
|
2598
|
+
}, "strip", z.ZodTypeAny, {
|
|
2599
|
+
userType?: "agent" | "customer" | undefined;
|
|
2600
|
+
}, {
|
|
2601
|
+
userType?: "agent" | "customer" | undefined;
|
|
2602
|
+
}>>;
|
|
2603
|
+
}, "strip", z.ZodTypeAny, {
|
|
2604
|
+
name: TextLivechatEventNames.UserAddedToChat;
|
|
2605
|
+
params?: {
|
|
2606
|
+
userType?: "agent" | "customer" | undefined;
|
|
2607
|
+
} | undefined;
|
|
2608
|
+
}, {
|
|
2609
|
+
name: TextLivechatEventNames.UserAddedToChat;
|
|
2610
|
+
params?: {
|
|
2611
|
+
userType?: "agent" | "customer" | undefined;
|
|
2612
|
+
} | undefined;
|
|
2613
|
+
}>, z.ZodObject<{
|
|
2614
|
+
name: z.ZodLiteral<TextLivechatEventNames.UserRemovedFromChat>;
|
|
2615
|
+
}, "strip", z.ZodTypeAny, {
|
|
2616
|
+
name: TextLivechatEventNames.UserRemovedFromChat;
|
|
2617
|
+
}, {
|
|
2618
|
+
name: TextLivechatEventNames.UserRemovedFromChat;
|
|
2619
|
+
}>]>, z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
|
|
2620
|
+
name: z.ZodLiteral<ShopifyEventNames>;
|
|
2621
|
+
}, "strip", z.ZodTypeAny, {
|
|
2622
|
+
name: ShopifyEventNames;
|
|
2623
|
+
}, {
|
|
2624
|
+
name: ShopifyEventNames;
|
|
2625
|
+
}>]>]>, z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
|
|
2626
|
+
name: z.ZodLiteral<MailchimpEventNames.Subscribed>;
|
|
2627
|
+
}, "strip", z.ZodTypeAny, {
|
|
2628
|
+
name: MailchimpEventNames.Subscribed;
|
|
2629
|
+
}, {
|
|
2630
|
+
name: MailchimpEventNames.Subscribed;
|
|
2631
|
+
}>, z.ZodObject<{
|
|
2632
|
+
name: z.ZodLiteral<MailchimpEventNames.Unsubscribed>;
|
|
2633
|
+
}, "strip", z.ZodTypeAny, {
|
|
2634
|
+
name: MailchimpEventNames.Unsubscribed;
|
|
2635
|
+
}, {
|
|
2636
|
+
name: MailchimpEventNames.Unsubscribed;
|
|
2637
|
+
}>]>]>;
|
|
2638
|
+
readonly source: z.ZodObject<{
|
|
2639
|
+
sourceName: z.ZodEnum<["apps", "workflows"]>;
|
|
2640
|
+
sourceKey: z.ZodString;
|
|
2641
|
+
}, "strip", z.ZodTypeAny, {
|
|
2642
|
+
sourceName: "apps" | "workflows";
|
|
2643
|
+
sourceKey: string;
|
|
2644
|
+
}, {
|
|
2645
|
+
sourceName: "apps" | "workflows";
|
|
2646
|
+
sourceKey: string;
|
|
2647
|
+
}>;
|
|
2648
|
+
readonly subscribe: z.ZodIntersection<z.ZodObject<{
|
|
2033
2649
|
sourceName: z.ZodEnum<["apps", "workflows"]>;
|
|
2034
2650
|
sourceKey: z.ZodString;
|
|
2035
2651
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2040,41 +2656,192 @@ declare const integrationEventsZods: {
|
|
|
2040
2656
|
sourceKey: string;
|
|
2041
2657
|
}>, z.ZodDiscriminatedUnion<"provider", [z.ZodObject<{
|
|
2042
2658
|
provider: z.ZodLiteral<"text-livechat">;
|
|
2043
|
-
event: z.
|
|
2659
|
+
event: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
|
|
2660
|
+
name: z.ZodLiteral<TextLivechatEventNames.ChatStarted>;
|
|
2661
|
+
}, "strip", z.ZodTypeAny, {
|
|
2662
|
+
name: TextLivechatEventNames.ChatStarted;
|
|
2663
|
+
}, {
|
|
2664
|
+
name: TextLivechatEventNames.ChatStarted;
|
|
2665
|
+
}>, z.ZodObject<{
|
|
2666
|
+
name: z.ZodLiteral<TextLivechatEventNames.ChatEnded>;
|
|
2667
|
+
}, "strip", z.ZodTypeAny, {
|
|
2668
|
+
name: TextLivechatEventNames.ChatEnded;
|
|
2669
|
+
}, {
|
|
2670
|
+
name: TextLivechatEventNames.ChatEnded;
|
|
2671
|
+
}>, z.ZodObject<{
|
|
2672
|
+
name: z.ZodLiteral<TextLivechatEventNames.ChatTransferred>;
|
|
2673
|
+
}, "strip", z.ZodTypeAny, {
|
|
2674
|
+
name: TextLivechatEventNames.ChatTransferred;
|
|
2675
|
+
}, {
|
|
2676
|
+
name: TextLivechatEventNames.ChatTransferred;
|
|
2677
|
+
}>, z.ZodObject<{
|
|
2678
|
+
name: z.ZodLiteral<TextLivechatEventNames.ChatRated>;
|
|
2679
|
+
}, "strip", z.ZodTypeAny, {
|
|
2680
|
+
name: TextLivechatEventNames.ChatRated;
|
|
2681
|
+
}, {
|
|
2682
|
+
name: TextLivechatEventNames.ChatRated;
|
|
2683
|
+
}>, z.ZodObject<{
|
|
2684
|
+
name: z.ZodLiteral<TextLivechatEventNames.ChatCommented>;
|
|
2685
|
+
}, "strip", z.ZodTypeAny, {
|
|
2686
|
+
name: TextLivechatEventNames.ChatCommented;
|
|
2687
|
+
}, {
|
|
2688
|
+
name: TextLivechatEventNames.ChatCommented;
|
|
2689
|
+
}>, z.ZodObject<{
|
|
2690
|
+
name: z.ZodLiteral<TextLivechatEventNames.ChatMessage>;
|
|
2691
|
+
params: z.ZodOptional<z.ZodObject<{
|
|
2692
|
+
filter: z.ZodOptional<z.ZodString>;
|
|
2693
|
+
}, "strip", z.ZodTypeAny, {
|
|
2694
|
+
filter?: string | undefined;
|
|
2695
|
+
}, {
|
|
2696
|
+
filter?: string | undefined;
|
|
2697
|
+
}>>;
|
|
2698
|
+
}, "strip", z.ZodTypeAny, {
|
|
2699
|
+
name: TextLivechatEventNames.ChatMessage;
|
|
2700
|
+
params?: {
|
|
2701
|
+
filter?: string | undefined;
|
|
2702
|
+
} | undefined;
|
|
2703
|
+
}, {
|
|
2704
|
+
name: TextLivechatEventNames.ChatMessage;
|
|
2705
|
+
params?: {
|
|
2706
|
+
filter?: string | undefined;
|
|
2707
|
+
} | undefined;
|
|
2708
|
+
}>, z.ZodObject<{
|
|
2709
|
+
name: z.ZodLiteral<TextLivechatEventNames.UserAddedToChat>;
|
|
2710
|
+
params: z.ZodOptional<z.ZodObject<{
|
|
2711
|
+
userType: z.ZodOptional<z.ZodEnum<["agent", "customer"]>>;
|
|
2712
|
+
}, "strip", z.ZodTypeAny, {
|
|
2713
|
+
userType?: "agent" | "customer" | undefined;
|
|
2714
|
+
}, {
|
|
2715
|
+
userType?: "agent" | "customer" | undefined;
|
|
2716
|
+
}>>;
|
|
2717
|
+
}, "strip", z.ZodTypeAny, {
|
|
2718
|
+
name: TextLivechatEventNames.UserAddedToChat;
|
|
2719
|
+
params?: {
|
|
2720
|
+
userType?: "agent" | "customer" | undefined;
|
|
2721
|
+
} | undefined;
|
|
2722
|
+
}, {
|
|
2723
|
+
name: TextLivechatEventNames.UserAddedToChat;
|
|
2724
|
+
params?: {
|
|
2725
|
+
userType?: "agent" | "customer" | undefined;
|
|
2726
|
+
} | undefined;
|
|
2727
|
+
}>, z.ZodObject<{
|
|
2728
|
+
name: z.ZodLiteral<TextLivechatEventNames.UserRemovedFromChat>;
|
|
2729
|
+
}, "strip", z.ZodTypeAny, {
|
|
2730
|
+
name: TextLivechatEventNames.UserRemovedFromChat;
|
|
2731
|
+
}, {
|
|
2732
|
+
name: TextLivechatEventNames.UserRemovedFromChat;
|
|
2733
|
+
}>]>;
|
|
2734
|
+
callback: z.ZodString;
|
|
2044
2735
|
}, "strip", z.ZodTypeAny, {
|
|
2045
|
-
event:
|
|
2736
|
+
event: {
|
|
2737
|
+
name: TextLivechatEventNames.ChatStarted;
|
|
2738
|
+
} | {
|
|
2739
|
+
name: TextLivechatEventNames.ChatEnded;
|
|
2740
|
+
} | {
|
|
2741
|
+
name: TextLivechatEventNames.ChatTransferred;
|
|
2742
|
+
} | {
|
|
2743
|
+
name: TextLivechatEventNames.ChatRated;
|
|
2744
|
+
} | {
|
|
2745
|
+
name: TextLivechatEventNames.ChatCommented;
|
|
2746
|
+
} | {
|
|
2747
|
+
name: TextLivechatEventNames.ChatMessage;
|
|
2748
|
+
params?: {
|
|
2749
|
+
filter?: string | undefined;
|
|
2750
|
+
} | undefined;
|
|
2751
|
+
} | {
|
|
2752
|
+
name: TextLivechatEventNames.UserAddedToChat;
|
|
2753
|
+
params?: {
|
|
2754
|
+
userType?: "agent" | "customer" | undefined;
|
|
2755
|
+
} | undefined;
|
|
2756
|
+
} | {
|
|
2757
|
+
name: TextLivechatEventNames.UserRemovedFromChat;
|
|
2758
|
+
};
|
|
2759
|
+
callback: string;
|
|
2046
2760
|
provider: "text-livechat";
|
|
2047
2761
|
}, {
|
|
2048
|
-
event:
|
|
2762
|
+
event: {
|
|
2763
|
+
name: TextLivechatEventNames.ChatStarted;
|
|
2764
|
+
} | {
|
|
2765
|
+
name: TextLivechatEventNames.ChatEnded;
|
|
2766
|
+
} | {
|
|
2767
|
+
name: TextLivechatEventNames.ChatTransferred;
|
|
2768
|
+
} | {
|
|
2769
|
+
name: TextLivechatEventNames.ChatRated;
|
|
2770
|
+
} | {
|
|
2771
|
+
name: TextLivechatEventNames.ChatCommented;
|
|
2772
|
+
} | {
|
|
2773
|
+
name: TextLivechatEventNames.ChatMessage;
|
|
2774
|
+
params?: {
|
|
2775
|
+
filter?: string | undefined;
|
|
2776
|
+
} | undefined;
|
|
2777
|
+
} | {
|
|
2778
|
+
name: TextLivechatEventNames.UserAddedToChat;
|
|
2779
|
+
params?: {
|
|
2780
|
+
userType?: "agent" | "customer" | undefined;
|
|
2781
|
+
} | undefined;
|
|
2782
|
+
} | {
|
|
2783
|
+
name: TextLivechatEventNames.UserRemovedFromChat;
|
|
2784
|
+
};
|
|
2785
|
+
callback: string;
|
|
2049
2786
|
provider: "text-livechat";
|
|
2050
|
-
}>, z.ZodObject<{
|
|
2051
|
-
provider: z.ZodLiteral<"mailchimp">;
|
|
2052
|
-
event: z.ZodNativeEnum<typeof MailchimpEvents>;
|
|
2053
|
-
listId: z.ZodString;
|
|
2054
|
-
}, "strip", z.ZodTypeAny, {
|
|
2055
|
-
event: MailchimpEvents;
|
|
2056
|
-
provider: "mailchimp";
|
|
2057
|
-
listId: string;
|
|
2058
|
-
}, {
|
|
2059
|
-
event: MailchimpEvents;
|
|
2060
|
-
provider: "mailchimp";
|
|
2061
|
-
listId: string;
|
|
2062
2787
|
}>, z.ZodObject<{
|
|
2063
2788
|
provider: z.ZodLiteral<"shopify">;
|
|
2064
|
-
event: z.
|
|
2789
|
+
event: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
|
|
2790
|
+
name: z.ZodLiteral<ShopifyEventNames>;
|
|
2791
|
+
}, "strip", z.ZodTypeAny, {
|
|
2792
|
+
name: ShopifyEventNames;
|
|
2793
|
+
}, {
|
|
2794
|
+
name: ShopifyEventNames;
|
|
2795
|
+
}>]>;
|
|
2796
|
+
callback: z.ZodString;
|
|
2065
2797
|
}, "strip", z.ZodTypeAny, {
|
|
2066
|
-
event:
|
|
2798
|
+
event: {
|
|
2799
|
+
name: ShopifyEventNames;
|
|
2800
|
+
};
|
|
2801
|
+
callback: string;
|
|
2067
2802
|
provider: "shopify";
|
|
2068
2803
|
}, {
|
|
2069
|
-
event:
|
|
2804
|
+
event: {
|
|
2805
|
+
name: ShopifyEventNames;
|
|
2806
|
+
};
|
|
2807
|
+
callback: string;
|
|
2070
2808
|
provider: "shopify";
|
|
2071
|
-
}
|
|
2809
|
+
}>, z.ZodObject<{
|
|
2810
|
+
provider: z.ZodLiteral<"mailchimp">;
|
|
2811
|
+
event: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
|
|
2812
|
+
name: z.ZodLiteral<MailchimpEventNames.Subscribed>;
|
|
2813
|
+
}, "strip", z.ZodTypeAny, {
|
|
2814
|
+
name: MailchimpEventNames.Subscribed;
|
|
2815
|
+
}, {
|
|
2816
|
+
name: MailchimpEventNames.Subscribed;
|
|
2817
|
+
}>, z.ZodObject<{
|
|
2818
|
+
name: z.ZodLiteral<MailchimpEventNames.Unsubscribed>;
|
|
2819
|
+
}, "strip", z.ZodTypeAny, {
|
|
2820
|
+
name: MailchimpEventNames.Unsubscribed;
|
|
2821
|
+
}, {
|
|
2822
|
+
name: MailchimpEventNames.Unsubscribed;
|
|
2823
|
+
}>]>;
|
|
2072
2824
|
callback: z.ZodString;
|
|
2825
|
+
listId: z.ZodString;
|
|
2073
2826
|
}, "strip", z.ZodTypeAny, {
|
|
2827
|
+
event: {
|
|
2828
|
+
name: MailchimpEventNames.Subscribed;
|
|
2829
|
+
} | {
|
|
2830
|
+
name: MailchimpEventNames.Unsubscribed;
|
|
2831
|
+
};
|
|
2074
2832
|
callback: string;
|
|
2833
|
+
provider: "mailchimp";
|
|
2834
|
+
listId: string;
|
|
2075
2835
|
}, {
|
|
2836
|
+
event: {
|
|
2837
|
+
name: MailchimpEventNames.Subscribed;
|
|
2838
|
+
} | {
|
|
2839
|
+
name: MailchimpEventNames.Unsubscribed;
|
|
2840
|
+
};
|
|
2076
2841
|
callback: string;
|
|
2077
|
-
|
|
2842
|
+
provider: "mailchimp";
|
|
2843
|
+
listId: string;
|
|
2844
|
+
}>]>>;
|
|
2078
2845
|
readonly unsubscribe: z.ZodIntersection<z.ZodObject<{
|
|
2079
2846
|
sourceName: z.ZodEnum<["apps", "workflows"]>;
|
|
2080
2847
|
sourceKey: z.ZodString;
|
|
@@ -2086,40 +2853,40 @@ declare const integrationEventsZods: {
|
|
|
2086
2853
|
sourceKey: string;
|
|
2087
2854
|
}>, z.ZodDiscriminatedUnion<"provider", [z.ZodObject<{
|
|
2088
2855
|
provider: z.ZodLiteral<"text-livechat">;
|
|
2089
|
-
event: z.ZodNativeEnum<typeof
|
|
2856
|
+
event: z.ZodNativeEnum<typeof TextLivechatEventNames>;
|
|
2090
2857
|
}, "strip", z.ZodTypeAny, {
|
|
2091
|
-
event:
|
|
2858
|
+
event: TextLivechatEventNames;
|
|
2092
2859
|
provider: "text-livechat";
|
|
2093
2860
|
}, {
|
|
2094
|
-
event:
|
|
2861
|
+
event: TextLivechatEventNames;
|
|
2095
2862
|
provider: "text-livechat";
|
|
2863
|
+
}>, z.ZodObject<{
|
|
2864
|
+
provider: z.ZodLiteral<"shopify">;
|
|
2865
|
+
event: z.ZodNativeEnum<typeof ShopifyEventNames>;
|
|
2866
|
+
}, "strip", z.ZodTypeAny, {
|
|
2867
|
+
event: ShopifyEventNames;
|
|
2868
|
+
provider: "shopify";
|
|
2869
|
+
}, {
|
|
2870
|
+
event: ShopifyEventNames;
|
|
2871
|
+
provider: "shopify";
|
|
2096
2872
|
}>, z.ZodObject<{
|
|
2097
2873
|
provider: z.ZodLiteral<"mailchimp">;
|
|
2098
|
-
event: z.ZodNativeEnum<typeof
|
|
2874
|
+
event: z.ZodNativeEnum<typeof MailchimpEventNames>;
|
|
2099
2875
|
listId: z.ZodString;
|
|
2100
2876
|
}, "strip", z.ZodTypeAny, {
|
|
2101
|
-
event:
|
|
2877
|
+
event: MailchimpEventNames;
|
|
2102
2878
|
provider: "mailchimp";
|
|
2103
2879
|
listId: string;
|
|
2104
2880
|
}, {
|
|
2105
|
-
event:
|
|
2881
|
+
event: MailchimpEventNames;
|
|
2106
2882
|
provider: "mailchimp";
|
|
2107
2883
|
listId: string;
|
|
2108
|
-
}>, z.ZodObject<{
|
|
2109
|
-
provider: z.ZodLiteral<"shopify">;
|
|
2110
|
-
event: z.ZodNativeEnum<typeof ShopifyEvents>;
|
|
2111
|
-
}, "strip", z.ZodTypeAny, {
|
|
2112
|
-
event: ShopifyEvents;
|
|
2113
|
-
provider: "shopify";
|
|
2114
|
-
}, {
|
|
2115
|
-
event: ShopifyEvents;
|
|
2116
|
-
provider: "shopify";
|
|
2117
2884
|
}>]>>;
|
|
2118
2885
|
};
|
|
2119
2886
|
type IntegrationEventSourceName = z.infer<typeof integrationEventsZods.sourceName>;
|
|
2120
2887
|
type IntegrationEventSource = z.infer<typeof integrationEventsZods.source>;
|
|
2121
2888
|
type IntegrationEventProviderName = z.infer<typeof integrationEventsZods.providerName>;
|
|
2122
|
-
type
|
|
2889
|
+
type IntegrationEvent = z.infer<typeof integrationEventsZods.event>;
|
|
2123
2890
|
type SubscribeToIntegrationEventPayload = z.infer<typeof integrationEventsZods.subscribe>;
|
|
2124
2891
|
type UnsubscribeFromIntegrationEventPayload = z.infer<typeof integrationEventsZods.unsubscribe>;
|
|
2125
2892
|
|
|
@@ -3070,6 +3837,194 @@ interface Webhook {
|
|
|
3070
3837
|
only_my_chats?: boolean;
|
|
3071
3838
|
};
|
|
3072
3839
|
}
|
|
3840
|
+
declare enum WebhookActions {
|
|
3841
|
+
IncomingChat = "incoming_chat",
|
|
3842
|
+
ChatDeactivated = "chat_deactivated",
|
|
3843
|
+
ChatAccessUpdated = "chat_access_updated",
|
|
3844
|
+
ChatTransferred = "chat_transferred",
|
|
3845
|
+
UserAddedToChat = "user_added_to_chat",
|
|
3846
|
+
UserRemovedFromChat = "user_removed_from_chat",
|
|
3847
|
+
IncomingEvent = "incoming_event",
|
|
3848
|
+
IncomingCustomer = "incoming_customer"
|
|
3849
|
+
}
|
|
3850
|
+
type WebhookUser = {
|
|
3851
|
+
id: string;
|
|
3852
|
+
name: string;
|
|
3853
|
+
events_seen_up_to: "2020-05-12T12:31:46.463000Z";
|
|
3854
|
+
type: "customer";
|
|
3855
|
+
present: boolean;
|
|
3856
|
+
created_at: string;
|
|
3857
|
+
last_visit: {
|
|
3858
|
+
started_at: "2020-05-12T11:32:03.497479Z";
|
|
3859
|
+
ended_at: "2020-05-12T11:33:33.497000Z";
|
|
3860
|
+
ip: "<customer_ip>";
|
|
3861
|
+
user_agent: "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36";
|
|
3862
|
+
geolocation: {
|
|
3863
|
+
country: "Poland";
|
|
3864
|
+
country_code: "PL";
|
|
3865
|
+
region: "Dolnoslaskie";
|
|
3866
|
+
city: "Wroclaw";
|
|
3867
|
+
timezone: "Europe/Warsaw";
|
|
3868
|
+
latitude: "51.1043015";
|
|
3869
|
+
longitude: "17.0335007";
|
|
3870
|
+
};
|
|
3871
|
+
last_pages: [
|
|
3872
|
+
{
|
|
3873
|
+
opened_at: "2020-05-12T11:32:03.497479Z";
|
|
3874
|
+
url: "https://cdn.livechatinc.com/preview/11442778";
|
|
3875
|
+
title: "Sample Page | Preview your chat window";
|
|
3876
|
+
}
|
|
3877
|
+
];
|
|
3878
|
+
};
|
|
3879
|
+
statistics: {
|
|
3880
|
+
chats_count: 1;
|
|
3881
|
+
threads_count: 3;
|
|
3882
|
+
visits_count: 6;
|
|
3883
|
+
page_views_count: 2;
|
|
3884
|
+
greetings_shown_count: 2;
|
|
3885
|
+
greetings_accepted_count: 1;
|
|
3886
|
+
};
|
|
3887
|
+
agent_last_event_created_at: "2020-05-12T11:42:47.393002Z";
|
|
3888
|
+
customer_last_event_created_at: "2020-05-12T12:31:46.463000Z";
|
|
3889
|
+
} | {
|
|
3890
|
+
id: string;
|
|
3891
|
+
name: string;
|
|
3892
|
+
email: string;
|
|
3893
|
+
events_seen_up_to: string;
|
|
3894
|
+
type: "agent";
|
|
3895
|
+
present: boolean;
|
|
3896
|
+
avatar: string;
|
|
3897
|
+
visibility: "all";
|
|
3898
|
+
};
|
|
3899
|
+
interface WebhookChat {
|
|
3900
|
+
id: string;
|
|
3901
|
+
threads: {
|
|
3902
|
+
id: string;
|
|
3903
|
+
created_at: string;
|
|
3904
|
+
active: boolean;
|
|
3905
|
+
user_ids: string[];
|
|
3906
|
+
events: {
|
|
3907
|
+
id: string;
|
|
3908
|
+
created_at: string;
|
|
3909
|
+
visibility: string;
|
|
3910
|
+
type: string;
|
|
3911
|
+
properties: Record<string, Record<string, string>>;
|
|
3912
|
+
author_id: string;
|
|
3913
|
+
custom_id: string;
|
|
3914
|
+
form_id: string;
|
|
3915
|
+
fields: {
|
|
3916
|
+
id: string;
|
|
3917
|
+
type: string;
|
|
3918
|
+
label: string;
|
|
3919
|
+
answer: string;
|
|
3920
|
+
}[];
|
|
3921
|
+
}[];
|
|
3922
|
+
properties: Record<string, Record<string, string>>;
|
|
3923
|
+
access: {
|
|
3924
|
+
group_ids: [0];
|
|
3925
|
+
};
|
|
3926
|
+
tags: string[];
|
|
3927
|
+
previous_thread_id: string;
|
|
3928
|
+
}[];
|
|
3929
|
+
users: WebhookUser[];
|
|
3930
|
+
properties: Record<string, Record<string, string>>;
|
|
3931
|
+
access: {
|
|
3932
|
+
group_ids: number[];
|
|
3933
|
+
};
|
|
3934
|
+
is_followed: boolean;
|
|
3935
|
+
}
|
|
3936
|
+
declare enum WebhookEvents {
|
|
3937
|
+
Message = "message",
|
|
3938
|
+
SystemMessage = "system_message",
|
|
3939
|
+
Custom = "custom"
|
|
3940
|
+
}
|
|
3941
|
+
declare enum WebhookSystemMessages {
|
|
3942
|
+
ChatRated = "rating.chat_rated",
|
|
3943
|
+
ChatCommented = "rating.chat_commented"
|
|
3944
|
+
}
|
|
3945
|
+
interface WebhookSystemMessageEvent {
|
|
3946
|
+
custom_id: string;
|
|
3947
|
+
text: string;
|
|
3948
|
+
system_message_type: WebhookSystemMessages;
|
|
3949
|
+
visibility: "all" | "agents";
|
|
3950
|
+
text_vars: Record<string, object>;
|
|
3951
|
+
}
|
|
3952
|
+
interface WebhookMessageEvent {
|
|
3953
|
+
custom_id: string;
|
|
3954
|
+
text: string;
|
|
3955
|
+
visibility: "all" | "agents";
|
|
3956
|
+
properties: Record<string, Record<string, string>>;
|
|
3957
|
+
postback: {
|
|
3958
|
+
id: string;
|
|
3959
|
+
thread_id: string;
|
|
3960
|
+
event_id: string;
|
|
3961
|
+
type?: string;
|
|
3962
|
+
value?: string;
|
|
3963
|
+
};
|
|
3964
|
+
}
|
|
3965
|
+
type WebhookEvent = ({
|
|
3966
|
+
type: WebhookEvents.Message;
|
|
3967
|
+
} & WebhookMessageEvent) | ({
|
|
3968
|
+
type: WebhookEvents.SystemMessage;
|
|
3969
|
+
} & WebhookSystemMessageEvent);
|
|
3970
|
+
|
|
3971
|
+
interface WebhookDataBase<TPayload = unknown> {
|
|
3972
|
+
webhookId: string;
|
|
3973
|
+
secret_key: string;
|
|
3974
|
+
organization_id: string;
|
|
3975
|
+
action: WebhookActions;
|
|
3976
|
+
additional_data: {
|
|
3977
|
+
chat_properties: Record<string, string>;
|
|
3978
|
+
chat_presence_user_ids: string[];
|
|
3979
|
+
};
|
|
3980
|
+
payload: TPayload;
|
|
3981
|
+
}
|
|
3982
|
+
type WebhookConcreteData<TAction extends WebhookActions, TPayload> = WebhookDataBase<TPayload> & {
|
|
3983
|
+
action: TAction;
|
|
3984
|
+
};
|
|
3985
|
+
type IncomingChatWebhookData = WebhookConcreteData<WebhookActions.IncomingChat, {
|
|
3986
|
+
chat: WebhookChat;
|
|
3987
|
+
}>;
|
|
3988
|
+
type ChatDeactivatedWebhookData = WebhookConcreteData<WebhookActions.ChatDeactivated, {
|
|
3989
|
+
chat_id: string;
|
|
3990
|
+
thread_id: string;
|
|
3991
|
+
user_id: string;
|
|
3992
|
+
}>;
|
|
3993
|
+
type ChatTransferredWebhookData = WebhookConcreteData<WebhookActions.ChatTransferred, {
|
|
3994
|
+
chat_id: string;
|
|
3995
|
+
thread_id: string;
|
|
3996
|
+
requester_id: string;
|
|
3997
|
+
reason: string;
|
|
3998
|
+
transferred_to: {
|
|
3999
|
+
group_ids: number[];
|
|
4000
|
+
agent_ids: string[];
|
|
4001
|
+
};
|
|
4002
|
+
queue: {
|
|
4003
|
+
position: number;
|
|
4004
|
+
wait_time: number;
|
|
4005
|
+
queue_at_us: string;
|
|
4006
|
+
};
|
|
4007
|
+
}>;
|
|
4008
|
+
type UserAddedToChatWebhookData = WebhookConcreteData<WebhookActions.UserAddedToChat, {
|
|
4009
|
+
chat_id: string;
|
|
4010
|
+
thread_id: string;
|
|
4011
|
+
requester_id: string;
|
|
4012
|
+
reason: string;
|
|
4013
|
+
user: WebhookUser;
|
|
4014
|
+
}>;
|
|
4015
|
+
type UserRemovedFromChatWebhookData = WebhookConcreteData<WebhookActions.UserRemovedFromChat, {
|
|
4016
|
+
chat_id: string;
|
|
4017
|
+
thread_id: string;
|
|
4018
|
+
requester_id: string;
|
|
4019
|
+
reason: string;
|
|
4020
|
+
user_id: string;
|
|
4021
|
+
}>;
|
|
4022
|
+
type IncomingEventWebhookData = WebhookConcreteData<WebhookActions.IncomingEvent, {
|
|
4023
|
+
chat_id: string;
|
|
4024
|
+
thread_id: string;
|
|
4025
|
+
event: WebhookEvent;
|
|
4026
|
+
}>;
|
|
4027
|
+
type WebhookData = IncomingChatWebhookData | ChatDeactivatedWebhookData | ChatTransferredWebhookData | UserAddedToChatWebhookData | UserRemovedFromChatWebhookData | IncomingEventWebhookData;
|
|
3073
4028
|
|
|
3074
4029
|
type LiveChatConfigurationApiError = {
|
|
3075
4030
|
type: string;
|
|
@@ -3283,8 +4238,41 @@ declare const api: {
|
|
|
3283
4238
|
};
|
|
3284
4239
|
text: {
|
|
3285
4240
|
events: {
|
|
3286
|
-
subscribe(payload:
|
|
3287
|
-
|
|
4241
|
+
subscribe(payload: {
|
|
4242
|
+
sourceName: "apps" | "workflows";
|
|
4243
|
+
sourceKey: string;
|
|
4244
|
+
} & {
|
|
4245
|
+
event: {
|
|
4246
|
+
name: TextLivechatEventNames.ChatStarted;
|
|
4247
|
+
} | {
|
|
4248
|
+
name: TextLivechatEventNames.ChatEnded;
|
|
4249
|
+
} | {
|
|
4250
|
+
name: TextLivechatEventNames.ChatTransferred;
|
|
4251
|
+
} | {
|
|
4252
|
+
name: TextLivechatEventNames.ChatRated;
|
|
4253
|
+
} | {
|
|
4254
|
+
name: TextLivechatEventNames.ChatCommented;
|
|
4255
|
+
} | {
|
|
4256
|
+
name: TextLivechatEventNames.ChatMessage;
|
|
4257
|
+
params?: {
|
|
4258
|
+
filter?: string | undefined;
|
|
4259
|
+
} | undefined;
|
|
4260
|
+
} | {
|
|
4261
|
+
name: TextLivechatEventNames.UserAddedToChat;
|
|
4262
|
+
params?: {
|
|
4263
|
+
userType?: "agent" | "customer" | undefined;
|
|
4264
|
+
} | undefined;
|
|
4265
|
+
} | {
|
|
4266
|
+
name: TextLivechatEventNames.UserRemovedFromChat;
|
|
4267
|
+
};
|
|
4268
|
+
callback: string;
|
|
4269
|
+
}, authorization?: PlatformClientAuthorization | undefined): Promise<void>;
|
|
4270
|
+
unsubscribe(payload: {
|
|
4271
|
+
sourceName: "apps" | "workflows";
|
|
4272
|
+
sourceKey: string;
|
|
4273
|
+
} & {
|
|
4274
|
+
event: TextLivechatEventNames;
|
|
4275
|
+
}, authorization?: PlatformClientAuthorization | undefined): Promise<void>;
|
|
3288
4276
|
};
|
|
3289
4277
|
};
|
|
3290
4278
|
mailchimp: {
|
|
@@ -3293,16 +4281,19 @@ declare const api: {
|
|
|
3293
4281
|
sourceName: "apps" | "workflows";
|
|
3294
4282
|
sourceKey: string;
|
|
3295
4283
|
} & {
|
|
3296
|
-
event:
|
|
3297
|
-
|
|
3298
|
-
|
|
4284
|
+
event: {
|
|
4285
|
+
name: MailchimpEventNames.Subscribed;
|
|
4286
|
+
} | {
|
|
4287
|
+
name: MailchimpEventNames.Unsubscribed;
|
|
4288
|
+
};
|
|
3299
4289
|
callback: string;
|
|
4290
|
+
listId: string;
|
|
3300
4291
|
}, authorization?: MailchimpClientAuthorization | undefined): Promise<void>;
|
|
3301
4292
|
unsubscribe(payload: {
|
|
3302
4293
|
sourceName: "apps" | "workflows";
|
|
3303
4294
|
sourceKey: string;
|
|
3304
4295
|
} & {
|
|
3305
|
-
event:
|
|
4296
|
+
event: MailchimpEventNames;
|
|
3306
4297
|
listId: string;
|
|
3307
4298
|
}, authorization?: MailchimpClientAuthorization | undefined): Promise<void>;
|
|
3308
4299
|
};
|
|
@@ -3313,15 +4304,16 @@ declare const api: {
|
|
|
3313
4304
|
sourceName: "apps" | "workflows";
|
|
3314
4305
|
sourceKey: string;
|
|
3315
4306
|
} & {
|
|
3316
|
-
event:
|
|
3317
|
-
|
|
4307
|
+
event: {
|
|
4308
|
+
name: ShopifyEventNames;
|
|
4309
|
+
};
|
|
3318
4310
|
callback: string;
|
|
3319
4311
|
}, authorization?: ShopifyClientAuthorization | undefined): Promise<void>;
|
|
3320
4312
|
unsubscribe(payload: {
|
|
3321
4313
|
sourceName: "apps" | "workflows";
|
|
3322
4314
|
sourceKey: string;
|
|
3323
4315
|
} & {
|
|
3324
|
-
event:
|
|
4316
|
+
event: ShopifyEventNames;
|
|
3325
4317
|
}, authorization?: ShopifyClientAuthorization | undefined): Promise<void>;
|
|
3326
4318
|
};
|
|
3327
4319
|
};
|
|
@@ -3610,7 +4602,7 @@ declare const api: {
|
|
|
3610
4602
|
content: string | null;
|
|
3611
4603
|
}[];
|
|
3612
4604
|
}, authorization?: GithubClientAuthorization | undefined): Promise<void>;
|
|
3613
|
-
getRepositoryIssues(repositoryName: string, state: "
|
|
4605
|
+
getRepositoryIssues(repositoryName: string, state: "all" | "open" | "closed"): Promise<GitHubRepositoryIssue[]>;
|
|
3614
4606
|
createRepositoryIssue(repositoryName: string, title: string, body: string): Promise<void>;
|
|
3615
4607
|
};
|
|
3616
4608
|
user: {
|
|
@@ -3920,4 +4912,4 @@ declare function getIntegrationFlowUrl<TContext extends IntegrationFlowContext,
|
|
|
3920
4912
|
adapterUrl: string;
|
|
3921
4913
|
}): string;
|
|
3922
4914
|
|
|
3923
|
-
export { API_NOTIFICATIONS, AccountDto, AccountsApiError, AdapterApiError, AddAppAuthorizationPayload, AddAppAuthorizationResult, AgentConfigurationDto, AgentDto, ApiClient, ApiClientAuthorization, ApiClientConfig, ApiError, ApiErrorBase, ApiErrorKind, ApiErrorName, ApiErrorSource, AppAuthorizationData, AppBaseData, AppBaseTemplate, AppDeployment, AppDeploymentBlock, AppDeploymentBlockConfig, AppDeploymentData, AppDeploymentProvider, AppDisplayData, AppEventDto, AppGitHubRepository, AppGitHubRepositoryConfig, AppInfrastructureBlocks, AppManifest, AppMonetizationData, AppMonitoringCustomReport, AppMonitoringCustomReportDataDto, AppMonitoringEvent, AppMonitoringEventData, AppMonitoringEventsLog, AppMonitoringEventsLogItem, AppMonitoringEventsReportDto, AppMonitoringReportParams, AppMonitoringUptimeReportDto, AppNeonStorage, AppNeonStorageConfig, AppNetlifyDeployment, AppNetlifyDeploymentConfig, AppPlanetScaleStorage, AppPlanetScaleStorageConfig, AppPropertiesData, AppPropertyData, AppRepository, AppRepositoryBlock, AppRepositoryBlockConfig, AppRepositoryData, AppRepositoryProvider, AppRepositoryTarget, AppRepositoryTemplate, AppRepositoryTemplates, AppResourceDto, AppStatsDto, AppStorage, AppStorageBlock, AppStorageBlockConfig, AppStorageData, AppStorageProvider, AppTemplate, AppTemplates, AppVariable, AppVariableExternalProvider, AppVariableLocalProvider, AppVariableProvider, AppVariableStatus, AppVariableType, AppVercelDeployment, AppVercelDeploymentConfig, AppWidgetData, AppWidgetsData, ApplicationAutoReviewDto, ApplicationAutoReviewPayload, ApplicationBasicDetailsDto, ApplicationBenefitDto, ApplicationChatBooster, ApplicationDto, ApplicationFeatureDto, ApplicationIconDto, ApplicationOverviewDto, ApplicationPaymentDto, ApplicationPropertyDto, ApplicationScreenshotDto, ApplicationTutorialAndSupportDto, ApplicationUsageOptionsDto, ApplicationWidget, AuthorizeData, BillingAccountDto, BillingAccountInfoDto, BillingInvoiceDto, Category, ClientDto, ClientInfoDto, ClientScopeDto, ClientWithSecretDto, CreateAppVariablePayload, CreateApplicationAuthorizationPayload, CreateApplicationChatActionPayload, CreateApplicationPayload, CreateApplicationResponse, CreateApplicationSubmissionPayload, CreateClientPayload, CreateWorkflowPayload, DeveloperLedgerParams, DpsApiError, EditAppVariablePayload, GetAppMonitoringCustomReportDataPayload, GetAppMonitoringEventsLogPayload, GetAppMonitoringEventsLogResponse, GetAppMonitoringEventsReportPayload, GetAppMonitoringUptimeReportPayload, GetPlanetScaleDatabasePasswordsResult, GetPlanetScaleDatabasesResult, GetPlanetScaleOrganizationsResult, GetTextPlatformDashboardReportParams, GetVercelProjectsResult, GetWorkflowPayload, GitHubAuthorizeAppActionResult, GitHubAuthorizeFlowContext, GitHubAuthorizeFlowResult, GitHubAuthorizeOauthActionResult, GitHubInstallActionContext, GitHubInstallActionResult, GitHubInstallFlowContext, GitHubInstallFlowResult, GitHubInstallation, GitHubRepository, GitHubRepositoryBranch, GitHubRepositoryHook, GitHubRepositoryIssue, GitHubRepositoryKey, GitHubRepositorySeed, GithubClientAuthorization, GithubClientOptions, IntegrationEventProvider, IntegrationEventProviderName, IntegrationEventSource, IntegrationEventSourceName, IntegrationFlowContext, IntegrationFlowOutput, IssueLabel, LinkAppDeploymentData, LinkAppDeploymentNetlifyData, LinkAppDeploymentNetlifySiteData, LinkAppDeploymentPayload, LinkAppDeploymentResult, LinkAppDeploymentVercelData, LinkAppDeploymentVercelProjectData, LinkAppRepositoryData, LinkAppRepositoryGitHubData, LinkAppRepositoryPayload, LinkAppRepositoryResult, LinkAppStorageData, LinkAppStorageNeonData, LinkAppStoragePayload, LinkAppStoragePlanetScaleData, LinkAppStoragePlanetScaleDatabaseData, LiveChatClientAuthorization, LiveChatClientOptions, LiveChatConfigurationApiError, LivechatApiError, MailchimpApiError, MailchimpAuthorizeActionResult, MailchimpAuthorizeFlowContext, MailchimpAuthorizeFlowResult, MailchimpClientAuthorization, MailchimpClientInstanceOptions, MailchimpEvents, MailchimpListWebhook, MyAccountDto, NeonAuthorizeActionResult, NeonAuthorizeFlowContext, NeonAuthorizeFlowResult, NeonClientAuthorization, NeonClientOptions, NeonProjectBranchDto, NeonProjectBranchesDto, NeonProjectDatabaseDto, NeonProjectDatabasesDto, NeonProjectDto, NeonProjectRoleDto, NeonProjectRolesDto, NeonProjectWithConnectionUriDto, NeonProjectsDto, NeonUser, NetlifyAccount, NetlifyAuthorizeActionResult, NetlifyAuthorizeFlowContext, NetlifyAuthorizeFlowResult, NetlifyClientAuthorization, NetlifyClientOptions, NetlifyDeploy, NetlifyDeployKey, NetlifyEnv, NetlifyInstallActionContext, NetlifyInstallActionResult, NetlifyInstallFlowContext, NetlifyInstallFlowResult, NetlifySite, OrganizationDto, PatDto, PatScopeDto, PatWithSecretDto, PlanetScaleAuthorizeActionResult, PlanetScaleAuthorizeFlowContext, PlanetScaleAuthorizeFlowResult, PlanetScaleClientAuthorization, PlanetScaleClientOptions, PlanetScaleDatabase, PlanetScaleDatabasePassword, PlanetScaleOrganization, PlanetScalePaginatedResult, PlanetScalePagination, PlanetScaleUser, PlatformAccountsClientAuthorization, PlatformAccountsClientInstanceOptions, PlatformAdapterClientAuthorization, PlatformAdapterClientOptions, PlatformBillingClientAuthorization, PlatformBillingClientOptions, PlatformClientAuthorization, PlatformDpsClientAuthorization, PlatformDpsClientOptions, ProductDto, PropertiesDto, Property, PropertyAccessDto, PropertyAccessItemDto, PropertyDto, PushAppPayload, PushAppResult, PushAppSaga, PushAppSagaAuthorizationStep, PushAppSagaBaseStep, PushAppSagaDeploymentStep, PushAppSagaDisplayStep, PushAppSagaMonetizationStep, PushAppSagaPropertiesStep, PushAppSagaRepositoryStep, PushAppSagaStorageStep, PushAppSagaWidgetsStep, RemoveAppAuthorizationPayload, RemoveAppMonetizationPayload, RemoveAppPropertiesPayload, RemoveAppPropertyPayload, RemoveAppWidgetPayload, RemoveAppWidgetsPayload, ResearchCustomerItemDto, ResearchCustomerLocationItemDto, ResearchDictionaryParams, ResearchMarketplaceItemDto, ResearchMarketplaceParams, ResearchTrafficItemDto, ResearchTrafficParams, Saga, SagaInput, SagaOutput, SagaStep, SagaStepChanges, SagaStepComparer, SagaStepPropertyCompareResult, SagaStepStatus, SagaStepsSchema, ScopeDto, SeedAppRepositoryPayload, SeedAppRepositoryResult, ShopifyApiError, ShopifyAuthorizeActionContext, ShopifyAuthorizeActionResult, ShopifyAuthorizeFlowContext, ShopifyAuthorizeFlowResult, ShopifyClientAuthorization, ShopifyClientOptions, ShopifyEvents, ShortcutDto, SubscribeToIntegrationEventPayload, SubscribeToMailchimpEventPayload, SubscribeToShopifyEventPayload, SubscribeToTextLivechatEventPayload, SyncAppVariablePayload, TextAuthorizeActionContext, TextAuthorizeActionResult, TextAuthorizeFlowContext, TextAuthorizeFlowResult, TextClientAuthorization, TextClientOptions, TextLivechatEvents, TextPlatformDashboardCreditsDto, TextPlatformDashboardPaymentDto, TextPlatformDashboardReportDto, TextPlatformDashboardReportItemDto, TriggerPayload, TriggerType, UnauthorizeAccountsApiError, UnauthorizeApiError, UnlinkAppDeploymentData, UnlinkAppDeploymentPayload, UnlinkAppRepositoryData, UnlinkAppRepositoryPayload, UnlinkAppStorageData, UnlinkAppStoragePayload, UnsubscribeFromIntegrationEventPayload, UnsubscribeFromMailchimpEventPayload, UnsubscribeFromShopifyEventPayload, UnsubscribeFromTextLivechatEventPayload, UpdateAppAuthorizationPayload, UpdateAppInfrastructureBlocksPayload, UpdateApplicationChangelogPayload, UpdateApplicationChatActionPayload, UpdateApplicationDirectInstallUrlPayload, UpdateApplicationIconPayload, UpdateApplicationOnboardingPayload, UpdateApplicationProductPayload, UpdateApplicationWebhookPayload, UpdateApplicationWidgetDto, UpdateChatWebhookPayload, UpdateClientPayload, UpdateUserFeatures, UpdateUserIntegrations, UpsertAppDeploymentPayload, UpsertAppMonetizationPayload, UpsertAppPropertiesPayload, UpsertAppPropertyPayload, UpsertAppRepositoryPayload, UpsertAppResourcePayload, UpsertAppStoragePayload, UpsertAppWidgetPayload, UpsertAppWidgetsPayload, UpsertApplicationChatBoosterPayload, UserDto, UserGitHubIntegrationDto, UserIntegrationsDto, UserNeonIntegrationDto, UserNetlifyIntegrationDto, UserPlanetScaleIntegrationDto, UserVercelIntegrationDto, VercelAuthorizeFlowContext, VercelAuthorizeFlowResult, VercelClientAuthorization, VercelClientOptions, VercelConnectActionContext, VercelConnectActionResult, VercelDeploy, VercelInstallActionContext, VercelInstallActionResult, VercelInstallFlowContext, VercelInstallFlowResult, VercelIntegrateActionResult, VercelNamespace, VercelPaginatedResult, VercelPagination, VercelProject, VercelProjectEnv, VercelRepository, VercelSearchRepositoryResponse, VerifyAppPayload, VerifyAppResult, Webhook, WebhookDto, WorkflowDefinitionAddNodeTask, WorkflowDefinitionAddTriggerTask, WorkflowDefinitionDto, WorkflowDefinitionForkJoinTask, WorkflowDefinitionHttpTask, WorkflowDefinitionJoinTask, WorkflowDefinitionSwitchTask, WorkflowDefinitionTask, WorkflowDefinitionTaskBase, WorkflowDefinitionTaskCore, WorkflowDefinitionTaskType, WorkflowDefinitionTerminateTask, WorkflowDefinitionsQueryParams, WorkflowDto, WorkflowExecution, WorkflowExecutionDetails, WorkflowExecutionPayload, WorkflowsDto, allAppTemplates, api, appBaseTemplates, appRepositoryTemplates, appRepositoryTemplatesMap, appTemplates, appTemplatesMap, getAppAutoReviewPayload, getEmptyAppAutoReview, getGitHubClientAuthorization, getGithubClientConfig, getIntegrationFlowUrl, getLiveChatClientAuthorization, getLiveChatClientConfig, getMailchimpClientAuthorization, getMailchimpClientConfig, getMailchimpClientUrl, getNeonClientAuthorization, getNeonClientConfig, getNetlifyClientAuthorization, getNetlifyClientConfig, getPlanetScaleClientAuthorization, getPlanetScaleClientConfig, getPlatformAccountsClientAuthorization, getPlatformAdapterClientAuthorization, getPlatformAdapterClientConfig, getPlatformAdapterClientDefaultConfig, getPlatformBillingClientAuthorization, getPlatformBillingClientConfig, getPlatformDpsAdminClientAuthorization, getPlatformDpsClientAuthorization, getPlatformDpsClientConfig, getRegion, getShopifyClientAuthorization, getShopifyClientConfig, getShopifyClientUrl, getTextClientAuthorization, getTextClientConfig, getVercelClientAuthorization, getVercelClientConfig, githubClientInstance, initApi, initGithubClient, initLiveChatClient, initMailchimpClient, initNeonClient, initNetlifyClient, initPlanetScaleClient, initPlatformAccountsClient, initPlatformAdapterClient, initPlatformBillingClient, initPlatformDpsClient, initShopifyClient, initTextClient, initVercelClient, integrationEventsZods, livechatClientInstance, mailchimpClientInstance, mailchimpEventsZods, neonClientInstance, netlifyClientInstance, planetScaleClientInstance, platformAccountsClientInstance, platformAdapterClientInstance, platformBillingClientInstance, platformDpsClientInstance, shopifyClientInstance, shopifyEventsZods, textClientInstance, textLivechatEventsZods, updateGithubClient, updateMailchimpClient, updateNeonClient, updateNetlifyClient, updatePlanetScaleClient, updatePlatformAdapterClient, updateShopifyClient, updateTextClient, updateVercelClient, vercelClientInstance };
|
|
4915
|
+
export { API_NOTIFICATIONS, AccountDto, AccountsApiError, AdapterApiError, AddAppAuthorizationPayload, AddAppAuthorizationResult, AgentConfigurationDto, AgentDto, ApiClient, ApiClientAuthorization, ApiClientConfig, ApiError, ApiErrorBase, ApiErrorKind, ApiErrorName, ApiErrorSource, AppAuthorizationData, AppBaseData, AppBaseTemplate, AppDeployment, AppDeploymentBlock, AppDeploymentBlockConfig, AppDeploymentData, AppDeploymentProvider, AppDisplayData, AppEventDto, AppGitHubRepository, AppGitHubRepositoryConfig, AppInfrastructureBlocks, AppManifest, AppMonetizationData, AppMonitoringCustomReport, AppMonitoringCustomReportDataDto, AppMonitoringEvent, AppMonitoringEventData, AppMonitoringEventsLog, AppMonitoringEventsLogItem, AppMonitoringEventsReportDto, AppMonitoringReportParams, AppMonitoringUptimeReportDto, AppNeonStorage, AppNeonStorageConfig, AppNetlifyDeployment, AppNetlifyDeploymentConfig, AppPlanetScaleStorage, AppPlanetScaleStorageConfig, AppPropertiesData, AppPropertyData, AppRepository, AppRepositoryBlock, AppRepositoryBlockConfig, AppRepositoryData, AppRepositoryProvider, AppRepositoryTarget, AppRepositoryTemplate, AppRepositoryTemplates, AppResourceDto, AppStatsDto, AppStorage, AppStorageBlock, AppStorageBlockConfig, AppStorageData, AppStorageProvider, AppTemplate, AppTemplates, AppVariable, AppVariableExternalProvider, AppVariableLocalProvider, AppVariableProvider, AppVariableStatus, AppVariableType, AppVercelDeployment, AppVercelDeploymentConfig, AppWidgetData, AppWidgetsData, ApplicationAutoReviewDto, ApplicationAutoReviewPayload, ApplicationBasicDetailsDto, ApplicationBenefitDto, ApplicationChatBooster, ApplicationDto, ApplicationFeatureDto, ApplicationIconDto, ApplicationOverviewDto, ApplicationPaymentDto, ApplicationPropertyDto, ApplicationScreenshotDto, ApplicationTutorialAndSupportDto, ApplicationUsageOptionsDto, ApplicationWidget, AuthorizeData, BillingAccountDto, BillingAccountInfoDto, BillingInvoiceDto, Category, ChatDeactivatedWebhookData, ChatTransferredWebhookData, ClientDto, ClientInfoDto, ClientScopeDto, ClientWithSecretDto, CreateAppVariablePayload, CreateApplicationAuthorizationPayload, CreateApplicationChatActionPayload, CreateApplicationPayload, CreateApplicationResponse, CreateApplicationSubmissionPayload, CreateClientPayload, CreateWorkflowPayload, DeveloperLedgerParams, DpsApiError, EditAppVariablePayload, GetAppMonitoringCustomReportDataPayload, GetAppMonitoringEventsLogPayload, GetAppMonitoringEventsLogResponse, GetAppMonitoringEventsReportPayload, GetAppMonitoringUptimeReportPayload, GetPlanetScaleDatabasePasswordsResult, GetPlanetScaleDatabasesResult, GetPlanetScaleOrganizationsResult, GetTextPlatformDashboardReportParams, GetVercelProjectsResult, GetWorkflowPayload, GitHubAuthorizeAppActionResult, GitHubAuthorizeFlowContext, GitHubAuthorizeFlowResult, GitHubAuthorizeOauthActionResult, GitHubInstallActionContext, GitHubInstallActionResult, GitHubInstallFlowContext, GitHubInstallFlowResult, GitHubInstallation, GitHubRepository, GitHubRepositoryBranch, GitHubRepositoryHook, GitHubRepositoryIssue, GitHubRepositoryKey, GitHubRepositorySeed, GithubClientAuthorization, GithubClientOptions, IncomingChatWebhookData, IncomingEventWebhookData, IntegrationEvent, IntegrationEventProviderName, IntegrationEventSource, IntegrationEventSourceName, IntegrationFlowContext, IntegrationFlowOutput, IssueLabel, LinkAppDeploymentData, LinkAppDeploymentNetlifyData, LinkAppDeploymentNetlifySiteData, LinkAppDeploymentPayload, LinkAppDeploymentResult, LinkAppDeploymentVercelData, LinkAppDeploymentVercelProjectData, LinkAppRepositoryData, LinkAppRepositoryGitHubData, LinkAppRepositoryPayload, LinkAppRepositoryResult, LinkAppStorageData, LinkAppStorageNeonData, LinkAppStoragePayload, LinkAppStoragePlanetScaleData, LinkAppStoragePlanetScaleDatabaseData, LiveChatClientAuthorization, LiveChatClientOptions, LiveChatConfigurationApiError, LivechatApiError, MailchimpApiError, MailchimpAuthorizeActionResult, MailchimpAuthorizeFlowContext, MailchimpAuthorizeFlowResult, MailchimpClientAuthorization, MailchimpClientInstanceOptions, MailchimpEvent, MailchimpEventNames, MailchimpListWebhook, MailchimpSubscribeWebhookData, MailchimpUnsubscribeWebhookData, MailchimpWebhookConcreteData, MailchimpWebhookData, MailchimpWebhookDataBase, MailchimpWebhookEvents, MyAccountDto, NeonAuthorizeActionResult, NeonAuthorizeFlowContext, NeonAuthorizeFlowResult, NeonClientAuthorization, NeonClientOptions, NeonProjectBranchDto, NeonProjectBranchesDto, NeonProjectDatabaseDto, NeonProjectDatabasesDto, NeonProjectDto, NeonProjectRoleDto, NeonProjectRolesDto, NeonProjectWithConnectionUriDto, NeonProjectsDto, NeonUser, NetlifyAccount, NetlifyAuthorizeActionResult, NetlifyAuthorizeFlowContext, NetlifyAuthorizeFlowResult, NetlifyClientAuthorization, NetlifyClientOptions, NetlifyDeploy, NetlifyDeployKey, NetlifyEnv, NetlifyInstallActionContext, NetlifyInstallActionResult, NetlifyInstallFlowContext, NetlifyInstallFlowResult, NetlifySite, OrganizationDto, PatDto, PatScopeDto, PatWithSecretDto, PlanetScaleAuthorizeActionResult, PlanetScaleAuthorizeFlowContext, PlanetScaleAuthorizeFlowResult, PlanetScaleClientAuthorization, PlanetScaleClientOptions, PlanetScaleDatabase, PlanetScaleDatabasePassword, PlanetScaleOrganization, PlanetScalePaginatedResult, PlanetScalePagination, PlanetScaleUser, PlatformAccountsClientAuthorization, PlatformAccountsClientInstanceOptions, PlatformAdapterClientAuthorization, PlatformAdapterClientOptions, PlatformBillingClientAuthorization, PlatformBillingClientOptions, PlatformClientAuthorization, PlatformDpsClientAuthorization, PlatformDpsClientOptions, ProductDto, PropertiesDto, Property, PropertyAccessDto, PropertyAccessItemDto, PropertyDto, PushAppPayload, PushAppResult, PushAppSaga, PushAppSagaAuthorizationStep, PushAppSagaBaseStep, PushAppSagaDeploymentStep, PushAppSagaDisplayStep, PushAppSagaMonetizationStep, PushAppSagaPropertiesStep, PushAppSagaRepositoryStep, PushAppSagaStorageStep, PushAppSagaWidgetsStep, RemoveAppAuthorizationPayload, RemoveAppMonetizationPayload, RemoveAppPropertiesPayload, RemoveAppPropertyPayload, RemoveAppWidgetPayload, RemoveAppWidgetsPayload, ResearchCustomerItemDto, ResearchCustomerLocationItemDto, ResearchDictionaryParams, ResearchMarketplaceItemDto, ResearchMarketplaceParams, ResearchTrafficItemDto, ResearchTrafficParams, Saga, SagaInput, SagaOutput, SagaStep, SagaStepChanges, SagaStepComparer, SagaStepPropertyCompareResult, SagaStepStatus, SagaStepsSchema, ScopeDto, SeedAppRepositoryPayload, SeedAppRepositoryResult, ShopifyApiError, ShopifyAuthorizeActionContext, ShopifyAuthorizeActionResult, ShopifyAuthorizeFlowContext, ShopifyAuthorizeFlowResult, ShopifyClientAuthorization, ShopifyClientOptions, ShopifyEvent, ShopifyEventNames, ShopifyOrderCreatedWebhookData, ShopifyWebhookConcreteData, ShopifyWebhookData, ShopifyWebhookDataBase, ShopifyWebhookTopics, ShortcutDto, SubscribeToIntegrationEventPayload, SubscribeToMailchimpEventPayload, SubscribeToShopifyEventPayload, SubscribeToTextLivechatEventPayload, SyncAppVariablePayload, TextAuthorizeActionContext, TextAuthorizeActionResult, TextAuthorizeFlowContext, TextAuthorizeFlowResult, TextClientAuthorization, TextClientOptions, TextLiveChatEvent, TextLivechatEventNames, TextPlatformDashboardCreditsDto, TextPlatformDashboardPaymentDto, TextPlatformDashboardReportDto, TextPlatformDashboardReportItemDto, TriggerPayload, TriggerType, UnauthorizeAccountsApiError, UnauthorizeApiError, UnlinkAppDeploymentData, UnlinkAppDeploymentPayload, UnlinkAppRepositoryData, UnlinkAppRepositoryPayload, UnlinkAppStorageData, UnlinkAppStoragePayload, UnsubscribeFromIntegrationEventPayload, UnsubscribeFromMailchimpEventPayload, UnsubscribeFromShopifyEventPayload, UnsubscribeFromTextLivechatEventPayload, UpdateAppAuthorizationPayload, UpdateAppInfrastructureBlocksPayload, UpdateApplicationChangelogPayload, UpdateApplicationChatActionPayload, UpdateApplicationDirectInstallUrlPayload, UpdateApplicationIconPayload, UpdateApplicationOnboardingPayload, UpdateApplicationProductPayload, UpdateApplicationWebhookPayload, UpdateApplicationWidgetDto, UpdateChatWebhookPayload, UpdateClientPayload, UpdateUserFeatures, UpdateUserIntegrations, UpsertAppDeploymentPayload, UpsertAppMonetizationPayload, UpsertAppPropertiesPayload, UpsertAppPropertyPayload, UpsertAppRepositoryPayload, UpsertAppResourcePayload, UpsertAppStoragePayload, UpsertAppWidgetPayload, UpsertAppWidgetsPayload, UpsertApplicationChatBoosterPayload, UserAddedToChatWebhookData, UserDto, UserGitHubIntegrationDto, UserIntegrationsDto, UserNeonIntegrationDto, UserNetlifyIntegrationDto, UserPlanetScaleIntegrationDto, UserRemovedFromChatWebhookData, UserVercelIntegrationDto, VercelAuthorizeFlowContext, VercelAuthorizeFlowResult, VercelClientAuthorization, VercelClientOptions, VercelConnectActionContext, VercelConnectActionResult, VercelDeploy, VercelInstallActionContext, VercelInstallActionResult, VercelInstallFlowContext, VercelInstallFlowResult, VercelIntegrateActionResult, VercelNamespace, VercelPaginatedResult, VercelPagination, VercelProject, VercelProjectEnv, VercelRepository, VercelSearchRepositoryResponse, VerifyAppPayload, VerifyAppResult, Webhook, WebhookActions, WebhookChat, WebhookConcreteData, WebhookData, WebhookDataBase, WebhookDto, WebhookEvent, WebhookEvents, WebhookMessageEvent, WebhookSystemMessageEvent, WebhookSystemMessages, WebhookUser, WorkflowDefinitionAddNodeTask, WorkflowDefinitionAddTriggerTask, WorkflowDefinitionDto, WorkflowDefinitionForkJoinTask, WorkflowDefinitionHttpTask, WorkflowDefinitionJoinTask, WorkflowDefinitionSwitchTask, WorkflowDefinitionTask, WorkflowDefinitionTaskBase, WorkflowDefinitionTaskCore, WorkflowDefinitionTaskType, WorkflowDefinitionTerminateTask, WorkflowDefinitionsQueryParams, WorkflowDto, WorkflowExecution, WorkflowExecutionDetails, WorkflowExecutionPayload, WorkflowsDto, allAppTemplates, api, appBaseTemplates, appRepositoryTemplates, appRepositoryTemplatesMap, appTemplates, appTemplatesMap, getAppAutoReviewPayload, getEmptyAppAutoReview, getGitHubClientAuthorization, getGithubClientConfig, getIntegrationFlowUrl, getLiveChatClientAuthorization, getLiveChatClientConfig, getMailchimpClientAuthorization, getMailchimpClientConfig, getMailchimpClientUrl, getNeonClientAuthorization, getNeonClientConfig, getNetlifyClientAuthorization, getNetlifyClientConfig, getPlanetScaleClientAuthorization, getPlanetScaleClientConfig, getPlatformAccountsClientAuthorization, getPlatformAdapterClientAuthorization, getPlatformAdapterClientConfig, getPlatformAdapterClientDefaultConfig, getPlatformBillingClientAuthorization, getPlatformBillingClientConfig, getPlatformDpsAdminClientAuthorization, getPlatformDpsClientAuthorization, getPlatformDpsClientConfig, getRegion, getShopifyClientAuthorization, getShopifyClientConfig, getShopifyClientUrl, getTextClientAuthorization, getTextClientConfig, getVercelClientAuthorization, getVercelClientConfig, githubClientInstance, initApi, initGithubClient, initLiveChatClient, initMailchimpClient, initNeonClient, initNetlifyClient, initPlanetScaleClient, initPlatformAccountsClient, initPlatformAdapterClient, initPlatformBillingClient, initPlatformDpsClient, initShopifyClient, initTextClient, initVercelClient, integrationEventsZods, livechatClientInstance, mailchimpClientInstance, mailchimpEventsZods, neonClientInstance, netlifyClientInstance, planetScaleClientInstance, platformAccountsClientInstance, platformAdapterClientInstance, platformBillingClientInstance, platformDpsClientInstance, shopifyClientInstance, shopifyEventsZods, textClientInstance, textLivechatEventsZods, updateGithubClient, updateMailchimpClient, updateNeonClient, updateNetlifyClient, updatePlanetScaleClient, updatePlatformAdapterClient, updateShopifyClient, updateTextClient, updateVercelClient, vercelClientInstance };
|