@membranehq/sdk 0.28.0 → 0.28.2
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 +60 -4
- package/dist/bundle.js +233 -126
- package/dist/bundle.js.map +1 -1
- package/dist/dts/accessors/actions-accessors.d.ts +1 -0
- package/dist/dts/accessors/connections-accessors.d.ts +3 -0
- package/dist/dts/accessors/integrations-accessors.d.ts +2 -0
- package/dist/dts/agent/index.d.ts +1 -0
- package/dist/dts/agent/session-cost.d.ts +1 -0
- package/dist/dts/agent/session.d.ts +10 -2
- package/dist/dts/ai-gateway/models.d.ts +43 -0
- package/dist/dts/ai-gateway/models.test.d.ts +1 -0
- package/dist/dts/alerts/types.d.ts +7 -0
- package/dist/dts/api-client.d.ts +22 -3
- package/dist/dts/api-version.generated.d.ts +1 -1
- package/dist/dts/index.browser.d.ts +1 -0
- package/dist/dts/membrane-instances/types.d.ts +19 -35
- package/dist/dts/membrane-instances/types.test.d.ts +1 -0
- package/dist/dts/oauth/types.d.ts +11 -5
- package/dist/dts/orgs/types.d.ts +154 -281
- package/dist/dts/webhooks/types.d.ts +4 -2
- package/dist/dts/workspace-elements/api/act-api.d.ts +33 -0
- package/dist/dts/workspace-elements/api/action-run-log-records-api.d.ts +4 -0
- package/dist/dts/workspace-elements/api/actions-api.d.ts +3 -0
- package/dist/dts/workspace-elements/api/connected-products-api.d.ts +6 -21
- package/dist/dts/workspace-elements/api/connection-attempt-logs-api.d.ts +53 -0
- package/dist/dts/workspace-elements/api/connections-api.d.ts +15 -0
- package/dist/dts/workspace-elements/api/data-link-table-instances-api.d.ts +3 -0
- package/dist/dts/workspace-elements/api/data-sources-api.d.ts +6 -0
- 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 +5 -1
- package/dist/dts/workspace-elements/api/field-mappings-api.d.ts +6 -0
- package/dist/dts/workspace-elements/api/flow-runs-api.d.ts +4 -0
- package/dist/dts/workspace-elements/api/flows-api.d.ts +5 -0
- package/dist/dts/workspace-elements/api/incoming-webhooks-api.d.ts +2 -0
- package/dist/dts/workspace-elements/api/index.d.ts +2 -0
- package/dist/dts/workspace-elements/api/integrations-api.d.ts +113 -0
- package/dist/dts/workspace-elements/api/packages-api.d.ts +1 -0
- package/dist/dts/workspace-elements/base/connected-products/index.d.ts +9 -14
- package/dist/dts/workspace-elements/base/connection-attempt-logs/index.d.ts +21 -0
- 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/functions.d.ts +1 -1
- package/dist/dts/workspace-elements/base/connectors/index.d.ts +2 -0
- package/dist/dts/workspace-elements/base/connectors/rest-api.d.ts +1 -1
- package/dist/dts/workspace-elements/base/index.d.ts +1 -0
- package/dist/dts/workspace-elements/paths.d.ts +2 -2
- package/dist/dts/workspace-elements/types.d.ts +4 -1
- package/dist/dts/workspaces/api.d.ts +20 -0
- package/dist/dts/workspaces/compare.d.ts +1 -1
- package/dist/dts/workspaces/types.d.ts +29 -0
- package/dist/index.browser.d.mts +637 -373
- package/dist/index.browser.d.ts +637 -373
- package/dist/index.browser.js +307 -47
- package/dist/index.browser.js.map +1 -1
- package/dist/index.browser.mjs +287 -44
- package/dist/index.browser.mjs.map +1 -1
- package/dist/index.node.d.mts +637 -373
- package/dist/index.node.d.ts +637 -373
- package/dist/index.node.js +307 -47
- package/dist/index.node.js.map +1 -1
- package/dist/index.node.mjs +287 -44
- package/dist/index.node.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.node.mjs
CHANGED
|
@@ -3502,6 +3502,7 @@ var WorkspaceElementState;
|
|
|
3502
3502
|
WorkspaceElementState["CONFIGURATION_ERROR"] = "CONFIGURATION_ERROR";
|
|
3503
3503
|
WorkspaceElementState["SETUP_FAILED"] = "SETUP_FAILED";
|
|
3504
3504
|
WorkspaceElementState["READY"] = "READY";
|
|
3505
|
+
WorkspaceElementState["DISCONNECTING"] = "DISCONNECTING";
|
|
3505
3506
|
})(WorkspaceElementState || (WorkspaceElementState = {}));
|
|
3506
3507
|
var WorkspaceElementDependencyType;
|
|
3507
3508
|
(function (WorkspaceElementDependencyType) {
|
|
@@ -3643,6 +3644,12 @@ const IntegrationLevelMembraneInterfaceSelectorQuery = z.object({
|
|
|
3643
3644
|
filterTitle: 'Connection',
|
|
3644
3645
|
referenceElementType: WorkspaceElementType.Connection,
|
|
3645
3646
|
}),
|
|
3647
|
+
connectionKey: z
|
|
3648
|
+
.string()
|
|
3649
|
+
.optional()
|
|
3650
|
+
.meta({
|
|
3651
|
+
hidden: true,
|
|
3652
|
+
}),
|
|
3646
3653
|
instanceKey: z
|
|
3647
3654
|
.string()
|
|
3648
3655
|
.optional()
|
|
@@ -3976,6 +3983,7 @@ const CreateConnectionRequestPayload = z.object({
|
|
|
3976
3983
|
connectorKey: z.string().optional(),
|
|
3977
3984
|
connectorVersion: z.string().optional(),
|
|
3978
3985
|
connectionId: z.string().optional(),
|
|
3986
|
+
connectionKey: z.string().min(1).max(100).optional(),
|
|
3979
3987
|
name: z.string().optional(),
|
|
3980
3988
|
allowMultipleConnections: z.boolean().optional(),
|
|
3981
3989
|
connectorParameters: z.record(z.string(), z.unknown()).optional(),
|
|
@@ -3992,6 +4000,7 @@ const ConnectionRequest = z.object({
|
|
|
3992
4000
|
connectorKey: z.string().optional(),
|
|
3993
4001
|
connectorVersion: z.string().optional(),
|
|
3994
4002
|
connectionId: z.string().optional(),
|
|
4003
|
+
connectionKey: z.string().optional(),
|
|
3995
4004
|
name: z.string().optional(),
|
|
3996
4005
|
allowMultipleConnections: z.boolean().optional(),
|
|
3997
4006
|
connectorParameters: z.record(z.string(), z.unknown()).optional(),
|
|
@@ -4008,6 +4017,7 @@ const ConnectionEditableProperties = z.object({
|
|
|
4008
4017
|
name: z.string().optional(),
|
|
4009
4018
|
meta: z.record(z.string(), z.any()).optional(),
|
|
4010
4019
|
authOptionKey: z.string().optional(),
|
|
4020
|
+
key: z.string().min(1).max(100).optional().nullable(),
|
|
4011
4021
|
integrationId: z.string().optional(),
|
|
4012
4022
|
integrationUuid: z.string().optional(),
|
|
4013
4023
|
integrationKey: z.string().optional(),
|
|
@@ -4030,8 +4040,10 @@ const ConnectionClientAction = z.object({
|
|
|
4030
4040
|
const BaseConnection = BaseWorkspaceElement.extend({
|
|
4031
4041
|
...TenantLayerElement.shape,
|
|
4032
4042
|
name: z.string(),
|
|
4043
|
+
key: z.string().optional(),
|
|
4033
4044
|
isTest: z.boolean().optional(),
|
|
4034
|
-
|
|
4045
|
+
connected: z.boolean().optional(),
|
|
4046
|
+
disconnected: z.boolean().optional().describe('[DEPRECATED] Use `connected` instead.'),
|
|
4035
4047
|
isDefunct: z.boolean().optional(),
|
|
4036
4048
|
state: z.enum(WorkspaceElementState).optional(),
|
|
4037
4049
|
errors: z.array(ErrorDataSchema).optional(),
|
|
@@ -4602,7 +4614,7 @@ function getEffectiveConnectorOption(connector, optionKey) {
|
|
|
4602
4614
|
if (optionKey === '') {
|
|
4603
4615
|
return connector;
|
|
4604
4616
|
}
|
|
4605
|
-
|
|
4617
|
+
return undefined;
|
|
4606
4618
|
}
|
|
4607
4619
|
const connectorInputSchema = (_b = connector.inputSchema) !== null && _b !== void 0 ? _b : (_c = connector.ui) === null || _c === void 0 ? void 0 : _c.schema;
|
|
4608
4620
|
const optionInputSchema = (_d = option === null || option === void 0 ? void 0 : option.inputSchema) !== null && _d !== void 0 ? _d : (_e = option === null || option === void 0 ? void 0 : option.ui) === null || _e === void 0 ? void 0 : _e.schema;
|
|
@@ -9283,6 +9295,7 @@ const BaseConnector = z.object({
|
|
|
9283
9295
|
isPublic: z.boolean().optional(),
|
|
9284
9296
|
popularity: z.number().optional(),
|
|
9285
9297
|
tenantId: z.string().optional(),
|
|
9298
|
+
archivedAt: z.string().optional().describe('When set, the connector is archived (soft-deleted).'),
|
|
9286
9299
|
});
|
|
9287
9300
|
const Connector = z.object({}).extend(BaseConnector.shape).extend(ConnectorVersionData.shape);
|
|
9288
9301
|
const MinimalConnector = z.object({
|
|
@@ -10259,10 +10272,22 @@ const BaseActionRunLogRecord = ActivityLogRecord.extend({
|
|
|
10259
10272
|
const ConnectedProductType = z.enum(['ai-agent', 'app']);
|
|
10260
10273
|
const ConnectedProductAudience = z.enum(['personal', 'customers']);
|
|
10261
10274
|
const AiAgentAudience = ConnectedProductAudience;
|
|
10262
|
-
const AiAgentType = z.enum([
|
|
10263
|
-
|
|
10264
|
-
|
|
10265
|
-
|
|
10275
|
+
const AiAgentType = z.enum([
|
|
10276
|
+
'claude-code',
|
|
10277
|
+
'codex',
|
|
10278
|
+
'openclaw',
|
|
10279
|
+
'cursor',
|
|
10280
|
+
'copilot',
|
|
10281
|
+
'windsurf',
|
|
10282
|
+
'claude',
|
|
10283
|
+
'chatgpt',
|
|
10284
|
+
'custom',
|
|
10285
|
+
]);
|
|
10286
|
+
const AiAgentParameters = z
|
|
10287
|
+
.object({
|
|
10288
|
+
agentType: z.string().optional(),
|
|
10289
|
+
})
|
|
10290
|
+
.passthrough();
|
|
10266
10291
|
const BaseConnectedProduct = z.object({
|
|
10267
10292
|
id: z.string(),
|
|
10268
10293
|
name: z.string(),
|
|
@@ -10276,6 +10301,61 @@ const BaseConnectedProduct = z.object({
|
|
|
10276
10301
|
archivedAt: z.string().optional(),
|
|
10277
10302
|
});
|
|
10278
10303
|
|
|
10304
|
+
const BaseConnectionAttemptLog = ActivityLogRecord.extend({
|
|
10305
|
+
connectorId: z.string().optional(),
|
|
10306
|
+
connectorVersion: z.string().optional(),
|
|
10307
|
+
authOptionKey: z.string().optional(),
|
|
10308
|
+
connectionRequestId: z.string().optional(),
|
|
10309
|
+
status: z.enum(['success', 'error']),
|
|
10310
|
+
error: ErrorDataSchema.optional(),
|
|
10311
|
+
createdAt: z.string(),
|
|
10312
|
+
});
|
|
10313
|
+
|
|
10314
|
+
const ActApiDispatch = z.object({
|
|
10315
|
+
method: z.enum(HttpRequestMethod).describe('HTTP method to use.'),
|
|
10316
|
+
path: z.string().optional().describe("Path appended to the connection's base URL, e.g. `/v2/users/me`. Required."),
|
|
10317
|
+
body: z.any().optional().describe('Request body. For JSON APIs, pass a plain object.'),
|
|
10318
|
+
headers: z.record(z.string(), z.string()).optional().describe('Additional HTTP headers.'),
|
|
10319
|
+
query: z
|
|
10320
|
+
.record(z.string(), z.union([z.string(), z.number(), z.boolean()]))
|
|
10321
|
+
.optional()
|
|
10322
|
+
.describe('Query-string parameters.'),
|
|
10323
|
+
url: z.string().optional().describe('[INTERNAL] Alias for `path`. Normalized to `path` on the server.'),
|
|
10324
|
+
data: z.any().optional().describe('[INTERNAL] Alias for `body`. Normalized to `body` on the server.'),
|
|
10325
|
+
});
|
|
10326
|
+
const ActRequest = z
|
|
10327
|
+
.object({
|
|
10328
|
+
id: z.string().optional().describe('ID of the action to run.'),
|
|
10329
|
+
key: z
|
|
10330
|
+
.string()
|
|
10331
|
+
.optional()
|
|
10332
|
+
.describe('Key of the action to run. If the same key exists across multiple integrations, also pass `integrationId`, `integrationKey`, or `connectionId` so we know which one you mean.'),
|
|
10333
|
+
api: ActApiDispatch.optional().describe("Inline HTTP request spec, sent through the resolved connection's auth layer and base URL. Pair with `connectionId`, `connectionKey`, `integrationId`, or `integrationKey` to pick the connection."),
|
|
10334
|
+
code: z
|
|
10335
|
+
.string()
|
|
10336
|
+
.optional()
|
|
10337
|
+
.describe('Inline JavaScript executed in a sandbox. The module must export a function that receives `{ input, membrane, ... }`. Its return value becomes the action output.'),
|
|
10338
|
+
integrationId: z
|
|
10339
|
+
.string()
|
|
10340
|
+
.optional()
|
|
10341
|
+
.describe("ID of the integration to run the action on. When `key` is provided, looks up the action within this integration. When no connection is specified, runs against this integration's default connection."),
|
|
10342
|
+
integrationKey: z
|
|
10343
|
+
.string()
|
|
10344
|
+
.optional()
|
|
10345
|
+
.describe("Key of the integration to run the action on. When `key` is provided, looks up the action within this integration. When no connection is specified, runs against this integration's default connection."),
|
|
10346
|
+
connectionId: z
|
|
10347
|
+
.string()
|
|
10348
|
+
.optional()
|
|
10349
|
+
.describe('ID of the connection to run the action against. If a connection-level version of the action exists on this connection, that version is used; otherwise the integration-level or universal action is used.'),
|
|
10350
|
+
connectionKey: z
|
|
10351
|
+
.string()
|
|
10352
|
+
.optional()
|
|
10353
|
+
.describe('Key of the connection to run the action against. Use when you have a stable key for the connection instead of an ID.'),
|
|
10354
|
+
input: z.any().optional().describe('Input passed to the action, matching its input schema.'),
|
|
10355
|
+
meta: z.record(z.string(), z.any()).optional().describe('Arbitrary metadata stored on the action run log.'),
|
|
10356
|
+
})
|
|
10357
|
+
.strict();
|
|
10358
|
+
|
|
10279
10359
|
const ActionApiResponse = BaseAction.extend({
|
|
10280
10360
|
integration: BaseIntegration.optional(),
|
|
10281
10361
|
user: BaseCustomer.optional(),
|
|
@@ -10432,11 +10512,19 @@ const FindConnectionsQuery = PaginationQuery.merge(SearchQuery)
|
|
|
10432
10512
|
filterTitle: 'External App',
|
|
10433
10513
|
referenceElementType: WorkspaceElementType.App,
|
|
10434
10514
|
}),
|
|
10515
|
+
connected: zodBooleanCoercion()
|
|
10516
|
+
.optional()
|
|
10517
|
+
.meta({
|
|
10518
|
+
filterTitle: 'Connected',
|
|
10519
|
+
isFlag: true,
|
|
10520
|
+
}),
|
|
10435
10521
|
disconnected: zodBooleanCoercion()
|
|
10436
10522
|
.optional()
|
|
10523
|
+
.describe('[DEPRECATED] Use `connected` instead.')
|
|
10437
10524
|
.meta({
|
|
10438
10525
|
filterTitle: 'Disconnected',
|
|
10439
10526
|
isFlag: true,
|
|
10527
|
+
hidden: true,
|
|
10440
10528
|
}),
|
|
10441
10529
|
isTest: zodBooleanCoercion()
|
|
10442
10530
|
.optional()
|
|
@@ -10524,6 +10612,7 @@ const ConnectionSelector = z.object({
|
|
|
10524
10612
|
integrationKey: z.string().optional(),
|
|
10525
10613
|
integrationId: z.string().optional(),
|
|
10526
10614
|
connectionId: z.string().optional(),
|
|
10615
|
+
connectionKey: z.string().optional(),
|
|
10527
10616
|
});
|
|
10528
10617
|
const ConnectionApiResponse = BaseConnection.extend({
|
|
10529
10618
|
user: BaseCustomer.optional(),
|
|
@@ -10567,6 +10656,7 @@ const ConnectPayload = z.object({
|
|
|
10567
10656
|
connectorKey: z.string().optional(),
|
|
10568
10657
|
connectorVersion: z.string().optional(),
|
|
10569
10658
|
connectionId: z.string().optional(),
|
|
10659
|
+
connectionKey: z.string().min(1).max(100).optional(),
|
|
10570
10660
|
name: z.string().optional(),
|
|
10571
10661
|
input: z.record(z.string(), z.unknown()).optional(),
|
|
10572
10662
|
connectionParameters: z.any().optional().describe('[INTERNAL] Deprecated: Use input instead'),
|
|
@@ -10576,6 +10666,7 @@ const ConnectPayload = z.object({
|
|
|
10576
10666
|
redirectUri: z.string().optional(),
|
|
10577
10667
|
customState: z.string().optional(),
|
|
10578
10668
|
connectionRequestId: z.string().optional(),
|
|
10669
|
+
intent: z.string().optional(),
|
|
10579
10670
|
});
|
|
10580
10671
|
const ConnectUIOptions = ConnectPayload.omit({ input: true, redirectUri: true }).extend({
|
|
10581
10672
|
theme: z.enum(['light', 'dark', 'auto']).optional(),
|
|
@@ -10810,6 +10901,18 @@ const UpdateIntegrationRequest = IntegrationEditableProperties.partial();
|
|
|
10810
10901
|
const FindIntegrationsQuery = z
|
|
10811
10902
|
.object({
|
|
10812
10903
|
appUuid: z.string().optional(),
|
|
10904
|
+
connectors: z.coerce
|
|
10905
|
+
.number()
|
|
10906
|
+
.optional()
|
|
10907
|
+
.describe('Override auto-generate integrations from connectors: 1 to enable, 0 to disable'),
|
|
10908
|
+
externalApps: z.coerce
|
|
10909
|
+
.number()
|
|
10910
|
+
.optional()
|
|
10911
|
+
.describe('Override auto-generate integrations from external apps: 1 to enable, 0 to disable'),
|
|
10912
|
+
websearch: z.coerce
|
|
10913
|
+
.number()
|
|
10914
|
+
.optional()
|
|
10915
|
+
.describe('Override auto-generate integrations from web search: 1 to enable, 0 to disable'),
|
|
10813
10916
|
})
|
|
10814
10917
|
.merge(PaginationQuery)
|
|
10815
10918
|
.merge(SearchQuery)
|
|
@@ -10834,6 +10937,11 @@ const IntegrationApiResponse = BaseIntegration.extend({
|
|
|
10834
10937
|
.optional()
|
|
10835
10938
|
.describe('[INTERNAL] Deprecated: Use POST /connectors/:id/generate-options instead'),
|
|
10836
10939
|
});
|
|
10940
|
+
const IntegrationListItem = IntegrationApiResponse.extend({
|
|
10941
|
+
id: z.string().optional(),
|
|
10942
|
+
logoUri: z.string().optional(),
|
|
10943
|
+
appUri: z.string().optional(),
|
|
10944
|
+
});
|
|
10837
10945
|
|
|
10838
10946
|
const PackageElementApi = z.object({
|
|
10839
10947
|
id: z.string(),
|
|
@@ -11364,6 +11472,12 @@ const ListExternalEventSubscriptionsQuery = PaginationQuery.merge(IncludeArchive
|
|
|
11364
11472
|
externalAppId: z.string().optional().meta({
|
|
11365
11473
|
hidden: true,
|
|
11366
11474
|
}),
|
|
11475
|
+
status: z
|
|
11476
|
+
.enum(ExternalEventSubscriptionStatus)
|
|
11477
|
+
.optional()
|
|
11478
|
+
.meta({
|
|
11479
|
+
filterTitle: 'Status',
|
|
11480
|
+
}),
|
|
11367
11481
|
});
|
|
11368
11482
|
const ExternalEventSubscriptionApiResponse = BaseExternalEventSubscription.extend({
|
|
11369
11483
|
user: BaseCustomer.optional(),
|
|
@@ -11573,6 +11687,14 @@ const FindConnectedProductsQuery = z
|
|
|
11573
11687
|
.merge(IncludeArchivedQuery);
|
|
11574
11688
|
const ConnectedProductApiResponse = BaseConnectedProduct;
|
|
11575
11689
|
|
|
11690
|
+
const ConnectionAttemptLogApiResponse = BaseConnectionAttemptLog;
|
|
11691
|
+
const FindConnectionAttemptLogsQuery = PaginationQuery.extend({
|
|
11692
|
+
connectionId: z.string().optional(),
|
|
11693
|
+
integrationId: z.string().optional(),
|
|
11694
|
+
status: z.enum(['success', 'error']).optional(),
|
|
11695
|
+
});
|
|
11696
|
+
const FindConnectionAttemptLogsResponse = createPaginationResponseSchema(ConnectionAttemptLogApiResponse);
|
|
11697
|
+
|
|
11576
11698
|
class DependencyError extends MembraneError {
|
|
11577
11699
|
constructor(arg, workspaceElementReference) {
|
|
11578
11700
|
super(arg);
|
|
@@ -11823,6 +11945,28 @@ function getFilterFieldMeta(meta) {
|
|
|
11823
11945
|
return undefined;
|
|
11824
11946
|
}
|
|
11825
11947
|
|
|
11948
|
+
const AI_GATEWAY_SUPPORTED_MODELS = [
|
|
11949
|
+
{ id: 'anthropic/claude-sonnet-4.6', name: 'Claude Sonnet 4.6' },
|
|
11950
|
+
{ id: 'anthropic/claude-opus-4.6', name: 'Claude Opus 4.6' },
|
|
11951
|
+
{ id: 'anthropic/claude-sonnet-4.5', name: 'Claude Sonnet 4.5' },
|
|
11952
|
+
{ id: 'anthropic/claude-opus-4.5', name: 'Claude Opus 4.5' },
|
|
11953
|
+
{ id: 'openai/gpt-5.2', name: 'GPT-5.2' },
|
|
11954
|
+
{ id: 'openai/gpt-5-nano', name: 'GPT-5 Nano' },
|
|
11955
|
+
{ id: 'google/gemini-3-pro-preview', name: 'Gemini 3 Pro' },
|
|
11956
|
+
{ id: 'moonshotai/kimi-k2.5', name: 'Kimi K2.5' },
|
|
11957
|
+
];
|
|
11958
|
+
const AI_GATEWAY_SUPPORTED_MODEL_IDS = AI_GATEWAY_SUPPORTED_MODELS.map((model) => model.id);
|
|
11959
|
+
if (AI_GATEWAY_SUPPORTED_MODEL_IDS.length === 0) {
|
|
11960
|
+
throw new Error('AI_GATEWAY_SUPPORTED_MODEL_IDS must not be empty');
|
|
11961
|
+
}
|
|
11962
|
+
const AIGatewaySupportedModelIdSchema = z.enum(AI_GATEWAY_SUPPORTED_MODEL_IDS);
|
|
11963
|
+
const DEFAULT_AI_GATEWAY_MODEL_ID = 'anthropic/claude-sonnet-4.6';
|
|
11964
|
+
const AI_GATEWAY_PROVIDER_MODELS = Object.fromEntries(AI_GATEWAY_SUPPORTED_MODELS.map((model) => [model.id, { name: model.name }]));
|
|
11965
|
+
const aiGatewaySupportedModelIdSet = new Set(AI_GATEWAY_SUPPORTED_MODEL_IDS);
|
|
11966
|
+
function isAIGatewaySupportedModelId(modelId) {
|
|
11967
|
+
return aiGatewaySupportedModelIdSet.has(modelId);
|
|
11968
|
+
}
|
|
11969
|
+
|
|
11826
11970
|
var AgentSessionStatus;
|
|
11827
11971
|
(function (AgentSessionStatus) {
|
|
11828
11972
|
AgentSessionStatus["QUEUED"] = "queued";
|
|
@@ -11865,7 +12009,6 @@ const AgentSession = z.object({
|
|
|
11865
12009
|
summary: z.string().optional(),
|
|
11866
12010
|
cost: z.number().optional(),
|
|
11867
12011
|
state: z.enum(AgentSessionState).default(AgentSessionState.BUSY),
|
|
11868
|
-
usage: z.number().optional(),
|
|
11869
12012
|
hasWorker: z.boolean(),
|
|
11870
12013
|
isExternal: z.boolean().optional(),
|
|
11871
12014
|
agentName: z.enum(AgentName).optional(),
|
|
@@ -11883,7 +12026,7 @@ const CreateAgentSession = z.object({
|
|
|
11883
12026
|
prompt: z.string().min(1),
|
|
11884
12027
|
testCustomerId: z.string().optional(),
|
|
11885
12028
|
isExternal: z.boolean().optional(),
|
|
11886
|
-
modelId:
|
|
12029
|
+
modelId: AIGatewaySupportedModelIdSchema.optional(),
|
|
11887
12030
|
agentName: z.enum(AgentName).optional(),
|
|
11888
12031
|
promptAttachments: z.array(AgentSessionAttachment).optional(),
|
|
11889
12032
|
});
|
|
@@ -12439,14 +12582,14 @@ function parseMembraneElementPath(relativePath) {
|
|
|
12439
12582
|
}
|
|
12440
12583
|
return undefined;
|
|
12441
12584
|
}
|
|
12442
|
-
function getConnectorSpecPath(
|
|
12585
|
+
function getConnectorSpecPath(connectorUuid) {
|
|
12443
12586
|
const connectorsPath = WorkspaceElementSpecs[WorkspaceElementType.Connector].apiPath;
|
|
12444
|
-
return `${connectorsPath}/${
|
|
12587
|
+
return `${connectorsPath}/${connectorUuid}/${connectorUuid}.yml`;
|
|
12445
12588
|
}
|
|
12446
|
-
function getConnectorVersionPath(
|
|
12589
|
+
function getConnectorVersionPath(connectorUuid, version) {
|
|
12447
12590
|
const connectorsPath = WorkspaceElementSpecs[WorkspaceElementType.Connector].apiPath;
|
|
12448
12591
|
const versionDir = version === CONNECTOR_VERSION_DEVELOPMENT ? 'development' : version;
|
|
12449
|
-
return `${connectorsPath}/${
|
|
12592
|
+
return `${connectorsPath}/${connectorUuid}/${versionDir}/src.zip`;
|
|
12450
12593
|
}
|
|
12451
12594
|
|
|
12452
12595
|
class SelfAccessor {
|
|
@@ -13004,6 +13147,7 @@ var AlertType;
|
|
|
13004
13147
|
AlertType["parallelApiRequestsPerCustomer"] = "parallelApiRequestsPerCustomer";
|
|
13005
13148
|
AlertType["engineCreditsExhaustionProjected"] = "engineCreditsExhaustionProjected";
|
|
13006
13149
|
AlertType["engineCreditsExhaustionActual"] = "engineCreditsExhaustionActual";
|
|
13150
|
+
AlertType["aiCreditsDebtAccumulated"] = "aiCreditsDebtAccumulated";
|
|
13007
13151
|
AlertType["totalNumberOfDatabaseEntitiesPerCustomer"] = "totalNumberOfDatabaseEntitiesPerCustomer";
|
|
13008
13152
|
AlertType["totalNumberOfCustomers"] = "totalNumberOfCustomers";
|
|
13009
13153
|
AlertType["totalNumberOfConnections"] = "totalNumberOfConnections";
|
|
@@ -13041,6 +13185,7 @@ const ALERT_TYPE_CATEGORIES = {
|
|
|
13041
13185
|
[AlertType.parallelApiRequestsPerCustomer]: AlertCategory.CUSTOMER_RATE_LIMIT,
|
|
13042
13186
|
[AlertType.engineCreditsExhaustionProjected]: AlertCategory.USAGE,
|
|
13043
13187
|
[AlertType.engineCreditsExhaustionActual]: AlertCategory.USAGE,
|
|
13188
|
+
[AlertType.aiCreditsDebtAccumulated]: AlertCategory.USAGE,
|
|
13044
13189
|
[AlertType.totalNumberOfDatabaseEntitiesPerCustomer]: AlertCategory.WORKSPACE_SIZE,
|
|
13045
13190
|
[AlertType.testAlert]: AlertCategory.TEST,
|
|
13046
13191
|
[AlertType.totalNumberOfCustomers]: AlertCategory.WORKSPACE_SIZE,
|
|
@@ -13141,6 +13286,7 @@ function getAlertTypeDisplayName(alertType) {
|
|
|
13141
13286
|
[AlertType.parallelApiRequestsPerCustomer]: 'Parallel API Requests Per Customer',
|
|
13142
13287
|
[AlertType.engineCreditsExhaustionProjected]: 'Engine Credits Exhaustion Projected',
|
|
13143
13288
|
[AlertType.engineCreditsExhaustionActual]: 'Engine Credits Exhaustion Actual',
|
|
13289
|
+
[AlertType.aiCreditsDebtAccumulated]: 'AI Credits Debt Accumulated',
|
|
13144
13290
|
[AlertType.totalNumberOfDatabaseEntitiesPerCustomer]: 'Database Entities Per Customer',
|
|
13145
13291
|
[AlertType.testAlert]: 'Test Alert',
|
|
13146
13292
|
[AlertType.totalNumberOfCustomers]: 'Total Number of Customers',
|
|
@@ -13297,6 +13443,7 @@ const WorkspaceLimitsSchema = z$1.object({
|
|
|
13297
13443
|
totalNumberOfConnections: WorkspaceLimit.optional(),
|
|
13298
13444
|
totalNumberOfWorkspaceElements: WorkspaceLimit.optional(),
|
|
13299
13445
|
totalNumberOfWorkspaceDatabaseRecords: WorkspaceLimit.optional(),
|
|
13446
|
+
flowRunsQueueSizePerConnection: WorkspaceLimit.optional(),
|
|
13300
13447
|
instantTasksQueueSize: WorkspaceLimit.optional(),
|
|
13301
13448
|
QueuedTasksQueueSize: WorkspaceLimit.optional(),
|
|
13302
13449
|
parallelApiRequestsPerCustomer: WorkspaceLimit.optional(),
|
|
@@ -13317,6 +13464,9 @@ const WorkspaceSettingsSchema = z$1.object({
|
|
|
13317
13464
|
disableSecretKeyAuth: z$1.boolean().optional(),
|
|
13318
13465
|
useMembraneUniverse: z$1.boolean().optional(),
|
|
13319
13466
|
useRemoteRepository: z$1.boolean().optional(),
|
|
13467
|
+
autoGenerateIntegrationsFromConnectors: z$1.boolean().optional(),
|
|
13468
|
+
autoGenerateIntegrationsFromExternalApps: z$1.boolean().optional(),
|
|
13469
|
+
autoGenerateIntegrationsFromWebSearch: z$1.boolean().optional(),
|
|
13320
13470
|
});
|
|
13321
13471
|
const EngineWorkspaceSettingsSchema = WorkspaceSettingsSchema;
|
|
13322
13472
|
const WorkspacePublicKey = z$1.object({
|
|
@@ -13403,6 +13553,13 @@ const ListWorkspacesQuery = z
|
|
|
13403
13553
|
})
|
|
13404
13554
|
.merge(IncludeArchivedQuery);
|
|
13405
13555
|
const GetWorkspaceQuery = IncludeArchivedQuery;
|
|
13556
|
+
const MembraneCredentials = z.object({
|
|
13557
|
+
apiUri: z.string().describe('Uri for Membrane API'),
|
|
13558
|
+
workspaceKey: z.string().describe('Workspace key'),
|
|
13559
|
+
workspaceSecret: z.string().optional().describe('Workspace secret for signing tokens (never expose in browser code)'),
|
|
13560
|
+
tenantKey: z.string().optional().describe('Tenant key for the current test tenant'),
|
|
13561
|
+
notes: z.string().optional().describe('Usage notes'),
|
|
13562
|
+
});
|
|
13406
13563
|
|
|
13407
13564
|
const PARALLEL_EXECUTION_LIMITS = [
|
|
13408
13565
|
'parallelEventPulls',
|
|
@@ -13431,6 +13588,7 @@ const WORKSPACE_SIZE_LIMITS = [
|
|
|
13431
13588
|
'totalNumberOfConnections',
|
|
13432
13589
|
'totalNumberOfWorkspaceElements',
|
|
13433
13590
|
'totalNumberOfWorkspaceDatabaseRecords',
|
|
13591
|
+
'flowRunsQueueSizePerConnection',
|
|
13434
13592
|
];
|
|
13435
13593
|
const EDITABLE_LIMITS = [
|
|
13436
13594
|
'parallelApiRequestsPerCustomer',
|
|
@@ -13458,7 +13616,7 @@ function compareWorkspaceExports(baseExport, targetExport, options = { includeDe
|
|
|
13458
13616
|
[WorkspaceElementChangeType.UPDATE]: new Set(),
|
|
13459
13617
|
[WorkspaceElementChangeType.DELETE]: new Set(),
|
|
13460
13618
|
};
|
|
13461
|
-
const
|
|
13619
|
+
const baseUuidByTargetUuid = new Map();
|
|
13462
13620
|
const diffs = [];
|
|
13463
13621
|
const integrationMap = buildIntegrationsMap([
|
|
13464
13622
|
...(baseExport[WorkspaceElementType.Integration] || []),
|
|
@@ -13489,7 +13647,7 @@ function compareWorkspaceExports(baseExport, targetExport, options = { includeDe
|
|
|
13489
13647
|
const base = baseMap.get(selector);
|
|
13490
13648
|
const target = targetMap.get(selector);
|
|
13491
13649
|
if (base && target && base.element.uuid !== target.element.uuid) {
|
|
13492
|
-
|
|
13650
|
+
baseUuidByTargetUuid.set(target.element.uuid, base.element.uuid);
|
|
13493
13651
|
}
|
|
13494
13652
|
const change = compareElementExports(base === null || base === void 0 ? void 0 : base.element, target === null || target === void 0 ? void 0 : target.element);
|
|
13495
13653
|
if (options.includeDeletions === false && (change === null || change === void 0 ? void 0 : change.type) === WorkspaceElementChangeType.DELETE) {
|
|
@@ -13509,7 +13667,7 @@ function compareWorkspaceExports(baseExport, targetExport, options = { includeDe
|
|
|
13509
13667
|
diffs.push(createTwoFilesPatch(`a/${path}`, `b/${path}`, baseYaml, targetYaml));
|
|
13510
13668
|
}
|
|
13511
13669
|
}
|
|
13512
|
-
const result = { comparison, changes,
|
|
13670
|
+
const result = { comparison, changes, baseUuidByTargetUuid };
|
|
13513
13671
|
if (options.includeDiff) {
|
|
13514
13672
|
result.diff = diffs.join('\n').trim();
|
|
13515
13673
|
}
|
|
@@ -13694,6 +13852,7 @@ const WorkspaceEditableFields = z.object({
|
|
|
13694
13852
|
alertDeliverySettings: AlertDeliverySettingsSchema.optional(),
|
|
13695
13853
|
jwksUri: z.string().nullable().optional(),
|
|
13696
13854
|
type: z.enum(WorkspaceType).optional().describe('Workspace type (production or development)'),
|
|
13855
|
+
isReadOnly: z.boolean().optional().describe('Whether the workspace is in read-only mode'),
|
|
13697
13856
|
});
|
|
13698
13857
|
const OrgWorkspace = z
|
|
13699
13858
|
.object({
|
|
@@ -13718,12 +13877,38 @@ const OrgWorkspaceUpdateRequest = z
|
|
|
13718
13877
|
logoUri: z.string().optional(),
|
|
13719
13878
|
})
|
|
13720
13879
|
.merge(WorkspaceEditableFields);
|
|
13880
|
+
const WorkspaceOnboardingData = z
|
|
13881
|
+
.object({
|
|
13882
|
+
productSetup: z
|
|
13883
|
+
.object({
|
|
13884
|
+
type: ConnectedProductType.optional(),
|
|
13885
|
+
agentType: z.string().optional(),
|
|
13886
|
+
name: z.string().optional(),
|
|
13887
|
+
connectedProductId: z.string().optional(),
|
|
13888
|
+
})
|
|
13889
|
+
.optional(),
|
|
13890
|
+
connections: z
|
|
13891
|
+
.object({
|
|
13892
|
+
apps: z.array(z.object({
|
|
13893
|
+
externalAppId: z.string().optional(),
|
|
13894
|
+
name: z.string().optional(),
|
|
13895
|
+
url: z.string().optional(),
|
|
13896
|
+
status: z.enum(['pending', 'connected', 'skipped']).optional(),
|
|
13897
|
+
})),
|
|
13898
|
+
})
|
|
13899
|
+
.optional(),
|
|
13900
|
+
})
|
|
13901
|
+
.passthrough();
|
|
13721
13902
|
const OrgWorkspaceUser = z.object({
|
|
13722
13903
|
id: z.string(),
|
|
13723
13904
|
workspaceId: z.string(),
|
|
13724
13905
|
testCustomerId: z.string(),
|
|
13725
13906
|
userId: z.string(),
|
|
13726
13907
|
role: z.string(),
|
|
13908
|
+
onboardingData: WorkspaceOnboardingData.optional().describe('[INTERNAL]'),
|
|
13909
|
+
});
|
|
13910
|
+
const PatchUserWorkspaceSettings = z.object({
|
|
13911
|
+
onboardingData: WorkspaceOnboardingData.optional().describe('[INTERNAL]'),
|
|
13727
13912
|
});
|
|
13728
13913
|
const CreateOrgRequest = z.object({
|
|
13729
13914
|
name: z.string(),
|
|
@@ -13734,9 +13919,7 @@ const CreateOrgRequest = z.object({
|
|
|
13734
13919
|
referralSource: z.string().optional(),
|
|
13735
13920
|
builder: z.array(z.enum(['me', 'team'])).optional(),
|
|
13736
13921
|
stripeCustomerId: z.string().optional(),
|
|
13737
|
-
signupSource: z
|
|
13738
|
-
.enum(['web', 'membrane-cli', 'claude', 'cursor', 'chatgpt', 'warp', 'lovable', 'openclaw', 'other'])
|
|
13739
|
-
.optional(),
|
|
13922
|
+
signupSource: z.string().optional(),
|
|
13740
13923
|
});
|
|
13741
13924
|
const UpdateOrgRequest = z.object({
|
|
13742
13925
|
name: z.string().min(1).optional(),
|
|
@@ -13807,7 +13990,7 @@ const RotateOrgWorkspaceSecretResponse = z.object({
|
|
|
13807
13990
|
const AccountResponse = z.object({
|
|
13808
13991
|
user: FullPlatformUser.optional(),
|
|
13809
13992
|
workspace: OrgWorkspace.optional(),
|
|
13810
|
-
|
|
13993
|
+
hasWorkspaces: z.boolean().optional(),
|
|
13811
13994
|
workspaceUser: OrgWorkspaceUser.extend({
|
|
13812
13995
|
testCustomerId: z.string(),
|
|
13813
13996
|
}).optional(),
|
|
@@ -13835,6 +14018,8 @@ var WebhookTypeEnum;
|
|
|
13835
14018
|
WebhookTypeEnum["AGENT_SESSION_FINISHED"] = "agent-session-finished";
|
|
13836
14019
|
WebhookTypeEnum["SEND_ALERT_EMAIL"] = "send-alert-email";
|
|
13837
14020
|
WebhookTypeEnum["PUBLIC_PACKAGE_ACTION_RUN_FAILED"] = "public-package-action-run-failed";
|
|
14021
|
+
WebhookTypeEnum["BETTER_AUTH_SIGNUP_VERIFY"] = "better-auth-signup-verify";
|
|
14022
|
+
WebhookTypeEnum["BETTER_AUTH_RESET_PASSWORD"] = "better-auth-reset-password";
|
|
13838
14023
|
})(WebhookTypeEnum || (WebhookTypeEnum = {}));
|
|
13839
14024
|
|
|
13840
14025
|
const IntegrationSpecificElementSelector = z$1.object({
|
|
@@ -14086,6 +14271,7 @@ class ActionAccessor extends ElementAccessor {
|
|
|
14086
14271
|
? {
|
|
14087
14272
|
integrationKey: options.integrationKey,
|
|
14088
14273
|
connectionId: options.connectionId,
|
|
14274
|
+
connectionKey: options.connectionKey,
|
|
14089
14275
|
}
|
|
14090
14276
|
: {};
|
|
14091
14277
|
return this.options.client.post(this.getPath('run'), { input }, { params: queryParams });
|
|
@@ -15155,7 +15341,7 @@ class ConnectionProxy {
|
|
|
15155
15341
|
}
|
|
15156
15342
|
}
|
|
15157
15343
|
async function createOrUpdateConnection(options) {
|
|
15158
|
-
const { client, connectionId, integrationKey, integrationId, connectorId, connectorVersion, name, input, connectorParameters, allowMultipleConnections, authOptionKey, connectionRequestId, apiUri, redirectUri, onPopupClosed, } = options !== null && options !== void 0 ? options : {};
|
|
15344
|
+
const { client, connectionId, connectionKey, integrationKey, integrationId, connectorId, connectorVersion, name, input, connectorParameters, allowMultipleConnections, authOptionKey, connectionRequestId, apiUri, redirectUri, onPopupClosed, } = options !== null && options !== void 0 ? options : {};
|
|
15159
15345
|
let connectionType = await detectConnectionType(options);
|
|
15160
15346
|
if (redirectUri) {
|
|
15161
15347
|
connectionType = ConnectionType.REDIRECT;
|
|
@@ -15173,6 +15359,7 @@ async function createOrUpdateConnection(options) {
|
|
|
15173
15359
|
connectorId,
|
|
15174
15360
|
connectorVersion,
|
|
15175
15361
|
connectionId,
|
|
15362
|
+
connectionKey,
|
|
15176
15363
|
name,
|
|
15177
15364
|
authOptionKey,
|
|
15178
15365
|
allowMultipleConnections,
|
|
@@ -15811,6 +15998,12 @@ const ScenarioTemplate = z.object({
|
|
|
15811
15998
|
handyElements: z.array(HandyScenarioTemplateElement).optional(),
|
|
15812
15999
|
});
|
|
15813
16000
|
|
|
16001
|
+
function formatSessionCost(cost) {
|
|
16002
|
+
if (cost === undefined || cost === null)
|
|
16003
|
+
return '-';
|
|
16004
|
+
return cost.toFixed(2);
|
|
16005
|
+
}
|
|
16006
|
+
|
|
15814
16007
|
const SessionCredentials = z.object({
|
|
15815
16008
|
accessKeyId: z.string().min(1),
|
|
15816
16009
|
secretAccessKey: z.string().min(1),
|
|
@@ -15900,22 +16093,14 @@ const ClientTokenListResponse = z.object({
|
|
|
15900
16093
|
});
|
|
15901
16094
|
|
|
15902
16095
|
const MEMBRANE_CLI_CLIENT_ID = 'membrane-cli';
|
|
15903
|
-
const
|
|
15904
|
-
const
|
|
15905
|
-
const
|
|
15906
|
-
const
|
|
15907
|
-
|
|
15908
|
-
|
|
15909
|
-
|
|
15910
|
-
|
|
15911
|
-
return scopes[0];
|
|
15912
|
-
for (const priorityScope of SCOPE_PRIORITY) {
|
|
15913
|
-
if (scopes.includes(priorityScope)) {
|
|
15914
|
-
return priorityScope;
|
|
15915
|
-
}
|
|
15916
|
-
}
|
|
15917
|
-
return scopes[0];
|
|
15918
|
-
}
|
|
16096
|
+
const OAUTH_TOKEN_TYPE_PLATFORM_USER = 'platform-user';
|
|
16097
|
+
const OAUTH_TOKEN_TYPE_TENANT = 'tenant';
|
|
16098
|
+
const OAUTH_TOKEN_TYPE_CONNECTION = 'connection';
|
|
16099
|
+
const OAUTH_TOKEN_TYPES = [
|
|
16100
|
+
OAUTH_TOKEN_TYPE_PLATFORM_USER,
|
|
16101
|
+
OAUTH_TOKEN_TYPE_TENANT,
|
|
16102
|
+
OAUTH_TOKEN_TYPE_CONNECTION,
|
|
16103
|
+
];
|
|
15919
16104
|
const OAuthTokenResponse = z.object({
|
|
15920
16105
|
access_token: z.string(),
|
|
15921
16106
|
token_type: z.string(),
|
|
@@ -15924,6 +16109,7 @@ const OAuthTokenResponse = z.object({
|
|
|
15924
16109
|
default_workspace_key: z.string().optional(),
|
|
15925
16110
|
default_tenant_key: z.string().optional(),
|
|
15926
16111
|
email: z.string().optional(),
|
|
16112
|
+
org_id: z.string().optional(),
|
|
15927
16113
|
});
|
|
15928
16114
|
|
|
15929
16115
|
const CONSOLE_ACCOUNT_API_TOKEN_PATH = 'settings/account/api-token';
|
|
@@ -15968,6 +16154,8 @@ const MembraneInstance = z.object({
|
|
|
15968
16154
|
lastReportedAt: z.coerce.date().optional(),
|
|
15969
16155
|
activeTenants: z.number().optional(),
|
|
15970
16156
|
billableTenants: z.number().optional(),
|
|
16157
|
+
});
|
|
16158
|
+
const membraneInstanceInfraFields = {
|
|
15971
16159
|
clusterName: z.string().optional(),
|
|
15972
16160
|
argoCdUrl: z.url().optional(),
|
|
15973
16161
|
grafanaUrl: z.url().optional(),
|
|
@@ -15976,6 +16164,11 @@ const MembraneInstance = z.object({
|
|
|
15976
16164
|
helmValuesPath: z.url().optional(),
|
|
15977
16165
|
awsAccountName: z.string().optional(),
|
|
15978
16166
|
awsSsoUrl: z.url().optional(),
|
|
16167
|
+
};
|
|
16168
|
+
const MembraneInstanceAdmin = MembraneInstance.extend({
|
|
16169
|
+
...membraneInstanceInfraFields,
|
|
16170
|
+
orgName: z.string().optional(),
|
|
16171
|
+
workspaceCount: z.number().optional(),
|
|
15979
16172
|
});
|
|
15980
16173
|
const CreateMembraneInstanceRequest = z.object({
|
|
15981
16174
|
name: z.string().min(1),
|
|
@@ -16003,10 +16196,6 @@ const ListMembraneInstancesQuery = PaginationQuery.extend({
|
|
|
16003
16196
|
orgId: z.string().optional(),
|
|
16004
16197
|
});
|
|
16005
16198
|
const ListMembraneInstancesResponse = createPaginationResponseSchema(MembraneInstance);
|
|
16006
|
-
const MembraneInstanceAdmin = MembraneInstance.extend({
|
|
16007
|
-
orgName: z.string().optional(),
|
|
16008
|
-
workspaceCount: z.number().optional(),
|
|
16009
|
-
});
|
|
16010
16199
|
|
|
16011
16200
|
const OrgInstanceType = z.enum(['membrane-hosted', 'self-hosted']);
|
|
16012
16201
|
const OrgInstanceWorkspace = z.object({
|
|
@@ -16082,6 +16271,9 @@ const membraneClientOptionsSchema = z
|
|
|
16082
16271
|
apiUri: z.string().nullish(),
|
|
16083
16272
|
uiUri: z.string().nullish(),
|
|
16084
16273
|
accessToken: z.string().nullish(),
|
|
16274
|
+
workspaceKey: z.string().nullish(),
|
|
16275
|
+
workspaceSecret: z.string().nullish(),
|
|
16276
|
+
tenantKey: z.string().nullish(),
|
|
16085
16277
|
})
|
|
16086
16278
|
.strict();
|
|
16087
16279
|
function validateClientOptions(options) {
|
|
@@ -16096,6 +16288,8 @@ function validateClientOptions(options) {
|
|
|
16096
16288
|
}
|
|
16097
16289
|
}
|
|
16098
16290
|
const REFETCH_EXPIRATION_THRESHOLD = 10 * 1000;
|
|
16291
|
+
const TOKEN_TTL_SECONDS = 3600;
|
|
16292
|
+
const TOKEN_MINT_THRESHOLD_SECONDS = 60;
|
|
16099
16293
|
function decodeToken(token) {
|
|
16100
16294
|
if (token.startsWith('pat-')) {
|
|
16101
16295
|
return null;
|
|
@@ -16110,11 +16304,25 @@ class MembraneApiClient {
|
|
|
16110
16304
|
constructor(options = {}) {
|
|
16111
16305
|
this.logs = [];
|
|
16112
16306
|
validateClientOptions(options);
|
|
16113
|
-
const { uiUri, apiUri,
|
|
16307
|
+
const { uiUri, apiUri, fetchCredentials, credentials } = options;
|
|
16114
16308
|
this.apiUri = apiUri !== null && apiUri !== void 0 ? apiUri : DEFAULT_API_URI;
|
|
16115
16309
|
this.uiUri = uiUri !== null && uiUri !== void 0 ? uiUri : DEFAULT_UI_URI;
|
|
16116
|
-
|
|
16117
|
-
|
|
16310
|
+
if ('workspaceSecret' in options && options.workspaceSecret) {
|
|
16311
|
+
if (typeof window !== 'undefined') {
|
|
16312
|
+
throw new Error('MembraneClient: workspaceSecret must not be used in browser code. ' +
|
|
16313
|
+
'The workspace secret is a server-side credential that would be exposed to end users if included in a browser bundle.');
|
|
16314
|
+
}
|
|
16315
|
+
this._workspaceKey = options.workspaceKey;
|
|
16316
|
+
this._workspaceSecret = options.workspaceSecret;
|
|
16317
|
+
this._tenantKey = options.tenantKey;
|
|
16318
|
+
}
|
|
16319
|
+
else {
|
|
16320
|
+
const token = 'token' in options ? options.token : undefined;
|
|
16321
|
+
const accessToken = 'accessToken' in options ? options.accessToken : undefined;
|
|
16322
|
+
const fetchToken = 'fetchToken' in options ? options.fetchToken : undefined;
|
|
16323
|
+
this.token = token !== null && token !== void 0 ? token : accessToken;
|
|
16324
|
+
this.fetchToken = fetchToken;
|
|
16325
|
+
}
|
|
16118
16326
|
if (fetchCredentials) {
|
|
16119
16327
|
void fetchCredentials().then((c) => this.setCredentials(c));
|
|
16120
16328
|
}
|
|
@@ -16126,6 +16334,9 @@ class MembraneApiClient {
|
|
|
16126
16334
|
return this.patch('/self', { credentials });
|
|
16127
16335
|
}
|
|
16128
16336
|
async getToken() {
|
|
16337
|
+
if (this._workspaceSecret) {
|
|
16338
|
+
return this.mintToken();
|
|
16339
|
+
}
|
|
16129
16340
|
if (this.fetchToken) {
|
|
16130
16341
|
if (!this.token) {
|
|
16131
16342
|
this.token = await this.fetchToken();
|
|
@@ -16146,6 +16357,38 @@ class MembraneApiClient {
|
|
|
16146
16357
|
decodeToken(this.token);
|
|
16147
16358
|
return this.token;
|
|
16148
16359
|
}
|
|
16360
|
+
async mintToken() {
|
|
16361
|
+
if (this.token) {
|
|
16362
|
+
const payload = decodeToken(this.token);
|
|
16363
|
+
if (payload === null || payload === void 0 ? void 0 : payload.exp) {
|
|
16364
|
+
const remainingSeconds = payload.exp - Math.floor(Date.now() / 1000);
|
|
16365
|
+
if (remainingSeconds > TOKEN_MINT_THRESHOLD_SECONDS) {
|
|
16366
|
+
return this.token;
|
|
16367
|
+
}
|
|
16368
|
+
}
|
|
16369
|
+
}
|
|
16370
|
+
const payload = {
|
|
16371
|
+
id: this._tenantKey,
|
|
16372
|
+
iss: this._workspaceKey,
|
|
16373
|
+
exp: Math.floor(Date.now() / 1000) + TOKEN_TTL_SECONDS,
|
|
16374
|
+
};
|
|
16375
|
+
const header = { alg: 'HS256', typ: 'JWT' };
|
|
16376
|
+
const encoder = new TextEncoder();
|
|
16377
|
+
const toB64Url = (bytes) => {
|
|
16378
|
+
let s = '';
|
|
16379
|
+
for (let i = 0; i < bytes.length; i++)
|
|
16380
|
+
s += String.fromCharCode(bytes[i]);
|
|
16381
|
+
return btoa(s).replace(/\+/g, '-').replace(/\//g, '_').replace(/=+$/, '');
|
|
16382
|
+
};
|
|
16383
|
+
const headerB64 = toB64Url(encoder.encode(JSON.stringify(header)));
|
|
16384
|
+
const payloadB64 = toB64Url(encoder.encode(JSON.stringify(payload)));
|
|
16385
|
+
const input = `${headerB64}.${payloadB64}`;
|
|
16386
|
+
const key = await crypto.subtle.importKey('raw', encoder.encode(this._workspaceSecret), { name: 'HMAC', hash: 'SHA-256' }, false, ['sign']);
|
|
16387
|
+
const signatureBuffer = await crypto.subtle.sign('HMAC', key, encoder.encode(input));
|
|
16388
|
+
const signature = toB64Url(new Uint8Array(signatureBuffer));
|
|
16389
|
+
this.token = `${input}.${signature}`;
|
|
16390
|
+
return this.token;
|
|
16391
|
+
}
|
|
16149
16392
|
async get(uri, queryParams, options) {
|
|
16150
16393
|
if (queryParams) {
|
|
16151
16394
|
uri += `${uri.includes('?') ? '&' : '?'}${new URLSearchParams(omitBy(queryParams, isEmptyValue)).toString()}`;
|
|
@@ -16487,5 +16730,5 @@ class MembraneClient extends MembraneApiClient {
|
|
|
16487
16730
|
|
|
16488
16731
|
injectFormulaCatalog(getFormula, isFormula, hasFormulas);
|
|
16489
16732
|
|
|
16490
|
-
export { ACTIONS, AGENTIC_CONNECTION_REQUEST_SCREEN_PATH, ALERT_DELIVERY_METHODS, ALERT_TYPE_CATEGORIES, AccessDeniedError, AccountResponse, ActionAccessor, ActionApiResponse, ActionDependency, ActionDependencyType, ActionEditableProperties, ActionExportProperties, ActionInstanceAccessor, ActionInstanceApiResponse, ActionInstanceSetupError, ActionInstancesAccessor, ActionRunError, ActionRunLogRecordApiResponse, ActionRunLogStatus, ActionRunResponse, ActionRunsStatsQuery, ActionType, ActionsAccessor, ActivityLogRecord, ActivityStatsQuery, AgentName, AgentSession, AgentSessionAttachment, AgentSessionInputSchema, AgentSessionState, AgentSessionStatus, AiAgentAudience, AiAgentParameters, AiAgentType, Alert, AlertCategory, AlertDeliverySettingsSchema, AlertSchema, AlertSeverity, AlertStatus, AlertType, AlertTypeDeliverySettingsSchema, And, ApiRequestSpec, AppDataSchemaAccessor, AppDataSchemaApiResponse, AppDataSchemaEditableProperties, AppDataSchemaExportProperties, AppDataSchemaInstanceAccessor, AppDataSchemaInstanceApiResponse, AppDataSchemaInstancesAccessor, AppDataSchemasAccessor, AppEventLogRecordApiResponse, AppEventSubscriptionAccessor, AppEventSubscriptionApiResponse, AppEventSubscriptionsAccessor, AppEventTypeAccessor, AppEventTypeApiResponse, AppEventTypeEditableProperties, AppEventTypeExportProperties, AppEventTypesAccessor, AppSchema, AppliedToIntegrations, AsyncRequestStatus, AsyncRequestTriggerResponse, AuthContextPermissionsSchema, BackwardCompatibleDataSourceEditableProperties, BadRequestError, BadRequestErrorKey, BaseAction, BaseActionInstance, BaseActionRunLogRecord, BaseAppDataSchema, BaseAppDataSchemaInstance, BaseAppEventSubscription, BaseAppEventType, BaseConnectedProduct, BaseConnection, BaseConnector, BaseCustomer, BaseDataLinkTable, BaseDataLinkTableInstance, BaseDataSource, BaseDataSourceInstance, BaseExternalEvent, BaseExternalEventLogRecord, BaseExternalEventPull, BaseExternalEventSubscription, BaseFieldMapping, BaseFieldMappingInstance, BaseFlow, BaseFlowInstance, BaseFlowRun, BaseFunctionDefinition, BaseIntegration, BaseIntegrationLevelMembraneInterface, BaseIntegrationLevelMembraneInterfaceEditableProperties, BaseIntegrationLevelMembraneInterfaceExportProperties, BaseIntegrationLevelMembraneInterfaceReadOnlyProperties, BaseMembraneInterface, BaseMembraneInterfaceEditableProperties, BaseMembraneInterfaceReadOnlyProperties, BaseOrgUser, BasePackage, BaseScreen, BaseWorkspaceElement, CLIENT_TOKEN_GRANT_TYPES, CONNECTION_REQUEST_ID_PARAM, CONNECTION_REQUEST_SCREEN_PATH, 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, CONNECTOR_VERSION_DEVELOPMENT, CONNECTOR_VERSION_LATEST, CONSOLE_ACCOUNT_API_TOKEN_PATH, CheckpointApiResponse, CheckpointDiffOperationSchema, CheckpointDiffResponseSchema, ClientToken, ClientTokenGrantType, ClientTokenListResponse, CommonFindElementsQuery, CommonFindInstancesQuery, CommonInstancesListQuery, CommonIntegrationOrConnectionQuery, CommonListElementsQuery, ConcurrencyError, ConcurrencyErrorKey, ConfigurationError, ConfigurationState, ConnectPayload, ConnectUIOptions, ConnectedProductApiResponse, ConnectedProductAudience, ConnectedProductType, ConnectionAccessor, ConnectionApiResponse, ConnectionApiResponseWithSecrets, ConnectionClientAction, ConnectionDataCollectionAccessor, ConnectionEditableProperties, ConnectionError, ConnectionErrorKey, ConnectionExportProperties, ConnectionLevelActionAccessor, ConnectionLevelActionsAccessor, ConnectionLevelDataSourceAccessor, ConnectionLevelDataSourcesAccessor, ConnectionLevelFieldMappingAccessor, ConnectionLevelFieldMappingsAccessor, ConnectionLevelFlowAccessor, ConnectionLevelFlowsAccessor, ConnectionMessagePayload, ConnectionOperationAccessor, ConnectionOperationRunInput, ConnectionOperationRunResponse, ConnectionProxy, ConnectionProxyRequest, ConnectionRequest, ConnectionSelector, ConnectionSpec, ConnectionTestResponse, ConnectionsAccessor, Connector, ConnectorAuth, ConnectorAuthClientCredentials, ConnectorAuthHandlerBase, ConnectorAuthIntegrationAppToken, ConnectorAuthMembraneToken, ConnectorAuthMethodTypes, ConnectorAuthOAuth1, ConnectorAuthOAuth2, ConnectorAuthProxy, ConnectorAuthSpec, ConnectorAuthSuccessRecord, ConnectorAuthWithFunctions, ConnectorDataCollectionEventImplementationType, ConnectorDataCollectionMethodKeys, ConnectorDataLocationTypes, ConnectorEventHandlerMethods, ConnectorEventImplementationType, ConnectorExportProperties, ConnectorFileUpdateType, ConnectorFunctionSpecs, ConnectorMethodImplementation, ConnectorMethodImplementationBase, ConnectorMethodImplementationGraphqlApiMapping, ConnectorMethodImplementationJavascript, ConnectorMethodImplementationMapping, ConnectorMethodImplementationNotSupported, ConnectorMethodImplementationOperationMapping, ConnectorMethodImplementationRestApiMapping, ConnectorMethodImplementationType, ConnectorOperationMethodImplementationTypes, ConnectorOption, ConnectorOptions, ConnectorSpec, ConnectorStatus, ConnectorStatusValues, ConnectorUdmCollectionMapping, ConnectorUdmListItem, ConnectorUdmSpec, ConnectorUiSpec, ConnectorVersion, ConnectorVersionData, CreateActionInstanceRequest, CreateActionRequest, CreateAgentSession, CreateAlert, CreateClientTokenRequest, CreateClientTokenResponse, CreateConnectedProductRequest, CreateConnectionRequest, CreateConnectionRequestPayload, CreateConnectorRequest, CreateCustomerRequest, CreateDataLinkTableRequest, CreateDataSourceInstanceRequest, CreateDataSourceRequest, CreateFieldMappingInstanceRequest, CreateFieldMappingRequest, CreateFlowNodeRequest, CreateFlowRequest, CreateFlowRunRequest, CreateIntegrationRequest, CreateMembraneInstanceRequest, CreateOrgInvitationRequest, CreateOrgRequest, CreateOrgUserRequest, CreateOrgWorkspaceRequest, CreatePackageRequest, CreateScreenRequest, CreateSelfHostingTokenRequest, CreateSelfHostingTokenResponse, CreateWorkspaceRequest, CustomCodeError, CustomerAccessor, CustomerApiResponse, CustomerLimits, CustomerSelector, CustomersAccessor, DATA_RECORD_SCHEMA, DEFAULT_ALERT_DELIVERY_SETTINGS, DEFAULT_ALERT_TYPE_DELIVERY_SETTINGS, DEFAULT_FULL_SYNC_INTERVAL_SECONDS, DEFAULT_PULL_UPDATES_INTERVAL_SECONDS, DataBuilderFormulaBase, DataBuilderFormulaCase, DataBuilderFormulaConcat, DataBuilderFormulaCopy, DataBuilderFormulaExtractDate, DataBuilderFormulaExtractTime, DataBuilderFormulaFindAppRecordId, DataBuilderFormulaFindExternalRecordId, DataBuilderFormulaFirstName, DataBuilderFormulaIterate, DataBuilderFormulaLastName, DataBuilderFormulaLookup, DataBuilderFormulaMap, DataBuilderFormulaPlain, DataBuilderFormulaRecord, DataBuilderFormulaTpl, DataBuilderFormulaType, DataBuilderFormulaVar, DataCollectionCreateRequest, DataCollectionCreateResponse, DataCollectionCreateSpec, DataCollectionDeleteRequest, DataCollectionDeleteResponse, DataCollectionDeleteSpec, DataCollectionEventType, DataCollectionEventTypeSpec, DataCollectionEventsSpec, DataCollectionFindByIdRequest, DataCollectionFindByIdResponse, DataCollectionFindByIdSpec, DataCollectionFindRequest, DataCollectionFindResponse, DataCollectionFindSpec, DataCollectionListRequest, DataCollectionListResponse, DataCollectionListResponseDrilldown, DataCollectionListSpec, DataCollectionMatchRequest, DataCollectionMatchResponse, DataCollectionMatchSpec, DataCollectionMethodRequest, DataCollectionMethodSpec, DataCollectionSearchRequest, DataCollectionSearchResponse, DataCollectionSearchSpec, DataCollectionSpec, DataCollectionUdmSpec, DataCollectionUdmsSpec, DataCollectionUpdateRequest, DataCollectionUpdateResponse, DataCollectionUpdateSpec, DataFilterCondition, DataForm, DataLink, DataLinkDirection, DataLinkTableAccessor, DataLinkTableApiResponse, DataLinkTableConfig, DataLinkTableEditableProperties, DataLinkTableExportProperties, DataLinkTableInstanceAccessor, DataLinkTableInstanceApiResponse, DataLinkTableInstancesAccessor, DataLinkTableLayer, DataLinkTablesAccessor, DataLocationMethodImplementationTypes, DataLocationPointer, DataLocationTypeCollection, DataLocatorStep, DataLocatorStepArrayItem, DataLocatorStepObjectProperty, DataLocatorStepType, DataRecordSchema, DataSchema, DataSchemaRef, DataSourceAccessor, DataSourceApiResponse, DataSourceEditableProperties, DataSourceExportProperties, DataSourceInstanceAccessor, DataSourceInstanceApiResponse, DataSourceInstancesAccessor, DataSourceUnitConfig, DataSourcesAccessor, DbBackedCountsSchema, DependencyError, DomainFromEmail, DownstreamFlowNodeRunSchema, EDITABLE_LIMITS, ElementAccessor, ElementInstanceAccessor, ElementInstanceListAccessor, ElementListAccessor, ElementsExportFields, EngineCreditsProjectionResponse, EngineWorkspaceSettingsSchema, EnsureConnectionRequest, ErrorData, ErrorDataSchema, ErrorType, Eval, ExternalApiLogApiResponse, ExternalEvent, ExternalEventLogRecordApiResponse, ExternalEventLogStatus, ExternalEventPullApiResponse, ExternalEventPullStatus, ExternalEventSubscriptionAccessor, ExternalEventSubscriptionApiResponse, ExternalEventSubscriptionConfig, ExternalEventSubscriptionStatus, ExternalEventSubscriptionType, ExternalEventSubscriptionsAccessor, ExternalEventType, ExternalEventUnitConfig, FLOW_NODE_SPECS, FieldMappingAccessor, FieldMappingApiResponse, FieldMappingDirection, FieldMappingEditableProperties, FieldMappingExportProperties, FieldMappingInstanceAccessor, FieldMappingInstanceApiResponse, FieldMappingInstancesAccessor, FieldMappingUnitConfig, FieldMappingsAccessor, FindActionInstancesQuery, FindActionRunLogsQuery, FindActionRunLogsResponse, FindActionsQuery, FindAlertsQuery, FindAppDataSchemaInstancesQuery, FindAppDataSchemasQuery, FindAppEventSubscriptionsQuery, FindAppEventTypesQuery, FindAppEventsQuery, FindConnectedProductsQuery, FindConnectionsQuery, FindConnectionsResponse, FindCustomersQuery, FindDataLinkTableInstanceLinksQuery, FindDataLinkTableInstancesQuery, FindDataLinkTablesQuery, FindDataLinksInTableQuery, FindDataLinksQuery, FindDataLinksResponse, FindDataSourceEventsQuery, FindDataSourceInstanceSyncsQuery, FindDataSourceInstancesQuery, FindDataSourceSyncsQuery, FindDataSourcesQuery, FindExternalEventPullsQuery, FindFieldMappingInstancesQuery, FindFieldMappingsQuery, FindFlowInstancesQuery, FindFlowRunsQuery, FindFlowRunsResponse, FindFlowsQuery, FindIntegrationLevelMembraneInterfaceQuery, FindIntegrationsQuery, FindOrgWorkspacesQuery, FindOrgsQuery, FindPackagesQuery, FindScreensQuery, FirstNotEmpty, FlowAccessor, FlowApiResponse, FlowEditableProperties, FlowExportProperties, FlowInstanceAccessor, FlowInstanceApiResponse, FlowInstanceSetupError, FlowInstancesAccessor, FlowNode, FlowNodeLink, FlowNodeRunOutputMetadataSchema, FlowNodeRunOutputSchema, FlowNodeRunOutputWithoutDownstreamRunsSchema, FlowNodeRunParametersSchema, FlowNodeRunRecordSchema, FlowNodeRunRecordWithoutOutputsDataSchema, FlowNodeRunResultSchema, FlowNodeRunStatus, FlowNodeSpec, FlowNodeState, FlowNodeType, FlowRunAccessor, FlowRunApiResponse, FlowRunError, FlowRunLaunchedBy, FlowRunLaunchedByApi, FlowRunLaunchedByTrigger, FlowRunNode, FlowRunNodeState, FlowRunState, FlowRunsAccessor, FlowRunsStatsQuery, FlowsAccessor, Formula, FormulaFormula, FullOrgUser, FullPlatformUser, FunctionDefinition, FunctionType, GenerateOptionsRequest, GenerateWorkspaceAccessTokenRequest, GenerateWorkspaceAccessTokenResponse, GeneratedConnectorOption, GenericFunctionDefinition, GetWorkspaceQuery, GraphQLApiMappingSchema, GraphQLFieldMappingSchema, GraphqlApiMappingFunction, HTTP_REQUEST_SCHEMA, HUB_INSTANCE_ID, HandyScenarioTemplateElement, HttpRequestMethod, HttpRequestSpec, IncludeArchivedQuery, IncomingWebhookApiResponse, IncomingWebhooksState, InsufficientCreditsError, IntegrationAccessor, IntegrationApiResponse, MembraneClient as IntegrationAppClient, IntegrationAppError, IntegrationAuthOption, IntegrationAuthUi, IntegrationEditableProperties, IntegrationElementLevel, IntegrationElementType, IntegrationExportProperties, IntegrationLayerStatsQuery, IntegrationLevelActionAccessor, IntegrationLevelActionsListAccessor, IntegrationLevelDataSourceAccessor, IntegrationLevelDataSourcesListAccessor, IntegrationLevelFieldMappingAccessor, IntegrationLevelFieldMappingsListAccessor, IntegrationLevelFlowAccessor, IntegrationLevelFlowsListAccessor, IntegrationLevelMembraneInterfaceSelectorQuery, IntegrationOptionConfig, IntegrationOptions, IntegrationSpecificElementSelector, IntegrationsAccessor, IntentProperties, InternalError, InvalidLocatorError, JavascriptFunction, JsonataFormula, LimitUnits, ListActionInstancesForConnectionQuery, ListAppEventLogRecordsQuery, ListDataSourceInstancesForConnectionQuery, ListExternalApiLogsQuery, ListExternalAppsQuery, ListExternalEventLogRecordsQuery, ListExternalEventPullsQuery, ListExternalEventSubscriptionsQuery, ListFlowInstancesForConnectionQuery, ListIncomingWebhooksQuery, ListMembraneInstancesQuery, ListMembraneInstancesResponse, ListOrgWorkspacesQuery, ListOrgWorkspacesResponse, ListPublicConnectorsQuery, ListPublicPackagesQuery, ListWorkspacesQuery, LogRecordType, MEMBRANE_CLI_CLIENT_ID, MEMBRANE_ELEMENT_CONFIG_FILE_NAME, MEMBRANE_SESSION_ID_HEADER, MIN_FULL_SYNC_INTERVAL_SECONDS, MIN_PULL_UPDATES_INTERVAL_SECONDS, MappingFunction, MappingSchema, MembraneAgentKey, axios as MembraneAxiosInstance, MembraneClient, MembraneElementLayer, MembraneError, MembraneInstance, MembraneInstanceAdmin, MergeObjects, MinimalConnector, NotAuthenticatedError, NotFoundError, OAUTH1_CONFIG_SCHEMA, OAUTH_CONFIG_SCHEMA, OAUTH_SCOPES, OAUTH_SCOPE_PLATFORM_USER, OAUTH_SCOPE_TENANT, OAuthTokenResponse, OpenRouterNotConfiguredError, OpenapiMappingSchema, OperationMappingFunction, OperationMappingSchema, Or, Org, OrgInstance, OrgInstanceType, OrgInstanceWorkspace, OrgInvitation, OrgLimits, OrgLimitsType, OrgPlan, OrgUserRole, OrgUserStatus, OrgWorkspace, OrgWorkspaceUpdateRequest, OrgWorkspaceUser, PACKAGE_VERSION_DEVELOPMENT, PACKAGE_VERSION_LATEST, PARALLEL_EXECUTION_LIMITS, PackageAccessor, PackageApiResponse, PackageCalculatedProperties, PackageEditableProperties, PackageElement, PackageElementApi, PackageElementExport, PackageExportProperties, PackageVersionData, PackageVersionListItem, PackagesAccessor, PaginationQuery, PaginationResponse, ParallelExecutionLimits, PatchAgentSessionSchema, PatchConnectionRequestPayload, PendingQueueCountSchema, PendingTasksSummarySchema, PlatformUser, RATE_LIMITS, REFERENCE_ELEMENT_TYPE_SELF, RateLimitExceededError, RateLimits, RequestMappingSchema, ResetFlowInstanceOptions, RestApiMappingFunction, RestApiMappingSchema, RotateOrgWorkspaceSecretResponse, RunActionRequest, RunFieldMappingRequest, RunFieldMappingResponse, RunFlowApiRequest, SYSTEM_FIELDS, ScenarioAccessor, ScenarioTemplate, ScenarioTemplateCategory, ScenarioTemplateElements, ScenariosAccessor, ScreenAccessor, ScreenApiResponse, ScreenBlock, ScreenBlockType, ScreenSelector, ScreenType, ScreensAccessor, SearchQuery, SelfAccessor, SelfHostingToken, SessionCredentials, SessionParameters, StatsFilterQuery, TenantLayerElement, TenantSelfResponse, UDM, UNIFIED_DATA_MODELS, UnitRunError, UpdateActionInstanceRequest, UpdateActionRequest, UpdateConnectedProductRequest, UpdateConnectionRequest, UpdateConnectorRequest, UpdateCustomerRequest, UpdateDataLinkTableRequest, UpdateDataSourceInstanceRequest, UpdateDataSourceRequest, UpdateFieldMappingInstanceRequest, UpdateFieldMappingRequest, UpdateFlowRequest, UpdateIntegrationRequest, UpdateMembraneInstanceRequest, UpdateOrgInvitationRequest, UpdateOrgRequest, UpdateOrgUserRequest, UpdatePackageRequest, UpdateScreenRequest, UpdateSelfHostingTokenRequest, UpdateWorkspaceLimitsRequest, UpdateWorkspaceRequest, UpstreamFlowNodeRunSchema, UsageType, UserAccessor, UsersAccessor, ValidateSelfHostingTokenRequest, ValidateSelfHostingTokenResponse, WORKSPACE_DATABASE_RECORD_COLLECTIONS, WORKSPACE_ELEMENTS_STATS_COLLECTIONS, WORKSPACE_ELEMENT_COLLECTIONS, WORKSPACE_SIZE_LIMITS, WebhookTypeEnum, Workspace, WorkspaceAiCreditLimits, WorkspaceEditableFields, WorkspaceElementChangeType, WorkspaceElementDependencyType, WorkspaceElementSearchQuery, WorkspaceElementSearchResult, WorkspaceElementSpecs, WorkspaceElementState, WorkspaceElementType, WorkspaceElementsStatsSchema, WorkspaceEventType, WorkspaceLimitsSchema, WorkspaceNotificationType, WorkspacePublicKey, WorkspaceSettingsSchema, WorkspaceSizeLimits, WorkspaceSyncEventType, WorkspaceType, WritableConnectorVersionData, WritablePackageVersionData, WriteableConnectorFields, WriteableConnectorOption, __resolveValue, addRequiredFieldsToSchema, addUdmFallbackFields, addUndefinedWriteableProperties, backwardCompatibleFilterMatch, buildData, buildDataSchema, buildValue, compareWorkspaceExports, compressDataSchema, createCompoundSchema, createFlowInstanceSchema, createObjectFromLocators, createOrUpdateConnection, createPaginationResponseSchema, createSchema, dataCollectionEventTypeToExternalEventType, dataLocationParametersMatch, doesMatchFilter, excludeFieldsFromSchema, excludeFieldsFromValue, excludeReadOnlyFieldsFromSchema, excludeWriteOnlyFieldsFromSchema, externalEventTypeToDataCollectionEventType, extractFieldLocator, extractMembraneErrorData, findUdmCollectionMapping, findUdmDefaultCollection, findUdmRootLocation, findValueLocators, generateExampleFromSchema, getActionInstanceVariableSchema, getActionRunTimeVariablesSchema, getAlertCategoryDisplayName, getAlertDeliveryMethodLabel, getAlertTypeDisplayName, getAlertTypesByCategory, getAllEventMethodFilePaths, getBusinessDaysBetween, getChildNodeKeys, getConnectionRequestUrl, getConnectorSpecPath, getConnectorVersionPath, getDataCollectionCreateFields, getDataCollectionUpdateFields, getDataLocationMethodPath, getDownstreamNodeKeys, getEditablePathsForElementType, getEditablePathsFromSchema, getEffectiveConnectorOption, getElementSelector, getErrorFromData, getEventMethodFileKey, getFilterFieldMeta, getFilterFieldValuesByLocator, getFlowInstanceNodeDependency, getFlowNode, getFlowNodeConfigTimeVariablesSchema, getFlowNodeDescription, getFlowNodeRunTimeVariablesSchema, getFlowNodeSpec, getFlowNodeTitle, getFormula$1 as getFormula, getFormulaLocators, getFormula as getFormula_internalDoNotUse, getFullNameForLocator, getFullTitleForLocator, getIconUriForLocator, getLocatorsFromData, getLocatorsFromSchema, getMembraneElementPath, getMissingRequiredFields, getNameComponentsForLocator, getNameForLocator, getNodeInputSchema, getOperatorsBySchema, getParentNodeKeys, getReferenceCollectionPathForSchema, getReferenceCollectionPointerForSchema, getRequiredFieldsFromSchema, getRootNodeKeys, getSchemaByLocator, getSchemaDescription, getSchemaFromValue, getUpstreamNodeKeys, getValueAtLocator, getValueByLocator, getVariableLocators, getWritableFieldsSchema, hasCycles, hasFormulas$1 as hasFormulas, hasFormulas as hasFormulas_internalDoNotUse, injectFormulaCatalog, isBlob, isBusinessDay, isDataActionType, isDataLocationMethodSupported, isDeliveryMethodEnabled, isFormula$1 as isFormula, isFormula as isFormula_internalDoNotUse, isHubInstanceId, isHubWorkspace, isMembraneError, isObject, isPathUserEditable, isSameDataLocation, isSchemaEmpty, isSelfHostedInstance, isStream, isValidAlertType, isValidLocator, jsonPointerToDotPath, lenientParseWithSchema, locatorToField, locatorToSteps, locatorToString, makeDataLocationOperationPath, makeDataLocationPath, makeDataRecordSchema, makeObjectPropertyLocator, makeSchemaForLocator, mergeSchemas, mergeWithFormulas, nonEmptyObjectProperties, parseDataLocationPath, parseDate, parseMembraneElementPath, patchSchema, pickFieldsFromSchema, pickFieldsFromValue, populateSchemaTitles, processCopy, removeNonExistentVars, removeRequiredFieldsFromSchema, resolveFormulas, schemaAllowsCustomValue, schemaHasFixedValues, schemaHasProperties, schemaIsNumber, schemaIsScalar, schemaTypeFromValue, schemaWithTitle, selectHighestPriorityScope, setEditablePropertiesForWorkspaceElement, setSchemaAtLocator, setValueAtLocator, stepsToLocator, streamToString, transformVariablesWith, transformVars, truncateData, unwrapSchema, unwrapSchemas, updateFlowInstanceSchema, updateImpliedSchema, validateFunctionDefinitions, valueToSchema, valueToString, walkSchema, wrapAnyOfSchema, zodBooleanCoercion, zodDateCoercion };
|
|
16733
|
+
export { ACTIONS, AGENTIC_CONNECTION_REQUEST_SCREEN_PATH, AIGatewaySupportedModelIdSchema, AI_GATEWAY_PROVIDER_MODELS, AI_GATEWAY_SUPPORTED_MODELS, AI_GATEWAY_SUPPORTED_MODEL_IDS, ALERT_DELIVERY_METHODS, ALERT_TYPE_CATEGORIES, AccessDeniedError, AccountResponse, ActApiDispatch, ActRequest, ActionAccessor, ActionApiResponse, ActionDependency, ActionDependencyType, ActionEditableProperties, ActionExportProperties, ActionInstanceAccessor, ActionInstanceApiResponse, ActionInstanceSetupError, ActionInstancesAccessor, ActionRunError, ActionRunLogRecordApiResponse, ActionRunLogStatus, ActionRunResponse, ActionRunsStatsQuery, ActionType, ActionsAccessor, ActivityLogRecord, ActivityStatsQuery, AgentName, AgentSession, AgentSessionAttachment, AgentSessionInputSchema, AgentSessionState, AgentSessionStatus, AiAgentAudience, AiAgentParameters, AiAgentType, Alert, AlertCategory, AlertDeliverySettingsSchema, AlertSchema, AlertSeverity, AlertStatus, AlertType, AlertTypeDeliverySettingsSchema, And, ApiRequestSpec, AppDataSchemaAccessor, AppDataSchemaApiResponse, AppDataSchemaEditableProperties, AppDataSchemaExportProperties, AppDataSchemaInstanceAccessor, AppDataSchemaInstanceApiResponse, AppDataSchemaInstancesAccessor, AppDataSchemasAccessor, AppEventLogRecordApiResponse, AppEventSubscriptionAccessor, AppEventSubscriptionApiResponse, AppEventSubscriptionsAccessor, AppEventTypeAccessor, AppEventTypeApiResponse, AppEventTypeEditableProperties, AppEventTypeExportProperties, AppEventTypesAccessor, AppSchema, AppliedToIntegrations, AsyncRequestStatus, AsyncRequestTriggerResponse, AuthContextPermissionsSchema, BackwardCompatibleDataSourceEditableProperties, BadRequestError, BadRequestErrorKey, BaseAction, BaseActionInstance, BaseActionRunLogRecord, BaseAppDataSchema, BaseAppDataSchemaInstance, BaseAppEventSubscription, BaseAppEventType, BaseConnectedProduct, BaseConnection, BaseConnectionAttemptLog, BaseConnector, BaseCustomer, BaseDataLinkTable, BaseDataLinkTableInstance, BaseDataSource, BaseDataSourceInstance, BaseExternalEvent, BaseExternalEventLogRecord, BaseExternalEventPull, BaseExternalEventSubscription, BaseFieldMapping, BaseFieldMappingInstance, BaseFlow, BaseFlowInstance, BaseFlowRun, BaseFunctionDefinition, BaseIntegration, BaseIntegrationLevelMembraneInterface, BaseIntegrationLevelMembraneInterfaceEditableProperties, BaseIntegrationLevelMembraneInterfaceExportProperties, BaseIntegrationLevelMembraneInterfaceReadOnlyProperties, BaseMembraneInterface, BaseMembraneInterfaceEditableProperties, BaseMembraneInterfaceReadOnlyProperties, BaseOrgUser, BasePackage, BaseScreen, BaseWorkspaceElement, CLIENT_TOKEN_GRANT_TYPES, CONNECTION_REQUEST_ID_PARAM, CONNECTION_REQUEST_SCREEN_PATH, 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, CONNECTOR_VERSION_DEVELOPMENT, CONNECTOR_VERSION_LATEST, CONSOLE_ACCOUNT_API_TOKEN_PATH, CheckpointApiResponse, CheckpointDiffOperationSchema, CheckpointDiffResponseSchema, ClientToken, ClientTokenGrantType, ClientTokenListResponse, CommonFindElementsQuery, CommonFindInstancesQuery, CommonInstancesListQuery, CommonIntegrationOrConnectionQuery, CommonListElementsQuery, ConcurrencyError, ConcurrencyErrorKey, ConfigurationError, ConfigurationState, ConnectPayload, ConnectUIOptions, ConnectedProductApiResponse, ConnectedProductAudience, ConnectedProductType, ConnectionAccessor, ConnectionApiResponse, ConnectionApiResponseWithSecrets, ConnectionAttemptLogApiResponse, ConnectionClientAction, ConnectionDataCollectionAccessor, ConnectionEditableProperties, ConnectionError, ConnectionErrorKey, ConnectionExportProperties, ConnectionLevelActionAccessor, ConnectionLevelActionsAccessor, ConnectionLevelDataSourceAccessor, ConnectionLevelDataSourcesAccessor, ConnectionLevelFieldMappingAccessor, ConnectionLevelFieldMappingsAccessor, ConnectionLevelFlowAccessor, ConnectionLevelFlowsAccessor, ConnectionMessagePayload, ConnectionOperationAccessor, ConnectionOperationRunInput, ConnectionOperationRunResponse, ConnectionProxy, ConnectionProxyRequest, ConnectionRequest, ConnectionSelector, ConnectionSpec, ConnectionTestResponse, ConnectionsAccessor, Connector, ConnectorAuth, ConnectorAuthClientCredentials, ConnectorAuthHandlerBase, ConnectorAuthIntegrationAppToken, ConnectorAuthMembraneToken, ConnectorAuthMethodTypes, ConnectorAuthOAuth1, ConnectorAuthOAuth2, ConnectorAuthProxy, ConnectorAuthSpec, ConnectorAuthSuccessRecord, ConnectorAuthWithFunctions, ConnectorDataCollectionEventImplementationType, ConnectorDataCollectionMethodKeys, ConnectorDataLocationTypes, ConnectorEventHandlerMethods, ConnectorEventImplementationType, ConnectorExportProperties, ConnectorFileUpdateType, ConnectorFunctionSpecs, ConnectorMethodImplementation, ConnectorMethodImplementationBase, ConnectorMethodImplementationGraphqlApiMapping, ConnectorMethodImplementationJavascript, ConnectorMethodImplementationMapping, ConnectorMethodImplementationNotSupported, ConnectorMethodImplementationOperationMapping, ConnectorMethodImplementationRestApiMapping, ConnectorMethodImplementationType, ConnectorOperationMethodImplementationTypes, ConnectorOption, ConnectorOptions, ConnectorSpec, ConnectorStatus, ConnectorStatusValues, ConnectorUdmCollectionMapping, ConnectorUdmListItem, ConnectorUdmSpec, ConnectorUiSpec, ConnectorVersion, ConnectorVersionData, CreateActionInstanceRequest, CreateActionRequest, CreateAgentSession, CreateAlert, CreateClientTokenRequest, CreateClientTokenResponse, CreateConnectedProductRequest, CreateConnectionRequest, CreateConnectionRequestPayload, CreateConnectorRequest, CreateCustomerRequest, CreateDataLinkTableRequest, CreateDataSourceInstanceRequest, CreateDataSourceRequest, CreateFieldMappingInstanceRequest, CreateFieldMappingRequest, CreateFlowNodeRequest, CreateFlowRequest, CreateFlowRunRequest, CreateIntegrationRequest, CreateMembraneInstanceRequest, CreateOrgInvitationRequest, CreateOrgRequest, CreateOrgUserRequest, CreateOrgWorkspaceRequest, CreatePackageRequest, CreateScreenRequest, CreateSelfHostingTokenRequest, CreateSelfHostingTokenResponse, CreateWorkspaceRequest, CustomCodeError, CustomerAccessor, CustomerApiResponse, CustomerLimits, CustomerSelector, CustomersAccessor, DATA_RECORD_SCHEMA, DEFAULT_AI_GATEWAY_MODEL_ID, DEFAULT_ALERT_DELIVERY_SETTINGS, DEFAULT_ALERT_TYPE_DELIVERY_SETTINGS, DEFAULT_FULL_SYNC_INTERVAL_SECONDS, DEFAULT_PULL_UPDATES_INTERVAL_SECONDS, DataBuilderFormulaBase, DataBuilderFormulaCase, DataBuilderFormulaConcat, DataBuilderFormulaCopy, DataBuilderFormulaExtractDate, DataBuilderFormulaExtractTime, DataBuilderFormulaFindAppRecordId, DataBuilderFormulaFindExternalRecordId, DataBuilderFormulaFirstName, DataBuilderFormulaIterate, DataBuilderFormulaLastName, DataBuilderFormulaLookup, DataBuilderFormulaMap, DataBuilderFormulaPlain, DataBuilderFormulaRecord, DataBuilderFormulaTpl, DataBuilderFormulaType, DataBuilderFormulaVar, DataCollectionCreateRequest, DataCollectionCreateResponse, DataCollectionCreateSpec, DataCollectionDeleteRequest, DataCollectionDeleteResponse, DataCollectionDeleteSpec, DataCollectionEventType, DataCollectionEventTypeSpec, DataCollectionEventsSpec, DataCollectionFindByIdRequest, DataCollectionFindByIdResponse, DataCollectionFindByIdSpec, DataCollectionFindRequest, DataCollectionFindResponse, DataCollectionFindSpec, DataCollectionListRequest, DataCollectionListResponse, DataCollectionListResponseDrilldown, DataCollectionListSpec, DataCollectionMatchRequest, DataCollectionMatchResponse, DataCollectionMatchSpec, DataCollectionMethodRequest, DataCollectionMethodSpec, DataCollectionSearchRequest, DataCollectionSearchResponse, DataCollectionSearchSpec, DataCollectionSpec, DataCollectionUdmSpec, DataCollectionUdmsSpec, DataCollectionUpdateRequest, DataCollectionUpdateResponse, DataCollectionUpdateSpec, DataFilterCondition, DataForm, DataLink, DataLinkDirection, DataLinkTableAccessor, DataLinkTableApiResponse, DataLinkTableConfig, DataLinkTableEditableProperties, DataLinkTableExportProperties, DataLinkTableInstanceAccessor, DataLinkTableInstanceApiResponse, DataLinkTableInstancesAccessor, DataLinkTableLayer, DataLinkTablesAccessor, DataLocationMethodImplementationTypes, DataLocationPointer, DataLocationTypeCollection, DataLocatorStep, DataLocatorStepArrayItem, DataLocatorStepObjectProperty, DataLocatorStepType, DataRecordSchema, DataSchema, DataSchemaRef, DataSourceAccessor, DataSourceApiResponse, DataSourceEditableProperties, DataSourceExportProperties, DataSourceInstanceAccessor, DataSourceInstanceApiResponse, DataSourceInstancesAccessor, DataSourceUnitConfig, DataSourcesAccessor, DbBackedCountsSchema, DependencyError, DomainFromEmail, DownstreamFlowNodeRunSchema, EDITABLE_LIMITS, ElementAccessor, ElementInstanceAccessor, ElementInstanceListAccessor, ElementListAccessor, ElementsExportFields, EngineCreditsProjectionResponse, EngineWorkspaceSettingsSchema, EnsureConnectionRequest, ErrorData, ErrorDataSchema, ErrorType, Eval, ExternalApiLogApiResponse, ExternalEvent, ExternalEventLogRecordApiResponse, ExternalEventLogStatus, ExternalEventPullApiResponse, ExternalEventPullStatus, ExternalEventSubscriptionAccessor, ExternalEventSubscriptionApiResponse, ExternalEventSubscriptionConfig, ExternalEventSubscriptionStatus, ExternalEventSubscriptionType, ExternalEventSubscriptionsAccessor, ExternalEventType, ExternalEventUnitConfig, FLOW_NODE_SPECS, FieldMappingAccessor, FieldMappingApiResponse, FieldMappingDirection, FieldMappingEditableProperties, FieldMappingExportProperties, FieldMappingInstanceAccessor, FieldMappingInstanceApiResponse, FieldMappingInstancesAccessor, FieldMappingUnitConfig, FieldMappingsAccessor, FindActionInstancesQuery, FindActionRunLogsQuery, FindActionRunLogsResponse, FindActionsQuery, FindAlertsQuery, FindAppDataSchemaInstancesQuery, FindAppDataSchemasQuery, FindAppEventSubscriptionsQuery, FindAppEventTypesQuery, FindAppEventsQuery, FindConnectedProductsQuery, FindConnectionAttemptLogsQuery, FindConnectionAttemptLogsResponse, FindConnectionsQuery, FindConnectionsResponse, FindCustomersQuery, FindDataLinkTableInstanceLinksQuery, FindDataLinkTableInstancesQuery, FindDataLinkTablesQuery, FindDataLinksInTableQuery, FindDataLinksQuery, FindDataLinksResponse, FindDataSourceEventsQuery, FindDataSourceInstanceSyncsQuery, FindDataSourceInstancesQuery, FindDataSourceSyncsQuery, FindDataSourcesQuery, FindExternalEventPullsQuery, FindFieldMappingInstancesQuery, FindFieldMappingsQuery, FindFlowInstancesQuery, FindFlowRunsQuery, FindFlowRunsResponse, FindFlowsQuery, FindIntegrationLevelMembraneInterfaceQuery, FindIntegrationsQuery, FindOrgWorkspacesQuery, FindOrgsQuery, FindPackagesQuery, FindScreensQuery, FirstNotEmpty, FlowAccessor, FlowApiResponse, FlowEditableProperties, FlowExportProperties, FlowInstanceAccessor, FlowInstanceApiResponse, FlowInstanceSetupError, FlowInstancesAccessor, FlowNode, FlowNodeLink, FlowNodeRunOutputMetadataSchema, FlowNodeRunOutputSchema, FlowNodeRunOutputWithoutDownstreamRunsSchema, FlowNodeRunParametersSchema, FlowNodeRunRecordSchema, FlowNodeRunRecordWithoutOutputsDataSchema, FlowNodeRunResultSchema, FlowNodeRunStatus, FlowNodeSpec, FlowNodeState, FlowNodeType, FlowRunAccessor, FlowRunApiResponse, FlowRunError, FlowRunLaunchedBy, FlowRunLaunchedByApi, FlowRunLaunchedByTrigger, FlowRunNode, FlowRunNodeState, FlowRunState, FlowRunsAccessor, FlowRunsStatsQuery, FlowsAccessor, Formula, FormulaFormula, FullOrgUser, FullPlatformUser, FunctionDefinition, FunctionType, GenerateOptionsRequest, GenerateWorkspaceAccessTokenRequest, GenerateWorkspaceAccessTokenResponse, GeneratedConnectorOption, GenericFunctionDefinition, GetWorkspaceQuery, GraphQLApiMappingSchema, GraphQLFieldMappingSchema, GraphqlApiMappingFunction, HTTP_REQUEST_SCHEMA, HUB_INSTANCE_ID, HandyScenarioTemplateElement, HttpRequestMethod, HttpRequestSpec, IncludeArchivedQuery, IncomingWebhookApiResponse, IncomingWebhooksState, InsufficientCreditsError, IntegrationAccessor, IntegrationApiResponse, MembraneClient as IntegrationAppClient, IntegrationAppError, IntegrationAuthOption, IntegrationAuthUi, IntegrationEditableProperties, IntegrationElementLevel, IntegrationElementType, IntegrationExportProperties, IntegrationLayerStatsQuery, IntegrationLevelActionAccessor, IntegrationLevelActionsListAccessor, IntegrationLevelDataSourceAccessor, IntegrationLevelDataSourcesListAccessor, IntegrationLevelFieldMappingAccessor, IntegrationLevelFieldMappingsListAccessor, IntegrationLevelFlowAccessor, IntegrationLevelFlowsListAccessor, IntegrationLevelMembraneInterfaceSelectorQuery, IntegrationListItem, IntegrationOptionConfig, IntegrationOptions, IntegrationSpecificElementSelector, IntegrationsAccessor, IntentProperties, InternalError, InvalidLocatorError, JavascriptFunction, JsonataFormula, LimitUnits, ListActionInstancesForConnectionQuery, ListAppEventLogRecordsQuery, ListDataSourceInstancesForConnectionQuery, ListExternalApiLogsQuery, ListExternalAppsQuery, ListExternalEventLogRecordsQuery, ListExternalEventPullsQuery, ListExternalEventSubscriptionsQuery, ListFlowInstancesForConnectionQuery, ListIncomingWebhooksQuery, ListMembraneInstancesQuery, ListMembraneInstancesResponse, ListOrgWorkspacesQuery, ListOrgWorkspacesResponse, ListPublicConnectorsQuery, ListPublicPackagesQuery, ListWorkspacesQuery, LogRecordType, MEMBRANE_CLI_CLIENT_ID, MEMBRANE_ELEMENT_CONFIG_FILE_NAME, MEMBRANE_SESSION_ID_HEADER, MIN_FULL_SYNC_INTERVAL_SECONDS, MIN_PULL_UPDATES_INTERVAL_SECONDS, MappingFunction, MappingSchema, MembraneAgentKey, axios as MembraneAxiosInstance, MembraneClient, MembraneCredentials, MembraneElementLayer, MembraneError, MembraneInstance, MembraneInstanceAdmin, MergeObjects, MinimalConnector, NotAuthenticatedError, NotFoundError, OAUTH1_CONFIG_SCHEMA, OAUTH_CONFIG_SCHEMA, OAUTH_TOKEN_TYPES, OAUTH_TOKEN_TYPE_CONNECTION, OAUTH_TOKEN_TYPE_PLATFORM_USER, OAUTH_TOKEN_TYPE_TENANT, OAuthTokenResponse, OpenRouterNotConfiguredError, OpenapiMappingSchema, OperationMappingFunction, OperationMappingSchema, Or, Org, OrgInstance, OrgInstanceType, OrgInstanceWorkspace, OrgInvitation, OrgLimits, OrgLimitsType, OrgPlan, OrgUserRole, OrgUserStatus, OrgWorkspace, OrgWorkspaceUpdateRequest, OrgWorkspaceUser, PACKAGE_VERSION_DEVELOPMENT, PACKAGE_VERSION_LATEST, PARALLEL_EXECUTION_LIMITS, PackageAccessor, PackageApiResponse, PackageCalculatedProperties, PackageEditableProperties, PackageElement, PackageElementApi, PackageElementExport, PackageExportProperties, PackageVersionData, PackageVersionListItem, PackagesAccessor, PaginationQuery, PaginationResponse, ParallelExecutionLimits, PatchAgentSessionSchema, PatchConnectionRequestPayload, PatchUserWorkspaceSettings, PendingQueueCountSchema, PendingTasksSummarySchema, PlatformUser, RATE_LIMITS, REFERENCE_ELEMENT_TYPE_SELF, RateLimitExceededError, RateLimits, RequestMappingSchema, ResetFlowInstanceOptions, RestApiMappingFunction, RestApiMappingSchema, RotateOrgWorkspaceSecretResponse, RunActionRequest, RunFieldMappingRequest, RunFieldMappingResponse, RunFlowApiRequest, SYSTEM_FIELDS, ScenarioAccessor, ScenarioTemplate, ScenarioTemplateCategory, ScenarioTemplateElements, ScenariosAccessor, ScreenAccessor, ScreenApiResponse, ScreenBlock, ScreenBlockType, ScreenSelector, ScreenType, ScreensAccessor, SearchQuery, SelfAccessor, SelfHostingToken, SessionCredentials, SessionParameters, StatsFilterQuery, TenantLayerElement, TenantSelfResponse, UDM, UNIFIED_DATA_MODELS, UnitRunError, UpdateActionInstanceRequest, UpdateActionRequest, UpdateConnectedProductRequest, UpdateConnectionRequest, UpdateConnectorRequest, UpdateCustomerRequest, UpdateDataLinkTableRequest, UpdateDataSourceInstanceRequest, UpdateDataSourceRequest, UpdateFieldMappingInstanceRequest, UpdateFieldMappingRequest, UpdateFlowRequest, UpdateIntegrationRequest, UpdateMembraneInstanceRequest, UpdateOrgInvitationRequest, UpdateOrgRequest, UpdateOrgUserRequest, UpdatePackageRequest, UpdateScreenRequest, UpdateSelfHostingTokenRequest, UpdateWorkspaceLimitsRequest, UpdateWorkspaceRequest, UpstreamFlowNodeRunSchema, UsageType, UserAccessor, UsersAccessor, ValidateSelfHostingTokenRequest, ValidateSelfHostingTokenResponse, WORKSPACE_DATABASE_RECORD_COLLECTIONS, WORKSPACE_ELEMENTS_STATS_COLLECTIONS, WORKSPACE_ELEMENT_COLLECTIONS, WORKSPACE_SIZE_LIMITS, WebhookTypeEnum, Workspace, WorkspaceAiCreditLimits, WorkspaceEditableFields, WorkspaceElementChangeType, WorkspaceElementDependencyType, WorkspaceElementSearchQuery, WorkspaceElementSearchResult, WorkspaceElementSpecs, WorkspaceElementState, WorkspaceElementType, WorkspaceElementsStatsSchema, WorkspaceEventType, WorkspaceLimitsSchema, WorkspaceNotificationType, WorkspaceOnboardingData, WorkspacePublicKey, WorkspaceSettingsSchema, WorkspaceSizeLimits, WorkspaceSyncEventType, WorkspaceType, WritableConnectorVersionData, WritablePackageVersionData, WriteableConnectorFields, WriteableConnectorOption, __resolveValue, addRequiredFieldsToSchema, addUdmFallbackFields, addUndefinedWriteableProperties, backwardCompatibleFilterMatch, buildData, buildDataSchema, buildValue, compareWorkspaceExports, compressDataSchema, createCompoundSchema, createFlowInstanceSchema, createObjectFromLocators, createOrUpdateConnection, createPaginationResponseSchema, createSchema, dataCollectionEventTypeToExternalEventType, dataLocationParametersMatch, doesMatchFilter, excludeFieldsFromSchema, excludeFieldsFromValue, excludeReadOnlyFieldsFromSchema, excludeWriteOnlyFieldsFromSchema, externalEventTypeToDataCollectionEventType, extractFieldLocator, extractMembraneErrorData, findUdmCollectionMapping, findUdmDefaultCollection, findUdmRootLocation, findValueLocators, formatSessionCost, generateExampleFromSchema, getActionInstanceVariableSchema, getActionRunTimeVariablesSchema, getAlertCategoryDisplayName, getAlertDeliveryMethodLabel, getAlertTypeDisplayName, getAlertTypesByCategory, getAllEventMethodFilePaths, getBusinessDaysBetween, getChildNodeKeys, getConnectionRequestUrl, getConnectorSpecPath, getConnectorVersionPath, getDataCollectionCreateFields, getDataCollectionUpdateFields, getDataLocationMethodPath, getDownstreamNodeKeys, getEditablePathsForElementType, getEditablePathsFromSchema, getEffectiveConnectorOption, getElementSelector, getErrorFromData, getEventMethodFileKey, getFilterFieldMeta, getFilterFieldValuesByLocator, getFlowInstanceNodeDependency, getFlowNode, getFlowNodeConfigTimeVariablesSchema, getFlowNodeDescription, getFlowNodeRunTimeVariablesSchema, getFlowNodeSpec, getFlowNodeTitle, getFormula$1 as getFormula, getFormulaLocators, getFormula as getFormula_internalDoNotUse, getFullNameForLocator, getFullTitleForLocator, getIconUriForLocator, getLocatorsFromData, getLocatorsFromSchema, getMembraneElementPath, getMissingRequiredFields, getNameComponentsForLocator, getNameForLocator, getNodeInputSchema, getOperatorsBySchema, getParentNodeKeys, getReferenceCollectionPathForSchema, getReferenceCollectionPointerForSchema, getRequiredFieldsFromSchema, getRootNodeKeys, getSchemaByLocator, getSchemaDescription, getSchemaFromValue, getUpstreamNodeKeys, getValueAtLocator, getValueByLocator, getVariableLocators, getWritableFieldsSchema, hasCycles, hasFormulas$1 as hasFormulas, hasFormulas as hasFormulas_internalDoNotUse, injectFormulaCatalog, isAIGatewaySupportedModelId, isBlob, isBusinessDay, isDataActionType, isDataLocationMethodSupported, isDeliveryMethodEnabled, isFormula$1 as isFormula, isFormula as isFormula_internalDoNotUse, isHubInstanceId, isHubWorkspace, isMembraneError, isObject, isPathUserEditable, isSameDataLocation, isSchemaEmpty, isSelfHostedInstance, isStream, isValidAlertType, isValidLocator, jsonPointerToDotPath, lenientParseWithSchema, locatorToField, locatorToSteps, locatorToString, makeDataLocationOperationPath, makeDataLocationPath, makeDataRecordSchema, makeObjectPropertyLocator, makeSchemaForLocator, mergeSchemas, mergeWithFormulas, nonEmptyObjectProperties, parseDataLocationPath, parseDate, parseMembraneElementPath, patchSchema, pickFieldsFromSchema, pickFieldsFromValue, populateSchemaTitles, processCopy, removeNonExistentVars, removeRequiredFieldsFromSchema, resolveFormulas, schemaAllowsCustomValue, schemaHasFixedValues, schemaHasProperties, schemaIsNumber, schemaIsScalar, schemaTypeFromValue, schemaWithTitle, setEditablePropertiesForWorkspaceElement, setSchemaAtLocator, setValueAtLocator, stepsToLocator, streamToString, transformVariablesWith, transformVars, truncateData, unwrapSchema, unwrapSchemas, updateFlowInstanceSchema, updateImpliedSchema, validateFunctionDefinitions, valueToSchema, valueToString, walkSchema, wrapAnyOfSchema, zodBooleanCoercion, zodDateCoercion };
|
|
16491
16734
|
//# sourceMappingURL=index.node.mjs.map
|