@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
|
@@ -1,14 +1,18 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { ConnectionSelector } from './connections-api';
|
|
3
3
|
import { ElementInstanceSelector } from '../../accessors';
|
|
4
|
-
import { PaginationQuery
|
|
5
|
-
import { DataLink } from '../base/data-link-table-instances';
|
|
4
|
+
import { PaginationQuery } from '../../api';
|
|
6
5
|
import { DataLinkDirection } from '../base/data-link-tables';
|
|
7
|
-
export
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
6
|
+
export declare const FindDataLinkTableInstancesQuery: z.ZodObject<{
|
|
7
|
+
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
8
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
9
|
+
id: z.ZodOptional<z.ZodString>;
|
|
10
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
11
|
+
dataLinkTableId: z.ZodOptional<z.ZodString>;
|
|
12
|
+
connectionId: z.ZodOptional<z.ZodString>;
|
|
13
|
+
integrationId: z.ZodOptional<z.ZodString>;
|
|
14
|
+
}, z.core.$strip>;
|
|
15
|
+
export type FindDataLinkTableInstancesQuery = z.infer<typeof FindDataLinkTableInstancesQuery>;
|
|
12
16
|
export interface DataLinkTableInstanceSelector extends ConnectionSelector, ElementInstanceSelector {
|
|
13
17
|
dataLinkTableId?: string;
|
|
14
18
|
dataLinkTableKey?: string;
|
|
@@ -18,11 +22,14 @@ export interface UpdateDataLinkTableInstanceRequest {
|
|
|
18
22
|
}
|
|
19
23
|
export interface CreateDataLinkTableInstanceRequest {
|
|
20
24
|
}
|
|
21
|
-
export
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
25
|
+
export declare const FindDataLinksInTableQuery: z.ZodObject<{
|
|
26
|
+
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
27
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
28
|
+
direction: z.ZodOptional<z.ZodEnum<typeof DataLinkDirection>>;
|
|
29
|
+
appRecordId: z.ZodOptional<z.ZodString>;
|
|
30
|
+
externalRecordId: z.ZodOptional<z.ZodString>;
|
|
31
|
+
}, z.core.$strip>;
|
|
32
|
+
export type FindDataLinksInTableQuery = z.infer<typeof FindDataLinksInTableQuery>;
|
|
26
33
|
export interface CreateDataLinkRequest {
|
|
27
34
|
direction?: DataLinkDirection;
|
|
28
35
|
appRecordId: string;
|
|
@@ -33,11 +40,26 @@ export interface DeleteDataLinkRequest {
|
|
|
33
40
|
appRecordId: string;
|
|
34
41
|
externalRecordId: string;
|
|
35
42
|
}
|
|
36
|
-
export
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
43
|
+
export declare const FindDataLinksQuery: z.ZodObject<{
|
|
44
|
+
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
45
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
46
|
+
dataLinkTableInstanceId: z.ZodString;
|
|
47
|
+
externalRecordId: z.ZodOptional<z.ZodString>;
|
|
48
|
+
appRecordId: z.ZodOptional<z.ZodString>;
|
|
49
|
+
direction: z.ZodOptional<z.ZodEnum<typeof DataLinkDirection>>;
|
|
50
|
+
}, z.core.$strip>;
|
|
51
|
+
export type FindDataLinksQuery = z.infer<typeof FindDataLinksQuery>;
|
|
52
|
+
export declare const FindDataLinksResponse: z.ZodObject<{
|
|
53
|
+
items: z.ZodArray<z.ZodObject<{
|
|
54
|
+
id: z.ZodString;
|
|
55
|
+
dataLinkTableInstanceId: z.ZodString;
|
|
56
|
+
externalRecordId: z.ZodString;
|
|
57
|
+
appRecordId: z.ZodString;
|
|
58
|
+
direction: z.ZodEnum<typeof DataLinkDirection>;
|
|
59
|
+
}, z.core.$strip>>;
|
|
60
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
61
|
+
}, z.core.$strip>;
|
|
62
|
+
export type FindDataLinksResponse = z.infer<typeof FindDataLinksResponse>;
|
|
41
63
|
export interface FindDataLinkQuery extends PaginationQuery {
|
|
42
64
|
dataLinkTableInstanceId: string;
|
|
43
65
|
externalRecordId: string;
|
|
@@ -52,6 +74,22 @@ export interface DataLinkInTableSelector {
|
|
|
52
74
|
export interface DataLinkSelector extends DataLinkInTableSelector {
|
|
53
75
|
dataLinkTableInstanceId: string;
|
|
54
76
|
}
|
|
77
|
+
export declare const FindDataLinkTableInstanceLinksQuery: z.ZodObject<{
|
|
78
|
+
integrationKey: z.ZodOptional<z.ZodString>;
|
|
79
|
+
integrationId: z.ZodOptional<z.ZodString>;
|
|
80
|
+
connectionId: z.ZodOptional<z.ZodString>;
|
|
81
|
+
id: z.ZodOptional<z.ZodString>;
|
|
82
|
+
instanceKey: z.ZodOptional<z.ZodString>;
|
|
83
|
+
dataLinkTableId: z.ZodOptional<z.ZodString>;
|
|
84
|
+
dataLinkTableKey: z.ZodOptional<z.ZodString>;
|
|
85
|
+
autoCreate: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
86
|
+
direction: z.ZodOptional<z.ZodEnum<typeof DataLinkDirection>>;
|
|
87
|
+
appRecordId: z.ZodOptional<z.ZodString>;
|
|
88
|
+
externalRecordId: z.ZodOptional<z.ZodString>;
|
|
89
|
+
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
90
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
91
|
+
}, z.core.$strip>;
|
|
92
|
+
export type FindDataLinkTableInstanceLinksQuery = z.infer<typeof FindDataLinkTableInstanceLinksQuery>;
|
|
55
93
|
export declare const DataLinkTableInstanceApiResponse: z.ZodObject<{
|
|
56
94
|
id: z.ZodString;
|
|
57
95
|
uuid: z.ZodOptional<z.ZodString>;
|
|
@@ -1,4 +1,21 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
export declare const FindDataSourceInstanceQuery: z.ZodObject<{
|
|
3
|
+
search: z.ZodOptional<z.ZodString>;
|
|
4
|
+
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
5
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
6
|
+
includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
7
|
+
connectorId: z.ZodOptional<z.ZodString>;
|
|
8
|
+
id: z.ZodOptional<z.ZodString>;
|
|
9
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
10
|
+
connectionId: z.ZodOptional<z.ZodString>;
|
|
11
|
+
integrationKey: z.ZodOptional<z.ZodString>;
|
|
12
|
+
integrationId: z.ZodOptional<z.ZodString>;
|
|
13
|
+
dataSourceId: z.ZodOptional<z.ZodString>;
|
|
14
|
+
universalDataSourceId: z.ZodOptional<z.ZodString>;
|
|
15
|
+
udm: z.ZodOptional<z.ZodString>;
|
|
16
|
+
instanceKey: z.ZodOptional<z.ZodString>;
|
|
17
|
+
}, z.core.$strip>;
|
|
18
|
+
export type FindDataSourceInstanceQuery = z.infer<typeof FindDataSourceInstanceQuery>;
|
|
2
19
|
export declare const DataSourceInstanceApiResponse: z.ZodObject<{
|
|
3
20
|
id: z.ZodString;
|
|
4
21
|
uuid: z.ZodOptional<z.ZodString>;
|
|
@@ -3,7 +3,7 @@ import { ConnectionSelector } from './connections-api';
|
|
|
3
3
|
import { DataSourceInstance } from './data-source-instances-api';
|
|
4
4
|
import { FlowInstanceSelector } from './flows-api';
|
|
5
5
|
import { ElementInstanceSelector, IntegrationSpecificElementSelector } from '../../accessors';
|
|
6
|
-
import { PaginationResponse } from '../../
|
|
6
|
+
import { PaginationResponse } from '../../api';
|
|
7
7
|
export declare const DataSourceApiResponse: z.ZodObject<{
|
|
8
8
|
id: z.ZodString;
|
|
9
9
|
key: z.ZodOptional<z.ZodString>;
|
|
@@ -149,9 +149,9 @@ export type DataSourceApiResponse = z.infer<typeof DataSourceApiResponse>;
|
|
|
149
149
|
export type DataSource = DataSourceApiResponse;
|
|
150
150
|
export declare const FindDataSourcesQuery: z.ZodObject<{
|
|
151
151
|
search: z.ZodOptional<z.ZodString>;
|
|
152
|
-
includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
153
152
|
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
154
153
|
cursor: z.ZodOptional<z.ZodString>;
|
|
154
|
+
includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
155
155
|
userId: z.ZodOptional<z.ZodString>;
|
|
156
156
|
instanceKey: z.ZodOptional<z.ZodString>;
|
|
157
157
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const ListExternalAppsQuery: z.ZodObject<{
|
|
3
|
+
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
5
|
+
search: z.ZodOptional<z.ZodString>;
|
|
6
|
+
category: z.ZodOptional<z.ZodString>;
|
|
7
|
+
hasAuth: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
8
|
+
hasData: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
export type ListExternalAppsQuery = z.infer<typeof ListExternalAppsQuery>;
|
|
@@ -11,6 +11,17 @@ export declare const ListExternalEventPullsQuery: z.ZodObject<{
|
|
|
11
11
|
status: z.ZodOptional<z.ZodEnum<typeof ExternalEventPullStatus>>;
|
|
12
12
|
}, z.core.$strip>;
|
|
13
13
|
export type ListExternalEventPullsQuery = z.infer<typeof ListExternalEventPullsQuery>;
|
|
14
|
+
export declare const FindExternalEventPullsQuery: z.ZodObject<{
|
|
15
|
+
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
16
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
17
|
+
externalEventSubscriptionId: z.ZodOptional<z.ZodString>;
|
|
18
|
+
integrationId: z.ZodOptional<z.ZodString>;
|
|
19
|
+
connectionId: z.ZodOptional<z.ZodString>;
|
|
20
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
21
|
+
status: z.ZodOptional<z.ZodEnum<typeof ExternalEventPullStatus>>;
|
|
22
|
+
startedAfter: z.ZodOptional<z.ZodString>;
|
|
23
|
+
}, z.core.$strip>;
|
|
24
|
+
export type FindExternalEventPullsQuery = z.infer<typeof FindExternalEventPullsQuery>;
|
|
14
25
|
export declare const ExternalEventPullApiResponse: z.ZodObject<{
|
|
15
26
|
id: z.ZodString;
|
|
16
27
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { PaginationQuery } from '../../
|
|
2
|
+
import { PaginationQuery } from '../../api';
|
|
3
3
|
import { ExternalEventLogStatus } from '../base/external-event-log-records';
|
|
4
4
|
export interface FindExternalEventSubscriptionsQuery extends PaginationQuery {
|
|
5
5
|
userId?: string;
|
|
@@ -14,13 +14,6 @@ export interface FindExternalEventLogsQuery extends PaginationQuery {
|
|
|
14
14
|
startDatetime?: string;
|
|
15
15
|
status?: ExternalEventLogStatus;
|
|
16
16
|
}
|
|
17
|
-
export interface FindExternalEventPullsQuery extends PaginationQuery {
|
|
18
|
-
userId?: string;
|
|
19
|
-
externalEventSubscriptionId?: string;
|
|
20
|
-
integrationId?: string;
|
|
21
|
-
connectionId?: string;
|
|
22
|
-
startedAfter?: string;
|
|
23
|
-
}
|
|
24
17
|
export interface ExternalEventCustomPullSubscribeResponse {
|
|
25
18
|
state: Record<string, any>;
|
|
26
19
|
}
|
|
@@ -2,7 +2,7 @@ import { z } from 'zod';
|
|
|
2
2
|
import { ConnectionSelector } from './connections-api';
|
|
3
3
|
import { FlowInstanceSelector } from './flows-api';
|
|
4
4
|
import { ElementInstanceSelector } from '../../accessors';
|
|
5
|
-
import { CommonInstancesListQuery, CommonIntegrationOrConnectionQuery } from '../../
|
|
5
|
+
import { CommonInstancesListQuery, CommonIntegrationOrConnectionQuery } from '../../api';
|
|
6
6
|
export type ListFieldMappingInstancesForConnectionQuery = CommonInstancesListQuery & {
|
|
7
7
|
fieldMappingId?: string;
|
|
8
8
|
universalFieldMappingId?: string;
|
|
@@ -154,9 +154,9 @@ export type FieldMappingApiResponse = z.infer<typeof FieldMappingApiResponse>;
|
|
|
154
154
|
export type FieldMapping = FieldMappingApiResponse;
|
|
155
155
|
export declare const FindFieldMappingsQuery: z.ZodObject<{
|
|
156
156
|
search: z.ZodOptional<z.ZodString>;
|
|
157
|
-
includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
158
157
|
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
159
158
|
cursor: z.ZodOptional<z.ZodString>;
|
|
159
|
+
includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
160
160
|
userId: z.ZodOptional<z.ZodString>;
|
|
161
161
|
instanceKey: z.ZodOptional<z.ZodString>;
|
|
162
162
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
@@ -189,9 +189,9 @@ export type FlowApiResponse = z.infer<typeof FlowApiResponse>;
|
|
|
189
189
|
export type Flow = FlowApiResponse;
|
|
190
190
|
export declare const FindFlowsQuery: z.ZodObject<{
|
|
191
191
|
search: z.ZodOptional<z.ZodString>;
|
|
192
|
-
includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
193
192
|
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
194
193
|
cursor: z.ZodOptional<z.ZodString>;
|
|
194
|
+
includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
195
195
|
userId: z.ZodOptional<z.ZodString>;
|
|
196
196
|
instanceKey: z.ZodOptional<z.ZodString>;
|
|
197
197
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
export * from './actions-api';
|
|
2
2
|
export * from './action-run-log-records-api';
|
|
3
3
|
export * from './connections-api';
|
|
4
|
+
export * from './connectors-api';
|
|
4
5
|
export * from './data-sources-api';
|
|
5
6
|
export * from './data-source-instances-api';
|
|
7
|
+
export * from './external-apps-api';
|
|
6
8
|
export * from './external-events-api';
|
|
7
9
|
export * from './flows-api';
|
|
8
10
|
export * from './flow-runs-api';
|
|
@@ -1,19 +1,37 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
import { PaginationResponse } from '../../api';
|
|
2
3
|
import { DataSchema } from '../../data-schema';
|
|
3
|
-
import { PaginationResponse } from '../../entity-repository';
|
|
4
4
|
import { OpenConfigurationOptions } from '../../iframe';
|
|
5
5
|
export declare const CreateIntegrationRequest: z.ZodObject<{
|
|
6
|
+
uuid: z.ZodOptional<z.ZodString>;
|
|
7
|
+
key: z.ZodOptional<z.ZodString>;
|
|
6
8
|
name: z.ZodOptional<z.ZodString>;
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
9
|
+
description: z.ZodOptional<z.ZodString>;
|
|
10
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
11
|
+
baseUri: z.ZodOptional<z.ZodString>;
|
|
12
|
+
logoUri: z.ZodOptional<z.ZodString>;
|
|
13
|
+
appUuid: z.ZodOptional<z.ZodString>;
|
|
14
|
+
oAuthCallbackUri: z.ZodOptional<z.ZodUnion<[z.ZodURL, z.ZodLiteral<"">]>>;
|
|
15
|
+
logoBase64: z.ZodOptional<z.ZodString>;
|
|
16
|
+
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
17
|
+
connectorId: z.ZodOptional<z.ZodString>;
|
|
18
|
+
connectorUuid: z.ZodOptional<z.ZodString>;
|
|
10
19
|
}, z.core.$strip>;
|
|
11
20
|
export type CreateIntegrationRequest = z.infer<typeof CreateIntegrationRequest>;
|
|
12
21
|
export declare const UpdateIntegrationRequest: z.ZodObject<{
|
|
13
|
-
|
|
14
|
-
key: z.ZodOptional<z.ZodString
|
|
15
|
-
|
|
16
|
-
|
|
22
|
+
uuid: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
23
|
+
key: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
24
|
+
name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
25
|
+
description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
26
|
+
meta: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
27
|
+
baseUri: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
28
|
+
logoUri: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
29
|
+
appUuid: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
30
|
+
oAuthCallbackUri: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodURL, z.ZodLiteral<"">]>>>;
|
|
31
|
+
logoBase64: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
32
|
+
connectorVersion: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
33
|
+
connectorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
34
|
+
connectorUuid: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
17
35
|
}, z.core.$strip>;
|
|
18
36
|
export type UpdateIntegrationRequest = z.infer<typeof UpdateIntegrationRequest>;
|
|
19
37
|
export declare const FindIntegrationsQuery: z.ZodObject<{
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import {
|
|
2
|
+
import { WorkspaceElementType } from '../types';
|
|
3
3
|
export declare const PackageElementApi: z.ZodObject<{
|
|
4
4
|
id: z.ZodString;
|
|
5
|
-
type: z.ZodEnum<typeof
|
|
5
|
+
type: z.ZodEnum<typeof WorkspaceElementType>;
|
|
6
6
|
element: z.ZodOptional<z.ZodAny>;
|
|
7
7
|
}, z.core.$strip>;
|
|
8
8
|
export type PackageElementApi = z.infer<typeof PackageElementApi>;
|
|
@@ -23,6 +23,7 @@ export declare const FindPackagesQuery: z.ZodObject<{
|
|
|
23
23
|
parentId: z.ZodOptional<z.ZodString>;
|
|
24
24
|
universalParentId: z.ZodOptional<z.ZodString>;
|
|
25
25
|
userId: z.ZodOptional<z.ZodString>;
|
|
26
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
26
27
|
}, z.core.$strip>;
|
|
27
28
|
export type FindPackagesQuery = z.infer<typeof FindPackagesQuery>;
|
|
28
29
|
export declare const CreatePackageRequest: z.ZodObject<{
|
|
@@ -38,9 +39,10 @@ export declare const CreatePackageRequest: z.ZodObject<{
|
|
|
38
39
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
39
40
|
instanceKey: z.ZodOptional<z.ZodString>;
|
|
40
41
|
scenarioTemplateId: z.ZodOptional<z.ZodString>;
|
|
42
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
41
43
|
elements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
42
44
|
id: z.ZodString;
|
|
43
|
-
type: z.ZodEnum<typeof
|
|
45
|
+
type: z.ZodEnum<typeof WorkspaceElementType>;
|
|
44
46
|
element: z.ZodOptional<z.ZodAny>;
|
|
45
47
|
}, z.core.$strip>>>;
|
|
46
48
|
}, z.core.$strip>;
|
|
@@ -58,9 +60,10 @@ export declare const UpdatePackageRequest: z.ZodObject<{
|
|
|
58
60
|
connectionId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
59
61
|
instanceKey: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
60
62
|
scenarioTemplateId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
63
|
+
externalAppId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
61
64
|
elements: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
62
65
|
id: z.ZodString;
|
|
63
|
-
type: z.ZodEnum<typeof
|
|
66
|
+
type: z.ZodEnum<typeof WorkspaceElementType>;
|
|
64
67
|
element: z.ZodOptional<z.ZodAny>;
|
|
65
68
|
}, z.core.$strip>>>>;
|
|
66
69
|
}, z.core.$strip>;
|
|
@@ -84,14 +87,18 @@ export declare const PackageApiResponse: z.ZodObject<{
|
|
|
84
87
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
85
88
|
instanceKey: z.ZodOptional<z.ZodString>;
|
|
86
89
|
scenarioTemplateId: z.ZodOptional<z.ZodString>;
|
|
90
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
91
|
+
key: z.ZodString;
|
|
92
|
+
name: z.ZodString;
|
|
93
|
+
isCustomized: z.ZodOptional<z.ZodBoolean>;
|
|
87
94
|
elements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
88
95
|
id: z.ZodString;
|
|
89
|
-
type: z.ZodEnum<typeof
|
|
96
|
+
type: z.ZodEnum<typeof WorkspaceElementType>;
|
|
90
97
|
element: z.ZodOptional<z.ZodAny>;
|
|
91
98
|
}, z.core.$strip>>>;
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
99
|
+
version: z.ZodOptional<z.ZodString>;
|
|
100
|
+
changelog: z.ZodOptional<z.ZodString>;
|
|
101
|
+
parentPackageVersion: z.ZodOptional<z.ZodString>;
|
|
95
102
|
appliedToIntegrations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
96
103
|
element: z.ZodObject<{
|
|
97
104
|
id: z.ZodString;
|
|
@@ -112,9 +119,10 @@ export declare const PackageApiResponse: z.ZodObject<{
|
|
|
112
119
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
113
120
|
instanceKey: z.ZodOptional<z.ZodString>;
|
|
114
121
|
scenarioTemplateId: z.ZodOptional<z.ZodString>;
|
|
122
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
115
123
|
elements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
116
124
|
id: z.ZodString;
|
|
117
|
-
type: z.ZodEnum<typeof
|
|
125
|
+
type: z.ZodEnum<typeof WorkspaceElementType>;
|
|
118
126
|
element: z.ZodOptional<z.ZodAny>;
|
|
119
127
|
}, z.core.$strip>>>;
|
|
120
128
|
key: z.ZodString;
|
|
@@ -166,3 +174,9 @@ export declare const PackageApiResponse: z.ZodObject<{
|
|
|
166
174
|
export type PackageApiResponse = z.infer<typeof PackageApiResponse>;
|
|
167
175
|
export type Package = PackageApiResponse;
|
|
168
176
|
export type Scenario = PackageApiResponse;
|
|
177
|
+
export declare const ListPublicPackagesQuery: z.ZodObject<{
|
|
178
|
+
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
179
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
180
|
+
search: z.ZodOptional<z.ZodString>;
|
|
181
|
+
}, z.core.$strip>;
|
|
182
|
+
export type ListPublicPackagesQuery = z.infer<typeof ListPublicPackagesQuery>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { PaginationQuery } from '../../entity-repository';
|
|
3
2
|
import { ScreenBlockType, ScreenType } from '../base/screens';
|
|
4
3
|
export interface ScreenBlockApi {
|
|
5
4
|
type: ScreenBlockType;
|
|
@@ -19,9 +18,13 @@ export interface UpdateScreenRequest {
|
|
|
19
18
|
export interface CreateScreenRequest extends UpdateScreenRequest {
|
|
20
19
|
type: ScreenType;
|
|
21
20
|
}
|
|
22
|
-
export
|
|
23
|
-
|
|
24
|
-
|
|
21
|
+
export declare const FindScreensQuery: z.ZodObject<{
|
|
22
|
+
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
23
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
24
|
+
type: z.ZodOptional<z.ZodEnum<typeof ScreenType>>;
|
|
25
|
+
key: z.ZodOptional<z.ZodString>;
|
|
26
|
+
}, z.core.$strip>;
|
|
27
|
+
export type FindScreensQuery = z.infer<typeof FindScreensQuery>;
|
|
25
28
|
export declare const ScreenApiResponse: z.ZodObject<{
|
|
26
29
|
id: z.ZodString;
|
|
27
30
|
name: z.ZodString;
|
|
@@ -42,6 +42,7 @@ export declare const ActionExportProperties: z.ZodObject<{
|
|
|
42
42
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
43
43
|
integrationUuid: z.ZodOptional<z.ZodString>;
|
|
44
44
|
parentUuid: z.ZodOptional<z.ZodString>;
|
|
45
|
+
isCustomized: z.ZodOptional<z.ZodBoolean>;
|
|
45
46
|
outputMapping: z.ZodOptional<z.ZodAny>;
|
|
46
47
|
inputSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
|
|
47
48
|
customOutputSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
|
|
@@ -47,17 +47,20 @@ export declare const BackwardCompatibleDataSourceEditableProperties: z.ZodObject
|
|
|
47
47
|
export type BackwardCompatibleDataSourceEditableProperties = z.infer<typeof BackwardCompatibleDataSourceEditableProperties>;
|
|
48
48
|
export declare const DataSourceExportProperties: z.ZodObject<{
|
|
49
49
|
key: z.ZodOptional<z.ZodString>;
|
|
50
|
+
path: z.ZodOptional<z.ZodString>;
|
|
50
51
|
description: z.ZodOptional<z.ZodString>;
|
|
51
52
|
name: z.ZodOptional<z.ZodString>;
|
|
52
53
|
uuid: z.ZodOptional<z.ZodString>;
|
|
53
54
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
54
55
|
integrationUuid: z.ZodOptional<z.ZodString>;
|
|
55
56
|
parentUuid: z.ZodOptional<z.ZodString>;
|
|
57
|
+
isCustomized: z.ZodOptional<z.ZodBoolean>;
|
|
56
58
|
udm: z.ZodOptional<z.ZodString>;
|
|
57
59
|
collectionKey: z.ZodOptional<z.ZodString>;
|
|
58
60
|
collectionParameters: z.ZodOptional<z.ZodAny>;
|
|
59
61
|
pullUpdatesIntervalSeconds: z.ZodOptional<z.ZodNumber>;
|
|
60
62
|
fullSyncIntervalSeconds: z.ZodOptional<z.ZodNumber>;
|
|
63
|
+
defaultPath: z.ZodOptional<z.ZodString>;
|
|
61
64
|
}, z.core.$strip>;
|
|
62
65
|
export type DataSourceExportProperties = z.infer<typeof DataSourceExportProperties>;
|
|
63
66
|
export declare const BaseDataSource: z.ZodObject<{
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PaginationQuery } from '../../../
|
|
1
|
+
import { PaginationQuery } from '../../../api';
|
|
2
2
|
import { ExternalEventLogStatus } from '../external-event-log-records';
|
|
3
3
|
export interface FindExternalEventSubscriptionsQuery extends PaginationQuery {
|
|
4
4
|
userId?: string;
|
|
@@ -39,6 +39,7 @@ export declare const FieldMappingExportProperties: z.ZodObject<{
|
|
|
39
39
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
40
40
|
integrationUuid: z.ZodOptional<z.ZodString>;
|
|
41
41
|
parentUuid: z.ZodOptional<z.ZodString>;
|
|
42
|
+
isCustomized: z.ZodOptional<z.ZodBoolean>;
|
|
42
43
|
dataSourceKey: z.ZodOptional<z.ZodString>;
|
|
43
44
|
appSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
|
|
44
45
|
direction: z.ZodOptional<z.ZodEnum<typeof FieldMappingDirection>>;
|
|
@@ -50,6 +50,7 @@ export declare const FlowExportProperties: z.ZodObject<{
|
|
|
50
50
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
51
51
|
integrationUuid: z.ZodOptional<z.ZodString>;
|
|
52
52
|
parentUuid: z.ZodOptional<z.ZodString>;
|
|
53
|
+
isCustomized: z.ZodOptional<z.ZodBoolean>;
|
|
53
54
|
parameters: z.ZodOptional<z.ZodAny>;
|
|
54
55
|
parametersSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
|
|
55
56
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1 +1,122 @@
|
|
|
1
|
-
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { ConnectorAuthSpec } from '../connectors';
|
|
3
|
+
export declare const BaseIntegration: z.ZodObject<{
|
|
4
|
+
id: z.ZodString;
|
|
5
|
+
uuid: z.ZodOptional<z.ZodString>;
|
|
6
|
+
key: z.ZodOptional<z.ZodString>;
|
|
7
|
+
description: z.ZodOptional<z.ZodString>;
|
|
8
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
9
|
+
name: z.ZodString;
|
|
10
|
+
state: z.ZodOptional<z.ZodEnum<typeof import("../../types").WorkspaceElementState>>;
|
|
11
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../../../errors").ErrorDataSchema, unknown, z.core.$ZodTypeInternals<import("../../../errors").ErrorDataSchema, unknown>>>>;
|
|
12
|
+
revision: z.ZodOptional<z.ZodString>;
|
|
13
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
14
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
15
|
+
logoUri: z.ZodString;
|
|
16
|
+
connectorId: z.ZodOptional<z.ZodString>;
|
|
17
|
+
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
18
|
+
oAuthCallbackUri: z.ZodOptional<z.ZodString>;
|
|
19
|
+
parameters: z.ZodOptional<z.ZodAny>;
|
|
20
|
+
archivedAt: z.ZodOptional<z.ZodString>;
|
|
21
|
+
hasMissingParameters: z.ZodOptional<z.ZodBoolean>;
|
|
22
|
+
hasDocumentation: z.ZodOptional<z.ZodBoolean>;
|
|
23
|
+
hasOperations: z.ZodOptional<z.ZodBoolean>;
|
|
24
|
+
operationsCount: z.ZodOptional<z.ZodNumber>;
|
|
25
|
+
hasData: z.ZodOptional<z.ZodBoolean>;
|
|
26
|
+
dataCollectionsCount: z.ZodOptional<z.ZodNumber>;
|
|
27
|
+
hasEvents: z.ZodOptional<z.ZodBoolean>;
|
|
28
|
+
eventsCount: z.ZodOptional<z.ZodNumber>;
|
|
29
|
+
hasGlobalWebhooks: z.ZodOptional<z.ZodBoolean>;
|
|
30
|
+
hasUdm: z.ZodOptional<z.ZodBoolean>;
|
|
31
|
+
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
32
|
+
appUuid: z.ZodOptional<z.ZodString>;
|
|
33
|
+
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
34
|
+
authType: z.ZodOptional<z.ZodEnum<{
|
|
35
|
+
proxy: "proxy";
|
|
36
|
+
"integration-app-token": "integration-app-token";
|
|
37
|
+
"membrane-token": "membrane-token";
|
|
38
|
+
oauth2: "oauth2";
|
|
39
|
+
oauth1: "oauth1";
|
|
40
|
+
"client-credentials": "client-credentials";
|
|
41
|
+
}>>;
|
|
42
|
+
}, z.core.$strip>;
|
|
43
|
+
export type BaseIntegration = z.infer<typeof BaseIntegration>;
|
|
44
|
+
export declare const IntegrationEditableProperties: z.ZodObject<{
|
|
45
|
+
uuid: z.ZodOptional<z.ZodString>;
|
|
46
|
+
key: z.ZodOptional<z.ZodString>;
|
|
47
|
+
name: z.ZodOptional<z.ZodString>;
|
|
48
|
+
description: z.ZodOptional<z.ZodString>;
|
|
49
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
50
|
+
baseUri: z.ZodOptional<z.ZodString>;
|
|
51
|
+
logoUri: z.ZodOptional<z.ZodString>;
|
|
52
|
+
appUuid: z.ZodOptional<z.ZodString>;
|
|
53
|
+
oAuthCallbackUri: z.ZodOptional<z.ZodUnion<[z.ZodURL, z.ZodLiteral<"">]>>;
|
|
54
|
+
logoBase64: z.ZodOptional<z.ZodString>;
|
|
55
|
+
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
56
|
+
connectorId: z.ZodOptional<z.ZodString>;
|
|
57
|
+
connectorUuid: z.ZodOptional<z.ZodString>;
|
|
58
|
+
}, z.core.$strip>;
|
|
59
|
+
export type IntegrationEditableProperties = z.infer<typeof IntegrationEditableProperties>;
|
|
60
|
+
export declare const IntegrationExportProperties: z.ZodObject<{
|
|
61
|
+
uuid: z.ZodOptional<z.ZodString>;
|
|
62
|
+
key: z.ZodOptional<z.ZodString>;
|
|
63
|
+
name: z.ZodOptional<z.ZodString>;
|
|
64
|
+
description: z.ZodOptional<z.ZodString>;
|
|
65
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
66
|
+
baseUri: z.ZodOptional<z.ZodString>;
|
|
67
|
+
logoUri: z.ZodOptional<z.ZodString>;
|
|
68
|
+
appUuid: z.ZodOptional<z.ZodString>;
|
|
69
|
+
oAuthCallbackUri: z.ZodOptional<z.ZodUnion<[z.ZodURL, z.ZodLiteral<"">]>>;
|
|
70
|
+
logoBase64: z.ZodOptional<z.ZodString>;
|
|
71
|
+
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
72
|
+
connectorId: z.ZodOptional<z.ZodString>;
|
|
73
|
+
connectorUuid: z.ZodOptional<z.ZodString>;
|
|
74
|
+
}, z.core.$strip>;
|
|
75
|
+
export type IntegrationExportProperties = z.infer<typeof IntegrationExportProperties>;
|
|
76
|
+
export type IntegrationAuthOptionLegacy = ConnectorAuthSpec & {
|
|
77
|
+
key: string;
|
|
78
|
+
};
|
|
79
|
+
export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementSchema: Element) => z.ZodArray<z.ZodObject<{
|
|
80
|
+
element: Element;
|
|
81
|
+
integration: z.ZodObject<{
|
|
82
|
+
id: z.ZodString;
|
|
83
|
+
uuid: z.ZodOptional<z.ZodString>;
|
|
84
|
+
key: z.ZodOptional<z.ZodString>;
|
|
85
|
+
description: z.ZodOptional<z.ZodString>;
|
|
86
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
87
|
+
name: z.ZodString;
|
|
88
|
+
state: z.ZodOptional<z.ZodEnum<typeof import("../../types").WorkspaceElementState>>;
|
|
89
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../../../errors").ErrorDataSchema, unknown, z.core.$ZodTypeInternals<import("../../../errors").ErrorDataSchema, unknown>>>>;
|
|
90
|
+
revision: z.ZodOptional<z.ZodString>;
|
|
91
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
92
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
93
|
+
logoUri: z.ZodString;
|
|
94
|
+
connectorId: z.ZodOptional<z.ZodString>;
|
|
95
|
+
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
96
|
+
oAuthCallbackUri: z.ZodOptional<z.ZodString>;
|
|
97
|
+
parameters: z.ZodOptional<z.ZodAny>;
|
|
98
|
+
archivedAt: z.ZodOptional<z.ZodString>;
|
|
99
|
+
hasMissingParameters: z.ZodOptional<z.ZodBoolean>;
|
|
100
|
+
hasDocumentation: z.ZodOptional<z.ZodBoolean>;
|
|
101
|
+
hasOperations: z.ZodOptional<z.ZodBoolean>;
|
|
102
|
+
operationsCount: z.ZodOptional<z.ZodNumber>;
|
|
103
|
+
hasData: z.ZodOptional<z.ZodBoolean>;
|
|
104
|
+
dataCollectionsCount: z.ZodOptional<z.ZodNumber>;
|
|
105
|
+
hasEvents: z.ZodOptional<z.ZodBoolean>;
|
|
106
|
+
eventsCount: z.ZodOptional<z.ZodNumber>;
|
|
107
|
+
hasGlobalWebhooks: z.ZodOptional<z.ZodBoolean>;
|
|
108
|
+
hasUdm: z.ZodOptional<z.ZodBoolean>;
|
|
109
|
+
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
110
|
+
appUuid: z.ZodOptional<z.ZodString>;
|
|
111
|
+
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
112
|
+
authType: z.ZodOptional<z.ZodEnum<{
|
|
113
|
+
proxy: "proxy";
|
|
114
|
+
"integration-app-token": "integration-app-token";
|
|
115
|
+
"membrane-token": "membrane-token";
|
|
116
|
+
oauth2: "oauth2";
|
|
117
|
+
oauth1: "oauth1";
|
|
118
|
+
"client-credentials": "client-credentials";
|
|
119
|
+
}>>;
|
|
120
|
+
}, z.core.$strip>;
|
|
121
|
+
}, z.core.$strip>>;
|
|
122
|
+
export type AppliedToIntegrations<Element> = z.infer<ReturnType<typeof AppliedToIntegrations<z.ZodType<Element>>>>;
|