@membranehq/sdk 0.27.0 → 0.28.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundle.d.ts +20 -0
- package/dist/bundle.js +4599 -328
- package/dist/bundle.js.map +1 -1
- package/dist/dts/accessors/connections-accessors.d.ts +2 -0
- package/dist/dts/accessors/integrations-accessors.d.ts +2 -0
- package/dist/dts/agent/session.d.ts +1 -1
- package/dist/dts/api-client.d.ts +2 -2
- package/dist/dts/api-version.generated.d.ts +1 -0
- package/dist/dts/async-requests/types.d.ts +2 -1
- package/dist/dts/oauth/types.d.ts +1 -0
- package/dist/dts/usage/types.d.ts +2 -1
- package/dist/dts/webhooks/types.d.ts +3 -2
- package/dist/dts/workspace-elements/api/action-run-log-records-api.d.ts +4 -0
- package/dist/dts/workspace-elements/api/connections-api.d.ts +6 -0
- package/dist/dts/workspace-elements/api/data-link-table-instances-api.d.ts +2 -0
- package/dist/dts/workspace-elements/api/data-sources-api.d.ts +4 -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 +2 -0
- package/dist/dts/workspace-elements/api/field-mappings-api.d.ts +4 -0
- package/dist/dts/workspace-elements/api/flow-runs-api.d.ts +4 -0
- package/dist/dts/workspace-elements/api/flows-api.d.ts +4 -0
- package/dist/dts/workspace-elements/api/incoming-webhooks-api.d.ts +2 -0
- package/dist/dts/workspace-elements/api/integrations-api.d.ts +2 -0
- package/dist/dts/workspace-elements/base/connection-requests/index.d.ts +1 -3
- package/dist/dts/workspace-elements/base/connections/index.d.ts +2 -0
- package/dist/dts/workspace-elements/base/connectors/index.d.ts +1 -1
- package/dist/dts/workspace-elements/base/connectors/rest-api.d.ts +1 -1
- package/dist/index.browser.d.mts +61 -12
- package/dist/index.browser.d.ts +61 -12
- package/dist/index.browser.js +20 -36
- package/dist/index.browser.js.map +1 -1
- package/dist/index.browser.mjs +20 -37
- package/dist/index.browser.mjs.map +1 -1
- package/dist/index.node.d.mts +61 -12
- package/dist/index.node.d.ts +61 -12
- package/dist/index.node.js +20 -36
- package/dist/index.node.js.map +1 -1
- package/dist/index.node.mjs +20 -37
- package/dist/index.node.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.node.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import z$1, { z } from 'zod';
|
|
2
|
-
import
|
|
2
|
+
import * as _axios from 'axios';
|
|
3
|
+
import { AxiosRequestConfig } from 'axios';
|
|
3
4
|
import { Readable } from 'node:stream';
|
|
4
5
|
import https from 'https';
|
|
5
6
|
|
|
@@ -778,9 +779,7 @@ type BaseActionInstance = BaseAction;
|
|
|
778
779
|
declare const CONNECTION_REQUEST_SCREEN_PATH = "screens/connect";
|
|
779
780
|
declare const AGENTIC_CONNECTION_REQUEST_SCREEN_PATH = "screens/connections";
|
|
780
781
|
declare const CONNECTION_REQUEST_ID_PARAM = "connectionRequestId";
|
|
781
|
-
declare function getConnectionRequestUrl(baseUri: string, requestId: string
|
|
782
|
-
prompt?: string;
|
|
783
|
-
}): string;
|
|
782
|
+
declare function getConnectionRequestUrl(baseUri: string, requestId: string): string;
|
|
784
783
|
declare const CreateConnectionRequestPayload: z.ZodObject<{
|
|
785
784
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
786
785
|
integrationKey: z.ZodOptional<z.ZodString>;
|
|
@@ -6271,7 +6270,7 @@ declare const ConnectorOption: z.ZodObject<{
|
|
|
6271
6270
|
}, z.core.$strip>;
|
|
6272
6271
|
type ConnectorOption = z.infer<typeof ConnectorOption>;
|
|
6273
6272
|
declare const GeneratedConnectorOption: z.ZodObject<{
|
|
6274
|
-
key: z.ZodString
|
|
6273
|
+
key: z.ZodOptional<z.ZodString>;
|
|
6275
6274
|
type: z.ZodEnum<{
|
|
6276
6275
|
proxy: "proxy";
|
|
6277
6276
|
"integration-app-token": "integration-app-token";
|
|
@@ -8175,6 +8174,8 @@ declare const BaseConnection: z.ZodObject<{
|
|
|
8175
8174
|
disconnected: z.ZodOptional<z.ZodBoolean>;
|
|
8176
8175
|
isDefunct: z.ZodOptional<z.ZodBoolean>;
|
|
8177
8176
|
state: z.ZodOptional<z.ZodEnum<typeof WorkspaceElementState>>;
|
|
8177
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>>;
|
|
8178
|
+
requestError: z.ZodOptional<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>;
|
|
8178
8179
|
error: z.ZodOptional<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>;
|
|
8179
8180
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
8180
8181
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
@@ -10949,7 +10950,7 @@ interface BlobLike {
|
|
|
10949
10950
|
declare function isBlob(value: unknown): value is BlobLike;
|
|
10950
10951
|
declare function truncateData(data: any, depth?: number): any;
|
|
10951
10952
|
|
|
10952
|
-
declare const axios: AxiosInstance;
|
|
10953
|
+
declare const axios: _axios.AxiosInstance;
|
|
10953
10954
|
interface MembraneClientOptions {
|
|
10954
10955
|
token?: string;
|
|
10955
10956
|
fetchToken?: () => Promise<string>;
|
|
@@ -11277,6 +11278,8 @@ declare const ConnectionApiResponse: z.ZodObject<{
|
|
|
11277
11278
|
disconnected: z.ZodOptional<z.ZodBoolean>;
|
|
11278
11279
|
isDefunct: z.ZodOptional<z.ZodBoolean>;
|
|
11279
11280
|
state: z.ZodOptional<z.ZodEnum<typeof WorkspaceElementState>>;
|
|
11281
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>>;
|
|
11282
|
+
requestError: z.ZodOptional<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>;
|
|
11280
11283
|
error: z.ZodOptional<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>;
|
|
11281
11284
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
11282
11285
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
@@ -11376,6 +11379,8 @@ declare const ConnectionApiResponseWithSecrets: z.ZodObject<{
|
|
|
11376
11379
|
disconnected: z.ZodOptional<z.ZodBoolean>;
|
|
11377
11380
|
isDefunct: z.ZodOptional<z.ZodBoolean>;
|
|
11378
11381
|
state: z.ZodOptional<z.ZodEnum<typeof WorkspaceElementState>>;
|
|
11382
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>>;
|
|
11383
|
+
requestError: z.ZodOptional<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>;
|
|
11379
11384
|
error: z.ZodOptional<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>;
|
|
11380
11385
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
11381
11386
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
@@ -11483,6 +11488,8 @@ declare const ConnectionMessagePayload: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
11483
11488
|
disconnected: z.ZodOptional<z.ZodBoolean>;
|
|
11484
11489
|
isDefunct: z.ZodOptional<z.ZodBoolean>;
|
|
11485
11490
|
state: z.ZodOptional<z.ZodEnum<typeof WorkspaceElementState>>;
|
|
11491
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>>;
|
|
11492
|
+
requestError: z.ZodOptional<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>;
|
|
11486
11493
|
error: z.ZodOptional<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>;
|
|
11487
11494
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
11488
11495
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
@@ -11776,6 +11783,8 @@ declare const FlowRunApiResponse: z.ZodObject<{
|
|
|
11776
11783
|
disconnected: z.ZodOptional<z.ZodBoolean>;
|
|
11777
11784
|
isDefunct: z.ZodOptional<z.ZodBoolean>;
|
|
11778
11785
|
state: z.ZodOptional<z.ZodEnum<typeof WorkspaceElementState>>;
|
|
11786
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>>;
|
|
11787
|
+
requestError: z.ZodOptional<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>;
|
|
11779
11788
|
error: z.ZodOptional<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>;
|
|
11780
11789
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
11781
11790
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
@@ -11977,6 +11986,8 @@ declare const FindFlowRunsResponse: z.ZodObject<{
|
|
|
11977
11986
|
disconnected: z.ZodOptional<z.ZodBoolean>;
|
|
11978
11987
|
isDefunct: z.ZodOptional<z.ZodBoolean>;
|
|
11979
11988
|
state: z.ZodOptional<z.ZodEnum<typeof WorkspaceElementState>>;
|
|
11989
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>>;
|
|
11990
|
+
requestError: z.ZodOptional<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>;
|
|
11980
11991
|
error: z.ZodOptional<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>;
|
|
11981
11992
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
11982
11993
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
@@ -12329,6 +12340,8 @@ declare const FlowApiResponse: z.ZodObject<{
|
|
|
12329
12340
|
disconnected: z.ZodOptional<z.ZodBoolean>;
|
|
12330
12341
|
isDefunct: z.ZodOptional<z.ZodBoolean>;
|
|
12331
12342
|
state: z.ZodOptional<z.ZodEnum<typeof WorkspaceElementState>>;
|
|
12343
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>>;
|
|
12344
|
+
requestError: z.ZodOptional<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>;
|
|
12332
12345
|
error: z.ZodOptional<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>;
|
|
12333
12346
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
12334
12347
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
@@ -12686,6 +12699,8 @@ declare const FlowInstanceApiResponse: z.ZodObject<{
|
|
|
12686
12699
|
disconnected: z.ZodOptional<z.ZodBoolean>;
|
|
12687
12700
|
isDefunct: z.ZodOptional<z.ZodBoolean>;
|
|
12688
12701
|
state: z.ZodOptional<z.ZodEnum<typeof WorkspaceElementState>>;
|
|
12702
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>>;
|
|
12703
|
+
requestError: z.ZodOptional<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>;
|
|
12689
12704
|
error: z.ZodOptional<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>;
|
|
12690
12705
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
12691
12706
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
@@ -13401,6 +13416,8 @@ declare const DataSourceApiResponse: z.ZodObject<{
|
|
|
13401
13416
|
disconnected: z.ZodOptional<z.ZodBoolean>;
|
|
13402
13417
|
isDefunct: z.ZodOptional<z.ZodBoolean>;
|
|
13403
13418
|
state: z.ZodOptional<z.ZodEnum<typeof WorkspaceElementState>>;
|
|
13419
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>>;
|
|
13420
|
+
requestError: z.ZodOptional<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>;
|
|
13404
13421
|
error: z.ZodOptional<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>;
|
|
13405
13422
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
13406
13423
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
@@ -14003,6 +14020,8 @@ declare const DataSourceInstanceApiResponse: z.ZodObject<{
|
|
|
14003
14020
|
disconnected: z.ZodOptional<z.ZodBoolean>;
|
|
14004
14021
|
isDefunct: z.ZodOptional<z.ZodBoolean>;
|
|
14005
14022
|
state: z.ZodOptional<z.ZodEnum<typeof WorkspaceElementState>>;
|
|
14023
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>>;
|
|
14024
|
+
requestError: z.ZodOptional<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>;
|
|
14006
14025
|
error: z.ZodOptional<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>;
|
|
14007
14026
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
14008
14027
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
@@ -14524,6 +14543,8 @@ declare class ConnectionAccessor {
|
|
|
14524
14543
|
disconnected?: boolean | undefined;
|
|
14525
14544
|
isDefunct?: boolean | undefined;
|
|
14526
14545
|
state?: WorkspaceElementState | undefined;
|
|
14546
|
+
errors?: ErrorDataSchema[] | undefined;
|
|
14547
|
+
requestError?: ErrorDataSchema | undefined;
|
|
14527
14548
|
error?: ErrorDataSchema | undefined;
|
|
14528
14549
|
integrationId?: string | undefined;
|
|
14529
14550
|
connectorId?: string | undefined;
|
|
@@ -14844,6 +14865,8 @@ declare const IntegrationApiResponse: z.ZodObject<{
|
|
|
14844
14865
|
disconnected: z.ZodOptional<z.ZodBoolean>;
|
|
14845
14866
|
isDefunct: z.ZodOptional<z.ZodBoolean>;
|
|
14846
14867
|
state: z.ZodOptional<z.ZodEnum<typeof WorkspaceElementState>>;
|
|
14868
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>>;
|
|
14869
|
+
requestError: z.ZodOptional<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>;
|
|
14847
14870
|
error: z.ZodOptional<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>;
|
|
14848
14871
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
14849
14872
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
@@ -15114,6 +15137,8 @@ declare const FieldMappingApiResponse: z.ZodObject<{
|
|
|
15114
15137
|
disconnected: z.ZodOptional<z.ZodBoolean>;
|
|
15115
15138
|
isDefunct: z.ZodOptional<z.ZodBoolean>;
|
|
15116
15139
|
state: z.ZodOptional<z.ZodEnum<typeof WorkspaceElementState>>;
|
|
15140
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>>;
|
|
15141
|
+
requestError: z.ZodOptional<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>;
|
|
15117
15142
|
error: z.ZodOptional<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>;
|
|
15118
15143
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
15119
15144
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
@@ -15415,6 +15440,8 @@ declare const FieldMappingInstanceApiResponse: z.ZodObject<{
|
|
|
15415
15440
|
disconnected: z.ZodOptional<z.ZodBoolean>;
|
|
15416
15441
|
isDefunct: z.ZodOptional<z.ZodBoolean>;
|
|
15417
15442
|
state: z.ZodOptional<z.ZodEnum<typeof WorkspaceElementState>>;
|
|
15443
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>>;
|
|
15444
|
+
requestError: z.ZodOptional<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>;
|
|
15418
15445
|
error: z.ZodOptional<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>;
|
|
15419
15446
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
15420
15447
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
@@ -15773,6 +15800,8 @@ declare class IntegrationAccessor extends ElementAccessor<IntegrationApiResponse
|
|
|
15773
15800
|
disconnected?: boolean | undefined;
|
|
15774
15801
|
isDefunct?: boolean | undefined;
|
|
15775
15802
|
state?: WorkspaceElementState | undefined;
|
|
15803
|
+
errors?: ErrorDataSchema[] | undefined;
|
|
15804
|
+
requestError?: ErrorDataSchema | undefined;
|
|
15776
15805
|
error?: ErrorDataSchema | undefined;
|
|
15777
15806
|
integrationId?: string | undefined;
|
|
15778
15807
|
connectorId?: string | undefined;
|
|
@@ -16459,6 +16488,8 @@ declare const ExternalEventSubscriptionApiResponse: z.ZodObject<{
|
|
|
16459
16488
|
disconnected: z.ZodOptional<z.ZodBoolean>;
|
|
16460
16489
|
isDefunct: z.ZodOptional<z.ZodBoolean>;
|
|
16461
16490
|
state: z.ZodOptional<z.ZodEnum<typeof WorkspaceElementState>>;
|
|
16491
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>>;
|
|
16492
|
+
requestError: z.ZodOptional<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>;
|
|
16462
16493
|
error: z.ZodOptional<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>;
|
|
16463
16494
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
16464
16495
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
@@ -17512,6 +17543,8 @@ declare const ActionRunLogRecordApiResponse: z.ZodObject<{
|
|
|
17512
17543
|
disconnected: z.ZodOptional<z.ZodBoolean>;
|
|
17513
17544
|
isDefunct: z.ZodOptional<z.ZodBoolean>;
|
|
17514
17545
|
state: z.ZodOptional<z.ZodEnum<typeof WorkspaceElementState>>;
|
|
17546
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>>;
|
|
17547
|
+
requestError: z.ZodOptional<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>;
|
|
17515
17548
|
error: z.ZodOptional<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>;
|
|
17516
17549
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
17517
17550
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
@@ -17731,6 +17764,8 @@ declare const FindActionRunLogsResponse: z.ZodObject<{
|
|
|
17731
17764
|
disconnected: z.ZodOptional<z.ZodBoolean>;
|
|
17732
17765
|
isDefunct: z.ZodOptional<z.ZodBoolean>;
|
|
17733
17766
|
state: z.ZodOptional<z.ZodEnum<typeof WorkspaceElementState>>;
|
|
17767
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>>;
|
|
17768
|
+
requestError: z.ZodOptional<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>;
|
|
17734
17769
|
error: z.ZodOptional<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>;
|
|
17735
17770
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
17736
17771
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
@@ -18051,6 +18086,8 @@ declare const DataLinkTableInstanceApiResponse: z.ZodObject<{
|
|
|
18051
18086
|
disconnected: z.ZodOptional<z.ZodBoolean>;
|
|
18052
18087
|
isDefunct: z.ZodOptional<z.ZodBoolean>;
|
|
18053
18088
|
state: z.ZodOptional<z.ZodEnum<typeof WorkspaceElementState>>;
|
|
18089
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>>;
|
|
18090
|
+
requestError: z.ZodOptional<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>;
|
|
18054
18091
|
error: z.ZodOptional<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>;
|
|
18055
18092
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
18056
18093
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
@@ -18490,6 +18527,8 @@ declare const ExternalEventLogRecordApiResponse: z.ZodObject<{
|
|
|
18490
18527
|
disconnected: z.ZodOptional<z.ZodBoolean>;
|
|
18491
18528
|
isDefunct: z.ZodOptional<z.ZodBoolean>;
|
|
18492
18529
|
state: z.ZodOptional<z.ZodEnum<typeof WorkspaceElementState>>;
|
|
18530
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>>;
|
|
18531
|
+
requestError: z.ZodOptional<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>;
|
|
18493
18532
|
error: z.ZodOptional<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>;
|
|
18494
18533
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
18495
18534
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
@@ -18671,6 +18710,8 @@ declare const ExternalEventPullApiResponse: z.ZodObject<{
|
|
|
18671
18710
|
disconnected: z.ZodOptional<z.ZodBoolean>;
|
|
18672
18711
|
isDefunct: z.ZodOptional<z.ZodBoolean>;
|
|
18673
18712
|
state: z.ZodOptional<z.ZodEnum<typeof WorkspaceElementState>>;
|
|
18713
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>>;
|
|
18714
|
+
requestError: z.ZodOptional<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>;
|
|
18674
18715
|
error: z.ZodOptional<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>;
|
|
18675
18716
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
18676
18717
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
@@ -18856,6 +18897,8 @@ declare const ExternalApiLogApiResponse: z.ZodObject<{
|
|
|
18856
18897
|
disconnected: z.ZodOptional<z.ZodBoolean>;
|
|
18857
18898
|
isDefunct: z.ZodOptional<z.ZodBoolean>;
|
|
18858
18899
|
state: z.ZodOptional<z.ZodEnum<typeof WorkspaceElementState>>;
|
|
18900
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>>;
|
|
18901
|
+
requestError: z.ZodOptional<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>;
|
|
18859
18902
|
error: z.ZodOptional<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>;
|
|
18860
18903
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
18861
18904
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
@@ -18983,6 +19026,8 @@ declare const IncomingWebhookApiResponse: z.ZodObject<{
|
|
|
18983
19026
|
disconnected: z.ZodOptional<z.ZodBoolean>;
|
|
18984
19027
|
isDefunct: z.ZodOptional<z.ZodBoolean>;
|
|
18985
19028
|
state: z.ZodOptional<z.ZodEnum<typeof WorkspaceElementState>>;
|
|
19029
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>>;
|
|
19030
|
+
requestError: z.ZodOptional<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>;
|
|
18986
19031
|
error: z.ZodOptional<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>;
|
|
18987
19032
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
18988
19033
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
@@ -19261,6 +19306,7 @@ declare enum AgentName {
|
|
|
19261
19306
|
ACTION_BUILDING = "action-building",
|
|
19262
19307
|
UNIVERSE = "universe"
|
|
19263
19308
|
}
|
|
19309
|
+
declare const MEMBRANE_SESSION_ID_HEADER = "X-Membrane-Session-Id";
|
|
19264
19310
|
declare const AgentSession: z.ZodObject<{
|
|
19265
19311
|
id: z.ZodString;
|
|
19266
19312
|
workspaceId: z.ZodString;
|
|
@@ -19320,7 +19366,6 @@ declare const PatchAgentSessionSchema: z.ZodObject<{
|
|
|
19320
19366
|
lastActivityAt: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>>>;
|
|
19321
19367
|
title: z.ZodOptional<z.ZodString>;
|
|
19322
19368
|
summary: z.ZodOptional<z.ZodString>;
|
|
19323
|
-
cost: z.ZodOptional<z.ZodNumber>;
|
|
19324
19369
|
error: z.ZodOptional<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>;
|
|
19325
19370
|
opencodeSessionUuid: z.ZodOptional<z.ZodString>;
|
|
19326
19371
|
output: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -24124,7 +24169,8 @@ declare enum UsageType {
|
|
|
24124
24169
|
FILES_UPLOAD_SIZE = "files-upload-size",
|
|
24125
24170
|
CUSTOM_CODE_RUNTIME_DURATION = "custom-code-runtime-duration",
|
|
24126
24171
|
INSTANT_TASKS_DURATION = "instant-tasks-duration",
|
|
24127
|
-
MEMBRANE_AGENT = "membrane-agent"
|
|
24172
|
+
MEMBRANE_AGENT = "membrane-agent",
|
|
24173
|
+
AI_GATEWAY = "ai-gateway"
|
|
24128
24174
|
}
|
|
24129
24175
|
interface UsageWithCredits {
|
|
24130
24176
|
key: UsageType;
|
|
@@ -24209,9 +24255,10 @@ declare enum WebhookTypeEnum {
|
|
|
24209
24255
|
TASK_ACTIVITY_CREATED = "task-activity-created",
|
|
24210
24256
|
CONNECTOR_VERSION_PUBLISHED = "connector-version-published",
|
|
24211
24257
|
AGENT_SESSION_FINISHED = "agent-session-finished",
|
|
24212
|
-
SEND_ALERT_EMAIL = "send-alert-email"
|
|
24258
|
+
SEND_ALERT_EMAIL = "send-alert-email",
|
|
24259
|
+
PUBLIC_PACKAGE_ACTION_RUN_FAILED = "public-package-action-run-failed"
|
|
24213
24260
|
}
|
|
24214
|
-
type WebhookType = WebhookTypeEnum.USER_INVITED_TO_ORG | WebhookTypeEnum.ORG_ACCESS_REQUESTED | WebhookTypeEnum.ORG_CREATED | WebhookTypeEnum.TASK_CREATED | WebhookTypeEnum.TASK_UPDATED | WebhookTypeEnum.TASK_ACTIVITY_CREATED | WebhookTypeEnum.CONNECTOR_VERSION_PUBLISHED | WebhookTypeEnum.AGENT_SESSION_FINISHED | WebhookTypeEnum.SEND_ALERT_EMAIL;
|
|
24261
|
+
type WebhookType = WebhookTypeEnum.USER_INVITED_TO_ORG | WebhookTypeEnum.ORG_ACCESS_REQUESTED | WebhookTypeEnum.ORG_CREATED | WebhookTypeEnum.TASK_CREATED | WebhookTypeEnum.TASK_UPDATED | WebhookTypeEnum.TASK_ACTIVITY_CREATED | WebhookTypeEnum.CONNECTOR_VERSION_PUBLISHED | WebhookTypeEnum.AGENT_SESSION_FINISHED | WebhookTypeEnum.SEND_ALERT_EMAIL | WebhookTypeEnum.PUBLIC_PACKAGE_ACTION_RUN_FAILED;
|
|
24215
24262
|
interface Webhook {
|
|
24216
24263
|
type: WebhookType;
|
|
24217
24264
|
url: string;
|
|
@@ -24714,7 +24761,8 @@ declare enum AsyncRequestStatus {
|
|
|
24714
24761
|
PENDING = "pending",
|
|
24715
24762
|
ACTIVE = "active",
|
|
24716
24763
|
COMPLETED = "completed",
|
|
24717
|
-
FAILED = "failed"
|
|
24764
|
+
FAILED = "failed",
|
|
24765
|
+
CANCELLED = "cancelled"
|
|
24718
24766
|
}
|
|
24719
24767
|
type AsyncRequestStatusResponse<T = Record<string, any>> = {
|
|
24720
24768
|
id: string;
|
|
@@ -24856,6 +24904,7 @@ declare const OAuthTokenResponse: z.ZodObject<{
|
|
|
24856
24904
|
refresh_token: z.ZodOptional<z.ZodString>;
|
|
24857
24905
|
default_workspace_key: z.ZodOptional<z.ZodString>;
|
|
24858
24906
|
default_tenant_key: z.ZodOptional<z.ZodString>;
|
|
24907
|
+
email: z.ZodOptional<z.ZodString>;
|
|
24859
24908
|
}, z.core.$strip>;
|
|
24860
24909
|
type OAuthTokenResponse = z.infer<typeof OAuthTokenResponse>;
|
|
24861
24910
|
|
|
@@ -25130,5 +25179,5 @@ declare class MembraneClient extends MembraneApiClient {
|
|
|
25130
25179
|
connectionRequest(connectionId: string, uri: string, data?: any): Promise<any>;
|
|
25131
25180
|
}
|
|
25132
25181
|
|
|
25133
|
-
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$1 as 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, 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 };
|
|
25182
|
+
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$1 as 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 };
|
|
25134
25183
|
export type { Action, ActionInstance, ActionInstanceSelector, ActionRunLogRecord, ActionSelector, ActionSpec, AgentSessionInput, AlertDeliveryMethod, AlertDeliverySettings, AlertTypeDeliverySettings, App, AppCategory, AppDataSchema, AppDataSchemaInstance, AppDataSchemaInstanceSelector, AppEvent, AppEventSubscription, AppEventSubscriptionCreateRequest, AppEventSubscriptionSelector, AppEventSubscriptionUpdateRequest, AppEventType, AsyncRequestStatusResponse, AuthContextPermissions, BaseElementInstance, CaseFormulaValue, CaseFormulaValueItem, CheckpointDiffOperation, CheckpointDiffResponse, ConfigurationStateResult, ConnectOptions, Connection, ConnectionUiSpec, ConnectorApiType, ConnectorAuthOAuth1Config, ConnectorAuthOAuth2Config, ConnectorAuthOAuthConfig, ConnectorAuthType, ConnectorDataCollection, ConnectorDataCollectionBase, ConnectorDataCollectionEvent, ConnectorDataCollectionEventCustomPull, ConnectorDataCollectionEventFullScan, ConnectorDataCollectionEventImplementationTypeKey, ConnectorDataCollectionEventPullLatestRecords, ConnectorDataCollectionEventType, ConnectorDataCollectionEventWebhook, ConnectorDataCollectionMethod, ConnectorEventGlobalWebhookGetEventSelectorResponse, ConnectorEventHandler, ConnectorEventListItem, ConnectorEventSpec, ConnectorExport, ConnectorFunctionSpec, ConnectorGlobalWebhookHandleRequest, ConnectorGlobalWebhookHandleResponse, ConnectorGlobalWebhookHandler, ConnectorGlobalWebhookListItem, ConnectorGlobalWebhookSpec, ConnectorOperationHandler, ConnectorOperationMethod, ConnectorVersionExport, CopilotActivityNotificationData, CreateAppDataSchemaInstanceRequest, CreateAppDataSchemaRequest, CreateAppEventSubscriptionRequest, CreateAppEventTypeRequest, CreateDataLinkRequest, CreateDataLinkTableInstanceRequest, CreateFlowInstanceRequest, CreateScenarioTemplateRequest, CreateUserRequest, Customer, CustomerRateLimitAlerts, DataCollectionEvent, DataCollectionEventsRequest, DataCollectionEventsResponse, DataCollectionListItem, DataCollectionMixin, DataCollectionParseUnifiedFieldsRequest, DataCollectionParseUnifiedFieldsResponse, DataCollectionSubscribeRequest, DataCollectionSubscribeResponse, DataCollectionUnsubscribeRequest, DataCollectionUnsubscribeResponse, DataCollectionUpdateSubscriptionRequest, DataCollectionUpdateSubscriptionResponse, DataEventWebhookPayload, DataFilter, DataFormArgs, DataLinkInTableSelector, DataLinkSelector, DataLinkTable, DataLinkTableInstance, DataLinkTableInstanceSelector, DataLocator, DataRecord, DataSource, DataSourceInstanceSelector, DataSourceSelector, DbBackedCounts, DeleteDataLinkRequest, DownstreamFlowNodeRun, ElementInstanceFields, ElementInstanceSelector, ElementTemplateFields, EngineCreditsProjection, EngineWorkspace, EngineWorkspaceSettings, EngineWorkspaceWithOrgData, ErrorConstructorArg, EvalOperator, ExternalEventApiResponse, ExternalEventCustomPullCollectEventsRequest, ExternalEventCustomPullCollectEventsResponse, ExternalEventCustomPullSubscribeResponse, ExternalEventLogRecord, ExternalEventPull, ExternalEventSubscription, ExternalEventWebhookHandleRequest, ExternalEventWebhookHandleResponse, ExternalEventWebhookRefreshRequest, ExternalEventWebhookRefreshResponse, ExternalEventWebhookSubscribeRequest, ExternalEventWebhookSubscribeResponse, ExternalEventWebhookUnsubscribeRequest, FieldMapping, FieldMappingInstanceSelector, FieldMappingSelector, FieldValueOption, FilterFieldMeta, FindDataLinkQuery, FindDataSourceInstancesResponse, FindExternalEventLogsQuery, FindExternalEventSubscriptionsQuery, FindIntegrationsResponse, FindScenarioTemplatesQuery, FindUsersQuery, Flow, FlowInstance, FlowInstanceSelector, FlowNodeHandlerRunResponse, FlowNodeRunOutput, FlowNodeRunOutputMetadata, FlowNodeRunOutputWithoutDownstreamRuns, FlowNodeRunParameters, FlowNodeRunRecord, FlowNodeRunRecordWithoutOutputsData, FlowNodeRunResult, FlowRun, FlowSelector, GraphQLApiMapping, GraphQLFieldMapping, GraphqlApiClientInput, HandyScenarioTemplateElementApi, IneligibilityReason, Integration, IntegrationAuthOptionLegacy, IntegrationElement, IntegrationElementInstance, IntegrationElementInstanceDependency, ListDataSourcesForIntegrationQuery, ListFieldMappingInstancesForConnectionQuery, ListFieldMappingsForIntegrationQuery, ListFlowsForIntegrationQuery, LogRecord, LookupValue, MapFormulaValue, MappingItem, MembraneInstanceDto, OAuthScope, OpenActionConfigurationOptions, OpenDataSourceConfigurationOptions, OpenFieldMappingInstanceConfigurationOptions, OpenFlowInstanceConfigurationOptions, OpenFlowInstanceEditorOptions, OpenFlowRunEditorOptions, OpenNewConnectionOptions, OpenapiMapping, OperationListItem, OperationMapping, OperationRunRequest, OperationRunResponse, OperationSpec, OrgFeatureFlags, OrgPermissions, OrgUser, Package, PatchAgentSession, PatchSchemaOption, PendingQueueCount, PendingTasksSummary, PlatformUserPermissions, PullLatestRecordsEventOutput, RateLimitAlerts, ResolveFormulaParams, RestApiClientConstructorOptions, RestApiClientInput, RestApiClientOptions, RestApiClientOutput, RestApiClientOverride, RestApiClientResponseHandler, RestApiMapping, RunFlowOptions, Scenario, ScenarioTemplateElementOverride, ScenarioTemplateElementsApi, ScenarioTemplateIntegration, ScenarioTemplateKeyCollision, Screen, ScreenBlockApi, Self, SessionStatus, TenantPermissions, TestAlerts, UnifiedDataModel, UpdateAppDataSchemaInstanceRequest, UpdateAppDataSchemaRequest, UpdateAppEventSubscriptionRequest, UpdateAppEventTypeRequest, UpdateDataLinkTableInstanceRequest, UpdateFlowInstanceRequest, UpdateScenarioTemplateRequest, UpdateUserRequest, UpstreamFlowNodeRun, UsageAlerts, UsageEntry, UsageWithCredits, User, UserSelector, UserWorkspaceSettings, ValueToSchemaOptions, Webhook, WebhookType, WithExecutionLogs, WorkerTypeFilter, WorkspaceElementCalculateStateResult, WorkspaceElementChange, WorkspaceElementChangeInfo, WorkspaceElementDependency, WorkspaceElementReference, WorkspaceElementSpec, WorkspaceElements, WorkspaceElementsStats, WorkspaceExport, WorkspaceExportComparison, WorkspaceExportComparisonOptions, WorkspaceExportComparisonResult, WorkspaceLimit, WorkspaceLimits, WorkspaceNotification, WorkspacePermissions, WorkspaceSettings, WorkspaceSizeAlerts, WorkspaceSyncEvent, WorkspaceUpdate, WorkspaceUser };
|
package/dist/index.node.js
CHANGED
|
@@ -12,6 +12,7 @@ var diff = require('diff');
|
|
|
12
12
|
var yaml = require('js-yaml');
|
|
13
13
|
var qs = require('qs');
|
|
14
14
|
var penpal = require('penpal');
|
|
15
|
+
var axiosOriginal = require('axios');
|
|
15
16
|
var zodValidationError = require('zod-validation-error');
|
|
16
17
|
|
|
17
18
|
function _interopNamespaceDefault(e) {
|
|
@@ -3986,9 +3987,8 @@ const BaseActionInstance = BaseAction;
|
|
|
3986
3987
|
const CONNECTION_REQUEST_SCREEN_PATH = 'screens/connect';
|
|
3987
3988
|
const AGENTIC_CONNECTION_REQUEST_SCREEN_PATH = 'screens/connections';
|
|
3988
3989
|
const CONNECTION_REQUEST_ID_PARAM = 'connectionRequestId';
|
|
3989
|
-
function getConnectionRequestUrl(baseUri, requestId
|
|
3990
|
-
|
|
3991
|
-
return `${baseUri}/${screenPath}?${CONNECTION_REQUEST_ID_PARAM}=${requestId}`;
|
|
3990
|
+
function getConnectionRequestUrl(baseUri, requestId) {
|
|
3991
|
+
return `${baseUri}/${AGENTIC_CONNECTION_REQUEST_SCREEN_PATH}?${CONNECTION_REQUEST_ID_PARAM}=${requestId}`;
|
|
3992
3992
|
}
|
|
3993
3993
|
const CreateConnectionRequestPayload = z.z.object({
|
|
3994
3994
|
integrationId: z.z.string().optional(),
|
|
@@ -4055,7 +4055,9 @@ const BaseConnection = BaseWorkspaceElement.extend({
|
|
|
4055
4055
|
disconnected: z.z.boolean().optional(),
|
|
4056
4056
|
isDefunct: z.z.boolean().optional(),
|
|
4057
4057
|
state: z.z.enum(exports.WorkspaceElementState).optional(),
|
|
4058
|
-
|
|
4058
|
+
errors: z.z.array(ErrorDataSchema).optional(),
|
|
4059
|
+
requestError: ErrorDataSchema.optional(),
|
|
4060
|
+
error: ErrorDataSchema.optional().describe('[DEPRECATED] Use `requestError` and `errors` instead.'),
|
|
4059
4061
|
integrationId: z.z.string().optional(),
|
|
4060
4062
|
connectorId: z.z.string().optional(),
|
|
4061
4063
|
externalAppId: z.z.string().optional(),
|
|
@@ -4618,6 +4620,9 @@ function getEffectiveConnectorOption(connector, optionKey) {
|
|
|
4618
4620
|
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
4619
4621
|
const option = (_a = connector.options) === null || _a === void 0 ? void 0 : _a[optionKey];
|
|
4620
4622
|
if (!option) {
|
|
4623
|
+
if (optionKey === '') {
|
|
4624
|
+
return connector;
|
|
4625
|
+
}
|
|
4621
4626
|
throw new BadRequestError(`Connector doesn't have auth option ${optionKey}`);
|
|
4622
4627
|
}
|
|
4623
4628
|
const connectorInputSchema = (_b = connector.inputSchema) !== null && _b !== void 0 ? _b : (_c = connector.ui) === null || _c === void 0 ? void 0 : _c.schema;
|
|
@@ -9227,7 +9232,7 @@ const ConnectorOption = WriteableConnectorOption.extend({
|
|
|
9227
9232
|
credentialsSchema: DataSchema.optional(),
|
|
9228
9233
|
});
|
|
9229
9234
|
const GeneratedConnectorOption = z.z.object({
|
|
9230
|
-
key: z.z.string(),
|
|
9235
|
+
key: z.z.string().optional(),
|
|
9231
9236
|
type: z.z.enum(CONNECTOR_AUTH_TYPES),
|
|
9232
9237
|
title: z.z.string().optional(),
|
|
9233
9238
|
description: z.z.string().optional(),
|
|
@@ -11862,6 +11867,7 @@ exports.AgentName = void 0;
|
|
|
11862
11867
|
AgentName["ACTION_BUILDING"] = "action-building";
|
|
11863
11868
|
AgentName["UNIVERSE"] = "universe";
|
|
11864
11869
|
})(exports.AgentName || (exports.AgentName = {}));
|
|
11870
|
+
const MEMBRANE_SESSION_ID_HEADER = 'X-Membrane-Session-Id';
|
|
11865
11871
|
const AgentSession = z.z.object({
|
|
11866
11872
|
...TenantLayerElement.partial().shape,
|
|
11867
11873
|
id: z.z.string(),
|
|
@@ -11914,7 +11920,6 @@ const PatchAgentSessionSchema = z.z.object({
|
|
|
11914
11920
|
.describe('Last meaningful session progress timestamp used for inactivity timeout checks.'),
|
|
11915
11921
|
title: z.z.string().optional(),
|
|
11916
11922
|
summary: z.z.string().optional(),
|
|
11917
|
-
cost: z.z.number().optional(),
|
|
11918
11923
|
error: ErrorDataSchema.optional(),
|
|
11919
11924
|
opencodeSessionUuid: z.z.string().optional(),
|
|
11920
11925
|
output: z.z.record(z.z.string(), z.z.unknown()).optional(),
|
|
@@ -12884,6 +12889,7 @@ exports.UsageType = void 0;
|
|
|
12884
12889
|
UsageType["CUSTOM_CODE_RUNTIME_DURATION"] = "custom-code-runtime-duration";
|
|
12885
12890
|
UsageType["INSTANT_TASKS_DURATION"] = "instant-tasks-duration";
|
|
12886
12891
|
UsageType["MEMBRANE_AGENT"] = "membrane-agent";
|
|
12892
|
+
UsageType["AI_GATEWAY"] = "ai-gateway";
|
|
12887
12893
|
})(exports.UsageType || (exports.UsageType = {}));
|
|
12888
12894
|
|
|
12889
12895
|
function getNodeInputSchema(flow, nodeKey) {
|
|
@@ -13849,6 +13855,7 @@ exports.WebhookTypeEnum = void 0;
|
|
|
13849
13855
|
WebhookTypeEnum["CONNECTOR_VERSION_PUBLISHED"] = "connector-version-published";
|
|
13850
13856
|
WebhookTypeEnum["AGENT_SESSION_FINISHED"] = "agent-session-finished";
|
|
13851
13857
|
WebhookTypeEnum["SEND_ALERT_EMAIL"] = "send-alert-email";
|
|
13858
|
+
WebhookTypeEnum["PUBLIC_PACKAGE_ACTION_RUN_FAILED"] = "public-package-action-run-failed";
|
|
13852
13859
|
})(exports.WebhookTypeEnum || (exports.WebhookTypeEnum = {}));
|
|
13853
13860
|
|
|
13854
13861
|
const IntegrationSpecificElementSelector = z.object({
|
|
@@ -15854,6 +15861,7 @@ exports.AsyncRequestStatus = void 0;
|
|
|
15854
15861
|
AsyncRequestStatus["ACTIVE"] = "active";
|
|
15855
15862
|
AsyncRequestStatus["COMPLETED"] = "completed";
|
|
15856
15863
|
AsyncRequestStatus["FAILED"] = "failed";
|
|
15864
|
+
AsyncRequestStatus["CANCELLED"] = "cancelled";
|
|
15857
15865
|
})(exports.AsyncRequestStatus || (exports.AsyncRequestStatus = {}));
|
|
15858
15866
|
const AsyncRequestTriggerResponse = z.z.object({
|
|
15859
15867
|
jobId: z.z.string(),
|
|
@@ -15936,6 +15944,7 @@ const OAuthTokenResponse = z.z.object({
|
|
|
15936
15944
|
refresh_token: z.z.string().optional(),
|
|
15937
15945
|
default_workspace_key: z.z.string().optional(),
|
|
15938
15946
|
default_tenant_key: z.z.string().optional(),
|
|
15947
|
+
email: z.z.string().optional(),
|
|
15939
15948
|
});
|
|
15940
15949
|
|
|
15941
15950
|
const CONSOLE_ACCOUNT_API_TOKEN_PATH = 'settings/account/api-token';
|
|
@@ -16081,34 +16090,8 @@ function decodeJWT(token) {
|
|
|
16081
16090
|
}
|
|
16082
16091
|
}
|
|
16083
16092
|
|
|
16084
|
-
|
|
16085
|
-
|
|
16086
|
-
function getAxiosGlobal() {
|
|
16087
|
-
if (!_axiosGlobal) {
|
|
16088
|
-
let axiosOriginal;
|
|
16089
|
-
axiosOriginal = require('axios');
|
|
16090
|
-
_axiosGlobal = ((axiosOriginal === null || axiosOriginal === void 0 ? void 0 : axiosOriginal.default) || axiosOriginal);
|
|
16091
|
-
}
|
|
16092
|
-
return _axiosGlobal;
|
|
16093
|
-
}
|
|
16094
|
-
function getAxiosInstance() {
|
|
16095
|
-
if (!_axiosInstance) {
|
|
16096
|
-
_axiosInstance = getAxiosGlobal().create();
|
|
16097
|
-
}
|
|
16098
|
-
return _axiosInstance;
|
|
16099
|
-
}
|
|
16100
|
-
const axios = new Proxy(((...args) => getAxiosInstance()(...args)), {
|
|
16101
|
-
get(_, prop) {
|
|
16102
|
-
return getAxiosInstance()[prop];
|
|
16103
|
-
},
|
|
16104
|
-
set(_, prop, value) {
|
|
16105
|
-
getAxiosInstance()[prop] = value;
|
|
16106
|
-
return true;
|
|
16107
|
-
},
|
|
16108
|
-
apply(_, thisArg, args) {
|
|
16109
|
-
return getAxiosInstance().apply(thisArg, args);
|
|
16110
|
-
},
|
|
16111
|
-
});
|
|
16093
|
+
const axiosGlobal = ((axiosOriginal === null || axiosOriginal === void 0 ? void 0 : axiosOriginal.default) || axiosOriginal);
|
|
16094
|
+
const axios = axiosGlobal.create();
|
|
16112
16095
|
const DEFAULT_API_URI = 'https://api.getmembrane.com';
|
|
16113
16096
|
const DEFAULT_UI_URI = 'https://ui.getmembrane.com';
|
|
16114
16097
|
const membraneClientOptionsSchema = z.z
|
|
@@ -16275,7 +16258,7 @@ class MembraneApiClient {
|
|
|
16275
16258
|
params.withCredentials = false;
|
|
16276
16259
|
let response;
|
|
16277
16260
|
try {
|
|
16278
|
-
response = await
|
|
16261
|
+
response = await axios.request(params);
|
|
16279
16262
|
}
|
|
16280
16263
|
catch (err) {
|
|
16281
16264
|
log.data.timeMs = new Date().getTime() - startTime.getTime();
|
|
@@ -16311,7 +16294,7 @@ class MembraneApiClient {
|
|
|
16311
16294
|
}
|
|
16312
16295
|
handleRequestError(err) {
|
|
16313
16296
|
var _a, _b;
|
|
16314
|
-
if (
|
|
16297
|
+
if ((err === null || err === void 0 ? void 0 : err.isAxiosError) && ((_b = (_a = err.response) === null || _a === void 0 ? void 0 : _a.data) === null || _b === void 0 ? void 0 : _b.type)) {
|
|
16315
16298
|
const error = getErrorFromData(err.response.data);
|
|
16316
16299
|
if (error)
|
|
16317
16300
|
throw error;
|
|
@@ -17004,6 +16987,7 @@ exports.ListPublicPackagesQuery = ListPublicPackagesQuery;
|
|
|
17004
16987
|
exports.ListWorkspacesQuery = ListWorkspacesQuery;
|
|
17005
16988
|
exports.MEMBRANE_CLI_CLIENT_ID = MEMBRANE_CLI_CLIENT_ID;
|
|
17006
16989
|
exports.MEMBRANE_ELEMENT_CONFIG_FILE_NAME = MEMBRANE_ELEMENT_CONFIG_FILE_NAME;
|
|
16990
|
+
exports.MEMBRANE_SESSION_ID_HEADER = MEMBRANE_SESSION_ID_HEADER;
|
|
17007
16991
|
exports.MIN_FULL_SYNC_INTERVAL_SECONDS = MIN_FULL_SYNC_INTERVAL_SECONDS;
|
|
17008
16992
|
exports.MIN_PULL_UPDATES_INTERVAL_SECONDS = MIN_PULL_UPDATES_INTERVAL_SECONDS;
|
|
17009
16993
|
exports.MappingFunction = MappingFunction;
|