@membranehq/sdk 0.9.8 → 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 +290 -247
- package/dist/bundle.js +12284 -3529
- package/dist/bundle.js.map +1 -1
- package/dist/dts/accessors/base-accessors.d.ts +9 -7
- package/dist/dts/agent/session.d.ts +8 -10
- 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 +4 -1
- 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/actions/index.d.ts +1 -0
- package/dist/dts/workspace-elements/base/data-sources/index.d.ts +3 -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/field-mappings/index.d.ts +1 -0
- package/dist/dts/workspace-elements/base/flows/index.d.ts +1 -0
- package/dist/dts/workspace-elements/base/integrations/index.d.ts +122 -1
- package/dist/dts/workspace-elements/base/packages/index.d.ts +37 -6
- package/dist/dts/workspace-elements/types.d.ts +17 -0
- package/dist/dts/workspace-elements-catalog/index.d.ts +8 -7
- package/dist/index.browser.d.mts +1801 -1356
- package/dist/index.browser.d.ts +1801 -1356
- package/dist/index.browser.js +258 -71
- package/dist/index.browser.js.map +1 -1
- package/dist/index.browser.mjs +231 -72
- package/dist/index.browser.mjs.map +1 -1
- package/dist/index.node.d.mts +1801 -1356
- package/dist/index.node.d.ts +1801 -1356
- package/dist/index.node.js +258 -71
- package/dist/index.node.js.map +1 -1
- package/dist/index.node.mjs +231 -72
- 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,5 +1,30 @@
|
|
|
1
1
|
import { AxiosRequestConfig } from 'axios';
|
|
2
|
-
import { z } from 'zod';
|
|
2
|
+
import z$1, { z } from 'zod';
|
|
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>;
|
|
3
28
|
|
|
4
29
|
interface MembraneClientOptions {
|
|
5
30
|
token?: 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",
|
|
@@ -128,12 +128,13 @@ interface ElementInstanceSelector {
|
|
|
128
128
|
parentKey?: string;
|
|
129
129
|
parentId?: string;
|
|
130
130
|
}
|
|
131
|
-
|
|
132
|
-
id
|
|
133
|
-
key
|
|
134
|
-
integrationId
|
|
135
|
-
integrationKey
|
|
136
|
-
}
|
|
131
|
+
declare const IntegrationSpecificElementSelector: z$1.ZodObject<{
|
|
132
|
+
id: z$1.ZodOptional<z$1.ZodString>;
|
|
133
|
+
key: z$1.ZodOptional<z$1.ZodString>;
|
|
134
|
+
integrationId: z$1.ZodOptional<z$1.ZodString>;
|
|
135
|
+
integrationKey: z$1.ZodOptional<z$1.ZodString>;
|
|
136
|
+
}, z$1.core.$strip>;
|
|
137
|
+
type IntegrationSpecificElementSelector = z$1.infer<typeof IntegrationSpecificElementSelector>;
|
|
137
138
|
type SelectorType = {
|
|
138
139
|
id?: string;
|
|
139
140
|
} | string;
|
|
@@ -1716,173 +1717,6 @@ declare enum FlowRunLaunchedByTrigger {
|
|
|
1716
1717
|
ExternalEvent = "external-event"
|
|
1717
1718
|
}
|
|
1718
1719
|
|
|
1719
|
-
declare const CreateCustomerRequest: z.ZodObject<{
|
|
1720
|
-
name: z.ZodOptional<z.ZodString>;
|
|
1721
|
-
internalId: z.ZodString;
|
|
1722
|
-
fields: z.ZodOptional<z.ZodAny>;
|
|
1723
|
-
credentials: z.ZodOptional<z.ZodAny>;
|
|
1724
|
-
}, z.core.$strip>;
|
|
1725
|
-
type CreateCustomerRequest = z.infer<typeof CreateCustomerRequest>;
|
|
1726
|
-
declare const UpdateCustomerRequest: z.ZodObject<{
|
|
1727
|
-
name: z.ZodOptional<z.ZodString>;
|
|
1728
|
-
internalId: z.ZodOptional<z.ZodString>;
|
|
1729
|
-
fields: z.ZodOptional<z.ZodAny>;
|
|
1730
|
-
credentials: z.ZodOptional<z.ZodAny>;
|
|
1731
|
-
}, z.core.$strip>;
|
|
1732
|
-
type UpdateCustomerRequest = z.infer<typeof UpdateCustomerRequest>;
|
|
1733
|
-
declare const FindCustomersQuery: z.ZodObject<{
|
|
1734
|
-
isTest: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
1735
|
-
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1736
|
-
cursor: z.ZodOptional<z.ZodString>;
|
|
1737
|
-
search: z.ZodOptional<z.ZodString>;
|
|
1738
|
-
}, z.core.$strip>;
|
|
1739
|
-
type FindCustomersQuery = z.infer<typeof FindCustomersQuery>;
|
|
1740
|
-
declare const CustomerSelector: z.ZodObject<{
|
|
1741
|
-
id: z.ZodString;
|
|
1742
|
-
}, z.core.$strip>;
|
|
1743
|
-
type CustomerSelector = z.infer<typeof CustomerSelector>;
|
|
1744
|
-
declare const CustomerApiResponse: z.ZodObject<{
|
|
1745
|
-
id: z.ZodString;
|
|
1746
|
-
name: z.ZodString;
|
|
1747
|
-
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1748
|
-
internalId: z.ZodString;
|
|
1749
|
-
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1750
|
-
credentials: z.ZodOptional<z.ZodAny>;
|
|
1751
|
-
lastActiveAt: z.ZodOptional<z.ZodString>;
|
|
1752
|
-
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
1753
|
-
isBillable: z.ZodOptional<z.ZodBoolean>;
|
|
1754
|
-
createdAt: z.ZodOptional<z.ZodString>;
|
|
1755
|
-
archivedAt: z.ZodOptional<z.ZodString>;
|
|
1756
|
-
}, z.core.$strip>;
|
|
1757
|
-
type CustomerApiResponse = z.infer<typeof CustomerApiResponse>;
|
|
1758
|
-
type Customer = CustomerApiResponse;
|
|
1759
|
-
|
|
1760
|
-
interface OpenConfigurationOptions {
|
|
1761
|
-
onClose?: (...args: any[]) => void;
|
|
1762
|
-
showPoweredBy?: boolean;
|
|
1763
|
-
}
|
|
1764
|
-
|
|
1765
|
-
declare const CreateIntegrationRequest: z.ZodObject<{
|
|
1766
|
-
name: z.ZodOptional<z.ZodString>;
|
|
1767
|
-
key: z.ZodString;
|
|
1768
|
-
baseUri: z.ZodString;
|
|
1769
|
-
logoUri: z.ZodString;
|
|
1770
|
-
}, z.core.$strip>;
|
|
1771
|
-
type CreateIntegrationRequest = z.infer<typeof CreateIntegrationRequest>;
|
|
1772
|
-
declare const UpdateIntegrationRequest: z.ZodObject<{
|
|
1773
|
-
name: z.ZodOptional<z.ZodString>;
|
|
1774
|
-
key: z.ZodOptional<z.ZodString>;
|
|
1775
|
-
baseUri: z.ZodOptional<z.ZodString>;
|
|
1776
|
-
logoUri: z.ZodOptional<z.ZodString>;
|
|
1777
|
-
}, z.core.$strip>;
|
|
1778
|
-
type UpdateIntegrationRequest = z.infer<typeof UpdateIntegrationRequest>;
|
|
1779
|
-
declare const FindIntegrationsQuery: z.ZodObject<{
|
|
1780
|
-
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1781
|
-
cursor: z.ZodOptional<z.ZodString>;
|
|
1782
|
-
search: z.ZodOptional<z.ZodString>;
|
|
1783
|
-
}, z.core.$strip>;
|
|
1784
|
-
type FindIntegrationsQuery = z.infer<typeof FindIntegrationsQuery>;
|
|
1785
|
-
interface OpenNewConnectionOptions extends OpenConfigurationOptions {
|
|
1786
|
-
allowMultipleConnections?: boolean;
|
|
1787
|
-
name?: string;
|
|
1788
|
-
connectorParameters?: any;
|
|
1789
|
-
}
|
|
1790
|
-
declare const IntegrationApiResponse: z.ZodObject<{
|
|
1791
|
-
id: z.ZodString;
|
|
1792
|
-
uuid: z.ZodOptional<z.ZodString>;
|
|
1793
|
-
key: z.ZodOptional<z.ZodString>;
|
|
1794
|
-
description: z.ZodOptional<z.ZodString>;
|
|
1795
|
-
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1796
|
-
name: z.ZodString;
|
|
1797
|
-
state: z.ZodOptional<z.ZodEnum<typeof WorkspaceElementState>>;
|
|
1798
|
-
errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>>;
|
|
1799
|
-
revision: z.ZodOptional<z.ZodString>;
|
|
1800
|
-
createdAt: z.ZodOptional<z.ZodString>;
|
|
1801
|
-
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1802
|
-
logoUri: z.ZodString;
|
|
1803
|
-
connectorId: z.ZodOptional<z.ZodString>;
|
|
1804
|
-
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
1805
|
-
oAuthCallbackUri: z.ZodOptional<z.ZodString>;
|
|
1806
|
-
parameters: z.ZodOptional<z.ZodAny>;
|
|
1807
|
-
archivedAt: z.ZodOptional<z.ZodString>;
|
|
1808
|
-
hasMissingParameters: z.ZodOptional<z.ZodBoolean>;
|
|
1809
|
-
hasDocumentation: z.ZodOptional<z.ZodBoolean>;
|
|
1810
|
-
hasOperations: z.ZodOptional<z.ZodBoolean>;
|
|
1811
|
-
operationsCount: z.ZodOptional<z.ZodNumber>;
|
|
1812
|
-
hasData: z.ZodOptional<z.ZodBoolean>;
|
|
1813
|
-
dataCollectionsCount: z.ZodOptional<z.ZodNumber>;
|
|
1814
|
-
hasEvents: z.ZodOptional<z.ZodBoolean>;
|
|
1815
|
-
eventsCount: z.ZodOptional<z.ZodNumber>;
|
|
1816
|
-
hasGlobalWebhooks: z.ZodOptional<z.ZodBoolean>;
|
|
1817
|
-
hasUdm: z.ZodOptional<z.ZodBoolean>;
|
|
1818
|
-
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
1819
|
-
appUuid: z.ZodOptional<z.ZodString>;
|
|
1820
|
-
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
1821
|
-
authType: z.ZodOptional<z.ZodEnum<{
|
|
1822
|
-
proxy: "proxy";
|
|
1823
|
-
"integration-app-token": "integration-app-token";
|
|
1824
|
-
"membrane-token": "membrane-token";
|
|
1825
|
-
oauth2: "oauth2";
|
|
1826
|
-
oauth1: "oauth1";
|
|
1827
|
-
"client-credentials": "client-credentials";
|
|
1828
|
-
}>>;
|
|
1829
|
-
connection: z.ZodOptional<z.ZodObject<{
|
|
1830
|
-
id: z.ZodString;
|
|
1831
|
-
name: z.ZodString;
|
|
1832
|
-
userId: z.ZodString;
|
|
1833
|
-
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
1834
|
-
disconnected: z.ZodOptional<z.ZodBoolean>;
|
|
1835
|
-
isDefunct: z.ZodOptional<z.ZodBoolean>;
|
|
1836
|
-
state: z.ZodOptional<z.ZodEnum<typeof WorkspaceElementState>>;
|
|
1837
|
-
error: z.ZodOptional<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>;
|
|
1838
|
-
integrationId: z.ZodString;
|
|
1839
|
-
authOptionKey: z.ZodOptional<z.ZodString>;
|
|
1840
|
-
createdAt: z.ZodString;
|
|
1841
|
-
updatedAt: z.ZodString;
|
|
1842
|
-
lastActiveAt: z.ZodOptional<z.ZodString>;
|
|
1843
|
-
nextCredentialsRefreshAt: z.ZodOptional<z.ZodString>;
|
|
1844
|
-
nextRetryTimestamp: z.ZodOptional<z.ZodString>;
|
|
1845
|
-
retryAttempts: z.ZodOptional<z.ZodNumber>;
|
|
1846
|
-
archivedAt: z.ZodOptional<z.ZodString>;
|
|
1847
|
-
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
1848
|
-
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1849
|
-
}, z.core.$strip>>;
|
|
1850
|
-
spec: z.ZodOptional<z.ZodAny>;
|
|
1851
|
-
authOptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1852
|
-
key: z.ZodString;
|
|
1853
|
-
type: z.ZodEnum<{
|
|
1854
|
-
proxy: "proxy";
|
|
1855
|
-
"integration-app-token": "integration-app-token";
|
|
1856
|
-
"membrane-token": "membrane-token";
|
|
1857
|
-
oauth2: "oauth2";
|
|
1858
|
-
oauth1: "oauth1";
|
|
1859
|
-
"client-credentials": "client-credentials";
|
|
1860
|
-
}>;
|
|
1861
|
-
title: z.ZodOptional<z.ZodString>;
|
|
1862
|
-
description: z.ZodOptional<z.ZodString>;
|
|
1863
|
-
ui: z.ZodOptional<z.ZodObject<{
|
|
1864
|
-
schema: z.ZodOptional<z.ZodAny>;
|
|
1865
|
-
helpUri: z.ZodOptional<z.ZodString>;
|
|
1866
|
-
}, z.core.$strip>>;
|
|
1867
|
-
}, z.core.$strip>>>;
|
|
1868
|
-
parametersSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
|
|
1869
|
-
}, z.core.$strip>;
|
|
1870
|
-
type IntegrationApiResponse = z.infer<typeof IntegrationApiResponse>;
|
|
1871
|
-
type Integration = IntegrationApiResponse;
|
|
1872
|
-
|
|
1873
|
-
declare enum IntegrationElementType {
|
|
1874
|
-
APP_DATA_SCHEMA = "app-data-schema",
|
|
1875
|
-
APP_EVENT_TYPE = "app-event-type",
|
|
1876
|
-
DATA_SOURCE = "data-source",
|
|
1877
|
-
SCHEMA = "schema",
|
|
1878
|
-
FIELD_MAPPING = "field-mapping",
|
|
1879
|
-
FLOW = "flow",
|
|
1880
|
-
INTEGRATION = "integration",
|
|
1881
|
-
ACTION = "action",
|
|
1882
|
-
DATA_LINK_TABLE = "data-link-table",
|
|
1883
|
-
EXTERNAL_EVENT = "external-event"
|
|
1884
|
-
}
|
|
1885
|
-
|
|
1886
1720
|
declare const PackageEditableProperties: z.ZodObject<{
|
|
1887
1721
|
uuid: z.ZodOptional<z.ZodString>;
|
|
1888
1722
|
key: z.ZodOptional<z.ZodString>;
|
|
@@ -1896,9 +1730,10 @@ declare const PackageEditableProperties: z.ZodObject<{
|
|
|
1896
1730
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
1897
1731
|
instanceKey: z.ZodOptional<z.ZodString>;
|
|
1898
1732
|
scenarioTemplateId: z.ZodOptional<z.ZodString>;
|
|
1733
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
1899
1734
|
elements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1900
1735
|
id: z.ZodString;
|
|
1901
|
-
type: z.ZodEnum<typeof
|
|
1736
|
+
type: z.ZodEnum<typeof WorkspaceElementType>;
|
|
1902
1737
|
element: z.ZodOptional<z.ZodAny>;
|
|
1903
1738
|
}, z.core.$strip>>>;
|
|
1904
1739
|
}, z.core.$strip>;
|
|
@@ -1998,15 +1833,6 @@ declare const BaseDataLinkTable: z.ZodObject<{
|
|
|
1998
1833
|
}, z.core.$strip>;
|
|
1999
1834
|
type BaseDataLinkTable = z.infer<typeof BaseDataLinkTable>;
|
|
2000
1835
|
|
|
2001
|
-
declare const DataLink: z.ZodObject<{
|
|
2002
|
-
id: z.ZodString;
|
|
2003
|
-
dataLinkTableInstanceId: z.ZodString;
|
|
2004
|
-
externalRecordId: z.ZodString;
|
|
2005
|
-
appRecordId: z.ZodString;
|
|
2006
|
-
direction: z.ZodEnum<typeof DataLinkDirection>;
|
|
2007
|
-
}, z.core.$strip>;
|
|
2008
|
-
type DataLink = z.infer<typeof DataLink>;
|
|
2009
|
-
|
|
2010
1836
|
declare const BaseAppEventType: z.ZodObject<{
|
|
2011
1837
|
id: z.ZodString;
|
|
2012
1838
|
uuid: z.ZodOptional<z.ZodString>;
|
|
@@ -2789,9 +2615,9 @@ type FlowApiResponse = z.infer<typeof FlowApiResponse>;
|
|
|
2789
2615
|
type Flow = FlowApiResponse;
|
|
2790
2616
|
declare const FindFlowsQuery: z.ZodObject<{
|
|
2791
2617
|
search: z.ZodOptional<z.ZodString>;
|
|
2792
|
-
includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
2793
2618
|
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2794
2619
|
cursor: z.ZodOptional<z.ZodString>;
|
|
2620
|
+
includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
2795
2621
|
userId: z.ZodOptional<z.ZodString>;
|
|
2796
2622
|
instanceKey: z.ZodOptional<z.ZodString>;
|
|
2797
2623
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
@@ -3430,9 +3256,9 @@ type DataSourceApiResponse = z.infer<typeof DataSourceApiResponse>;
|
|
|
3430
3256
|
type DataSource = DataSourceApiResponse;
|
|
3431
3257
|
declare const FindDataSourcesQuery: z.ZodObject<{
|
|
3432
3258
|
search: z.ZodOptional<z.ZodString>;
|
|
3433
|
-
includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
3434
3259
|
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3435
3260
|
cursor: z.ZodOptional<z.ZodString>;
|
|
3261
|
+
includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
3436
3262
|
userId: z.ZodOptional<z.ZodString>;
|
|
3437
3263
|
instanceKey: z.ZodOptional<z.ZodString>;
|
|
3438
3264
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
@@ -3541,6 +3367,137 @@ interface FindExternalEventSubscriptionsQuery extends PaginationQuery {
|
|
|
3541
3367
|
integrationId?: string;
|
|
3542
3368
|
}
|
|
3543
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
|
+
|
|
3544
3501
|
declare const FindPackagesQuery: z.ZodObject<{
|
|
3545
3502
|
layer: z.ZodOptional<z.ZodEnum<{
|
|
3546
3503
|
connection: "connection";
|
|
@@ -3558,6 +3515,7 @@ declare const FindPackagesQuery: z.ZodObject<{
|
|
|
3558
3515
|
parentId: z.ZodOptional<z.ZodString>;
|
|
3559
3516
|
universalParentId: z.ZodOptional<z.ZodString>;
|
|
3560
3517
|
userId: z.ZodOptional<z.ZodString>;
|
|
3518
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
3561
3519
|
}, z.core.$strip>;
|
|
3562
3520
|
type FindPackagesQuery = z.infer<typeof FindPackagesQuery>;
|
|
3563
3521
|
declare const PackageApiResponse: z.ZodObject<{
|
|
@@ -3579,14 +3537,18 @@ declare const PackageApiResponse: z.ZodObject<{
|
|
|
3579
3537
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
3580
3538
|
instanceKey: z.ZodOptional<z.ZodString>;
|
|
3581
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>;
|
|
3582
3544
|
elements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3583
3545
|
id: z.ZodString;
|
|
3584
|
-
type: z.ZodEnum<typeof
|
|
3546
|
+
type: z.ZodEnum<typeof WorkspaceElementType>;
|
|
3585
3547
|
element: z.ZodOptional<z.ZodAny>;
|
|
3586
3548
|
}, z.core.$strip>>>;
|
|
3587
|
-
|
|
3588
|
-
|
|
3589
|
-
|
|
3549
|
+
version: z.ZodOptional<z.ZodString>;
|
|
3550
|
+
changelog: z.ZodOptional<z.ZodString>;
|
|
3551
|
+
parentPackageVersion: z.ZodOptional<z.ZodString>;
|
|
3590
3552
|
appliedToIntegrations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3591
3553
|
element: z.ZodObject<{
|
|
3592
3554
|
id: z.ZodString;
|
|
@@ -3607,9 +3569,10 @@ declare const PackageApiResponse: z.ZodObject<{
|
|
|
3607
3569
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
3608
3570
|
instanceKey: z.ZodOptional<z.ZodString>;
|
|
3609
3571
|
scenarioTemplateId: z.ZodOptional<z.ZodString>;
|
|
3572
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
3610
3573
|
elements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3611
3574
|
id: z.ZodString;
|
|
3612
|
-
type: z.ZodEnum<typeof
|
|
3575
|
+
type: z.ZodEnum<typeof WorkspaceElementType>;
|
|
3613
3576
|
element: z.ZodOptional<z.ZodAny>;
|
|
3614
3577
|
}, z.core.$strip>>>;
|
|
3615
3578
|
key: z.ZodString;
|
|
@@ -3678,9 +3641,13 @@ interface UpdateScreenRequest {
|
|
|
3678
3641
|
interface CreateScreenRequest extends UpdateScreenRequest {
|
|
3679
3642
|
type: ScreenType;
|
|
3680
3643
|
}
|
|
3681
|
-
|
|
3682
|
-
|
|
3683
|
-
|
|
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>;
|
|
3684
3651
|
declare const ScreenApiResponse: z.ZodObject<{
|
|
3685
3652
|
id: z.ZodString;
|
|
3686
3653
|
name: z.ZodString;
|
|
@@ -3693,6 +3660,47 @@ declare const ScreenApiResponse: z.ZodObject<{
|
|
|
3693
3660
|
type ScreenApiResponse = z.infer<typeof ScreenApiResponse>;
|
|
3694
3661
|
type Screen = ScreenApiResponse;
|
|
3695
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
|
+
|
|
3696
3704
|
declare const FieldMappingApiResponse: z.ZodObject<{
|
|
3697
3705
|
id: z.ZodString;
|
|
3698
3706
|
key: z.ZodOptional<z.ZodString>;
|
|
@@ -3847,9 +3855,9 @@ type FieldMappingApiResponse = z.infer<typeof FieldMappingApiResponse>;
|
|
|
3847
3855
|
type FieldMapping = FieldMappingApiResponse;
|
|
3848
3856
|
declare const FindFieldMappingsQuery: z.ZodObject<{
|
|
3849
3857
|
search: z.ZodOptional<z.ZodString>;
|
|
3850
|
-
includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
3851
3858
|
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3852
3859
|
cursor: z.ZodOptional<z.ZodString>;
|
|
3860
|
+
includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
3853
3861
|
userId: z.ZodOptional<z.ZodString>;
|
|
3854
3862
|
instanceKey: z.ZodOptional<z.ZodString>;
|
|
3855
3863
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
@@ -4357,11 +4365,16 @@ declare const UpdateDataLinkTableRequest: z.ZodObject<{
|
|
|
4357
4365
|
}, z.core.$strip>;
|
|
4358
4366
|
type UpdateDataLinkTableRequest = z.infer<typeof UpdateDataLinkTableRequest>;
|
|
4359
4367
|
|
|
4360
|
-
|
|
4361
|
-
|
|
4362
|
-
|
|
4363
|
-
|
|
4364
|
-
|
|
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>;
|
|
4365
4378
|
interface DataLinkTableInstanceSelector extends ConnectionSelector, ElementInstanceSelector {
|
|
4366
4379
|
dataLinkTableId?: string;
|
|
4367
4380
|
dataLinkTableKey?: string;
|
|
@@ -4369,11 +4382,14 @@ interface DataLinkTableInstanceSelector extends ConnectionSelector, ElementInsta
|
|
|
4369
4382
|
}
|
|
4370
4383
|
interface UpdateDataLinkTableInstanceRequest {
|
|
4371
4384
|
}
|
|
4372
|
-
|
|
4373
|
-
|
|
4374
|
-
|
|
4375
|
-
|
|
4376
|
-
|
|
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>;
|
|
4377
4393
|
interface CreateDataLinkRequest {
|
|
4378
4394
|
direction?: DataLinkDirection;
|
|
4379
4395
|
appRecordId: string;
|
|
@@ -4384,8 +4400,17 @@ interface DeleteDataLinkRequest {
|
|
|
4384
4400
|
appRecordId: string;
|
|
4385
4401
|
externalRecordId: string;
|
|
4386
4402
|
}
|
|
4387
|
-
|
|
4388
|
-
|
|
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>;
|
|
4389
4414
|
declare const DataLinkTableInstanceApiResponse: z.ZodObject<{
|
|
4390
4415
|
id: z.ZodString;
|
|
4391
4416
|
uuid: z.ZodOptional<z.ZodString>;
|
|
@@ -4510,17 +4535,27 @@ interface CreateAppEventTypeRequest extends UpdateAppEventTypeRequest {
|
|
|
4510
4535
|
key: string;
|
|
4511
4536
|
name: string;
|
|
4512
4537
|
}
|
|
4513
|
-
|
|
4514
|
-
|
|
4515
|
-
|
|
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>;
|
|
4516
4546
|
|
|
4517
|
-
|
|
4518
|
-
|
|
4519
|
-
|
|
4520
|
-
|
|
4521
|
-
|
|
4522
|
-
|
|
4523
|
-
|
|
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>;
|
|
4524
4559
|
interface UpdateAppEventSubscriptionRequest {
|
|
4525
4560
|
}
|
|
4526
4561
|
interface AppEventSubscriptionSelector extends Omit<ElementInstanceSelector, 'parentKey' | 'parentId'> {
|
|
@@ -4804,13 +4839,19 @@ type ExternalEventSubscriptionApiResponse = z.infer<typeof ExternalEventSubscrip
|
|
|
4804
4839
|
type ExternalEventSubscription = ExternalEventSubscriptionApiResponse;
|
|
4805
4840
|
|
|
4806
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>;
|
|
4807
4848
|
userId: z.ZodOptional<z.ZodString>;
|
|
4849
|
+
name: z.ZodOptional<z.ZodString>;
|
|
4808
4850
|
isTest: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
4809
|
-
|
|
4851
|
+
disconnected: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
4810
4852
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
4811
|
-
|
|
4812
|
-
|
|
4813
|
-
cursor: z.ZodOptional<z.ZodString>;
|
|
4853
|
+
integrationKey: z.ZodOptional<z.ZodString>;
|
|
4854
|
+
includeSecrets: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
4814
4855
|
}, z.core.$strip>;
|
|
4815
4856
|
type FindConnectionsQuery = z.infer<typeof FindConnectionsQuery>;
|
|
4816
4857
|
declare const CreateConnectionRequest: z.ZodObject<{
|
|
@@ -5115,6 +5156,7 @@ declare const FindActionsQuery: z.ZodObject<{
|
|
|
5115
5156
|
parentId: z.ZodOptional<z.ZodString>;
|
|
5116
5157
|
universalParentId: z.ZodOptional<z.ZodString>;
|
|
5117
5158
|
userId: z.ZodOptional<z.ZodString>;
|
|
5159
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
5118
5160
|
}, z.core.$strip>;
|
|
5119
5161
|
type FindActionsQuery = z.infer<typeof FindActionsQuery>;
|
|
5120
5162
|
declare const CreateActionRequest: z.ZodObject<{
|
|
@@ -5195,7 +5237,7 @@ declare const UpdateActionInstanceRequest: z.ZodObject<{
|
|
|
5195
5237
|
type UpdateActionInstanceRequest = UpdateActionRequest;
|
|
5196
5238
|
declare const ActionRunResponse: z.ZodObject<{
|
|
5197
5239
|
output: z.ZodOptional<z.ZodAny>;
|
|
5198
|
-
|
|
5240
|
+
actionRunId: z.ZodOptional<z.ZodString>;
|
|
5199
5241
|
}, z.core.$strip>;
|
|
5200
5242
|
type ActionRunResponse<RunOutput = any> = Omit<z.infer<typeof ActionRunResponse>, 'output'> & {
|
|
5201
5243
|
output: RunOutput;
|
|
@@ -5409,6 +5451,7 @@ declare const FindActionInstancesQuery: z.ZodObject<{
|
|
|
5409
5451
|
parentId: z.ZodOptional<z.ZodString>;
|
|
5410
5452
|
universalParentId: z.ZodOptional<z.ZodString>;
|
|
5411
5453
|
userId: z.ZodOptional<z.ZodString>;
|
|
5454
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
5412
5455
|
}, z.core.$strip>;
|
|
5413
5456
|
type FindActionInstancesQuery = FindActionsQuery;
|
|
5414
5457
|
interface ActionSelector extends IntegrationSpecificElementSelector {
|