@membranehq/sdk 0.9.9 → 0.9.10
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/bundle.d.ts +281 -239
- package/dist/bundle.js +24 -6
- package/dist/bundle.js.map +1 -1
- package/dist/dts/accessors/base-accessors.d.ts +1 -1
- package/dist/dts/{entity-repository.d.ts → api/index.d.ts} +31 -8
- package/dist/dts/index.browser.d.ts +2 -2
- package/dist/dts/integration-elements/connection-level-element.accessor.d.ts +1 -1
- package/dist/dts/integration-elements/integration-level-element.accessor.d.ts +1 -1
- package/dist/dts/scenario-templates/index.d.ts +1 -1
- package/dist/dts/usage/types.d.ts +1 -0
- package/dist/dts/workspace-elements/api/action-run-log-records-api.d.ts +212 -1
- package/dist/dts/workspace-elements/api/actions-api.d.ts +3 -0
- package/dist/dts/workspace-elements/api/app-data-schema-instances-api.d.ts +1 -1
- package/dist/dts/workspace-elements/api/app-data-schemas-api.d.ts +1 -1
- package/dist/dts/workspace-elements/api/app-event-subscriptions-api.d.ts +12 -8
- package/dist/dts/workspace-elements/api/app-event-types-api.d.ts +22 -13
- package/dist/dts/workspace-elements/api/connections-api.d.ts +11 -5
- package/dist/dts/workspace-elements/api/connectors-api.d.ts +7 -0
- package/dist/dts/workspace-elements/api/data-link-table-instances-api.d.ts +55 -17
- package/dist/dts/workspace-elements/api/data-source-instances-api.d.ts +17 -0
- package/dist/dts/workspace-elements/api/data-sources-api.d.ts +2 -2
- package/dist/dts/workspace-elements/api/external-apps-api.d.ts +10 -0
- package/dist/dts/workspace-elements/api/external-event-pulls-api.d.ts +11 -0
- package/dist/dts/workspace-elements/api/external-events-api.d.ts +1 -8
- package/dist/dts/workspace-elements/api/field-mapping-instances-api.d.ts +1 -1
- package/dist/dts/workspace-elements/api/field-mappings-api.d.ts +1 -1
- package/dist/dts/workspace-elements/api/flows-api.d.ts +1 -1
- package/dist/dts/workspace-elements/api/index.d.ts +2 -0
- package/dist/dts/workspace-elements/api/integrations-api.d.ts +26 -8
- package/dist/dts/workspace-elements/api/packages-api.d.ts +23 -9
- package/dist/dts/workspace-elements/api/screens-api.d.ts +7 -4
- package/dist/dts/workspace-elements/base/action-run-log-records/types.d.ts +1 -0
- package/dist/dts/workspace-elements/base/data-sources/index.d.ts +2 -0
- package/dist/dts/{apps/types.d.ts → workspace-elements/base/external-apps/index.d.ts} +1 -0
- package/dist/dts/workspace-elements/base/external-events/api.d.ts +1 -1
- package/dist/dts/workspace-elements/base/integrations/index.d.ts +122 -1
- package/dist/dts/workspace-elements/base/packages/index.d.ts +36 -6
- package/dist/dts/workspace-elements/types.d.ts +16 -0
- package/dist/dts/workspace-elements-catalog/index.d.ts +8 -7
- package/dist/index.browser.d.mts +1446 -1006
- package/dist/index.browser.d.ts +1446 -1006
- package/dist/index.browser.js +241 -60
- package/dist/index.browser.js.map +1 -1
- package/dist/index.browser.mjs +215 -61
- package/dist/index.browser.mjs.map +1 -1
- package/dist/index.node.d.mts +1446 -1006
- package/dist/index.node.d.ts +1446 -1006
- package/dist/index.node.js +241 -60
- package/dist/index.node.js.map +1 -1
- package/dist/index.node.mjs +215 -61
- package/dist/index.node.mjs.map +1 -1
- package/package.json +2 -2
- package/dist/dts/apps/index.d.ts +0 -1
- package/dist/dts/workspace-elements/base/integrations/types.d.ts +0 -104
package/dist/bundle.d.ts
CHANGED
|
@@ -1,6 +1,31 @@
|
|
|
1
1
|
import { AxiosRequestConfig } from 'axios';
|
|
2
2
|
import z$1, { z } from 'zod';
|
|
3
3
|
|
|
4
|
+
declare const PaginationQuery: z.ZodObject<{
|
|
5
|
+
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
6
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
type PaginationQuery = z.infer<typeof PaginationQuery>;
|
|
9
|
+
declare class PaginationResponse<T> {
|
|
10
|
+
items: T[];
|
|
11
|
+
cursor?: string;
|
|
12
|
+
}
|
|
13
|
+
declare const CommonInstancesListQuery: z.ZodObject<{
|
|
14
|
+
search: z.ZodOptional<z.ZodString>;
|
|
15
|
+
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
16
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
17
|
+
includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
18
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
19
|
+
instanceKey: z.ZodOptional<z.ZodString>;
|
|
20
|
+
}, z.core.$strip>;
|
|
21
|
+
type CommonInstancesListQuery = z.infer<typeof CommonInstancesListQuery>;
|
|
22
|
+
declare const CommonIntegrationOrConnectionQuery: z.ZodObject<{
|
|
23
|
+
connectionId: z.ZodOptional<z.ZodString>;
|
|
24
|
+
integrationId: z.ZodOptional<z.ZodString>;
|
|
25
|
+
integrationKey: z.ZodOptional<z.ZodString>;
|
|
26
|
+
}, z.core.$strip>;
|
|
27
|
+
type CommonIntegrationOrConnectionQuery = z.infer<typeof CommonIntegrationOrConnectionQuery>;
|
|
28
|
+
|
|
4
29
|
interface MembraneClientOptions {
|
|
5
30
|
token?: string;
|
|
6
31
|
fetchToken?: () => Promise<string>;
|
|
@@ -31,31 +56,6 @@ declare class MembraneApiClient {
|
|
|
31
56
|
private handleRequestError;
|
|
32
57
|
}
|
|
33
58
|
|
|
34
|
-
declare const PaginationQuery: z.ZodObject<{
|
|
35
|
-
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
36
|
-
cursor: z.ZodOptional<z.ZodString>;
|
|
37
|
-
}, z.core.$strip>;
|
|
38
|
-
type PaginationQuery = z.infer<typeof PaginationQuery>;
|
|
39
|
-
declare const CommonInstancesListQuery: z.ZodObject<{
|
|
40
|
-
search: z.ZodOptional<z.ZodString>;
|
|
41
|
-
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
42
|
-
cursor: z.ZodOptional<z.ZodString>;
|
|
43
|
-
includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
44
|
-
userId: z.ZodOptional<z.ZodString>;
|
|
45
|
-
instanceKey: z.ZodOptional<z.ZodString>;
|
|
46
|
-
}, z.core.$strip>;
|
|
47
|
-
type CommonInstancesListQuery = z.infer<typeof CommonInstancesListQuery>;
|
|
48
|
-
declare const CommonIntegrationOrConnectionQuery: z.ZodObject<{
|
|
49
|
-
connectionId: z.ZodOptional<z.ZodString>;
|
|
50
|
-
integrationId: z.ZodOptional<z.ZodString>;
|
|
51
|
-
integrationKey: z.ZodOptional<z.ZodString>;
|
|
52
|
-
}, z.core.$strip>;
|
|
53
|
-
type CommonIntegrationOrConnectionQuery = z.infer<typeof CommonIntegrationOrConnectionQuery>;
|
|
54
|
-
declare class PaginationResponse<T> {
|
|
55
|
-
items: T[];
|
|
56
|
-
cursor?: string;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
59
|
declare enum ErrorType {
|
|
60
60
|
BAD_REQUEST = "bad_request",
|
|
61
61
|
CONNECTION = "connection",
|
|
@@ -1717,173 +1717,6 @@ declare enum FlowRunLaunchedByTrigger {
|
|
|
1717
1717
|
ExternalEvent = "external-event"
|
|
1718
1718
|
}
|
|
1719
1719
|
|
|
1720
|
-
declare const CreateCustomerRequest: z.ZodObject<{
|
|
1721
|
-
name: z.ZodOptional<z.ZodString>;
|
|
1722
|
-
internalId: z.ZodString;
|
|
1723
|
-
fields: z.ZodOptional<z.ZodAny>;
|
|
1724
|
-
credentials: z.ZodOptional<z.ZodAny>;
|
|
1725
|
-
}, z.core.$strip>;
|
|
1726
|
-
type CreateCustomerRequest = z.infer<typeof CreateCustomerRequest>;
|
|
1727
|
-
declare const UpdateCustomerRequest: z.ZodObject<{
|
|
1728
|
-
name: z.ZodOptional<z.ZodString>;
|
|
1729
|
-
internalId: z.ZodOptional<z.ZodString>;
|
|
1730
|
-
fields: z.ZodOptional<z.ZodAny>;
|
|
1731
|
-
credentials: z.ZodOptional<z.ZodAny>;
|
|
1732
|
-
}, z.core.$strip>;
|
|
1733
|
-
type UpdateCustomerRequest = z.infer<typeof UpdateCustomerRequest>;
|
|
1734
|
-
declare const FindCustomersQuery: z.ZodObject<{
|
|
1735
|
-
isTest: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
1736
|
-
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1737
|
-
cursor: z.ZodOptional<z.ZodString>;
|
|
1738
|
-
search: z.ZodOptional<z.ZodString>;
|
|
1739
|
-
}, z.core.$strip>;
|
|
1740
|
-
type FindCustomersQuery = z.infer<typeof FindCustomersQuery>;
|
|
1741
|
-
declare const CustomerSelector: z.ZodObject<{
|
|
1742
|
-
id: z.ZodString;
|
|
1743
|
-
}, z.core.$strip>;
|
|
1744
|
-
type CustomerSelector = z.infer<typeof CustomerSelector>;
|
|
1745
|
-
declare const CustomerApiResponse: z.ZodObject<{
|
|
1746
|
-
id: z.ZodString;
|
|
1747
|
-
name: z.ZodString;
|
|
1748
|
-
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1749
|
-
internalId: z.ZodString;
|
|
1750
|
-
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1751
|
-
credentials: z.ZodOptional<z.ZodAny>;
|
|
1752
|
-
lastActiveAt: z.ZodOptional<z.ZodString>;
|
|
1753
|
-
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
1754
|
-
isBillable: z.ZodOptional<z.ZodBoolean>;
|
|
1755
|
-
createdAt: z.ZodOptional<z.ZodString>;
|
|
1756
|
-
archivedAt: z.ZodOptional<z.ZodString>;
|
|
1757
|
-
}, z.core.$strip>;
|
|
1758
|
-
type CustomerApiResponse = z.infer<typeof CustomerApiResponse>;
|
|
1759
|
-
type Customer = CustomerApiResponse;
|
|
1760
|
-
|
|
1761
|
-
interface OpenConfigurationOptions {
|
|
1762
|
-
onClose?: (...args: any[]) => void;
|
|
1763
|
-
showPoweredBy?: boolean;
|
|
1764
|
-
}
|
|
1765
|
-
|
|
1766
|
-
declare const CreateIntegrationRequest: z.ZodObject<{
|
|
1767
|
-
name: z.ZodOptional<z.ZodString>;
|
|
1768
|
-
key: z.ZodString;
|
|
1769
|
-
baseUri: z.ZodString;
|
|
1770
|
-
logoUri: z.ZodString;
|
|
1771
|
-
}, z.core.$strip>;
|
|
1772
|
-
type CreateIntegrationRequest = z.infer<typeof CreateIntegrationRequest>;
|
|
1773
|
-
declare const UpdateIntegrationRequest: z.ZodObject<{
|
|
1774
|
-
name: z.ZodOptional<z.ZodString>;
|
|
1775
|
-
key: z.ZodOptional<z.ZodString>;
|
|
1776
|
-
baseUri: z.ZodOptional<z.ZodString>;
|
|
1777
|
-
logoUri: z.ZodOptional<z.ZodString>;
|
|
1778
|
-
}, z.core.$strip>;
|
|
1779
|
-
type UpdateIntegrationRequest = z.infer<typeof UpdateIntegrationRequest>;
|
|
1780
|
-
declare const FindIntegrationsQuery: z.ZodObject<{
|
|
1781
|
-
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1782
|
-
cursor: z.ZodOptional<z.ZodString>;
|
|
1783
|
-
search: z.ZodOptional<z.ZodString>;
|
|
1784
|
-
}, z.core.$strip>;
|
|
1785
|
-
type FindIntegrationsQuery = z.infer<typeof FindIntegrationsQuery>;
|
|
1786
|
-
interface OpenNewConnectionOptions extends OpenConfigurationOptions {
|
|
1787
|
-
allowMultipleConnections?: boolean;
|
|
1788
|
-
name?: string;
|
|
1789
|
-
connectorParameters?: any;
|
|
1790
|
-
}
|
|
1791
|
-
declare const IntegrationApiResponse: z.ZodObject<{
|
|
1792
|
-
id: z.ZodString;
|
|
1793
|
-
uuid: z.ZodOptional<z.ZodString>;
|
|
1794
|
-
key: z.ZodOptional<z.ZodString>;
|
|
1795
|
-
description: z.ZodOptional<z.ZodString>;
|
|
1796
|
-
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1797
|
-
name: z.ZodString;
|
|
1798
|
-
state: z.ZodOptional<z.ZodEnum<typeof WorkspaceElementState>>;
|
|
1799
|
-
errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>>;
|
|
1800
|
-
revision: z.ZodOptional<z.ZodString>;
|
|
1801
|
-
createdAt: z.ZodOptional<z.ZodString>;
|
|
1802
|
-
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1803
|
-
logoUri: z.ZodString;
|
|
1804
|
-
connectorId: z.ZodOptional<z.ZodString>;
|
|
1805
|
-
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
1806
|
-
oAuthCallbackUri: z.ZodOptional<z.ZodString>;
|
|
1807
|
-
parameters: z.ZodOptional<z.ZodAny>;
|
|
1808
|
-
archivedAt: z.ZodOptional<z.ZodString>;
|
|
1809
|
-
hasMissingParameters: z.ZodOptional<z.ZodBoolean>;
|
|
1810
|
-
hasDocumentation: z.ZodOptional<z.ZodBoolean>;
|
|
1811
|
-
hasOperations: z.ZodOptional<z.ZodBoolean>;
|
|
1812
|
-
operationsCount: z.ZodOptional<z.ZodNumber>;
|
|
1813
|
-
hasData: z.ZodOptional<z.ZodBoolean>;
|
|
1814
|
-
dataCollectionsCount: z.ZodOptional<z.ZodNumber>;
|
|
1815
|
-
hasEvents: z.ZodOptional<z.ZodBoolean>;
|
|
1816
|
-
eventsCount: z.ZodOptional<z.ZodNumber>;
|
|
1817
|
-
hasGlobalWebhooks: z.ZodOptional<z.ZodBoolean>;
|
|
1818
|
-
hasUdm: z.ZodOptional<z.ZodBoolean>;
|
|
1819
|
-
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
1820
|
-
appUuid: z.ZodOptional<z.ZodString>;
|
|
1821
|
-
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
1822
|
-
authType: z.ZodOptional<z.ZodEnum<{
|
|
1823
|
-
proxy: "proxy";
|
|
1824
|
-
"integration-app-token": "integration-app-token";
|
|
1825
|
-
"membrane-token": "membrane-token";
|
|
1826
|
-
oauth2: "oauth2";
|
|
1827
|
-
oauth1: "oauth1";
|
|
1828
|
-
"client-credentials": "client-credentials";
|
|
1829
|
-
}>>;
|
|
1830
|
-
connection: z.ZodOptional<z.ZodObject<{
|
|
1831
|
-
id: z.ZodString;
|
|
1832
|
-
name: z.ZodString;
|
|
1833
|
-
userId: z.ZodString;
|
|
1834
|
-
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
1835
|
-
disconnected: z.ZodOptional<z.ZodBoolean>;
|
|
1836
|
-
isDefunct: z.ZodOptional<z.ZodBoolean>;
|
|
1837
|
-
state: z.ZodOptional<z.ZodEnum<typeof WorkspaceElementState>>;
|
|
1838
|
-
error: z.ZodOptional<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>;
|
|
1839
|
-
integrationId: z.ZodString;
|
|
1840
|
-
authOptionKey: z.ZodOptional<z.ZodString>;
|
|
1841
|
-
createdAt: z.ZodString;
|
|
1842
|
-
updatedAt: z.ZodString;
|
|
1843
|
-
lastActiveAt: z.ZodOptional<z.ZodString>;
|
|
1844
|
-
nextCredentialsRefreshAt: z.ZodOptional<z.ZodString>;
|
|
1845
|
-
nextRetryTimestamp: z.ZodOptional<z.ZodString>;
|
|
1846
|
-
retryAttempts: z.ZodOptional<z.ZodNumber>;
|
|
1847
|
-
archivedAt: z.ZodOptional<z.ZodString>;
|
|
1848
|
-
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
1849
|
-
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1850
|
-
}, z.core.$strip>>;
|
|
1851
|
-
spec: z.ZodOptional<z.ZodAny>;
|
|
1852
|
-
authOptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1853
|
-
key: z.ZodString;
|
|
1854
|
-
type: z.ZodEnum<{
|
|
1855
|
-
proxy: "proxy";
|
|
1856
|
-
"integration-app-token": "integration-app-token";
|
|
1857
|
-
"membrane-token": "membrane-token";
|
|
1858
|
-
oauth2: "oauth2";
|
|
1859
|
-
oauth1: "oauth1";
|
|
1860
|
-
"client-credentials": "client-credentials";
|
|
1861
|
-
}>;
|
|
1862
|
-
title: z.ZodOptional<z.ZodString>;
|
|
1863
|
-
description: z.ZodOptional<z.ZodString>;
|
|
1864
|
-
ui: z.ZodOptional<z.ZodObject<{
|
|
1865
|
-
schema: z.ZodOptional<z.ZodAny>;
|
|
1866
|
-
helpUri: z.ZodOptional<z.ZodString>;
|
|
1867
|
-
}, z.core.$strip>>;
|
|
1868
|
-
}, z.core.$strip>>>;
|
|
1869
|
-
parametersSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
|
|
1870
|
-
}, z.core.$strip>;
|
|
1871
|
-
type IntegrationApiResponse = z.infer<typeof IntegrationApiResponse>;
|
|
1872
|
-
type Integration = IntegrationApiResponse;
|
|
1873
|
-
|
|
1874
|
-
declare enum IntegrationElementType {
|
|
1875
|
-
APP_DATA_SCHEMA = "app-data-schema",
|
|
1876
|
-
APP_EVENT_TYPE = "app-event-type",
|
|
1877
|
-
DATA_SOURCE = "data-source",
|
|
1878
|
-
SCHEMA = "schema",
|
|
1879
|
-
FIELD_MAPPING = "field-mapping",
|
|
1880
|
-
FLOW = "flow",
|
|
1881
|
-
INTEGRATION = "integration",
|
|
1882
|
-
ACTION = "action",
|
|
1883
|
-
DATA_LINK_TABLE = "data-link-table",
|
|
1884
|
-
EXTERNAL_EVENT = "external-event"
|
|
1885
|
-
}
|
|
1886
|
-
|
|
1887
1720
|
declare const PackageEditableProperties: z.ZodObject<{
|
|
1888
1721
|
uuid: z.ZodOptional<z.ZodString>;
|
|
1889
1722
|
key: z.ZodOptional<z.ZodString>;
|
|
@@ -1897,9 +1730,10 @@ declare const PackageEditableProperties: z.ZodObject<{
|
|
|
1897
1730
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
1898
1731
|
instanceKey: z.ZodOptional<z.ZodString>;
|
|
1899
1732
|
scenarioTemplateId: z.ZodOptional<z.ZodString>;
|
|
1733
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
1900
1734
|
elements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1901
1735
|
id: z.ZodString;
|
|
1902
|
-
type: z.ZodEnum<typeof
|
|
1736
|
+
type: z.ZodEnum<typeof WorkspaceElementType>;
|
|
1903
1737
|
element: z.ZodOptional<z.ZodAny>;
|
|
1904
1738
|
}, z.core.$strip>>>;
|
|
1905
1739
|
}, z.core.$strip>;
|
|
@@ -1999,15 +1833,6 @@ declare const BaseDataLinkTable: z.ZodObject<{
|
|
|
1999
1833
|
}, z.core.$strip>;
|
|
2000
1834
|
type BaseDataLinkTable = z.infer<typeof BaseDataLinkTable>;
|
|
2001
1835
|
|
|
2002
|
-
declare const DataLink: z.ZodObject<{
|
|
2003
|
-
id: z.ZodString;
|
|
2004
|
-
dataLinkTableInstanceId: z.ZodString;
|
|
2005
|
-
externalRecordId: z.ZodString;
|
|
2006
|
-
appRecordId: z.ZodString;
|
|
2007
|
-
direction: z.ZodEnum<typeof DataLinkDirection>;
|
|
2008
|
-
}, z.core.$strip>;
|
|
2009
|
-
type DataLink = z.infer<typeof DataLink>;
|
|
2010
|
-
|
|
2011
1836
|
declare const BaseAppEventType: z.ZodObject<{
|
|
2012
1837
|
id: z.ZodString;
|
|
2013
1838
|
uuid: z.ZodOptional<z.ZodString>;
|
|
@@ -2790,9 +2615,9 @@ type FlowApiResponse = z.infer<typeof FlowApiResponse>;
|
|
|
2790
2615
|
type Flow = FlowApiResponse;
|
|
2791
2616
|
declare const FindFlowsQuery: z.ZodObject<{
|
|
2792
2617
|
search: z.ZodOptional<z.ZodString>;
|
|
2793
|
-
includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
2794
2618
|
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2795
2619
|
cursor: z.ZodOptional<z.ZodString>;
|
|
2620
|
+
includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
2796
2621
|
userId: z.ZodOptional<z.ZodString>;
|
|
2797
2622
|
instanceKey: z.ZodOptional<z.ZodString>;
|
|
2798
2623
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
@@ -3431,9 +3256,9 @@ type DataSourceApiResponse = z.infer<typeof DataSourceApiResponse>;
|
|
|
3431
3256
|
type DataSource = DataSourceApiResponse;
|
|
3432
3257
|
declare const FindDataSourcesQuery: z.ZodObject<{
|
|
3433
3258
|
search: z.ZodOptional<z.ZodString>;
|
|
3434
|
-
includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
3435
3259
|
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3436
3260
|
cursor: z.ZodOptional<z.ZodString>;
|
|
3261
|
+
includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
3437
3262
|
userId: z.ZodOptional<z.ZodString>;
|
|
3438
3263
|
instanceKey: z.ZodOptional<z.ZodString>;
|
|
3439
3264
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
@@ -3542,6 +3367,137 @@ interface FindExternalEventSubscriptionsQuery extends PaginationQuery {
|
|
|
3542
3367
|
integrationId?: string;
|
|
3543
3368
|
}
|
|
3544
3369
|
|
|
3370
|
+
interface OpenConfigurationOptions {
|
|
3371
|
+
onClose?: (...args: any[]) => void;
|
|
3372
|
+
showPoweredBy?: boolean;
|
|
3373
|
+
}
|
|
3374
|
+
|
|
3375
|
+
declare const CreateIntegrationRequest: z.ZodObject<{
|
|
3376
|
+
uuid: z.ZodOptional<z.ZodString>;
|
|
3377
|
+
key: z.ZodOptional<z.ZodString>;
|
|
3378
|
+
name: z.ZodOptional<z.ZodString>;
|
|
3379
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3380
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
3381
|
+
baseUri: z.ZodOptional<z.ZodString>;
|
|
3382
|
+
logoUri: z.ZodOptional<z.ZodString>;
|
|
3383
|
+
appUuid: z.ZodOptional<z.ZodString>;
|
|
3384
|
+
oAuthCallbackUri: z.ZodOptional<z.ZodUnion<[z.ZodURL, z.ZodLiteral<"">]>>;
|
|
3385
|
+
logoBase64: z.ZodOptional<z.ZodString>;
|
|
3386
|
+
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
3387
|
+
connectorId: z.ZodOptional<z.ZodString>;
|
|
3388
|
+
connectorUuid: z.ZodOptional<z.ZodString>;
|
|
3389
|
+
}, z.core.$strip>;
|
|
3390
|
+
type CreateIntegrationRequest = z.infer<typeof CreateIntegrationRequest>;
|
|
3391
|
+
declare const UpdateIntegrationRequest: z.ZodObject<{
|
|
3392
|
+
uuid: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3393
|
+
key: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3394
|
+
name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3395
|
+
description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3396
|
+
meta: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
3397
|
+
baseUri: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3398
|
+
logoUri: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3399
|
+
appUuid: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3400
|
+
oAuthCallbackUri: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodURL, z.ZodLiteral<"">]>>>;
|
|
3401
|
+
logoBase64: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3402
|
+
connectorVersion: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3403
|
+
connectorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3404
|
+
connectorUuid: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3405
|
+
}, z.core.$strip>;
|
|
3406
|
+
type UpdateIntegrationRequest = z.infer<typeof UpdateIntegrationRequest>;
|
|
3407
|
+
declare const FindIntegrationsQuery: z.ZodObject<{
|
|
3408
|
+
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3409
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
3410
|
+
search: z.ZodOptional<z.ZodString>;
|
|
3411
|
+
}, z.core.$strip>;
|
|
3412
|
+
type FindIntegrationsQuery = z.infer<typeof FindIntegrationsQuery>;
|
|
3413
|
+
interface OpenNewConnectionOptions extends OpenConfigurationOptions {
|
|
3414
|
+
allowMultipleConnections?: boolean;
|
|
3415
|
+
name?: string;
|
|
3416
|
+
connectorParameters?: any;
|
|
3417
|
+
}
|
|
3418
|
+
declare const IntegrationApiResponse: z.ZodObject<{
|
|
3419
|
+
id: z.ZodString;
|
|
3420
|
+
uuid: z.ZodOptional<z.ZodString>;
|
|
3421
|
+
key: z.ZodOptional<z.ZodString>;
|
|
3422
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3423
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
3424
|
+
name: z.ZodString;
|
|
3425
|
+
state: z.ZodOptional<z.ZodEnum<typeof WorkspaceElementState>>;
|
|
3426
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>>;
|
|
3427
|
+
revision: z.ZodOptional<z.ZodString>;
|
|
3428
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
3429
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
3430
|
+
logoUri: z.ZodString;
|
|
3431
|
+
connectorId: z.ZodOptional<z.ZodString>;
|
|
3432
|
+
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
3433
|
+
oAuthCallbackUri: z.ZodOptional<z.ZodString>;
|
|
3434
|
+
parameters: z.ZodOptional<z.ZodAny>;
|
|
3435
|
+
archivedAt: z.ZodOptional<z.ZodString>;
|
|
3436
|
+
hasMissingParameters: z.ZodOptional<z.ZodBoolean>;
|
|
3437
|
+
hasDocumentation: z.ZodOptional<z.ZodBoolean>;
|
|
3438
|
+
hasOperations: z.ZodOptional<z.ZodBoolean>;
|
|
3439
|
+
operationsCount: z.ZodOptional<z.ZodNumber>;
|
|
3440
|
+
hasData: z.ZodOptional<z.ZodBoolean>;
|
|
3441
|
+
dataCollectionsCount: z.ZodOptional<z.ZodNumber>;
|
|
3442
|
+
hasEvents: z.ZodOptional<z.ZodBoolean>;
|
|
3443
|
+
eventsCount: z.ZodOptional<z.ZodNumber>;
|
|
3444
|
+
hasGlobalWebhooks: z.ZodOptional<z.ZodBoolean>;
|
|
3445
|
+
hasUdm: z.ZodOptional<z.ZodBoolean>;
|
|
3446
|
+
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
3447
|
+
appUuid: z.ZodOptional<z.ZodString>;
|
|
3448
|
+
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
3449
|
+
authType: z.ZodOptional<z.ZodEnum<{
|
|
3450
|
+
proxy: "proxy";
|
|
3451
|
+
"integration-app-token": "integration-app-token";
|
|
3452
|
+
"membrane-token": "membrane-token";
|
|
3453
|
+
oauth2: "oauth2";
|
|
3454
|
+
oauth1: "oauth1";
|
|
3455
|
+
"client-credentials": "client-credentials";
|
|
3456
|
+
}>>;
|
|
3457
|
+
connection: z.ZodOptional<z.ZodObject<{
|
|
3458
|
+
id: z.ZodString;
|
|
3459
|
+
name: z.ZodString;
|
|
3460
|
+
userId: z.ZodString;
|
|
3461
|
+
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
3462
|
+
disconnected: z.ZodOptional<z.ZodBoolean>;
|
|
3463
|
+
isDefunct: z.ZodOptional<z.ZodBoolean>;
|
|
3464
|
+
state: z.ZodOptional<z.ZodEnum<typeof WorkspaceElementState>>;
|
|
3465
|
+
error: z.ZodOptional<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>;
|
|
3466
|
+
integrationId: z.ZodString;
|
|
3467
|
+
authOptionKey: z.ZodOptional<z.ZodString>;
|
|
3468
|
+
createdAt: z.ZodString;
|
|
3469
|
+
updatedAt: z.ZodString;
|
|
3470
|
+
lastActiveAt: z.ZodOptional<z.ZodString>;
|
|
3471
|
+
nextCredentialsRefreshAt: z.ZodOptional<z.ZodString>;
|
|
3472
|
+
nextRetryTimestamp: z.ZodOptional<z.ZodString>;
|
|
3473
|
+
retryAttempts: z.ZodOptional<z.ZodNumber>;
|
|
3474
|
+
archivedAt: z.ZodOptional<z.ZodString>;
|
|
3475
|
+
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
3476
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
3477
|
+
}, z.core.$strip>>;
|
|
3478
|
+
spec: z.ZodOptional<z.ZodAny>;
|
|
3479
|
+
authOptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3480
|
+
key: z.ZodString;
|
|
3481
|
+
type: z.ZodEnum<{
|
|
3482
|
+
proxy: "proxy";
|
|
3483
|
+
"integration-app-token": "integration-app-token";
|
|
3484
|
+
"membrane-token": "membrane-token";
|
|
3485
|
+
oauth2: "oauth2";
|
|
3486
|
+
oauth1: "oauth1";
|
|
3487
|
+
"client-credentials": "client-credentials";
|
|
3488
|
+
}>;
|
|
3489
|
+
title: z.ZodOptional<z.ZodString>;
|
|
3490
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3491
|
+
ui: z.ZodOptional<z.ZodObject<{
|
|
3492
|
+
schema: z.ZodOptional<z.ZodAny>;
|
|
3493
|
+
helpUri: z.ZodOptional<z.ZodString>;
|
|
3494
|
+
}, z.core.$strip>>;
|
|
3495
|
+
}, z.core.$strip>>>;
|
|
3496
|
+
parametersSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
|
|
3497
|
+
}, z.core.$strip>;
|
|
3498
|
+
type IntegrationApiResponse = z.infer<typeof IntegrationApiResponse>;
|
|
3499
|
+
type Integration = IntegrationApiResponse;
|
|
3500
|
+
|
|
3545
3501
|
declare const FindPackagesQuery: z.ZodObject<{
|
|
3546
3502
|
layer: z.ZodOptional<z.ZodEnum<{
|
|
3547
3503
|
connection: "connection";
|
|
@@ -3559,6 +3515,7 @@ declare const FindPackagesQuery: z.ZodObject<{
|
|
|
3559
3515
|
parentId: z.ZodOptional<z.ZodString>;
|
|
3560
3516
|
universalParentId: z.ZodOptional<z.ZodString>;
|
|
3561
3517
|
userId: z.ZodOptional<z.ZodString>;
|
|
3518
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
3562
3519
|
}, z.core.$strip>;
|
|
3563
3520
|
type FindPackagesQuery = z.infer<typeof FindPackagesQuery>;
|
|
3564
3521
|
declare const PackageApiResponse: z.ZodObject<{
|
|
@@ -3580,14 +3537,18 @@ declare const PackageApiResponse: z.ZodObject<{
|
|
|
3580
3537
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
3581
3538
|
instanceKey: z.ZodOptional<z.ZodString>;
|
|
3582
3539
|
scenarioTemplateId: z.ZodOptional<z.ZodString>;
|
|
3540
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
3541
|
+
key: z.ZodString;
|
|
3542
|
+
name: z.ZodString;
|
|
3543
|
+
isCustomized: z.ZodOptional<z.ZodBoolean>;
|
|
3583
3544
|
elements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3584
3545
|
id: z.ZodString;
|
|
3585
|
-
type: z.ZodEnum<typeof
|
|
3546
|
+
type: z.ZodEnum<typeof WorkspaceElementType>;
|
|
3586
3547
|
element: z.ZodOptional<z.ZodAny>;
|
|
3587
3548
|
}, z.core.$strip>>>;
|
|
3588
|
-
|
|
3589
|
-
|
|
3590
|
-
|
|
3549
|
+
version: z.ZodOptional<z.ZodString>;
|
|
3550
|
+
changelog: z.ZodOptional<z.ZodString>;
|
|
3551
|
+
parentPackageVersion: z.ZodOptional<z.ZodString>;
|
|
3591
3552
|
appliedToIntegrations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3592
3553
|
element: z.ZodObject<{
|
|
3593
3554
|
id: z.ZodString;
|
|
@@ -3608,9 +3569,10 @@ declare const PackageApiResponse: z.ZodObject<{
|
|
|
3608
3569
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
3609
3570
|
instanceKey: z.ZodOptional<z.ZodString>;
|
|
3610
3571
|
scenarioTemplateId: z.ZodOptional<z.ZodString>;
|
|
3572
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
3611
3573
|
elements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3612
3574
|
id: z.ZodString;
|
|
3613
|
-
type: z.ZodEnum<typeof
|
|
3575
|
+
type: z.ZodEnum<typeof WorkspaceElementType>;
|
|
3614
3576
|
element: z.ZodOptional<z.ZodAny>;
|
|
3615
3577
|
}, z.core.$strip>>>;
|
|
3616
3578
|
key: z.ZodString;
|
|
@@ -3679,9 +3641,13 @@ interface UpdateScreenRequest {
|
|
|
3679
3641
|
interface CreateScreenRequest extends UpdateScreenRequest {
|
|
3680
3642
|
type: ScreenType;
|
|
3681
3643
|
}
|
|
3682
|
-
|
|
3683
|
-
|
|
3684
|
-
|
|
3644
|
+
declare const FindScreensQuery: z.ZodObject<{
|
|
3645
|
+
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3646
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
3647
|
+
type: z.ZodOptional<z.ZodEnum<typeof ScreenType>>;
|
|
3648
|
+
key: z.ZodOptional<z.ZodString>;
|
|
3649
|
+
}, z.core.$strip>;
|
|
3650
|
+
type FindScreensQuery = z.infer<typeof FindScreensQuery>;
|
|
3685
3651
|
declare const ScreenApiResponse: z.ZodObject<{
|
|
3686
3652
|
id: z.ZodString;
|
|
3687
3653
|
name: z.ZodString;
|
|
@@ -3694,6 +3660,47 @@ declare const ScreenApiResponse: z.ZodObject<{
|
|
|
3694
3660
|
type ScreenApiResponse = z.infer<typeof ScreenApiResponse>;
|
|
3695
3661
|
type Screen = ScreenApiResponse;
|
|
3696
3662
|
|
|
3663
|
+
declare const CreateCustomerRequest: z.ZodObject<{
|
|
3664
|
+
name: z.ZodOptional<z.ZodString>;
|
|
3665
|
+
internalId: z.ZodString;
|
|
3666
|
+
fields: z.ZodOptional<z.ZodAny>;
|
|
3667
|
+
credentials: z.ZodOptional<z.ZodAny>;
|
|
3668
|
+
}, z.core.$strip>;
|
|
3669
|
+
type CreateCustomerRequest = z.infer<typeof CreateCustomerRequest>;
|
|
3670
|
+
declare const UpdateCustomerRequest: z.ZodObject<{
|
|
3671
|
+
name: z.ZodOptional<z.ZodString>;
|
|
3672
|
+
internalId: z.ZodOptional<z.ZodString>;
|
|
3673
|
+
fields: z.ZodOptional<z.ZodAny>;
|
|
3674
|
+
credentials: z.ZodOptional<z.ZodAny>;
|
|
3675
|
+
}, z.core.$strip>;
|
|
3676
|
+
type UpdateCustomerRequest = z.infer<typeof UpdateCustomerRequest>;
|
|
3677
|
+
declare const FindCustomersQuery: z.ZodObject<{
|
|
3678
|
+
isTest: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
3679
|
+
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3680
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
3681
|
+
search: z.ZodOptional<z.ZodString>;
|
|
3682
|
+
}, z.core.$strip>;
|
|
3683
|
+
type FindCustomersQuery = z.infer<typeof FindCustomersQuery>;
|
|
3684
|
+
declare const CustomerSelector: z.ZodObject<{
|
|
3685
|
+
id: z.ZodString;
|
|
3686
|
+
}, z.core.$strip>;
|
|
3687
|
+
type CustomerSelector = z.infer<typeof CustomerSelector>;
|
|
3688
|
+
declare const CustomerApiResponse: z.ZodObject<{
|
|
3689
|
+
id: z.ZodString;
|
|
3690
|
+
name: z.ZodString;
|
|
3691
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
3692
|
+
internalId: z.ZodString;
|
|
3693
|
+
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
3694
|
+
credentials: z.ZodOptional<z.ZodAny>;
|
|
3695
|
+
lastActiveAt: z.ZodOptional<z.ZodString>;
|
|
3696
|
+
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
3697
|
+
isBillable: z.ZodOptional<z.ZodBoolean>;
|
|
3698
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
3699
|
+
archivedAt: z.ZodOptional<z.ZodString>;
|
|
3700
|
+
}, z.core.$strip>;
|
|
3701
|
+
type CustomerApiResponse = z.infer<typeof CustomerApiResponse>;
|
|
3702
|
+
type Customer = CustomerApiResponse;
|
|
3703
|
+
|
|
3697
3704
|
declare const FieldMappingApiResponse: z.ZodObject<{
|
|
3698
3705
|
id: z.ZodString;
|
|
3699
3706
|
key: z.ZodOptional<z.ZodString>;
|
|
@@ -3848,9 +3855,9 @@ type FieldMappingApiResponse = z.infer<typeof FieldMappingApiResponse>;
|
|
|
3848
3855
|
type FieldMapping = FieldMappingApiResponse;
|
|
3849
3856
|
declare const FindFieldMappingsQuery: z.ZodObject<{
|
|
3850
3857
|
search: z.ZodOptional<z.ZodString>;
|
|
3851
|
-
includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
3852
3858
|
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3853
3859
|
cursor: z.ZodOptional<z.ZodString>;
|
|
3860
|
+
includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
3854
3861
|
userId: z.ZodOptional<z.ZodString>;
|
|
3855
3862
|
instanceKey: z.ZodOptional<z.ZodString>;
|
|
3856
3863
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
@@ -4358,11 +4365,16 @@ declare const UpdateDataLinkTableRequest: z.ZodObject<{
|
|
|
4358
4365
|
}, z.core.$strip>;
|
|
4359
4366
|
type UpdateDataLinkTableRequest = z.infer<typeof UpdateDataLinkTableRequest>;
|
|
4360
4367
|
|
|
4361
|
-
|
|
4362
|
-
|
|
4363
|
-
|
|
4364
|
-
|
|
4365
|
-
|
|
4368
|
+
declare const FindDataLinkTableInstancesQuery: z.ZodObject<{
|
|
4369
|
+
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4370
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
4371
|
+
id: z.ZodOptional<z.ZodString>;
|
|
4372
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
4373
|
+
dataLinkTableId: z.ZodOptional<z.ZodString>;
|
|
4374
|
+
connectionId: z.ZodOptional<z.ZodString>;
|
|
4375
|
+
integrationId: z.ZodOptional<z.ZodString>;
|
|
4376
|
+
}, z.core.$strip>;
|
|
4377
|
+
type FindDataLinkTableInstancesQuery = z.infer<typeof FindDataLinkTableInstancesQuery>;
|
|
4366
4378
|
interface DataLinkTableInstanceSelector extends ConnectionSelector, ElementInstanceSelector {
|
|
4367
4379
|
dataLinkTableId?: string;
|
|
4368
4380
|
dataLinkTableKey?: string;
|
|
@@ -4370,11 +4382,14 @@ interface DataLinkTableInstanceSelector extends ConnectionSelector, ElementInsta
|
|
|
4370
4382
|
}
|
|
4371
4383
|
interface UpdateDataLinkTableInstanceRequest {
|
|
4372
4384
|
}
|
|
4373
|
-
|
|
4374
|
-
|
|
4375
|
-
|
|
4376
|
-
|
|
4377
|
-
|
|
4385
|
+
declare const FindDataLinksInTableQuery: z.ZodObject<{
|
|
4386
|
+
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4387
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
4388
|
+
direction: z.ZodOptional<z.ZodEnum<typeof DataLinkDirection>>;
|
|
4389
|
+
appRecordId: z.ZodOptional<z.ZodString>;
|
|
4390
|
+
externalRecordId: z.ZodOptional<z.ZodString>;
|
|
4391
|
+
}, z.core.$strip>;
|
|
4392
|
+
type FindDataLinksInTableQuery = z.infer<typeof FindDataLinksInTableQuery>;
|
|
4378
4393
|
interface CreateDataLinkRequest {
|
|
4379
4394
|
direction?: DataLinkDirection;
|
|
4380
4395
|
appRecordId: string;
|
|
@@ -4385,8 +4400,17 @@ interface DeleteDataLinkRequest {
|
|
|
4385
4400
|
appRecordId: string;
|
|
4386
4401
|
externalRecordId: string;
|
|
4387
4402
|
}
|
|
4388
|
-
|
|
4389
|
-
|
|
4403
|
+
declare const FindDataLinksResponse: z.ZodObject<{
|
|
4404
|
+
items: z.ZodArray<z.ZodObject<{
|
|
4405
|
+
id: z.ZodString;
|
|
4406
|
+
dataLinkTableInstanceId: z.ZodString;
|
|
4407
|
+
externalRecordId: z.ZodString;
|
|
4408
|
+
appRecordId: z.ZodString;
|
|
4409
|
+
direction: z.ZodEnum<typeof DataLinkDirection>;
|
|
4410
|
+
}, z.core.$strip>>;
|
|
4411
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
4412
|
+
}, z.core.$strip>;
|
|
4413
|
+
type FindDataLinksResponse = z.infer<typeof FindDataLinksResponse>;
|
|
4390
4414
|
declare const DataLinkTableInstanceApiResponse: z.ZodObject<{
|
|
4391
4415
|
id: z.ZodString;
|
|
4392
4416
|
uuid: z.ZodOptional<z.ZodString>;
|
|
@@ -4511,17 +4535,27 @@ interface CreateAppEventTypeRequest extends UpdateAppEventTypeRequest {
|
|
|
4511
4535
|
key: string;
|
|
4512
4536
|
name: string;
|
|
4513
4537
|
}
|
|
4514
|
-
|
|
4515
|
-
|
|
4516
|
-
|
|
4538
|
+
declare const FindAppEventTypesQuery: z.ZodObject<{
|
|
4539
|
+
search: z.ZodOptional<z.ZodString>;
|
|
4540
|
+
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4541
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
4542
|
+
includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
4543
|
+
connectorId: z.ZodOptional<z.ZodString>;
|
|
4544
|
+
}, z.core.$strip>;
|
|
4545
|
+
type FindAppEventTypesQuery = z.infer<typeof FindAppEventTypesQuery>;
|
|
4517
4546
|
|
|
4518
|
-
|
|
4519
|
-
|
|
4520
|
-
|
|
4521
|
-
|
|
4522
|
-
|
|
4523
|
-
|
|
4524
|
-
|
|
4547
|
+
declare const FindAppEventSubscriptionsQuery: z.ZodObject<{
|
|
4548
|
+
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4549
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
4550
|
+
search: z.ZodOptional<z.ZodString>;
|
|
4551
|
+
includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
4552
|
+
id: z.ZodOptional<z.ZodString>;
|
|
4553
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
4554
|
+
appEventTypeId: z.ZodOptional<z.ZodString>;
|
|
4555
|
+
isSubscribed: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
4556
|
+
instanceKey: z.ZodOptional<z.ZodString>;
|
|
4557
|
+
}, z.core.$strip>;
|
|
4558
|
+
type FindAppEventSubscriptionsQuery = z.infer<typeof FindAppEventSubscriptionsQuery>;
|
|
4525
4559
|
interface UpdateAppEventSubscriptionRequest {
|
|
4526
4560
|
}
|
|
4527
4561
|
interface AppEventSubscriptionSelector extends Omit<ElementInstanceSelector, 'parentKey' | 'parentId'> {
|
|
@@ -4805,13 +4839,19 @@ type ExternalEventSubscriptionApiResponse = z.infer<typeof ExternalEventSubscrip
|
|
|
4805
4839
|
type ExternalEventSubscription = ExternalEventSubscriptionApiResponse;
|
|
4806
4840
|
|
|
4807
4841
|
declare const FindConnectionsQuery: z.ZodObject<{
|
|
4842
|
+
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4843
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
4844
|
+
search: z.ZodOptional<z.ZodString>;
|
|
4845
|
+
includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
4846
|
+
connectorId: z.ZodOptional<z.ZodString>;
|
|
4847
|
+
id: z.ZodOptional<z.ZodString>;
|
|
4808
4848
|
userId: z.ZodOptional<z.ZodString>;
|
|
4849
|
+
name: z.ZodOptional<z.ZodString>;
|
|
4809
4850
|
isTest: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
4810
|
-
|
|
4851
|
+
disconnected: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
4811
4852
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
4812
|
-
|
|
4813
|
-
|
|
4814
|
-
cursor: z.ZodOptional<z.ZodString>;
|
|
4853
|
+
integrationKey: z.ZodOptional<z.ZodString>;
|
|
4854
|
+
includeSecrets: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
4815
4855
|
}, z.core.$strip>;
|
|
4816
4856
|
type FindConnectionsQuery = z.infer<typeof FindConnectionsQuery>;
|
|
4817
4857
|
declare const CreateConnectionRequest: z.ZodObject<{
|
|
@@ -5116,6 +5156,7 @@ declare const FindActionsQuery: z.ZodObject<{
|
|
|
5116
5156
|
parentId: z.ZodOptional<z.ZodString>;
|
|
5117
5157
|
universalParentId: z.ZodOptional<z.ZodString>;
|
|
5118
5158
|
userId: z.ZodOptional<z.ZodString>;
|
|
5159
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
5119
5160
|
}, z.core.$strip>;
|
|
5120
5161
|
type FindActionsQuery = z.infer<typeof FindActionsQuery>;
|
|
5121
5162
|
declare const CreateActionRequest: z.ZodObject<{
|
|
@@ -5410,6 +5451,7 @@ declare const FindActionInstancesQuery: z.ZodObject<{
|
|
|
5410
5451
|
parentId: z.ZodOptional<z.ZodString>;
|
|
5411
5452
|
universalParentId: z.ZodOptional<z.ZodString>;
|
|
5412
5453
|
userId: z.ZodOptional<z.ZodString>;
|
|
5454
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
5413
5455
|
}, z.core.$strip>;
|
|
5414
5456
|
type FindActionInstancesQuery = FindActionsQuery;
|
|
5415
5457
|
interface ActionSelector extends IntegrationSpecificElementSelector {
|