@membranehq/sdk 0.17.6 → 0.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundle.d.ts +15 -4
- package/dist/bundle.js +20 -4
- package/dist/bundle.js.map +1 -1
- package/dist/dts/agent/session.d.ts +2 -0
- package/dist/dts/client-tokens/types.d.ts +5 -5
- package/dist/dts/stats/index.d.ts +8 -5
- package/dist/dts/ui.d.ts +5 -0
- package/dist/dts/workspace-elements/api/action-run-log-records-api.d.ts +3 -0
- package/dist/dts/workspace-elements/api/connected-products-api.d.ts +2 -1
- package/dist/dts/workspace-elements/api/connections-api.d.ts +1 -1
- package/dist/dts/workspace-elements/api/data-sources-api.d.ts +2 -2
- package/dist/dts/workspace-elements/api/external-api-logs-api.d.ts +2 -0
- package/dist/dts/workspace-elements/api/external-event-log-records-api.d.ts +2 -0
- package/dist/dts/workspace-elements/api/external-event-pulls-api.d.ts +2 -0
- package/dist/dts/workspace-elements/api/external-event-subscriptions-api.d.ts +1 -0
- package/dist/dts/workspace-elements/api/external-events-api.d.ts +1 -0
- package/dist/dts/workspace-elements/api/field-mappings-api.d.ts +2 -2
- package/dist/dts/workspace-elements/api/flow-runs-api.d.ts +3 -0
- package/dist/dts/workspace-elements/api/flows-api.d.ts +1 -1
- package/dist/dts/workspace-elements/api/incoming-webhooks-api.d.ts +2 -0
- package/dist/dts/workspace-elements/base/action-run-log-records/index.d.ts +1 -0
- package/dist/dts/workspace-elements/base/connectors/index.d.ts +1 -0
- package/dist/dts/workspace-elements/base/external-event-log-records/index.d.ts +1 -0
- package/dist/dts/workspace-elements/base/external-event-pulls/index.d.ts +1 -0
- package/dist/dts/workspace-elements/base/flow-runs/index.d.ts +1 -0
- package/dist/dts/workspace-elements/types.d.ts +3 -0
- package/dist/dts/workspace-elements-catalog/index.d.ts +3 -0
- package/dist/index.browser.d.mts +54 -17
- package/dist/index.browser.d.ts +54 -17
- package/dist/index.browser.js +182 -11
- package/dist/index.browser.js.map +1 -1
- package/dist/index.browser.mjs +182 -11
- package/dist/index.browser.mjs.map +1 -1
- package/dist/index.node.d.mts +54 -17
- package/dist/index.node.d.ts +54 -17
- package/dist/index.node.js +182 -11
- package/dist/index.node.js.map +1 -1
- package/dist/index.node.mjs +182 -11
- package/dist/index.node.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.browser.d.mts
CHANGED
|
@@ -149,6 +149,8 @@ declare enum WorkspaceElementType {
|
|
|
149
149
|
ExternalEventPull = "external-event-pull",
|
|
150
150
|
Screen = "screen",
|
|
151
151
|
ActionRunLogRecord = "action-run-log-record",
|
|
152
|
+
ExternalApiLogRecord = "external-api-log-record",
|
|
153
|
+
IncomingWebhookLogRecord = "incoming-webhook-log-record",
|
|
152
154
|
ConnectedProduct = "connected-product"
|
|
153
155
|
}
|
|
154
156
|
declare enum WorkspaceEventType {
|
|
@@ -336,6 +338,7 @@ declare const ActivityLogRecord: z.ZodObject<{
|
|
|
336
338
|
id: z.ZodString;
|
|
337
339
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
338
340
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
341
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
339
342
|
}, z.core.$strip>;
|
|
340
343
|
type ActivityLogRecord = z.infer<typeof ActivityLogRecord>;
|
|
341
344
|
interface WorkspaceElementReference {
|
|
@@ -5857,6 +5860,7 @@ declare const GeneratedConnectorOption: z.ZodObject<{
|
|
|
5857
5860
|
description: z.ZodOptional<z.ZodString>;
|
|
5858
5861
|
inputSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
|
|
5859
5862
|
connectorParametersSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
|
|
5863
|
+
oAuthCallbackUri: z.ZodOptional<z.ZodString>;
|
|
5860
5864
|
}, z.core.$strip>;
|
|
5861
5865
|
type GeneratedConnectorOption = z.infer<typeof GeneratedConnectorOption>;
|
|
5862
5866
|
declare const ConnectorOptions: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
@@ -10833,6 +10837,7 @@ declare const BaseFlowRun: z.ZodObject<{
|
|
|
10833
10837
|
id: z.ZodString;
|
|
10834
10838
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
10835
10839
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
10840
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
10836
10841
|
name: z.ZodOptional<z.ZodString>;
|
|
10837
10842
|
connectionFlowId: z.ZodString;
|
|
10838
10843
|
integrationFlowId: z.ZodOptional<z.ZodString>;
|
|
@@ -11894,6 +11899,7 @@ declare const BaseExternalEventLogRecord: z.ZodObject<{
|
|
|
11894
11899
|
userId: z.ZodString;
|
|
11895
11900
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
11896
11901
|
id: z.ZodString;
|
|
11902
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
11897
11903
|
name: z.ZodOptional<z.ZodString>;
|
|
11898
11904
|
externalEventSubscriptionId: z.ZodString;
|
|
11899
11905
|
integrationId: z.ZodString;
|
|
@@ -11915,6 +11921,7 @@ declare const BaseExternalEventPull: z.ZodObject<{
|
|
|
11915
11921
|
userId: z.ZodString;
|
|
11916
11922
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
11917
11923
|
id: z.ZodString;
|
|
11924
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
11918
11925
|
name: z.ZodOptional<z.ZodString>;
|
|
11919
11926
|
externalEventSubscriptionId: z.ZodString;
|
|
11920
11927
|
integrationId: z.ZodString;
|
|
@@ -11936,6 +11943,7 @@ declare const BaseActionRunLogRecord: z.ZodObject<{
|
|
|
11936
11943
|
userId: z.ZodString;
|
|
11937
11944
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
11938
11945
|
id: z.ZodString;
|
|
11946
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
11939
11947
|
name: z.ZodString;
|
|
11940
11948
|
universalActionId: z.ZodOptional<z.ZodString>;
|
|
11941
11949
|
integrationActionId: z.ZodString;
|
|
@@ -12333,11 +12341,11 @@ declare const FindConnectionsQuery: z.ZodObject<{
|
|
|
12333
12341
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
12334
12342
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
12335
12343
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
12344
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
12336
12345
|
disconnected: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
12337
12346
|
isTest: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
12338
12347
|
userId: z.ZodOptional<z.ZodString>;
|
|
12339
12348
|
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
12340
|
-
externalAppId: z.ZodOptional<z.ZodString>;
|
|
12341
12349
|
integrationKey: z.ZodOptional<z.ZodString>;
|
|
12342
12350
|
includeSecrets: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
12343
12351
|
}, z.core.$strip>;
|
|
@@ -12766,6 +12774,7 @@ declare const FindFlowRunsQuery: z.ZodObject<{
|
|
|
12766
12774
|
state: z.ZodOptional<z.ZodEnum<typeof FlowRunState>>;
|
|
12767
12775
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
12768
12776
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
12777
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
12769
12778
|
from: z.ZodOptional<z.ZodString>;
|
|
12770
12779
|
to: z.ZodOptional<z.ZodString>;
|
|
12771
12780
|
}, z.core.$strip>;
|
|
@@ -12781,6 +12790,7 @@ declare const FlowRunApiResponse: z.ZodObject<{
|
|
|
12781
12790
|
id: z.ZodString;
|
|
12782
12791
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
12783
12792
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
12793
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
12784
12794
|
name: z.ZodOptional<z.ZodString>;
|
|
12785
12795
|
connectionFlowId: z.ZodString;
|
|
12786
12796
|
integrationFlowId: z.ZodOptional<z.ZodString>;
|
|
@@ -12967,6 +12977,7 @@ declare const FindFlowRunsResponse: z.ZodObject<{
|
|
|
12967
12977
|
id: z.ZodString;
|
|
12968
12978
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
12969
12979
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
12980
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
12970
12981
|
name: z.ZodOptional<z.ZodString>;
|
|
12971
12982
|
connectionFlowId: z.ZodString;
|
|
12972
12983
|
integrationFlowId: z.ZodOptional<z.ZodString>;
|
|
@@ -13844,9 +13855,9 @@ declare const FindFlowsQuery: z.ZodObject<{
|
|
|
13844
13855
|
}>>;
|
|
13845
13856
|
universalParentId: z.ZodOptional<z.ZodString>;
|
|
13846
13857
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
13847
|
-
externalAppId: z.ZodOptional<z.ZodString>;
|
|
13848
13858
|
flowId: z.ZodOptional<z.ZodString>;
|
|
13849
13859
|
universalFlowId: z.ZodOptional<z.ZodString>;
|
|
13860
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
13850
13861
|
}, z.core.$strip>;
|
|
13851
13862
|
type FindFlowsQuery = z.infer<typeof FindFlowsQuery>;
|
|
13852
13863
|
declare const CreateFlowRequest: z.ZodObject<{
|
|
@@ -15197,9 +15208,9 @@ declare const FindDataSourcesQuery: z.ZodObject<{
|
|
|
15197
15208
|
}>>;
|
|
15198
15209
|
universalParentId: z.ZodOptional<z.ZodString>;
|
|
15199
15210
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
15200
|
-
externalAppId: z.ZodOptional<z.ZodString>;
|
|
15201
15211
|
dataSourceId: z.ZodOptional<z.ZodString>;
|
|
15202
15212
|
universalDataSourceId: z.ZodOptional<z.ZodString>;
|
|
15213
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
15203
15214
|
}, z.core.$strip>;
|
|
15204
15215
|
type FindDataSourcesQuery = z.infer<typeof FindDataSourcesQuery>;
|
|
15205
15216
|
declare const FindDataSourceInstancesQuery: z.ZodObject<{
|
|
@@ -15220,9 +15231,9 @@ declare const FindDataSourceInstancesQuery: z.ZodObject<{
|
|
|
15220
15231
|
}>>;
|
|
15221
15232
|
universalParentId: z.ZodOptional<z.ZodString>;
|
|
15222
15233
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
15223
|
-
externalAppId: z.ZodOptional<z.ZodString>;
|
|
15224
15234
|
dataSourceId: z.ZodOptional<z.ZodString>;
|
|
15225
15235
|
universalDataSourceId: z.ZodOptional<z.ZodString>;
|
|
15236
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
15226
15237
|
}, z.core.$strip>;
|
|
15227
15238
|
type FindDataSourceInstancesQuery = FindDataSourcesQuery;
|
|
15228
15239
|
declare const CreateDataSourceRequest: z.ZodObject<{
|
|
@@ -16442,9 +16453,9 @@ declare const FindFieldMappingsQuery: z.ZodObject<{
|
|
|
16442
16453
|
}>>;
|
|
16443
16454
|
universalParentId: z.ZodOptional<z.ZodString>;
|
|
16444
16455
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
16445
|
-
externalAppId: z.ZodOptional<z.ZodString>;
|
|
16446
16456
|
fieldMappingId: z.ZodOptional<z.ZodString>;
|
|
16447
16457
|
universalFieldMappingId: z.ZodOptional<z.ZodString>;
|
|
16458
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
16448
16459
|
}, z.core.$strip>;
|
|
16449
16460
|
type FindFieldMappingsQuery = z.infer<typeof FindFieldMappingsQuery>;
|
|
16450
16461
|
declare const FindFieldMappingInstancesQuery: z.ZodObject<{
|
|
@@ -16465,9 +16476,9 @@ declare const FindFieldMappingInstancesQuery: z.ZodObject<{
|
|
|
16465
16476
|
}>>;
|
|
16466
16477
|
universalParentId: z.ZodOptional<z.ZodString>;
|
|
16467
16478
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
16468
|
-
externalAppId: z.ZodOptional<z.ZodString>;
|
|
16469
16479
|
fieldMappingId: z.ZodOptional<z.ZodString>;
|
|
16470
16480
|
universalFieldMappingId: z.ZodOptional<z.ZodString>;
|
|
16481
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
16471
16482
|
}, z.core.$strip>;
|
|
16472
16483
|
type FindFieldMappingInstancesQuery = FindFieldMappingsQuery;
|
|
16473
16484
|
declare const CreateFieldMappingRequest: z.ZodObject<{
|
|
@@ -17288,6 +17299,7 @@ declare const ListExternalEventSubscriptionsQuery: z.ZodObject<{
|
|
|
17288
17299
|
userId: z.ZodOptional<z.ZodString>;
|
|
17289
17300
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
17290
17301
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
17302
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
17291
17303
|
}, z.core.$strip>;
|
|
17292
17304
|
type ListExternalEventSubscriptionsQuery = z.infer<typeof ListExternalEventSubscriptionsQuery>;
|
|
17293
17305
|
declare const ExternalEventSubscriptionApiResponse: z.ZodObject<{
|
|
@@ -17422,6 +17434,7 @@ interface FindExternalEventSubscriptionsQuery extends PaginationQuery {
|
|
|
17422
17434
|
userId?: string;
|
|
17423
17435
|
connectionId?: string;
|
|
17424
17436
|
integrationId?: string;
|
|
17437
|
+
externalAppId?: string;
|
|
17425
17438
|
}
|
|
17426
17439
|
interface FindExternalEventLogsQuery extends PaginationQuery {
|
|
17427
17440
|
userId?: string;
|
|
@@ -18204,6 +18217,7 @@ declare const ActionRunLogRecordApiResponse: z.ZodObject<{
|
|
|
18204
18217
|
userId: z.ZodString;
|
|
18205
18218
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
18206
18219
|
id: z.ZodString;
|
|
18220
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
18207
18221
|
name: z.ZodString;
|
|
18208
18222
|
universalActionId: z.ZodOptional<z.ZodString>;
|
|
18209
18223
|
integrationActionId: z.ZodString;
|
|
@@ -18395,6 +18409,7 @@ declare const FindActionRunLogsQuery: z.ZodObject<{
|
|
|
18395
18409
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
18396
18410
|
userId: z.ZodOptional<z.ZodString>;
|
|
18397
18411
|
status: z.ZodOptional<z.ZodEnum<typeof ActionRunLogStatus>>;
|
|
18412
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
18398
18413
|
from: z.ZodOptional<z.ZodString>;
|
|
18399
18414
|
to: z.ZodOptional<z.ZodString>;
|
|
18400
18415
|
}, z.core.$strip>;
|
|
@@ -18404,6 +18419,7 @@ declare const FindActionRunLogsResponse: z.ZodObject<{
|
|
|
18404
18419
|
userId: z.ZodString;
|
|
18405
18420
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
18406
18421
|
id: z.ZodString;
|
|
18422
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
18407
18423
|
name: z.ZodString;
|
|
18408
18424
|
universalActionId: z.ZodOptional<z.ZodString>;
|
|
18409
18425
|
integrationActionId: z.ZodString;
|
|
@@ -19154,6 +19170,7 @@ declare const ListExternalEventLogRecordsQuery: z.ZodObject<{
|
|
|
19154
19170
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
19155
19171
|
externalEventSubscriptionId: z.ZodOptional<z.ZodString>;
|
|
19156
19172
|
status: z.ZodOptional<z.ZodEnum<typeof ExternalEventLogStatus>>;
|
|
19173
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
19157
19174
|
from: z.ZodOptional<z.ZodString>;
|
|
19158
19175
|
to: z.ZodOptional<z.ZodString>;
|
|
19159
19176
|
}, z.core.$strip>;
|
|
@@ -19162,6 +19179,7 @@ declare const ExternalEventLogRecordApiResponse: z.ZodObject<{
|
|
|
19162
19179
|
userId: z.ZodString;
|
|
19163
19180
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
19164
19181
|
id: z.ZodString;
|
|
19182
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
19165
19183
|
name: z.ZodOptional<z.ZodString>;
|
|
19166
19184
|
externalEventSubscriptionId: z.ZodString;
|
|
19167
19185
|
integrationId: z.ZodString;
|
|
@@ -19319,6 +19337,7 @@ declare const FindExternalEventPullsQuery: z.ZodObject<{
|
|
|
19319
19337
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
19320
19338
|
userId: z.ZodOptional<z.ZodString>;
|
|
19321
19339
|
status: z.ZodOptional<z.ZodEnum<typeof ExternalEventPullStatus>>;
|
|
19340
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
19322
19341
|
from: z.ZodOptional<z.ZodString>;
|
|
19323
19342
|
to: z.ZodOptional<z.ZodString>;
|
|
19324
19343
|
}, z.core.$strip>;
|
|
@@ -19327,6 +19346,7 @@ declare const ExternalEventPullApiResponse: z.ZodObject<{
|
|
|
19327
19346
|
userId: z.ZodString;
|
|
19328
19347
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
19329
19348
|
id: z.ZodString;
|
|
19349
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
19330
19350
|
name: z.ZodOptional<z.ZodString>;
|
|
19331
19351
|
externalEventSubscriptionId: z.ZodString;
|
|
19332
19352
|
integrationId: z.ZodString;
|
|
@@ -19572,6 +19592,7 @@ declare const ListExternalApiLogsQuery: z.ZodObject<{
|
|
|
19572
19592
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
19573
19593
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
19574
19594
|
isSuccess: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
19595
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
19575
19596
|
from: z.ZodOptional<z.ZodString>;
|
|
19576
19597
|
to: z.ZodOptional<z.ZodString>;
|
|
19577
19598
|
sortOrder: z.ZodOptional<z.ZodEnum<{
|
|
@@ -19586,6 +19607,7 @@ declare const ExternalApiLogApiResponse: z.ZodObject<{
|
|
|
19586
19607
|
customerId: z.ZodString;
|
|
19587
19608
|
integrationId: z.ZodString;
|
|
19588
19609
|
connectionId: z.ZodString;
|
|
19610
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
19589
19611
|
statusCode: z.ZodNumber;
|
|
19590
19612
|
isSuccess: z.ZodBoolean;
|
|
19591
19613
|
s3Uri: z.ZodString;
|
|
@@ -19689,6 +19711,7 @@ declare const ListIncomingWebhooksQuery: z.ZodObject<{
|
|
|
19689
19711
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
19690
19712
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
19691
19713
|
status: z.ZodOptional<z.ZodEnum<typeof IncomingWebhooksState>>;
|
|
19714
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
19692
19715
|
from: z.ZodOptional<z.ZodString>;
|
|
19693
19716
|
to: z.ZodOptional<z.ZodString>;
|
|
19694
19717
|
}, z.core.$strip>;
|
|
@@ -19700,6 +19723,7 @@ declare const IncomingWebhookApiResponse: z.ZodObject<{
|
|
|
19700
19723
|
customerId: z.ZodString;
|
|
19701
19724
|
integrationId: z.ZodString;
|
|
19702
19725
|
connectionId: z.ZodString;
|
|
19726
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
19703
19727
|
subscriptionId: z.ZodString;
|
|
19704
19728
|
userId: z.ZodString;
|
|
19705
19729
|
uuid: z.ZodString;
|
|
@@ -19790,6 +19814,7 @@ type IncomingWebhookApiResponse = z.infer<typeof IncomingWebhookApiResponse>;
|
|
|
19790
19814
|
|
|
19791
19815
|
declare const CreateConnectedProductRequest: z.ZodObject<{
|
|
19792
19816
|
name: z.ZodString;
|
|
19817
|
+
key: z.ZodOptional<z.ZodString>;
|
|
19793
19818
|
type: z.ZodEnum<{
|
|
19794
19819
|
app: "app";
|
|
19795
19820
|
"ai-agent": "ai-agent";
|
|
@@ -19810,6 +19835,7 @@ declare const CreateConnectedProductRequest: z.ZodObject<{
|
|
|
19810
19835
|
type CreateConnectedProductRequest = z.infer<typeof CreateConnectedProductRequest>;
|
|
19811
19836
|
declare const UpdateConnectedProductRequest: z.ZodObject<{
|
|
19812
19837
|
name: z.ZodOptional<z.ZodString>;
|
|
19838
|
+
key: z.ZodOptional<z.ZodString>;
|
|
19813
19839
|
type: z.ZodOptional<z.ZodEnum<{
|
|
19814
19840
|
app: "app";
|
|
19815
19841
|
"ai-agent": "ai-agent";
|
|
@@ -19837,7 +19863,6 @@ declare const FindConnectedProductsQuery: z.ZodObject<{
|
|
|
19837
19863
|
customers: "customers";
|
|
19838
19864
|
personal: "personal";
|
|
19839
19865
|
}>>;
|
|
19840
|
-
key: z.ZodOptional<z.ZodString>;
|
|
19841
19866
|
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
19842
19867
|
cursor: z.ZodOptional<z.ZodString>;
|
|
19843
19868
|
search: z.ZodOptional<z.ZodString>;
|
|
@@ -19999,6 +20024,9 @@ interface WorkspaceElementSpec {
|
|
|
19999
20024
|
hasUuid?: boolean;
|
|
20000
20025
|
hasPublicLayer?: boolean;
|
|
20001
20026
|
isProOnly?: boolean;
|
|
20027
|
+
statsKey?: string;
|
|
20028
|
+
relatedIntegrationLayerElements?: WorkspaceElementType[];
|
|
20029
|
+
relatedActivityLogElements?: WorkspaceElementType[];
|
|
20002
20030
|
}
|
|
20003
20031
|
interface WorkspaceElements {
|
|
20004
20032
|
flows?: Record<string, CreateFlowRequest>;
|
|
@@ -22680,31 +22708,33 @@ declare const StatsFilterQuery: z.ZodObject<{
|
|
|
22680
22708
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
22681
22709
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
22682
22710
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
22711
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
22683
22712
|
}, z.core.$strip>;
|
|
22684
22713
|
type StatsFilterQuery = z.infer<typeof StatsFilterQuery>;
|
|
22685
22714
|
declare const ActivityStatsQuery: z.ZodObject<{
|
|
22686
22715
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
22687
22716
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
22688
22717
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
22718
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
22689
22719
|
startDatetime: z.ZodString;
|
|
22720
|
+
elementType: z.ZodOptional<z.ZodEnum<typeof WorkspaceElementType>>;
|
|
22690
22721
|
}, z.core.$strip>;
|
|
22691
22722
|
type ActivityStatsQuery = z.infer<typeof ActivityStatsQuery>;
|
|
22692
22723
|
declare const IntegrationLayerStatsQuery: z.ZodObject<{
|
|
22693
22724
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
22694
22725
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
22695
22726
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
22727
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
22728
|
+
elementType: z.ZodOptional<z.ZodEnum<typeof WorkspaceElementType>>;
|
|
22696
22729
|
}, z.core.$strip>;
|
|
22697
22730
|
type IntegrationLayerStatsQuery = z.infer<typeof IntegrationLayerStatsQuery>;
|
|
22698
22731
|
declare const ActionRunsStatsQuery: z.ZodObject<{
|
|
22699
|
-
actionId: z.
|
|
22700
|
-
connectionActionId: z.ZodOptional<z.ZodString>;
|
|
22732
|
+
actionId: z.ZodString;
|
|
22701
22733
|
startDatetime: z.ZodString;
|
|
22702
22734
|
}, z.core.$strip>;
|
|
22703
22735
|
type ActionRunsStatsQuery = z.infer<typeof ActionRunsStatsQuery>;
|
|
22704
22736
|
declare const FlowRunsStatsQuery: z.ZodObject<{
|
|
22705
|
-
|
|
22706
|
-
connectionFlowId: z.ZodOptional<z.ZodString>;
|
|
22707
|
-
universalFlowId: z.ZodOptional<z.ZodString>;
|
|
22737
|
+
flowId: z.ZodString;
|
|
22708
22738
|
startDatetime: z.ZodString;
|
|
22709
22739
|
}, z.core.$strip>;
|
|
22710
22740
|
type FlowRunsStatsQuery = z.infer<typeof FlowRunsStatsQuery>;
|
|
@@ -23118,6 +23148,7 @@ declare const AgentSession: z.ZodObject<{
|
|
|
23118
23148
|
hasWorker: z.ZodBoolean;
|
|
23119
23149
|
isExternal: z.ZodOptional<z.ZodBoolean>;
|
|
23120
23150
|
agentName: z.ZodOptional<z.ZodEnum<typeof AgentName>>;
|
|
23151
|
+
output: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
23121
23152
|
createdAt: z.ZodISODateTime;
|
|
23122
23153
|
updatedAt: z.ZodISODateTime;
|
|
23123
23154
|
}, z.core.$strip>;
|
|
@@ -23145,6 +23176,7 @@ declare const PatchAgentSessionSchema: z.ZodObject<{
|
|
|
23145
23176
|
cost: z.ZodOptional<z.ZodNumber>;
|
|
23146
23177
|
error: z.ZodOptional<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>;
|
|
23147
23178
|
opencodeSessionUuid: z.ZodOptional<z.ZodString>;
|
|
23179
|
+
output: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
23148
23180
|
status: z.ZodOptional<z.ZodEnum<typeof AgentSessionStatus>>;
|
|
23149
23181
|
}, z.core.$strip>;
|
|
23150
23182
|
type PatchAgentSession = z.infer<typeof PatchAgentSessionSchema>;
|
|
@@ -23456,9 +23488,9 @@ type ValidateSelfHostingTokenResponse = z.infer<typeof ValidateSelfHostingTokenR
|
|
|
23456
23488
|
declare const CLIENT_TOKEN_GRANT_TYPES: readonly ["mcp-oauth", "cli-oauth", "agent-session", "api"];
|
|
23457
23489
|
declare const ClientTokenGrantType: z.ZodEnum<{
|
|
23458
23490
|
api: "api";
|
|
23491
|
+
"agent-session": "agent-session";
|
|
23459
23492
|
"mcp-oauth": "mcp-oauth";
|
|
23460
23493
|
"cli-oauth": "cli-oauth";
|
|
23461
|
-
"agent-session": "agent-session";
|
|
23462
23494
|
}>;
|
|
23463
23495
|
type ClientTokenGrantType = z.infer<typeof ClientTokenGrantType>;
|
|
23464
23496
|
declare const ClientToken: z.ZodObject<{
|
|
@@ -23468,9 +23500,9 @@ declare const ClientToken: z.ZodObject<{
|
|
|
23468
23500
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
23469
23501
|
grantType: z.ZodEnum<{
|
|
23470
23502
|
api: "api";
|
|
23503
|
+
"agent-session": "agent-session";
|
|
23471
23504
|
"mcp-oauth": "mcp-oauth";
|
|
23472
23505
|
"cli-oauth": "cli-oauth";
|
|
23473
|
-
"agent-session": "agent-session";
|
|
23474
23506
|
}>;
|
|
23475
23507
|
grantId: z.ZodOptional<z.ZodString>;
|
|
23476
23508
|
grantName: z.ZodOptional<z.ZodString>;
|
|
@@ -23485,9 +23517,9 @@ declare const CreateClientTokenResponse: z.ZodObject<{
|
|
|
23485
23517
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
23486
23518
|
grantType: z.ZodEnum<{
|
|
23487
23519
|
api: "api";
|
|
23520
|
+
"agent-session": "agent-session";
|
|
23488
23521
|
"mcp-oauth": "mcp-oauth";
|
|
23489
23522
|
"cli-oauth": "cli-oauth";
|
|
23490
|
-
"agent-session": "agent-session";
|
|
23491
23523
|
}>;
|
|
23492
23524
|
grantId: z.ZodOptional<z.ZodString>;
|
|
23493
23525
|
grantName: z.ZodOptional<z.ZodString>;
|
|
@@ -23499,9 +23531,9 @@ type CreateClientTokenResponse = z.infer<typeof CreateClientTokenResponse>;
|
|
|
23499
23531
|
declare const CreateClientTokenRequest: z.ZodObject<{
|
|
23500
23532
|
grantType: z.ZodEnum<{
|
|
23501
23533
|
api: "api";
|
|
23534
|
+
"agent-session": "agent-session";
|
|
23502
23535
|
"mcp-oauth": "mcp-oauth";
|
|
23503
23536
|
"cli-oauth": "cli-oauth";
|
|
23504
|
-
"agent-session": "agent-session";
|
|
23505
23537
|
}>;
|
|
23506
23538
|
grantId: z.ZodString;
|
|
23507
23539
|
grantName: z.ZodString;
|
|
@@ -23517,9 +23549,9 @@ declare const ClientTokenListResponse: z.ZodObject<{
|
|
|
23517
23549
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
23518
23550
|
grantType: z.ZodEnum<{
|
|
23519
23551
|
api: "api";
|
|
23552
|
+
"agent-session": "agent-session";
|
|
23520
23553
|
"mcp-oauth": "mcp-oauth";
|
|
23521
23554
|
"cli-oauth": "cli-oauth";
|
|
23522
|
-
"agent-session": "agent-session";
|
|
23523
23555
|
}>;
|
|
23524
23556
|
grantId: z.ZodOptional<z.ZodString>;
|
|
23525
23557
|
grantName: z.ZodOptional<z.ZodString>;
|
|
@@ -23613,10 +23645,15 @@ declare const ListClustersQuery: z.ZodObject<{
|
|
|
23613
23645
|
}, z.core.$strip>;
|
|
23614
23646
|
type ListClustersQuery = z.infer<typeof ListClustersQuery>;
|
|
23615
23647
|
|
|
23648
|
+
interface UNSAFE_AgentSessionUIOptions {
|
|
23649
|
+
sessionId: string;
|
|
23650
|
+
theme?: 'light' | 'dark' | 'auto';
|
|
23651
|
+
}
|
|
23616
23652
|
declare class UI {
|
|
23617
23653
|
private client;
|
|
23618
23654
|
constructor(client: MembraneApiClient);
|
|
23619
23655
|
connect(options?: ConnectUIOptions): Promise<ConnectionApiResponse | null>;
|
|
23656
|
+
UNSAFE_agentSession(options: UNSAFE_AgentSessionUIOptions): Promise<void>;
|
|
23620
23657
|
}
|
|
23621
23658
|
|
|
23622
23659
|
interface OpenMembraneConfigurationOptions extends OpenConfigurationOptions {
|