@membranehq/sdk 0.2.1 → 0.3.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.
Files changed (39) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +3 -8
  3. package/dist/bundle.d.ts +724 -223
  4. package/dist/bundle.js +166 -47
  5. package/dist/bundle.js.map +1 -1
  6. package/dist/dts/api-client.d.ts +5 -5
  7. package/dist/dts/connections/accessors.d.ts +1 -10
  8. package/dist/dts/connections/types.d.ts +1 -3
  9. package/dist/dts/connectors/auth.d.ts +6 -3
  10. package/dist/dts/connectors/data-locations/base.d.ts +3 -3
  11. package/dist/dts/connectors/data-locations/collections/events/implementation-types/connector-event.d.ts +2 -2
  12. package/dist/dts/connectors/data-locations/collections/events/implementation-types/custom-pull.d.ts +2 -2
  13. package/dist/dts/connectors/data-locations/collections/events/implementation-types/pull-latest-records.d.ts +2 -2
  14. package/dist/dts/connectors/data-locations/collections/events/implementation-types/webhook.d.ts +2 -2
  15. package/dist/dts/connectors/data-locations/collections/index.d.ts +24 -24
  16. package/dist/dts/connectors/data-locations/collections/methods/base.d.ts +3 -3
  17. package/dist/dts/connectors/data-locations/index.d.ts +1 -2
  18. package/dist/dts/connectors/data-locations/methods.d.ts +2 -2
  19. package/dist/dts/connectors/data-locations/schemas.d.ts +1329 -0
  20. package/dist/dts/connectors/data-locations/utils.d.ts +2 -2
  21. package/dist/dts/connectors/types.d.ts +1 -12
  22. package/dist/dts/data-builder/formulas/dataSchemaRef.d.ts +2 -2
  23. package/dist/dts/data-schema/index.d.ts +1 -0
  24. package/dist/dts/data-schema/schemas.d.ts +4 -0
  25. package/dist/dts/errors/index.d.ts +3 -10
  26. package/dist/dts/flow-runs/flow-node-runs.d.ts +347 -15
  27. package/dist/dts/flows/schemas.d.ts +14 -14
  28. package/dist/dts/integrations/accessors.d.ts +3 -5
  29. package/dist/index.d.ts +1708 -354
  30. package/dist/index.js +191 -87
  31. package/dist/index.js.map +1 -1
  32. package/dist/index.module.d.mts +1708 -354
  33. package/dist/index.module.mjs +166 -85
  34. package/dist/index.module.mjs.map +1 -1
  35. package/package.json +3 -3
  36. package/dist/dts/connectors/data-locations/directories/index.d.ts +0 -17
  37. package/dist/dts/connectors/data-locations/directories/methods/base.d.ts +0 -18
  38. package/dist/dts/connectors/data-locations/directories/methods/list.d.ts +0 -2
  39. package/dist/dts/connectors/data-locations/types.d.ts +0 -258
@@ -9,6 +9,15 @@ import deepEqual from 'fast-deep-equal';
9
9
  import urljoin from 'url-join';
10
10
  import axiosOriginal from 'axios';
11
11
 
12
+ var ErrorDoc;
13
+ (function (ErrorDoc) {
14
+ ErrorDoc["AuthenticationTokenErrors"] = "authentication-token-errors";
15
+ ErrorDoc["DataSourceNoCollectionSelected"] = "data-source-no-collection-selected";
16
+ ErrorDoc["FlowInstanceSetupFailed"] = "flow-instance-setup-failed";
17
+ ErrorDoc["FlowInstanceSetupTimeout"] = "flow-instance-setup-timeout";
18
+ ErrorDoc["WebhookCannotFindUser"] = "webhook-cannot-find-user";
19
+ })(ErrorDoc || (ErrorDoc = {}));
20
+
12
21
  var LogRecordType;
13
22
  (function (LogRecordType) {
14
23
  LogRecordType["MSG"] = "message";
@@ -84,15 +93,6 @@ function truncateData(data, depth = 0) {
84
93
  }
85
94
  }
86
95
 
87
- var ErrorDoc;
88
- (function (ErrorDoc) {
89
- ErrorDoc["AuthenticationTokenErrors"] = "authentication-token-errors";
90
- ErrorDoc["DataSourceNoCollectionSelected"] = "data-source-no-collection-selected";
91
- ErrorDoc["FlowInstanceSetupFailed"] = "flow-instance-setup-failed";
92
- ErrorDoc["FlowInstanceSetupTimeout"] = "flow-instance-setup-timeout";
93
- ErrorDoc["WebhookCannotFindUser"] = "webhook-cannot-find-user";
94
- })(ErrorDoc || (ErrorDoc = {}));
95
-
96
96
  var ErrorType;
97
97
  (function (ErrorType) {
98
98
  ErrorType["BAD_REQUEST"] = "bad_request";
@@ -126,6 +126,16 @@ var ConcurrencyErrorKey;
126
126
  (function (ConcurrencyErrorKey) {
127
127
  ConcurrencyErrorKey["LOCK_TIMEOUT"] = "lock_timeout";
128
128
  })(ConcurrencyErrorKey || (ConcurrencyErrorKey = {}));
129
+ const ErrorDataSchema = z.object({
130
+ type: z.nativeEnum(ErrorType).optional(),
131
+ key: z.string().optional(),
132
+ message: z.string(),
133
+ data: z.any().optional(),
134
+ doc: z.nativeEnum(ErrorDoc).optional(),
135
+ stack: z.any().optional(),
136
+ causedByError: z.lazy(() => ErrorDataSchema).optional(),
137
+ logs: z.array(z.any()).optional(),
138
+ });
129
139
  function isIntegrationAppError(error) {
130
140
  return error && error.isIntegrationAppError;
131
141
  }
@@ -827,7 +837,7 @@ async function openIframe(uri, callbacks = {}, { mountTargetSelector } = {}) {
827
837
  });
828
838
  }
829
839
  else {
830
- throw Error('Integration.app container element not found. Was it manually removed?');
840
+ throw Error('Membrane container element not found. Was it manually removed?');
831
841
  }
832
842
  }
833
843
  if (document.readyState === 'complete' || document.readyState === 'interactive') {
@@ -2554,6 +2564,42 @@ function isObjectAllowedAdditionalProperties(field) {
2554
2564
  return ((_b = field.schema) === null || _b === void 0 ? void 0 : _b.additionalProperties) === true;
2555
2565
  }
2556
2566
 
2567
+ const DataSchemaSchema = z.lazy(() => z.object({
2568
+ title: z.string().optional(),
2569
+ description: z.string().optional(),
2570
+ type: z.union([z.string(), z.array(z.string())]).optional(),
2571
+ format: z.string().optional(),
2572
+ properties: z.record(DataSchemaSchema).optional(),
2573
+ items: DataSchemaSchema.optional(),
2574
+ additionalProperties: z.union([z.boolean(), DataSchemaSchema]).optional(),
2575
+ enum: z.array(z.string()).optional(),
2576
+ referenceRecords: z.array(z.any()).optional(),
2577
+ referenceCollection: z
2578
+ .object({
2579
+ key: z.any(),
2580
+ parameters: z.record(z.any()).optional(),
2581
+ })
2582
+ .optional(),
2583
+ referenceUdm: z.string().optional(),
2584
+ default: z.any().optional(),
2585
+ allowCustom: z.boolean().optional(),
2586
+ $ref: z.string().optional(),
2587
+ required: z.array(z.string()).optional(),
2588
+ minLength: z.number().optional(),
2589
+ maxLength: z.number().optional(),
2590
+ minimum: z.number().optional(),
2591
+ maximum: z.number().optional(),
2592
+ maxItems: z.number().optional(),
2593
+ readOnly: z.boolean().optional(),
2594
+ writeOnly: z.boolean().optional(),
2595
+ examples: z.array(z.any()).optional(),
2596
+ anyOf: z.array(DataSchemaSchema).optional(),
2597
+ isImplied: z.boolean().optional(),
2598
+ isSensitive: z.boolean().optional(),
2599
+ referenceCollectionPath: z.string().optional(),
2600
+ referenceCollectionUri: z.string().optional(),
2601
+ }));
2602
+
2557
2603
  var ConnectorMethodImplementationType;
2558
2604
  (function (ConnectorMethodImplementationType) {
2559
2605
  ConnectorMethodImplementationType["mapping"] = "mapping";
@@ -2573,6 +2619,7 @@ const CONNECTOR_METHOD_IMPLEMENTATION_SUFFIXES = {
2573
2619
 
2574
2620
  const CONNECTOR_AUTH_TYPES = [
2575
2621
  'integration-app-token',
2622
+ 'membrane-token',
2576
2623
  'oauth2',
2577
2624
  'oauth1',
2578
2625
  'client-credentials',
@@ -6806,62 +6853,73 @@ const DataLocationTypeCollection = {
6806
6853
  };
6807
6854
  const ConnectorDataCollectionMethodKeys = Object.keys(DataLocationTypeCollection.methods);
6808
6855
 
6809
- const DataDirectoryMethodList = {
6810
- name: 'List',
6811
- description: 'List collections and directories inside this directory',
6812
- getInputSchema: ({ directory }) => ({
6813
- type: 'object',
6814
- properties: {
6815
- parameters: directory.parametersSchema,
6816
- cursor: { type: 'string' },
6817
- },
6818
- }),
6819
- getOutputSchema: () => ({
6820
- type: 'object',
6821
- properties: {
6822
- locations: {
6823
- type: 'array',
6824
- items: {
6825
- type: 'object',
6826
- properties: {
6827
- name: { type: 'string' },
6828
- key: { type: 'string' },
6829
- path: { type: 'string' },
6830
- type: {
6831
- type: 'string',
6832
- enum: Object.keys(ConnectorDataLocationTypes),
6833
- },
6834
- },
6835
- },
6836
- },
6837
- },
6838
- }),
6839
- supportedImplementationTypes: [ConnectorMethodImplementationType.mapping, ...DataLocationMethodImplementationTypes],
6840
- };
6841
-
6842
- const DataDirectoryCustomSpecMethod = {
6843
- supportedImplementationTypes: [ConnectorMethodImplementationType.javascript],
6844
- };
6845
- const DataLocationTypeDirectory = {
6846
- spec: DataDirectoryCustomSpecMethod,
6847
- methods: {
6848
- list: DataDirectoryMethodList,
6849
- },
6850
- };
6851
- const ConnectorDataDirectoryMethodKeys = Object.keys(DataLocationTypeDirectory.methods);
6852
-
6853
- var DataLocationType;
6854
- (function (DataLocationType) {
6855
- DataLocationType["directory"] = "directory";
6856
- DataLocationType["collection"] = "collection";
6857
- })(DataLocationType || (DataLocationType = {}));
6858
- var DataDirectoryOperation;
6859
- (function (DataDirectoryOperation) {
6860
- DataDirectoryOperation["list"] = "list";
6861
- })(DataDirectoryOperation || (DataDirectoryOperation = {}));
6856
+ const ApiRequestSpecSchema = z.object({
6857
+ path: z.unknown(),
6858
+ method: z.unknown(),
6859
+ });
6860
+ const DataCollectionMethodSpecSchema = z.object({
6861
+ apiRequests: z.array(ApiRequestSpecSchema).optional(),
6862
+ });
6863
+ const DataCollectionListSpecSchema = DataCollectionMethodSpecSchema.extend({
6864
+ filterFields: z.array(z.string()).optional(),
6865
+ });
6866
+ const DataCollectionSearchSpecSchema = DataCollectionMethodSpecSchema.extend({});
6867
+ const DataCollectionMatchSpecSchema = DataCollectionMethodSpecSchema.extend({
6868
+ fields: z.array(z.string()).optional(),
6869
+ });
6870
+ const DataCollectionFindByIdSpecSchema = DataCollectionMethodSpecSchema.extend({});
6871
+ const DataCollectionCreateSpecSchema = DataCollectionMethodSpecSchema.extend({
6872
+ fields: z.array(z.string()).optional(),
6873
+ requiredFields: z.array(z.string()).optional(),
6874
+ excludedFields: z.array(z.string()).optional(),
6875
+ });
6876
+ const DataCollectionUpdateSpecSchema = DataCollectionMethodSpecSchema.extend({
6877
+ fields: z.array(z.string()).optional(),
6878
+ excludedFields: z.array(z.string()).optional(),
6879
+ });
6880
+ const DataCollectionDeleteSpecSchema = DataCollectionMethodSpecSchema.extend({});
6881
+ const DataCollectionFindSpecSchema = DataCollectionMethodSpecSchema.extend({
6882
+ queryFields: z.array(z.string()).optional(),
6883
+ });
6884
+ const DataCollectionEventTypeSpecSchema = z.object({
6885
+ type: z.enum(['push', 'pull']),
6886
+ isFullScan: z.boolean().optional(),
6887
+ isIdOnly: z.boolean().optional(),
6888
+ });
6889
+ const DataCollectionEventsSpecSchema = z
6890
+ .object({
6891
+ created: DataCollectionEventTypeSpecSchema.optional(),
6892
+ updated: DataCollectionEventTypeSpecSchema.optional(),
6893
+ deleted: DataCollectionEventTypeSpecSchema.optional(),
6894
+ all: DataCollectionEventTypeSpecSchema.optional(),
6895
+ })
6896
+ .catchall(DataCollectionEventTypeSpecSchema);
6897
+ const DataCollectionUdmSpecSchema = z.object({
6898
+ fields: z.array(z.string()).optional(),
6899
+ extract: z.record(z.any()).optional(),
6900
+ parse: z.record(z.any()).optional(),
6901
+ });
6902
+ const DataCollectionUdmsSpecSchema = z.record(DataCollectionUdmSpecSchema);
6903
+ const DataCollectionSpecSchema = z.object({
6904
+ type: z.literal('collection'),
6905
+ key: z.string().optional(),
6906
+ name: z.string(),
6907
+ parametersSchema: DataSchemaSchema.optional(),
6908
+ fieldsSchema: DataSchemaSchema.optional(),
6909
+ list: DataCollectionListSpecSchema.optional(),
6910
+ search: DataCollectionSearchSpecSchema.optional(),
6911
+ match: DataCollectionMatchSpecSchema.optional(),
6912
+ findById: DataCollectionFindByIdSpecSchema.optional(),
6913
+ create: DataCollectionCreateSpecSchema.optional(),
6914
+ update: DataCollectionUpdateSpecSchema.optional(),
6915
+ delete: DataCollectionDeleteSpecSchema.optional(),
6916
+ events: DataCollectionEventsSpecSchema.optional(),
6917
+ customFields: z.boolean().optional(),
6918
+ udm: DataCollectionUdmsSpecSchema.optional(),
6919
+ find: DataCollectionFindSpecSchema.optional(),
6920
+ });
6862
6921
  const ConnectorDataLocationTypes = {
6863
6922
  collection: DataLocationTypeCollection,
6864
- directory: DataLocationTypeDirectory,
6865
6923
  };
6866
6924
 
6867
6925
  function getDataLocationMethodPath(locationKey, methodKey) {
@@ -9555,6 +9613,49 @@ var FlowNodeRunStatus;
9555
9613
  FlowNodeRunStatus["FAILED"] = "failed";
9556
9614
  FlowNodeRunStatus["SKIPPED"] = "skipped";
9557
9615
  })(FlowNodeRunStatus || (FlowNodeRunStatus = {}));
9616
+ const UpstreamFlowNodeRunSchema = z.object({
9617
+ nodeKey: z.string(),
9618
+ runId: z.string(),
9619
+ outputId: z.string(),
9620
+ });
9621
+ const DownstreamFlowNodeRunSchema = z.object({
9622
+ runId: z.string(),
9623
+ nodeKey: z.string(),
9624
+ });
9625
+ const FlowNodeRunParametersSchema = z.object({
9626
+ id: z.string(),
9627
+ upstreamRuns: z.array(UpstreamFlowNodeRunSchema),
9628
+ input: z.any(),
9629
+ });
9630
+ const FlowNodeRunOutputSchema = z.object({
9631
+ id: z.string(),
9632
+ data: z.string(),
9633
+ downstreamRuns: z.array(DownstreamFlowNodeRunSchema),
9634
+ });
9635
+ const FlowNodeRunResultSchema = z.object({
9636
+ status: z.nativeEnum(FlowNodeRunStatus),
9637
+ logs: z.array(z.any()),
9638
+ outputs: z.array(FlowNodeRunOutputSchema),
9639
+ errors: z.array(ErrorDataSchema),
9640
+ });
9641
+ const FlowNodeRunRecordSchema = FlowNodeRunParametersSchema.merge(FlowNodeRunResultSchema);
9642
+ const FlowNodeRunOutputWithoutDownstreamRunsSchema = z.object({
9643
+ id: z.string(),
9644
+ data: z.string(),
9645
+ });
9646
+ const FlowNodeRunOutputMetadataSchema = z.object({
9647
+ id: z.string(),
9648
+ downstreamRuns: z.array(DownstreamFlowNodeRunSchema),
9649
+ });
9650
+ const FlowNodeRunRecordWithoutOutputsDataSchema = z.object({
9651
+ id: z.string(),
9652
+ upstreamRuns: z.array(UpstreamFlowNodeRunSchema),
9653
+ input: z.any(),
9654
+ status: z.nativeEnum(FlowNodeRunStatus),
9655
+ logs: z.array(z.any()),
9656
+ outputs: z.array(FlowNodeRunOutputMetadataSchema),
9657
+ errors: z.array(ErrorDataSchema),
9658
+ });
9558
9659
 
9559
9660
  class FlowRunsAccessor {
9560
9661
  constructor(client) {
@@ -10315,9 +10416,6 @@ class ConnectionAccessor {
10315
10416
  dataCollection(key, parameters) {
10316
10417
  return new ConnectionDataCollectionAccessor(this.client, this, key, parameters);
10317
10418
  }
10318
- dataDirectory(key, parameters) {
10319
- return new ConnectionDataDirectoryAccessor(this.client, this, key, parameters);
10320
- }
10321
10419
  async reconnect({ parameters, authOptionKey, connectorParameters, } = {}) {
10322
10420
  const connection = await this.get();
10323
10421
  const connectorSpec = await this.client.get(`/integrations/${connection.integrationId}/connector-spec`);
@@ -10361,17 +10459,6 @@ class ConnectionOperationAccessor {
10361
10459
  return this.client.post(this.connectionAccessor.getPath(`operations/${this.key}/run`), request);
10362
10460
  }
10363
10461
  }
10364
- class ConnectionDataDirectoryAccessor {
10365
- constructor(client, connectionAccessor, key, parameters) {
10366
- this.client = client;
10367
- this.connectionAccessor = connectionAccessor;
10368
- this.key = key;
10369
- this.parameters = parameters;
10370
- }
10371
- async list(request) {
10372
- return this.client.post(this.connectionAccessor.getPath(`data/${this.key}/list`, this.parameters), request);
10373
- }
10374
- }
10375
10462
  class ConnectionDataCollectionAccessor {
10376
10463
  constructor(client, connectionAccessor, key, parameters) {
10377
10464
  this.client = client;
@@ -10969,12 +11056,6 @@ class IntegrationAccessor extends ElementAccessor {
10969
11056
  async getDataCollection(key) {
10970
11057
  return this.client.get(this.getPath(`data/${key}`));
10971
11058
  }
10972
- async getDataLocations() {
10973
- return this.client.get(this.getPath('data'));
10974
- }
10975
- async getDataLocation(key) {
10976
- return this.client.get(this.getPath(`data/${key}`));
10977
- }
10978
11059
  }
10979
11060
 
10980
11061
  class ScreensAccessor extends ElementListAccessor {
@@ -11551,5 +11632,5 @@ class IntegrationAppClient extends IntegrationAppApiClient {
11551
11632
  }
11552
11633
  }
11553
11634
 
11554
- export { ACTIONS, AccessDeniedError, ActionAccessor, ActionDependencyType, ActionInstanceAccessor, ActionInstanceSetupError, ActionInstancesAccessor, ActionRunError, ActionRunLogStatus, ActionType, ActionsAccessor, AlertSeverity, AlertStatus, AlertType, AppDataSchemaAccessor, AppDataSchemaInstanceAccessor, AppDataSchemaInstancesAccessor, AppDataSchemasAccessor, AppEventSubscriptionAccessor, AppEventSubscriptionsAccessor, AppEventTypeAccessor, AppEventTypesAccessor, AppEventsAccessor, BadRequestError, BadRequestErrorKey, CONNECTOR_AUTH_TYPES, CONNECTOR_CATEGORIES, CONNECTOR_DATA_DIR, CONNECTOR_DOCS_DIR, CONNECTOR_EVENTS_DIR, CONNECTOR_GLOBAL_WEBHOOKS_DIR, CONNECTOR_METHOD_IMPLEMENTATION_SUFFIXES, CONNECTOR_OPERATIONS_DIR, ConcurrencyError, ConcurrencyErrorKey, ConfigurationError, ConfigurationState, Connection, ConnectionAccessor, ConnectionDataCollectionAccessor, ConnectionDataDirectoryAccessor, ConnectionError, ConnectionErrorKey, ConnectionLevelActionAccessor, ConnectionLevelActionsAccessor, ConnectionLevelDataSourceAccessor, ConnectionLevelDataSourcesAccessor, ConnectionLevelFieldMappingAccessor, ConnectionLevelFieldMappingsAccessor, ConnectionLevelFlowAccessor, ConnectionLevelFlowsAccessor, ConnectionOperationAccessor, ConnectionProxy, ConnectionSpec, ConnectionsAccessor, ConnectorAuthMethodTypes, ConnectorCopilotFileChunkTopicKey, ConnectorCopilotSuggestionType, ConnectorDataCollectionEventImplementationType, ConnectorDataCollectionMethodKeys, ConnectorDataDirectoryMethodKeys, ConnectorDataLocationTypes, ConnectorEventHandlerMethods, ConnectorEventImplementationType, ConnectorMethodImplementationType, ConnectorOperationMethodImplementationTypes, ConnectorStatus, CopilotActionStatus, CopilotActionType, CopilotActivityScope, CopilotActivityType, CopilotTaskStatus, CopilotTaskType, CreateConnectionRequest, CustomCodeError, CustomerAccessor, CustomersAccessor, DATA_RECORD_SCHEMA, DEFAULT_FULL_SYNC_INTERVAL_SECONDS, DEFAULT_PULL_UPDATES_INTERVAL_SECONDS, DataBuilderFormulaType, DataCollectionEventType, DataDirectoryOperation, DataField, DataFilterCondition, DataForm, DataLinkDirection, DataLinkTableAccessor, DataLinkTableInstanceAccessor, DataLinkTableInstancesAccessor, DataLinkTablesAccessor, DataLocationMethodImplementationTypes, DataLocationType, DataLocationTypeCollection, DataLocationTypeDirectory, DataLocatorStep, DataLocatorStepArrayItem, DataLocatorStepObjectProperty, DataLocatorStepType, DataSourceAccessor, DataSourceInstanceAccessor, DataSourceInstancesAccessor, DataSourcesAccessor, DependencyError, EDITABLE_LIMITS, ElementAccessor, ElementInstanceAccessor, ElementInstanceListAccessor, ElementListAccessor, ErrorData, ErrorDoc, ErrorType, ExternalEventLogStatus, ExternalEventPullStatus, ExternalEventSubscriptionAccessor, ExternalEventSubscriptionStatus, ExternalEventSubscriptionType, ExternalEventSubscriptionsAccessor, ExternalEventType, FLOW_NODE_SPECS, FieldMappingAccessor, FieldMappingDirection, FieldMappingInstanceAccessor, FieldMappingInstancesAccessor, FieldMappingsAccessor, FindConnectionsResponse, FlowAccessor, FlowInstanceAccessor, FlowInstanceNodeState, FlowInstanceSetupError, FlowInstancesAccessor, FlowNodeRunStatus, FlowNodeSpec, FlowNodeType, FlowRunAccessor, FlowRunError, FlowRunLaunchedByTrigger, FlowRunNodeState, FlowRunState, FlowRunsAccessor, FlowsAccessor, index as Formula, HTTP_REQUEST_SCHEMA, HttpRequestMethod, IDataField, IncomingWebhooksState, IntegrationAccessor, IntegrationAppClient, IntegrationAppError, IntegrationElementLevel, IntegrationElementType, IntegrationLevelActionAccessor, IntegrationLevelActionsListAccessor, IntegrationLevelDataSourceAccessor, IntegrationLevelDataSourcesListAccessor, IntegrationLevelFieldMappingAccessor, IntegrationLevelFieldMappingsListAccessor, IntegrationLevelFlowAccessor, IntegrationLevelFlowsListAccessor, IntegrationsAccessor, InternalError, InvalidLocatorError, LogRecordType, MIN_FULL_SYNC_INTERVAL_SECONDS, MIN_PULL_UPDATES_INTERVAL_SECONDS, NotAuthenticatedError, NotFoundError, OAUTH1_CONFIG_SCHEMA, OAUTH_CONFIG_SCHEMA, OrgLimitsType, OrgUserRole, OrgUserStatus, PARALLEL_EXECUTION_LIMITS, PaginationResponse, RATE_LIMITS, RateLimitExceededError, ScenarioAccessor, ScenarioTemplateCategory, ScenariosAccessor, ScreenAccessor, ScreenBlockType, ScreenType, ScreensAccessor, SelfAccessor, UDM, UNIFIED_DATA_MODELS, UnitRunError, UpdateConnectionRequest, UsageType, WORKSPACE_SIZE_LIMITS, WebhookTypeEnum, WorkspaceElementDependencyType, WorkspaceElementSpecs, WorkspaceElementState, WorkspaceElementType, WorkspaceEventType, WorkspaceNotificationType, WorkspaceOnboardingStep, WorkspaceType, addRequiredFieldsToSchema, addUdmFallbackFields, backwardCompatibleFilterMatch, buildData, buildDataSchema, buildUserFriendlyErrorMessage, buildValue, compressDataSchema, createCompoundSchema, createFlowInstanceSchema, createObjectFromLocators, createSchema, dataCollectionEventTypeToExternalEventType, dataLocationParametersMatch, doesMatchFilter, excludeFieldsFromSchema, excludeFieldsFromValue, excludeReadOnlyFieldsFromSchema, excludeWriteOnlyFieldsFromSchema, externalEventTypeToDataCollectionEventType, externalEventTypeToSubscriptionType, extractFieldLocator, extractIntegrationAppErrorData, findUdmCollectionMapping, findUdmDefaultCollection, findUdmRootLocation, findValueLocators, generateExampleFromSchema, getActionInstanceVariableSchema, getActionRunTimeVariablesSchema, getAllEventMethodFilePaths, getChildNodeKeys, getDataCollectionCreateFields, getDataCollectionUpdateFields, getDataLocationMethodPath, getDownstreamNodeKeys, getErrorFromData, getEventMethodFileKey, getFilterFieldValuesByLocator, getFlowInstanceNodeDependency, getFlowNode, getFlowNodeConfigTimeVariablesSchema, getFlowNodeDescription, getFlowNodeRunTimeVariablesSchema, getFlowNodeSpec, getFlowNodeTitle, getFormula, getFormulaLocators, getFullNameForLocator, getFullTitleForLocator, getIconUriForLocator, getLocatorsFromData, getLocatorsFromSchema, getMissingRequiredFields, getNameComponentsForLocator, getNameForLocator, getNodeInputSchema, getOperatorsBySchema, getParentNodeKeys, getReferenceCollectionPathForSchema, getReferenceCollectionPointerForSchema, getRequiredFieldsFromSchema, getRootNodeKeys, getSchemaByLocator, getSchemaFromValue, getUpstreamNodeKeys, getValueAtLocator, getValueByLocator, getVariableLocators, getWritableFieldsSchema, hasCycles, hasFormulas, isDataActionType, isDataLocationMethodSupported, isFormula, isIntegrationAppError, isObject, isSameDataLocation, isSchemaEmpty, isStream, isValidLocator, locatorToField, locatorToSteps, locatorToString, makeDataLocationOperationPath, makeDataLocationPath, makeDataRecordSchema, makeObjectPropertyLocator, makeSchemaForLocator, mergeSchemas, mergeWithFormulas, nonEmptyObjectProperties, parseDataLocationPath, parseDate, patchSchema, pickFieldsFromSchema, pickFieldsFromValue, populateSchemaTitles, processCopy, removeNonExistentVars, removeRequiredFieldsFromSchema, resolveFormulas, resolveValue, schemaAllowsCustomValue, schemaHasFixedValues, schemaHasProperties, schemaIsNumber, schemaIsScalar, schemaTypeFromValue, schemaWithTitle, setSchemaAtLocator, setValueAtLocator, stepsToLocator, streamToString, transformVariablesWith, transformVars, truncateData, unwrapSchema, unwrapSchemas, updateFlowInstanceSchema, updateImpliedSchema, valueToSchema, valueToString, walkSchema, wrapAnyOfSchema };
11635
+ export { ACTIONS, AccessDeniedError, ActionAccessor, ActionDependencyType, ActionInstanceAccessor, ActionInstanceSetupError, ActionInstancesAccessor, ActionRunError, ActionRunLogStatus, ActionType, ActionsAccessor, AlertSeverity, AlertStatus, AlertType, ApiRequestSpecSchema, AppDataSchemaAccessor, AppDataSchemaInstanceAccessor, AppDataSchemaInstancesAccessor, AppDataSchemasAccessor, AppEventSubscriptionAccessor, AppEventSubscriptionsAccessor, AppEventTypeAccessor, AppEventTypesAccessor, AppEventsAccessor, BadRequestError, BadRequestErrorKey, CONNECTOR_AUTH_TYPES, CONNECTOR_CATEGORIES, CONNECTOR_DATA_DIR, CONNECTOR_DOCS_DIR, CONNECTOR_EVENTS_DIR, CONNECTOR_GLOBAL_WEBHOOKS_DIR, CONNECTOR_METHOD_IMPLEMENTATION_SUFFIXES, CONNECTOR_OPERATIONS_DIR, ConcurrencyError, ConcurrencyErrorKey, ConfigurationError, ConfigurationState, Connection, ConnectionAccessor, ConnectionDataCollectionAccessor, ConnectionError, ConnectionErrorKey, ConnectionLevelActionAccessor, ConnectionLevelActionsAccessor, ConnectionLevelDataSourceAccessor, ConnectionLevelDataSourcesAccessor, ConnectionLevelFieldMappingAccessor, ConnectionLevelFieldMappingsAccessor, ConnectionLevelFlowAccessor, ConnectionLevelFlowsAccessor, ConnectionOperationAccessor, ConnectionProxy, ConnectionSpec, ConnectionsAccessor, ConnectorAuthMethodTypes, ConnectorCopilotFileChunkTopicKey, ConnectorCopilotSuggestionType, ConnectorDataCollectionEventImplementationType, ConnectorDataCollectionMethodKeys, ConnectorDataLocationTypes, ConnectorEventHandlerMethods, ConnectorEventImplementationType, ConnectorMethodImplementationType, ConnectorOperationMethodImplementationTypes, ConnectorStatus, CopilotActionStatus, CopilotActionType, CopilotActivityScope, CopilotActivityType, CopilotTaskStatus, CopilotTaskType, CreateConnectionRequest, CustomCodeError, CustomerAccessor, CustomersAccessor, DATA_RECORD_SCHEMA, DEFAULT_FULL_SYNC_INTERVAL_SECONDS, DEFAULT_PULL_UPDATES_INTERVAL_SECONDS, DataBuilderFormulaType, DataCollectionCreateSpecSchema, DataCollectionDeleteSpecSchema, DataCollectionEventType, DataCollectionEventTypeSpecSchema, DataCollectionEventsSpecSchema, DataCollectionFindByIdSpecSchema, DataCollectionFindSpecSchema, DataCollectionListSpecSchema, DataCollectionMatchSpecSchema, DataCollectionMethodSpecSchema, DataCollectionSearchSpecSchema, DataCollectionSpecSchema, DataCollectionUdmSpecSchema, DataCollectionUdmsSpecSchema, DataCollectionUpdateSpecSchema, DataField, DataFilterCondition, DataForm, DataLinkDirection, DataLinkTableAccessor, DataLinkTableInstanceAccessor, DataLinkTableInstancesAccessor, DataLinkTablesAccessor, DataLocationMethodImplementationTypes, DataLocationTypeCollection, DataLocatorStep, DataLocatorStepArrayItem, DataLocatorStepObjectProperty, DataLocatorStepType, DataSchemaSchema, DataSourceAccessor, DataSourceInstanceAccessor, DataSourceInstancesAccessor, DataSourcesAccessor, DependencyError, DownstreamFlowNodeRunSchema, EDITABLE_LIMITS, ElementAccessor, ElementInstanceAccessor, ElementInstanceListAccessor, ElementListAccessor, ErrorData, ErrorDataSchema, ErrorDoc, ErrorType, ExternalEventLogStatus, ExternalEventPullStatus, ExternalEventSubscriptionAccessor, ExternalEventSubscriptionStatus, ExternalEventSubscriptionType, ExternalEventSubscriptionsAccessor, ExternalEventType, FLOW_NODE_SPECS, FieldMappingAccessor, FieldMappingDirection, FieldMappingInstanceAccessor, FieldMappingInstancesAccessor, FieldMappingsAccessor, FindConnectionsResponse, FlowAccessor, FlowInstanceAccessor, FlowInstanceNodeState, FlowInstanceSetupError, FlowInstancesAccessor, FlowNodeRunOutputMetadataSchema, FlowNodeRunOutputSchema, FlowNodeRunOutputWithoutDownstreamRunsSchema, FlowNodeRunParametersSchema, FlowNodeRunRecordSchema, FlowNodeRunRecordWithoutOutputsDataSchema, FlowNodeRunResultSchema, FlowNodeRunStatus, FlowNodeSpec, FlowNodeType, FlowRunAccessor, FlowRunError, FlowRunLaunchedByTrigger, FlowRunNodeState, FlowRunState, FlowRunsAccessor, FlowsAccessor, index as Formula, HTTP_REQUEST_SCHEMA, HttpRequestMethod, IDataField, IncomingWebhooksState, IntegrationAccessor, IntegrationAppClient, IntegrationAppError, IntegrationElementLevel, IntegrationElementType, IntegrationLevelActionAccessor, IntegrationLevelActionsListAccessor, IntegrationLevelDataSourceAccessor, IntegrationLevelDataSourcesListAccessor, IntegrationLevelFieldMappingAccessor, IntegrationLevelFieldMappingsListAccessor, IntegrationLevelFlowAccessor, IntegrationLevelFlowsListAccessor, IntegrationsAccessor, InternalError, InvalidLocatorError, LogRecordType, MIN_FULL_SYNC_INTERVAL_SECONDS, MIN_PULL_UPDATES_INTERVAL_SECONDS, NotAuthenticatedError, NotFoundError, OAUTH1_CONFIG_SCHEMA, OAUTH_CONFIG_SCHEMA, OrgLimitsType, OrgUserRole, OrgUserStatus, PARALLEL_EXECUTION_LIMITS, PaginationResponse, RATE_LIMITS, RateLimitExceededError, ScenarioAccessor, ScenarioTemplateCategory, ScenariosAccessor, ScreenAccessor, ScreenBlockType, ScreenType, ScreensAccessor, SelfAccessor, UDM, UNIFIED_DATA_MODELS, UnitRunError, UpdateConnectionRequest, UpstreamFlowNodeRunSchema, UsageType, WORKSPACE_SIZE_LIMITS, WebhookTypeEnum, WorkspaceElementDependencyType, WorkspaceElementSpecs, WorkspaceElementState, WorkspaceElementType, WorkspaceEventType, WorkspaceNotificationType, WorkspaceOnboardingStep, WorkspaceType, addRequiredFieldsToSchema, addUdmFallbackFields, backwardCompatibleFilterMatch, buildData, buildDataSchema, buildUserFriendlyErrorMessage, buildValue, compressDataSchema, createCompoundSchema, createFlowInstanceSchema, createObjectFromLocators, createSchema, dataCollectionEventTypeToExternalEventType, dataLocationParametersMatch, doesMatchFilter, excludeFieldsFromSchema, excludeFieldsFromValue, excludeReadOnlyFieldsFromSchema, excludeWriteOnlyFieldsFromSchema, externalEventTypeToDataCollectionEventType, externalEventTypeToSubscriptionType, extractFieldLocator, extractIntegrationAppErrorData, findUdmCollectionMapping, findUdmDefaultCollection, findUdmRootLocation, findValueLocators, generateExampleFromSchema, getActionInstanceVariableSchema, getActionRunTimeVariablesSchema, getAllEventMethodFilePaths, getChildNodeKeys, getDataCollectionCreateFields, getDataCollectionUpdateFields, getDataLocationMethodPath, getDownstreamNodeKeys, getErrorFromData, getEventMethodFileKey, getFilterFieldValuesByLocator, getFlowInstanceNodeDependency, getFlowNode, getFlowNodeConfigTimeVariablesSchema, getFlowNodeDescription, getFlowNodeRunTimeVariablesSchema, getFlowNodeSpec, getFlowNodeTitle, getFormula, getFormulaLocators, getFullNameForLocator, getFullTitleForLocator, getIconUriForLocator, getLocatorsFromData, getLocatorsFromSchema, getMissingRequiredFields, getNameComponentsForLocator, getNameForLocator, getNodeInputSchema, getOperatorsBySchema, getParentNodeKeys, getReferenceCollectionPathForSchema, getReferenceCollectionPointerForSchema, getRequiredFieldsFromSchema, getRootNodeKeys, getSchemaByLocator, getSchemaFromValue, getUpstreamNodeKeys, getValueAtLocator, getValueByLocator, getVariableLocators, getWritableFieldsSchema, hasCycles, hasFormulas, isDataActionType, isDataLocationMethodSupported, isFormula, isIntegrationAppError, isObject, isSameDataLocation, isSchemaEmpty, isStream, isValidLocator, locatorToField, locatorToSteps, locatorToString, makeDataLocationOperationPath, makeDataLocationPath, makeDataRecordSchema, makeObjectPropertyLocator, makeSchemaForLocator, mergeSchemas, mergeWithFormulas, nonEmptyObjectProperties, parseDataLocationPath, parseDate, patchSchema, pickFieldsFromSchema, pickFieldsFromValue, populateSchemaTitles, processCopy, removeNonExistentVars, removeRequiredFieldsFromSchema, resolveFormulas, resolveValue, schemaAllowsCustomValue, schemaHasFixedValues, schemaHasProperties, schemaIsNumber, schemaIsScalar, schemaTypeFromValue, schemaWithTitle, setSchemaAtLocator, setValueAtLocator, stepsToLocator, streamToString, transformVariablesWith, transformVars, truncateData, unwrapSchema, unwrapSchemas, updateFlowInstanceSchema, updateImpliedSchema, valueToSchema, valueToString, walkSchema, wrapAnyOfSchema };
11555
11636
  //# sourceMappingURL=index.module.mjs.map