@membranehq/sdk 0.17.5 → 0.18.0
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 +21 -10
- package/dist/bundle.js +5198 -5182
- 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 +5 -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 +5 -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/session.d.ts +2 -0
- package/dist/dts/alerts/utils.d.ts +1 -1
- package/dist/dts/client-tokens/types.d.ts +5 -5
- 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/record.d.ts +1 -1
- package/dist/dts/stats/index.d.ts +8 -5
- package/dist/dts/ui.d.ts +5 -0
- package/dist/dts/workspace-elements/api/action-run-log-records-api.d.ts +3 -0
- package/dist/dts/workspace-elements/api/actions-api.d.ts +1 -1
- package/dist/dts/workspace-elements/api/connected-products-api.d.ts +2 -1
- package/dist/dts/workspace-elements/api/connections-api.d.ts +1 -1
- package/dist/dts/workspace-elements/api/data-link-table-instances-api.d.ts +1 -1
- package/dist/dts/workspace-elements/api/data-sources-api.d.ts +4 -4
- package/dist/dts/workspace-elements/api/external-api-logs-api.d.ts +2 -0
- package/dist/dts/workspace-elements/api/external-event-log-records-api.d.ts +2 -0
- package/dist/dts/workspace-elements/api/external-event-pulls-api.d.ts +2 -0
- package/dist/dts/workspace-elements/api/external-event-subscriptions-api.d.ts +1 -0
- package/dist/dts/workspace-elements/api/external-events-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 -3
- package/dist/dts/workspace-elements/api/flow-runs-api.d.ts +3 -0
- package/dist/dts/workspace-elements/api/flows-api.d.ts +2 -2
- package/dist/dts/workspace-elements/api/incoming-webhooks-api.d.ts +2 -0
- package/dist/dts/workspace-elements/base/action-run-log-records/index.d.ts +1 -0
- package/dist/dts/workspace-elements/base/actions/index.d.ts +2 -2
- 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/index.d.ts +1 -0
- 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/base/external-event-log-records/index.d.ts +1 -0
- package/dist/dts/workspace-elements/base/external-event-pulls/index.d.ts +1 -0
- package/dist/dts/workspace-elements/base/flow-runs/index.d.ts +1 -0
- package/dist/dts/workspace-elements/types.d.ts +3 -0
- package/dist/dts/workspace-elements-catalog/index.d.ts +3 -0
- package/dist/dts/workspaces/compare.d.ts +1 -1
- package/dist/index.browser.d.mts +731 -694
- package/dist/index.browser.d.ts +731 -694
- package/dist/index.browser.js +1247 -1076
- package/dist/index.browser.js.map +1 -1
- package/dist/index.browser.mjs +1247 -1076
- package/dist/index.browser.mjs.map +1 -1
- package/dist/index.node.d.mts +731 -694
- package/dist/index.node.d.ts +731 -694
- package/dist/index.node.js +1247 -1076
- package/dist/index.node.js.map +1 -1
- package/dist/index.node.mjs +1247 -1076
- 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>;
|
|
@@ -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> {
|
|
@@ -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
|
}
|
|
@@ -41,6 +41,7 @@ export declare const AgentSession: z.ZodObject<{
|
|
|
41
41
|
hasWorker: z.ZodBoolean;
|
|
42
42
|
isExternal: z.ZodOptional<z.ZodBoolean>;
|
|
43
43
|
agentName: z.ZodOptional<z.ZodEnum<typeof AgentName>>;
|
|
44
|
+
output: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
44
45
|
createdAt: z.ZodISODateTime;
|
|
45
46
|
updatedAt: z.ZodISODateTime;
|
|
46
47
|
}, z.core.$strip>;
|
|
@@ -68,6 +69,7 @@ export declare const PatchAgentSessionSchema: z.ZodObject<{
|
|
|
68
69
|
cost: z.ZodOptional<z.ZodNumber>;
|
|
69
70
|
error: z.ZodOptional<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>;
|
|
70
71
|
opencodeSessionUuid: z.ZodOptional<z.ZodString>;
|
|
72
|
+
output: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
71
73
|
status: z.ZodOptional<z.ZodEnum<typeof AgentSessionStatus>>;
|
|
72
74
|
}, z.core.$strip>;
|
|
73
75
|
export type PatchAgentSession = z.infer<typeof PatchAgentSessionSchema>;
|
|
@@ -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;
|
|
@@ -2,9 +2,9 @@ import { z } from 'zod';
|
|
|
2
2
|
export declare const CLIENT_TOKEN_GRANT_TYPES: readonly ["mcp-oauth", "cli-oauth", "agent-session", "api"];
|
|
3
3
|
export declare const ClientTokenGrantType: z.ZodEnum<{
|
|
4
4
|
api: "api";
|
|
5
|
+
"agent-session": "agent-session";
|
|
5
6
|
"mcp-oauth": "mcp-oauth";
|
|
6
7
|
"cli-oauth": "cli-oauth";
|
|
7
|
-
"agent-session": "agent-session";
|
|
8
8
|
}>;
|
|
9
9
|
export type ClientTokenGrantType = z.infer<typeof ClientTokenGrantType>;
|
|
10
10
|
export declare const ClientToken: z.ZodObject<{
|
|
@@ -14,9 +14,9 @@ export declare const ClientToken: z.ZodObject<{
|
|
|
14
14
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
15
15
|
grantType: z.ZodEnum<{
|
|
16
16
|
api: "api";
|
|
17
|
+
"agent-session": "agent-session";
|
|
17
18
|
"mcp-oauth": "mcp-oauth";
|
|
18
19
|
"cli-oauth": "cli-oauth";
|
|
19
|
-
"agent-session": "agent-session";
|
|
20
20
|
}>;
|
|
21
21
|
grantId: z.ZodOptional<z.ZodString>;
|
|
22
22
|
grantName: z.ZodOptional<z.ZodString>;
|
|
@@ -31,9 +31,9 @@ export declare const CreateClientTokenResponse: z.ZodObject<{
|
|
|
31
31
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
32
32
|
grantType: z.ZodEnum<{
|
|
33
33
|
api: "api";
|
|
34
|
+
"agent-session": "agent-session";
|
|
34
35
|
"mcp-oauth": "mcp-oauth";
|
|
35
36
|
"cli-oauth": "cli-oauth";
|
|
36
|
-
"agent-session": "agent-session";
|
|
37
37
|
}>;
|
|
38
38
|
grantId: z.ZodOptional<z.ZodString>;
|
|
39
39
|
grantName: z.ZodOptional<z.ZodString>;
|
|
@@ -45,9 +45,9 @@ export type CreateClientTokenResponse = z.infer<typeof CreateClientTokenResponse
|
|
|
45
45
|
export declare const CreateClientTokenRequest: z.ZodObject<{
|
|
46
46
|
grantType: z.ZodEnum<{
|
|
47
47
|
api: "api";
|
|
48
|
+
"agent-session": "agent-session";
|
|
48
49
|
"mcp-oauth": "mcp-oauth";
|
|
49
50
|
"cli-oauth": "cli-oauth";
|
|
50
|
-
"agent-session": "agent-session";
|
|
51
51
|
}>;
|
|
52
52
|
grantId: z.ZodString;
|
|
53
53
|
grantName: z.ZodString;
|
|
@@ -63,9 +63,9 @@ export declare const ClientTokenListResponse: z.ZodObject<{
|
|
|
63
63
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
64
64
|
grantType: z.ZodEnum<{
|
|
65
65
|
api: "api";
|
|
66
|
+
"agent-session": "agent-session";
|
|
66
67
|
"mcp-oauth": "mcp-oauth";
|
|
67
68
|
"cli-oauth": "cli-oauth";
|
|
68
|
-
"agent-session": "agent-session";
|
|
69
69
|
}>;
|
|
70
70
|
grantId: z.ZodOptional<z.ZodString>;
|
|
71
71
|
grantName: z.ZodOptional<z.ZodString>;
|
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;
|
|
@@ -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);
|
|
@@ -1,33 +1,36 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
import { WorkspaceElementType } from '../workspace-elements/types';
|
|
2
3
|
export declare const StatsFilterQuery: z.ZodObject<{
|
|
3
4
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
4
5
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
5
6
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
7
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
6
8
|
}, z.core.$strip>;
|
|
7
9
|
export type StatsFilterQuery = z.infer<typeof StatsFilterQuery>;
|
|
8
10
|
export declare const ActivityStatsQuery: z.ZodObject<{
|
|
9
11
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
10
12
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
11
13
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
14
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
12
15
|
startDatetime: z.ZodString;
|
|
16
|
+
elementType: z.ZodOptional<z.ZodEnum<typeof WorkspaceElementType>>;
|
|
13
17
|
}, z.core.$strip>;
|
|
14
18
|
export type ActivityStatsQuery = z.infer<typeof ActivityStatsQuery>;
|
|
15
19
|
export declare const IntegrationLayerStatsQuery: z.ZodObject<{
|
|
16
20
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
17
21
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
18
22
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
23
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
24
|
+
elementType: z.ZodOptional<z.ZodEnum<typeof WorkspaceElementType>>;
|
|
19
25
|
}, z.core.$strip>;
|
|
20
26
|
export type IntegrationLayerStatsQuery = z.infer<typeof IntegrationLayerStatsQuery>;
|
|
21
27
|
export declare const ActionRunsStatsQuery: z.ZodObject<{
|
|
22
|
-
actionId: z.
|
|
23
|
-
connectionActionId: z.ZodOptional<z.ZodString>;
|
|
28
|
+
actionId: z.ZodString;
|
|
24
29
|
startDatetime: z.ZodString;
|
|
25
30
|
}, z.core.$strip>;
|
|
26
31
|
export type ActionRunsStatsQuery = z.infer<typeof ActionRunsStatsQuery>;
|
|
27
32
|
export declare const FlowRunsStatsQuery: z.ZodObject<{
|
|
28
|
-
|
|
29
|
-
connectionFlowId: z.ZodOptional<z.ZodString>;
|
|
30
|
-
universalFlowId: z.ZodOptional<z.ZodString>;
|
|
33
|
+
flowId: z.ZodString;
|
|
31
34
|
startDatetime: z.ZodString;
|
|
32
35
|
}, z.core.$strip>;
|
|
33
36
|
export type FlowRunsStatsQuery = z.infer<typeof FlowRunsStatsQuery>;
|
package/dist/dts/ui.d.ts
CHANGED
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
import { MembraneApiClient } from './api-client';
|
|
2
2
|
import { ConnectionApiResponse, ConnectUIOptions } from './workspace-elements/api/connections-api';
|
|
3
3
|
export { ConnectUIOptions };
|
|
4
|
+
export interface UNSAFE_AgentSessionUIOptions {
|
|
5
|
+
sessionId: string;
|
|
6
|
+
theme?: 'light' | 'dark' | 'auto';
|
|
7
|
+
}
|
|
4
8
|
export declare class UI {
|
|
5
9
|
private client;
|
|
6
10
|
constructor(client: MembraneApiClient);
|
|
7
11
|
connect(options?: ConnectUIOptions): Promise<ConnectionApiResponse | null>;
|
|
12
|
+
UNSAFE_agentSession(options: UNSAFE_AgentSessionUIOptions): Promise<void>;
|
|
8
13
|
}
|
|
@@ -4,6 +4,7 @@ export declare const ActionRunLogRecordApiResponse: z.ZodObject<{
|
|
|
4
4
|
userId: z.ZodString;
|
|
5
5
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
6
6
|
id: z.ZodString;
|
|
7
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
7
8
|
name: z.ZodString;
|
|
8
9
|
universalActionId: z.ZodOptional<z.ZodString>;
|
|
9
10
|
integrationActionId: z.ZodString;
|
|
@@ -195,6 +196,7 @@ export declare const FindActionRunLogsQuery: z.ZodObject<{
|
|
|
195
196
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
196
197
|
userId: z.ZodOptional<z.ZodString>;
|
|
197
198
|
status: z.ZodOptional<z.ZodEnum<typeof ActionRunLogStatus>>;
|
|
199
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
198
200
|
from: z.ZodOptional<z.ZodString>;
|
|
199
201
|
to: z.ZodOptional<z.ZodString>;
|
|
200
202
|
}, z.core.$strip>;
|
|
@@ -204,6 +206,7 @@ export declare const FindActionRunLogsResponse: z.ZodObject<{
|
|
|
204
206
|
userId: z.ZodString;
|
|
205
207
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
206
208
|
id: z.ZodString;
|
|
209
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
207
210
|
name: z.ZodString;
|
|
208
211
|
universalActionId: z.ZodOptional<z.ZodString>;
|
|
209
212
|
integrationActionId: 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>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const CreateConnectedProductRequest: z.ZodObject<{
|
|
3
3
|
name: z.ZodString;
|
|
4
|
+
key: z.ZodOptional<z.ZodString>;
|
|
4
5
|
type: z.ZodEnum<{
|
|
5
6
|
app: "app";
|
|
6
7
|
"ai-agent": "ai-agent";
|
|
@@ -21,6 +22,7 @@ export declare const CreateConnectedProductRequest: z.ZodObject<{
|
|
|
21
22
|
export type CreateConnectedProductRequest = z.infer<typeof CreateConnectedProductRequest>;
|
|
22
23
|
export declare const UpdateConnectedProductRequest: z.ZodObject<{
|
|
23
24
|
name: z.ZodOptional<z.ZodString>;
|
|
25
|
+
key: z.ZodOptional<z.ZodString>;
|
|
24
26
|
type: z.ZodOptional<z.ZodEnum<{
|
|
25
27
|
app: "app";
|
|
26
28
|
"ai-agent": "ai-agent";
|
|
@@ -48,7 +50,6 @@ export declare const FindConnectedProductsQuery: z.ZodObject<{
|
|
|
48
50
|
customers: "customers";
|
|
49
51
|
personal: "personal";
|
|
50
52
|
}>>;
|
|
51
|
-
key: z.ZodOptional<z.ZodString>;
|
|
52
53
|
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
53
54
|
cursor: z.ZodOptional<z.ZodString>;
|
|
54
55
|
search: z.ZodOptional<z.ZodString>;
|
|
@@ -10,11 +10,11 @@ export declare const FindConnectionsQuery: z.ZodObject<{
|
|
|
10
10
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
11
11
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
12
12
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
13
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
13
14
|
disconnected: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
14
15
|
isTest: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
15
16
|
userId: z.ZodOptional<z.ZodString>;
|
|
16
17
|
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
17
|
-
externalAppId: z.ZodOptional<z.ZodString>;
|
|
18
18
|
integrationKey: z.ZodOptional<z.ZodString>;
|
|
19
19
|
includeSecrets: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
20
20
|
}, z.core.$strip>;
|
|
@@ -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>;
|
|
@@ -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>;
|
|
@@ -1186,9 +1186,9 @@ export declare const FindDataSourcesQuery: z.ZodObject<{
|
|
|
1186
1186
|
}>>;
|
|
1187
1187
|
universalParentId: z.ZodOptional<z.ZodString>;
|
|
1188
1188
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
1189
|
-
externalAppId: z.ZodOptional<z.ZodString>;
|
|
1190
1189
|
dataSourceId: z.ZodOptional<z.ZodString>;
|
|
1191
1190
|
universalDataSourceId: z.ZodOptional<z.ZodString>;
|
|
1191
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
1192
1192
|
}, z.core.$strip>;
|
|
1193
1193
|
export type FindDataSourcesQuery = z.infer<typeof FindDataSourcesQuery>;
|
|
1194
1194
|
export declare const FindDataSourceInstancesQuery: z.ZodObject<{
|
|
@@ -1209,9 +1209,9 @@ export declare const FindDataSourceInstancesQuery: z.ZodObject<{
|
|
|
1209
1209
|
}>>;
|
|
1210
1210
|
universalParentId: z.ZodOptional<z.ZodString>;
|
|
1211
1211
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
1212
|
-
externalAppId: z.ZodOptional<z.ZodString>;
|
|
1213
1212
|
dataSourceId: z.ZodOptional<z.ZodString>;
|
|
1214
1213
|
universalDataSourceId: z.ZodOptional<z.ZodString>;
|
|
1214
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
1215
1215
|
}, z.core.$strip>;
|
|
1216
1216
|
export type FindDataSourceInstancesQuery = FindDataSourcesQuery;
|
|
1217
1217
|
export declare const CreateDataSourceRequest: z.ZodObject<{
|
|
@@ -6,6 +6,7 @@ export declare const ListExternalApiLogsQuery: z.ZodObject<{
|
|
|
6
6
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
7
7
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
8
8
|
isSuccess: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
9
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
9
10
|
from: z.ZodOptional<z.ZodString>;
|
|
10
11
|
to: z.ZodOptional<z.ZodString>;
|
|
11
12
|
sortOrder: z.ZodOptional<z.ZodEnum<{
|
|
@@ -20,6 +21,7 @@ export declare const ExternalApiLogApiResponse: z.ZodObject<{
|
|
|
20
21
|
customerId: z.ZodString;
|
|
21
22
|
integrationId: z.ZodString;
|
|
22
23
|
connectionId: z.ZodString;
|
|
24
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
23
25
|
statusCode: z.ZodNumber;
|
|
24
26
|
isSuccess: z.ZodBoolean;
|
|
25
27
|
s3Uri: z.ZodString;
|
|
@@ -9,6 +9,7 @@ export declare const ListExternalEventLogRecordsQuery: z.ZodObject<{
|
|
|
9
9
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
10
10
|
externalEventSubscriptionId: z.ZodOptional<z.ZodString>;
|
|
11
11
|
status: z.ZodOptional<z.ZodEnum<typeof ExternalEventLogStatus>>;
|
|
12
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
12
13
|
from: z.ZodOptional<z.ZodString>;
|
|
13
14
|
to: z.ZodOptional<z.ZodString>;
|
|
14
15
|
}, z.core.$strip>;
|
|
@@ -17,6 +18,7 @@ export declare const ExternalEventLogRecordApiResponse: z.ZodObject<{
|
|
|
17
18
|
userId: z.ZodString;
|
|
18
19
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
19
20
|
id: z.ZodString;
|
|
21
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
20
22
|
name: z.ZodOptional<z.ZodString>;
|
|
21
23
|
externalEventSubscriptionId: z.ZodString;
|
|
22
24
|
integrationId: z.ZodString;
|
|
@@ -20,6 +20,7 @@ export declare const FindExternalEventPullsQuery: z.ZodObject<{
|
|
|
20
20
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
21
21
|
userId: z.ZodOptional<z.ZodString>;
|
|
22
22
|
status: z.ZodOptional<z.ZodEnum<typeof ExternalEventPullStatus>>;
|
|
23
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
23
24
|
from: z.ZodOptional<z.ZodString>;
|
|
24
25
|
to: z.ZodOptional<z.ZodString>;
|
|
25
26
|
}, z.core.$strip>;
|
|
@@ -28,6 +29,7 @@ export declare const ExternalEventPullApiResponse: z.ZodObject<{
|
|
|
28
29
|
userId: z.ZodString;
|
|
29
30
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
30
31
|
id: z.ZodString;
|
|
32
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
31
33
|
name: z.ZodOptional<z.ZodString>;
|
|
32
34
|
externalEventSubscriptionId: z.ZodString;
|
|
33
35
|
integrationId: z.ZodString;
|
|
@@ -7,6 +7,7 @@ export declare const ListExternalEventSubscriptionsQuery: z.ZodObject<{
|
|
|
7
7
|
userId: z.ZodOptional<z.ZodString>;
|
|
8
8
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
9
9
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
10
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
10
11
|
}, z.core.$strip>;
|
|
11
12
|
export type ListExternalEventSubscriptionsQuery = z.infer<typeof ListExternalEventSubscriptionsQuery>;
|
|
12
13
|
export declare const ExternalEventSubscriptionApiResponse: z.ZodObject<{
|
|
@@ -5,6 +5,7 @@ export interface FindExternalEventSubscriptionsQuery extends PaginationQuery {
|
|
|
5
5
|
userId?: string;
|
|
6
6
|
connectionId?: string;
|
|
7
7
|
integrationId?: string;
|
|
8
|
+
externalAppId?: string;
|
|
8
9
|
}
|
|
9
10
|
export interface FindExternalEventLogsQuery extends PaginationQuery {
|
|
10
11
|
userId?: string;
|