@membranehq/sdk 0.17.4 → 0.17.6
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 +27 -7
- package/dist/bundle.js +5247 -5235
- package/dist/bundle.js.map +1 -1
- package/dist/dts/accessors/action-instances-accessors.d.ts +1 -1
- package/dist/dts/accessors/actions-accessors.d.ts +1 -1
- package/dist/dts/accessors/app-data-schema-instances-accessors.d.ts +1 -1
- package/dist/dts/accessors/app-data-schemas-accessors.d.ts +1 -1
- package/dist/dts/accessors/app-event-subscriptions-accessors.d.ts +1 -1
- package/dist/dts/accessors/app-event-types-accessors.d.ts +1 -1
- package/dist/dts/accessors/connections-accessors.d.ts +6 -5
- package/dist/dts/accessors/customers-accessors.d.ts +1 -1
- package/dist/dts/accessors/data-link-table-instances-accessors.d.ts +1 -1
- package/dist/dts/accessors/data-link-tables-accessors.d.ts +1 -1
- package/dist/dts/accessors/data-sources-accessors.d.ts +1 -1
- package/dist/dts/accessors/external-event-subscriptions-accessors.d.ts +1 -1
- package/dist/dts/accessors/field-mapping-instances-accessors.d.ts +1 -1
- package/dist/dts/accessors/field-mappings-accessors.d.ts +1 -1
- package/dist/dts/accessors/flow-instances-accessors.d.ts +1 -1
- package/dist/dts/accessors/flows-accessors.d.ts +1 -1
- package/dist/dts/accessors/integrations-accessors.d.ts +6 -5
- package/dist/dts/accessors/scenarios-accessors.d.ts +1 -1
- package/dist/dts/accessors/screens-accessors.d.ts +1 -1
- package/dist/dts/agent/worker-contracts.d.ts +1 -0
- package/dist/dts/alerts/utils.d.ts +1 -1
- package/dist/dts/client.d.ts +1 -1
- package/dist/dts/data-filter/index.d.ts +1 -1
- package/dist/dts/formulas/base.d.ts +1 -1
- package/dist/dts/formulas/eval.d.ts +1 -1
- package/dist/dts/formulas/findAppRecordId.d.ts +1 -1
- package/dist/dts/formulas/findExternalRecordId.d.ts +1 -1
- package/dist/dts/formulas/index.d.ts +26 -4
- package/dist/dts/formulas/record.d.ts +1 -1
- package/dist/dts/workspace-elements/api/action-run-log-records-api.d.ts +2 -0
- package/dist/dts/workspace-elements/api/actions-api.d.ts +1 -1
- package/dist/dts/workspace-elements/api/connections-api.d.ts +17 -1
- package/dist/dts/workspace-elements/api/data-link-table-instances-api.d.ts +2 -1
- package/dist/dts/workspace-elements/api/data-sources-api.d.ts +4 -2
- package/dist/dts/workspace-elements/api/external-api-logs-api.d.ts +1 -0
- package/dist/dts/workspace-elements/api/external-event-log-records-api.d.ts +1 -0
- package/dist/dts/workspace-elements/api/external-event-pulls-api.d.ts +1 -0
- package/dist/dts/workspace-elements/api/external-event-subscriptions-api.d.ts +1 -0
- 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 +3 -1
- package/dist/dts/workspace-elements/api/flow-runs-api.d.ts +2 -0
- package/dist/dts/workspace-elements/api/flows-api.d.ts +3 -1
- package/dist/dts/workspace-elements/api/incoming-webhooks-api.d.ts +1 -0
- package/dist/dts/workspace-elements/api/integrations-api.d.ts +1 -0
- package/dist/dts/workspace-elements/base/actions/index.d.ts +2 -2
- package/dist/dts/workspace-elements/base/connection-requests/index.d.ts +2 -0
- package/dist/dts/workspace-elements/base/connections/index.d.ts +3 -0
- package/dist/dts/workspace-elements/base/connectors/auth.d.ts +1 -1
- package/dist/dts/workspace-elements/base/connectors/functions.d.ts +1 -1
- package/dist/dts/workspace-elements/base/connectors/operations/handlers.d.ts +1 -1
- package/dist/dts/workspace-elements/base/data-collections/data-locations/collections/events/methods.d.ts +1 -1
- package/dist/dts/workspace-elements/base/data-collections/schemas.d.ts +1 -1
- package/dist/dts/workspace-elements/base/data-collections/udm/index.d.ts +1 -1
- package/dist/dts/workspace-elements/base/data-collections/utils.d.ts +1 -1
- package/dist/dts/workspace-elements-catalog/index.d.ts +1 -0
- package/dist/dts/workspaces/compare.d.ts +1 -1
- package/dist/index.browser.d.mts +733 -691
- package/dist/index.browser.d.ts +733 -691
- package/dist/index.browser.js +1157 -1113
- package/dist/index.browser.js.map +1 -1
- package/dist/index.browser.mjs +1132 -1114
- package/dist/index.browser.mjs.map +1 -1
- package/dist/index.node.d.mts +733 -691
- package/dist/index.node.d.ts +733 -691
- package/dist/index.node.js +1157 -1113
- package/dist/index.node.js.map +1 -1
- package/dist/index.node.mjs +1132 -1114
- package/dist/index.node.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MembraneApiClient } from '../api-client';
|
|
2
2
|
import { OpenConfigurationOptions } from '../iframe';
|
|
3
|
-
import { ElementInstanceAccessor, ElementInstanceListAccessor } from './base-accessors';
|
|
4
3
|
import { ActionApiResponse, ActionInstanceSelector, CreateActionInstanceRequest, FindActionsQuery, UpdateActionInstanceRequest, ActionRunResponse } from '../workspace-elements/api/actions-api';
|
|
4
|
+
import { ElementInstanceAccessor, ElementInstanceListAccessor } from './base-accessors';
|
|
5
5
|
export interface OpenActionConfigurationOptions extends OpenConfigurationOptions {
|
|
6
6
|
}
|
|
7
7
|
export declare class ActionInstancesAccessor extends ElementInstanceListAccessor<ActionApiResponse, FindActionsQuery> {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { MembraneApiClient } from '../api-client';
|
|
2
|
-
import { ElementAccessor, ElementListAccessor, IntegrationSpecificElementSelector } from './base-accessors';
|
|
3
2
|
import { InstanceKeyQuery } from '../integration-elements/common';
|
|
4
3
|
import { ConnectionLevelElementAccessor, ConnectionLevelElementsListAccessor } from '../integration-elements/connection-level-element.accessor';
|
|
5
4
|
import { IntegrationLevelElementAccessor, IntegrationLevelElementsListAccessor } from '../integration-elements/integration-level-element.accessor';
|
|
6
5
|
import { ActionApiResponse, ActionRunResponse, CreateActionRequest, FindActionsQuery, UpdateActionInstanceRequest, UpdateActionRequest } from '../workspace-elements/api/actions-api';
|
|
6
|
+
import { ElementAccessor, ElementListAccessor, IntegrationSpecificElementSelector } from './base-accessors';
|
|
7
7
|
export declare class ActionsAccessor extends ElementListAccessor<ActionApiResponse, FindActionsQuery, CreateActionRequest> {
|
|
8
8
|
constructor(client: MembraneApiClient);
|
|
9
9
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { MembraneApiClient } from '../api-client';
|
|
2
|
-
import { ElementInstanceAccessor, ElementInstanceListAccessor } from './base-accessors';
|
|
3
2
|
import { AppDataSchemaApiResponse, AppDataSchemaInstanceSelector, FindAppDataSchemaInstancesQuery, CreateAppDataSchemaInstanceRequest, UpdateAppDataSchemaInstanceRequest } from '../workspace-elements/api';
|
|
3
|
+
import { ElementInstanceAccessor, ElementInstanceListAccessor } from './base-accessors';
|
|
4
4
|
export declare class AppDataSchemaInstancesAccessor extends ElementInstanceListAccessor<AppDataSchemaApiResponse, FindAppDataSchemaInstancesQuery> {
|
|
5
5
|
constructor(client: MembraneApiClient);
|
|
6
6
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MembraneApiClient } from '../api-client';
|
|
2
|
-
import { ElementAccessor, ElementListAccessor } from './base-accessors';
|
|
3
2
|
import { CreateAppDataSchemaRequest, FindAppDataSchemasQuery, UpdateAppDataSchemaRequest } from '../workspace-elements/api';
|
|
4
3
|
import { BaseAppDataSchema } from '../workspace-elements/base/app-data-schemas';
|
|
4
|
+
import { ElementAccessor, ElementListAccessor } from './base-accessors';
|
|
5
5
|
export declare class AppDataSchemasAccessor extends ElementListAccessor<BaseAppDataSchema, FindAppDataSchemasQuery, CreateAppDataSchemaRequest> {
|
|
6
6
|
constructor(client: MembraneApiClient);
|
|
7
7
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MembraneApiClient } from '../api-client';
|
|
2
|
-
import { ElementInstanceAccessor, ElementInstanceListAccessor } from './base-accessors';
|
|
3
2
|
import { AppEventSubscriptionSelector, UpdateAppEventSubscriptionRequest, FindAppEventSubscriptionsQuery } from '../workspace-elements/api';
|
|
4
3
|
import { AppEventSubscriptionApiResponse } from '../workspace-elements/api/app-event-subscriptions-api';
|
|
4
|
+
import { ElementInstanceAccessor, ElementInstanceListAccessor } from './base-accessors';
|
|
5
5
|
export declare class AppEventSubscriptionsAccessor extends ElementInstanceListAccessor<AppEventSubscriptionApiResponse, FindAppEventSubscriptionsQuery> {
|
|
6
6
|
constructor(client: MembraneApiClient);
|
|
7
7
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MembraneApiClient } from '../api-client';
|
|
2
|
-
import { ElementAccessor, ElementListAccessor } from './base-accessors';
|
|
3
2
|
import { CreateAppEventTypeRequest, FindAppEventTypesQuery, UpdateAppEventTypeRequest } from '../workspace-elements/api';
|
|
4
3
|
import { BaseAppEventType } from '../workspace-elements/base/app-event-types';
|
|
4
|
+
import { ElementAccessor, ElementListAccessor } from './base-accessors';
|
|
5
5
|
export declare class AppEventTypesAccessor extends ElementListAccessor<BaseAppEventType, FindAppEventTypesQuery, CreateAppEventTypeRequest> {
|
|
6
6
|
constructor(client: MembraneApiClient);
|
|
7
7
|
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { ConnectionLevelActionAccessor, ConnectionLevelActionsAccessor } from './actions-accessors';
|
|
2
|
-
import { ElementInstanceListAccessor } from './base-accessors';
|
|
3
|
-
import { ConnectionLevelDataSourceAccessor, ConnectionLevelDataSourcesAccessor } from './data-sources-accessors';
|
|
4
|
-
import { ConnectionLevelFieldMappingAccessor, ConnectionLevelFieldMappingsAccessor } from './field-mapping-instances-accessors';
|
|
5
|
-
import { ConnectionLevelFlowAccessor, ConnectionLevelFlowsAccessor } from './flow-instances-accessors';
|
|
6
1
|
import { MembraneApiClient } from '../api-client';
|
|
7
2
|
import { OpenConfigurationOptions } from '../iframe';
|
|
8
3
|
import { InstanceKeyQuery } from '../integration-elements/common';
|
|
9
4
|
import { ConnectionApiResponse, CreateConnectionRequest, FindConnectionsQuery, UpdateConnectionRequest } from '../workspace-elements/api/connections-api';
|
|
10
5
|
import { OperationRunRequest, OperationRunResponse, OperationSpec } from '../workspace-elements/base/connectors/operations';
|
|
11
6
|
import { DataCollectionSpec, DataCollectionCreateRequest, DataCollectionCreateResponse, DataCollectionDeleteRequest, DataCollectionDeleteResponse, DataCollectionFindByIdRequest, DataCollectionFindByIdResponse, DataCollectionListRequest, DataCollectionListResponse, DataCollectionMatchRequest, DataCollectionMatchResponse, DataCollectionSearchRequest, DataCollectionSearchResponse, DataCollectionUpdateRequest, DataCollectionUpdateResponse } from '../workspace-elements/base/data-collections';
|
|
7
|
+
import { ConnectionLevelActionAccessor, ConnectionLevelActionsAccessor } from './actions-accessors';
|
|
8
|
+
import { ElementInstanceListAccessor } from './base-accessors';
|
|
9
|
+
import { ConnectionLevelDataSourceAccessor, ConnectionLevelDataSourcesAccessor } from './data-sources-accessors';
|
|
10
|
+
import { ConnectionLevelFieldMappingAccessor, ConnectionLevelFieldMappingsAccessor } from './field-mapping-instances-accessors';
|
|
11
|
+
import { ConnectionLevelFlowAccessor, ConnectionLevelFlowsAccessor } from './flow-instances-accessors';
|
|
12
12
|
export declare class ConnectionsAccessor extends ElementInstanceListAccessor<ConnectionApiResponse, FindConnectionsQuery> {
|
|
13
13
|
constructor(client: MembraneApiClient);
|
|
14
14
|
create(data: CreateConnectionRequest): Promise<ConnectionApiResponse>;
|
|
@@ -53,6 +53,7 @@ export declare class ConnectionAccessor {
|
|
|
53
53
|
error?: import("../errors").ErrorDataSchema | undefined;
|
|
54
54
|
integrationId?: string | undefined;
|
|
55
55
|
connectorId?: string | undefined;
|
|
56
|
+
externalAppId?: string | undefined;
|
|
56
57
|
connectorVersion?: string | undefined;
|
|
57
58
|
authOptionKey?: string | undefined;
|
|
58
59
|
lastActiveAt?: string | undefined;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { MembraneApiClient } from '../api-client';
|
|
2
|
-
import { ElementAccessor, ElementListAccessor } from './base-accessors';
|
|
3
2
|
import { CustomerApiResponse, CreateCustomerRequest, FindCustomersQuery, UpdateCustomerRequest, CustomerSelector } from '../workspace-elements/api/customers-api';
|
|
3
|
+
import { ElementAccessor, ElementListAccessor } from './base-accessors';
|
|
4
4
|
export declare class CustomersAccessor extends ElementListAccessor<CustomerApiResponse, FindCustomersQuery, CreateCustomerRequest> {
|
|
5
5
|
constructor(client: MembraneApiClient);
|
|
6
6
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { MembraneApiClient } from '../api-client';
|
|
2
|
-
import { ElementInstanceAccessor, ElementInstanceListAccessor } from './base-accessors';
|
|
3
2
|
import { CreateDataLinkRequest, DataLinkTableApiResponse, DataLinkTableInstanceSelector, DeleteDataLinkRequest, FindDataLinkTableInstancesQuery, FindDataLinksInTableQuery, FindDataLinksResponse, UpdateDataLinkTableInstanceRequest } from '../workspace-elements/api';
|
|
3
|
+
import { ElementInstanceAccessor, ElementInstanceListAccessor } from './base-accessors';
|
|
4
4
|
export declare class DataLinkTableInstancesAccessor extends ElementInstanceListAccessor<DataLinkTableApiResponse, FindDataLinkTableInstancesQuery> {
|
|
5
5
|
constructor(client: MembraneApiClient);
|
|
6
6
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MembraneApiClient } from '../api-client';
|
|
2
|
-
import { ElementAccessor, ElementListAccessor } from './base-accessors';
|
|
3
2
|
import { CreateDataLinkTableRequest, FindDataLinkTablesQuery, UpdateDataLinkTableRequest } from '../workspace-elements/api';
|
|
4
3
|
import { BaseDataLinkTable } from '../workspace-elements/base/data-link-tables';
|
|
4
|
+
import { ElementAccessor, ElementListAccessor } from './base-accessors';
|
|
5
5
|
export declare class DataLinkTablesAccessor extends ElementListAccessor<BaseDataLinkTable, FindDataLinkTablesQuery, CreateDataLinkTableRequest> {
|
|
6
6
|
constructor(client: MembraneApiClient);
|
|
7
7
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { MembraneApiClient } from '../api-client';
|
|
2
2
|
import { OpenConfigurationOptions } from '../iframe';
|
|
3
|
-
import { ElementAccessor, ElementInstanceAccessor, ElementInstanceListAccessor, ElementListAccessor } from './base-accessors';
|
|
4
3
|
import { InstanceKeyQuery } from '../integration-elements/common';
|
|
5
4
|
import { ConnectionLevelElementAccessor, ConnectionLevelElementsListAccessor } from '../integration-elements/connection-level-element.accessor';
|
|
6
5
|
import { IntegrationLevelElementAccessor, IntegrationLevelElementsListAccessor } from '../integration-elements/integration-level-element.accessor';
|
|
7
6
|
import { CreateDataSourceInstanceRequest, CreateDataSourceRequest, DataSourceApiResponse, DataSourceInstanceSelector, DataSourceSelector, FindDataSourcesQuery, ListDataSourceInstancesForConnectionQuery, ListDataSourcesForIntegrationQuery, UpdateDataSourceInstanceRequest, UpdateDataSourceRequest } from '../workspace-elements/api/data-sources-api';
|
|
8
7
|
import { DataCollectionCreateRequest, DataCollectionCreateResponse, DataCollectionDeleteResponse, DataCollectionFindByIdRequest, DataCollectionFindByIdResponse, DataCollectionFindRequest, DataCollectionFindResponse, DataCollectionListRequest, DataCollectionListResponse, DataCollectionMatchRequest, DataCollectionMatchResponse, DataCollectionSearchRequest, DataCollectionSearchResponse, DataCollectionSpec, DataCollectionUpdateRequest, DataCollectionUpdateResponse } from '../workspace-elements/base/data-collections/schemas';
|
|
8
|
+
import { ElementAccessor, ElementInstanceAccessor, ElementInstanceListAccessor, ElementListAccessor } from './base-accessors';
|
|
9
9
|
export interface OpenDataSourceConfigurationOptions extends OpenConfigurationOptions {
|
|
10
10
|
}
|
|
11
11
|
export declare class DataSourcesAccessor extends ElementListAccessor<DataSourceApiResponse, FindDataSourcesQuery, CreateDataSourceRequest> {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MembraneApiClient } from '../api-client';
|
|
2
|
-
import { ElementInstanceListAccessor } from './base-accessors';
|
|
3
2
|
import { ExternalEventSubscriptionApiResponse } from '../workspace-elements/api/external-event-subscriptions-api';
|
|
4
3
|
import { FindExternalEventSubscriptionsQuery } from '../workspace-elements/api/external-events-api';
|
|
4
|
+
import { ElementInstanceListAccessor } from './base-accessors';
|
|
5
5
|
export declare class ExternalEventSubscriptionsAccessor extends ElementInstanceListAccessor<ExternalEventSubscriptionApiResponse, FindExternalEventSubscriptionsQuery> {
|
|
6
6
|
constructor(client: MembraneApiClient);
|
|
7
7
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { MembraneApiClient } from '../api-client';
|
|
2
2
|
import { OpenConfigurationOptions } from '../iframe';
|
|
3
|
-
import { ElementInstanceAccessor, ElementInstanceListAccessor } from './base-accessors';
|
|
4
3
|
import { InstanceKeyQuery } from '../integration-elements/common';
|
|
5
4
|
import { ConnectionLevelElementAccessor, ConnectionLevelElementsListAccessor } from '../integration-elements/connection-level-element.accessor';
|
|
6
5
|
import { CreateFieldMappingRequest, FieldMappingApiResponse, FieldMappingInstanceSelector, FindFieldMappingsQuery, UpdateFieldMappingRequest } from '../workspace-elements/api';
|
|
6
|
+
import { ElementInstanceAccessor, ElementInstanceListAccessor } from './base-accessors';
|
|
7
7
|
export interface OpenFieldMappingInstanceConfigurationOptions extends OpenConfigurationOptions {
|
|
8
8
|
}
|
|
9
9
|
export declare class FieldMappingInstancesAccessor extends ElementInstanceListAccessor<FieldMappingApiResponse, FindFieldMappingsQuery> {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MembraneApiClient } from '../api-client';
|
|
2
|
-
import { ElementAccessor, ElementListAccessor } from './base-accessors';
|
|
3
2
|
import { IntegrationLevelElementAccessor, IntegrationLevelElementsListAccessor } from '../integration-elements/integration-level-element.accessor';
|
|
4
3
|
import { CreateFieldMappingRequest, FieldMappingApiResponse, FindFieldMappingsQuery, FieldMappingSelector, ListFieldMappingsForIntegrationQuery, UpdateFieldMappingRequest } from '../workspace-elements/api/field-mappings-api';
|
|
4
|
+
import { ElementAccessor, ElementListAccessor } from './base-accessors';
|
|
5
5
|
export declare class FieldMappingsAccessor extends ElementListAccessor<FieldMappingApiResponse, FindFieldMappingsQuery, CreateFieldMappingRequest> {
|
|
6
6
|
constructor(client: MembraneApiClient);
|
|
7
7
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { MembraneApiClient } from '../api-client';
|
|
2
2
|
import { OpenConfigurationOptions } from '../iframe';
|
|
3
|
-
import { ElementInstanceAccessor, ElementInstanceListAccessor } from './base-accessors';
|
|
4
3
|
import { InstanceKeyQuery } from '../integration-elements/common';
|
|
5
4
|
import { ConnectionLevelElementAccessor, ConnectionLevelElementsListAccessor } from '../integration-elements/connection-level-element.accessor';
|
|
6
5
|
import { FlowRunApiResponse } from '../workspace-elements/api/flow-runs-api';
|
|
7
6
|
import { FindFlowsQuery, FlowApiResponse, FlowInstanceSelector, ListFlowInstancesForConnectionQuery, ResetFlowInstanceOptions, RunFlowOptions } from '../workspace-elements/api/flows-api';
|
|
8
7
|
import { CreateFlowInstanceRequest, UpdateFlowInstanceRequest } from '../workspace-elements/base/flows';
|
|
8
|
+
import { ElementInstanceAccessor, ElementInstanceListAccessor } from './base-accessors';
|
|
9
9
|
export interface OpenFlowInstanceConfigurationOptions extends OpenConfigurationOptions {
|
|
10
10
|
nodeKey?: string;
|
|
11
11
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MembraneApiClient } from '../api-client';
|
|
2
|
-
import { ElementAccessor, ElementListAccessor } from './base-accessors';
|
|
3
2
|
import { IntegrationLevelElementAccessor, IntegrationLevelElementsListAccessor } from '../integration-elements/integration-level-element.accessor';
|
|
4
3
|
import { CreateFlowRequest, FindFlowsQuery, FlowApiResponse, FlowSelector, ListFlowsForIntegrationQuery, UpdateFlowRequest } from '../workspace-elements/api/flows-api';
|
|
4
|
+
import { ElementAccessor, ElementListAccessor } from './base-accessors';
|
|
5
5
|
export declare class FlowsAccessor extends ElementListAccessor<FlowApiResponse, FindFlowsQuery, CreateFlowRequest> {
|
|
6
6
|
constructor(client: MembraneApiClient);
|
|
7
7
|
}
|
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
import { IntegrationLevelActionAccessor, IntegrationLevelActionsListAccessor } from './actions-accessors';
|
|
2
|
-
import { ElementAccessor, ElementListAccessor } from './base-accessors';
|
|
3
|
-
import { IntegrationLevelDataSourceAccessor, IntegrationLevelDataSourcesListAccessor } from './data-sources-accessors';
|
|
4
|
-
import { IntegrationLevelFieldMappingAccessor, IntegrationLevelFieldMappingsListAccessor } from './field-mappings-accessors';
|
|
5
|
-
import { IntegrationLevelFlowAccessor, IntegrationLevelFlowsListAccessor } from './flows-accessors';
|
|
6
1
|
import { MembraneApiClient } from '../api-client';
|
|
7
2
|
import { OpenConfigurationOptions } from '../iframe';
|
|
8
3
|
import { ConnectionApiResponse } from '../workspace-elements/api/connections-api';
|
|
@@ -10,6 +5,11 @@ import { CreateIntegrationRequest, UpdateIntegrationRequest, FindIntegrationsQue
|
|
|
10
5
|
import { ConnectionSpec } from '../workspace-elements/base/connections';
|
|
11
6
|
import { OperationListItem, OperationSpec } from '../workspace-elements/base/connectors';
|
|
12
7
|
import { DataCollectionListItem, DataCollectionSpec } from '../workspace-elements/base/data-collections';
|
|
8
|
+
import { IntegrationLevelActionAccessor, IntegrationLevelActionsListAccessor } from './actions-accessors';
|
|
9
|
+
import { ElementAccessor, ElementListAccessor } from './base-accessors';
|
|
10
|
+
import { IntegrationLevelDataSourceAccessor, IntegrationLevelDataSourcesListAccessor } from './data-sources-accessors';
|
|
11
|
+
import { IntegrationLevelFieldMappingAccessor, IntegrationLevelFieldMappingsListAccessor } from './field-mappings-accessors';
|
|
12
|
+
import { IntegrationLevelFlowAccessor, IntegrationLevelFlowsListAccessor } from './flows-accessors';
|
|
13
13
|
interface OpenIntegrationUIIntegrationConfigurationOptions extends OpenConfigurationOptions {
|
|
14
14
|
}
|
|
15
15
|
export declare class IntegrationsAccessor extends ElementListAccessor<IntegrationApiResponse, FindIntegrationsQuery, CreateIntegrationRequest> {
|
|
@@ -60,6 +60,7 @@ export declare class IntegrationAccessor extends ElementAccessor<IntegrationApiR
|
|
|
60
60
|
error?: import("../errors").ErrorDataSchema | undefined;
|
|
61
61
|
integrationId?: string | undefined;
|
|
62
62
|
connectorId?: string | undefined;
|
|
63
|
+
externalAppId?: string | undefined;
|
|
63
64
|
connectorVersion?: string | undefined;
|
|
64
65
|
authOptionKey?: string | undefined;
|
|
65
66
|
lastActiveAt?: string | undefined;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MembraneApiClient } from '../api-client';
|
|
2
|
-
import { ElementAccessor, ElementListAccessor } from './base-accessors';
|
|
3
2
|
import { PackageEditableProperties } from '../workspace-elements';
|
|
4
3
|
import { FindPackagesQuery, PackageApiResponse } from '../workspace-elements/api/packages-api';
|
|
4
|
+
import { ElementAccessor, ElementListAccessor } from './base-accessors';
|
|
5
5
|
export declare class PackagesAccessor extends ElementListAccessor<PackageApiResponse, FindPackagesQuery, PackageEditableProperties> {
|
|
6
6
|
constructor(client: MembraneApiClient);
|
|
7
7
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { MembraneApiClient } from '../api-client';
|
|
2
|
-
import { ElementAccessor, ElementListAccessor } from './base-accessors';
|
|
3
2
|
import { CreateScreenRequest, FindScreensQuery, ScreenApiResponse, UpdateScreenRequest, ScreenSelector } from '../workspace-elements/api/screens-api';
|
|
3
|
+
import { ElementAccessor, ElementListAccessor } from './base-accessors';
|
|
4
4
|
export declare class ScreensAccessor extends ElementListAccessor<ScreenApiResponse, FindScreensQuery, CreateScreenRequest> {
|
|
5
5
|
constructor(client: MembraneApiClient);
|
|
6
6
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AlertCategory, AlertType } from './types';
|
|
2
1
|
import type { AlertDeliveryMethod, AlertTypeDeliverySettings } from './types';
|
|
2
|
+
import { AlertCategory, AlertType } from './types';
|
|
3
3
|
export declare function isValidAlertType(value: string): value is AlertType;
|
|
4
4
|
export declare function getAlertTypeDisplayName(alertType: AlertType): string;
|
|
5
5
|
export declare function getAlertDeliveryMethodLabel(method: AlertDeliveryMethod): string;
|
package/dist/dts/client.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { AppDataSchemaAccessor, AppDataSchemaInstanceAccessor, AppDataSchemaInstancesAccessor, AppDataSchemasAccessor, AppEventSubscriptionAccessor, AppEventSubscriptionsAccessor, AppEventTypeAccessor, AppEventTypesAccessor, DataLinkTableAccessor, DataLinkTableInstanceAccessor, DataLinkTableInstancesAccessor, DataLinkTablesAccessor, FieldMappingAccessor, FieldMappingInstanceAccessor, FieldMappingInstancesAccessor, FieldMappingsAccessor, FlowAccessor, FlowInstanceAccessor, FlowInstancesAccessor, FlowsAccessor, FlowRunAccessor, FlowRunsAccessor, ExternalEventSubscriptionAccessor, ExternalEventSubscriptionsAccessor, DataSourceAccessor, DataSourceInstanceAccessor, DataSourceInstancesAccessor, DataSourcesAccessor, ConnectionAccessor, ConnectionsAccessor, ActionAccessor, ActionInstanceAccessor, ActionInstancesAccessor, ActionsAccessor, IntegrationAccessor, IntegrationsAccessor, PackageAccessor, PackagesAccessor, ScreenAccessor, ScreensAccessor, CustomerAccessor, CustomersAccessor } from './accessors/index';
|
|
2
|
-
import { UI } from './ui';
|
|
3
2
|
import { MembraneApiClient, MembraneClientOptions } from './api-client';
|
|
4
3
|
import { SelfAccessor } from './auth';
|
|
5
4
|
import { OpenConfigurationOptions } from './iframe';
|
|
5
|
+
import { UI } from './ui';
|
|
6
6
|
import { FlowInstanceSelector, FlowSelector, DataSourceInstanceSelector, DataSourceSelector, ActionInstanceSelector, ActionSelector, ScreenSelector, CustomerSelector, AppDataSchemaInstanceSelector, AppEventSubscriptionSelector, DataLinkTableInstanceSelector, FieldMappingInstanceSelector, FieldMappingSelector, ConnectOptions, ConnectionApiResponse } from './workspace-elements/api';
|
|
7
7
|
interface OpenMembraneConfigurationOptions extends OpenConfigurationOptions {
|
|
8
8
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DataFilterOperator } from './operators';
|
|
2
1
|
import { DataLocator } from '../locators';
|
|
2
|
+
import { DataFilterOperator } from './operators';
|
|
3
3
|
export declare function backwardCompatibleFilterMatch(filter: any, variables: any): any;
|
|
4
4
|
export declare function doesMatchFilter(data: any, filter: DataFilter): boolean;
|
|
5
5
|
export declare class DataFilterCondition {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { DataBuilderFormulaType } from './types';
|
|
2
1
|
import { DataSchema } from '../data-schema/types';
|
|
3
2
|
import { DataCollectionSpec } from '../workspace-elements/base/data-collections';
|
|
3
|
+
import { DataBuilderFormulaType } from './types';
|
|
4
4
|
export interface LookupValue {
|
|
5
5
|
query: Record<string, any>;
|
|
6
6
|
createIfNotFound?: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DataBuilderFormulaBase, ResolveFormulaParams } from './base';
|
|
2
1
|
import { DataLinkTableConfig } from '../workspace-elements';
|
|
2
|
+
import { DataBuilderFormulaBase, ResolveFormulaParams } from './base';
|
|
3
3
|
export interface FindAppRecordIdArgs {
|
|
4
4
|
dataLinkTable: DataLinkTableConfig;
|
|
5
5
|
recordId: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DataBuilderFormulaBase, ResolveFormulaParams } from './base';
|
|
2
1
|
import { DataLinkTableConfig } from '../workspace-elements';
|
|
2
|
+
import { DataBuilderFormulaBase, ResolveFormulaParams } from './base';
|
|
3
3
|
export interface FindExternalRecordIdArgs {
|
|
4
4
|
dataLinkTable: DataLinkTableConfig;
|
|
5
5
|
recordId: string;
|
|
@@ -24,11 +24,33 @@ import { DataBuilderFormulaPlain } from './plain';
|
|
|
24
24
|
import { DataBuilderFormulaRecord } from './record';
|
|
25
25
|
import { DataBuilderFormulaTpl } from './tpl';
|
|
26
26
|
import { DataBuilderFormulaVar } from './var';
|
|
27
|
-
export {
|
|
28
|
-
export {
|
|
29
|
-
export {
|
|
30
|
-
export {
|
|
27
|
+
export { And } from './and';
|
|
28
|
+
export { DataBuilderFormulaBase, LookupValue, ResolveFormulaParams } from './base';
|
|
29
|
+
export { DataBuilderFormulaCase, CaseFormulaValue, CaseFormulaValueItem } from './case';
|
|
30
|
+
export { DataBuilderFormulaConcat } from './concat';
|
|
31
|
+
export { DataBuilderFormulaCopy } from './copy';
|
|
32
|
+
export { DataSchemaRef } from './dataSchemaRef';
|
|
33
|
+
export { DomainFromEmail } from './domainFromEmail';
|
|
34
|
+
export { Eval, EvalOperator } from './eval';
|
|
35
|
+
export { DataBuilderFormulaExtractDate } from './extractDate';
|
|
36
|
+
export { DataBuilderFormulaExtractTime } from './extractTime';
|
|
37
|
+
export { DataBuilderFormulaFindAppRecordId } from './findAppRecordId';
|
|
38
|
+
export { DataBuilderFormulaFindExternalRecordId } from './findExternalRecordId';
|
|
39
|
+
export { DataBuilderFormulaFirstName } from './first-name';
|
|
40
|
+
export { FirstNotEmpty } from './firstNotEmpty';
|
|
41
|
+
export { FormulaFormula } from './formula';
|
|
42
|
+
export { DataBuilderFormulaIterate } from './iterate';
|
|
43
|
+
export { JsonataFormula } from './jsonata';
|
|
44
|
+
export { DataBuilderFormulaLastName } from './last-name';
|
|
45
|
+
export { DataBuilderFormulaLookup } from './lookup';
|
|
46
|
+
export { DataBuilderFormulaMap, MappingItem, MapFormulaValue } from './map';
|
|
47
|
+
export { MergeObjects } from './mergeObjects';
|
|
48
|
+
export { Or } from './or';
|
|
49
|
+
export { DataBuilderFormulaPlain } from './plain';
|
|
50
|
+
export { DataBuilderFormulaRecord } from './record';
|
|
51
|
+
export { DataBuilderFormulaTpl } from './tpl';
|
|
31
52
|
export { DataBuilderFormulaType } from './types';
|
|
53
|
+
export { DataBuilderFormulaVar } from './var';
|
|
32
54
|
export declare const Formula: {
|
|
33
55
|
Var: typeof DataBuilderFormulaVar;
|
|
34
56
|
Record: typeof DataBuilderFormulaRecord;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DataBuilderFormulaBase, ResolveFormulaParams } from './base';
|
|
2
1
|
import { DataRecord } from '../workspace-elements/base/data-collections';
|
|
2
|
+
import { DataBuilderFormulaBase, ResolveFormulaParams } from './base';
|
|
3
3
|
export declare class DataBuilderFormulaRecord extends DataBuilderFormulaBase {
|
|
4
4
|
record: DataRecord;
|
|
5
5
|
constructor(record: DataRecord);
|
|
@@ -150,6 +150,7 @@ export declare const ActionRunLogRecordApiResponse: z.ZodObject<{
|
|
|
150
150
|
error: z.ZodOptional<z.ZodType<import("../../errors").ErrorDataSchema, unknown, z.core.$ZodTypeInternals<import("../../errors").ErrorDataSchema, unknown>>>;
|
|
151
151
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
152
152
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
153
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
153
154
|
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
154
155
|
authOptionKey: z.ZodOptional<z.ZodString>;
|
|
155
156
|
createdAt: z.ZodString;
|
|
@@ -349,6 +350,7 @@ export declare const FindActionRunLogsResponse: z.ZodObject<{
|
|
|
349
350
|
error: z.ZodOptional<z.ZodType<import("../../errors").ErrorDataSchema, unknown, z.core.$ZodTypeInternals<import("../../errors").ErrorDataSchema, unknown>>>;
|
|
350
351
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
351
352
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
353
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
352
354
|
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
353
355
|
authOptionKey: z.ZodOptional<z.ZodString>;
|
|
354
356
|
createdAt: z.ZodString;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { ConnectionSelector } from './connections-api';
|
|
3
2
|
import { IntegrationSpecificElementSelector, ElementInstanceSelector } from '../../accessors';
|
|
4
3
|
import { DataSchema } from '../../data-schema';
|
|
4
|
+
import { ConnectionSelector } from './connections-api';
|
|
5
5
|
export declare const ActionApiResponse: z.ZodObject<{
|
|
6
6
|
id: z.ZodString;
|
|
7
7
|
uuid: z.ZodOptional<z.ZodString>;
|
|
@@ -14,6 +14,7 @@ export declare const FindConnectionsQuery: z.ZodObject<{
|
|
|
14
14
|
isTest: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
15
15
|
userId: z.ZodOptional<z.ZodString>;
|
|
16
16
|
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
17
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
17
18
|
integrationKey: z.ZodOptional<z.ZodString>;
|
|
18
19
|
includeSecrets: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
19
20
|
}, z.core.$strip>;
|
|
@@ -22,19 +23,26 @@ export declare const CreateConnectionRequest: z.ZodObject<{
|
|
|
22
23
|
name: z.ZodOptional<z.ZodString>;
|
|
23
24
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
24
25
|
authOptionKey: z.ZodOptional<z.ZodString>;
|
|
26
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
27
|
+
externalAppUuid: z.ZodOptional<z.ZodString>;
|
|
25
28
|
credentials: z.ZodOptional<z.ZodUnknown>;
|
|
26
29
|
connectorParameters: z.ZodOptional<z.ZodUnknown>;
|
|
27
30
|
input: z.ZodOptional<z.ZodUnknown>;
|
|
28
31
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
32
|
+
integrationUuid: z.ZodOptional<z.ZodString>;
|
|
33
|
+
integrationKey: z.ZodOptional<z.ZodString>;
|
|
29
34
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
35
|
+
connectorUuid: z.ZodOptional<z.ZodString>;
|
|
36
|
+
connectorKey: z.ZodOptional<z.ZodString>;
|
|
30
37
|
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
31
|
-
externalAppId: z.ZodOptional<z.ZodString>;
|
|
32
38
|
}, z.core.$strip>;
|
|
33
39
|
export type CreateConnectionRequest = z.infer<typeof CreateConnectionRequest>;
|
|
34
40
|
export declare const UpdateConnectionRequest: z.ZodObject<{
|
|
35
41
|
name: z.ZodOptional<z.ZodString>;
|
|
36
42
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
37
43
|
authOptionKey: z.ZodOptional<z.ZodString>;
|
|
44
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
45
|
+
externalAppUuid: z.ZodOptional<z.ZodString>;
|
|
38
46
|
credentials: z.ZodOptional<z.ZodUnknown>;
|
|
39
47
|
connectorParameters: z.ZodOptional<z.ZodUnknown>;
|
|
40
48
|
input: z.ZodOptional<z.ZodUnknown>;
|
|
@@ -43,7 +51,9 @@ export type UpdateConnectionRequest = z.infer<typeof UpdateConnectionRequest>;
|
|
|
43
51
|
export declare const ConnectionExportProperties: z.ZodObject<{
|
|
44
52
|
name: z.ZodOptional<z.ZodString>;
|
|
45
53
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
54
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
46
55
|
authOptionKey: z.ZodOptional<z.ZodString>;
|
|
56
|
+
externalAppUuid: z.ZodOptional<z.ZodString>;
|
|
47
57
|
}, z.core.$strip>;
|
|
48
58
|
export type ConnectionExportProperties = z.infer<typeof ConnectionExportProperties>;
|
|
49
59
|
export declare const ConnectionTestResponse: z.ZodObject<{
|
|
@@ -87,6 +97,7 @@ export declare const ConnectionApiResponse: z.ZodObject<{
|
|
|
87
97
|
error: z.ZodOptional<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>;
|
|
88
98
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
89
99
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
100
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
90
101
|
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
91
102
|
authOptionKey: z.ZodOptional<z.ZodString>;
|
|
92
103
|
createdAt: z.ZodString;
|
|
@@ -174,6 +185,7 @@ export declare const ConnectionApiResponseWithSecrets: z.ZodObject<{
|
|
|
174
185
|
error: z.ZodOptional<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>;
|
|
175
186
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
176
187
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
188
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
177
189
|
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
178
190
|
authOptionKey: z.ZodOptional<z.ZodString>;
|
|
179
191
|
createdAt: z.ZodString;
|
|
@@ -269,6 +281,7 @@ export declare const ConnectionMessagePayload: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
269
281
|
error: z.ZodOptional<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>;
|
|
270
282
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
271
283
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
284
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
272
285
|
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
273
286
|
authOptionKey: z.ZodOptional<z.ZodString>;
|
|
274
287
|
createdAt: z.ZodString;
|
|
@@ -358,6 +371,7 @@ export declare const GenerateOptionsRequest: z.ZodObject<{
|
|
|
358
371
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
359
372
|
integrationKey: z.ZodOptional<z.ZodString>;
|
|
360
373
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
374
|
+
connectorKey: z.ZodOptional<z.ZodString>;
|
|
361
375
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
362
376
|
connectorParameters: z.ZodOptional<z.ZodAny>;
|
|
363
377
|
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
@@ -368,6 +382,7 @@ export declare const ConnectPayload: z.ZodObject<{
|
|
|
368
382
|
integrationKey: z.ZodOptional<z.ZodString>;
|
|
369
383
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
370
384
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
385
|
+
connectorKey: z.ZodOptional<z.ZodString>;
|
|
371
386
|
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
372
387
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
373
388
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -390,6 +405,7 @@ export declare const ConnectUIOptions: z.ZodObject<{
|
|
|
390
405
|
connectorParameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
391
406
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
392
407
|
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
408
|
+
connectorKey: z.ZodOptional<z.ZodString>;
|
|
393
409
|
requestId: z.ZodOptional<z.ZodString>;
|
|
394
410
|
connectionParameters: z.ZodOptional<z.ZodAny>;
|
|
395
411
|
allowMultipleConnections: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { ConnectionSelector } from './connections-api';
|
|
3
2
|
import { ElementInstanceSelector } from '../../accessors';
|
|
4
3
|
import { PaginationQuery } from '../../api';
|
|
5
4
|
import { DataLinkDirection } from '../base/data-link-tables';
|
|
5
|
+
import { ConnectionSelector } from './connections-api';
|
|
6
6
|
export declare const FindDataLinkTableInstancesQuery: z.ZodObject<{
|
|
7
7
|
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
8
8
|
cursor: z.ZodOptional<z.ZodString>;
|
|
@@ -147,6 +147,7 @@ export declare const DataLinkTableInstanceApiResponse: z.ZodObject<{
|
|
|
147
147
|
error: z.ZodOptional<z.ZodType<import("../../errors").ErrorDataSchema, unknown, z.core.$ZodTypeInternals<import("../../errors").ErrorDataSchema, unknown>>>;
|
|
148
148
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
149
149
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
150
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
150
151
|
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
151
152
|
authOptionKey: z.ZodOptional<z.ZodString>;
|
|
152
153
|
createdAt: z.ZodString;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { ConnectionSelector } from './connections-api';
|
|
3
|
-
import { FlowInstanceSelector } from './flows-api';
|
|
4
2
|
import { ElementInstanceSelector, IntegrationSpecificElementSelector } from '../../accessors';
|
|
5
3
|
import { PaginationResponse } from '../../api';
|
|
4
|
+
import { ConnectionSelector } from './connections-api';
|
|
5
|
+
import { FlowInstanceSelector } from './flows-api';
|
|
6
6
|
export declare const DataSourceApiResponse: z.ZodObject<{
|
|
7
7
|
id: z.ZodString;
|
|
8
8
|
key: z.ZodOptional<z.ZodString>;
|
|
@@ -416,6 +416,7 @@ export declare const DataSourceApiResponse: z.ZodObject<{
|
|
|
416
416
|
error: z.ZodOptional<z.ZodType<import("../../errors").ErrorDataSchema, unknown, z.core.$ZodTypeInternals<import("../../errors").ErrorDataSchema, unknown>>>;
|
|
417
417
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
418
418
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
419
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
419
420
|
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
420
421
|
authOptionKey: z.ZodOptional<z.ZodString>;
|
|
421
422
|
createdAt: z.ZodString;
|
|
@@ -997,6 +998,7 @@ export declare const DataSourceInstanceApiResponse: z.ZodObject<{
|
|
|
997
998
|
error: z.ZodOptional<z.ZodType<import("../../errors").ErrorDataSchema, unknown, z.core.$ZodTypeInternals<import("../../errors").ErrorDataSchema, unknown>>>;
|
|
998
999
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
999
1000
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
1001
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
1000
1002
|
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
1001
1003
|
authOptionKey: z.ZodOptional<z.ZodString>;
|
|
1002
1004
|
createdAt: z.ZodString;
|
|
@@ -50,6 +50,7 @@ export declare const ExternalApiLogApiResponse: z.ZodObject<{
|
|
|
50
50
|
error: z.ZodOptional<z.ZodType<import("../../errors").ErrorDataSchema, unknown, z.core.$ZodTypeInternals<import("../../errors").ErrorDataSchema, unknown>>>;
|
|
51
51
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
52
52
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
53
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
53
54
|
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
54
55
|
authOptionKey: z.ZodOptional<z.ZodString>;
|
|
55
56
|
createdAt: z.ZodString;
|
|
@@ -133,6 +133,7 @@ export declare const ExternalEventLogRecordApiResponse: z.ZodObject<{
|
|
|
133
133
|
error: z.ZodOptional<z.ZodType<import("../../errors").ErrorDataSchema, unknown, z.core.$ZodTypeInternals<import("../../errors").ErrorDataSchema, unknown>>>;
|
|
134
134
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
135
135
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
136
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
136
137
|
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
137
138
|
authOptionKey: z.ZodOptional<z.ZodString>;
|
|
138
139
|
createdAt: z.ZodString;
|
|
@@ -146,6 +146,7 @@ export declare const ExternalEventPullApiResponse: z.ZodObject<{
|
|
|
146
146
|
error: z.ZodOptional<z.ZodType<import("../../errors").ErrorDataSchema, unknown, z.core.$ZodTypeInternals<import("../../errors").ErrorDataSchema, unknown>>>;
|
|
147
147
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
148
148
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
149
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
149
150
|
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
150
151
|
authOptionKey: z.ZodOptional<z.ZodString>;
|
|
151
152
|
createdAt: z.ZodString;
|
|
@@ -70,6 +70,7 @@ export declare const ExternalEventSubscriptionApiResponse: z.ZodObject<{
|
|
|
70
70
|
error: z.ZodOptional<z.ZodType<import("../../errors").ErrorDataSchema, unknown, z.core.$ZodTypeInternals<import("../../errors").ErrorDataSchema, unknown>>>;
|
|
71
71
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
72
72
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
73
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
73
74
|
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
74
75
|
authOptionKey: z.ZodOptional<z.ZodString>;
|
|
75
76
|
createdAt: z.ZodString;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { ElementInstanceSelector } from '../../accessors';
|
|
1
2
|
import { ConnectionSelector } from './connections-api';
|
|
2
3
|
import { FlowInstanceSelector } from './flows-api';
|
|
3
|
-
import { ElementInstanceSelector } from '../../accessors';
|
|
4
4
|
export { FieldMappingInstanceApiResponse, CreateFieldMappingInstanceRequest, UpdateFieldMappingInstanceRequest, FindFieldMappingInstancesQuery, ListFieldMappingInstancesForConnectionQuery, } from './field-mappings-api';
|
|
5
5
|
export type FieldMappingInstance = import('./field-mappings-api').FieldMappingInstanceApiResponse;
|
|
6
6
|
export interface FieldMappingInstanceSelector extends ConnectionSelector, FlowInstanceSelector, ElementInstanceSelector {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { ElementInstanceSelector, IntegrationSpecificElementSelector } from '../../accessors';
|
|
3
|
-
import { ConnectionSelector } from './connections-api';
|
|
4
3
|
import { FieldMappingDirection } from '../base/field-mappings';
|
|
4
|
+
import { ConnectionSelector } from './connections-api';
|
|
5
5
|
import { FlowInstanceSelector } from './flows-api';
|
|
6
6
|
export declare const FieldMappingApiResponse: z.ZodObject<{
|
|
7
7
|
id: z.ZodString;
|
|
@@ -216,6 +216,7 @@ export declare const FieldMappingApiResponse: z.ZodObject<{
|
|
|
216
216
|
error: z.ZodOptional<z.ZodType<import("../../errors").ErrorDataSchema, unknown, z.core.$ZodTypeInternals<import("../../errors").ErrorDataSchema, unknown>>>;
|
|
217
217
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
218
218
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
219
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
219
220
|
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
220
221
|
authOptionKey: z.ZodOptional<z.ZodString>;
|
|
221
222
|
createdAt: z.ZodString;
|
|
@@ -496,6 +497,7 @@ export declare const FieldMappingInstanceApiResponse: z.ZodObject<{
|
|
|
496
497
|
error: z.ZodOptional<z.ZodType<import("../../errors").ErrorDataSchema, unknown, z.core.$ZodTypeInternals<import("../../errors").ErrorDataSchema, unknown>>>;
|
|
497
498
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
498
499
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
500
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
499
501
|
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
500
502
|
authOptionKey: z.ZodOptional<z.ZodString>;
|
|
501
503
|
createdAt: z.ZodString;
|